@overlordai/server 1.0.81 → 1.0.83
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/dispatcher/task-lifecycle.service.d.ts.map +1 -1
- package/dist/dispatcher/task-lifecycle.service.js +2 -1
- package/dist/dispatcher/task-lifecycle.service.js.map +1 -1
- package/package.json +4 -4
- package/public/assets/{AccessTokensPage-i_t_-aoM.js → AccessTokensPage-DTPmWXOe.js} +1 -1
- package/public/assets/{AdminPage-DoCnSZqm.js → AdminPage-CLp2eOcL.js} +1 -1
- package/public/assets/{ApiReferencePage-C5VQHqwD.js → ApiReferencePage-CHqGMFso.js} +1 -1
- package/public/assets/{ArchitecturePage-DcwKYnFo.js → ArchitecturePage-pJ-QL10V.js} +1 -1
- package/public/assets/{AuditLogPage-DZFe5RMM.js → AuditLogPage-DeWMd-dD.js} +1 -1
- package/public/assets/{BindPlatformPage-CVrphJrr.js → BindPlatformPage-1hmWozWl.js} +1 -1
- package/public/assets/{BotIntegrationPage-DONiYZvg.js → BotIntegrationPage-B_5KgZkV.js} +1 -1
- package/public/assets/{BotManage-D5QafAlU.js → BotManage-nrMsc-rA.js} +1 -1
- package/public/assets/{BotSetupPage-Dh9tj6Ae.js → BotSetupPage-pqtT8d5J.js} +1 -1
- package/public/assets/{ChangelogPage-ts-bNq4P.js → ChangelogPage-B4pN5Gc0.js} +1 -1
- package/public/assets/{CliReferencePage-DNrWzyCa.js → CliReferencePage-X6-REHDx.js} +1 -1
- package/public/assets/{DeploymentPage-xk1ghEPn.js → DeploymentPage-CP_3ZD7s.js} +1 -1
- package/public/assets/{DevWorkflowPage-DERIu1xW.js → DevWorkflowPage-wT87drvd.js} +1 -1
- package/public/assets/{DeveloperManage-yMFQRURA.js → DeveloperManage-wQgAXrFd.js} +2 -2
- package/public/assets/{DeveloperSetupPage-2jlG069c.js → DeveloperSetupPage-MBVgeOKf.js} +1 -1
- package/public/assets/{DocsIndexPage-BL7bb3QA.js → DocsIndexPage-CMAPSRi8.js} +2 -2
- package/public/assets/DocsLayout-BCZqrMR-.js +1 -0
- package/public/assets/{DocsPrimitives-DSOGTJG2.js → DocsPrimitives-RzvyyG2N.js} +1 -1
- package/public/assets/{EditProjectPage-JrBC1NDJ.js → EditProjectPage-DxSv3ZRH.js} +1 -1
- package/public/assets/{EmptyState-UOnAAceG.js → EmptyState-BYwBzehs.js} +1 -1
- package/public/assets/{EnvVariablesPage-D-eCamcC.js → EnvVariablesPage-BVpxrb9a.js} +1 -1
- package/public/assets/{HomePage-Bdbc7-k8.js → HomePage-S4kvqDKl.js} +1 -1
- package/public/assets/{InfoRow-CMUAMORB.js → InfoRow-Bo7aPSUX.js} +1 -1
- package/public/assets/{InstallationPage-Dm04Y9nW.js → InstallationPage-eCQwebwE.js} +1 -1
- package/public/assets/{LandingPage-CR496bcd.js → LandingPage-CIeONzZY.js} +1 -1
- package/public/assets/{LocalDevelopmentPage-CyMun0qk.js → LocalDevelopmentPage-BV9xFEbN.js} +1 -1
- package/public/assets/{LoginPage-ClBeeOEE.js → LoginPage-DQ8VZz1E.js} +1 -1
- package/public/assets/{MetricBar-DyoBxsrA.js → MetricBar-5Yw7OX6l.js} +1 -1
- package/public/assets/{NotFoundPage-DF552pQ2.js → NotFoundPage-DX3J2hm9.js} +1 -1
- package/public/assets/{OnboardingGuide-WaYrmUGj.js → OnboardingGuide-Czv03I6f.js} +1 -1
- package/public/assets/{PermissionsPage-ChADPg__.js → PermissionsPage-BkjkOHUW.js} +1 -1
- package/public/assets/{PipelineConfigPage-TqZXCjak.js → PipelineConfigPage-BjIr4SWm.js} +1 -1
- package/public/assets/{PipelineEditorPage-CoqK7ZhC.js → PipelineEditorPage-BR9hp-vg.js} +1 -1
- package/public/assets/{ProfilePage-BlBGbK9l.js → ProfilePage-CZnb_5UN.js} +1 -1
- package/public/assets/{ProjectDetailPage-DWWB6Vxk.js → ProjectDetailPage-DVBaZYkd.js} +1 -1
- package/public/assets/{ProjectListPage-DBid5M-m.js → ProjectListPage-CBxn91Up.js} +1 -1
- package/public/assets/{PtyTerminal-B3DPZq0P.js → PtyTerminal-7TzjUcBz.js} +1 -1
- package/public/assets/{QuickAuth-Bf8sQSMt.js → QuickAuth-DxdBxtcE.js} +1 -1
- package/public/assets/{RemoveMemberConfirmDialog-CGHtCuXO.js → RemoveMemberConfirmDialog-Dug5MJTy.js} +1 -1
- package/public/assets/{Select-CLbqG1jD.js → Select-Br6UuODk.js} +1 -1
- package/public/assets/{SettingsPage-CPmfqi58.js → SettingsPage-Czl5aQ-G.js} +1 -1
- package/public/assets/{Skeleton-BXq1CIkW.js → Skeleton-CU_lmm7G.js} +1 -1
- package/public/assets/{SkillPage-CKgLQ9FU.js → SkillPage-Dm6IuNgt.js} +1 -1
- package/public/assets/{TaskDetailPage-Ab_-VRTV.js → TaskDetailPage-BIxO7ETp.js} +1 -1
- package/public/assets/{TaskListPage-dqgRviqN.js → TaskListPage-CEyijC2E.js} +1 -1
- package/public/assets/{TaskStatusBadge-BHQoJ0OV.js → TaskStatusBadge-3A4eenNj.js} +1 -1
- package/public/assets/{TerminalHomePage-CzDQxtJT.js → TerminalHomePage-CF_iAu9S.js} +1 -1
- package/public/assets/{TokenManage-Dn2hUkQW.js → TokenManage-2Y4t-GOS.js} +1 -1
- package/public/assets/{TotpSetupPage-lmWerX9v.js → TotpSetupPage-C5c95wzz.js} +1 -1
- package/public/assets/{WorkerDetailPage-DvlEZ34P.js → WorkerDetailPage-DoXga-zU.js} +1 -1
- package/public/assets/{WorkerListPage-CiYNUrQy.js → WorkerListPage-3p7NTUvE.js} +1 -1
- package/public/assets/{WorkerOperationsPage-08uw-DAH.js → WorkerOperationsPage-SaCPO5Lm.js} +1 -1
- package/public/assets/{WorkerSetupGuidePage-CFH0p1NM.js → WorkerSetupGuidePage-CKOzfLRT.js} +1 -1
- package/public/assets/{WorkerSetupPage-D03e2F2e.js → WorkerSetupPage-BlSLkUH_.js} +1 -1
- package/public/assets/{arrow-left-oyTUxLhp.js → arrow-left-Zp0TdmEt.js} +1 -1
- package/public/assets/{arrow-right-DXTZLoFA.js → arrow-right-DFP1ua-R.js} +1 -1
- package/public/assets/{bot-BCBWs26x.js → bot-BfvkrkHL.js} +1 -1
- package/public/assets/{chevron-right-3cdM5Ibz.js → chevron-right-DtwGbGKs.js} +1 -1
- package/public/assets/{copy-DpSQMObX.js → copy-DBfAIUOq.js} +1 -1
- package/public/assets/{download-CpC7_eQP.js → download-Dxp8igMo.js} +1 -1
- package/public/assets/{external-link-DnNQk4YK.js → external-link-Cnr2eJvT.js} +1 -1
- package/public/assets/index-DI0K8y9r.js +240 -0
- package/public/assets/index-DMZloWGz.css +1 -0
- package/public/assets/{key-BDN9cC7W.js → key-DWmWuj45.js} +1 -1
- package/public/assets/{loader-circle--jgWuQdM.js → loader-circle-D2Pj0PGc.js} +1 -1
- package/public/assets/{pencil-xhV6C7OF.js → pencil-CxeKxchB.js} +1 -1
- package/public/assets/{plus-DpMyVWkQ.js → plus-BILsWvMa.js} +1 -1
- package/public/assets/{rotate-ccw-Bynupw_q.js → rotate-ccw--W_QHJh_.js} +1 -1
- package/public/assets/{scroll-text-hCgT9UUq.js → scroll-text-DvPCdsMT.js} +1 -1
- package/public/assets/{settings-Dj7MjQ-a.js → settings-BYoIbpjM.js} +1 -1
- package/public/assets/{status-colors-CGHwvJ03.js → status-colors-2mN_Shus.js} +1 -1
- package/public/assets/{task-constants-BL3j3Ol7.js → task-constants-ChlUxoBv.js} +1 -1
- package/public/assets/{trash-2-BApFZJCY.js → trash-2-C0p6csoW.js} +1 -1
- package/public/assets/{useFetch-VHWeR-Zd.js → useFetch-CH_XY0cv.js} +1 -1
- package/public/assets/{users-DYrZR0x7.js → users-CZ-XzFH4.js} +1 -1
- package/public/assets/{wifi-D3njY8gM.js → wifi-BKTBJvJy.js} +1 -1
- package/public/assets/{workflow-BP79-Xjk.js → workflow-DpPiR1--.js} +1 -1
- package/public/index.html +2 -2
- package/public/sw.js +1 -1
- package/public/assets/DocsLayout-DiEHCMH1.js +0 -1
- package/public/assets/index-BCL3VC-R.js +0 -235
- package/public/assets/index-D6SxbKAh.css +0 -1
- package/public/assets/sparkles-CEE4JrD2.js +0 -6
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LandingPage-CR496bcd.js","assets/arrow-right-DXTZLoFA.js","assets/bot-BCBWs26x.js","assets/workflow-BP79-Xjk.js","assets/users-DYrZR0x7.js","assets/copy-DpSQMObX.js","assets/HomePage-Bdbc7-k8.js","assets/TaskStatusBadge-BHQoJ0OV.js","assets/status-colors-CGHwvJ03.js","assets/Skeleton-BXq1CIkW.js","assets/OnboardingGuide-WaYrmUGj.js","assets/chevron-right-3cdM5Ibz.js","assets/date-BdNtiQTP.js","assets/string-B39tzdVK.js","assets/useFetch-VHWeR-Zd.js","assets/TerminalHomePage-CzDQxtJT.js","assets/task-constants-BL3j3Ol7.js","assets/PtyTerminal-B3DPZq0P.js","assets/PtyTerminal-Beg8tuEN.css","assets/Select-CLbqG1jD.js","assets/plus-DpMyVWkQ.js","assets/rotate-ccw-Bynupw_q.js","assets/wifi-D3njY8gM.js","assets/TaskListPage-dqgRviqN.js","assets/EmptyState-UOnAAceG.js","assets/TaskDetailPage-Ab_-VRTV.js","assets/arrow-left-oyTUxLhp.js","assets/external-link-DnNQk4YK.js","assets/loader-circle--jgWuQdM.js","assets/WorkerListPage-CiYNUrQy.js","assets/MetricBar-DyoBxsrA.js","assets/WorkerSetupGuidePage-CFH0p1NM.js","assets/key-BDN9cC7W.js","assets/download-CpC7_eQP.js","assets/settings-Dj7MjQ-a.js","assets/WorkerDetailPage-DvlEZ34P.js","assets/InfoRow-CMUAMORB.js","assets/trash-2-BApFZJCY.js","assets/ProjectListPage-DBid5M-m.js","assets/ProjectDetailPage-DWWB6Vxk.js","assets/RemoveMemberConfirmDialog-CGHtCuXO.js","assets/pencil-xhV6C7OF.js","assets/EditProjectPage-JrBC1NDJ.js","assets/PipelineEditorPage-CoqK7ZhC.js","assets/ProfilePage-BlBGbK9l.js","assets/password-CHk45-jw.js","assets/AccessTokensPage-i_t_-aoM.js","assets/CliReferencePage-DNrWzyCa.js","assets/QuickAuth-Bf8sQSMt.js","assets/ApiReferencePage-C5VQHqwD.js","assets/SkillPage-CKgLQ9FU.js","assets/DocsPrimitives-DSOGTJG2.js","assets/DocsLayout-DiEHCMH1.js","assets/sparkles-CEE4JrD2.js","assets/InstallationPage-Dm04Y9nW.js","assets/DeveloperSetupPage-2jlG069c.js","assets/WorkerSetupPage-D03e2F2e.js","assets/BotSetupPage-Dh9tj6Ae.js","assets/LocalDevelopmentPage-CyMun0qk.js","assets/DeploymentPage-xk1ghEPn.js","assets/PipelineConfigPage-TqZXCjak.js","assets/DevWorkflowPage-DERIu1xW.js","assets/ArchitecturePage-DcwKYnFo.js","assets/DocsIndexPage-BL7bb3QA.js","assets/AdminPage-DoCnSZqm.js","assets/scroll-text-hCgT9UUq.js","assets/DeveloperManage-yMFQRURA.js","assets/BotManage-D5QafAlU.js","assets/TokenManage-Dn2hUkQW.js","assets/AuditLogPage-DZFe5RMM.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var Zy=Object.defineProperty;var Im=r=>{throw TypeError(r)};var Ky=(r,u,s)=>u in r?Zy(r,u,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[u]=s;var Ve=(r,u,s)=>Ky(r,typeof u!="symbol"?u+"":u,s),_s=(r,u,s)=>u.has(r)||Im("Cannot "+s);var U=(r,u,s)=>(_s(r,u,"read from private field"),s?s.call(r):u.get(r)),Pt=(r,u,s)=>u.has(r)?Im("Cannot add the same private member more than once"):u instanceof WeakSet?u.add(r):u.set(r,s),Zt=(r,u,s,o)=>(_s(r,u,"write to private field"),o?o.call(r,s):u.set(r,s),s),Se=(r,u,s)=>(_s(r,u,"access private method"),s);var Pm=(r,u,s,o)=>({set _(f){Zt(r,u,f,s)},get _(){return U(r,u,o)}});(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const _ of h.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&o(_)}).observe(document,{childList:!0,subtree:!0});function s(f){const h={};return f.integrity&&(h.integrity=f.integrity),f.referrerPolicy&&(h.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?h.credentials="include":f.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function o(f){if(f.ep)return;f.ep=!0;const h=s(f);fetch(f.href,h)}})();function Jy(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ys={exports:{}},ti={};/**
|
|
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 eh;function $y(){if(eh)return ti;eh=1;var r=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function s(o,f,h){var _=null;if(h!==void 0&&(_=""+h),f.key!==void 0&&(_=""+f.key),"key"in f){h={};for(var x in f)x!=="key"&&(h[x]=f[x])}else h=f;return f=h.ref,{$$typeof:r,type:o,key:_,ref:f!==void 0?f:null,props:h}}return ti.Fragment=u,ti.jsx=s,ti.jsxs=s,ti}var th;function Wy(){return th||(th=1,ys.exports=$y()),ys.exports}var m=Wy(),gs={exports:{}},ae={};/**
|
|
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 ah;function Fy(){if(ah)return ae;ah=1;var r=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),_=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),M=Symbol.iterator;function V(S){return S===null||typeof S!="object"?null:(S=M&&S[M]||S["@@iterator"],typeof S=="function"?S:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,L={};function H(S,N,G){this.props=S,this.context=N,this.refs=L,this.updater=G||B}H.prototype.isReactComponent={},H.prototype.setState=function(S,N){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,N,"setState")},H.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function I(){}I.prototype=H.prototype;function J(S,N,G){this.props=S,this.context=N,this.refs=L,this.updater=G||B}var _e=J.prototype=new I;_e.constructor=J,q(_e,H.prototype),_e.isPureReactComponent=!0;var ye=Array.isArray;function he(){}var W={H:null,A:null,T:null,S:null},$=Object.prototype.hasOwnProperty;function oe(S,N,G){var Z=G.ref;return{$$typeof:r,type:S,key:N,ref:Z!==void 0?Z:null,props:G}}function Pe(S,N){return oe(S.type,N,S.props)}function Je(S){return typeof S=="object"&&S!==null&&S.$$typeof===r}function qe(S){var N={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(G){return N[G]})}var At=/\/+/g;function ut(S,N){return typeof S=="object"&&S!==null&&S.key!=null?qe(""+S.key):N.toString(36)}function Ne(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(he,he):(S.status="pending",S.then(function(N){S.status==="pending"&&(S.status="fulfilled",S.value=N)},function(N){S.status==="pending"&&(S.status="rejected",S.reason=N)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function O(S,N,G,Z,le){var se=typeof S;(se==="undefined"||se==="boolean")&&(S=null);var xe=!1;if(S===null)xe=!0;else switch(se){case"bigint":case"string":case"number":xe=!0;break;case"object":switch(S.$$typeof){case r:case u:xe=!0;break;case j:return xe=S._init,O(xe(S._payload),N,G,Z,le)}}if(xe)return le=le(S),xe=Z===""?"."+ut(S,0):Z,ye(le)?(G="",xe!=null&&(G=xe.replace(At,"$&/")+"/"),O(le,N,G,"",function(ol){return ol})):le!=null&&(Je(le)&&(le=Pe(le,G+(le.key==null||S&&S.key===le.key?"":(""+le.key).replace(At,"$&/")+"/")+xe)),N.push(le)),1;xe=0;var ot=Z===""?".":Z+":";if(ye(S))for(var Be=0;Be<S.length;Be++)Z=S[Be],se=ot+ut(Z,Be),xe+=O(Z,N,G,se,le);else if(Be=V(S),typeof Be=="function")for(S=Be.call(S),Be=0;!(Z=S.next()).done;)Z=Z.value,se=ot+ut(Z,Be++),xe+=O(Z,N,G,se,le);else if(se==="object"){if(typeof S.then=="function")return O(Ne(S),N,G,Z,le);throw N=String(S),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return xe}function Y(S,N,G){if(S==null)return S;var Z=[],le=0;return O(S,Z,"","",function(se){return N.call(G,se,le++)}),Z}function ee(S){if(S._status===-1){var N=S._result;N=N(),N.then(function(G){(S._status===0||S._status===-1)&&(S._status=1,S._result=G)},function(G){(S._status===0||S._status===-1)&&(S._status=2,S._result=G)}),S._status===-1&&(S._status=0,S._result=N)}if(S._status===1)return S._result.default;throw S._result}var Te=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},ze={map:Y,forEach:function(S,N,G){Y(S,function(){N.apply(this,arguments)},G)},count:function(S){var N=0;return Y(S,function(){N++}),N},toArray:function(S){return Y(S,function(N){return N})||[]},only:function(S){if(!Je(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return ae.Activity=k,ae.Children=ze,ae.Component=H,ae.Fragment=s,ae.Profiler=f,ae.PureComponent=J,ae.StrictMode=o,ae.Suspense=v,ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,ae.__COMPILER_RUNTIME={__proto__:null,c:function(S){return W.H.useMemoCache(S)}},ae.cache=function(S){return function(){return S.apply(null,arguments)}},ae.cacheSignal=function(){return null},ae.cloneElement=function(S,N,G){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var Z=q({},S.props),le=S.key;if(N!=null)for(se in N.key!==void 0&&(le=""+N.key),N)!$.call(N,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&N.ref===void 0||(Z[se]=N[se]);var se=arguments.length-2;if(se===1)Z.children=G;else if(1<se){for(var xe=Array(se),ot=0;ot<se;ot++)xe[ot]=arguments[ot+2];Z.children=xe}return oe(S.type,le,Z)},ae.createContext=function(S){return S={$$typeof:_,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:h,_context:S},S},ae.createElement=function(S,N,G){var Z,le={},se=null;if(N!=null)for(Z in N.key!==void 0&&(se=""+N.key),N)$.call(N,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(le[Z]=N[Z]);var xe=arguments.length-2;if(xe===1)le.children=G;else if(1<xe){for(var ot=Array(xe),Be=0;Be<xe;Be++)ot[Be]=arguments[Be+2];le.children=ot}if(S&&S.defaultProps)for(Z in xe=S.defaultProps,xe)le[Z]===void 0&&(le[Z]=xe[Z]);return oe(S,se,le)},ae.createRef=function(){return{current:null}},ae.forwardRef=function(S){return{$$typeof:x,render:S}},ae.isValidElement=Je,ae.lazy=function(S){return{$$typeof:j,_payload:{_status:-1,_result:S},_init:ee}},ae.memo=function(S,N){return{$$typeof:p,type:S,compare:N===void 0?null:N}},ae.startTransition=function(S){var N=W.T,G={};W.T=G;try{var Z=S(),le=W.S;le!==null&&le(G,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(he,Te)}catch(se){Te(se)}finally{N!==null&&G.types!==null&&(N.types=G.types),W.T=N}},ae.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},ae.use=function(S){return W.H.use(S)},ae.useActionState=function(S,N,G){return W.H.useActionState(S,N,G)},ae.useCallback=function(S,N){return W.H.useCallback(S,N)},ae.useContext=function(S){return W.H.useContext(S)},ae.useDebugValue=function(){},ae.useDeferredValue=function(S,N){return W.H.useDeferredValue(S,N)},ae.useEffect=function(S,N){return W.H.useEffect(S,N)},ae.useEffectEvent=function(S){return W.H.useEffectEvent(S)},ae.useId=function(){return W.H.useId()},ae.useImperativeHandle=function(S,N,G){return W.H.useImperativeHandle(S,N,G)},ae.useInsertionEffect=function(S,N){return W.H.useInsertionEffect(S,N)},ae.useLayoutEffect=function(S,N){return W.H.useLayoutEffect(S,N)},ae.useMemo=function(S,N){return W.H.useMemo(S,N)},ae.useOptimistic=function(S,N){return W.H.useOptimistic(S,N)},ae.useReducer=function(S,N,G){return W.H.useReducer(S,N,G)},ae.useRef=function(S){return W.H.useRef(S)},ae.useState=function(S){return W.H.useState(S)},ae.useSyncExternalStore=function(S,N,G){return W.H.useSyncExternalStore(S,N,G)},ae.useTransition=function(){return W.H.useTransition()},ae.version="19.2.4",ae}var nh;function Bs(){return nh||(nh=1,gs.exports=Fy()),gs.exports}var g=Bs();const Rr=Jy(g);var vs={exports:{}},ai={},bs={exports:{}},xs={};/**
|
|
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 lh;function Iy(){return lh||(lh=1,(function(r){function u(O,Y){var ee=O.length;O.push(Y);e:for(;0<ee;){var Te=ee-1>>>1,ze=O[Te];if(0<f(ze,Y))O[Te]=Y,O[ee]=ze,ee=Te;else break e}}function s(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 Te=0,ze=O.length,S=ze>>>1;Te<S;){var N=2*(Te+1)-1,G=O[N],Z=N+1,le=O[Z];if(0>f(G,ee))Z<ze&&0>f(le,G)?(O[Te]=le,O[Z]=ee,Te=Z):(O[Te]=G,O[N]=ee,Te=N);else if(Z<ze&&0>f(le,ee))O[Te]=le,O[Z]=ee,Te=Z;else break e}}return Y}function f(O,Y){var ee=O.sortIndex-Y.sortIndex;return ee!==0?ee:O.id-Y.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;r.unstable_now=function(){return h.now()}}else{var _=Date,x=_.now();r.unstable_now=function(){return _.now()-x}}var v=[],p=[],j=1,k=null,M=3,V=!1,B=!1,q=!1,L=!1,H=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function _e(O){for(var Y=s(p);Y!==null;){if(Y.callback===null)o(p);else if(Y.startTime<=O)o(p),Y.sortIndex=Y.expirationTime,u(v,Y);else break;Y=s(p)}}function ye(O){if(q=!1,_e(O),!B)if(s(v)!==null)B=!0,he||(he=!0,qe());else{var Y=s(p);Y!==null&&Ne(ye,Y.startTime-O)}}var he=!1,W=-1,$=5,oe=-1;function Pe(){return L?!0:!(r.unstable_now()-oe<$)}function Je(){if(L=!1,he){var O=r.unstable_now();oe=O;var Y=!0;try{e:{B=!1,q&&(q=!1,I(W),W=-1),V=!0;var ee=M;try{t:{for(_e(O),k=s(v);k!==null&&!(k.expirationTime>O&&Pe());){var Te=k.callback;if(typeof Te=="function"){k.callback=null,M=k.priorityLevel;var ze=Te(k.expirationTime<=O);if(O=r.unstable_now(),typeof ze=="function"){k.callback=ze,_e(O),Y=!0;break t}k===s(v)&&o(v),_e(O)}else o(v);k=s(v)}if(k!==null)Y=!0;else{var S=s(p);S!==null&&Ne(ye,S.startTime-O),Y=!1}}break e}finally{k=null,M=ee,V=!1}Y=void 0}}finally{Y?qe():he=!1}}}var qe;if(typeof J=="function")qe=function(){J(Je)};else if(typeof MessageChannel<"u"){var At=new MessageChannel,ut=At.port2;At.port1.onmessage=Je,qe=function(){ut.postMessage(null)}}else qe=function(){H(Je,0)};function Ne(O,Y){W=H(function(){O(r.unstable_now())},Y)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(O){O.callback=null},r.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"):$=0<O?Math.floor(1e3/O):5},r.unstable_getCurrentPriorityLevel=function(){return M},r.unstable_next=function(O){switch(M){case 1:case 2:case 3:var Y=3;break;default:Y=M}var ee=M;M=Y;try{return O()}finally{M=ee}},r.unstable_requestPaint=function(){L=!0},r.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var ee=M;M=O;try{return Y()}finally{M=ee}},r.unstable_scheduleCallback=function(O,Y,ee){var Te=r.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?Te+ee:Te):ee=Te,O){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=ee+ze,O={id:j++,callback:Y,priorityLevel:O,startTime:ee,expirationTime:ze,sortIndex:-1},ee>Te?(O.sortIndex=ee,u(p,O),s(v)===null&&O===s(p)&&(q?(I(W),W=-1):q=!0,Ne(ye,ee-Te))):(O.sortIndex=ze,u(v,O),B||V||(B=!0,he||(he=!0,qe()))),O},r.unstable_shouldYield=Pe,r.unstable_wrapCallback=function(O){var Y=M;return function(){var ee=M;M=Y;try{return O.apply(this,arguments)}finally{M=ee}}}})(xs)),xs}var ih;function Py(){return ih||(ih=1,bs.exports=Iy()),bs.exports}var Ss={exports:{}},it={};/**
|
|
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 rh;function eg(){if(rh)return it;rh=1;var r=Bs();function u(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)p+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={d:{f:s,r:function(){throw Error(u(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},f=Symbol.for("react.portal");function h(v,p,j){var k=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:k==null?null:""+k,children:v,containerInfo:p,implementation:j}}var _=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return it.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,it.createPortal=function(v,p){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(u(299));return h(v,p,null,j)},it.flushSync=function(v){var p=_.T,j=o.p;try{if(_.T=null,o.p=2,v)return v()}finally{_.T=p,o.p=j,o.d.f()}},it.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(v,p))},it.prefetchDNS=function(v){typeof v=="string"&&o.d.D(v)},it.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var j=p.as,k=x(j,p.crossOrigin),M=typeof p.integrity=="string"?p.integrity:void 0,V=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;j==="style"?o.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:k,integrity:M,fetchPriority:V}):j==="script"&&o.d.X(v,{crossOrigin:k,integrity:M,fetchPriority:V,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},it.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var j=x(p.as,p.crossOrigin);o.d.M(v,{crossOrigin:j,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&o.d.M(v)},it.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var j=p.as,k=x(j,p.crossOrigin);o.d.L(v,j,{crossOrigin:k,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},it.preloadModule=function(v,p){if(typeof v=="string")if(p){var j=x(p.as,p.crossOrigin);o.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:j,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else o.d.m(v)},it.requestFormReset=function(v){o.d.r(v)},it.unstable_batchedUpdates=function(v,p){return v(p)},it.useFormState=function(v,p,j){return _.H.useFormState(v,p,j)},it.useFormStatus=function(){return _.H.useHostTransitionStatus()},it.version="19.2.4",it}var uh;function tg(){if(uh)return Ss.exports;uh=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(u){console.error(u)}}return r(),Ss.exports=eg(),Ss.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 oh;function ag(){if(oh)return ai;oh=1;var r=Py(),u=Bs(),s=tg();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 h(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 _(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 x(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 v(e){if(h(e)!==e)throw Error(o(188))}function p(e){var t=e.alternate;if(!t){if(t=h(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var i=l.alternate;if(i===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===a)return v(l),e;if(i===n)return v(l),t;i=i.sibling}throw Error(o(188))}if(a.return!==n.return)a=l,n=i;else{for(var c=!1,d=l.child;d;){if(d===a){c=!0,a=l,n=i;break}if(d===n){c=!0,n=l,a=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===a){c=!0,a=i,n=l;break}if(d===n){c=!0,n=i,a=l;break}d=d.sibling}if(!c)throw Error(o(189))}}if(a.alternate!==n)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 k=Object.assign,M=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),J=Symbol.for("react.context"),_e=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),Pe=Symbol.for("react.memo_cache_sentinel"),Je=Symbol.iterator;function qe(e){return e===null||typeof e!="object"?null:(e=Je&&e[Je]||e["@@iterator"],typeof e=="function"?e:null)}var At=Symbol.for("react.client.reference");function ut(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===At?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case H:return"Profiler";case L:return"StrictMode";case ye:return"Suspense";case he:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case B:return"Portal";case J:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case _e:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return t=e.displayName||null,t!==null?t:ut(e.type)||"Memo";case $:t=e._payload,e=e._init;try{return ut(e(t))}catch{}}return null}var Ne=Array.isArray,O=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Te=[],ze=-1;function S(e){return{current:e}}function N(e){0>ze||(e.current=Te[ze],Te[ze]=null,ze--)}function G(e,t){ze++,Te[ze]=e.current,e.current=t}var Z=S(null),le=S(null),se=S(null),xe=S(null);function ot(e,t){switch(G(se,t),G(le,e),G(Z,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?xm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=xm(t),e=Sm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}N(Z),G(Z,e)}function Be(){N(Z),N(le),N(se)}function ol(e){e.memoizedState!==null&&G(xe,e);var t=Z.current,a=Sm(t,e.type);t!==a&&(G(le,e),G(Z,a))}function ci(e){le.current===e&&(N(Z),N(le)),xe.current===e&&(N(xe),Fl._currentValue=ee)}var Fr,Ws;function Ia(e){if(Fr===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Fr=t&&t[1]||"",Ws=-1<a.stack.indexOf(`
|
|
43
|
-
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
-
`+Fr+e+Ws}var Ir=!1;function Pr(e,t){if(!e||Ir)return"";Ir=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(A){var R=A}Reflect.construct(e,[],D)}else{try{D.call()}catch(A){R=A}e.call(D.prototype)}}else{try{throw Error()}catch(A){R=A}(D=e())&&typeof D.catch=="function"&&D.catch(function(){})}}catch(A){if(A&&R&&typeof A.stack=="string")return[A.stack,R.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),c=i[0],d=i[1];if(c&&d){var y=c.split(`
|
|
45
|
-
`),T=d.split(`
|
|
46
|
-
`);for(l=n=0;n<y.length&&!y[n].includes("DetermineComponentFrameRoot");)n++;for(;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;if(n===y.length||l===T.length)for(n=y.length-1,l=T.length-1;1<=n&&0<=l&&y[n]!==T[l];)l--;for(;1<=n&&0<=l;n--,l--)if(y[n]!==T[l]){if(n!==1||l!==1)do if(n--,l--,0>l||y[n]!==T[l]){var z=`
|
|
47
|
-
`+y[n].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),z}while(1<=n&&0<=l);break}}}finally{Ir=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ia(a):""}function kp(e,t){switch(e.tag){case 26:case 27:case 5:return Ia(e.type);case 16:return Ia("Lazy");case 13:return e.child!==t&&t!==null?Ia("Suspense Fallback"):Ia("Suspense");case 19:return Ia("SuspenseList");case 0:case 15:return Pr(e.type,!1);case 11:return Pr(e.type.render,!1);case 1:return Pr(e.type,!0);case 31:return Ia("Activity");default:return""}}function Fs(e){try{var t="",a=null;do t+=kp(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
|
|
48
|
-
Error generating stack: `+n.message+`
|
|
49
|
-
`+n.stack}}var eu=Object.prototype.hasOwnProperty,tu=r.unstable_scheduleCallback,au=r.unstable_cancelCallback,Ep=r.unstable_shouldYield,wp=r.unstable_requestPaint,gt=r.unstable_now,Tp=r.unstable_getCurrentPriorityLevel,Is=r.unstable_ImmediatePriority,Ps=r.unstable_UserBlockingPriority,fi=r.unstable_NormalPriority,jp=r.unstable_LowPriority,ec=r.unstable_IdlePriority,Rp=r.log,Ap=r.unstable_setDisableYieldValue,sl=null,vt=null;function ka(e){if(typeof Rp=="function"&&Ap(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(sl,e)}catch{}}var bt=Math.clz32?Math.clz32:Cp,zp=Math.log,Op=Math.LN2;function Cp(e){return e>>>=0,e===0?32:31-(zp(e)/Op|0)|0}var di=256,mi=262144,hi=4194304;function Pa(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 pi(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var l=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=n&134217727;return d!==0?(n=d&~i,n!==0?l=Pa(n):(c&=d,c!==0?l=Pa(c):a||(a=d&~e,a!==0&&(l=Pa(a))))):(d=n&~i,d!==0?l=Pa(d):c!==0?l=Pa(c):a||(a=n&~e,a!==0&&(l=Pa(a)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:l}function cl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Dp(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 tc(){var e=hi;return hi<<=1,(hi&62914560)===0&&(hi=4194304),e}function nu(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function fl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Np(e,t,a,n,l,i){var c=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,T=e.hiddenUpdates;for(a=c&~a;0<a;){var z=31-bt(a),D=1<<z;d[z]=0,y[z]=-1;var R=T[z];if(R!==null)for(T[z]=null,z=0;z<R.length;z++){var A=R[z];A!==null&&(A.lane&=-536870913)}a&=~D}n!==0&&ac(e,n,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function ac(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-bt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function nc(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-bt(a),l=1<<n;l&t|e[n]&t&&(e[n]|=t),a&=~l}}function lc(e,t){var a=t&-t;return a=(a&42)!==0?1:lu(a),(a&(e.suspendedLanes|t))!==0?0:a}function lu(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 iu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ic(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Qm(e.type))}function rc(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var Ea=Math.random().toString(36).slice(2),et="__reactFiber$"+Ea,ct="__reactProps$"+Ea,bn="__reactContainer$"+Ea,ru="__reactEvents$"+Ea,Mp="__reactListeners$"+Ea,Up="__reactHandles$"+Ea,uc="__reactResources$"+Ea,dl="__reactMarker$"+Ea;function uu(e){delete e[et],delete e[ct],delete e[ru],delete e[Mp],delete e[Up]}function xn(e){var t=e[et];if(t)return t;for(var a=e.parentNode;a;){if(t=a[bn]||a[et]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Am(e);e!==null;){if(a=e[et])return a;e=Am(e)}return t}e=a,a=e.parentNode}return null}function Sn(e){if(e=e[et]||e[bn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ml(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function kn(e){var t=e[uc];return t||(t=e[uc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fe(e){e[dl]=!0}var oc=new Set,sc={};function en(e,t){En(e,t),En(e+"Capture",t)}function En(e,t){for(sc[e]=t,e=0;e<t.length;e++)oc.add(t[e])}var qp=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]*$"),cc={},fc={};function Lp(e){return eu.call(fc,e)?!0:eu.call(cc,e)?!1:qp.test(e)?fc[e]=!0:(cc[e]=!0,!1)}function _i(e,t,a){if(Lp(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function yi(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,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}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 dc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hp(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(c){a=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ou(e){if(!e._valueTracker){var t=dc(e)?"checked":"value";e._valueTracker=Hp(e,t,""+e[t])}}function mc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=dc(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function gi(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 Bp=/[\n"\\]/g;function Ot(e){return e.replace(Bp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function su(e,t,a,n,l,i,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zt(t)):e.value!==""+zt(t)&&(e.value=""+zt(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?cu(e,c,zt(t)):a!=null?cu(e,c,zt(a)):n!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+zt(d):e.removeAttribute("name")}function hc(e,t,a,n,l,i,c,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)){ou(e);return}a=a!=null?""+zt(a):"",t=t!=null?""+zt(t):a,d||t===e.value||(e.value=t),e.defaultValue=t}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=d?e.checked:!!n,e.defaultChecked=!!n,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),ou(e)}function cu(e,t,a){t==="number"&&gi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function wn(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&n&&(e[a].defaultSelected=!0)}else{for(a=""+zt(a),t=null,l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,n&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function pc(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 _c(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(o(92));if(Ne(n)){if(1<n.length)throw Error(o(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=zt(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),ou(e)}function Tn(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Yp=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 yc(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||Yp.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function gc(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var l in t)n=t[l],t.hasOwnProperty(l)&&a[l]!==n&&yc(e,l,n)}else for(var i in t)t.hasOwnProperty(i)&&yc(e,i,t[i])}function fu(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 Gp=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"]]),Vp=/^[\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 vi(e){return Vp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function na(){}var du=null;function mu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jn=null,Rn=null;function vc(e){var t=Sn(e);if(t&&(e=t.stateNode)){var a=e[ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(su(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="'+Ot(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var l=n[ct]||null;if(!l)throw Error(o(90));su(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&mc(n)}break e;case"textarea":pc(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&wn(e,!!a.multiple,t,!1)}}}var hu=!1;function bc(e,t,a){if(hu)return e(t,a);hu=!0;try{var n=e(t);return n}finally{if(hu=!1,(jn!==null||Rn!==null)&&(rr(),jn&&(t=jn,e=Rn,Rn=jn=null,vc(t),e)))for(t=0;t<e.length;t++)vc(e[t])}}function hl(e,t){var a=e.stateNode;if(a===null)return null;var n=a[ct]||null;if(n===null)return null;a=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var la=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pu=!1;if(la)try{var pl={};Object.defineProperty(pl,"passive",{get:function(){pu=!0}}),window.addEventListener("test",pl,pl),window.removeEventListener("test",pl,pl)}catch{pu=!1}var wa=null,_u=null,bi=null;function xc(){if(bi)return bi;var e,t=_u,a=t.length,n,l="value"in wa?wa.value:wa.textContent,i=l.length;for(e=0;e<a&&t[e]===l[e];e++);var c=a-e;for(n=1;n<=c&&t[a-n]===l[i-n];n++);return bi=l.slice(e,1<n?1-n:void 0)}function xi(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 Si(){return!0}function Sc(){return!1}function ft(e){function t(a,n,l,i,c){this._reactName=a,this._targetInst=l,this.type=n,this.nativeEvent=i,this.target=c,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)?Si:Sc,this.isPropagationStopped=Sc,this}return k(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=Si)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),t}var tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ki=ft(tn),_l=k({},tn,{view:0,detail:0}),Xp=ft(_l),yu,gu,yl,Ei=k({},_l,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bu,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!==yl&&(yl&&e.type==="mousemove"?(yu=e.screenX-yl.screenX,gu=e.screenY-yl.screenY):gu=yu=0,yl=e),yu)},movementY:function(e){return"movementY"in e?e.movementY:gu}}),kc=ft(Ei),Qp=k({},Ei,{dataTransfer:0}),Zp=ft(Qp),Kp=k({},_l,{relatedTarget:0}),vu=ft(Kp),Jp=k({},tn,{animationName:0,elapsedTime:0,pseudoElement:0}),$p=ft(Jp),Wp=k({},tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fp=ft(Wp),Ip=k({},tn,{data:0}),Ec=ft(Ip),Pp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},e_={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"},t_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function a_(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=t_[e])?!!t[e]:!1}function bu(){return a_}var n_=k({},_l,{key:function(e){if(e.key){var t=Pp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?e_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bu,charCode:function(e){return e.type==="keypress"?xi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),l_=ft(n_),i_=k({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wc=ft(i_),r_=k({},_l,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bu}),u_=ft(r_),o_=k({},tn,{propertyName:0,elapsedTime:0,pseudoElement:0}),s_=ft(o_),c_=k({},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}),f_=ft(c_),d_=k({},tn,{newState:0,oldState:0}),m_=ft(d_),h_=[9,13,27,32],xu=la&&"CompositionEvent"in window,gl=null;la&&"documentMode"in document&&(gl=document.documentMode);var p_=la&&"TextEvent"in window&&!gl,Tc=la&&(!xu||gl&&8<gl&&11>=gl),jc=" ",Rc=!1;function Ac(e,t){switch(e){case"keyup":return h_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function __(e,t){switch(e){case"compositionend":return zc(t);case"keypress":return t.which!==32?null:(Rc=!0,jc);case"textInput":return e=t.data,e===jc&&Rc?null:e;default:return null}}function y_(e,t){if(An)return e==="compositionend"||!xu&&Ac(e,t)?(e=xc(),bi=_u=wa=null,An=!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 Tc&&t.locale!=="ko"?null:t.data;default:return null}}var g_={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 Oc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!g_[e.type]:t==="textarea"}function Cc(e,t,a,n){jn?Rn?Rn.push(n):Rn=[n]:jn=n,t=mr(t,"onChange"),0<t.length&&(a=new ki("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var vl=null,bl=null;function v_(e){pm(e,0)}function wi(e){var t=ml(e);if(mc(t))return e}function Dc(e,t){if(e==="change")return t}var Nc=!1;if(la){var Su;if(la){var ku="oninput"in document;if(!ku){var Mc=document.createElement("div");Mc.setAttribute("oninput","return;"),ku=typeof Mc.oninput=="function"}Su=ku}else Su=!1;Nc=Su&&(!document.documentMode||9<document.documentMode)}function Uc(){vl&&(vl.detachEvent("onpropertychange",qc),bl=vl=null)}function qc(e){if(e.propertyName==="value"&&wi(bl)){var t=[];Cc(t,bl,e,mu(e)),bc(v_,t)}}function b_(e,t,a){e==="focusin"?(Uc(),vl=t,bl=a,vl.attachEvent("onpropertychange",qc)):e==="focusout"&&Uc()}function x_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wi(bl)}function S_(e,t){if(e==="click")return wi(t)}function k_(e,t){if(e==="input"||e==="change")return wi(t)}function E_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xt=typeof Object.is=="function"?Object.is:E_;function xl(e,t){if(xt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var l=a[n];if(!eu.call(t,l)||!xt(e[l],t[l]))return!1}return!0}function Lc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hc(e,t){var a=Lc(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Lc(a)}}function Bc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yc(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=gi(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=gi(e.document)}return t}function Eu(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 w_=la&&"documentMode"in document&&11>=document.documentMode,zn=null,wu=null,Sl=null,Tu=!1;function Gc(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Tu||zn==null||zn!==gi(n)||(n=zn,"selectionStart"in n&&Eu(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Sl&&xl(Sl,n)||(Sl=n,n=mr(wu,"onSelect"),0<n.length&&(t=new ki("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=zn)))}function an(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var On={animationend:an("Animation","AnimationEnd"),animationiteration:an("Animation","AnimationIteration"),animationstart:an("Animation","AnimationStart"),transitionrun:an("Transition","TransitionRun"),transitionstart:an("Transition","TransitionStart"),transitioncancel:an("Transition","TransitionCancel"),transitionend:an("Transition","TransitionEnd")},ju={},Vc={};la&&(Vc=document.createElement("div").style,"AnimationEvent"in window||(delete On.animationend.animation,delete On.animationiteration.animation,delete On.animationstart.animation),"TransitionEvent"in window||delete On.transitionend.transition);function nn(e){if(ju[e])return ju[e];if(!On[e])return e;var t=On[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Vc)return ju[e]=t[a];return e}var Xc=nn("animationend"),Qc=nn("animationiteration"),Zc=nn("animationstart"),T_=nn("transitionrun"),j_=nn("transitionstart"),R_=nn("transitioncancel"),Kc=nn("transitionend"),Jc=new Map,Ru="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(" ");Ru.push("scrollEnd");function Vt(e,t){Jc.set(e,t),en(t,[e])}var Ti=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)},Ct=[],Cn=0,Au=0;function ji(){for(var e=Cn,t=Au=Cn=0;t<e;){var a=Ct[t];Ct[t++]=null;var n=Ct[t];Ct[t++]=null;var l=Ct[t];Ct[t++]=null;var i=Ct[t];if(Ct[t++]=null,n!==null&&l!==null){var c=n.pending;c===null?l.next=l:(l.next=c.next,c.next=l),n.pending=l}i!==0&&$c(a,l,i)}}function Ri(e,t,a,n){Ct[Cn++]=e,Ct[Cn++]=t,Ct[Cn++]=a,Ct[Cn++]=n,Au|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function zu(e,t,a,n){return Ri(e,t,a,n),Ai(e)}function ln(e,t){return Ri(e,null,null,t),Ai(e)}function $c(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var l=!1,i=e.return;i!==null;)i.childLanes|=a,n=i.alternate,n!==null&&(n.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-bt(a),e=i.hiddenUpdates,n=e[l],n===null?e[l]=[t]:n.push(t),t.lane=a|536870912),i):null}function Ai(e){if(50<Xl)throw Xl=0,Bo=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Dn={};function A_(e,t,a,n){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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function St(e,t,a,n){return new A_(e,t,a,n)}function Ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ia(e,t){var a=e.alternate;return a===null?(a=St(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 Wc(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,n,l,i){var c=0;if(n=e,typeof e=="function")Ou(e)&&(c=1);else if(typeof e=="string")c=Ny(e,a,Z.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oe:return e=St(31,a,t,l),e.elementType=oe,e.lanes=i,e;case q:return rn(a.children,l,i,t);case L:c=8,l|=24;break;case H:return e=St(12,a,t,l|2),e.elementType=H,e.lanes=i,e;case ye:return e=St(13,a,t,l),e.elementType=ye,e.lanes=i,e;case he:return e=St(19,a,t,l),e.elementType=he,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:c=10;break e;case I:c=9;break e;case _e:c=11;break e;case W:c=14;break e;case $:c=16,n=null;break e}c=29,a=Error(o(130,e===null?"null":typeof e,"")),n=null}return t=St(c,a,t,l),t.elementType=e,t.type=n,t.lanes=i,t}function rn(e,t,a,n){return e=St(7,e,n,t),e.lanes=a,e}function Cu(e,t,a){return e=St(6,e,null,t),e.lanes=a,e}function Fc(e){var t=St(18,null,null,0);return t.stateNode=e,t}function Du(e,t,a){return t=St(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ic=new WeakMap;function Dt(e,t){if(typeof e=="object"&&e!==null){var a=Ic.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Fs(t)},Ic.set(e,t),t)}return{value:e,source:t,stack:Fs(t)}}var Nn=[],Mn=0,Oi=null,kl=0,Nt=[],Mt=0,Ta=null,$t=1,Wt="";function ra(e,t){Nn[Mn++]=kl,Nn[Mn++]=Oi,Oi=e,kl=t}function Pc(e,t,a){Nt[Mt++]=$t,Nt[Mt++]=Wt,Nt[Mt++]=Ta,Ta=e;var n=$t;e=Wt;var l=32-bt(n)-1;n&=~(1<<l),a+=1;var i=32-bt(t)+l;if(30<i){var c=l-l%5;i=(n&(1<<c)-1).toString(32),n>>=c,l-=c,$t=1<<32-bt(t)+l|a<<l|n,Wt=i+e}else $t=1<<i|a<<l|n,Wt=e}function Nu(e){e.return!==null&&(ra(e,1),Pc(e,1,0))}function Mu(e){for(;e===Oi;)Oi=Nn[--Mn],Nn[Mn]=null,kl=Nn[--Mn],Nn[Mn]=null;for(;e===Ta;)Ta=Nt[--Mt],Nt[Mt]=null,Wt=Nt[--Mt],Nt[Mt]=null,$t=Nt[--Mt],Nt[Mt]=null}function ef(e,t){Nt[Mt++]=$t,Nt[Mt++]=Wt,Nt[Mt++]=Ta,$t=t.id,Wt=t.overflow,Ta=e}var tt=null,Ce=null,pe=!1,ja=null,Ut=!1,Uu=Error(o(519));function Ra(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw El(Dt(t,e)),Uu}function tf(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[et]=e,t[ct]=n,a){case"dialog":fe("cancel",t),fe("close",t);break;case"iframe":case"object":case"embed":fe("load",t);break;case"video":case"audio":for(a=0;a<Zl.length;a++)fe(Zl[a],t);break;case"source":fe("error",t);break;case"img":case"image":case"link":fe("error",t),fe("load",t);break;case"details":fe("toggle",t);break;case"input":fe("invalid",t),hc(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":fe("invalid",t);break;case"textarea":fe("invalid",t),_c(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||vm(t.textContent,a)?(n.popover!=null&&(fe("beforetoggle",t),fe("toggle",t)),n.onScroll!=null&&fe("scroll",t),n.onScrollEnd!=null&&fe("scrollend",t),n.onClick!=null&&(t.onclick=na),t=!0):t=!1,t||Ra(e,!0)}function af(e){for(tt=e.return;tt;)switch(tt.tag){case 5:case 31:case 13:Ut=!1;return;case 27:case 3:Ut=!0;return;default:tt=tt.return}}function Un(e){if(e!==tt)return!1;if(!pe)return af(e),pe=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||ts(e.type,e.memoizedProps)),a=!a),a&&Ce&&Ra(e),af(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ce=Rm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ce=Rm(e)}else t===27?(t=Ce,Ga(e.type)?(e=rs,rs=null,Ce=e):Ce=t):Ce=tt?Lt(e.stateNode.nextSibling):null;return!0}function un(){Ce=tt=null,pe=!1}function qu(){var e=ja;return e!==null&&(pt===null?pt=e:pt.push.apply(pt,e),ja=null),e}function El(e){ja===null?ja=[e]:ja.push(e)}var Lu=S(null),on=null,ua=null;function Aa(e,t,a){G(Lu,t._currentValue),t._currentValue=a}function oa(e){e._currentValue=Lu.current,N(Lu)}function Hu(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function Bu(e,t,a,n){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var c=l.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=l;for(var y=0;y<t.length;y++)if(d.context===t[y]){i.lanes|=a,d=i.alternate,d!==null&&(d.lanes|=a),Hu(i.return,a,e),n||(c=null);break e}i=d.next}}else if(l.tag===18){if(c=l.return,c===null)throw Error(o(341));c.lanes|=a,i=c.alternate,i!==null&&(i.lanes|=a),Hu(c,a,e),c=null}else c=l.child;if(c!==null)c.return=l;else for(c=l;c!==null;){if(c===e){c=null;break}if(l=c.sibling,l!==null){l.return=c.return,c=l;break}c=c.return}l=c}}function qn(e,t,a,n){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var c=l.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var d=l.type;xt(l.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(l===xe.current){if(c=l.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Fl):e=[Fl])}l=l.return}e!==null&&Bu(t,e,a,n),t.flags|=262144}function Ci(e){for(e=e.firstContext;e!==null;){if(!xt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sn(e){on=e,ua=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function at(e){return nf(on,e)}function Di(e,t){return on===null&&sn(e),nf(e,t)}function nf(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ua===null){if(e===null)throw Error(o(308));ua=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ua=ua.next=t;return a}var z_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},O_=r.unstable_scheduleCallback,C_=r.unstable_NormalPriority,Xe={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yu(){return{controller:new z_,data:new Map,refCount:0}}function wl(e){e.refCount--,e.refCount===0&&O_(C_,function(){e.controller.abort()})}var Tl=null,Gu=0,Ln=0,Hn=null;function D_(e,t){if(Tl===null){var a=Tl=[];Gu=0,Ln=Zo(),Hn={status:"pending",value:void 0,then:function(n){a.push(n)}}}return Gu++,t.then(lf,lf),t}function lf(){if(--Gu===0&&Tl!==null){Hn!==null&&(Hn.status="fulfilled");var e=Tl;Tl=null,Ln=0,Hn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function N_(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){for(n.status="rejected",n.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),n}var rf=O.S;O.S=function(e,t){Vd=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&D_(e,t),rf!==null&&rf(e,t)};var cn=S(null);function Vu(){var e=cn.current;return e!==null?e:Oe.pooledCache}function Ni(e,t){t===null?G(cn,cn.current):G(cn,t.pool)}function uf(){var e=Vu();return e===null?null:{parent:Xe._currentValue,pool:e}}var Bn=Error(o(460)),Xu=Error(o(474)),Mi=Error(o(542)),Ui={then:function(){}};function of(e){return e=e.status,e==="fulfilled"||e==="rejected"}function sf(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(na,na),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ff(e),e;default:if(typeof t.status=="string")t.then(na,na);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=n}},function(n){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ff(e),e}throw dn=t,Bn}}function fn(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(dn=a,Bn):a}}var dn=null;function cf(){if(dn===null)throw Error(o(459));var e=dn;return dn=null,e}function ff(e){if(e===Bn||e===Mi)throw Error(o(483))}var Yn=null,jl=0;function qi(e){var t=jl;return jl+=1,Yn===null&&(Yn=[]),sf(Yn,e,t)}function Rl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Li(e,t){throw t.$$typeof===M?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function df(e){function t(E,b){if(e){var w=E.deletions;w===null?(E.deletions=[b],E.flags|=16):w.push(b)}}function a(E,b){if(!e)return null;for(;b!==null;)t(E,b),b=b.sibling;return null}function n(E){for(var b=new Map;E!==null;)E.key!==null?b.set(E.key,E):b.set(E.index,E),E=E.sibling;return b}function l(E,b){return E=ia(E,b),E.index=0,E.sibling=null,E}function i(E,b,w){return E.index=w,e?(w=E.alternate,w!==null?(w=w.index,w<b?(E.flags|=67108866,b):w):(E.flags|=67108866,b)):(E.flags|=1048576,b)}function c(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function d(E,b,w,C){return b===null||b.tag!==6?(b=Cu(w,E.mode,C),b.return=E,b):(b=l(b,w),b.return=E,b)}function y(E,b,w,C){var F=w.type;return F===q?z(E,b,w.props.children,C,w.key):b!==null&&(b.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===$&&fn(F)===b.type)?(b=l(b,w.props),Rl(b,w),b.return=E,b):(b=zi(w.type,w.key,w.props,null,E.mode,C),Rl(b,w),b.return=E,b)}function T(E,b,w,C){return b===null||b.tag!==4||b.stateNode.containerInfo!==w.containerInfo||b.stateNode.implementation!==w.implementation?(b=Du(w,E.mode,C),b.return=E,b):(b=l(b,w.children||[]),b.return=E,b)}function z(E,b,w,C,F){return b===null||b.tag!==7?(b=rn(w,E.mode,C,F),b.return=E,b):(b=l(b,w),b.return=E,b)}function D(E,b,w){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Cu(""+b,E.mode,w),b.return=E,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case V:return w=zi(b.type,b.key,b.props,null,E.mode,w),Rl(w,b),w.return=E,w;case B:return b=Du(b,E.mode,w),b.return=E,b;case $:return b=fn(b),D(E,b,w)}if(Ne(b)||qe(b))return b=rn(b,E.mode,w,null),b.return=E,b;if(typeof b.then=="function")return D(E,qi(b),w);if(b.$$typeof===J)return D(E,Di(E,b),w);Li(E,b)}return null}function R(E,b,w,C){var F=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return F!==null?null:d(E,b,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case V:return w.key===F?y(E,b,w,C):null;case B:return w.key===F?T(E,b,w,C):null;case $:return w=fn(w),R(E,b,w,C)}if(Ne(w)||qe(w))return F!==null?null:z(E,b,w,C,null);if(typeof w.then=="function")return R(E,b,qi(w),C);if(w.$$typeof===J)return R(E,b,Di(E,w),C);Li(E,w)}return null}function A(E,b,w,C,F){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return E=E.get(w)||null,d(b,E,""+C,F);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case V:return E=E.get(C.key===null?w:C.key)||null,y(b,E,C,F);case B:return E=E.get(C.key===null?w:C.key)||null,T(b,E,C,F);case $:return C=fn(C),A(E,b,w,C,F)}if(Ne(C)||qe(C))return E=E.get(w)||null,z(b,E,C,F,null);if(typeof C.then=="function")return A(E,b,w,qi(C),F);if(C.$$typeof===J)return A(E,b,w,Di(b,C),F);Li(b,C)}return null}function Q(E,b,w,C){for(var F=null,ge=null,K=b,re=b=0,me=null;K!==null&&re<w.length;re++){K.index>re?(me=K,K=null):me=K.sibling;var ve=R(E,K,w[re],C);if(ve===null){K===null&&(K=me);break}e&&K&&ve.alternate===null&&t(E,K),b=i(ve,b,re),ge===null?F=ve:ge.sibling=ve,ge=ve,K=me}if(re===w.length)return a(E,K),pe&&ra(E,re),F;if(K===null){for(;re<w.length;re++)K=D(E,w[re],C),K!==null&&(b=i(K,b,re),ge===null?F=K:ge.sibling=K,ge=K);return pe&&ra(E,re),F}for(K=n(K);re<w.length;re++)me=A(K,E,re,w[re],C),me!==null&&(e&&me.alternate!==null&&K.delete(me.key===null?re:me.key),b=i(me,b,re),ge===null?F=me:ge.sibling=me,ge=me);return e&&K.forEach(function(Ka){return t(E,Ka)}),pe&&ra(E,re),F}function P(E,b,w,C){if(w==null)throw Error(o(151));for(var F=null,ge=null,K=b,re=b=0,me=null,ve=w.next();K!==null&&!ve.done;re++,ve=w.next()){K.index>re?(me=K,K=null):me=K.sibling;var Ka=R(E,K,ve.value,C);if(Ka===null){K===null&&(K=me);break}e&&K&&Ka.alternate===null&&t(E,K),b=i(Ka,b,re),ge===null?F=Ka:ge.sibling=Ka,ge=Ka,K=me}if(ve.done)return a(E,K),pe&&ra(E,re),F;if(K===null){for(;!ve.done;re++,ve=w.next())ve=D(E,ve.value,C),ve!==null&&(b=i(ve,b,re),ge===null?F=ve:ge.sibling=ve,ge=ve);return pe&&ra(E,re),F}for(K=n(K);!ve.done;re++,ve=w.next())ve=A(K,E,re,ve.value,C),ve!==null&&(e&&ve.alternate!==null&&K.delete(ve.key===null?re:ve.key),b=i(ve,b,re),ge===null?F=ve:ge.sibling=ve,ge=ve);return e&&K.forEach(function(Qy){return t(E,Qy)}),pe&&ra(E,re),F}function Ae(E,b,w,C){if(typeof w=="object"&&w!==null&&w.type===q&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case V:e:{for(var F=w.key;b!==null;){if(b.key===F){if(F=w.type,F===q){if(b.tag===7){a(E,b.sibling),C=l(b,w.props.children),C.return=E,E=C;break e}}else if(b.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===$&&fn(F)===b.type){a(E,b.sibling),C=l(b,w.props),Rl(C,w),C.return=E,E=C;break e}a(E,b);break}else t(E,b);b=b.sibling}w.type===q?(C=rn(w.props.children,E.mode,C,w.key),C.return=E,E=C):(C=zi(w.type,w.key,w.props,null,E.mode,C),Rl(C,w),C.return=E,E=C)}return c(E);case B:e:{for(F=w.key;b!==null;){if(b.key===F)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){a(E,b.sibling),C=l(b,w.children||[]),C.return=E,E=C;break e}else{a(E,b);break}else t(E,b);b=b.sibling}C=Du(w,E.mode,C),C.return=E,E=C}return c(E);case $:return w=fn(w),Ae(E,b,w,C)}if(Ne(w))return Q(E,b,w,C);if(qe(w)){if(F=qe(w),typeof F!="function")throw Error(o(150));return w=F.call(w),P(E,b,w,C)}if(typeof w.then=="function")return Ae(E,b,qi(w),C);if(w.$$typeof===J)return Ae(E,b,Di(E,w),C);Li(E,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,b!==null&&b.tag===6?(a(E,b.sibling),C=l(b,w),C.return=E,E=C):(a(E,b),C=Cu(w,E.mode,C),C.return=E,E=C),c(E)):a(E,b)}return function(E,b,w,C){try{jl=0;var F=Ae(E,b,w,C);return Yn=null,F}catch(K){if(K===Bn||K===Mi)throw K;var ge=St(29,K,null,E.mode);return ge.lanes=C,ge.return=E,ge}finally{}}}var mn=df(!0),mf=df(!1),za=!1;function Qu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zu(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 Oa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ca(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(be&2)!==0){var l=n.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),n.pending=t,t=Ai(e),$c(e,null,a),t}return Ri(e,n,t,a),Ai(e)}function Al(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,nc(e,a)}}function Ku(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?l=i=c:i=i.next=c,a=a.next}while(a!==null);i===null?l=i=t:i=i.next=t}else l=i=t;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Ju=!1;function zl(){if(Ju){var e=Hn;if(e!==null)throw e}}function Ol(e,t,a,n){Ju=!1;var l=e.updateQueue;za=!1;var i=l.firstBaseUpdate,c=l.lastBaseUpdate,d=l.shared.pending;if(d!==null){l.shared.pending=null;var y=d,T=y.next;y.next=null,c===null?i=T:c.next=T,c=y;var z=e.alternate;z!==null&&(z=z.updateQueue,d=z.lastBaseUpdate,d!==c&&(d===null?z.firstBaseUpdate=T:d.next=T,z.lastBaseUpdate=y))}if(i!==null){var D=l.baseState;c=0,z=T=y=null,d=i;do{var R=d.lane&-536870913,A=R!==d.lane;if(A?(de&R)===R:(n&R)===R){R!==0&&R===Ln&&(Ju=!0),z!==null&&(z=z.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var Q=e,P=d;R=t;var Ae=a;switch(P.tag){case 1:if(Q=P.payload,typeof Q=="function"){D=Q.call(Ae,D,R);break e}D=Q;break e;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=P.payload,R=typeof Q=="function"?Q.call(Ae,D,R):Q,R==null)break e;D=k({},D,R);break e;case 2:za=!0}}R=d.callback,R!==null&&(e.flags|=64,A&&(e.flags|=8192),A=l.callbacks,A===null?l.callbacks=[R]:A.push(R))}else A={lane:R,tag:d.tag,payload:d.payload,callback:d.callback,next:null},z===null?(T=z=A,y=D):z=z.next=A,c|=R;if(d=d.next,d===null){if(d=l.shared.pending,d===null)break;A=d,d=A.next,A.next=null,l.lastBaseUpdate=A,l.shared.pending=null}}while(!0);z===null&&(y=D),l.baseState=y,l.firstBaseUpdate=T,l.lastBaseUpdate=z,i===null&&(l.shared.lanes=0),qa|=c,e.lanes=c,e.memoizedState=D}}function hf(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function pf(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)hf(a[e],t)}var Gn=S(null),Hi=S(0);function _f(e,t){e=ya,G(Hi,e),G(Gn,t),ya=e|t.baseLanes}function $u(){G(Hi,ya),G(Gn,Gn.current)}function Wu(){ya=Hi.current,N(Gn),N(Hi)}var kt=S(null),qt=null;function Da(e){var t=e.alternate;G(Ye,Ye.current&1),G(kt,e),qt===null&&(t===null||Gn.current!==null||t.memoizedState!==null)&&(qt=e)}function Fu(e){G(Ye,Ye.current),G(kt,e),qt===null&&(qt=e)}function yf(e){e.tag===22?(G(Ye,Ye.current),G(kt,e),qt===null&&(qt=e)):Na()}function Na(){G(Ye,Ye.current),G(kt,kt.current)}function Et(e){N(kt),qt===e&&(qt=null),N(Ye)}var Ye=S(0);function Bi(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||ls(a)||is(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 sa=0,ie=null,je=null,Qe=null,Yi=!1,Vn=!1,hn=!1,Gi=0,Cl=0,Xn=null,M_=0;function Le(){throw Error(o(321))}function Iu(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!xt(e[a],t[a]))return!1;return!0}function Pu(e,t,a,n,l,i){return sa=i,ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?ed:po,hn=!1,i=a(n,l),hn=!1,Vn&&(i=vf(t,a,n,l)),gf(e),i}function gf(e){O.H=Ml;var t=je!==null&&je.next!==null;if(sa=0,Qe=je=ie=null,Yi=!1,Cl=0,Xn=null,t)throw Error(o(300));e===null||Ze||(e=e.dependencies,e!==null&&Ci(e)&&(Ze=!0))}function vf(e,t,a,n){ie=e;var l=0;do{if(Vn&&(Xn=null),Cl=0,Vn=!1,25<=l)throw Error(o(301));if(l+=1,Qe=je=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=td,i=t(a,n)}while(Vn);return i}function U_(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?Dl(t):t,e=e.useState()[0],(je!==null?je.memoizedState:null)!==e&&(ie.flags|=1024),t}function eo(){var e=Gi!==0;return Gi=0,e}function to(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function ao(e){if(Yi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yi=!1}sa=0,Qe=je=ie=null,Vn=!1,Cl=Gi=0,Xn=null}function st(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qe===null?ie.memoizedState=Qe=e:Qe=Qe.next=e,Qe}function Ge(){if(je===null){var e=ie.alternate;e=e!==null?e.memoizedState:null}else e=je.next;var t=Qe===null?ie.memoizedState:Qe.next;if(t!==null)Qe=t,je=e;else{if(e===null)throw ie.alternate===null?Error(o(467)):Error(o(310));je=e,e={memoizedState:je.memoizedState,baseState:je.baseState,baseQueue:je.baseQueue,queue:je.queue,next:null},Qe===null?ie.memoizedState=Qe=e:Qe=Qe.next=e}return Qe}function Vi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Dl(e){var t=Cl;return Cl+=1,Xn===null&&(Xn=[]),e=sf(Xn,e,t),t=ie,(Qe===null?t.memoizedState:Qe.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?ed:po),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Dl(e);if(e.$$typeof===J)return at(e)}throw Error(o(438,String(e)))}function no(e){var t=null,a=ie.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=ie.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Vi(),ie.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=Pe;return t.index++,a}function ca(e,t){return typeof t=="function"?t(e):t}function Qi(e){var t=Ge();return lo(t,je,e)}function lo(e,t,a){var n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=a;var l=e.baseQueue,i=n.pending;if(i!==null){if(l!==null){var c=l.next;l.next=i.next,i.next=c}t.baseQueue=l=i,n.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var d=c=null,y=null,T=t,z=!1;do{var D=T.lane&-536870913;if(D!==T.lane?(de&D)===D:(sa&D)===D){var R=T.revertLane;if(R===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),D===Ln&&(z=!0);else if((sa&R)===R){T=T.next,R===Ln&&(z=!0);continue}else D={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},y===null?(d=y=D,c=i):y=y.next=D,ie.lanes|=R,qa|=R;D=T.action,hn&&a(i,D),i=T.hasEagerState?T.eagerState:a(i,D)}else R={lane:D,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},y===null?(d=y=R,c=i):y=y.next=R,ie.lanes|=D,qa|=D;T=T.next}while(T!==null&&T!==t);if(y===null?c=i:y.next=d,!xt(i,e.memoizedState)&&(Ze=!0,z&&(a=Hn,a!==null)))throw a;e.memoizedState=i,e.baseState=c,e.baseQueue=y,n.lastRenderedState=i}return l===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function io(e){var t=Ge(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var n=a.dispatch,l=a.pending,i=t.memoizedState;if(l!==null){a.pending=null;var c=l=l.next;do i=e(i,c.action),c=c.next;while(c!==l);xt(i,t.memoizedState)||(Ze=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,n]}function bf(e,t,a){var n=ie,l=Ge(),i=pe;if(i){if(a===void 0)throw Error(o(407));a=a()}else a=t();var c=!xt((je||l).memoizedState,a);if(c&&(l.memoizedState=a,Ze=!0),l=l.queue,oo(kf.bind(null,n,l,e),[e]),l.getSnapshot!==t||c||Qe!==null&&Qe.memoizedState.tag&1){if(n.flags|=2048,Qn(9,{destroy:void 0},Sf.bind(null,n,l,a,t),null),Oe===null)throw Error(o(349));i||(sa&127)!==0||xf(n,t,a)}return a}function xf(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ie.updateQueue,t===null?(t=Vi(),ie.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Sf(e,t,a,n){t.value=a,t.getSnapshot=n,Ef(t)&&wf(e)}function kf(e,t,a){return a(function(){Ef(t)&&wf(e)})}function Ef(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!xt(e,a)}catch{return!0}}function wf(e){var t=ln(e,2);t!==null&&_t(t,e,2)}function ro(e){var t=st();if(typeof e=="function"){var a=e;if(e=a(),hn){ka(!0);try{a()}finally{ka(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e},t}function Tf(e,t,a,n){return e.baseState=a,lo(e,je,typeof n=="function"?n:ca)}function q_(e,t,a,n,l){if(Ji(e))throw Error(o(485));if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};O.T!==null?a(!0):i.isTransition=!1,n(i),a=t.pending,a===null?(i.next=t.pending=i,jf(t,i)):(i.next=a.next,t.pending=a.next=i)}}function jf(e,t){var a=t.action,n=t.payload,l=e.state;if(t.isTransition){var i=O.T,c={};O.T=c;try{var d=a(l,n),y=O.S;y!==null&&y(c,d),Rf(e,t,d)}catch(T){uo(e,t,T)}finally{i!==null&&c.types!==null&&(i.types=c.types),O.T=i}}else try{i=a(l,n),Rf(e,t,i)}catch(T){uo(e,t,T)}}function Rf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){Af(e,t,n)},function(n){return uo(e,t,n)}):Af(e,t,a)}function Af(e,t,a){t.status="fulfilled",t.value=a,zf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,jf(e,a)))}function uo(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,zf(t),t=t.next;while(t!==n)}e.action=null}function zf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Of(e,t){return t}function Cf(e,t){if(pe){var a=Oe.formState;if(a!==null){e:{var n=ie;if(pe){if(Ce){t:{for(var l=Ce,i=Ut;l.nodeType!==8;){if(!i){l=null;break t}if(l=Lt(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i==="F!"||i==="F"?l:null}if(l){Ce=Lt(l.nextSibling),n=l.data==="F!";break e}}Ra(n)}n=!1}n&&(t=a[0])}}return a=st(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Of,lastRenderedState:t},a.queue=n,a=Ff.bind(null,ie,n),n.dispatch=a,n=ro(!1),i=ho.bind(null,ie,!1,n.queue),n=st(),l={state:t,dispatch:null,action:e,pending:null},n.queue=l,a=q_.bind(null,ie,l,i,a),l.dispatch=a,n.memoizedState=e,[t,a,!1]}function Df(e){var t=Ge();return Nf(t,je,e)}function Nf(e,t,a){if(t=lo(e,t,Of)[0],e=Qi(ca)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Dl(t)}catch(c){throw c===Bn?Mi:c}else n=t;t=Ge();var l=t.queue,i=l.dispatch;return a!==t.memoizedState&&(ie.flags|=2048,Qn(9,{destroy:void 0},L_.bind(null,l,a),null)),[n,i,e]}function L_(e,t){e.action=t}function Mf(e){var t=Ge(),a=je;if(a!==null)return Nf(t,a,e);Ge(),t=t.memoizedState,a=Ge();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Qn(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=ie.updateQueue,t===null&&(t=Vi(),ie.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Uf(){return Ge().memoizedState}function Zi(e,t,a,n){var l=st();ie.flags|=e,l.memoizedState=Qn(1|t,{destroy:void 0},a,n===void 0?null:n)}function Ki(e,t,a,n){var l=Ge();n=n===void 0?null:n;var i=l.memoizedState.inst;je!==null&&n!==null&&Iu(n,je.memoizedState.deps)?l.memoizedState=Qn(t,i,a,n):(ie.flags|=e,l.memoizedState=Qn(1|t,i,a,n))}function qf(e,t){Zi(8390656,8,e,t)}function oo(e,t){Ki(2048,8,e,t)}function H_(e){ie.flags|=4;var t=ie.updateQueue;if(t===null)t=Vi(),ie.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Lf(e){var t=Ge().memoizedState;return H_({ref:t,nextImpl:e}),function(){if((be&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Hf(e,t){return Ki(4,2,e,t)}function Bf(e,t){return Ki(4,4,e,t)}function Yf(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 Gf(e,t,a){a=a!=null?a.concat([e]):null,Ki(4,4,Yf.bind(null,t,e),a)}function so(){}function Vf(e,t){var a=Ge();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&Iu(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function Xf(e,t){var a=Ge();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Iu(t,n[1]))return n[0];if(n=e(),hn){ka(!0);try{e()}finally{ka(!1)}}return a.memoizedState=[n,t],n}function co(e,t,a){return a===void 0||(sa&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Qd(),ie.lanes|=e,qa|=e,a)}function Qf(e,t,a,n){return xt(a,t)?a:Gn.current!==null?(e=co(e,a,n),xt(e,t)||(Ze=!0),e):(sa&42)===0||(sa&1073741824)!==0&&(de&261930)===0?(Ze=!0,e.memoizedState=a):(e=Qd(),ie.lanes|=e,qa|=e,t)}function Zf(e,t,a,n,l){var i=Y.p;Y.p=i!==0&&8>i?i:8;var c=O.T,d={};O.T=d,ho(e,!1,t,a);try{var y=l(),T=O.S;if(T!==null&&T(d,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var z=N_(y,n);Nl(e,t,z,jt(e))}else Nl(e,t,n,jt(e))}catch(D){Nl(e,t,{then:function(){},status:"rejected",reason:D},jt())}finally{Y.p=i,c!==null&&d.types!==null&&(c.types=d.types),O.T=c}}function B_(){}function fo(e,t,a,n){if(e.tag!==5)throw Error(o(476));var l=Kf(e).queue;Zf(e,l,t,ee,a===null?B_:function(){return Jf(e),a(n)})}function Kf(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:ca,lastRenderedState:ee},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jf(e){var t=Kf(e);t.next===null&&(t=e.alternate.memoizedState),Nl(e,t.next.queue,{},jt())}function mo(){return at(Fl)}function $f(){return Ge().memoizedState}function Wf(){return Ge().memoizedState}function Y_(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=jt();e=Oa(a);var n=Ca(t,e,a);n!==null&&(_t(n,t,a),Al(n,t,a)),t={cache:Yu()},e.payload=t;return}t=t.return}}function G_(e,t,a){var n=jt();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ji(e)?If(t,a):(a=zu(e,t,a,n),a!==null&&(_t(a,e,n),Pf(a,t,n)))}function Ff(e,t,a){var n=jt();Nl(e,t,a,n)}function Nl(e,t,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ji(e))If(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var c=t.lastRenderedState,d=i(c,a);if(l.hasEagerState=!0,l.eagerState=d,xt(d,c))return Ri(e,t,l,0),Oe===null&&ji(),!1}catch{}finally{}if(a=zu(e,t,l,n),a!==null)return _t(a,e,n),Pf(a,t,n),!0}return!1}function ho(e,t,a,n){if(n={lane:2,revertLane:Zo(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ji(e)){if(t)throw Error(o(479))}else t=zu(e,a,n,2),t!==null&&_t(t,e,2)}function Ji(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function If(e,t){Vn=Yi=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Pf(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,nc(e,a)}}var Ml={readContext:at,use:Xi,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useLayoutEffect:Le,useInsertionEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useSyncExternalStore:Le,useId:Le,useHostTransitionStatus:Le,useFormState:Le,useActionState:Le,useOptimistic:Le,useMemoCache:Le,useCacheRefresh:Le};Ml.useEffectEvent=Le;var ed={readContext:at,use:Xi,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:qf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Zi(4194308,4,Yf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Zi(4194308,4,e,t)},useInsertionEffect:function(e,t){Zi(4,2,e,t)},useMemo:function(e,t){var a=st();t=t===void 0?null:t;var n=e();if(hn){ka(!0);try{e()}finally{ka(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=st();if(a!==void 0){var l=a(t);if(hn){ka(!0);try{a(t)}finally{ka(!1)}}}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=G_.bind(null,ie,e),[n.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:function(e){e=ro(e);var t=e.queue,a=Ff.bind(null,ie,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:so,useDeferredValue:function(e,t){var a=st();return co(a,e,t)},useTransition:function(){var e=ro(!1);return e=Zf.bind(null,ie,e.queue,!0,!1),st().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=ie,l=st();if(pe){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),Oe===null)throw Error(o(349));(de&127)!==0||xf(n,t,a)}l.memoizedState=a;var i={value:a,getSnapshot:t};return l.queue=i,qf(kf.bind(null,n,i,e),[e]),n.flags|=2048,Qn(9,{destroy:void 0},Sf.bind(null,n,i,a,t),null),a},useId:function(){var e=st(),t=Oe.identifierPrefix;if(pe){var a=Wt,n=$t;a=(n&~(1<<32-bt(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Gi++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=M_++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mo,useFormState:Cf,useActionState:Cf,useOptimistic:function(e){var t=st();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=ho.bind(null,ie,!0,a),a.dispatch=t,[e,t]},useMemoCache:no,useCacheRefresh:function(){return st().memoizedState=Y_.bind(null,ie)},useEffectEvent:function(e){var t=st(),a={impl:e};return t.memoizedState=a,function(){if((be&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},po={readContext:at,use:Xi,useCallback:Vf,useContext:at,useEffect:oo,useImperativeHandle:Gf,useInsertionEffect:Hf,useLayoutEffect:Bf,useMemo:Xf,useReducer:Qi,useRef:Uf,useState:function(){return Qi(ca)},useDebugValue:so,useDeferredValue:function(e,t){var a=Ge();return Qf(a,je.memoizedState,e,t)},useTransition:function(){var e=Qi(ca)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:Dl(e),t]},useSyncExternalStore:bf,useId:$f,useHostTransitionStatus:mo,useFormState:Df,useActionState:Df,useOptimistic:function(e,t){var a=Ge();return Tf(a,je,e,t)},useMemoCache:no,useCacheRefresh:Wf};po.useEffectEvent=Lf;var td={readContext:at,use:Xi,useCallback:Vf,useContext:at,useEffect:oo,useImperativeHandle:Gf,useInsertionEffect:Hf,useLayoutEffect:Bf,useMemo:Xf,useReducer:io,useRef:Uf,useState:function(){return io(ca)},useDebugValue:so,useDeferredValue:function(e,t){var a=Ge();return je===null?co(a,e,t):Qf(a,je.memoizedState,e,t)},useTransition:function(){var e=io(ca)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:Dl(e),t]},useSyncExternalStore:bf,useId:$f,useHostTransitionStatus:mo,useFormState:Mf,useActionState:Mf,useOptimistic:function(e,t){var a=Ge();return je!==null?Tf(a,je,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:no,useCacheRefresh:Wf};td.useEffectEvent=Lf;function _o(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:k({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var yo={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=jt(),l=Oa(n);l.payload=t,a!=null&&(l.callback=a),t=Ca(e,l,n),t!==null&&(_t(t,e,n),Al(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=jt(),l=Oa(n);l.tag=1,l.payload=t,a!=null&&(l.callback=a),t=Ca(e,l,n),t!==null&&(_t(t,e,n),Al(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=jt(),n=Oa(a);n.tag=2,t!=null&&(n.callback=t),t=Ca(e,n,a),t!==null&&(_t(t,e,a),Al(t,e,a))}};function ad(e,t,a,n,l,i,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,c):t.prototype&&t.prototype.isPureReactComponent?!xl(a,n)||!xl(l,i):!0}function nd(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function pn(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=k({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}function ld(e){Ti(e)}function id(e){console.error(e)}function rd(e){Ti(e)}function $i(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function ud(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function go(e,t,a){return a=Oa(a),a.tag=3,a.payload={element:null},a.callback=function(){$i(e,t)},a}function od(e){return e=Oa(e),e.tag=3,e}function sd(e,t,a,n){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var i=n.value;e.payload=function(){return l(i)},e.callback=function(){ud(t,a,n)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){ud(t,a,n),typeof l!="function"&&(La===null?La=new Set([this]):La.add(this));var d=n.stack;this.componentDidCatch(n.value,{componentStack:d!==null?d:""})})}function V_(e,t,a,n,l){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&qn(t,a,l,!0),a=kt.current,a!==null){switch(a.tag){case 31:case 13:return qt===null?ur():a.alternate===null&&He===0&&(He=3),a.flags&=-257,a.flags|=65536,a.lanes=l,n===Ui?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Vo(e,n,l)),!1;case 22:return a.flags|=65536,n===Ui?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Vo(e,n,l)),!1}throw Error(o(435,a.tag))}return Vo(e,n,l),ur(),!1}if(pe)return t=kt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,n!==Uu&&(e=Error(o(422),{cause:n}),El(Dt(e,a)))):(n!==Uu&&(t=Error(o(423),{cause:n}),El(Dt(t,a))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,n=Dt(n,a),l=go(e.stateNode,n,l),Ku(e,l),He!==4&&(He=2)),!1;var i=Error(o(520),{cause:n});if(i=Dt(i,a),Vl===null?Vl=[i]:Vl.push(i),He!==4&&(He=2),t===null)return!0;n=Dt(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=go(a.stateNode,n,e),Ku(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"&&(La===null||!La.has(i))))return a.flags|=65536,l&=-l,a.lanes|=l,l=od(l),sd(l,e,a,n),Ku(a,l),!1}a=a.return}while(a!==null);return!1}var vo=Error(o(461)),Ze=!1;function nt(e,t,a,n){t.child=e===null?mf(t,null,a,n):mn(t,e.child,a,n)}function cd(e,t,a,n,l){a=a.render;var i=t.ref;if("ref"in n){var c={};for(var d in n)d!=="ref"&&(c[d]=n[d])}else c=n;return sn(t),n=Pu(e,t,a,c,i,l),d=eo(),e!==null&&!Ze?(to(e,t,l),fa(e,t,l)):(pe&&d&&Nu(t),t.flags|=1,nt(e,t,n,l),t.child)}function fd(e,t,a,n,l){if(e===null){var i=a.type;return typeof i=="function"&&!Ou(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,dd(e,t,i,n,l)):(e=zi(a.type,null,n,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!jo(e,l)){var c=i.memoizedProps;if(a=a.compare,a=a!==null?a:xl,a(c,n)&&e.ref===t.ref)return fa(e,t,l)}return t.flags|=1,e=ia(i,n),e.ref=t.ref,e.return=t,t.child=e}function dd(e,t,a,n,l){if(e!==null){var i=e.memoizedProps;if(xl(i,n)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=n=i,jo(e,l))(e.flags&131072)!==0&&(Ze=!0);else return t.lanes=e.lanes,fa(e,t,l)}return bo(e,t,a,n,l)}function md(e,t,a,n){var l=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(n=t.child=e.child,l=0;n!==null;)l=l|n.lanes|n.childLanes,n=n.sibling;n=l&~i}else n=0,t.child=null;return hd(e,t,i,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ni(t,i!==null?i.cachePool:null),i!==null?_f(t,i):$u(),yf(t);else return n=t.lanes=536870912,hd(e,t,i!==null?i.baseLanes|a:a,a,n)}else i!==null?(Ni(t,i.cachePool),_f(t,i),Na(),t.memoizedState=null):(e!==null&&Ni(t,null),$u(),Na());return nt(e,t,l,a),t.child}function Ul(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function hd(e,t,a,n,l){var i=Vu();return i=i===null?null:{parent:Xe._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&Ni(t,null),$u(),yf(t),e!==null&&qn(e,t,n,!0),t.childLanes=l,null}function Wi(e,t){return t=Ii({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function pd(e,t,a){return mn(t,e.child,null,a),e=Wi(t,t.pendingProps),e.flags|=2,Et(t),t.memoizedState=null,e}function X_(e,t,a){var n=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(pe){if(n.mode==="hidden")return e=Wi(t,n),t.lanes=536870912,Ul(null,e);if(Fu(t),(e=Ce)?(e=jm(e,Ut),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ta!==null?{id:$t,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},a=Fc(e),a.return=t,t.child=a,tt=t,Ce=null)):e=null,e===null)throw Ra(t);return t.lanes=536870912,null}return Wi(t,n)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(Fu(t),l)if(t.flags&256)t.flags&=-257,t=pd(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Ze||qn(e,t,a,!1),l=(a&e.childLanes)!==0,Ze||l){if(n=Oe,n!==null&&(c=lc(n,a),c!==0&&c!==i.retryLane))throw i.retryLane=c,ln(e,c),_t(n,e,c),vo;ur(),t=pd(e,t,a)}else e=i.treeContext,Ce=Lt(c.nextSibling),tt=t,pe=!0,ja=null,Ut=!1,e!==null&&ef(t,e),t=Wi(t,n),t.flags|=4096;return t}return e=ia(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Fi(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 bo(e,t,a,n,l){return sn(t),a=Pu(e,t,a,n,void 0,l),n=eo(),e!==null&&!Ze?(to(e,t,l),fa(e,t,l)):(pe&&n&&Nu(t),t.flags|=1,nt(e,t,a,l),t.child)}function _d(e,t,a,n,l,i){return sn(t),t.updateQueue=null,a=vf(t,n,a,l),gf(e),n=eo(),e!==null&&!Ze?(to(e,t,i),fa(e,t,i)):(pe&&n&&Nu(t),t.flags|=1,nt(e,t,a,i),t.child)}function yd(e,t,a,n,l){if(sn(t),t.stateNode===null){var i=Dn,c=a.contextType;typeof c=="object"&&c!==null&&(i=at(c)),i=new a(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=yo,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Qu(t),c=a.contextType,i.context=typeof c=="object"&&c!==null?at(c):Dn,i.state=t.memoizedState,c=a.getDerivedStateFromProps,typeof c=="function"&&(_o(t,a,c,n),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&yo.enqueueReplaceState(i,i.state,null),Ol(t,n,i,l),zl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,y=pn(a,d);i.props=y;var T=i.context,z=a.contextType;c=Dn,typeof z=="object"&&z!==null&&(c=at(z));var D=a.getDerivedStateFromProps;z=typeof D=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,z||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||T!==c)&&nd(t,i,n,c),za=!1;var R=t.memoizedState;i.state=R,Ol(t,n,i,l),zl(),T=t.memoizedState,d||R!==T||za?(typeof D=="function"&&(_o(t,a,D,n),T=t.memoizedState),(y=za||ad(t,a,y,n,R,T,c))?(z||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=n,t.memoizedState=T),i.props=n,i.state=T,i.context=c,n=y):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Zu(e,t),c=t.memoizedProps,z=pn(a,c),i.props=z,D=t.pendingProps,R=i.context,T=a.contextType,y=Dn,typeof T=="object"&&T!==null&&(y=at(T)),d=a.getDerivedStateFromProps,(T=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==D||R!==y)&&nd(t,i,n,y),za=!1,R=t.memoizedState,i.state=R,Ol(t,n,i,l),zl();var A=t.memoizedState;c!==D||R!==A||za||e!==null&&e.dependencies!==null&&Ci(e.dependencies)?(typeof d=="function"&&(_o(t,a,d,n),A=t.memoizedState),(z=za||ad(t,a,z,n,R,A,y)||e!==null&&e.dependencies!==null&&Ci(e.dependencies))?(T||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,A,y),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,A,y)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=A),i.props=n,i.state=A,i.context=y,n=z):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,Fi(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=mn(t,e.child,null,l),t.child=mn(t,null,a,l)):nt(e,t,a,l),t.memoizedState=i.state,e=t.child):e=fa(e,t,l),e}function gd(e,t,a,n){return un(),t.flags|=256,nt(e,t,a,n),t.child}var xo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function So(e){return{baseLanes:e,cachePool:uf()}}function ko(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Tt),e}function vd(e,t,a){var n=t.pendingProps,l=!1,i=(t.flags&128)!==0,c;if((c=i)||(c=e!==null&&e.memoizedState===null?!1:(Ye.current&2)!==0),c&&(l=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(pe){if(l?Da(t):Na(),(e=Ce)?(e=jm(e,Ut),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ta!==null?{id:$t,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},a=Fc(e),a.return=t,t.child=a,tt=t,Ce=null)):e=null,e===null)throw Ra(t);return is(e)?t.lanes=32:t.lanes=536870912,null}var d=n.children;return n=n.fallback,l?(Na(),l=t.mode,d=Ii({mode:"hidden",children:d},l),n=rn(n,l,a,null),d.return=t,n.return=t,d.sibling=n,t.child=d,n=t.child,n.memoizedState=So(a),n.childLanes=ko(e,c,a),t.memoizedState=xo,Ul(null,n)):(Da(t),Eo(t,d))}var y=e.memoizedState;if(y!==null&&(d=y.dehydrated,d!==null)){if(i)t.flags&256?(Da(t),t.flags&=-257,t=wo(e,t,a)):t.memoizedState!==null?(Na(),t.child=e.child,t.flags|=128,t=null):(Na(),d=n.fallback,l=t.mode,n=Ii({mode:"visible",children:n.children},l),d=rn(d,l,a,null),d.flags|=2,n.return=t,d.return=t,n.sibling=d,t.child=n,mn(t,e.child,null,a),n=t.child,n.memoizedState=So(a),n.childLanes=ko(e,c,a),t.memoizedState=xo,t=Ul(null,n));else if(Da(t),is(d)){if(c=d.nextSibling&&d.nextSibling.dataset,c)var T=c.dgst;c=T,n=Error(o(419)),n.stack="",n.digest=c,El({value:n,source:null,stack:null}),t=wo(e,t,a)}else if(Ze||qn(e,t,a,!1),c=(a&e.childLanes)!==0,Ze||c){if(c=Oe,c!==null&&(n=lc(c,a),n!==0&&n!==y.retryLane))throw y.retryLane=n,ln(e,n),_t(c,e,n),vo;ls(d)||ur(),t=wo(e,t,a)}else ls(d)?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,Ce=Lt(d.nextSibling),tt=t,pe=!0,ja=null,Ut=!1,e!==null&&ef(t,e),t=Eo(t,n.children),t.flags|=4096);return t}return l?(Na(),d=n.fallback,l=t.mode,y=e.child,T=y.sibling,n=ia(y,{mode:"hidden",children:n.children}),n.subtreeFlags=y.subtreeFlags&65011712,T!==null?d=ia(T,d):(d=rn(d,l,a,null),d.flags|=2),d.return=t,n.return=t,n.sibling=d,t.child=n,Ul(null,n),n=t.child,d=e.child.memoizedState,d===null?d=So(a):(l=d.cachePool,l!==null?(y=Xe._currentValue,l=l.parent!==y?{parent:y,pool:y}:l):l=uf(),d={baseLanes:d.baseLanes|a,cachePool:l}),n.memoizedState=d,n.childLanes=ko(e,c,a),t.memoizedState=xo,Ul(e.child,n)):(Da(t),a=e.child,e=a.sibling,a=ia(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=a,t.memoizedState=null,a)}function Eo(e,t){return t=Ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ii(e,t){return e=St(22,e,null,t),e.lanes=0,e}function wo(e,t,a){return mn(t,e.child,null,a),e=Eo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function bd(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Hu(e.return,t,a)}function To(e,t,a,n,l,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:l,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=n,c.tail=a,c.tailMode=l,c.treeForkCount=i)}function xd(e,t,a){var n=t.pendingProps,l=n.revealOrder,i=n.tail;n=n.children;var c=Ye.current,d=(c&2)!==0;if(d?(c=c&1|2,t.flags|=128):c&=1,G(Ye,c),nt(e,t,n,a),n=pe?kl:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bd(e,a,t);else if(e.tag===19)bd(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(l){case"forwards":for(a=t.child,l=null;a!==null;)e=a.alternate,e!==null&&Bi(e)===null&&(l=a),a=a.sibling;a=l,a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),To(t,!1,l,a,i,n);break;case"backwards":case"unstable_legacy-backwards":for(a=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Bi(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}To(t,!0,a,null,i,n);break;case"together":To(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function fa(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),qa|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(qn(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 jo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ci(e)))}function Q_(e,t,a){switch(t.tag){case 3:ot(t,t.stateNode.containerInfo),Aa(t,Xe,e.memoizedState.cache),un();break;case 27:case 5:ol(t);break;case 4:ot(t,t.stateNode.containerInfo);break;case 10:Aa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Fu(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Da(t),t.flags|=128,null):(a&t.child.childLanes)!==0?vd(e,t,a):(Da(t),e=fa(e,t,a),e!==null?e.sibling:null);Da(t);break;case 19:var l=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(qn(e,t,a,!1),n=(a&t.childLanes)!==0),l){if(n)return xd(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),G(Ye,Ye.current),n)break;return null;case 22:return t.lanes=0,md(e,t,a,t.pendingProps);case 24:Aa(t,Xe,e.memoizedState.cache)}return fa(e,t,a)}function Sd(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ze=!0;else{if(!jo(e,a)&&(t.flags&128)===0)return Ze=!1,Q_(e,t,a);Ze=(e.flags&131072)!==0}else Ze=!1,pe&&(t.flags&1048576)!==0&&Pc(t,kl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=fn(t.elementType),t.type=e,typeof e=="function")Ou(e)?(n=pn(e,n),t.tag=1,t=yd(null,t,e,n,a)):(t.tag=0,t=bo(null,t,e,n,a));else{if(e!=null){var l=e.$$typeof;if(l===_e){t.tag=11,t=cd(null,t,e,n,a);break e}else if(l===W){t.tag=14,t=fd(null,t,e,n,a);break e}}throw t=ut(e)||e,Error(o(306,t,""))}}return t;case 0:return bo(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,l=pn(n,t.pendingProps),yd(e,t,n,l,a);case 3:e:{if(ot(t,t.stateNode.containerInfo),e===null)throw Error(o(387));n=t.pendingProps;var i=t.memoizedState;l=i.element,Zu(e,t),Ol(t,n,null,a);var c=t.memoizedState;if(n=c.cache,Aa(t,Xe,n),n!==i.cache&&Bu(t,[Xe],a,!0),zl(),n=c.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=gd(e,t,n,a);break e}else if(n!==l){l=Dt(Error(o(424)),t),El(l),t=gd(e,t,n,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(Ce=Lt(e.firstChild),tt=t,pe=!0,ja=null,Ut=!0,a=mf(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(un(),n===l){t=fa(e,t,a);break e}nt(e,t,n,a)}t=t.child}return t;case 26:return Fi(e,t),e===null?(a=Dm(t.type,null,t.pendingProps,null))?t.memoizedState=a:pe||(a=t.type,e=t.pendingProps,n=hr(se.current).createElement(a),n[et]=t,n[ct]=e,lt(n,a,e),Fe(n),t.stateNode=n):t.memoizedState=Dm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ol(t),e===null&&pe&&(n=t.stateNode=zm(t.type,t.pendingProps,se.current),tt=t,Ut=!0,l=Ce,Ga(t.type)?(rs=l,Ce=Lt(n.firstChild)):Ce=l),nt(e,t,t.pendingProps.children,a),Fi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&pe&&((l=n=Ce)&&(n=xy(n,t.type,t.pendingProps,Ut),n!==null?(t.stateNode=n,tt=t,Ce=Lt(n.firstChild),Ut=!1,l=!0):l=!1),l||Ra(t)),ol(t),l=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,n=i.children,ts(l,i)?n=null:c!==null&&ts(l,c)&&(t.flags|=32),t.memoizedState!==null&&(l=Pu(e,t,U_,null,null,a),Fl._currentValue=l),Fi(e,t),nt(e,t,n,a),t.child;case 6:return e===null&&pe&&((e=a=Ce)&&(a=Sy(a,t.pendingProps,Ut),a!==null?(t.stateNode=a,tt=t,Ce=null,e=!0):e=!1),e||Ra(t)),null;case 13:return vd(e,t,a);case 4:return ot(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=mn(t,null,n,a):nt(e,t,n,a),t.child;case 11:return cd(e,t,t.type,t.pendingProps,a);case 7:return nt(e,t,t.pendingProps,a),t.child;case 8:return nt(e,t,t.pendingProps.children,a),t.child;case 12:return nt(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,Aa(t,t.type,n.value),nt(e,t,n.children,a),t.child;case 9:return l=t.type._context,n=t.pendingProps.children,sn(t),l=at(l),n=n(l),t.flags|=1,nt(e,t,n,a),t.child;case 14:return fd(e,t,t.type,t.pendingProps,a);case 15:return dd(e,t,t.type,t.pendingProps,a);case 19:return xd(e,t,a);case 31:return X_(e,t,a);case 22:return md(e,t,a,t.pendingProps);case 24:return sn(t),n=at(Xe),e===null?(l=Vu(),l===null&&(l=Oe,i=Yu(),l.pooledCache=i,i.refCount++,i!==null&&(l.pooledCacheLanes|=a),l=i),t.memoizedState={parent:n,cache:l},Qu(t),Aa(t,Xe,l)):((e.lanes&a)!==0&&(Zu(e,t),Ol(t,null,null,a),zl()),l=e.memoizedState,i=t.memoizedState,l.parent!==n?(l={parent:n,cache:n},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Aa(t,Xe,n)):(n=i.cache,Aa(t,Xe,n),n!==l.cache&&Bu(t,[Xe],a,!0))),nt(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 Ro(e,t,a,n,l){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if($d())e.flags|=8192;else throw dn=Ui,Xu}else e.flags&=-16777217}function kd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Lm(t))if($d())e.flags|=8192;else throw dn=Ui,Xu}function Pi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?tc():536870912,e.lanes|=t,$n|=t)}function ql(e,t){if(!pe)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 n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function De(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags&65011712,n|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags,n|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function Z_(e,t,a){var n=t.pendingProps;switch(Mu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return De(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),oa(Xe),Be(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Un(t)?da(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qu())),De(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(da(t),i!==null?(De(t),kd(t,i)):(De(t),Ro(t,l,null,n,a))):i?i!==e.memoizedState?(da(t),De(t),kd(t,i)):(De(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&da(t),De(t),Ro(t,l,e,n,a)),null;case 27:if(ci(t),a=se.current,l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&da(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return De(t),null}e=Z.current,Un(t)?tf(t):(e=zm(l,n,a),t.stateNode=e,da(t))}return De(t),null;case 5:if(ci(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&da(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return De(t),null}if(i=Z.current,Un(t))tf(t);else{var c=hr(se.current);switch(i){case 1:i=c.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:i=c.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":i=c.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":i=c.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":i=c.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?c.createElement("select",{is:n.is}):c.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?c.createElement(l,{is:n.is}):c.createElement(l)}}i[et]=t,i[ct]=n;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(lt(i,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&da(t)}}return De(t),Ro(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&da(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=se.current,Un(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,l=tt,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}e[et]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||vm(e.nodeValue,a)),e||Ra(t,!0)}else e=hr(e).createTextNode(n),e[et]=t,t.stateNode=e}return De(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Un(t),a!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[et]=t}else un(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),e=!1}else a=qu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Et(t),t):(Et(t),null);if((t.flags&128)!==0)throw Error(o(558))}return De(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=Un(t),n!==null&&n.dehydrated!==null){if(e===null){if(!l)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));l[et]=t}else un(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),l=!1}else l=qu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Et(t),t):(Et(t),null)}return Et(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Pi(t,t.updateQueue),De(t),null);case 4:return Be(),e===null&&Wo(t.stateNode.containerInfo),De(t),null;case 10:return oa(t.type),De(t),null;case 19:if(N(Ye),n=t.memoizedState,n===null)return De(t),null;if(l=(t.flags&128)!==0,i=n.rendering,i===null)if(l)ql(n,!1);else{if(He!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Bi(e),i!==null){for(t.flags|=128,ql(n,!1),e=i.updateQueue,t.updateQueue=e,Pi(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Wc(a,e),a=a.sibling;return G(Ye,Ye.current&1|2),pe&&ra(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&>()>lr&&(t.flags|=128,l=!0,ql(n,!1),t.lanes=4194304)}else{if(!l)if(e=Bi(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Pi(t,e),ql(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!pe)return De(t),null}else 2*gt()-n.renderingStartTime>lr&&a!==536870912&&(t.flags|=128,l=!0,ql(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=gt(),e.sibling=null,a=Ye.current,G(Ye,l?a&1|2:a&1),pe&&ra(t,n.treeForkCount),e):(De(t),null);case 22:case 23:return Et(t),Wu(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),a=t.updateQueue,a!==null&&Pi(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&N(cn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),oa(Xe),De(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function K_(e,t){switch(Mu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return oa(Xe),Be(),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(Et(t),t.alternate===null)throw Error(o(340));un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Et(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N(Ye),null;case 4:return Be(),null;case 10:return oa(t.type),null;case 22:case 23:return Et(t),Wu(),e!==null&&N(cn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return oa(Xe),null;case 25:return null;default:return null}}function Ed(e,t){switch(Mu(t),t.tag){case 3:oa(Xe),Be();break;case 26:case 27:case 5:ci(t);break;case 4:Be();break;case 31:t.memoizedState!==null&&Et(t);break;case 13:Et(t);break;case 19:N(Ye);break;case 10:oa(t.type);break;case 22:case 23:Et(t),Wu(),e!==null&&N(cn);break;case 24:oa(Xe)}}function Ll(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&e)===e){n=void 0;var i=a.create,c=a.inst;n=i(),c.destroy=n}a=a.next}while(a!==l)}}catch(d){we(t,t.return,d)}}function Ma(e,t,a){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){var c=n.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,l=t;var y=a,T=d;try{T()}catch(z){we(l,y,z)}}}n=n.next}while(n!==i)}}catch(z){we(t,t.return,z)}}function wd(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{pf(t,a)}catch(n){we(e,e.return,n)}}}function Td(e,t,a){a.props=pn(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){we(e,t,n)}}function Hl(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(l){we(e,t,l)}}function Ft(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){we(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){we(e,t,l)}else a.current=null}function jd(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){we(e,e.return,l)}}function Ao(e,t,a){try{var n=e.stateNode;py(n,e.type,a,t),n[ct]=t}catch(l){we(e,e.return,l)}}function Rd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ga(e.type)||e.tag===4}function zo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rd(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&&Ga(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 Oo(e,t,a){var n=e.tag;if(n===5||n===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=na));else if(n!==4&&(n===27&&Ga(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Oo(e,t,a),e=e.sibling;e!==null;)Oo(e,t,a),e=e.sibling}function er(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&Ga(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(er(e,t,a),e=e.sibling;e!==null;)er(e,t,a),e=e.sibling}function Ad(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);lt(t,n,a),t[et]=e,t[ct]=a}catch(i){we(e,e.return,i)}}var ma=!1,Ke=!1,Co=!1,zd=typeof WeakSet=="function"?WeakSet:Set,Ie=null;function J_(e,t){if(e=e.containerInfo,Po=xr,e=Yc(e),Eu(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var l=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var c=0,d=-1,y=-1,T=0,z=0,D=e,R=null;t:for(;;){for(var A;D!==a||l!==0&&D.nodeType!==3||(d=c+l),D!==i||n!==0&&D.nodeType!==3||(y=c+n),D.nodeType===3&&(c+=D.nodeValue.length),(A=D.firstChild)!==null;)R=D,D=A;for(;;){if(D===e)break t;if(R===a&&++T===l&&(d=c),R===i&&++z===n&&(y=c),(A=D.nextSibling)!==null)break;D=R,R=D.parentNode}D=A}a=d===-1||y===-1?null:{start:d,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;for(es={focusedElem:e,selectionRange:a},xr=!1,Ie=t;Ie!==null;)if(t=Ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ie=e;else for(;Ie!==null;){switch(t=Ie,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++)l=e[a],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,a=t,l=i.memoizedProps,i=i.memoizedState,n=a.stateNode;try{var Q=pn(a.type,l);e=n.getSnapshotBeforeUpdate(Q,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(P){we(a,a.return,P)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)ns(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ns(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,Ie=e;break}Ie=t.return}}function Od(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:pa(e,a),n&4&&Ll(5,a);break;case 1:if(pa(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(c){we(a,a.return,c)}else{var l=pn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){we(a,a.return,c)}}n&64&&wd(a),n&512&&Hl(a,a.return);break;case 3:if(pa(e,a),n&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{pf(e,t)}catch(c){we(a,a.return,c)}}break;case 27:t===null&&n&4&&Ad(a);case 26:case 5:pa(e,a),t===null&&n&4&&jd(a),n&512&&Hl(a,a.return);break;case 12:pa(e,a);break;case 31:pa(e,a),n&4&&Nd(e,a);break;case 13:pa(e,a),n&4&&Md(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=ny.bind(null,a),ky(e,a))));break;case 22:if(n=a.memoizedState!==null||ma,!n){t=t!==null&&t.memoizedState!==null||Ke,l=ma;var i=Ke;ma=n,(Ke=t)&&!i?_a(e,a,(a.subtreeFlags&8772)!==0):pa(e,a),ma=l,Ke=i}break;case 30:break;default:pa(e,a)}}function Cd(e){var t=e.alternate;t!==null&&(e.alternate=null,Cd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&uu(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,dt=!1;function ha(e,t,a){for(a=a.child;a!==null;)Dd(e,t,a),a=a.sibling}function Dd(e,t,a){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(sl,a)}catch{}switch(a.tag){case 26:Ke||Ft(a,t),ha(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ke||Ft(a,t);var n=Me,l=dt;Ga(a.type)&&(Me=a.stateNode,dt=!1),ha(e,t,a),Jl(a.stateNode),Me=n,dt=l;break;case 5:Ke||Ft(a,t);case 6:if(n=Me,l=dt,Me=null,ha(e,t,a),Me=n,dt=l,Me!==null)if(dt)try{(Me.nodeType===9?Me.body:Me.nodeName==="HTML"?Me.ownerDocument.body:Me).removeChild(a.stateNode)}catch(i){we(a,t,i)}else try{Me.removeChild(a.stateNode)}catch(i){we(a,t,i)}break;case 18:Me!==null&&(dt?(e=Me,wm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),nl(e)):wm(Me,a.stateNode));break;case 4:n=Me,l=dt,Me=a.stateNode.containerInfo,dt=!0,ha(e,t,a),Me=n,dt=l;break;case 0:case 11:case 14:case 15:Ma(2,a,t),Ke||Ma(4,a,t),ha(e,t,a);break;case 1:Ke||(Ft(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&Td(a,t,n)),ha(e,t,a);break;case 21:ha(e,t,a);break;case 22:Ke=(n=Ke)||a.memoizedState!==null,ha(e,t,a),Ke=n;break;default:ha(e,t,a)}}function Nd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{nl(e)}catch(a){we(t,t.return,a)}}}function Md(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{nl(e)}catch(a){we(t,t.return,a)}}function $_(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new zd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new zd),t;default:throw Error(o(435,e.tag))}}function tr(e,t){var a=$_(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var l=ly.bind(null,e,n);n.then(l,l)}})}function mt(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n],i=e,c=t,d=c;e:for(;d!==null;){switch(d.tag){case 27:if(Ga(d.type)){Me=d.stateNode,dt=!1;break e}break;case 5:Me=d.stateNode,dt=!1;break e;case 3:case 4:Me=d.stateNode.containerInfo,dt=!0;break e}d=d.return}if(Me===null)throw Error(o(160));Dd(i,c,l),Me=null,dt=!1,i=l.alternate,i!==null&&(i.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Ud(t,e),t=t.sibling}var Xt=null;function Ud(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:mt(t,e),ht(e),n&4&&(Ma(3,e,e.return),Ll(3,e),Ma(5,e,e.return));break;case 1:mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),n&64&&ma&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var l=Xt;if(mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),n&4){var i=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,l=l.ownerDocument||l;t:switch(n){case"title":i=l.getElementsByTagName("title")[0],(!i||i[dl]||i[et]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=l.createElement(n),l.head.insertBefore(i,l.querySelector("head > title"))),lt(i,n,a),i[et]=e,Fe(i),n=i;break e;case"link":var c=Um("link","href",l).get(n+(a.href||""));if(c){for(var d=0;d<c.length;d++)if(i=c[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)){c.splice(d,1);break t}}i=l.createElement(n),lt(i,n,a),l.head.appendChild(i);break;case"meta":if(c=Um("meta","content",l).get(n+(a.content||""))){for(d=0;d<c.length;d++)if(i=c[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)){c.splice(d,1);break t}}i=l.createElement(n),lt(i,n,a),l.head.appendChild(i);break;default:throw Error(o(468,n))}i[et]=e,Fe(i),n=i}e.stateNode=n}else qm(l,e.type,e.stateNode);else e.stateNode=Mm(l,n,e.memoizedProps);else i!==n?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,n===null?qm(l,e.type,e.stateNode):Mm(l,n,e.memoizedProps)):n===null&&e.stateNode!==null&&Ao(e,e.memoizedProps,a.memoizedProps)}break;case 27:mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),a!==null&&n&4&&Ao(e,e.memoizedProps,a.memoizedProps);break;case 5:if(mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),e.flags&32){l=e.stateNode;try{Tn(l,"")}catch(Q){we(e,e.return,Q)}}n&4&&e.stateNode!=null&&(l=e.memoizedProps,Ao(e,l,a!==null?a.memoizedProps:l)),n&1024&&(Co=!0);break;case 6:if(mt(t,e),ht(e),n&4){if(e.stateNode===null)throw Error(o(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch(Q){we(e,e.return,Q)}}break;case 3:if(yr=null,l=Xt,Xt=pr(t.containerInfo),mt(t,e),Xt=l,ht(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{nl(t.containerInfo)}catch(Q){we(e,e.return,Q)}Co&&(Co=!1,qd(e));break;case 4:n=Xt,Xt=pr(e.stateNode.containerInfo),mt(t,e),ht(e),Xt=n;break;case 12:mt(t,e),ht(e);break;case 31:mt(t,e),ht(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,tr(e,n)));break;case 13:mt(t,e),ht(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(nr=gt()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,tr(e,n)));break;case 22:l=e.memoizedState!==null;var y=a!==null&&a.memoizedState!==null,T=ma,z=Ke;if(ma=T||l,Ke=z||y,mt(t,e),Ke=z,ma=T,ht(e),n&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,l&&(a===null||y||ma||Ke||_n(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){y=a=t;try{if(i=y.stateNode,l)c=i.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{d=y.stateNode;var D=y.memoizedProps.style,R=D!=null&&D.hasOwnProperty("display")?D.display:null;d.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(Q){we(y,y.return,Q)}}}else if(t.tag===6){if(a===null){y=t;try{y.stateNode.nodeValue=l?"":y.memoizedProps}catch(Q){we(y,y.return,Q)}}}else if(t.tag===18){if(a===null){y=t;try{var A=y.stateNode;l?Tm(A,!0):Tm(y.stateNode,!1)}catch(Q){we(y,y.return,Q)}}}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}n&4&&(n=e.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,tr(e,a))));break;case 19:mt(t,e),ht(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,tr(e,n)));break;case 30:break;case 21:break;default:mt(t,e),ht(e)}}function ht(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(Rd(n)){a=n;break}n=n.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var l=a.stateNode,i=zo(e);er(e,i,l);break;case 5:var c=a.stateNode;a.flags&32&&(Tn(c,""),a.flags&=-33);var d=zo(e);er(e,d,c);break;case 3:case 4:var y=a.stateNode.containerInfo,T=zo(e);Oo(e,T,y);break;default:throw Error(o(161))}}catch(z){we(e,e.return,z)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;qd(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;)Od(e,t.alternate,t),t=t.sibling}function _n(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ma(4,t,t.return),_n(t);break;case 1:Ft(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Td(t,t.return,a),_n(t);break;case 27:Jl(t.stateNode);case 26:case 5:Ft(t,t.return),_n(t);break;case 22:t.memoizedState===null&&_n(t);break;case 30:_n(t);break;default:_n(t)}e=e.sibling}}function _a(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,l=e,i=t,c=i.flags;switch(i.tag){case 0:case 11:case 15:_a(l,i,a),Ll(4,i);break;case 1:if(_a(l,i,a),n=i,l=n.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(T){we(n,n.return,T)}if(n=i,l=n.updateQueue,l!==null){var d=n.stateNode;try{var y=l.shared.hiddenCallbacks;if(y!==null)for(l.shared.hiddenCallbacks=null,l=0;l<y.length;l++)hf(y[l],d)}catch(T){we(n,n.return,T)}}a&&c&64&&wd(i),Hl(i,i.return);break;case 27:Ad(i);case 26:case 5:_a(l,i,a),a&&n===null&&c&4&&jd(i),Hl(i,i.return);break;case 12:_a(l,i,a);break;case 31:_a(l,i,a),a&&c&4&&Nd(l,i);break;case 13:_a(l,i,a),a&&c&4&&Md(l,i);break;case 22:i.memoizedState===null&&_a(l,i,a),Hl(i,i.return);break;case 30:break;default:_a(l,i,a)}t=t.sibling}}function Do(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&&wl(a))}function No(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wl(e))}function Qt(e,t,a,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ld(e,t,a,n),t=t.sibling}function Ld(e,t,a,n){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Qt(e,t,a,n),l&2048&&Ll(9,t);break;case 1:Qt(e,t,a,n);break;case 3:Qt(e,t,a,n),l&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wl(e)));break;case 12:if(l&2048){Qt(e,t,a,n),e=t.stateNode;try{var i=t.memoizedProps,c=i.id,d=i.onPostCommit;typeof d=="function"&&d(c,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(y){we(t,t.return,y)}}else Qt(e,t,a,n);break;case 31:Qt(e,t,a,n);break;case 13:Qt(e,t,a,n);break;case 23:break;case 22:i=t.stateNode,c=t.alternate,t.memoizedState!==null?i._visibility&2?Qt(e,t,a,n):Bl(e,t):i._visibility&2?Qt(e,t,a,n):(i._visibility|=2,Zn(e,t,a,n,(t.subtreeFlags&10256)!==0||!1)),l&2048&&Do(c,t);break;case 24:Qt(e,t,a,n),l&2048&&No(t.alternate,t);break;default:Qt(e,t,a,n)}}function Zn(e,t,a,n,l){for(l=l&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,c=t,d=a,y=n,T=c.flags;switch(c.tag){case 0:case 11:case 15:Zn(i,c,d,y,l),Ll(8,c);break;case 23:break;case 22:var z=c.stateNode;c.memoizedState!==null?z._visibility&2?Zn(i,c,d,y,l):Bl(i,c):(z._visibility|=2,Zn(i,c,d,y,l)),l&&T&2048&&Do(c.alternate,c);break;case 24:Zn(i,c,d,y,l),l&&T&2048&&No(c.alternate,c);break;default:Zn(i,c,d,y,l)}t=t.sibling}}function Bl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,l=n.flags;switch(n.tag){case 22:Bl(a,n),l&2048&&Do(n.alternate,n);break;case 24:Bl(a,n),l&2048&&No(n.alternate,n);break;default:Bl(a,n)}t=t.sibling}}var Yl=8192;function Kn(e,t,a){if(e.subtreeFlags&Yl)for(e=e.child;e!==null;)Hd(e,t,a),e=e.sibling}function Hd(e,t,a){switch(e.tag){case 26:Kn(e,t,a),e.flags&Yl&&e.memoizedState!==null&&My(a,Xt,e.memoizedState,e.memoizedProps);break;case 5:Kn(e,t,a);break;case 3:case 4:var n=Xt;Xt=pr(e.stateNode.containerInfo),Kn(e,t,a),Xt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Yl,Yl=16777216,Kn(e,t,a),Yl=n):Kn(e,t,a));break;default:Kn(e,t,a)}}function Bd(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 Gl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];Ie=n,Gd(n,e)}Bd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yd(e),e=e.sibling}function Yd(e){switch(e.tag){case 0:case 11:case 15:Gl(e),e.flags&2048&&Ma(9,e,e.return);break;case 3:Gl(e);break;case 12:Gl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ar(e)):Gl(e);break;default:Gl(e)}}function ar(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];Ie=n,Gd(n,e)}Bd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ma(8,t,t.return),ar(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,ar(t));break;default:ar(t)}e=e.sibling}}function Gd(e,t){for(;Ie!==null;){var a=Ie;switch(a.tag){case 0:case 11:case 15:Ma(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:wl(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,Ie=n;else e:for(a=e;Ie!==null;){n=Ie;var l=n.sibling,i=n.return;if(Cd(n),n===a){Ie=null;break e}if(l!==null){l.return=i,Ie=l;break e}Ie=i}}}var W_={getCacheForType:function(e){var t=at(Xe),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return at(Xe).controller.signal}},F_=typeof WeakMap=="function"?WeakMap:Map,be=0,Oe=null,ce=null,de=0,Ee=0,wt=null,Ua=!1,Jn=!1,Mo=!1,ya=0,He=0,qa=0,yn=0,Uo=0,Tt=0,$n=0,Vl=null,pt=null,qo=!1,nr=0,Vd=0,lr=1/0,ir=null,La=null,$e=0,Ha=null,Wn=null,ga=0,Lo=0,Ho=null,Xd=null,Xl=0,Bo=null;function jt(){return(be&2)!==0&&de!==0?de&-de:O.T!==null?Zo():ic()}function Qd(){if(Tt===0)if((de&536870912)===0||pe){var e=mi;mi<<=1,(mi&3932160)===0&&(mi=262144),Tt=e}else Tt=536870912;return e=kt.current,e!==null&&(e.flags|=32),Tt}function _t(e,t,a){(e===Oe&&(Ee===2||Ee===9)||e.cancelPendingCommit!==null)&&(Fn(e,0),Ba(e,de,Tt,!1)),fl(e,a),((be&2)===0||e!==Oe)&&(e===Oe&&((be&2)===0&&(yn|=a),He===4&&Ba(e,de,Tt,!1)),It(e))}function Zd(e,t,a){if((be&6)!==0)throw Error(o(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||cl(e,t),l=n?ey(e,t):Go(e,t,!0),i=n;do{if(l===0){Jn&&!n&&Ba(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!I_(a)){l=Go(e,t,!1),i=!1;continue}if(l===2){if(i=t,e.errorRecoveryDisabledLanes&i)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var d=e;l=Vl;var y=d.current.memoizedState.isDehydrated;if(y&&(Fn(d,c).flags|=256),c=Go(d,c,!1),c!==2){if(Mo&&!y){d.errorRecoveryDisabledLanes|=i,yn|=i,l=4;break e}i=pt,pt=l,i!==null&&(pt===null?pt=i:pt.push.apply(pt,i))}l=c}if(i=!1,l!==2)continue}}if(l===1){Fn(e,0),Ba(e,t,0,!0);break}e:{switch(n=e,i=l,i){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Ba(n,t,Tt,!Ua);break e;case 2:pt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(l=nr+300-gt(),10<l)){if(Ba(n,t,Tt,!Ua),pi(n,0,!0)!==0)break e;ga=t,n.timeoutHandle=km(Kd.bind(null,n,a,pt,ir,qo,t,Tt,yn,$n,Ua,i,"Throttled",-0,0),l);break e}Kd(n,a,pt,ir,qo,t,Tt,yn,$n,Ua,i,null,-0,0)}}break}while(!0);It(e)}function Kd(e,t,a,n,l,i,c,d,y,T,z,D,R,A){if(e.timeoutHandle=-1,D=t.subtreeFlags,D&8192||(D&16785408)===16785408){D={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:na},Hd(t,i,D);var Q=(i&62914560)===i?nr-gt():(i&4194048)===i?Vd-gt():0;if(Q=Uy(D,Q),Q!==null){ga=i,e.cancelPendingCommit=Q(tm.bind(null,e,t,i,a,n,l,c,d,y,z,D,null,R,A)),Ba(e,i,c,!T);return}}tm(e,t,i,a,n,l,c,d,y)}function I_(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 n=0;n<a.length;n++){var l=a[n],i=l.getSnapshot;l=l.value;try{if(!xt(i(),l))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 Ba(e,t,a,n){t&=~Uo,t&=~yn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var l=t;0<l;){var i=31-bt(l),c=1<<i;n[i]=-1,l&=~c}a!==0&&ac(e,a,t)}function rr(){return(be&6)===0?(Ql(0),!1):!0}function Yo(){if(ce!==null){if(Ee===0)var e=ce.return;else e=ce,ua=on=null,ao(e),Yn=null,jl=0,e=ce;for(;e!==null;)Ed(e.alternate,e),e=e.return;ce=null}}function Fn(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,gy(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ga=0,Yo(),Oe=e,ce=a=ia(e.current,null),de=t,Ee=0,wt=null,Ua=!1,Jn=cl(e,t),Mo=!1,$n=Tt=Uo=yn=qa=He=0,pt=Vl=null,qo=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var l=31-bt(n),i=1<<l;t|=e[l],n&=~i}return ya=t,ji(),a}function Jd(e,t){ie=null,O.H=Ml,t===Bn||t===Mi?(t=cf(),Ee=3):t===Xu?(t=cf(),Ee=4):Ee=t===vo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,wt=t,ce===null&&(He=1,$i(e,Dt(t,e.current)))}function $d(){var e=kt.current;return e===null?!0:(de&4194048)===de?qt===null:(de&62914560)===de||(de&536870912)!==0?e===qt:!1}function Wd(){var e=O.H;return O.H=Ml,e===null?Ml:e}function Fd(){var e=O.A;return O.A=W_,e}function ur(){He=4,Ua||(de&4194048)!==de&&kt.current!==null||(Jn=!0),(qa&134217727)===0&&(yn&134217727)===0||Oe===null||Ba(Oe,de,Tt,!1)}function Go(e,t,a){var n=be;be|=2;var l=Wd(),i=Fd();(Oe!==e||de!==t)&&(ir=null,Fn(e,t)),t=!1;var c=He;e:do try{if(Ee!==0&&ce!==null){var d=ce,y=wt;switch(Ee){case 8:Yo(),c=6;break e;case 3:case 2:case 9:case 6:kt.current===null&&(t=!0);var T=Ee;if(Ee=0,wt=null,In(e,d,y,T),a&&Jn){c=0;break e}break;default:T=Ee,Ee=0,wt=null,In(e,d,y,T)}}P_(),c=He;break}catch(z){Jd(e,z)}while(!0);return t&&e.shellSuspendCounter++,ua=on=null,be=n,O.H=l,O.A=i,ce===null&&(Oe=null,de=0,ji()),c}function P_(){for(;ce!==null;)Id(ce)}function ey(e,t){var a=be;be|=2;var n=Wd(),l=Fd();Oe!==e||de!==t?(ir=null,lr=gt()+500,Fn(e,t)):Jn=cl(e,t);e:do try{if(Ee!==0&&ce!==null){t=ce;var i=wt;t:switch(Ee){case 1:Ee=0,wt=null,In(e,t,i,1);break;case 2:case 9:if(of(i)){Ee=0,wt=null,Pd(t);break}t=function(){Ee!==2&&Ee!==9||Oe!==e||(Ee=7),It(e)},i.then(t,t);break e;case 3:Ee=7;break e;case 4:Ee=5;break e;case 7:of(i)?(Ee=0,wt=null,Pd(t)):(Ee=0,wt=null,In(e,t,i,7));break;case 5:var c=null;switch(ce.tag){case 26:c=ce.memoizedState;case 5:case 27:var d=ce;if(c?Lm(c):d.stateNode.complete){Ee=0,wt=null;var y=d.sibling;if(y!==null)ce=y;else{var T=d.return;T!==null?(ce=T,or(T)):ce=null}break t}}Ee=0,wt=null,In(e,t,i,5);break;case 6:Ee=0,wt=null,In(e,t,i,6);break;case 8:Yo(),He=6;break e;default:throw Error(o(462))}}ty();break}catch(z){Jd(e,z)}while(!0);return ua=on=null,O.H=n,O.A=l,be=a,ce!==null?0:(Oe=null,de=0,ji(),He)}function ty(){for(;ce!==null&&!Ep();)Id(ce)}function Id(e){var t=Sd(e.alternate,e,ya);e.memoizedProps=e.pendingProps,t===null?or(e):ce=t}function Pd(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=_d(a,t,t.pendingProps,t.type,void 0,de);break;case 11:t=_d(a,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:ao(t);default:Ed(a,t),t=ce=Wc(t,ya),t=Sd(a,t,ya)}e.memoizedProps=e.pendingProps,t===null?or(e):ce=t}function In(e,t,a,n){ua=on=null,ao(t),Yn=null,jl=0;var l=t.return;try{if(V_(e,l,t,a,de)){He=1,$i(e,Dt(a,e.current)),ce=null;return}}catch(i){if(l!==null)throw ce=l,i;He=1,$i(e,Dt(a,e.current)),ce=null;return}t.flags&32768?(pe||n===1?e=!0:Jn||(de&536870912)!==0?e=!1:(Ua=e=!0,(n===2||n===9||n===3||n===6)&&(n=kt.current,n!==null&&n.tag===13&&(n.flags|=16384))),em(t,e)):or(t)}function or(e){var t=e;do{if((t.flags&32768)!==0){em(t,Ua);return}e=t.return;var a=Z_(t.alternate,t,ya);if(a!==null){ce=a;return}if(t=t.sibling,t!==null){ce=t;return}ce=t=e}while(t!==null);He===0&&(He=5)}function em(e,t){do{var a=K_(e.alternate,e);if(a!==null){a.flags&=32767,ce=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ce=e;return}ce=e=a}while(e!==null);He=6,ce=null}function tm(e,t,a,n,l,i,c,d,y){e.cancelPendingCommit=null;do sr();while($e!==0);if((be&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,i|=Au,Np(e,a,i,c,d,y),e===Oe&&(ce=Oe=null,de=0),Wn=t,Ha=e,ga=a,Lo=i,Ho=l,Xd=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,iy(fi,function(){return rm(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=O.T,O.T=null,l=Y.p,Y.p=2,c=be,be|=4;try{J_(e,t,a)}finally{be=c,Y.p=l,O.T=n}}$e=1,am(),nm(),lm()}}function am(){if($e===1){$e=0;var e=Ha,t=Wn,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var n=Y.p;Y.p=2;var l=be;be|=4;try{Ud(t,e);var i=es,c=Yc(e.containerInfo),d=i.focusedElem,y=i.selectionRange;if(c!==d&&d&&d.ownerDocument&&Bc(d.ownerDocument.documentElement,d)){if(y!==null&&Eu(d)){var T=y.start,z=y.end;if(z===void 0&&(z=T),"selectionStart"in d)d.selectionStart=T,d.selectionEnd=Math.min(z,d.value.length);else{var D=d.ownerDocument||document,R=D&&D.defaultView||window;if(R.getSelection){var A=R.getSelection(),Q=d.textContent.length,P=Math.min(y.start,Q),Ae=y.end===void 0?P:Math.min(y.end,Q);!A.extend&&P>Ae&&(c=Ae,Ae=P,P=c);var E=Hc(d,P),b=Hc(d,Ae);if(E&&b&&(A.rangeCount!==1||A.anchorNode!==E.node||A.anchorOffset!==E.offset||A.focusNode!==b.node||A.focusOffset!==b.offset)){var w=D.createRange();w.setStart(E.node,E.offset),A.removeAllRanges(),P>Ae?(A.addRange(w),A.extend(b.node,b.offset)):(w.setEnd(b.node,b.offset),A.addRange(w))}}}}for(D=[],A=d;A=A.parentNode;)A.nodeType===1&&D.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<D.length;d++){var C=D[d];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}xr=!!Po,es=Po=null}finally{be=l,Y.p=n,O.T=a}}e.current=t,$e=2}}function nm(){if($e===2){$e=0;var e=Ha,t=Wn,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var n=Y.p;Y.p=2;var l=be;be|=4;try{Od(e,t.alternate,t)}finally{be=l,Y.p=n,O.T=a}}$e=3}}function lm(){if($e===4||$e===3){$e=0,wp();var e=Ha,t=Wn,a=ga,n=Xd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?$e=5:($e=0,Wn=Ha=null,im(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(La=null),iu(a),t=t.stateNode,vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(sl,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=O.T,l=Y.p,Y.p=2,O.T=null;try{for(var i=e.onRecoverableError,c=0;c<n.length;c++){var d=n[c];i(d.value,{componentStack:d.stack})}}finally{O.T=t,Y.p=l}}(ga&3)!==0&&sr(),It(e),l=e.pendingLanes,(a&261930)!==0&&(l&42)!==0?e===Bo?Xl++:(Xl=0,Bo=e):Xl=0,Ql(0)}}function im(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,wl(t)))}function sr(){return am(),nm(),lm(),rm()}function rm(){if($e!==5)return!1;var e=Ha,t=Lo;Lo=0;var a=iu(ga),n=O.T,l=Y.p;try{Y.p=32>a?32:a,O.T=null,a=Ho,Ho=null;var i=Ha,c=ga;if($e=0,Wn=Ha=null,ga=0,(be&6)!==0)throw Error(o(331));var d=be;if(be|=4,Yd(i.current),Ld(i,i.current,c,a),be=d,Ql(0,!1),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(sl,i)}catch{}return!0}finally{Y.p=l,O.T=n,im(e,t)}}function um(e,t,a){t=Dt(a,t),t=go(e.stateNode,t,2),e=Ca(e,t,2),e!==null&&(fl(e,2),It(e))}function we(e,t,a){if(e.tag===3)um(e,e,a);else for(;t!==null;){if(t.tag===3){um(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(La===null||!La.has(n))){e=Dt(a,e),a=od(2),n=Ca(t,a,2),n!==null&&(sd(a,n,t,e),fl(n,2),It(n));break}}t=t.return}}function Vo(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new F_;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(Mo=!0,l.add(a),e=ay.bind(null,e,t,a),t.then(e,e))}function ay(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Oe===e&&(de&a)===a&&(He===4||He===3&&(de&62914560)===de&&300>gt()-nr?(be&2)===0&&Fn(e,0):Uo|=a,$n===de&&($n=0)),It(e)}function om(e,t){t===0&&(t=tc()),e=ln(e,t),e!==null&&(fl(e,t),It(e))}function ny(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),om(e,a)}function ly(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),om(e,a)}function iy(e,t){return tu(e,t)}var cr=null,Pn=null,Xo=!1,fr=!1,Qo=!1,Ya=0;function It(e){e!==Pn&&e.next===null&&(Pn===null?cr=Pn=e:Pn=Pn.next=e),fr=!0,Xo||(Xo=!0,uy())}function Ql(e,t){if(!Qo&&fr){Qo=!0;do for(var a=!1,n=cr;n!==null;){if(e!==0){var l=n.pendingLanes;if(l===0)var i=0;else{var c=n.suspendedLanes,d=n.pingedLanes;i=(1<<31-bt(42|e)+1)-1,i&=l&~(c&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,dm(n,i))}else i=de,i=pi(n,n===Oe?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||cl(n,i)||(a=!0,dm(n,i));n=n.next}while(a);Qo=!1}}function ry(){sm()}function sm(){fr=Xo=!1;var e=0;Ya!==0&&yy()&&(e=Ya);for(var t=gt(),a=null,n=cr;n!==null;){var l=n.next,i=cm(n,t);i===0?(n.next=null,a===null?cr=l:a.next=l,l===null&&(Pn=a)):(a=n,(e!==0||(i&3)!==0)&&(fr=!0)),n=l}$e!==0&&$e!==5||Ql(e),Ya!==0&&(Ya=0)}function cm(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-bt(i),d=1<<c,y=l[c];y===-1?((d&a)===0||(d&n)!==0)&&(l[c]=Dp(d,t)):y<=t&&(e.expiredLanes|=d),i&=~d}if(t=Oe,a=de,a=pi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(Ee===2||Ee===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&au(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||cl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&au(n),iu(a)){case 2:case 8:a=Ps;break;case 32:a=fi;break;case 268435456:a=ec;break;default:a=fi}return n=fm.bind(null,e),a=tu(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&au(n),e.callbackPriority=2,e.callbackNode=null,2}function fm(e,t){if($e!==0&&$e!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(sr()&&e.callbackNode!==a)return null;var n=de;return n=pi(e,e===Oe?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Zd(e,n,t),cm(e,gt()),e.callbackNode!=null&&e.callbackNode===a?fm.bind(null,e):null)}function dm(e,t){if(sr())return null;Zd(e,t,!0)}function uy(){vy(function(){(be&6)!==0?tu(Is,ry):sm()})}function Zo(){if(Ya===0){var e=Ln;e===0&&(e=di,di<<=1,(di&261888)===0&&(di=256)),Ya=e}return Ya}function mm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:vi(""+e)}function hm(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 oy(e,t,a,n,l){if(t==="submit"&&a&&a.stateNode===l){var i=mm((l[ct]||null).action),c=n.submitter;c&&(t=(t=c[ct]||null)?mm(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var d=new ki("action","action",null,n,l);e.push({event:d,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Ya!==0){var y=c?hm(l,c):new FormData(l);fo(a,{pending:!0,data:y,method:l.method,action:i},null,y)}}else typeof i=="function"&&(d.preventDefault(),y=c?hm(l,c):new FormData(l),fo(a,{pending:!0,data:y,method:l.method,action:i},i,y))},currentTarget:l}]})}}for(var Ko=0;Ko<Ru.length;Ko++){var Jo=Ru[Ko],sy=Jo.toLowerCase(),cy=Jo[0].toUpperCase()+Jo.slice(1);Vt(sy,"on"+cy)}Vt(Xc,"onAnimationEnd"),Vt(Qc,"onAnimationIteration"),Vt(Zc,"onAnimationStart"),Vt("dblclick","onDoubleClick"),Vt("focusin","onFocus"),Vt("focusout","onBlur"),Vt(T_,"onTransitionRun"),Vt(j_,"onTransitionStart"),Vt(R_,"onTransitionCancel"),Vt(Kc,"onTransitionEnd"),En("onMouseEnter",["mouseout","mouseover"]),En("onMouseLeave",["mouseout","mouseover"]),En("onPointerEnter",["pointerout","pointerover"]),En("onPointerLeave",["pointerout","pointerover"]),en("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),en("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),en("onBeforeInput",["compositionend","keypress","textInput","paste"]),en("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),en("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),en("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zl="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(" "),fy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zl));function pm(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],l=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var c=n.length-1;0<=c;c--){var d=n[c],y=d.instance,T=d.currentTarget;if(d=d.listener,y!==i&&l.isPropagationStopped())break e;i=d,l.currentTarget=T;try{i(l)}catch(z){Ti(z)}l.currentTarget=null,i=y}else for(c=0;c<n.length;c++){if(d=n[c],y=d.instance,T=d.currentTarget,d=d.listener,y!==i&&l.isPropagationStopped())break e;i=d,l.currentTarget=T;try{i(l)}catch(z){Ti(z)}l.currentTarget=null,i=y}}}}function fe(e,t){var a=t[ru];a===void 0&&(a=t[ru]=new Set);var n=e+"__bubble";a.has(n)||(_m(t,e,2,!1),a.add(n))}function $o(e,t,a){var n=0;t&&(n|=4),_m(a,e,n,t)}var dr="_reactListening"+Math.random().toString(36).slice(2);function Wo(e){if(!e[dr]){e[dr]=!0,oc.forEach(function(a){a!=="selectionchange"&&(fy.has(a)||$o(a,!1,e),$o(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[dr]||(t[dr]=!0,$o("selectionchange",!1,t))}}function _m(e,t,a,n){switch(Qm(t)){case 2:var l=Hy;break;case 8:l=By;break;default:l=fs}a=l.bind(null,t,a,e),l=void 0,!pu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),n?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function Fo(e,t,a,n,l){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var c=n.tag;if(c===3||c===4){var d=n.stateNode.containerInfo;if(d===l)break;if(c===4)for(c=n.return;c!==null;){var y=c.tag;if((y===3||y===4)&&c.stateNode.containerInfo===l)return;c=c.return}for(;d!==null;){if(c=xn(d),c===null)return;if(y=c.tag,y===5||y===6||y===26||y===27){n=i=c;continue e}d=d.parentNode}}n=n.return}bc(function(){var T=i,z=mu(a),D=[];e:{var R=Jc.get(e);if(R!==void 0){var A=ki,Q=e;switch(e){case"keypress":if(xi(a)===0)break e;case"keydown":case"keyup":A=l_;break;case"focusin":Q="focus",A=vu;break;case"focusout":Q="blur",A=vu;break;case"beforeblur":case"afterblur":A=vu;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":A=kc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Zp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=u_;break;case Xc:case Qc:case Zc:A=$p;break;case Kc:A=s_;break;case"scroll":case"scrollend":A=Xp;break;case"wheel":A=f_;break;case"copy":case"cut":case"paste":A=Fp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=wc;break;case"toggle":case"beforetoggle":A=m_}var P=(t&4)!==0,Ae=!P&&(e==="scroll"||e==="scrollend"),E=P?R!==null?R+"Capture":null:R;P=[];for(var b=T,w;b!==null;){var C=b;if(w=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||w===null||E===null||(C=hl(b,E),C!=null&&P.push(Kl(b,C,w))),Ae)break;b=b.return}0<P.length&&(R=new A(R,Q,null,a,z),D.push({event:R,listeners:P}))}}if((t&7)===0){e:{if(R=e==="mouseover"||e==="pointerover",A=e==="mouseout"||e==="pointerout",R&&a!==du&&(Q=a.relatedTarget||a.fromElement)&&(xn(Q)||Q[bn]))break e;if((A||R)&&(R=z.window===z?z:(R=z.ownerDocument)?R.defaultView||R.parentWindow:window,A?(Q=a.relatedTarget||a.toElement,A=T,Q=Q?xn(Q):null,Q!==null&&(Ae=h(Q),P=Q.tag,Q!==Ae||P!==5&&P!==27&&P!==6)&&(Q=null)):(A=null,Q=T),A!==Q)){if(P=kc,C="onMouseLeave",E="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(P=wc,C="onPointerLeave",E="onPointerEnter",b="pointer"),Ae=A==null?R:ml(A),w=Q==null?R:ml(Q),R=new P(C,b+"leave",A,a,z),R.target=Ae,R.relatedTarget=w,C=null,xn(z)===T&&(P=new P(E,b+"enter",Q,a,z),P.target=w,P.relatedTarget=Ae,C=P),Ae=C,A&&Q)t:{for(P=dy,E=A,b=Q,w=0,C=E;C;C=P(C))w++;C=0;for(var F=b;F;F=P(F))C++;for(;0<w-C;)E=P(E),w--;for(;0<C-w;)b=P(b),C--;for(;w--;){if(E===b||b!==null&&E===b.alternate){P=E;break t}E=P(E),b=P(b)}P=null}else P=null;A!==null&&ym(D,R,A,P,!1),Q!==null&&Ae!==null&&ym(D,Ae,Q,P,!0)}}e:{if(R=T?ml(T):window,A=R.nodeName&&R.nodeName.toLowerCase(),A==="select"||A==="input"&&R.type==="file")var ge=Dc;else if(Oc(R))if(Nc)ge=k_;else{ge=x_;var K=b_}else A=R.nodeName,!A||A.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?T&&fu(T.elementType)&&(ge=Dc):ge=S_;if(ge&&(ge=ge(e,T))){Cc(D,ge,a,z);break e}K&&K(e,R,T),e==="focusout"&&T&&R.type==="number"&&T.memoizedProps.value!=null&&cu(R,"number",R.value)}switch(K=T?ml(T):window,e){case"focusin":(Oc(K)||K.contentEditable==="true")&&(zn=K,wu=T,Sl=null);break;case"focusout":Sl=wu=zn=null;break;case"mousedown":Tu=!0;break;case"contextmenu":case"mouseup":case"dragend":Tu=!1,Gc(D,a,z);break;case"selectionchange":if(w_)break;case"keydown":case"keyup":Gc(D,a,z)}var re;if(xu)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else An?Ac(e,a)&&(me="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(me="onCompositionStart");me&&(Tc&&a.locale!=="ko"&&(An||me!=="onCompositionStart"?me==="onCompositionEnd"&&An&&(re=xc()):(wa=z,_u="value"in wa?wa.value:wa.textContent,An=!0)),K=mr(T,me),0<K.length&&(me=new Ec(me,e,null,a,z),D.push({event:me,listeners:K}),re?me.data=re:(re=zc(a),re!==null&&(me.data=re)))),(re=p_?__(e,a):y_(e,a))&&(me=mr(T,"onBeforeInput"),0<me.length&&(K=new Ec("onBeforeInput","beforeinput",null,a,z),D.push({event:K,listeners:me}),K.data=re)),oy(D,e,T,a,z)}pm(D,t)})}function Kl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function mr(e,t){for(var a=t+"Capture",n=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=hl(e,a),l!=null&&n.unshift(Kl(e,l,i)),l=hl(e,t),l!=null&&n.push(Kl(e,l,i))),e.tag===3)return n;e=e.return}return[]}function dy(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ym(e,t,a,n,l){for(var i=t._reactName,c=[];a!==null&&a!==n;){var d=a,y=d.alternate,T=d.stateNode;if(d=d.tag,y!==null&&y===n)break;d!==5&&d!==26&&d!==27||T===null||(y=T,l?(T=hl(a,i),T!=null&&c.unshift(Kl(a,T,y))):l||(T=hl(a,i),T!=null&&c.push(Kl(a,T,y)))),a=a.return}c.length!==0&&e.push({event:t,listeners:c})}var my=/\r\n?/g,hy=/\u0000|\uFFFD/g;function gm(e){return(typeof e=="string"?e:""+e).replace(my,`
|
|
50
|
-
`).replace(hy,"")}function vm(e,t){return t=gm(t),gm(e)===t}function Re(e,t,a,n,l,i){switch(a){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||Tn(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&Tn(e,""+n);break;case"className":yi(e,"class",n);break;case"tabIndex":yi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":yi(e,a,n);break;case"style":gc(e,n,i);break;case"data":if(t!=="object"){yi(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=vi(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="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"&&Re(e,t,"name",l.name,l,null),Re(e,t,"formEncType",l.formEncType,l,null),Re(e,t,"formMethod",l.formMethod,l,null),Re(e,t,"formTarget",l.formTarget,l,null)):(Re(e,t,"encType",l.encType,l,null),Re(e,t,"method",l.method,l,null),Re(e,t,"target",l.target,l,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=vi(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=na);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=vi(""+n),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":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""+n):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":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":fe("beforetoggle",e),fe("toggle",e),_i(e,"popover",n);break;case"xlinkActuate":aa(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":aa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":aa(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":aa(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":aa(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":aa(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":aa(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":aa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":aa(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":_i(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Gp.get(a)||a,_i(e,a,n))}}function Io(e,t,a,n,l,i){switch(a){case"style":gc(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof n=="string"?Tn(e,n):(typeof n=="number"||typeof n=="bigint")&&Tn(e,""+n);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=na);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!sc.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),t=a.slice(2,l?a.length-7:void 0),i=e[ct]||null,i=i!=null?i[a]:null,typeof i=="function"&&e.removeEventListener(t,i,l),typeof n=="function")){typeof i!="function"&&i!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,l);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):_i(e,a,n)}}}function lt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",e),fe("load",e);var n=!1,l=!1,i;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];if(c!=null)switch(i){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Re(e,t,i,c,a,null)}}l&&Re(e,t,"srcSet",a.srcSet,a,null),n&&Re(e,t,"src",a.src,a,null);return;case"input":fe("invalid",e);var d=i=c=l=null,y=null,T=null;for(n in a)if(a.hasOwnProperty(n)){var z=a[n];if(z!=null)switch(n){case"name":l=z;break;case"type":c=z;break;case"checked":y=z;break;case"defaultChecked":T=z;break;case"value":i=z;break;case"defaultValue":d=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,t));break;default:Re(e,t,n,z,a,null)}}hc(e,i,d,y,T,c,l,!1);return;case"select":fe("invalid",e),n=c=i=null;for(l in a)if(a.hasOwnProperty(l)&&(d=a[l],d!=null))switch(l){case"value":i=d;break;case"defaultValue":c=d;break;case"multiple":n=d;default:Re(e,t,l,d,a,null)}t=i,a=c,e.multiple=!!n,t!=null?wn(e,!!n,t,!1):a!=null&&wn(e,!!n,a,!0);return;case"textarea":fe("invalid",e),i=l=n=null;for(c in a)if(a.hasOwnProperty(c)&&(d=a[c],d!=null))switch(c){case"value":n=d;break;case"defaultValue":l=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(o(91));break;default:Re(e,t,c,d,a,null)}_c(e,n,l,i);return;case"option":for(y in a)if(a.hasOwnProperty(y)&&(n=a[y],n!=null))switch(y){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Re(e,t,y,n,a,null)}return;case"dialog":fe("beforetoggle",e),fe("toggle",e),fe("cancel",e),fe("close",e);break;case"iframe":case"object":fe("load",e);break;case"video":case"audio":for(n=0;n<Zl.length;n++)fe(Zl[n],e);break;case"image":fe("error",e),fe("load",e);break;case"details":fe("toggle",e);break;case"embed":case"source":case"link":fe("error",e),fe("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(T in a)if(a.hasOwnProperty(T)&&(n=a[T],n!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Re(e,t,T,n,a,null)}return;default:if(fu(t)){for(z in a)a.hasOwnProperty(z)&&(n=a[z],n!==void 0&&Io(e,t,z,n,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(n=a[d],n!=null&&Re(e,t,d,n,a,null))}function py(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,i=null,c=null,d=null,y=null,T=null,z=null;for(A in a){var D=a[A];if(a.hasOwnProperty(A)&&D!=null)switch(A){case"checked":break;case"value":break;case"defaultValue":y=D;default:n.hasOwnProperty(A)||Re(e,t,A,null,n,D)}}for(var R in n){var A=n[R];if(D=a[R],n.hasOwnProperty(R)&&(A!=null||D!=null))switch(R){case"type":i=A;break;case"name":l=A;break;case"checked":T=A;break;case"defaultChecked":z=A;break;case"value":c=A;break;case"defaultValue":d=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:A!==D&&Re(e,t,R,A,n,D)}}su(e,c,d,y,T,z,i,l);return;case"select":A=c=d=R=null;for(i in a)if(y=a[i],a.hasOwnProperty(i)&&y!=null)switch(i){case"value":break;case"multiple":A=y;default:n.hasOwnProperty(i)||Re(e,t,i,null,n,y)}for(l in n)if(i=n[l],y=a[l],n.hasOwnProperty(l)&&(i!=null||y!=null))switch(l){case"value":R=i;break;case"defaultValue":d=i;break;case"multiple":c=i;default:i!==y&&Re(e,t,l,i,n,y)}t=d,a=c,n=A,R!=null?wn(e,!!a,R,!1):!!n!=!!a&&(t!=null?wn(e,!!a,t,!0):wn(e,!!a,a?[]:"",!1));return;case"textarea":A=R=null;for(d in a)if(l=a[d],a.hasOwnProperty(d)&&l!=null&&!n.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Re(e,t,d,null,n,l)}for(c in n)if(l=n[c],i=a[c],n.hasOwnProperty(c)&&(l!=null||i!=null))switch(c){case"value":R=l;break;case"defaultValue":A=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(o(91));break;default:l!==i&&Re(e,t,c,l,n,i)}pc(e,R,A);return;case"option":for(var Q in a)if(R=a[Q],a.hasOwnProperty(Q)&&R!=null&&!n.hasOwnProperty(Q))switch(Q){case"selected":e.selected=!1;break;default:Re(e,t,Q,null,n,R)}for(y in n)if(R=n[y],A=a[y],n.hasOwnProperty(y)&&R!==A&&(R!=null||A!=null))switch(y){case"selected":e.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Re(e,t,y,R,n,A)}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 P in a)R=a[P],a.hasOwnProperty(P)&&R!=null&&!n.hasOwnProperty(P)&&Re(e,t,P,null,n,R);for(T in n)if(R=n[T],A=a[T],n.hasOwnProperty(T)&&R!==A&&(R!=null||A!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,t));break;default:Re(e,t,T,R,n,A)}return;default:if(fu(t)){for(var Ae in a)R=a[Ae],a.hasOwnProperty(Ae)&&R!==void 0&&!n.hasOwnProperty(Ae)&&Io(e,t,Ae,void 0,n,R);for(z in n)R=n[z],A=a[z],!n.hasOwnProperty(z)||R===A||R===void 0&&A===void 0||Io(e,t,z,R,n,A);return}}for(var E in a)R=a[E],a.hasOwnProperty(E)&&R!=null&&!n.hasOwnProperty(E)&&Re(e,t,E,null,n,R);for(D in n)R=n[D],A=a[D],!n.hasOwnProperty(D)||R===A||R==null&&A==null||Re(e,t,D,R,n,A)}function bm(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _y(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var l=a[n],i=l.transferSize,c=l.initiatorType,d=l.duration;if(i&&d&&bm(c)){for(c=0,d=l.responseEnd,n+=1;n<a.length;n++){var y=a[n],T=y.startTime;if(T>d)break;var z=y.transferSize,D=y.initiatorType;z&&bm(D)&&(y=y.responseEnd,c+=z*(y<d?1:(d-T)/(y-T)))}if(--n,t+=8*(i+c)/(l.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 Po=null,es=null;function hr(e){return e.nodeType===9?e:e.ownerDocument}function xm(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 Sm(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 ts(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 as=null;function yy(){var e=window.event;return e&&e.type==="popstate"?e===as?!1:(as=e,!0):(as=null,!1)}var km=typeof setTimeout=="function"?setTimeout:void 0,gy=typeof clearTimeout=="function"?clearTimeout:void 0,Em=typeof Promise=="function"?Promise:void 0,vy=typeof queueMicrotask=="function"?queueMicrotask:typeof Em<"u"?function(e){return Em.resolve(null).then(e).catch(by)}:km;function by(e){setTimeout(function(){throw e})}function Ga(e){return e==="head"}function wm(e,t){var a=t,n=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&l.nodeType===8)if(a=l.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(l),nl(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Jl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Jl(a);for(var i=a.firstChild;i;){var c=i.nextSibling,d=i.nodeName;i[dl]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=c}}else a==="body"&&Jl(e.ownerDocument.body);a=l}while(a);nl(t)}function Tm(e,t){var a=e;e=0;do{var n=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||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function ns(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":ns(a),uu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function xy(e,t,a,n){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[dl])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!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Lt(e.nextSibling),e===null)break}return null}function Sy(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Lt(e.nextSibling),e===null))return null;return e}function jm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Lt(e.nextSibling),e===null))return null;return e}function ls(e){return e.data==="$?"||e.data==="$~"}function is(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ky(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Lt(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 rs=null;function Rm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Lt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Am(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 zm(e,t,a){switch(t=hr(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 Jl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);uu(e)}var Ht=new Map,Om=new Set;function pr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var va=Y.d;Y.d={f:Ey,r:wy,D:Ty,C:jy,L:Ry,m:Ay,X:Oy,S:zy,M:Cy};function Ey(){var e=va.f(),t=rr();return e||t}function wy(e){var t=Sn(e);t!==null&&t.tag===5&&t.type==="form"?Jf(t):va.r(e)}var el=typeof document>"u"?null:document;function Cm(e,t,a){var n=el;if(n&&typeof t=="string"&&t){var l=Ot(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),Om.has(l)||(Om.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),lt(t,"link",e),Fe(t),n.head.appendChild(t)))}}function Ty(e){va.D(e),Cm("dns-prefetch",e,null)}function jy(e,t){va.C(e,t),Cm("preconnect",e,t)}function Ry(e,t,a){va.L(e,t,a);var n=el;if(n&&e&&t){var l='link[rel="preload"][as="'+Ot(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+Ot(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+Ot(a.imageSizes)+'"]')):l+='[href="'+Ot(e)+'"]';var i=l;switch(t){case"style":i=tl(e);break;case"script":i=al(e)}Ht.has(i)||(e=k({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ht.set(i,e),n.querySelector(l)!==null||t==="style"&&n.querySelector($l(i))||t==="script"&&n.querySelector(Wl(i))||(t=n.createElement("link"),lt(t,"link",e),Fe(t),n.head.appendChild(t)))}}function Ay(e,t){va.m(e,t);var a=el;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+Ot(n)+'"][href="'+Ot(e)+'"]',i=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=al(e)}if(!Ht.has(i)&&(e=k({rel:"modulepreload",href:e},t),Ht.set(i,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Wl(i)))return}n=a.createElement("link"),lt(n,"link",e),Fe(n),a.head.appendChild(n)}}}function zy(e,t,a){va.S(e,t,a);var n=el;if(n&&e){var l=kn(n).hoistableStyles,i=tl(e);t=t||"default";var c=l.get(i);if(!c){var d={loading:0,preload:null};if(c=n.querySelector($l(i)))d.loading=5;else{e=k({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ht.get(i))&&us(e,a);var y=c=n.createElement("link");Fe(y),lt(y,"link",e),y._p=new Promise(function(T,z){y.onload=T,y.onerror=z}),y.addEventListener("load",function(){d.loading|=1}),y.addEventListener("error",function(){d.loading|=2}),d.loading|=4,_r(c,t,n)}c={type:"stylesheet",instance:c,count:1,state:d},l.set(i,c)}}}function Oy(e,t){va.X(e,t);var a=el;if(a&&e){var n=kn(a).hoistableScripts,l=al(e),i=n.get(l);i||(i=a.querySelector(Wl(l)),i||(e=k({src:e,async:!0},t),(t=Ht.get(l))&&os(e,t),i=a.createElement("script"),Fe(i),lt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function Cy(e,t){va.M(e,t);var a=el;if(a&&e){var n=kn(a).hoistableScripts,l=al(e),i=n.get(l);i||(i=a.querySelector(Wl(l)),i||(e=k({src:e,async:!0,type:"module"},t),(t=Ht.get(l))&&os(e,t),i=a.createElement("script"),Fe(i),lt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function Dm(e,t,a,n){var l=(l=se.current)?pr(l):null;if(!l)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=tl(a.href),a=kn(l).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=tl(a.href);var i=kn(l).hoistableStyles,c=i.get(e);if(c||(l=l.ownerDocument||l,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,c),(i=l.querySelector($l(e)))&&!i._p&&(c.instance=i,c.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||Dy(l,e,a,c.state))),t&&n===null)throw Error(o(528,""));return c}if(t&&n!==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=al(a),a=kn(l).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function tl(e){return'href="'+Ot(e)+'"'}function $l(e){return'link[rel="stylesheet"]['+e+"]"}function Nm(e){return k({},e,{"data-precedence":e.precedence,precedence:null})}function Dy(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),lt(t,"link",a),Fe(t),e.head.appendChild(t))}function al(e){return'[src="'+Ot(e)+'"]'}function Wl(e){return"script[async]"+e}function Mm(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Ot(a.href)+'"]');if(n)return t.instance=n,Fe(n),n;var l=k({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Fe(n),lt(n,"style",l),_r(n,a.precedence,e),t.instance=n;case"stylesheet":l=tl(a.href);var i=e.querySelector($l(l));if(i)return t.state.loading|=4,t.instance=i,Fe(i),i;n=Nm(a),(l=Ht.get(l))&&us(n,l),i=(e.ownerDocument||e).createElement("link"),Fe(i);var c=i;return c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),lt(i,"link",n),t.state.loading|=4,_r(i,a.precedence,e),t.instance=i;case"script":return i=al(a.src),(l=e.querySelector(Wl(i)))?(t.instance=l,Fe(l),l):(n=a,(l=Ht.get(i))&&(n=k({},a),os(n,l)),e=e.ownerDocument||e,l=e.createElement("script"),Fe(l),lt(l,"link",n),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,_r(n,a.precedence,e));return t.instance}function _r(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,i=l,c=0;c<n.length;c++){var d=n[c];if(d.dataset.precedence===t)i=d;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function us(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function os(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var yr=null;function Um(e,t,a){if(yr===null){var n=new Map,l=yr=new Map;l.set(a,n)}else l=yr,n=l.get(a),n||(n=new Map,l.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),l=0;l<a.length;l++){var i=a[l];if(!(i[dl]||i[et]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var c=i.getAttribute(t)||"";c=e+c;var d=n.get(c);d?d.push(i):n.set(c,[i])}}return n}function qm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Ny(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 Lm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function My(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=tl(n.href),i=t.querySelector($l(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=gr.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,Fe(i);return}i=t.ownerDocument||t,n=Nm(n),(l=Ht.get(l))&&us(n,l),i=i.createElement("link"),Fe(i);var c=i;c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),lt(i,"link",n),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=gr.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var ss=0;function Uy(e,t){return e.stylesheets&&e.count===0&&br(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&br(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&ss===0&&(ss=62500*_y());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&br(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>ss?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function gr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)br(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var vr=null;function br(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vr=new Map,t.forEach(qy,e),vr=null,gr.call(e))}function qy(e,t){if(!(t.state.loading&4)){var a=vr.get(e);if(a)var n=a.get(null);else{a=new Map,vr.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var c=l[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(a.set(c.dataset.precedence,c),n=c)}n&&a.set(null,n)}l=t.instance,c=l.getAttribute("data-precedence"),i=a.get(c)||n,i===n&&a.set(null,l),a.set(c,l),this.count++,n=gr.bind(this),l.addEventListener("load",n),l.addEventListener("error",n),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var Fl={$$typeof:J,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function Ly(e,t,a,n,l,i,c,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=nu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nu(0),this.hiddenUpdates=nu(null),this.identifierPrefix=n,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function Hm(e,t,a,n,l,i,c,d,y,T,z,D){return e=new Ly(e,t,a,c,y,T,z,D,d),t=1,i===!0&&(t|=24),i=St(3,null,null,t),e.current=i,i.stateNode=e,t=Yu(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:a,cache:t},Qu(i),e}function Bm(e){return e?(e=Dn,e):Dn}function Ym(e,t,a,n,l,i){l=Bm(l),n.context===null?n.context=l:n.pendingContext=l,n=Oa(t),n.payload={element:a},i=i===void 0?null:i,i!==null&&(n.callback=i),a=Ca(e,n,t),a!==null&&(_t(a,e,t),Al(a,e,t))}function Gm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function cs(e,t){Gm(e,t),(e=e.alternate)&&Gm(e,t)}function Vm(e){if(e.tag===13||e.tag===31){var t=ln(e,67108864);t!==null&&_t(t,e,67108864),cs(e,67108864)}}function Xm(e){if(e.tag===13||e.tag===31){var t=jt();t=lu(t);var a=ln(e,t);a!==null&&_t(a,e,t),cs(e,t)}}var xr=!0;function Hy(e,t,a,n){var l=O.T;O.T=null;var i=Y.p;try{Y.p=2,fs(e,t,a,n)}finally{Y.p=i,O.T=l}}function By(e,t,a,n){var l=O.T;O.T=null;var i=Y.p;try{Y.p=8,fs(e,t,a,n)}finally{Y.p=i,O.T=l}}function fs(e,t,a,n){if(xr){var l=ds(n);if(l===null)Fo(e,t,n,Sr,a),Zm(e,n);else if(Gy(l,e,t,a,n))n.stopPropagation();else if(Zm(e,n),t&4&&-1<Yy.indexOf(e)){for(;l!==null;){var i=Sn(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=Pa(i.pendingLanes);if(c!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var y=1<<31-bt(c);d.entanglements[1]|=y,c&=~y}It(i),(be&6)===0&&(lr=gt()+500,Ql(0))}}break;case 31:case 13:d=ln(i,2),d!==null&&_t(d,i,2),rr(),cs(i,2)}if(i=ds(n),i===null&&Fo(e,t,n,Sr,a),i===l)break;l=i}l!==null&&n.stopPropagation()}else Fo(e,t,n,null,a)}}function ds(e){return e=mu(e),ms(e)}var Sr=null;function ms(e){if(Sr=null,e=xn(e),e!==null){var t=h(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=_(t),e!==null)return e;e=null}else if(a===31){if(e=x(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 Sr=e,null}function Qm(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(Tp()){case Is:return 2;case Ps:return 8;case fi:case jp:return 32;case ec:return 268435456;default:return 32}default:return 32}}var hs=!1,Va=null,Xa=null,Qa=null,Il=new Map,Pl=new Map,Za=[],Yy="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 Zm(e,t){switch(e){case"focusin":case"focusout":Va=null;break;case"dragenter":case"dragleave":Xa=null;break;case"mouseover":case"mouseout":Qa=null;break;case"pointerover":case"pointerout":Il.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pl.delete(t.pointerId)}}function ei(e,t,a,n,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:i,targetContainers:[l]},t!==null&&(t=Sn(t),t!==null&&Vm(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Gy(e,t,a,n,l){switch(t){case"focusin":return Va=ei(Va,e,t,a,n,l),!0;case"dragenter":return Xa=ei(Xa,e,t,a,n,l),!0;case"mouseover":return Qa=ei(Qa,e,t,a,n,l),!0;case"pointerover":var i=l.pointerId;return Il.set(i,ei(Il.get(i)||null,e,t,a,n,l)),!0;case"gotpointercapture":return i=l.pointerId,Pl.set(i,ei(Pl.get(i)||null,e,t,a,n,l)),!0}return!1}function Km(e){var t=xn(e.target);if(t!==null){var a=h(t);if(a!==null){if(t=a.tag,t===13){if(t=_(a),t!==null){e.blockedOn=t,rc(e.priority,function(){Xm(a)});return}}else if(t===31){if(t=x(a),t!==null){e.blockedOn=t,rc(e.priority,function(){Xm(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 kr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=ds(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);du=n,a.target.dispatchEvent(n),du=null}else return t=Sn(a),t!==null&&Vm(t),e.blockedOn=a,!1;t.shift()}return!0}function Jm(e,t,a){kr(e)&&a.delete(t)}function Vy(){hs=!1,Va!==null&&kr(Va)&&(Va=null),Xa!==null&&kr(Xa)&&(Xa=null),Qa!==null&&kr(Qa)&&(Qa=null),Il.forEach(Jm),Pl.forEach(Jm)}function Er(e,t){e.blockedOn===t&&(e.blockedOn=null,hs||(hs=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Vy)))}var wr=null;function $m(e){wr!==e&&(wr=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){wr===e&&(wr=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],l=e[t+2];if(typeof n!="function"){if(ms(n||a)===null)continue;break}var i=Sn(a);i!==null&&(e.splice(t,3),t-=3,fo(i,{pending:!0,data:l,method:a.method,action:n},n,l))}}))}function nl(e){function t(y){return Er(y,e)}Va!==null&&Er(Va,e),Xa!==null&&Er(Xa,e),Qa!==null&&Er(Qa,e),Il.forEach(t),Pl.forEach(t);for(var a=0;a<Za.length;a++){var n=Za[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Za.length&&(a=Za[0],a.blockedOn===null);)Km(a),a.blockedOn===null&&Za.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var l=a[n],i=a[n+1],c=l[ct]||null;if(typeof i=="function")c||$m(a);else if(c){var d=null;if(i&&i.hasAttribute("formAction")){if(l=i,c=i[ct]||null)d=c.formAction;else if(ms(l)!==null)continue}else d=c.action;typeof d=="function"?a[n+1]=d:(a.splice(n,3),n-=3),$m(a)}}}function Wm(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return l=c})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),n||setTimeout(a,20)}function a(){if(!n&&!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 n=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function ps(e){this._internalRoot=e}Tr.prototype.render=ps.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,n=jt();Ym(a,n,e,t,null,null)},Tr.prototype.unmount=ps.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ym(e.current,2,null,e,null,null),rr(),t[bn]=null}};function Tr(e){this._internalRoot=e}Tr.prototype.unstable_scheduleHydration=function(e){if(e){var t=ic();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Za.length&&t!==0&&t<Za[a].priority;a++);Za.splice(a,0,e),a===0&&Km(e)}};var Fm=u.version;if(Fm!=="19.2.4")throw Error(o(527,Fm,"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=p(t),e=e!==null?j(e):null,e=e===null?null:e.stateNode,e};var Xy={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var jr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!jr.isDisabled&&jr.supportsFiber)try{sl=jr.inject(Xy),vt=jr}catch{}}return ai.createRoot=function(e,t){if(!f(e))throw Error(o(299));var a=!1,n="",l=ld,i=id,c=rd;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=Hm(e,1,!1,null,null,a,n,null,l,i,c,Wm),e[bn]=t.current,Wo(e),new ps(t)},ai.hydrateRoot=function(e,t,a){if(!f(e))throw Error(o(299));var n=!1,l="",i=ld,c=id,d=rd,y=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(c=a.onCaughtError),a.onRecoverableError!==void 0&&(d=a.onRecoverableError),a.formState!==void 0&&(y=a.formState)),t=Hm(e,1,!0,t,a??null,n,l,y,i,c,d,Wm),t.context=Bm(null),a=t.current,n=jt(),n=lu(n),l=Oa(n),l.callback=null,Ca(a,l,n),a=n,t.current.lanes=a,fl(t,a),It(t),e[bn]=t.current,Wo(e),new Tr(t)},ai.version="19.2.4",ai}var sh;function ng(){if(sh)return vs.exports;sh=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(u){console.error(u)}}return r(),vs.exports=ag(),vs.exports}var lg=ng();const ig="modulepreload",rg=function(r){return"/"+r},ch={},ne=function(u,s,o){let f=Promise.resolve();if(s&&s.length>0){let _=function(p){return Promise.all(p.map(j=>Promise.resolve(j).then(k=>({status:"fulfilled",value:k}),k=>({status:"rejected",reason:k}))))};document.getElementsByTagName("link");const x=document.querySelector("meta[property=csp-nonce]"),v=(x==null?void 0:x.nonce)||(x==null?void 0:x.getAttribute("nonce"));f=_(s.map(p=>{if(p=rg(p),p in ch)return;ch[p]=!0;const j=p.endsWith(".css"),k=j?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${k}`))return;const M=document.createElement("link");if(M.rel=j?"stylesheet":ig,j||(M.as="script"),M.crossOrigin="",M.href=p,v&&M.setAttribute("nonce",v),document.head.appendChild(M),j)return new Promise((V,B)=>{M.addEventListener("load",V),M.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${p}`)))})}))}function h(_){const x=new Event("vite:preloadError",{cancelable:!0});if(x.payload=_,window.dispatchEvent(x),!x.defaultPrevented)throw _}return f.then(_=>{for(const x of _||[])x.status==="rejected"&&h(x.reason);return u().catch(h)})};/**
|
|
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 fh="popstate";function dh(r){return typeof r=="object"&&r!=null&&"pathname"in r&&"search"in r&&"hash"in r&&"state"in r&&"key"in r}function ug(r={}){function u(o,f){var p;let h=(p=f.state)==null?void 0:p.masked,{pathname:_,search:x,hash:v}=h||o.location;return zs("",{pathname:_,search:x,hash:v},f.state&&f.state.usr||null,f.state&&f.state.key||"default",h?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function s(o,f){return typeof f=="string"?f:ui(f)}return sg(u,s,null,r)}function Ue(r,u){if(r===!1||r===null||typeof r>"u")throw new Error(u)}function Yt(r,u){if(!r){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function og(){return Math.random().toString(36).substring(2,10)}function mh(r,u){return{usr:r.state,key:r.key,idx:u,masked:r.unstable_mask?{pathname:r.pathname,search:r.search,hash:r.hash}:void 0}}function zs(r,u,s=null,o,f){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof u=="string"?il(u):u,state:s,key:u&&u.key||o||og(),unstable_mask:f}}function ui({pathname:r="/",search:u="",hash:s=""}){return u&&u!=="?"&&(r+=u.charAt(0)==="?"?u:"?"+u),s&&s!=="#"&&(r+=s.charAt(0)==="#"?s:"#"+s),r}function il(r){let u={};if(r){let s=r.indexOf("#");s>=0&&(u.hash=r.substring(s),r=r.substring(0,s));let o=r.indexOf("?");o>=0&&(u.search=r.substring(o),r=r.substring(0,o)),r&&(u.pathname=r)}return u}function sg(r,u,s,o={}){let{window:f=document.defaultView,v5Compat:h=!1}=o,_=f.history,x="POP",v=null,p=j();p==null&&(p=0,_.replaceState({..._.state,idx:p},""));function j(){return(_.state||{idx:null}).idx}function k(){x="POP";let L=j(),H=L==null?null:L-p;p=L,v&&v({action:x,location:q.location,delta:H})}function M(L,H){x="PUSH";let I=dh(L)?L:zs(q.location,L,H);p=j()+1;let J=mh(I,p),_e=q.createHref(I.unstable_mask||I);try{_.pushState(J,"",_e)}catch(ye){if(ye instanceof DOMException&&ye.name==="DataCloneError")throw ye;f.location.assign(_e)}h&&v&&v({action:x,location:q.location,delta:1})}function V(L,H){x="REPLACE";let I=dh(L)?L:zs(q.location,L,H);p=j();let J=mh(I,p),_e=q.createHref(I.unstable_mask||I);_.replaceState(J,"",_e),h&&v&&v({action:x,location:q.location,delta:0})}function B(L){return cg(L)}let q={get action(){return x},get location(){return r(f,_)},listen(L){if(v)throw new Error("A history only accepts one active listener");return f.addEventListener(fh,k),v=L,()=>{f.removeEventListener(fh,k),v=null}},createHref(L){return u(f,L)},createURL:B,encodeLocation(L){let H=B(L);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:M,replace:V,go(L){return _.go(L)}};return q}function cg(r,u=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Ue(s,"No window.location.(origin|href) available to create URL");let o=typeof r=="string"?r:ui(r);return o=o.replace(/ $/,"%20"),!u&&o.startsWith("//")&&(o=s+o),new URL(o,s)}function Oh(r,u,s="/"){return fg(r,u,s,!1)}function fg(r,u,s,o){let f=typeof u=="string"?il(u):u,h=Sa(f.pathname||"/",s);if(h==null)return null;let _=Ch(r);dg(_);let x=null;for(let v=0;x==null&&v<_.length;++v){let p=kg(h);x=xg(_[v],p,o)}return x}function Ch(r,u=[],s=[],o="",f=!1){let h=(_,x,v=f,p)=>{let j={relativePath:p===void 0?_.path||"":p,caseSensitive:_.caseSensitive===!0,childrenIndex:x,route:_};if(j.relativePath.startsWith("/")){if(!j.relativePath.startsWith(o)&&v)return;Ue(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 k=ta([o,j.relativePath]),M=s.concat(j);_.children&&_.children.length>0&&(Ue(_.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${k}".`),Ch(_.children,u,M,k,v)),!(_.path==null&&!_.index)&&u.push({path:k,score:vg(k,_.index),routesMeta:M})};return r.forEach((_,x)=>{var v;if(_.path===""||!((v=_.path)!=null&&v.includes("?")))h(_,x);else for(let p of Dh(_.path))h(_,x,!0,p)}),u}function Dh(r){let u=r.split("/");if(u.length===0)return[];let[s,...o]=u,f=s.endsWith("?"),h=s.replace(/\?$/,"");if(o.length===0)return f?[h,""]:[h];let _=Dh(o.join("/")),x=[];return x.push(..._.map(v=>v===""?h:[h,v].join("/"))),f&&x.push(..._),x.map(v=>r.startsWith("/")&&v===""?"/":v)}function dg(r){r.sort((u,s)=>u.score!==s.score?s.score-u.score:bg(u.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}var mg=/^:[\w-]+$/,hg=3,pg=2,_g=1,yg=10,gg=-2,hh=r=>r==="*";function vg(r,u){let s=r.split("/"),o=s.length;return s.some(hh)&&(o+=gg),u&&(o+=pg),s.filter(f=>!hh(f)).reduce((f,h)=>f+(mg.test(h)?hg:h===""?_g:yg),o)}function bg(r,u){return r.length===u.length&&r.slice(0,-1).every((o,f)=>o===u[f])?r[r.length-1]-u[u.length-1]:0}function xg(r,u,s=!1){let{routesMeta:o}=r,f={},h="/",_=[];for(let x=0;x<o.length;++x){let v=o[x],p=x===o.length-1,j=h==="/"?u:u.slice(h.length)||"/",k=Xr({path:v.relativePath,caseSensitive:v.caseSensitive,end:p},j),M=v.route;if(!k&&p&&s&&!o[o.length-1].route.index&&(k=Xr({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},j)),!k)return null;Object.assign(f,k.params),_.push({params:f,pathname:ta([h,k.pathname]),pathnameBase:jg(ta([h,k.pathnameBase])),route:M}),k.pathnameBase!=="/"&&(h=ta([h,k.pathnameBase]))}return _}function Xr(r,u){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,o]=Sg(r.path,r.caseSensitive,r.end),f=u.match(s);if(!f)return null;let h=f[0],_=h.replace(/(.)\/+$/,"$1"),x=f.slice(1);return{params:o.reduce((p,{paramName:j,isOptional:k},M)=>{if(j==="*"){let B=x[M]||"";_=h.slice(0,h.length-B.length).replace(/(.)\/+$/,"$1")}const V=x[M];return k&&!V?p[j]=void 0:p[j]=(V||"").replace(/%2F/g,"/"),p},{}),pathname:h,pathnameBase:_,pattern:r}}function Sg(r,u=!1,s=!0){Yt(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let o=[],f="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(_,x,v,p,j)=>{if(o.push({paramName:x,isOptional:v!=null}),v){let k=j.charAt(p+_.length);return k&&k!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return r.endsWith("*")?(o.push({paramName:"*"}),f+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?f+="\\/*$":r!==""&&r!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,u?void 0:"i"),o]}function kg(r){try{return r.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return Yt(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${u}).`),r}}function Sa(r,u){if(u==="/")return r;if(!r.toLowerCase().startsWith(u.toLowerCase()))return null;let s=u.endsWith("/")?u.length-1:u.length,o=r.charAt(s);return o&&o!=="/"?null:r.slice(s)||"/"}var Eg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function wg(r,u="/"){let{pathname:s,search:o="",hash:f=""}=typeof r=="string"?il(r):r,h;return s?(s=s.replace(/\/\/+/g,"/"),s.startsWith("/")?h=ph(s.substring(1),"/"):h=ph(s,u)):h=u,{pathname:h,search:Rg(o),hash:Ag(f)}}function ph(r,u){let s=u.replace(/\/+$/,"").split("/");return r.split("/").forEach(f=>{f===".."?s.length>1&&s.pop():f!=="."&&s.push(f)}),s.length>1?s.join("/"):"/"}function ks(r,u,s,o){return`Cannot include a '${r}' character in a manually specified \`to.${u}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Tg(r){return r.filter((u,s)=>s===0||u.route.path&&u.route.path.length>0)}function Ys(r){let u=Tg(r);return u.map((s,o)=>o===u.length-1?s.pathname:s.pathnameBase)}function Kr(r,u,s,o=!1){let f;typeof r=="string"?f=il(r):(f={...r},Ue(!f.pathname||!f.pathname.includes("?"),ks("?","pathname","search",f)),Ue(!f.pathname||!f.pathname.includes("#"),ks("#","pathname","hash",f)),Ue(!f.search||!f.search.includes("#"),ks("#","search","hash",f)));let h=r===""||f.pathname==="",_=h?"/":f.pathname,x;if(_==null)x=s;else{let k=u.length-1;if(!o&&_.startsWith("..")){let M=_.split("/");for(;M[0]==="..";)M.shift(),k-=1;f.pathname=M.join("/")}x=k>=0?u[k]:"/"}let v=wg(f,x),p=_&&_!=="/"&&_.endsWith("/"),j=(h||_===".")&&s.endsWith("/");return!v.pathname.endsWith("/")&&(p||j)&&(v.pathname+="/"),v}var ta=r=>r.join("/").replace(/\/\/+/g,"/"),jg=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),Rg=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,Ag=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,zg=class{constructor(r,u,s,o=!1){this.status=r,this.statusText=u||"",this.internal=o,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Og(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}function Cg(r){return r.map(u=>u.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Nh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Mh(r,u){let s=r;if(typeof s!="string"||!Eg.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let o=s,f=!1;if(Nh)try{let h=new URL(window.location.href),_=s.startsWith("//")?new URL(h.protocol+s):new URL(s),x=Sa(_.pathname,u);_.origin===h.origin&&x!=null?s=x+_.search+_.hash:f=!0}catch{Yt(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:f,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Uh=["POST","PUT","PATCH","DELETE"];new Set(Uh);var Dg=["GET",...Uh];new Set(Dg);var rl=g.createContext(null);rl.displayName="DataRouter";var Jr=g.createContext(null);Jr.displayName="DataRouterState";var Ng=g.createContext(!1),qh=g.createContext({isTransitioning:!1});qh.displayName="ViewTransition";var Mg=g.createContext(new Map);Mg.displayName="Fetchers";var Ug=g.createContext(null);Ug.displayName="Await";var Rt=g.createContext(null);Rt.displayName="Navigation";var oi=g.createContext(null);oi.displayName="Location";var Gt=g.createContext({outlet:null,matches:[],isDataRoute:!1});Gt.displayName="Route";var Gs=g.createContext(null);Gs.displayName="RouteError";var Lh="REACT_ROUTER_ERROR",qg="REDIRECT",Lg="ROUTE_ERROR_RESPONSE";function Hg(r){if(r.startsWith(`${Lh}:${qg}:{`))try{let u=JSON.parse(r.slice(28));if(typeof u=="object"&&u&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.location=="string"&&typeof u.reloadDocument=="boolean"&&typeof u.replace=="boolean")return u}catch{}}function Bg(r){if(r.startsWith(`${Lh}:${Lg}:{`))try{let u=JSON.parse(r.slice(40));if(typeof u=="object"&&u&&typeof u.status=="number"&&typeof u.statusText=="string")return new zg(u.status,u.statusText,u.data)}catch{}}function Yg(r,{relative:u}={}){Ue(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:o}=g.useContext(Rt),{hash:f,pathname:h,search:_}=si(r,{relative:u}),x=h;return s!=="/"&&(x=h==="/"?s:ta([s,h])),o.createHref({pathname:x,search:_,hash:f})}function ul(){return g.useContext(oi)!=null}function yt(){return Ue(ul(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(oi).location}var Hh="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Bh(r){g.useContext(Rt).static||g.useLayoutEffect(r)}function Fa(){let{isDataRoute:r}=g.useContext(Gt);return r?av():Gg()}function Gg(){Ue(ul(),"useNavigate() may be used only in the context of a <Router> component.");let r=g.useContext(rl),{basename:u,navigator:s}=g.useContext(Rt),{matches:o}=g.useContext(Gt),{pathname:f}=yt(),h=JSON.stringify(Ys(o)),_=g.useRef(!1);return Bh(()=>{_.current=!0}),g.useCallback((v,p={})=>{if(Yt(_.current,Hh),!_.current)return;if(typeof v=="number"){s.go(v);return}let j=Kr(v,JSON.parse(h),f,p.relative==="path");r==null&&u!=="/"&&(j.pathname=j.pathname==="/"?u:ta([u,j.pathname])),(p.replace?s.replace:s.push)(j,p.state,p)},[u,s,h,f,r])}var Vg=g.createContext(null);function Xg(r){let u=g.useContext(Gt).outlet;return g.useMemo(()=>u&&g.createElement(Vg.Provider,{value:r},u),[u,r])}function p1(){let{matches:r}=g.useContext(Gt),u=r[r.length-1];return u?u.params:{}}function si(r,{relative:u}={}){let{matches:s}=g.useContext(Gt),{pathname:o}=yt(),f=JSON.stringify(Ys(s));return g.useMemo(()=>Kr(r,JSON.parse(f),o,u==="path"),[r,f,o,u])}function Qg(r,u){return Yh(r,u)}function Yh(r,u,s){var L;Ue(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=g.useContext(Rt),{matches:f}=g.useContext(Gt),h=f[f.length-1],_=h?h.params:{},x=h?h.pathname:"/",v=h?h.pathnameBase:"/",p=h&&h.route;{let H=p&&p.path||"";Vh(x,!p||H.endsWith("*")||H.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${x}" (under <Route path="${H}">) 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="${H}"> to <Route path="${H==="/"?"*":`${H}/*`}">.`)}let j=yt(),k;if(u){let H=typeof u=="string"?il(u):u;Ue(v==="/"||((L=H.pathname)==null?void 0:L.startsWith(v)),`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 "${v}" but pathname "${H.pathname}" was given in the \`location\` prop.`),k=H}else k=j;let M=k.pathname||"/",V=M;if(v!=="/"){let H=v.replace(/^\//,"").split("/");V="/"+M.replace(/^\//,"").split("/").slice(H.length).join("/")}let B=Oh(r,{pathname:V});Yt(p||B!=null,`No routes matched location "${k.pathname}${k.search}${k.hash}" `),Yt(B==null||B[B.length-1].route.element!==void 0||B[B.length-1].route.Component!==void 0||B[B.length-1].route.lazy!==void 0,`Matched leaf route at location "${k.pathname}${k.search}${k.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 q=Wg(B&&B.map(H=>Object.assign({},H,{params:Object.assign({},_,H.params),pathname:ta([v,o.encodeLocation?o.encodeLocation(H.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:H.pathname]),pathnameBase:H.pathnameBase==="/"?v:ta([v,o.encodeLocation?o.encodeLocation(H.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:H.pathnameBase])})),f,s);return u&&q?g.createElement(oi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...k},navigationType:"POP"}},q):q}function Zg(){let r=tv(),u=Og(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,o="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:o},h={padding:"2px 4px",backgroundColor:o},_=null;return console.error("Error handled by React Router default ErrorBoundary:",r),_=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:h},"ErrorBoundary")," or"," ",g.createElement("code",{style:h},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},u),s?g.createElement("pre",{style:f},s):null,_)}var Kg=g.createElement(Zg,null),Gh=class extends g.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,u){return u.location!==r.location||u.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:u.error,location:u.location,revalidation:r.revalidation||u.revalidation}}componentDidCatch(r,u){this.props.onError?this.props.onError(r,u):console.error("React Router caught the following error during render",r)}render(){let r=this.state.error;if(this.context&&typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){const s=Bg(r.digest);s&&(r=s)}let u=r!==void 0?g.createElement(Gt.Provider,{value:this.props.routeContext},g.createElement(Gs.Provider,{value:r,children:this.props.component})):this.props.children;return this.context?g.createElement(Jg,{error:r},u):u}};Gh.contextType=Ng;var Es=new WeakMap;function Jg({children:r,error:u}){let{basename:s}=g.useContext(Rt);if(typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){let o=Hg(u.digest);if(o){let f=Es.get(u);if(f)throw f;let h=Mh(o.location,s);if(Nh&&!Es.get(u))if(h.isExternal||o.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const _=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:o.replace}));throw Es.set(u,_),_}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return r}function $g({routeContext:r,match:u,children:s}){let o=g.useContext(rl);return o&&o.static&&o.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=u.route.id),g.createElement(Gt.Provider,{value:r},s)}function Wg(r,u=[],s){let o=s==null?void 0:s.state;if(r==null){if(!o)return null;if(o.errors)r=o.matches;else if(u.length===0&&!o.initialized&&o.matches.length>0)r=o.matches;else return null}let f=r,h=o==null?void 0:o.errors;if(h!=null){let j=f.findIndex(k=>k.route.id&&(h==null?void 0:h[k.route.id])!==void 0);Ue(j>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,j+1))}let _=!1,x=-1;if(s&&o){_=o.renderFallback;for(let j=0;j<f.length;j++){let k=f[j];if((k.route.HydrateFallback||k.route.hydrateFallbackElement)&&(x=j),k.route.id){let{loaderData:M,errors:V}=o,B=k.route.loader&&!M.hasOwnProperty(k.route.id)&&(!V||V[k.route.id]===void 0);if(k.route.lazy||B){s.isStatic&&(_=!0),x>=0?f=f.slice(0,x+1):f=[f[0]];break}}}}let v=s==null?void 0:s.onError,p=o&&v?(j,k)=>{var M,V;v(j,{location:o.location,params:((V=(M=o.matches)==null?void 0:M[0])==null?void 0:V.params)??{},unstable_pattern:Cg(o.matches),errorInfo:k})}:void 0;return f.reduceRight((j,k,M)=>{let V,B=!1,q=null,L=null;o&&(V=h&&k.route.id?h[k.route.id]:void 0,q=k.route.errorElement||Kg,_&&(x<0&&M===0?(Vh("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,L=null):x===M&&(B=!0,L=k.route.hydrateFallbackElement||null)));let H=u.concat(f.slice(0,M+1)),I=()=>{let J;return V?J=q:B?J=L:k.route.Component?J=g.createElement(k.route.Component,null):k.route.element?J=k.route.element:J=j,g.createElement($g,{match:k,routeContext:{outlet:j,matches:H,isDataRoute:o!=null},children:J})};return o&&(k.route.ErrorBoundary||k.route.errorElement||M===0)?g.createElement(Gh,{location:o.location,revalidation:o.revalidation,component:q,error:V,children:I(),routeContext:{outlet:null,matches:H,isDataRoute:!0},onError:p}):I()},null)}function Vs(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Fg(r){let u=g.useContext(rl);return Ue(u,Vs(r)),u}function Ig(r){let u=g.useContext(Jr);return Ue(u,Vs(r)),u}function Pg(r){let u=g.useContext(Gt);return Ue(u,Vs(r)),u}function Xs(r){let u=Pg(r),s=u.matches[u.matches.length-1];return Ue(s.route.id,`${r} can only be used on routes that contain a unique "id"`),s.route.id}function ev(){return Xs("useRouteId")}function tv(){var o;let r=g.useContext(Gs),u=Ig("useRouteError"),s=Xs("useRouteError");return r!==void 0?r:(o=u.errors)==null?void 0:o[s]}function av(){let{router:r}=Fg("useNavigate"),u=Xs("useNavigate"),s=g.useRef(!1);return Bh(()=>{s.current=!0}),g.useCallback(async(f,h={})=>{Yt(s.current,Hh),s.current&&(typeof f=="number"?await r.navigate(f):await r.navigate(f,{fromRouteId:u,...h}))},[r,u])}var _h={};function Vh(r,u,s){!u&&!_h[r]&&(_h[r]=!0,Yt(!1,s))}g.memo(nv);function nv({routes:r,future:u,state:s,isStatic:o,onError:f}){return Yh(r,void 0,{state:s,isStatic:o,onError:f})}function ll({to:r,replace:u,state:s,relative:o}){Ue(ul(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=g.useContext(Rt);Yt(!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:h}=g.useContext(Gt),{pathname:_}=yt(),x=Fa(),v=Kr(r,Ys(h),_,o==="path"),p=JSON.stringify(v);return g.useEffect(()=>{x(JSON.parse(p),{replace:u,state:s,relative:o})},[x,p,o,u,s]),null}function lv(r){return Xg(r.context)}function te(r){Ue(!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 iv({basename:r="/",children:u=null,location:s,navigationType:o="POP",navigator:f,static:h=!1,unstable_useTransitions:_}){Ue(!ul(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let x=r.replace(/^\/*/,"/"),v=g.useMemo(()=>({basename:x,navigator:f,static:h,unstable_useTransitions:_,future:{}}),[x,f,h,_]);typeof s=="string"&&(s=il(s));let{pathname:p="/",search:j="",hash:k="",state:M=null,key:V="default",unstable_mask:B}=s,q=g.useMemo(()=>{let L=Sa(p,x);return L==null?null:{location:{pathname:L,search:j,hash:k,state:M,key:V,unstable_mask:B},navigationType:o}},[x,p,j,k,M,V,o,B]);return Yt(q!=null,`<Router basename="${x}"> is not able to match the URL "${p}${j}${k}" because it does not start with the basename, so the <Router> won't render anything.`),q==null?null:g.createElement(Rt.Provider,{value:v},g.createElement(oi.Provider,{children:u,value:q}))}function rv({children:r,location:u}){return Qg(Os(r),u)}function Os(r,u=[]){let s=[];return g.Children.forEach(r,(o,f)=>{if(!g.isValidElement(o))return;let h=[...u,f];if(o.type===g.Fragment){s.push.apply(s,Os(o.props.children,h));return}Ue(o.type===te,`[${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>`),Ue(!o.props.index||!o.props.children,"An index route cannot have child routes.");let _={id:o.props.id||h.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&&(_.children=Os(o.props.children,h)),s.push(_)}),s}var qr="get",Lr="application/x-www-form-urlencoded";function $r(r){return typeof HTMLElement<"u"&&r instanceof HTMLElement}function uv(r){return $r(r)&&r.tagName.toLowerCase()==="button"}function ov(r){return $r(r)&&r.tagName.toLowerCase()==="form"}function sv(r){return $r(r)&&r.tagName.toLowerCase()==="input"}function cv(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function fv(r,u){return r.button===0&&(!u||u==="_self")&&!cv(r)}function Cs(r=""){return new URLSearchParams(typeof r=="string"||Array.isArray(r)||r instanceof URLSearchParams?r:Object.keys(r).reduce((u,s)=>{let o=r[s];return u.concat(Array.isArray(o)?o.map(f=>[s,f]):[[s,o]])},[]))}function dv(r,u){let s=Cs(r);return u&&u.forEach((o,f)=>{s.has(f)||u.getAll(f).forEach(h=>{s.append(f,h)})}),s}var Ar=null;function mv(){if(Ar===null)try{new FormData(document.createElement("form"),0),Ar=!1}catch{Ar=!0}return Ar}var hv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ws(r){return r!=null&&!hv.has(r)?(Yt(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Lr}"`),null):r}function pv(r,u){let s,o,f,h,_;if(ov(r)){let x=r.getAttribute("action");o=x?Sa(x,u):null,s=r.getAttribute("method")||qr,f=ws(r.getAttribute("enctype"))||Lr,h=new FormData(r)}else if(uv(r)||sv(r)&&(r.type==="submit"||r.type==="image")){let x=r.form;if(x==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=r.getAttribute("formaction")||x.getAttribute("action");if(o=v?Sa(v,u):null,s=r.getAttribute("formmethod")||x.getAttribute("method")||qr,f=ws(r.getAttribute("formenctype"))||ws(x.getAttribute("enctype"))||Lr,h=new FormData(x,r),!mv()){let{name:p,type:j,value:k}=r;if(j==="image"){let M=p?`${p}.`:"";h.append(`${M}x`,"0"),h.append(`${M}y`,"0")}else p&&h.append(p,k)}}else{if($r(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=qr,o=null,f=Lr,_=r}return h&&f==="text/plain"&&(_=h,h=void 0),{action:o,method:s.toLowerCase(),encType:f,formData:h,body:_}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Qs(r,u){if(r===!1||r===null||typeof r>"u")throw new Error(u)}function _v(r,u,s,o){let f=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return s?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${o}`:f.pathname=`${f.pathname}.${o}`:f.pathname==="/"?f.pathname=`_root.${o}`:u&&Sa(f.pathname,u)==="/"?f.pathname=`${u.replace(/\/$/,"")}/_root.${o}`:f.pathname=`${f.pathname.replace(/\/$/,"")}.${o}`,f}async function yv(r,u){if(r.id in u)return u[r.id];try{let s=await import(r.module);return u[r.id]=s,s}catch(s){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function gv(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function vv(r,u,s){let o=await Promise.all(r.map(async f=>{let h=u.routes[f.route.id];if(h){let _=await yv(h,s);return _.links?_.links():[]}return[]}));return kv(o.flat(1).filter(gv).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function yh(r,u,s,o,f,h){let _=(v,p)=>s[p]?v.route.id!==s[p].route.id:!0,x=(v,p)=>{var j;return s[p].pathname!==v.pathname||((j=s[p].route.path)==null?void 0:j.endsWith("*"))&&s[p].params["*"]!==v.params["*"]};return h==="assets"?u.filter((v,p)=>_(v,p)||x(v,p)):h==="data"?u.filter((v,p)=>{var k;let j=o.routes[v.route.id];if(!j||!j.hasLoader)return!1;if(_(v,p)||x(v,p))return!0;if(v.route.shouldRevalidate){let M=v.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((k=s[0])==null?void 0:k.params)||{},nextUrl:new URL(r,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof M=="boolean")return M}return!0}):[]}function bv(r,u,{includeHydrateFallback:s}={}){return xv(r.map(o=>{let f=u.routes[o.route.id];if(!f)return[];let h=[f.module];return f.clientActionModule&&(h=h.concat(f.clientActionModule)),f.clientLoaderModule&&(h=h.concat(f.clientLoaderModule)),s&&f.hydrateFallbackModule&&(h=h.concat(f.hydrateFallbackModule)),f.imports&&(h=h.concat(f.imports)),h}).flat(1))}function xv(r){return[...new Set(r)]}function Sv(r){let u={},s=Object.keys(r).sort();for(let o of s)u[o]=r[o];return u}function kv(r,u){let s=new Set;return new Set(u),r.reduce((o,f)=>{let h=JSON.stringify(Sv(f));return s.has(h)||(s.add(h),o.push({key:h,link:f})),o},[])}function Xh(){let r=g.useContext(rl);return Qs(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function Ev(){let r=g.useContext(Jr);return Qs(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var Zs=g.createContext(void 0);Zs.displayName="FrameworkContext";function Qh(){let r=g.useContext(Zs);return Qs(r,"You must render this element inside a <HydratedRouter> element"),r}function wv(r,u){let s=g.useContext(Zs),[o,f]=g.useState(!1),[h,_]=g.useState(!1),{onFocus:x,onBlur:v,onMouseEnter:p,onMouseLeave:j,onTouchStart:k}=u,M=g.useRef(null);g.useEffect(()=>{if(r==="render"&&_(!0),r==="viewport"){let q=H=>{H.forEach(I=>{_(I.isIntersecting)})},L=new IntersectionObserver(q,{threshold:.5});return M.current&&L.observe(M.current),()=>{L.disconnect()}}},[r]),g.useEffect(()=>{if(o){let q=setTimeout(()=>{_(!0)},100);return()=>{clearTimeout(q)}}},[o]);let V=()=>{f(!0)},B=()=>{f(!1),_(!1)};return s?r!=="intent"?[h,M,{}]:[h,M,{onFocus:ni(x,V),onBlur:ni(v,B),onMouseEnter:ni(p,V),onMouseLeave:ni(j,B),onTouchStart:ni(k,V)}]:[!1,M,{}]}function ni(r,u){return s=>{r&&r(s),s.defaultPrevented||u(s)}}function Tv({page:r,...u}){let{router:s}=Xh(),o=g.useMemo(()=>Oh(s.routes,r,s.basename),[s.routes,r,s.basename]);return o?g.createElement(Rv,{page:r,matches:o,...u}):null}function jv(r){let{manifest:u,routeModules:s}=Qh(),[o,f]=g.useState([]);return g.useEffect(()=>{let h=!1;return vv(r,u,s).then(_=>{h||f(_)}),()=>{h=!0}},[r,u,s]),o}function Rv({page:r,matches:u,...s}){let o=yt(),{future:f,manifest:h,routeModules:_}=Qh(),{basename:x}=Xh(),{loaderData:v,matches:p}=Ev(),j=g.useMemo(()=>yh(r,u,p,h,o,"data"),[r,u,p,h,o]),k=g.useMemo(()=>yh(r,u,p,h,o,"assets"),[r,u,p,h,o]),M=g.useMemo(()=>{if(r===o.pathname+o.search+o.hash)return[];let q=new Set,L=!1;if(u.forEach(I=>{var _e;let J=h.routes[I.route.id];!J||!J.hasLoader||(!j.some(ye=>ye.route.id===I.route.id)&&I.route.id in v&&((_e=_[I.route.id])!=null&&_e.shouldRevalidate)||J.hasClientLoader?L=!0:q.add(I.route.id))}),q.size===0)return[];let H=_v(r,x,f.unstable_trailingSlashAwareDataRequests,"data");return L&&q.size>0&&H.searchParams.set("_routes",u.filter(I=>q.has(I.route.id)).map(I=>I.route.id).join(",")),[H.pathname+H.search]},[x,f.unstable_trailingSlashAwareDataRequests,v,o,h,j,u,r,_]),V=g.useMemo(()=>bv(k,h),[k,h]),B=jv(k);return g.createElement(g.Fragment,null,M.map(q=>g.createElement("link",{key:q,rel:"prefetch",as:"fetch",href:q,...s})),V.map(q=>g.createElement("link",{key:q,rel:"modulepreload",href:q,...s})),B.map(({key:q,link:L})=>g.createElement("link",{key:q,nonce:s.nonce,...L,crossOrigin:L.crossOrigin??s.crossOrigin})))}function Av(...r){return u=>{r.forEach(s=>{typeof s=="function"?s(u):s!=null&&(s.current=u)})}}var zv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{zv&&(window.__reactRouterVersion="7.13.1")}catch{}function Ov({basename:r,children:u,unstable_useTransitions:s,window:o}){let f=g.useRef();f.current==null&&(f.current=ug({window:o,v5Compat:!0}));let h=f.current,[_,x]=g.useState({action:h.action,location:h.location}),v=g.useCallback(p=>{s===!1?x(p):g.startTransition(()=>x(p))},[s]);return g.useLayoutEffect(()=>h.listen(v),[h,v]),g.createElement(iv,{basename:r,children:u,location:_.location,navigationType:_.action,navigator:h,unstable_useTransitions:s})}var Zh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Kh=g.forwardRef(function({onClick:u,discover:s="render",prefetch:o="none",relative:f,reloadDocument:h,replace:_,unstable_mask:x,state:v,target:p,to:j,preventScrollReset:k,viewTransition:M,unstable_defaultShouldRevalidate:V,...B},q){let{basename:L,navigator:H,unstable_useTransitions:I}=g.useContext(Rt),J=typeof j=="string"&&Zh.test(j),_e=Mh(j,L);j=_e.to;let ye=Yg(j,{relative:f}),he=yt(),W=null;if(x){let Ne=Kr(x,[],he.unstable_mask?he.unstable_mask.pathname:"/",!0);L!=="/"&&(Ne.pathname=Ne.pathname==="/"?L:ta([L,Ne.pathname])),W=H.createHref(Ne)}let[$,oe,Pe]=wv(o,B),Je=Nv(j,{replace:_,unstable_mask:x,state:v,target:p,preventScrollReset:k,relative:f,viewTransition:M,unstable_defaultShouldRevalidate:V,unstable_useTransitions:I});function qe(Ne){u&&u(Ne),Ne.defaultPrevented||Je(Ne)}let At=!(_e.isExternal||h),ut=g.createElement("a",{...B,...Pe,href:(At?W:void 0)||_e.absoluteURL||ye,onClick:At?qe:u,ref:Av(q,oe),target:p,"data-discover":!J&&s==="render"?"true":void 0});return $&&!J?g.createElement(g.Fragment,null,ut,g.createElement(Tv,{page:ye})):ut});Kh.displayName="Link";var Ks=g.forwardRef(function({"aria-current":u="page",caseSensitive:s=!1,className:o="",end:f=!1,style:h,to:_,viewTransition:x,children:v,...p},j){let k=si(_,{relative:p.relative}),M=yt(),V=g.useContext(Jr),{navigator:B,basename:q}=g.useContext(Rt),L=V!=null&&Hv(k)&&x===!0,H=B.encodeLocation?B.encodeLocation(k).pathname:k.pathname,I=M.pathname,J=V&&V.navigation&&V.navigation.location?V.navigation.location.pathname:null;s||(I=I.toLowerCase(),J=J?J.toLowerCase():null,H=H.toLowerCase()),J&&q&&(J=Sa(J,q)||J);const _e=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let ye=I===H||!f&&I.startsWith(H)&&I.charAt(_e)==="/",he=J!=null&&(J===H||!f&&J.startsWith(H)&&J.charAt(H.length)==="/"),W={isActive:ye,isPending:he,isTransitioning:L},$=ye?u:void 0,oe;typeof o=="function"?oe=o(W):oe=[o,ye?"active":null,he?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let Pe=typeof h=="function"?h(W):h;return g.createElement(Kh,{...p,"aria-current":$,className:oe,ref:j,style:Pe,to:_,viewTransition:x},typeof v=="function"?v(W):v)});Ks.displayName="NavLink";var Cv=g.forwardRef(({discover:r="render",fetcherKey:u,navigate:s,reloadDocument:o,replace:f,state:h,method:_=qr,action:x,onSubmit:v,relative:p,preventScrollReset:j,viewTransition:k,unstable_defaultShouldRevalidate:M,...V},B)=>{let{unstable_useTransitions:q}=g.useContext(Rt),L=qv(),H=Lv(x,{relative:p}),I=_.toLowerCase()==="get"?"get":"post",J=typeof x=="string"&&Zh.test(x),_e=ye=>{if(v&&v(ye),ye.defaultPrevented)return;ye.preventDefault();let he=ye.nativeEvent.submitter,W=(he==null?void 0:he.getAttribute("formmethod"))||_,$=()=>L(he||ye.currentTarget,{fetcherKey:u,method:W,navigate:s,replace:f,state:h,relative:p,preventScrollReset:j,viewTransition:k,unstable_defaultShouldRevalidate:M});q&&s!==!1?g.startTransition(()=>$()):$()};return g.createElement("form",{ref:B,method:I,action:H,onSubmit:o?v:_e,...V,"data-discover":!J&&r==="render"?"true":void 0})});Cv.displayName="Form";function Dv(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jh(r){let u=g.useContext(rl);return Ue(u,Dv(r)),u}function Nv(r,{target:u,replace:s,unstable_mask:o,state:f,preventScrollReset:h,relative:_,viewTransition:x,unstable_defaultShouldRevalidate:v,unstable_useTransitions:p}={}){let j=Fa(),k=yt(),M=si(r,{relative:_});return g.useCallback(V=>{if(fv(V,u)){V.preventDefault();let B=s!==void 0?s:ui(k)===ui(M),q=()=>j(r,{replace:B,unstable_mask:o,state:f,preventScrollReset:h,relative:_,viewTransition:x,unstable_defaultShouldRevalidate:v});p?g.startTransition(()=>q()):q()}},[k,j,M,s,o,f,u,r,h,_,x,v,p])}function _1(r){Yt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let u=g.useRef(Cs(r)),s=g.useRef(!1),o=yt(),f=g.useMemo(()=>dv(o.search,s.current?null:u.current),[o.search]),h=Fa(),_=g.useCallback((x,v)=>{const p=Cs(typeof x=="function"?x(new URLSearchParams(f)):x);s.current=!0,h("?"+p,v)},[h,f]);return[f,_]}var Mv=0,Uv=()=>`__${String(++Mv)}__`;function qv(){let{router:r}=Jh("useSubmit"),{basename:u}=g.useContext(Rt),s=ev(),o=r.fetch,f=r.navigate;return g.useCallback(async(h,_={})=>{let{action:x,method:v,encType:p,formData:j,body:k}=pv(h,u);if(_.navigate===!1){let M=_.fetcherKey||Uv();await o(M,s,_.action||x,{unstable_defaultShouldRevalidate:_.unstable_defaultShouldRevalidate,preventScrollReset:_.preventScrollReset,formData:j,body:k,formMethod:_.method||v,formEncType:_.encType||p,flushSync:_.flushSync})}else await f(_.action||x,{unstable_defaultShouldRevalidate:_.unstable_defaultShouldRevalidate,preventScrollReset:_.preventScrollReset,formData:j,body:k,formMethod:_.method||v,formEncType:_.encType||p,replace:_.replace,state:_.state,fromRouteId:s,flushSync:_.flushSync,viewTransition:_.viewTransition})},[o,f,u,s])}function Lv(r,{relative:u}={}){let{basename:s}=g.useContext(Rt),o=g.useContext(Gt);Ue(o,"useFormAction must be used inside a RouteContext");let[f]=o.matches.slice(-1),h={...si(r||".",{relative:u})},_=yt();if(r==null){h.search=_.search;let x=new URLSearchParams(h.search),v=x.getAll("index");if(v.some(j=>j==="")){x.delete("index"),v.filter(k=>k).forEach(k=>x.append("index",k));let j=x.toString();h.search=j?`?${j}`:""}}return(!r||r===".")&&f.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(h.pathname=h.pathname==="/"?s:ta([s,h.pathname])),ui(h)}function Hv(r,{relative:u}={}){let s=g.useContext(qh);Ue(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Jh("useViewTransitionState"),f=si(r,{relative:u});if(!s.isTransitioning)return!1;let h=Sa(s.currentLocation.pathname,o)||s.currentLocation.pathname,_=Sa(s.nextLocation.pathname,o)||s.nextLocation.pathname;return Xr(f.pathname,_)!=null||Xr(f.pathname,h)!=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 Bv=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$h=(...r)=>r.filter((u,s,o)=>!!u&&u.trim()!==""&&o.indexOf(u)===s).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 Yv={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 Gv=g.forwardRef(({color:r="currentColor",size:u=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:f="",children:h,iconNode:_,...x},v)=>g.createElement("svg",{ref:v,...Yv,width:u,height:u,stroke:r,strokeWidth:o?Number(s)*24/Number(u):s,className:$h("lucide",f),...x},[..._.map(([p,j])=>g.createElement(p,j)),...Array.isArray(h)?h:[h]]));/**
|
|
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 ke=(r,u)=>{const s=g.forwardRef(({className:o,...f},h)=>g.createElement(Gv,{ref:h,iconNode:u,className:$h(`lucide-${Bv(r)}`,o),...f}));return s.displayName=`${r}`,s};/**
|
|
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 Vv=ke("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 Xv=ke("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 Qv=ke("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 Zv=ke("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
|
|
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 Kv=ke("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
|
|
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 Jv=ke("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
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 $v=ke("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"}]]);/**
|
|
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 Wv=ke("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"}]]);/**
|
|
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 Fv=ke("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"}]]);/**
|
|
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 Iv=ke("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"}]]);/**
|
|
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 Pv=ke("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
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 eb=ke("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"}]]);/**
|
|
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 Wh=ke("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"}]]);/**
|
|
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 tb=ke("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
|
|
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 Fh=ke("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"}]]);/**
|
|
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 ab=ke("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"}]]);/**
|
|
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 nb=ke("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"}]]);/**
|
|
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 lb=ke("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
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 ib=ke("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
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 rb=ke("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"}]]);/**
|
|
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 Ih=ke("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
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 Ph=ke("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"}]]);/**
|
|
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 ub=ke("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]]);/**
|
|
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 ob=ke("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"}]]);/**
|
|
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 sb=ke("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"}]]);/**
|
|
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 cb=ke("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"}]]);/**
|
|
212
|
-
* @license lucide-react v0.469.0 - ISC
|
|
213
|
-
*
|
|
214
|
-
* This source code is licensed under the ISC license.
|
|
215
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
-
*/const Js=ke("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
217
|
-
* @license lucide-react v0.469.0 - ISC
|
|
218
|
-
*
|
|
219
|
-
* This source code is licensed under the ISC license.
|
|
220
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
-
*/const ep=ke("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"}]]);/**
|
|
222
|
-
* @license lucide-react v0.469.0 - ISC
|
|
223
|
-
*
|
|
224
|
-
* This source code is licensed under the ISC license.
|
|
225
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
-
*/const fb=ke("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"}]]);/**
|
|
227
|
-
* @license lucide-react v0.469.0 - ISC
|
|
228
|
-
*
|
|
229
|
-
* This source code is licensed under the ISC license.
|
|
230
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
-
*/const tp=ke("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),gh=r=>{let u;const s=new Set,o=(p,j)=>{const k=typeof p=="function"?p(u):p;if(!Object.is(k,u)){const M=u;u=j??(typeof k!="object"||k===null)?k:Object.assign({},u,k),s.forEach(V=>V(u,M))}},f=()=>u,x={setState:o,getState:f,getInitialState:()=>v,subscribe:p=>(s.add(p),()=>s.delete(p))},v=u=r(o,f,x);return x},db=(r=>r?gh(r):gh),mb=r=>r;function hb(r,u=mb){const s=Rr.useSyncExternalStore(r.subscribe,Rr.useCallback(()=>u(r.getState()),[r,u]),Rr.useCallback(()=>u(r.getInitialState()),[r,u]));return Rr.useDebugValue(s),s}const vh=r=>{const u=db(r),s=o=>hb(u,o);return Object.assign(s,u),s},Wr=(r=>r?vh(r):vh),zr="overlord-access-token",Or="overlord-refresh-token",We={getAccessToken(){return localStorage.getItem(zr)},setAccessToken(r){localStorage.setItem(zr,r)},getRefreshToken(){return localStorage.getItem(Or)},setRefreshToken(r){localStorage.setItem(Or,r)},setTokens(r,u){localStorage.setItem(zr,r),localStorage.setItem(Or,u)},clearTokens(){localStorage.removeItem(zr),localStorage.removeItem(Or)},parseToken(r){try{const u=r.split(".")[1];return JSON.parse(atob(u))}catch{return null}},hasScope(r,u){const s=We.parseToken(r);return s?s.scope===u:!1},isExpired(r){const u=We.parseToken(r);return!u||typeof u.exp!="number"?!0:Date.now()/1e3>u.exp-30}};function Ts(r){const u=We.parseToken(r);if(!u)return null;const s=u.name??"";return{id:u.sub,username:s,display_name:s,role:u.role}}const xa=Wr((r,u)=>({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1,initializing:!0,initialize:()=>{const s=We.getAccessToken();s&&!We.isExpired(s)?r({accessToken:s,user:Ts(s),requireTotpSetup:We.hasScope(s,"totp_setup"),initializing:!1}):We.getRefreshToken()?u().refresh().catch(()=>{We.clearTokens()}).finally(()=>{r({initializing:!1})}):r({initializing:!1})},login:async s=>{var h;const o=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!o.ok){const _=await o.json().catch(()=>({message:"Login failed"})),x=((h=_.error)==null?void 0:h.message)??_.message??"Login failed";throw new Error(x)}const f=await o.json();if(f.totpSetup){We.setAccessToken(f.accessToken),r({accessToken:f.accessToken,user:null,requireTotpSetup:!0});return}We.setTokens(f.accessToken,f.refreshToken),r({accessToken:f.accessToken,user:Ts(f.accessToken),requireTotpSetup:!1,sessionExpired:!1})},logout:()=>{const s=We.getRefreshToken();s&&fetch("/api/auth/logout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:s})}).catch(()=>{}),We.clearTokens(),r({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1})},refresh:(()=>{let s=null;return async()=>s||(s=(async()=>{const o=We.getRefreshToken();if(!o)throw We.clearTokens(),r({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!0}),new Error("No refresh token");const f=await fetch("/api/auth/refresh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:o})});if(!f.ok)throw We.clearTokens(),r({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!0}),new Error("Refresh failed");const h=await f.json();We.setTokens(h.accessToken,h.refreshToken),r({accessToken:h.accessToken,user:Ts(h.accessToken)})})().finally(()=>{s=null}),s)})(),setSessionExpired:s=>{r({sessionExpired:s})}})),y1={QUEUED:"QUEUED",ASSIGNED:"ASSIGNED",RUNNING:"RUNNING",SUSPENDED:"SUSPENDED",COMPLETED:"COMPLETED",FAILED:"FAILED",CANCELLED:"CANCELLED"},g1={ONLINE:"online",OFFLINE:"offline",DRAINING:"draining",DECOMMISSIONED:"decommissioned"},ap={DEVELOPER:"developer",LEAD:"lead",ADMIN:"admin"},v1={MAINTAINER:"maintainer",MEMBER:"member"},b1={CLAUDE:"claude",CURSOR:"cursor",CODEX:"codex",CUSTOM:"custom"},x1={ACTIVE:"active",USED:"used",REVOKED:"revoked",EXPIRED:"expired"},S1={GITLAB:"gitlab",GITHUB:"github",GITEA:"gitea"},k1={ACTIVE:"active",DISABLED:"disabled"},E1={ACTIVE:"active"},w1={IDLE:"IDLE",STARTING:"STARTING",CONNECTED:"CONNECTED",EXPIRED:"EXPIRED",CLOSING:"CLOSING",CLOSED:"CLOSED"};function pb(){return xa(r=>{var u;return((u=r.user)==null?void 0:u.role)===ap.ADMIN})??!1}const np="overlord-sidebar-collapsed";function _b(){try{return localStorage.getItem(np)==="true"}catch{return!1}}const yb=Wr((r,u)=>({sidebarCollapsed:_b(),toggleSidebar:()=>{const s=!u().sidebarCollapsed;try{localStorage.setItem(np,String(s))}catch{}r({sidebarCollapsed:s})}}));class gb{constructor(){Ve(this,"ws",null);Ve(this,"reconnectAttempts",0);Ve(this,"maxReconnectAttempts",15);Ve(this,"reconnectTimer",null);Ve(this,"disposed",!1);Ve(this,"authenticated",!1);Ve(this,"eventHandlers",new Set);Ve(this,"statusHandlers",new Set)}onEvent(u){return this.eventHandlers.add(u),()=>this.eventHandlers.delete(u)}onStatus(u){return this.statusHandlers.add(u),()=>this.statusHandlers.delete(u)}get isConnected(){var u;return this.authenticated&&((u=this.ws)==null?void 0:u.readyState)===WebSocket.OPEN}connect(){var f,h;if(this.disposed||((f=this.ws)==null?void 0:f.readyState)===WebSocket.OPEN||((h=this.ws)==null?void 0:h.readyState)===WebSocket.CONNECTING)return;const u=We.getAccessToken();if(!u||We.isExpired(u))return;const o=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws/events`;this.notifyStatus("connecting"),this.authenticated=!1,this.ws=new WebSocket(o),this.ws.onopen=()=>{var x,v;const _=We.getAccessToken();_?(x=this.ws)==null||x.send(JSON.stringify({type:"auth",token:_})):(v=this.ws)==null||v.close()},this.ws.onmessage=_=>{var x;if(typeof _.data=="string")try{const v=JSON.parse(_.data);if(v.type==="auth_ok"){this.authenticated=!0,this.reconnectAttempts=0,this.notifyStatus("connected");return}if(v.type==="auth_error"){(x=this.ws)==null||x.close();return}if(v.type==="event")for(const p of this.eventHandlers)try{p(v)}catch{}}catch{}},this.ws.onclose=()=>{this.authenticated=!1,this.notifyStatus("disconnected"),this.scheduleReconnect()},this.ws.onerror=()=>{var _;(_=this.ws)==null||_.close()}}disconnect(){var u;this.clearReconnectTimer(),this.authenticated=!1,(u=this.ws)==null||u.close(),this.ws=null}dispose(){this.disposed=!0,this.disconnect(),this.eventHandlers.clear(),this.statusHandlers.clear()}reconnect(){this.disconnect(),this.reconnectAttempts=0,this.connect()}scheduleReconnect(){if(this.disposed||this.reconnectAttempts>=this.maxReconnectAttempts)return;const u=Math.min(1e3*2**this.reconnectAttempts,3e4);this.reconnectAttempts++,this.reconnectTimer=setTimeout(()=>{this.disposed||this.connect()},u)}clearReconnectTimer(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}notifyStatus(u){for(const s of this.statusHandlers)try{s(u)}catch{}}}const Cr=new gb,vb=Wr(r=>({status:"disconnected",lastEvent:null,eventSeq:0,taskSeq:0,workerSeq:0,init:()=>{const u=Cr.onEvent(o=>{const f=o.event==="task_status_changed"||o.event==="task_created",h=o.event==="worker_status_changed";r(_=>({lastEvent:o,eventSeq:_.eventSeq+1,...f&&{taskSeq:_.taskSeq+1},...h&&{workerSeq:_.workerSeq+1}}))}),s=Cr.onStatus(o=>{r({status:o})});return Cr.connect(),()=>{u(),s(),Cr.disconnect()}}})),lp="overlord-theme";function bb(){try{const r=localStorage.getItem(lp);if(r==="light"||r==="dark"||r==="system")return r}catch{}return"dark"}function bh(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const ip=Wr(r=>{const u=bb(),s=u==="system"?bh():u;return{theme:u,resolved:s,setTheme:o=>{localStorage.setItem(lp,o);const f=o==="system"?bh():o;r({theme:o,resolved:f})},setResolved:o=>{r({resolved:o})}}}),xb={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, workers, 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_terminal:"terminal",breadcrumb_terminal_sub:"active sessions",breadcrumb_dashboard:"dashboard",breadcrumb_dashboard_sub:"active overview",breadcrumb_tasks:"tasks",breadcrumb_tasks_sub:"queue management",breadcrumb_workers:"workers",breadcrumb_workers_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_tokens:"tokens",breadcrumb_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",breadcrumb_docs_bot_sub:"bot",breadcrumb_docs_all_sub:"all",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...",task_type:"type",branch_slug:"branch name (optional)",branch_slug_placeholder:"auto-generated from description",target_worker:"target worker (optional)",any_able:"any able",assign_developer:"assign developer (admin only)",select_developer:"select developer...",search_tasks:"search tasks...",id:"id",description_col:"description",status_col:"status",project_col:"project",assignee:"assignee",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:"IDE 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",mr_link:"MR link",no_worker_assigned:"// no worker 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:"> IDE 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_worker_preference:"worker preference",form_worker_placeholder:"optional: worker id or name (--on)",form_worker_hint:"leave empty for automatic worker 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 IDE",tunnel_header:"> IDE 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 IDE",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",tunnel_start_failed:"failed to start tunnel",tunnel_install_code_hint:'install the VS Code CLI ("code" command) to enable tunnels',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."},workers:{title:"workers",subtitle:"// fleet status",fleet:"fleet",setup_guide:"setup guide",all_statuses:"all",register_worker:"register worker",no_workers_found:"no workers found",no_workers_registered:"no workers 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_workers:"back to workers",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 worker",confirm_drain_message:'drain worker "{name}"? it will finish current tasks but accept no new ones.',worker_drained:"worker drain initiated.",worker_undrained:"worker undrain initiated.",failed_to_update_worker:"failed to update worker status.",worker_setup_title:"worker setup guide",worker_setup_subtitle:"// register a new worker 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 worker.",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_worker:"// loading worker...",worker_not_found:"// worker not found",draining_warning:"// this worker 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 worker",worker_info:"> worker info",unknown:"unknown",n_a:"n/a",id:"id",description:"description",stage:"stage",no_capabilities_short:"// no capabilities",slots:"slots",status_label:"status",undrain_worker_title:"> undrain worker",drain_worker_title:"> drain worker",undrain_confirm:"are you sure you want to undrain {name}? the worker 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 worker is undrained.",decommission:"decommission",decommission_title:"> decommission worker",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",worker_id:"worker ID",setup_header_desc:"// follow these steps to add a new worker 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_worker_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 workers list with a "healthy" status.',verify_how_to:"// how to verify:",verify_check_workers:"check the workers 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:",reg_running_installation:"// running installation on target worker",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",default_project:"default project",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",git_token:"> git token",git_token_label:"current token",git_token_hint:"// personal access token for git operations (push, clone, etc.)",git_token_set:"set token",git_token_clear:"clear token",git_token_saved:"git token saved.",git_token_cleared:"git token cleared.",git_token_failed:"failed to update git token.",pipeline_section:"> pipeline",edit_pipeline:"> edit pipeline",pty_output_filter:"PTY output filter",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",timeout:"timeout",confirm_required:"confirm required",on_failure:"on failure",goto:"goto",max_loops:"max loops",stop:"stop",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.",loading_pipeline:"// loading pipeline...",unnamed:"unnamed",editing:"// editing: {name}",name:"name",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.
|
|
232
|
-
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.",platform_accounts:"platform accounts",not_linked:"not linked",bind_hint:'send "bind" to the bot in lark or slack to link your account.'},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.",lark_uid:"lark open ID",slack_uid:"slack user ID",platform_accounts:"platform accounts",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",bot_token:"bot token",bot_token_keep_current:"bot token (leave empty to keep current)",bot_token_placeholder:"xoxb-...",bot_token_hint:"// OAuth & Permissions → Bot User OAuth Token",signing_secret:"signing secret",signing_secret_keep_current:"signing secret (leave empty to keep current)",signing_secret_placeholder:"your signing secret",signing_secret_hint:"// Basic Information → App Credentials → Signing Secret",app_secret_hint_lark:"// lark open platform → app credentials → app secret",app_id_hint_slack:"// Basic Information → App ID",app_id_hint_lark:"// lark open platform → app id",webhook_config:"// webhook configuration",webhook_config_hint_slack:"// copy these URLs to your Slack app settings",webhook_config_hint_lark:"// copy this URL to event subscriptions → request url",webhook_events_url:"events url",webhook_interact_url:"interactivity url",webhook_commands_url:"slash commands url",webhook_request_url:"request url",slack_events_hint:"// paste in Event Subscriptions → Request URL",slack_interact_hint:"// paste in Interactivity & Shortcuts → Request URL",slack_commands_hint:"// paste in Slash Commands → Request URL",invalid_bot_token:"// bot token must start with xoxb-",signing_secret_required:"// signing secret is required for Slack bots",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",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_worker:"// identifies which worker 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.",setup_command:"setup command",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",worker:"worker",copied_wait_for_worker:"copied — wait for worker",close_worker_can_register:"close // worker can still register",view_worker:"view worker",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 worker",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",worker_offline_threshold:"worker offline threshold seconds",worker_offline_threshold_desc:"// mark worker 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:"self-hosted · bring your own subscriptions and machines",hero_line1:"turn your subscriptions / machines into",hero_turn_your:"turn your",hero_into:"into",hero_word_subscriptions:"subscriptions",hero_word_machines:"machines",hero_highlight:"a dev team that never sleeps.",hero_desc:"dispatch coding tasks across your machine fleet. ai agents execute in parallel — you watch, jump in, or come back to finished pull requests.",get_started:"get started",read_docs:"read docs",how_it_works:"how it works",three_steps:"from task description to merged pull request.",step_n:"step {n}",step_define:"connect your fleet",step_define_desc:"register your machines as workers. each one runs ai agents — claude code, cursor, codex — using your existing subscriptions.",step_dispatch:"send a task",step_dispatch_desc:"describe what you want from slack, lark, cli, or the web dashboard. overlord finds the best available machine and starts the ai agent automatically.",step_monitor:"watch or walk away",step_monitor_desc:"live terminal streams agent output to your browser. jump in to guide the agent, or come back later to a finished pull request.",everything_you_need:"everything you need",complete_platform:"self-hosted. your machines, your ai subscriptions, your control.",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_pool:"pool subscriptions, maximize value",feature_pool_desc:"every team member's ai subscription goes into a shared pool — everyone can use any seat. no idle subscriptions, no duplicate costs. the bigger your team, the more you save.",feature_trigger:"trigger from everywhere",feature_trigger_desc:"slack message, lark bot, cli command, or web dashboard — create tasks from whatever tool you already use. phone, laptop, tablet, it all works.",feature_remote:"code from anywhere",feature_remote_desc:"on the bus, at a café, or away from your desk — dispatch tasks from your phone or laptop and your fleet keeps coding. come back to finished pull requests.",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 @overlordai/server
|
|
233
|
-
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:`npm install -g @overlordai/cli @overlordai/worker
|
|
234
|
-
overlord setup worker`,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
|
|
235
|
-
ov login https://overlord.yourdomain.com`,setup_step_3_link:"development workflow",go_to_app:"open 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",docs_nav_getting_started:"// getting started",docs_nav_guides:"// guides",docs_nav_reference:"// reference",docs_nav_other:"// other",docs_installation:"installation",docs_developer_setup:"developer setup",docs_worker_setup:"worker setup",docs_bot_setup:"bot setup",docs_local_dev:"local development",docs_worker_ops:"worker operations",docs_deployment:"deployment",docs_bot_integration:"bot integration",docs_pipeline:"pipeline config",docs_dev_workflow:"dev workflow",docs_cli:"cli reference",docs_api:"api reference",docs_skill:"skill reference",docs_permissions:"permissions & roles",docs_env_vars:"environment variables",docs_architecture:"architecture",docs_changelog:"changelog",docs_menu:"docs menu",docs_back:"< back",docs_all_title:"// all documentation",docs_all_subtitle:"browse all guides, references, and resources",docs_desc_installation:"install overlord server and cli tools",docs_desc_developer_setup:"set up your local development environment",docs_desc_worker_setup:"register and configure worker machines",docs_desc_bot_setup:"connect lark or slack bots to overlord",docs_desc_local_dev:"run and debug overlord locally",docs_desc_worker_ops:"manage worker lifecycle and monitoring",docs_desc_deployment:"deploy overlord to production servers",docs_desc_bot_integration:"interactive cards, adapter pattern, troubleshooting",docs_desc_pipeline:"define multi-stage task pipelines",docs_desc_dev_workflow:"git workflow, branching, and merge requests",docs_desc_cli:"cli command reference",docs_desc_api:"http api endpoint reference",docs_desc_skill:"custom skill definitions and configuration",docs_desc_permissions:"roles, access control, and authorization",docs_desc_env_vars:"environment variables for server and worker",docs_desc_architecture:"system architecture and component overview",docs_desc_changelog:"version history and release notes"},onboarding:{getting_started:"// getting started",completed_count:"{done}/{total} completed",dismiss:"dismiss",all_done:"all set! you're ready to go.",admin_create_project_title:"create your first project",admin_create_project_desc:"set up a project with a git repo and pipeline",admin_register_worker_title:"register a worker",admin_register_worker_desc:"generate a token and set up a worker to run tasks",admin_create_developer_title:"create a developer account",admin_create_developer_desc:"add team members who can create and monitor tasks",admin_configure_bot_title:"configure a chat bot",admin_configure_bot_desc:"register a Lark or Slack bot to enable task management via chat",admin_first_task_title:"create your first task",admin_first_task_desc:"verify the full pipeline works end-to-end",lead_view_projects_title:"view your projects",lead_view_projects_desc:"check the projects assigned to you",lead_configure_pipeline_title:"configure a pipeline",lead_configure_pipeline_desc:"set up stages for your project workflow",lead_add_member_title:"add a team member",lead_add_member_desc:"invite developers to your project",lead_first_task_title:"create your first task",lead_first_task_desc:"submit a task and watch it execute",dev_install_cli_title:"install the ov cli",dev_install_cli_desc:"npm install -g @overlordai/developer-cli",dev_setup_cli_title:"run ov setup",dev_setup_cli_desc:"connect to the server and authenticate",dev_link_chat_title:"link your chat account",dev_link_chat_desc:'send "bind" to the bot in Lark or Slack to connect your account',dev_view_projects_title:"explore projects",dev_view_projects_desc:"browse available projects and their pipelines",dev_first_task_title:"create your first task",dev_first_task_desc:"submit a task via web or cli",go_to_projects:"go to projects",go_to_workers:"go to workers",go_to_tasks:"go to tasks",go_to_bots:"manage bots",manage_developers:"manage developers",cli:"cli",setup_guide:"setup guide"},bind:{title:"// link platform account",linking:"linking your account...",success:"account linked successfully!",success_detail:"your {platform} account has been connected. you can now use bot commands.",error:"failed to link account",invalid_token:'this link is invalid or has expired. send "bind" to the bot again to get a new link.',back_to_home:"go to dashboard",no_token:"no bind token provided."},pwa_install:{title:"overlord://install",command:"overlord --install",desc_1:"add to home screen for standalone app experience",desc_2:"works offline · full-screen · instant launch",install:"y — install",skip:"n — skip",ios_command:"install --manual",ios_step_1:"tap share button in safari toolbar",ios_step_2:'scroll down → tap "add to home screen"',ios_step_3:'tap "add" to confirm'},terminal_home:{title:"terminal",select_project:"project...",all_projects:"all projects",task_description_placeholder:"describe the task...",new_task:"new task",no_active_tasks:"no active tasks",create_task_hint:"create a task using the bar above to get started"}};function Sb(r,u){const s=u.split(".");let o=r;for(const f of s){if(o==null||typeof o!="object")return u;o=o[f]}return typeof o=="string"?o:u}function kb(r,u){return u?r.replace(/\{(\w+)\}/g,(s,o)=>u[o]!=null?String(u[o]):`{${o}}`):r}function Hr(r,u){return kb(Sb(xb,r),u)}function Jt(){return{t:g.useCallback((u,s)=>Hr(u,s),[])}}function rp(){const{theme:r,setTheme:u}=ip(),{t:s}=Jt(),o=r==="dark"||r==="system"&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches;function f(){u(o?"light":"dark")}return m.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":s(o?"common.switch_to_light":"common.switch_to_dark"),title:s(o?"common.light_mode":"common.dark_mode"),children:o?m.jsx(cb,{size:16}):m.jsx(ib,{size:16})})}class Ds extends Error{constructor(s,o,f){const h=s.status||s.status===0?s.status:"",_=s.statusText??"",x=`${h} ${_}`.trim(),v=x?`status code ${x}`:"an unknown error";super(`Request failed with ${v}: ${o.method} ${o.url}`);Ve(this,"response");Ve(this,"request");Ve(this,"options");this.name="HTTPError",this.response=s,this.request=o,this.options=f}}class up extends Error{constructor(s){let o="Non-error value was thrown";try{typeof s=="string"?o=s:s&&typeof s=="object"&&"message"in s&&typeof s.message=="string"&&(o=s.message)}catch{}super(o);Ve(this,"name","NonError");Ve(this,"value");this.value=s}}class js extends Error{constructor(s){const o=s!=null&&s.cause?s.cause instanceof Error?s.cause:new up(s.cause):void 0;super(s!=null&&s.code?`Forced retry: ${s.code}`:"Forced retry",o?{cause:o}:void 0);Ve(this,"name","ForceRetryError");Ve(this,"customDelay");Ve(this,"code");Ve(this,"customRequest");this.customDelay=s==null?void 0:s.delay,this.code=s==null?void 0:s.code,this.customRequest=s==null?void 0:s.request}}const xh=(()=>{let r=!1,u=!1;const s=typeof globalThis.ReadableStream=="function",o=typeof globalThis.Request=="function";if(s&&o)try{u=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type")}catch(f){if(f instanceof Error&&f.message==="unsupported BodyInit type")return!1;throw f}return r&&!u})(),Eb=typeof globalThis.AbortController=="function",op=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",wb=typeof globalThis.ReadableStream=="function",Tb=typeof globalThis.FormData=="function",sp=["get","post","put","patch","head","delete"],jb={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},Rs=2147483647,Rb=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,cp=Symbol("stop");class fp{constructor(u){Ve(this,"options");this.options=u}}const Ab=r=>new fp(r),zb={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},Ob={next:!0},Cb={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},Db=r=>{if(!r)return 0;if(r instanceof FormData){let u=0;for(const[s,o]of r)u+=Rb,u+=new TextEncoder().encode(`Content-Disposition: form-data; name="${s}"`).length,u+=typeof o=="string"?new TextEncoder().encode(o).length:o.size;return u}if(r instanceof Blob)return r.size;if(r instanceof ArrayBuffer)return r.byteLength;if(typeof r=="string")return new TextEncoder().encode(r).length;if(r instanceof URLSearchParams)return new TextEncoder().encode(r.toString()).length;if("byteLength"in r)return r.byteLength;if(typeof r=="object"&&r!==null)try{const u=JSON.stringify(r);return new TextEncoder().encode(u).length}catch{return 0}return 0},dp=(r,u,s)=>{let o,f=0;return r.pipeThrough(new TransformStream({transform(h,_){if(_.enqueue(h),o){f+=o.byteLength;let x=u===0?0:f/u;x>=1&&(x=1-Number.EPSILON),s==null||s({percent:x,totalBytes:Math.max(u,f),transferredBytes:f},o)}o=h},flush(){o&&(f+=o.byteLength,s==null||s({percent:1,totalBytes:Math.max(u,f),transferredBytes:f},o))}}))},Nb=(r,u)=>{if(!r.body)return r;if(r.status===204)return new Response(null,{status:r.status,statusText:r.statusText,headers:r.headers});const s=Math.max(0,Number(r.headers.get("content-length"))||0);return new Response(dp(r.body,s,u),{status:r.status,statusText:r.statusText,headers:r.headers})},Mb=(r,u,s)=>{if(!r.body)return r;const o=Db(s??r.body);return new Request(r,{duplex:"half",body:dp(r.body,o,u)})},gn=r=>r!==null&&typeof r=="object",Dr=(...r)=>{for(const u of r)if((!gn(u)||Array.isArray(u))&&u!==void 0)throw new TypeError("The `options` argument must be an object");return $s({},...r)},mp=(r={},u={})=>{const s=new globalThis.Headers(r),o=u instanceof globalThis.Headers,f=new globalThis.Headers(u);for(const[h,_]of f.entries())o&&_==="undefined"||_===void 0?s.delete(h):s.set(h,_);return s};function Nr(r,u,s){return Object.hasOwn(u,s)&&u[s]===void 0?[]:$s(r[s]??[],u[s]??[])}const hp=(r={},u={})=>({beforeRequest:Nr(r,u,"beforeRequest"),beforeRetry:Nr(r,u,"beforeRetry"),afterResponse:Nr(r,u,"afterResponse"),beforeError:Nr(r,u,"beforeError")}),Ub=(r,u)=>{const s=new URLSearchParams;for(const o of[r,u])if(o!==void 0)if(o instanceof URLSearchParams)for(const[f,h]of o.entries())s.append(f,h);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");s.append(String(f[0]),String(f[1]))}else if(gn(o))for(const[f,h]of Object.entries(o))h!==void 0&&s.append(f,String(h));else{const f=new URLSearchParams(o);for(const[h,_]of f.entries())s.append(h,_)}return s},$s=(...r)=>{let u={},s={},o={},f;const h=[];for(const _ of r)if(Array.isArray(_))Array.isArray(u)||(u=[]),u=[...u,..._];else if(gn(_)){for(let[x,v]of Object.entries(_)){if(x==="signal"&&v instanceof globalThis.AbortSignal){h.push(v);continue}if(x==="context"){if(v!=null&&(!gn(v)||Array.isArray(v)))throw new TypeError("The `context` option must be an object");u={...u,context:v==null?{}:{...u.context,...v}};continue}if(x==="searchParams"){v==null?f=void 0:f=f===void 0?v:Ub(f,v);continue}gn(v)&&x in u&&(v=$s(u[x],v)),u={...u,[x]:v}}gn(_.hooks)&&(o=hp(o,_.hooks),u.hooks=o),gn(_.headers)&&(s=mp(s,_.headers),u.headers=s)}return f!==void 0&&(u.searchParams=f),h.length>0&&(h.length===1?u.signal=h[0]:op?u.signal=AbortSignal.any(h):u.signal=h.at(-1)),u},qb=r=>sp.includes(r)?r.toUpperCase():r,Lb=["get","put","head","delete","options","trace"],Hb=[408,413,429,500,502,503,504],Bb=[413,429,503],Sh={limit:2,methods:Lb,statusCodes:Hb,afterStatusCodes:Bb,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:r=>.3*2**(r-1)*1e3,jitter:void 0,retryOnTimeout:!1},Yb=(r={})=>{if(typeof r=="number")return{...Sh,limit:r};if(r.methods&&!Array.isArray(r.methods))throw new Error("retry.methods must be an array");if(r.methods&&(r.methods=r.methods.map(s=>s.toLowerCase())),r.statusCodes&&!Array.isArray(r.statusCodes))throw new Error("retry.statusCodes must be an array");const u=Object.fromEntries(Object.entries(r).filter(([,s])=>s!==void 0));return{...Sh,...u}};class Ns extends Error{constructor(s){super(`Request timed out: ${s.method} ${s.url}`);Ve(this,"request");this.name="TimeoutError",this.request=s}}async function Gb(r,u,s,o){return new Promise((f,h)=>{const _=setTimeout(()=>{s&&s.abort(),h(new Ns(r))},o.timeout);o.fetch(r,u).then(f).catch(h).then(()=>{clearTimeout(_)})})}async function Vb(r,{signal:u}){return new Promise((s,o)=>{u&&(u.throwIfAborted(),u.addEventListener("abort",f,{once:!0}));function f(){clearTimeout(h),o(u.reason)}const h=setTimeout(()=>{u==null||u.removeEventListener("abort",f),s()},r)})}const Xb=(r,u)=>{const s={};for(const o in u)Object.hasOwn(u,o)&&!(o in Cb)&&!(o in zb)&&(!(o in r)||o in Ob)&&(s[o]=u[o]);return s},Qb=r=>r===void 0?!1:Array.isArray(r)?r.length>0:r instanceof URLSearchParams?r.size>0:typeof r=="object"?Object.keys(r).length>0:typeof r=="string"?r.trim().length>0:!!r;function Zb(r){return r instanceof Ds||(r==null?void 0:r.name)===Ds.name}function Kb(r){return r instanceof Ns||(r==null?void 0:r.name)===Ns.name}var Zr,pp,Kt,Bt,rt,X,$a,ea,vn,ue,Br,_p,Ms,Yr,Ja,Us,yp,ii,Gr,qs;const ri=class ri{constructor(u,s={}){Pt(this,ue);Ve(this,"request");Pt(this,Kt);Pt(this,Bt,0);Pt(this,rt);Pt(this,X);Pt(this,$a);Pt(this,ea);Pt(this,vn);var f,h,_;if(Zt(this,rt,u),Zt(this,X,{...s,headers:mp(U(this,rt).headers,s.headers),hooks:hp({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},s.hooks),method:qb(s.method??U(this,rt).method??"GET"),prefixUrl:String(s.prefixUrl||""),retry:Yb(s.retry),throwHttpErrors:s.throwHttpErrors??!0,timeout:s.timeout??1e4,fetch:s.fetch??globalThis.fetch.bind(globalThis),context:s.context??{}}),typeof U(this,rt)!="string"&&!(U(this,rt)instanceof URL||U(this,rt)instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(U(this,X).prefixUrl&&typeof U(this,rt)=="string"){if(U(this,rt).startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");U(this,X).prefixUrl.endsWith("/")||(U(this,X).prefixUrl+="/"),Zt(this,rt,U(this,X).prefixUrl+U(this,rt))}Eb&&op&&(Zt(this,ea,U(this,X).signal??U(this,rt).signal),Zt(this,Kt,new globalThis.AbortController),U(this,X).signal=U(this,ea)?AbortSignal.any([U(this,ea),U(this,Kt).signal]):U(this,Kt).signal),xh&&(U(this,X).duplex="half"),U(this,X).json!==void 0&&(U(this,X).body=((h=(f=U(this,X)).stringifyJson)==null?void 0:h.call(f,U(this,X).json))??JSON.stringify(U(this,X).json),U(this,X).headers.set("content-type",U(this,X).headers.get("content-type")??"application/json"));const o=s.headers&&new globalThis.Headers(s.headers).has("content-type");if(U(this,rt)instanceof globalThis.Request&&(Tb&&U(this,X).body instanceof globalThis.FormData||U(this,X).body instanceof URLSearchParams)&&!o&&U(this,X).headers.delete("content-type"),this.request=new globalThis.Request(U(this,rt),U(this,X)),Qb(U(this,X).searchParams)){const v="?"+(typeof U(this,X).searchParams=="string"?U(this,X).searchParams.replace(/^\?/,""):new URLSearchParams(Se(_=ri,Zr,pp).call(_,U(this,X).searchParams)).toString()),p=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,v);this.request=new globalThis.Request(p,U(this,X))}if(U(this,X).onUploadProgress){if(typeof U(this,X).onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!xh)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=Se(this,ue,qs).call(this,this.request,U(this,X).body??void 0)}}static create(u,s){var _,x,v;const o=new ri(u,s),f=async()=>{var j,k,M,V,B,q,L,H,I,J,_e,ye;if(typeof U(o,X).timeout=="number"&&U(o,X).timeout>Rs)throw new RangeError(`The \`timeout\` option cannot be greater than ${Rs}`);await Promise.resolve();let p=await Se(j=o,ue,yp).call(j);for(const he of U(o,X).hooks.afterResponse){const W=Se(k=o,ue,Ms).call(k,p.clone());let $;try{$=await he(o.request,Se(M=o,ue,ii).call(M),W,{retryCount:U(o,Bt)})}catch(Pe){throw Se(V=o,ue,Ja).call(V,W),Se(B=o,ue,Ja).call(B,p),Pe}if($ instanceof fp)throw Se(q=o,ue,Ja).call(q,W),Se(L=o,ue,Ja).call(L,p),new js($.options);const oe=$ instanceof globalThis.Response?$:p;W!==oe&&Se(H=o,ue,Ja).call(H,W),p!==oe&&Se(I=o,ue,Ja).call(I,p),p=oe}if(Se(J=o,ue,Ms).call(J,p),!p.ok&&(typeof U(o,X).throwHttpErrors=="function"?U(o,X).throwHttpErrors(p.status):U(o,X).throwHttpErrors)){let he=new Ds(p,o.request,Se(_e=o,ue,ii).call(_e));for(const W of U(o,X).hooks.beforeError)he=await W(he,{retryCount:U(o,Bt)});throw he}if(U(o,X).onDownloadProgress){if(typeof U(o,X).onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!wb)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");const he=p.clone();return Se(ye=o,ue,Ja).call(ye,p),Nb(he,U(o,X).onDownloadProgress)}return p},h=Se(_=o,ue,Us).call(_,f).finally(()=>{var j,k;const p=U(o,$a);Se(j=o,ue,Yr).call(j,(p==null?void 0:p.body)??void 0),Se(k=o,ue,Yr).call(k,o.request.body??void 0)});for(const[p,j]of Object.entries(jb))p==="bytes"&&typeof((v=(x=globalThis.Response)==null?void 0:x.prototype)==null?void 0:v.bytes)!="function"||(h[p]=async()=>{o.request.headers.set("accept",o.request.headers.get("accept")||j);const k=await h;if(p==="json"){if(k.status===204)return"";const M=await k.text();return M===""?"":s.parseJson?s.parseJson(M):JSON.parse(M)}return k[p]()});return h}};Zr=new WeakSet,pp=function(u){return u&&typeof u=="object"&&!Array.isArray(u)&&!(u instanceof URLSearchParams)?Object.fromEntries(Object.entries(u).filter(([,s])=>s!==void 0)):u},Kt=new WeakMap,Bt=new WeakMap,rt=new WeakMap,X=new WeakMap,$a=new WeakMap,ea=new WeakMap,vn=new WeakMap,ue=new WeakSet,Br=function(){const u=U(this,X).retry.delay(U(this,Bt));let s=u;U(this,X).retry.jitter===!0?s=Math.random()*u:typeof U(this,X).retry.jitter=="function"&&(s=U(this,X).retry.jitter(u),(!Number.isFinite(s)||s<0)&&(s=u));const o=U(this,X).retry.backoffLimit??Number.POSITIVE_INFINITY;return Math.min(o,s)},_p=async function(u){if(Pm(this,Bt)._++,U(this,Bt)>U(this,X).retry.limit)throw u;const s=u instanceof Error?u:new up(u);if(s instanceof js)return s.customDelay??Se(this,ue,Br).call(this);if(!U(this,X).retry.methods.includes(this.request.method.toLowerCase()))throw u;if(U(this,X).retry.shouldRetry!==void 0){const o=await U(this,X).retry.shouldRetry({error:s,retryCount:U(this,Bt)});if(o===!1)throw u;if(o===!0)return Se(this,ue,Br).call(this)}if(Kb(u)&&!U(this,X).retry.retryOnTimeout)throw u;if(Zb(u)){if(!U(this,X).retry.statusCodes.includes(u.response.status))throw u;const o=u.response.headers.get("Retry-After")??u.response.headers.get("RateLimit-Reset")??u.response.headers.get("X-RateLimit-Retry-After")??u.response.headers.get("X-RateLimit-Reset")??u.response.headers.get("X-Rate-Limit-Reset");if(o&&U(this,X).retry.afterStatusCodes.includes(u.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 h=U(this,X).retry.maxRetryAfter??f;return f<h?f:h}if(u.response.status===413)throw u}return Se(this,ue,Br).call(this)},Ms=function(u){return U(this,X).parseJson&&(u.json=async()=>U(this,X).parseJson(await u.text())),u},Yr=function(u){u&&u.cancel().catch(()=>{})},Ja=function(u){Se(this,ue,Yr).call(this,u.body??void 0)},Us=async function(u){try{return await u()}catch(s){const o=Math.min(await Se(this,ue,_p).call(this,s),Rs);if(U(this,Bt)<1)throw s;if(await Vb(o,U(this,ea)?{signal:U(this,ea)}:{}),s instanceof js&&s.customRequest){const f=U(this,X).signal?new globalThis.Request(s.customRequest,{signal:U(this,X).signal}):new globalThis.Request(s.customRequest);Se(this,ue,Gr).call(this,f)}for(const f of U(this,X).hooks.beforeRetry){const h=await f({request:this.request,options:Se(this,ue,ii).call(this),error:s,retryCount:U(this,Bt)});if(h instanceof globalThis.Request){Se(this,ue,Gr).call(this,h);break}if(h instanceof globalThis.Response)return h;if(h===cp)return}return Se(this,ue,Us).call(this,u)}},yp=async function(){var s;(s=U(this,Kt))!=null&&s.signal.aborted&&(Zt(this,Kt,new globalThis.AbortController),U(this,X).signal=U(this,ea)?AbortSignal.any([U(this,ea),U(this,Kt).signal]):U(this,Kt).signal,this.request=new globalThis.Request(this.request,{signal:U(this,X).signal}));for(const o of U(this,X).hooks.beforeRequest){const f=await o(this.request,Se(this,ue,ii).call(this),{retryCount:U(this,Bt)});if(f instanceof Response)return f;if(f instanceof globalThis.Request){Se(this,ue,Gr).call(this,f);break}}const u=Xb(this.request,U(this,X));return Zt(this,$a,this.request),this.request=U(this,$a).clone(),U(this,X).timeout===!1?U(this,X).fetch(U(this,$a),u):Gb(U(this,$a),u,U(this,Kt),U(this,X))},ii=function(){if(!U(this,vn)){const{hooks:u,...s}=U(this,X);Zt(this,vn,Object.freeze(s))}return U(this,vn)},Gr=function(u){Zt(this,vn,void 0),this.request=Se(this,ue,qs).call(this,u)},qs=function(u,s){return!U(this,X).onUploadProgress||!u.body?u:Mb(u,U(this,X).onUploadProgress,s??U(this,X).body??void 0)},Pt(ri,Zr);let Qr=ri;/*! MIT License © Sindre Sorhus */const Ls=r=>{const u=(s,o)=>Qr.create(s,Dr(r,o));for(const s of sp)u[s]=(o,f)=>Qr.create(o,Dr(r,f,{method:s}));return u.create=s=>Ls(Dr(s)),u.extend=s=>(typeof s=="function"&&(s=s(r??{})),Ls(Dr(r,s))),u.stop=cp,u.retry=Ab,u},kh=Ls();let Mr=null;const Vr=kh.create({prefixUrl:"/api",timeout:3e4,hooks:{beforeRequest:[r=>{const u=xa.getState().accessToken;u&&r.headers.set("Authorization",`Bearer ${u}`)}],afterResponse:[async(r,u,s)=>{if(s.status===401&&!r.headers.has("X-Retry-After-Refresh")){Mr||(Mr=xa.getState().refresh().finally(()=>{Mr=null}));try{await Mr}catch{throw s}const o=xa.getState().accessToken;return o&&r.headers.set("Authorization",`Bearer ${o}`),r.headers.set("X-Retry-After-Refresh","1"),kh(r,u)}}]}}),Jb=3e4;function $b(r){if(r.link)return r.link;const u=(r.title+" "+r.body).match(/task\s*#?(\d+)/i);if(u)return`/tasks/${u[1]}`;const s=(r.title+" "+r.body).match(/worker\s+(\S+)/i);return s?`/workers/${s[1]}`:null}function gp(){const r=Fa(),[u,s]=g.useState([]),[o,f]=g.useState(0),[h,_]=g.useState(!1),[x,v]=g.useState(!1),p=g.useRef(null),{t:j}=Jt(),k=g.useRef(async()=>{try{v(!0);const q=(await Vr.get("web/notifications",{searchParams:{limit:"20"}}).json()).data,L=q.filter(H=>!H.isRead).length;s(H=>H.length===q.length&&H.every((I,J)=>I.id===q[J].id&&I.isRead===q[J].isRead)?H:q),f(H=>H===L?H:L)}catch{}finally{v(!1)}});g.useEffect(()=>{k.current();const B=setInterval(()=>k.current(),Jb);return()=>clearInterval(B)},[]),g.useEffect(()=>{function B(q){p.current&&!p.current.contains(q.target)&&_(!1)}return document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)},[]);async function M(B){try{await Vr.post(`web/notifications/${B}/read`),s(q=>q.map(L=>L.id===B?{...L,isRead:!0}:L)),f(q=>Math.max(0,q-1))}catch{}}async function V(){try{await Vr.post("web/notifications/read-all"),s(B=>B.map(q=>({...q,isRead:!0}))),f(0)}catch{}}return m.jsxs("div",{className:"relative",ref:p,children:[m.jsxs("button",{type:"button",onClick:()=>_(B=>!B),"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:[m.jsx(Vv,{size:16}),o>0&&m.jsx("span",{className:"absolute right-0 top-0 flex h-3 min-w-3 items-center justify-center rounded-full bg-[var(--destructive)] px-0.5 text-[8px] font-semibold leading-none text-white",children:o})]}),h&&m.jsxs("div",{className:"absolute right-0 top-full z-50 mt-2 w-[min(320px,calc(100vw-2rem))] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-lg",children:[m.jsxs("div",{className:"flex items-center justify-between border-b border-[var(--border)] px-4 py-3",children:[m.jsx("span",{className:"text-sm font-semibold",children:j("common.notifications")}),o>0&&m.jsxs("button",{type:"button",onClick:V,"aria-label":j("common.mark_all_read"),className:"inline-flex items-center gap-1.5 text-xs text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:[m.jsx(Xv,{className:"h-3.5 w-3.5"}),j("common.mark_all_read")]})]}),m.jsx("div",{className:"max-h-80 overflow-y-auto",children:x&&u.length===0?m.jsx("div",{className:"flex justify-center py-8",children:m.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})}):u.length===0?m.jsxs("div",{className:"flex flex-col items-center gap-3 py-8",children:[m.jsx("span",{className:"text-xl font-bold text-[var(--border)]",children:"[ ]"}),m.jsx("span",{className:"text-xs text-[var(--text-muted)]",children:j("common.no_notifications")})]}):u.map(B=>{const q=$b(B);return m.jsxs("div",{className:`flex items-start gap-3 border-b border-[var(--border)] px-4 py-3 last:border-b-0 transition-colors ${q?"cursor-pointer hover:bg-[var(--bg-input)]":""} ${B.isRead?"opacity-60":"bg-[var(--accent)]/5"}`,onClick:()=>{q&&(B.isRead||M(B.id),_(!1),r(q))},children:[m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("p",{className:"text-sm font-medium",children:B.title}),m.jsx("p",{className:"text-xs text-[var(--text-secondary)]",children:B.body}),m.jsx("p",{className:"mt-1 text-xs text-[var(--text-secondary)] opacity-60",children:new Date(B.createdAt).toLocaleString()})]}),!B.isRead&&m.jsx("button",{type:"button",onClick:L=>{L.stopPropagation(),M(B.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:m.jsx(Qv,{className:"h-3.5 w-3.5"})})]},B.id)})})]})]})}function Wb(r){return{tasks:r.tasks.map(u=>({type:"task",id:u.id,title:`#${u.id} ${u.description}`,subtitle:`${u.status} · ${u.project_key}`})),workers:(r.workers??[]).map(u=>({type:"worker",id:u.id,title:u.name,subtitle:`${u.hostname} · ${u.status}`})),projects:r.projects.map(u=>({type:"project",id:u.key,title:u.name,subtitle:u.repository}))}}const Fb=300,Eh={tasks:sb,workers:Ph,projects:Fv},Ib={tasks:"tasks",workers:"workers",projects:"projects"};function vp({renderTrigger:r}={}){const[u,s]=g.useState(""),[o,f]=g.useState({tasks:[],workers:[],projects:[]}),[h,_]=g.useState(!1),[x,v]=g.useState(!1),[p,j]=g.useState(0),k=g.useRef(null),M=g.useRef(null),V=g.useRef(void 0),B=g.useRef(void 0),q=Fa(),{t:L}=Jt(),H=g.useMemo(()=>[...o.tasks,...o.workers,...o.projects],[o]),I=g.useCallback(async $=>{var Pe;if(!$.trim()){f({tasks:[],workers:[],projects:[]});return}(Pe=B.current)==null||Pe.abort();const oe=new AbortController;B.current=oe;try{_(!0);const Je=await Vr.get("web/search",{searchParams:{q:$},signal:oe.signal}).json();f(Wb(Je)),j(0)}catch(Je){if(Je instanceof DOMException&&Je.name==="AbortError")return}finally{oe.signal.aborted||_(!1)}},[]);g.useEffect(()=>(V.current&&clearTimeout(V.current),V.current=setTimeout(()=>I(u),Fb),()=>{V.current&&clearTimeout(V.current)}),[u,I]),g.useEffect(()=>{function $(oe){oe.key==="/"&&!x&&!(oe.target instanceof HTMLInputElement||oe.target instanceof HTMLTextAreaElement)&&(oe.preventDefault(),v(!0)),oe.key==="Escape"&&x&&(oe.preventDefault(),J())}return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[x]),g.useEffect(()=>{x&&setTimeout(()=>{var $;return($=M.current)==null?void 0:$.focus()},50)},[x]);function J(){v(!1),s(""),f({tasks:[],workers:[],projects:[]}),j(0)}function _e($){switch(J(),$.type){case"task":q(`/tasks/${$.id}`);break;case"worker":q(`/workers/${$.id}`);break;case"project":q(`/projects/${$.id}`);break}}function ye($){$.key==="ArrowDown"?($.preventDefault(),j(oe=>Math.min(oe+1,H.length-1))):$.key==="ArrowUp"?($.preventDefault(),j(oe=>Math.max(oe-1,0))):$.key==="Enter"&&H[p]&&($.preventDefault(),_e(H[p]))}const he=H.length>0;let W=0;return m.jsxs(m.Fragment,{children:[r?r(()=>v(!0)):m.jsxs("button",{type:"button",onClick:()=>v(!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:[m.jsx(Ih,{className:"h-3.5 w-3.5"}),m.jsx("span",{children:L("common.search_placeholder")}),m.jsx("kbd",{className:"ml-2 rounded-[4px] border border-[var(--border)] bg-[var(--bg-primary)] px-1.5 py-0.5 text-[11px] text-[var(--text-muted)]",children:"/"})]}),x&&m.jsx("div",{ref:k,className:"fixed inset-0 z-[100] flex items-start justify-center pt-[calc(var(--safe-area-top,0px)+16px)] md:pt-[15vh]",style:{backgroundColor:"rgba(0, 0, 0, 0.6)"},onClick:$=>{$.target===k.current&&J()},children:m.jsxs("div",{className:"mx-3 w-full max-w-[640px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-2xl sm:mx-4 md:mx-0",children:[m.jsxs("div",{className:"flex items-center gap-3 border-b border-[var(--border)] px-4 py-3",children:[m.jsx("span",{className:"text-sm text-[var(--accent)]",children:"/"}),m.jsx("input",{ref:M,type:"text",placeholder:L("common.search_input_placeholder"),value:u,onChange:$=>s($.target.value),onKeyDown:ye,className:"flex-1 bg-transparent text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] outline-none"}),h&&m.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})]}),m.jsx("div",{className:"max-h-[50vh] overflow-y-auto sm:max-h-[60vh] md:max-h-[400px]",children:u.trim()&&!he&&!h?m.jsx("div",{className:"py-10 text-center text-xs text-[var(--text-muted)]",children:L("common.no_search_results",{query:u})}):Object.keys(Eh).map($=>{const oe=o[$];if(oe.length===0)return null;const Pe=Eh[$],Je=W;return W+=oe.length,m.jsxs("div",{children:[m.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 text-[var(--text-muted)]",children:[m.jsx(Pe,{className:"h-3 w-3"}),m.jsx("span",{className:"text-[11px] lowercase tracking-wider",children:Ib[$]})]}),oe.map((qe,At)=>{const ut=Je+At,Ne=ut===p;return m.jsxs("button",{type:"button",className:`flex w-full items-center gap-3 px-4 py-2.5 text-left transition-colors ${Ne?"bg-[var(--accent)]/10 text-[var(--accent)]":"hover:bg-[var(--bg-input)]"}`,onClick:()=>_e(qe),onMouseEnter:()=>j(ut),children:[m.jsx("span",{className:`text-xs ${Ne?"text-[var(--accent)]":"text-[var(--text-muted)]"}`,children:Ne?">":" "}),m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("p",{className:"truncate text-sm",children:qe.title}),qe.subtitle&&m.jsx("p",{className:"truncate text-xs text-[var(--text-muted)]",children:qe.subtitle})]})]},`${qe.type}-${qe.id}`)})]},$)})}),m.jsxs("div",{className:"hidden items-center gap-4 border-t border-[var(--border)] px-4 py-2 md:flex",children:[m.jsxs("span",{className:"flex items-center gap-1 text-[11px] text-[var(--text-muted)]",children:[m.jsx("kbd",{className:"rounded-[4px] border border-[var(--border)] px-1",children:"↑↓"})," ",L("common.navigate_hint")]}),m.jsxs("span",{className:"flex items-center gap-1 text-[11px] text-[var(--text-muted)]",children:[m.jsx("kbd",{className:"rounded-[4px] border border-[var(--border)] px-1",children:"↵"})," ",L("common.select_hint")]}),m.jsxs("span",{className:"flex items-center gap-1 text-[11px] text-[var(--text-muted)]",children:[m.jsx("kbd",{className:"rounded-[4px] border border-[var(--border)] px-1",children:"esc"})," ",L("common.close_hint")]})]})]})})]})}const Pb={danger:"var(--destructive)",warning:"var(--warning)",accent:"var(--accent)"},wh="confirm-dialog-title";function Th(r){return Array.from(r.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'))}function e0({isOpen:r,onClose:u,onConfirm:s,title:o,message:f,confirmVariant:h="danger",isLoading:_,...x}){const{t:v}=Jt(),p=x.confirmLabel??v("common.confirm"),j=x.cancelLabel??v("common.cancel"),k=g.useRef(null),M=g.useRef(null),V=Pb[h];g.useEffect(()=>{if(!r)return;M.current=document.activeElement;const q=requestAnimationFrame(()=>{if(k.current){const L=Th(k.current);L.length>0&&L[0].focus()}});return()=>{var L;cancelAnimationFrame(q),(L=M.current)==null||L.focus()}},[r]);const B=g.useCallback(q=>{if(q.key==="Tab"&&k.current){const L=Th(k.current);if(L.length===0)return;const H=L[0],I=L[L.length-1];q.shiftKey?document.activeElement===H&&(q.preventDefault(),I.focus()):document.activeElement===I&&(q.preventDefault(),H.focus())}},[]);return r?m.jsx("div",{onClick:u,style:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"flex-start",justifyContent:"center",paddingTop:"max(1rem, 10vh)",paddingLeft:"1rem",paddingRight:"1rem",backgroundColor:"var(--modal-backdrop, rgba(12,12,12,0.6))"},children:m.jsxs("div",{ref:k,role:"dialog","aria-modal":"true","aria-labelledby":wh,onClick:q=>q.stopPropagation(),onKeyDown:B,style:{width:"100%",maxWidth:"480px",backgroundColor:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"4px",padding:"1.5rem"},children:[m.jsx("div",{style:{marginBottom:"1.25rem"},children:m.jsxs("div",{id:wh,style:{color:"var(--accent)",fontSize:"0.875rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[m.jsx(ep,{style:{width:"1rem",height:"1rem"}}),o]})}),m.jsx("div",{style:{marginBottom:"1.25rem"},children:m.jsx("p",{style:{color:"var(--text-muted)",fontSize:"0.75rem",lineHeight:"1.5"},children:f})}),m.jsxs("div",{style:{display:"flex",gap:"0.75rem"},children:[m.jsx("button",{type:"button",onClick:u,disabled:_,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",cursor:_?"not-allowed":"pointer",opacity:_?.7:1,transition:"color 0.15s, border-color 0.15s"},children:j}),m.jsx("button",{type:"button",onClick:s,disabled:_,style:{flex:1,padding:"0.5rem",backgroundColor:V,color:"#0C0C0C",border:"none",borderRadius:"4px",fontSize:"0.75rem",fontWeight:600,cursor:_?"not-allowed":"pointer",opacity:_?.7:1},children:_?v("common.processing"):p})]})]})}):null}const jh="overlord-pwa-install-dismissed";function t0(){const r=navigator.userAgent;return/iP(hone|od|ad)/.test(r)&&/WebKit/.test(r)&&!/(CriOS|FxiOS|OPiOS|mercury)/.test(r)}function a0(){return navigator.standalone===!0||window.matchMedia("(display-mode: standalone)").matches}function n0(){const{t:r}=Jt(),[u,s]=g.useState("hidden"),[o,f]=g.useState(!1),h=g.useRef(null),_=g.useRef(void 0);g.useEffect(()=>{if(a0()||localStorage.getItem(jh)||window.innerWidth>=768)return;const p=k=>{k.preventDefault(),h.current=k};window.addEventListener("beforeinstallprompt",p);const j=setTimeout(()=>s("visible"),1e3);return()=>{window.removeEventListener("beforeinstallprompt",p),clearTimeout(j),clearTimeout(_.current)}},[]);function x(){localStorage.setItem(jh,"1"),s("dismissing"),_.current=setTimeout(()=>s("hidden"),200)}async function v(){if(h.current){await h.current.prompt();const{outcome:p}=await h.current.userChoice;p==="accepted"&&x(),h.current=null}else t0()&&f(!0)}return u==="hidden"?null:m.jsx("div",{className:`fixed bottom-4 left-4 right-4 z-40 md:hidden ${u==="dismissing"?"animate-slide-down":"animate-slide-up"}`,role:"dialog","aria-label":r("pwa_install.title"),children:m.jsxs("div",{className:"overflow-hidden rounded-[4px] border border-[var(--accent)]/40 bg-[#0C0C0C] shadow-[0_8px_32px_rgba(0,0,0,0.4)]",children:[m.jsxs("div",{className:"flex items-center justify-between border-b border-[var(--accent)]/20 bg-[var(--accent)]/[0.06] px-3 py-1.5",children:[m.jsxs("div",{className:"flex items-center gap-1.5",children:[m.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[var(--accent)]"}),m.jsx("span",{className:"text-[9px] font-medium text-[var(--accent)]",children:r("pwa_install.title")})]}),m.jsx("button",{onClick:x,className:"p-1 text-[var(--text-muted)] transition-colors hover:text-[var(--text-primary)]",children:m.jsx(tp,{size:14})})]}),m.jsx("div",{className:"px-3.5 py-3",children:o?m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"text-[10px] text-[var(--text-muted)]",children:[m.jsx("span",{className:"text-[var(--accent)]",children:"$"})," ",r("pwa_install.ios_command")]}),m.jsx("div",{className:"mt-2.5 flex flex-col gap-2.5",children:[r("pwa_install.ios_step_1"),r("pwa_install.ios_step_2"),r("pwa_install.ios_step_3")].map((p,j)=>m.jsxs("div",{className:"flex items-center gap-2.5",children:[m.jsx("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] bg-[var(--accent)]/[0.08]",children:m.jsx("span",{className:"text-xs font-semibold text-[var(--accent)]",children:j+1})}),m.jsxs("span",{className:"text-[10px] leading-snug text-[var(--text-secondary)]",children:[j===0&&m.jsx(ub,{size:12,className:"mr-1 inline-block align-text-bottom text-[var(--text-muted)]"}),p]})]},j))})]}):m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"text-[10px] text-[var(--text-muted)]",children:[m.jsx("span",{className:"text-[var(--accent)]",children:"$"})," ",r("pwa_install.command")]}),m.jsxs("div",{className:"mt-1.5 text-[10px] leading-relaxed text-[var(--text-secondary)]",children:["→ ",r("pwa_install.desc_1"),m.jsx("br",{}),"→ ",r("pwa_install.desc_2")]}),m.jsxs("div",{className:"mt-2.5 flex gap-2",children:[m.jsx("button",{onClick:v,className:"rounded-[4px] bg-[var(--accent)] px-4 py-1.5 text-[10px] font-semibold text-black transition-all hover:brightness-110",children:r("pwa_install.install")}),m.jsx("button",{onClick:x,className:"rounded-[4px] border border-[#333] px-3 py-1.5 text-[10px] text-[var(--text-muted)] transition-colors hover:border-[var(--text-muted)]",children:r("pwa_install.skip")})]})]})})]})})}const bp=g.createContext({setActions:()=>{}});function T1(r){const{setActions:u}=g.useContext(bp);g.useEffect(()=>(u(r),()=>u(null)),[r,u])}const xp=g.createContext({setSubtitle:()=>{}});function j1(r){const{setSubtitle:u}=g.useContext(xp);g.useEffect(()=>(u(r),()=>u(null)),[r,u])}const l0=[{to:"/home",label:"terminal",icon:Js},{to:"/tasks",label:"tasks",icon:Fh},{to:"/dashboard",label:"dashboard",icon:Wh},{to:"/workers",label:"workers",icon:Ph},{to:"/projects",label:"projects",icon:Iv},{to:"/access-tokens",label:"tokens",icon:eb}],i0=[{to:"/docs/cli",label:"cli",icon:Js},{to:"/docs/api",label:"api",icon:Wv},{to:"/docs/bot",label:"bot",icon:lb},{to:"/docs/all",label:"all",icon:tb}],r0=[{to:"/admin",label:"admin",icon:ob}],u0=[{to:"/home",label:"terminal",icon:Js},{to:"/tasks",label:"tasks",icon:Fh},{to:"/dashboard",label:"dashboard",icon:Wh}],Ur={"/home":{title:"common.breadcrumb_terminal",subtitle:"common.breadcrumb_terminal_sub"},"/dashboard":{title:"common.breadcrumb_dashboard",subtitle:"common.breadcrumb_dashboard_sub"},"/tasks":{title:"common.breadcrumb_tasks",subtitle:"common.breadcrumb_tasks_sub"},"/workers":{title:"common.breadcrumb_workers",subtitle:"common.breadcrumb_workers_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_tokens",subtitle:"common.breadcrumb_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"},"/docs/bot":{title:"common.breadcrumb_docs",subtitle:"common.breadcrumb_docs_bot_sub"},"/docs/all":{title:"common.breadcrumb_docs",subtitle:"common.breadcrumb_docs_all_sub"}};function o0(r){const{t:u}=Jt();if(Ur[r]){const o=Ur[r];return{title:u(o.title),subtitle:u(o.subtitle)}}const s="/"+r.split("/").filter(Boolean)[0];if(Ur[s]){const o=Ur[s],f=r.split("/").filter(Boolean).slice(1).join(" / ");return{title:u(o.title),subtitle:f||u(o.subtitle)}}return{title:r.slice(1).replace(/\//g," // ")||"home"}}function s0(r,u){return r==="/home"?u==="/home":r==="/dashboard"?u==="/dashboard":u.startsWith(r)}function c0(){const r=yt(),{t:u}=Jt(),s={terminal:u("terminal_home.title"),dashboard:u("dashboard.title"),tasks:u("tasks.title"),workers:u("workers.title")};return m.jsxs("nav",{className:"flex items-center justify-around border-t border-[var(--border)] bg-[var(--bg-card)] md:hidden",style:{height:"calc(60px + var(--safe-area-bottom, 0px))",paddingTop:8,paddingBottom:"var(--safe-area-bottom, 0px)"},children:[u0.map(({to:o,label:f,icon:h})=>{const _=s0(o,r.pathname);return m.jsxs(Ks,{to:o,className:"flex flex-1 flex-col items-center gap-1",children:[m.jsx(h,{size:18,className:_?"text-[var(--accent)]":"text-[var(--text-muted)]"}),m.jsx("span",{className:`text-[11px] lowercase ${_?"font-bold text-[var(--accent)]":"text-[var(--text-muted)]"}`,children:s[f]??f})]},o)}),m.jsx(vp,{renderTrigger:o=>m.jsxs("button",{type:"button",onClick:o,className:"flex flex-1 flex-col items-center gap-1",children:[m.jsx(Ih,{size:18,className:"text-[var(--text-muted)]"}),m.jsx("span",{className:"text-[11px] lowercase text-[var(--text-muted)]",children:u("common.search_placeholder")})]})})]})}function f0(){const r=Fa(),{t:u}=Jt();return m.jsxs("header",{className:"flex items-center justify-between border-b border-[var(--border)] bg-[var(--bg-card)] px-4 md:hidden",style:{height:"calc(56px + env(safe-area-inset-top, 0px))",minHeight:"calc(56px + env(safe-area-inset-top, 0px))",paddingTop:"env(safe-area-inset-top, 0px)"},children:[m.jsxs("button",{onClick:()=>r("/home"),className:"flex items-center gap-2",style:{background:"none",border:"none",padding:0},children:[m.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-[4px] bg-[var(--accent)]",children:m.jsx("span",{className:"text-sm font-semibold",style:{color:"#0C0C0C"},children:"~"})}),m.jsx("span",{className:"text-sm font-bold lowercase text-[var(--text-primary)]",children:u("common.overlord")})]}),m.jsxs("div",{className:"flex items-center gap-1",children:[m.jsx("button",{onClick:()=>r("/profile"),className:"p-2 text-[var(--text-secondary)] transition-colors hover:text-[var(--text-primary)]","aria-label":u("common.profile"),children:m.jsx(fb,{size:18})}),m.jsx(gp,{}),m.jsx(rp,{})]})]})}function As({label:r,items:u,collapsed:s}){return m.jsxs("div",{className:"mt-4 first:mt-0",children:[!s&&m.jsx("div",{className:"mb-2 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:r}),u.map(({to:o,label:f,icon:h})=>m.jsx(Ks,{to:o,className:({isActive:_})=>`flex items-center text-sm lowercase transition-colors ${s?"justify-center py-3":"gap-2.5 px-3 py-1.5"} ${_?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,children:({isActive:_})=>m.jsxs(m.Fragment,{children:[m.jsx(h,{size:14,style:{flexShrink:0}}),!s&&m.jsx("span",{children:_?`> ${f}`:` ${f}`})]})},o))]})}function d0(){const{user:r,logout:u}=xa(),s=Fa(),[o,f]=g.useState(!1),h=pb(),{t:_}=Jt(),{sidebarCollapsed:x,toggleSidebar:v}=yb();function p(){u(),s("/login")}return m.jsxs("aside",{className:"hidden md:flex flex-col border-r border-[var(--border)] transition-[width,min-width] duration-300 overflow-hidden",style:{width:x?56:240,minWidth:x?56:240,backgroundColor:"var(--bg-card)"},children:[m.jsx("div",{className:"flex items-center px-5",style:{height:48},children:m.jsxs("button",{onClick:()=>s("/home"),className:"flex items-center gap-2.5",style:{background:"none",border:"none",padding:0},children:[m.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-[4px] bg-[var(--accent)]",style:{flexShrink:0},children:m.jsx("span",{className:"text-lg font-semibold",style:{color:"#0C0C0C"},children:"~"})}),!x&&m.jsx("span",{className:"text-base font-bold lowercase tracking-tight",style:{color:"var(--text-primary)"},children:_("common.overlord")})]})}),m.jsxs("nav",{className:"flex-1 px-3 pt-2",children:[m.jsx(As,{label:_("common.navigation"),items:l0,collapsed:x}),m.jsx(As,{label:_("common.docs_section"),items:i0,collapsed:x}),h&&m.jsx(As,{label:_("common.admin_section"),items:r0,collapsed:x})]}),m.jsx("div",{className:`px-3 py-1 ${x?"flex justify-center":""}`,children:m.jsx("button",{onClick:v,className:"flex items-center justify-center w-full py-1.5 rounded-[4px] text-[var(--text-secondary)] transition-colors hover:text-[var(--accent)] hover:bg-[var(--accent)]/5","aria-label":x?"expand sidebar":"collapse sidebar",children:x?m.jsx(Kv,{size:14}):m.jsx(Zv,{size:14})})}),m.jsx("div",{className:"border-t border-[var(--border)] p-3",children:m.jsxs("div",{className:`flex items-center py-2 ${x?"justify-center":"gap-3 px-3"}`,children:[m.jsx("button",{onClick:()=>s("/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:_("common.profile"),children:((r==null?void 0:r.username)??"u")[0].toUpperCase()}),!x&&m.jsxs(m.Fragment,{children:[m.jsxs("button",{onClick:()=>s("/profile"),className:"min-w-0 flex-1 text-left transition-colors hover:opacity-80",title:_("common.profile"),children:[m.jsx("div",{className:"truncate text-sm lowercase",style:{color:"var(--text-primary)"},children:(r==null?void 0:r.username)??"user"}),m.jsx("div",{className:"truncate text-xs lowercase",style:{color:"var(--text-muted)"},children:(r==null?void 0:r.role)??"user"})]}),m.jsx("button",{onClick:()=>f(!0),className:"p-1 text-[var(--text-secondary)] transition-colors hover:text-[var(--accent)]","aria-label":_("common.log_out"),children:m.jsx(nb,{size:14})})]})]})}),m.jsx(e0,{isOpen:o,onClose:()=>f(!1),onConfirm:p,title:_("common.logout_title"),message:_("common.logout_message"),confirmLabel:_("common.logout"),confirmVariant:"warning"})]})}function m0({headerActions:r,subtitleOverride:u}){const s=yt(),{title:o,subtitle:f}=o0(s.pathname),h=u??f;return m.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:[m.jsxs("div",{className:"text-sm lowercase",children:[m.jsx("span",{style:{color:"var(--text-primary)"},children:o}),h&&m.jsxs("span",{style:{color:"var(--text-muted)"},children:[" ","// ",h]})]}),m.jsxs("div",{className:"flex items-center gap-3",children:[r,m.jsxs("div",{className:"flex items-center gap-1",children:[m.jsx(vp,{}),m.jsx(gp,{}),m.jsx(rp,{})]})]})]})}function h0(){const[r,u]=g.useState(null),[s,o]=g.useState(null),f=yt(),h=f.pathname==="/home",_=f.pathname.startsWith("/docs");return g.useEffect(()=>vb.getState().init(),[]),m.jsxs("div",{className:"fixed inset-0 flex font-mono",children:[m.jsx(d0,{}),m.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[m.jsx(f0,{}),!_&&m.jsx(m0,{headerActions:r,subtitleOverride:s}),m.jsx("main",{className:h?"flex-1 overflow-hidden bg-[var(--bg-primary)]":"flex-1 overflow-auto bg-[var(--bg-primary)] p-4 pb-6 md:p-6 md:pb-6",children:m.jsx(bp.Provider,{value:{setActions:u},children:m.jsx(xp.Provider,{value:{setSubtitle:o},children:m.jsx(lv,{})})})}),m.jsx(n0,{}),m.jsx(c0,{})]})]})}function Rh(r){var s;const u=(s=r.state)==null?void 0:s.from;return u?{from:u}:{from:{pathname:r.pathname,search:r.search}}}function li({children:r,requireAdmin:u=!1}){const{accessToken:s,user:o,requireTotpSetup:f,initializing:h}=xa(),_=yt();if(h)return m.jsx("div",{className:"flex h-screen items-center justify-center",children:m.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})});if(!s)return m.jsx(ll,{to:"/login",state:Rh(_),replace:!0});if(f){const x=Rh(_);return _.pathname!=="/totp-setup"&&_.pathname!=="/bind"?m.jsx(ll,{to:"/totp-setup",state:x,replace:!0}):_.pathname==="/bind"?(sessionStorage.setItem("overlord_bind_redirect",JSON.stringify(x.from)),m.jsx(ll,{to:"/totp-setup",state:x,replace:!0})):m.jsx(m.Fragment,{children:r})}return u&&(o==null?void 0:o.role)!==ap.ADMIN?m.jsx(ll,{to:"/home",replace:!0}):m.jsx(m.Fragment,{children:r})}function p0({children:r}){const{theme:u,resolved:s,setResolved:o}=ip();return g.useEffect(()=>{if(u!=="system"){o(u);return}const f=window.matchMedia("(prefers-color-scheme: dark)");o(f.matches?"dark":"light");const h=_=>o(_.matches?"dark":"light");return f.addEventListener("change",h),()=>f.removeEventListener("change",h)},[u,o]),g.useEffect(()=>{document.documentElement.classList.toggle("dark",s==="dark")},[s]),m.jsx(m.Fragment,{children:r})}class _0 extends g.Component{constructor(u){super(u),this.state={hasError:!1,error:null}}static getDerivedStateFromError(u){return{hasError:!0,error:u}}render(){var u;return this.state.hasError?m.jsxs("div",{className:"flex h-full min-h-[300px] flex-col items-center justify-center gap-4 p-8 font-mono",children:[m.jsx("span",{className:"text-lg font-bold text-[var(--destructive)]",children:Hr("common.runtime_error")}),m.jsx("p",{className:"max-w-md text-center text-xs text-[var(--text-muted)]",children:((u=this.state.error)==null?void 0:u.message)||Hr("common.an_unexpected_error_occurred")}),m.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:[m.jsx(rb,{className:"h-3.5 w-3.5"}),Hr("common.reload")]})]}):this.props.children}}function y0({isOpen:r}){const u=Fa(),{logout:s,setSessionExpired:o}=xa(),{t:f}=Jt();function h(){s(),o(!1),u("/login")}return r?m.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[m.jsx("div",{className:"fixed inset-0 bg-[var(--modal-backdrop)]"}),m.jsx("div",{className:"relative z-10 w-full max-w-[480px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)]",children:m.jsxs("div",{className:"flex flex-col items-center px-8 py-10",children:[m.jsx("div",{className:"mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-[var(--warning)]/10",children:m.jsx(ab,{className:"h-7 w-7 text-[var(--warning)]"})}),m.jsx("h3",{className:"mb-2 text-base font-bold text-[var(--text-primary)]",children:f("auth.session_expired")}),m.jsx("p",{className:"mb-8 text-center text-xs text-[var(--text-secondary)]",children:f("auth.session_expired_message")}),m.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:h,children:f("auth.go_to_login")})]})})]}):null}const Ah=5;let ba=[];const Hs=new Set;function Sp(){Hs.forEach(r=>r())}function g0(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function Wa(r,u,s=4e3){const o=g0();return ba=[...ba,{id:o,variant:r,message:u,duration:s}],ba.length>Ah&&(ba=ba.slice(ba.length-Ah)),Sp(),o}Wa.success=(r,u)=>Wa("success",r,u);Wa.error=(r,u)=>Wa("error",r,u);Wa.warning=(r,u)=>Wa("warning",r,u);Wa.info=(r,u)=>Wa("info",r,u);function v0(r){ba=ba.filter(u=>u.id!==r),Sp()}function b0(){const[,r]=g.useState(0);return g.useEffect(()=>{const u=()=>r(s=>s+1);return Hs.add(u),()=>{Hs.delete(u)}},[]),ba}const x0={success:{icon:Jv,borderColor:"var(--accent)"},error:{icon:$v,borderColor:"var(--destructive)"},warning:{icon:ep,borderColor:"var(--warning)"},info:{icon:Pv,borderColor:"var(--info)"}};function S0({item:r}){const u=x0[r.variant],s=u.icon,{t:o}=Jt(),f=g.useCallback(()=>v0(r.id),[r.id]);return g.useEffect(()=>{if(!r.duration)return;const h=setTimeout(f,r.duration);return()=>clearTimeout(h)},[r.duration,f]),m.jsxs("div",{className:"flex items-center gap-3 rounded-[4px] bg-[var(--bg-card)] px-4 py-3 shadow-lg",style:{borderLeft:`3px solid ${u.borderColor}`},role:"alert",children:[m.jsx(s,{className:"h-4 w-4 shrink-0",style:{color:u.borderColor}}),m.jsx("p",{className:"flex-1 text-xs text-[var(--text-primary)]",children:r.message}),m.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:m.jsx(tp,{className:"h-3.5 w-3.5"})})]})}function k0(){const r=b0();return r.length===0?null:m.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:r.map(u=>m.jsx("div",{className:"pointer-events-auto",children:m.jsx(S0,{item:u})},u.id))})}const E0=g.lazy(()=>ne(()=>import("./LandingPage-CR496bcd.js"),__vite__mapDeps([0,1,2,3,4,5]))),w0=g.lazy(()=>ne(()=>import("./LoginPage-ClBeeOEE.js"),[])),T0=g.lazy(()=>ne(()=>import("./TotpSetupPage-lmWerX9v.js"),[])),j0=g.lazy(()=>ne(()=>import("./NotFoundPage-DF552pQ2.js"),[])),R0=g.lazy(()=>ne(()=>import("./HomePage-Bdbc7-k8.js"),__vite__mapDeps([6,7,8,9,10,11,12,13,14,1]))),A0=g.lazy(()=>ne(()=>import("./TerminalHomePage-CzDQxtJT.js"),__vite__mapDeps([15,16,17,18,10,11,19,8,12,14,20,21,22]))),z0=g.lazy(()=>ne(()=>import("./TaskListPage-dqgRviqN.js"),__vite__mapDeps([23,16,7,8,12,13,19,5,24,9,20]))),O0=g.lazy(()=>ne(()=>import("./TaskDetailPage-Ab_-VRTV.js"),__vite__mapDeps([25,16,17,18,12,19,8,26,21,27,28]))),C0=g.lazy(()=>ne(()=>import("./WorkerListPage-CiYNUrQy.js"),__vite__mapDeps([29,8,30,31,32,33,34,22,5,28,19,24,9,14,20]))),D0=g.lazy(()=>ne(()=>import("./WorkerDetailPage-DvlEZ34P.js"),__vite__mapDeps([35,12,8,36,30,14,37,26]))),N0=g.lazy(()=>ne(()=>import("./WorkerSetupGuidePage-CFH0p1NM.js"),__vite__mapDeps([31,32,33,34,22]))),M0=g.lazy(()=>ne(()=>import("./ProjectListPage-DBid5M-m.js"),__vite__mapDeps([38,19,24,9,12,14,20]))),U0=g.lazy(()=>ne(()=>import("./ProjectDetailPage-DWWB6Vxk.js"),__vite__mapDeps([39,40,19,12,8,36,14,41,37,20]))),q0=g.lazy(()=>ne(()=>import("./EditProjectPage-JrBC1NDJ.js"),__vite__mapDeps([42,19,40,20]))),L0=g.lazy(()=>ne(()=>import("./PipelineEditorPage-CoqK7ZhC.js"),__vite__mapDeps([43,19,13]))),H0=g.lazy(()=>ne(()=>import("./ProfilePage-BlBGbK9l.js"),__vite__mapDeps([44,45,36,14]))),B0=g.lazy(()=>ne(()=>import("./BindPlatformPage-CVrphJrr.js"),[])),Y0=g.lazy(()=>ne(()=>import("./AccessTokensPage-i_t_-aoM.js"),__vite__mapDeps([46,19,24,9,12,14,20,5,37]))),G0=g.lazy(()=>ne(()=>import("./CliReferencePage-DNrWzyCa.js"),__vite__mapDeps([47,48,5,20]))),V0=g.lazy(()=>ne(()=>import("./ApiReferencePage-C5VQHqwD.js"),__vite__mapDeps([49,48,5,20]))),X0=g.lazy(()=>ne(()=>import("./SkillPage-CKgLQ9FU.js"),__vite__mapDeps([50,51,5,27]))),Q0=g.lazy(()=>ne(()=>import("./DocsLayout-DiEHCMH1.js"),__vite__mapDeps([52,26,53]))),Z0=g.lazy(()=>ne(()=>import("./InstallationPage-Dm04Y9nW.js"),__vite__mapDeps([54,51,5]))),K0=g.lazy(()=>ne(()=>import("./DeveloperSetupPage-2jlG069c.js"),__vite__mapDeps([55,51,5]))),J0=g.lazy(()=>ne(()=>import("./WorkerSetupPage-D03e2F2e.js"),__vite__mapDeps([56,51,5]))),$0=g.lazy(()=>ne(()=>import("./BotSetupPage-Dh9tj6Ae.js"),__vite__mapDeps([57,51,5]))),W0=g.lazy(()=>ne(()=>import("./LocalDevelopmentPage-CyMun0qk.js"),__vite__mapDeps([58,51,5]))),F0=g.lazy(()=>ne(()=>import("./WorkerOperationsPage-08uw-DAH.js"),[])),I0=g.lazy(()=>ne(()=>import("./DeploymentPage-xk1ghEPn.js"),__vite__mapDeps([59,51,5]))),zh=g.lazy(()=>ne(()=>import("./BotIntegrationPage-DONiYZvg.js"),[])),P0=g.lazy(()=>ne(()=>import("./PipelineConfigPage-TqZXCjak.js"),__vite__mapDeps([60,51,5]))),e1=g.lazy(()=>ne(()=>import("./DevWorkflowPage-DERIu1xW.js"),__vite__mapDeps([61,51,5]))),t1=g.lazy(()=>ne(()=>import("./PermissionsPage-ChADPg__.js"),[])),a1=g.lazy(()=>ne(()=>import("./EnvVariablesPage-D-eCamcC.js"),[])),n1=g.lazy(()=>ne(()=>import("./ArchitecturePage-DcwKYnFo.js"),__vite__mapDeps([62,51,5]))),l1=g.lazy(()=>ne(()=>import("./ChangelogPage-ts-bNq4P.js"),[])),i1=g.lazy(()=>ne(()=>import("./DocsIndexPage-BL7bb3QA.js"),__vite__mapDeps([63,33,2,3,53,34]))),r1=g.lazy(()=>ne(()=>import("./AdminPage-DoCnSZqm.js"),__vite__mapDeps([64,4,2,65,34]))),u1=g.lazy(()=>ne(()=>import("./DeveloperManage-yMFQRURA.js"),__vite__mapDeps([66,19,45,24,9,14,8,20,4,41,21]))),o1=g.lazy(()=>ne(()=>import("./BotManage-D5QafAlU.js"),__vite__mapDeps([67,19,51,5,37,20,24,9,14,8,2,41]))),s1=g.lazy(()=>ne(()=>import("./TokenManage-Dn2hUkQW.js"),__vite__mapDeps([68,32,5,27,24,9,14,8,20]))),c1=g.lazy(()=>ne(()=>import("./AuditLogPage-DZFe5RMM.js"),__vite__mapDeps([69,19,24,9,65,11]))),f1=g.lazy(()=>ne(()=>import("./SettingsPage-CPmfqi58.js"),[]));function d1(){return m.jsx("div",{className:"flex h-full items-center justify-center",children:m.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})})}function m1(){const r=xa(u=>u.sessionExpired);return m.jsxs(p0,{children:[m.jsx(k0,{}),m.jsx(_0,{children:m.jsxs(Ov,{children:[m.jsx(y0,{isOpen:r}),m.jsx(g.Suspense,{fallback:m.jsx(d1,{}),children:m.jsxs(rv,{children:[m.jsx(te,{path:"/",element:m.jsx(E0,{})}),m.jsx(te,{path:"/login",element:m.jsx(w0,{})}),m.jsx(te,{path:"/totp-setup",element:m.jsx(li,{children:m.jsx(T0,{})})}),m.jsx(te,{path:"/bind",element:m.jsx(li,{children:m.jsx(B0,{})})}),m.jsxs(te,{element:m.jsx(li,{children:m.jsx(h0,{})}),children:[m.jsx(te,{path:"/home",element:m.jsx(A0,{})}),m.jsx(te,{path:"/dashboard",element:m.jsx(R0,{})}),m.jsx(te,{path:"/tasks",element:m.jsx(z0,{})}),m.jsx(te,{path:"/tasks/:id",element:m.jsx(O0,{})}),m.jsx(te,{path:"/workers",element:m.jsx(C0,{})}),m.jsx(te,{path:"/workers/setup",element:m.jsx(li,{requireAdmin:!0,children:m.jsx(N0,{})})}),m.jsx(te,{path:"/workers/:id",element:m.jsx(D0,{})}),m.jsx(te,{path:"/projects",element:m.jsx(M0,{})}),m.jsx(te,{path:"/projects/:key",element:m.jsx(U0,{})}),m.jsx(te,{path:"/projects/:key/edit",element:m.jsx(q0,{})}),m.jsx(te,{path:"/projects/:key/pipeline",element:m.jsx(L0,{})}),m.jsx(te,{path:"/profile",element:m.jsx(H0,{})}),m.jsx(te,{path:"/access-tokens",element:m.jsx(Y0,{})}),m.jsxs(te,{path:"/docs",element:m.jsx(Q0,{}),children:[m.jsx(te,{index:!0,element:m.jsx(ll,{to:"cli",replace:!0})}),m.jsx(te,{path:"cli",element:m.jsx(G0,{})}),m.jsx(te,{path:"api",element:m.jsx(V0,{})}),m.jsx(te,{path:"bot",element:m.jsx(zh,{})}),m.jsx(te,{path:"all",element:m.jsx(i1,{})}),m.jsx(te,{path:"skill",element:m.jsx(X0,{})}),m.jsx(te,{path:"installation",element:m.jsx(Z0,{})}),m.jsx(te,{path:"developer-setup",element:m.jsx(K0,{})}),m.jsx(te,{path:"worker-setup",element:m.jsx(J0,{})}),m.jsx(te,{path:"bot-setup",element:m.jsx($0,{})}),m.jsx(te,{path:"local-development",element:m.jsx(W0,{})}),m.jsx(te,{path:"worker-operations",element:m.jsx(F0,{})}),m.jsx(te,{path:"deployment",element:m.jsx(I0,{})}),m.jsx(te,{path:"bot-integration",element:m.jsx(zh,{})}),m.jsx(te,{path:"pipeline-config",element:m.jsx(P0,{})}),m.jsx(te,{path:"dev-workflow",element:m.jsx(e1,{})}),m.jsx(te,{path:"permissions",element:m.jsx(t1,{})}),m.jsx(te,{path:"env-variables",element:m.jsx(a1,{})}),m.jsx(te,{path:"architecture",element:m.jsx(n1,{})}),m.jsx(te,{path:"changelog",element:m.jsx(l1,{})})]}),m.jsxs(te,{path:"/admin",element:m.jsx(li,{requireAdmin:!0,children:m.jsx(r1,{})}),children:[m.jsx(te,{index:!0,element:m.jsx(ll,{to:"developers",replace:!0})}),m.jsx(te,{path:"developers",element:m.jsx(u1,{})}),m.jsx(te,{path:"bots",element:m.jsx(o1,{})}),m.jsx(te,{path:"tokens",element:m.jsx(s1,{})}),m.jsx(te,{path:"audit-logs",element:m.jsx(c1,{})}),m.jsx(te,{path:"settings",element:m.jsx(f1,{})})]})]}),m.jsx(te,{path:"*",element:m.jsx(j0,{})})]})})]})})]})}xa.getState().initialize();lg.createRoot(document.getElementById("root")).render(m.jsx(g.StrictMode,{children:m.jsx(m1,{})}));export{b1 as A,rb as B,Qv as C,ap as D,nb as E,_1 as F,S1 as G,Ds as H,x1 as I,Wv as J,eb as K,Kh as L,lb as M,ll as N,Ks as O,n0 as P,lv as Q,Rr as R,Ph as S,rp as T,k1 as U,E1 as V,g1 as W,tp as X,$v as Y,Jt as a,Js as b,ke as c,ob as d,tb as e,Fa as f,yt as g,Vr as h,pb as i,m as j,vb as k,Wr as l,y1 as m,j1 as n,T1 as o,Ih as p,Fh as q,g as r,w1 as s,Wa as t,xa as u,e0 as v,p1 as w,Jv as x,ep as y,v1 as z};
|