@overlordai/server 1.0.28 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/repositories/machine.repository.d.ts +2 -1
- package/dist/database/repositories/machine.repository.d.ts.map +1 -1
- package/dist/database/repositories/machine.repository.js +17 -5
- package/dist/database/repositories/machine.repository.js.map +1 -1
- package/dist/database/repositories/project-member.repository.d.ts +7 -0
- package/dist/database/repositories/project-member.repository.d.ts.map +1 -1
- package/dist/database/repositories/project-member.repository.js +31 -1
- package/dist/database/repositories/project-member.repository.js.map +1 -1
- package/dist/database/repositories/project.repository.d.ts +1 -0
- package/dist/database/repositories/project.repository.d.ts.map +1 -1
- package/dist/database/repositories/project.repository.js +5 -2
- package/dist/database/repositories/project.repository.js.map +1 -1
- package/dist/database/repositories/task.repository.d.ts +2 -0
- package/dist/database/repositories/task.repository.d.ts.map +1 -1
- package/dist/database/repositories/task.repository.js +15 -0
- package/dist/database/repositories/task.repository.js.map +1 -1
- package/dist/dispatcher/dispatcher.service.d.ts.map +1 -1
- package/dist/dispatcher/dispatcher.service.js +10 -1
- package/dist/dispatcher/dispatcher.service.js.map +1 -1
- package/dist/dispatcher/machine-selector.d.ts.map +1 -1
- package/dist/dispatcher/machine-selector.js +4 -0
- package/dist/dispatcher/machine-selector.js.map +1 -1
- package/dist/dispatcher/reconciler.d.ts +2 -0
- package/dist/dispatcher/reconciler.d.ts.map +1 -1
- package/dist/dispatcher/reconciler.js +7 -3
- package/dist/dispatcher/reconciler.js.map +1 -1
- package/dist/main.js +0 -0
- package/dist/web/admin/admin-machine.controller.d.ts +12 -1
- package/dist/web/admin/admin-machine.controller.d.ts.map +1 -1
- package/dist/web/admin/admin-machine.controller.js +71 -3
- package/dist/web/admin/admin-machine.controller.js.map +1 -1
- package/dist/web/admin/admin-project.controller.d.ts +2 -0
- package/dist/web/admin/admin-project.controller.d.ts.map +1 -1
- package/dist/web/admin/admin-project.controller.js +2 -1
- package/dist/web/admin/admin-project.controller.js.map +1 -1
- package/dist/web/machine.controller.d.ts +12 -0
- package/dist/web/machine.controller.d.ts.map +1 -1
- package/dist/web/machine.controller.js +7 -0
- package/dist/web/machine.controller.js.map +1 -1
- package/dist/web/project.controller.d.ts +34 -2
- package/dist/web/project.controller.d.ts.map +1 -1
- package/dist/web/project.controller.js +18 -3
- package/dist/web/project.controller.js.map +1 -1
- package/package.json +9 -9
- package/public/assets/{AccessTokensPage-DQEUkklL.js → AccessTokensPage-Beru3_uy.js} +1 -1
- package/public/assets/{AdminPage-Dy3fDESU.js → AdminPage-C9GCTLmr.js} +1 -1
- package/public/assets/{ApiReferencePage-BdVahGqK.js → ApiReferencePage-D-Fjl8KM.js} +1 -1
- package/public/assets/{AuditLogPage-DrxGWVeq.js → AuditLogPage-Bpgs5-4t.js} +1 -1
- package/public/assets/{BotManage-B3-rqR1c.js → BotManage-ByFUoMlI.js} +1 -1
- package/public/assets/CliReferencePage-CkOKnvml.js +8 -0
- package/public/assets/{DeveloperManage-CSd18cTX.js → DeveloperManage-DX12zFgn.js} +1 -1
- package/public/assets/{EditProjectPage-jeKBXKpU.js → EditProjectPage-DlK_Ix-g.js} +2 -2
- package/public/assets/{EmptyState-CN7755V2.js → EmptyState-B5qaL1Ft.js} +1 -1
- package/public/assets/HomePage-NfxPPkMz.js +1 -0
- package/public/assets/LandingPage-DWdKl5kd.js +36 -0
- package/public/assets/{LoginPage-Ca4FsK2j.js → LoginPage-CjzZ3RX2.js} +1 -1
- package/public/assets/MachineDetailPage-2B713TKQ.js +1 -0
- package/public/assets/MachineListPage-DWiQXnAq.js +6 -0
- package/public/assets/{NotFoundPage-rIa2IHZG.js → NotFoundPage-CXxb3Nk1.js} +1 -1
- package/public/assets/{PipelineEditorPage-DqNJhpu_.js → PipelineEditorPage-DzgL7Mbc.js} +1 -1
- package/public/assets/{ProfilePage-_uegx1AA.js → ProfilePage-bdFIMKIC.js} +1 -1
- package/public/assets/ProjectDetailPage-ngZeWsrI.js +7 -0
- package/public/assets/ProjectListPage-BQC9noAd.js +6 -0
- package/public/assets/{QuickAuth-DeEGbSkE.js → QuickAuth-BHBoThUh.js} +1 -1
- package/public/assets/RemoveMemberConfirmDialog-CGkSeDTJ.js +6 -0
- package/public/assets/{Select-0Q0gGMd5.js → Select-B2hs4bPZ.js} +2 -2
- package/public/assets/{SettingsPage-BVRak3kN.js → SettingsPage-CXxoYjb1.js} +1 -1
- package/public/assets/{Skeleton-Brvkv-R9.js → Skeleton-CyWhQxlf.js} +1 -1
- package/public/assets/SkillPage-DlnLHNuI.js +1 -0
- package/public/assets/{TaskDetailPage-NP2PS_Ck.js → TaskDetailPage-DUQWe5wB.js} +1 -1
- package/public/assets/{TaskListPage-BpkKh4Yk.js → TaskListPage-Cg1ETrwI.js} +1 -1
- package/public/assets/{TaskStatusBadge-C5Shy8Nl.js → TaskStatusBadge-D-fJDHQh.js} +1 -1
- package/public/assets/TokenManage-Bcru_MF_.js +1 -0
- package/public/assets/{TotpSetupPage-skouZwAo.js → TotpSetupPage-XZCrdH2V.js} +1 -1
- package/public/assets/{WorkerSetupGuidePage-BelFB95H.js → WorkerSetupGuidePage-B0a3heGA.js} +1 -1
- package/public/assets/{arrow-left-DcjEsA7R.js → arrow-left-CxR172-I.js} +1 -1
- package/public/assets/{arrow-right-B4YEa3u9.js → arrow-right-Bxsjp0zK.js} +1 -1
- package/public/assets/{bot-BXlxShij.js → bot-LvDZi4g_.js} +1 -1
- package/public/assets/{chevron-right-DfZYT44U.js → chevron-right-CoYBbtaS.js} +1 -1
- package/public/assets/{copy-I9UBz5kC.js → copy-BOEo9gzs.js} +1 -1
- package/public/assets/{external-link-6OjArMHy.js → external-link-DEXczFxv.js} +1 -1
- package/public/assets/index-BiwmRYQP.js +212 -0
- package/public/assets/index-MbPa7F7Y.css +1 -0
- package/public/assets/{key-EI2JM6VQ.js → key-BKYKn-II.js} +1 -1
- package/public/assets/{loader-circle-BlLUEdfY.js → loader-circle-CGl2dNxT.js} +1 -1
- package/public/assets/{pencil-CQghwYru.js → pencil-DJx3NobK.js} +1 -1
- package/public/assets/{plus-Bi9CBO0p.js → plus-B1evYZLw.js} +1 -1
- package/public/assets/protocol-C5uQmiiB.js +1 -0
- package/public/assets/{rotate-ccw-B5xHESUx.js → rotate-ccw-DIm7zEDs.js} +1 -1
- package/public/assets/{scroll-text-0Fjom98e.js → scroll-text-DXm8XEUQ.js} +1 -1
- package/public/assets/{settings-Dz53j3EB.js → settings-C0zveA0i.js} +1 -1
- package/public/assets/{task.store-DwkjgoRM.js → task.store-BT1elMl0.js} +1 -1
- package/public/assets/{trash-2-Cv7vzkVw.js → trash-2-D_ao7mjo.js} +1 -1
- package/public/assets/{users-7UXJB8XB.js → users-DNGcsSkr.js} +1 -1
- package/public/favicon.svg +2 -2
- package/public/index.html +3 -3
- package/public/assets/CliReferencePage-Ca6ENkKU.js +0 -8
- package/public/assets/HomePage-BsiwA4gW.js +0 -1
- package/public/assets/LandingPage-BWfR2oXt.js +0 -26
- package/public/assets/MachineDetailPage-BdJIcUfz.js +0 -1
- package/public/assets/MachineListPage-B59mZoVm.js +0 -6
- package/public/assets/ProjectDetailPage-ByDXJRZx.js +0 -7
- package/public/assets/ProjectListPage-cWKxZMbI.js +0 -6
- package/public/assets/RemoveMemberConfirmDialog-BHYJebBS.js +0 -6
- package/public/assets/TokenManage-k5e6DyJG.js +0 -1
- package/public/assets/index-DYT_rof3.js +0 -207
- package/public/assets/index-v5rpOoDH.css +0 -1
- package/public/assets/protocol-C4f2G7mk.js +0 -1
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LandingPage-BWfR2oXt.js","assets/arrow-right-B4YEa3u9.js","assets/bot-BXlxShij.js","assets/users-7UXJB8XB.js","assets/copy-I9UBz5kC.js","assets/HomePage-BsiwA4gW.js","assets/protocol-C4f2G7mk.js","assets/TaskStatusBadge-C5Shy8Nl.js","assets/Skeleton-Brvkv-R9.js","assets/chevron-right-DfZYT44U.js","assets/TaskListPage-BpkKh4Yk.js","assets/task.store-DwkjgoRM.js","assets/Select-0Q0gGMd5.js","assets/EmptyState-CN7755V2.js","assets/plus-Bi9CBO0p.js","assets/TaskDetailPage-NP2PS_Ck.js","assets/arrow-left-DcjEsA7R.js","assets/rotate-ccw-B5xHESUx.js","assets/external-link-6OjArMHy.js","assets/loader-circle-BlLUEdfY.js","assets/TaskDetailPage-Beg8tuEN.css","assets/MachineListPage-B59mZoVm.js","assets/WorkerSetupGuidePage-BelFB95H.js","assets/key-EI2JM6VQ.js","assets/settings-Dz53j3EB.js","assets/MachineDetailPage-BdJIcUfz.js","assets/ProjectListPage-cWKxZMbI.js","assets/ProjectDetailPage-ByDXJRZx.js","assets/RemoveMemberConfirmDialog-BHYJebBS.js","assets/pencil-CQghwYru.js","assets/trash-2-Cv7vzkVw.js","assets/EditProjectPage-jeKBXKpU.js","assets/PipelineEditorPage-DqNJhpu_.js","assets/AccessTokensPage-DQEUkklL.js","assets/CliReferencePage-Ca6ENkKU.js","assets/QuickAuth-DeEGbSkE.js","assets/ApiReferencePage-BdVahGqK.js","assets/AdminPage-Dy3fDESU.js","assets/scroll-text-0Fjom98e.js","assets/DeveloperManage-CSd18cTX.js","assets/BotManage-B3-rqR1c.js","assets/TokenManage-k5e6DyJG.js","assets/AuditLogPage-DrxGWVeq.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var C_=Object.defineProperty;var Jm=u=>{throw TypeError(u)};var M_=(u,r,o)=>r in u?C_(u,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):u[r]=o;var kt=(u,r,o)=>M_(u,typeof r!="symbol"?r+"":r,o),ho=(u,r,o)=>r.has(u)||Jm("Cannot "+o);var U=(u,r,o)=>(ho(u,r,"read from private field"),o?o.call(u):r.get(u)),It=(u,r,o)=>r.has(u)?Jm("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(u):r.set(u,o),Vt=(u,r,o,c)=>(ho(u,r,"write to private field"),c?c.call(u,o):r.set(u,o),o),ge=(u,r,o)=>(ho(u,r,"access private method"),o);var $m=(u,r,o,c)=>({set _(f){Vt(u,r,f,o)},get _(){return U(u,r,c)}});(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const p of m.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&c(p)}).observe(document,{childList:!0,subtree:!0});function o(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function c(f){if(f.ep)return;f.ep=!0;const m=o(f);fetch(f.href,m)}})();function N_(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var po={exports:{}},ei={};/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var Wm;function D_(){if(Wm)return ei;Wm=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(c,f,m){var p=null;if(m!==void 0&&(p=""+m),f.key!==void 0&&(p=""+f.key),"key"in f){m={};for(var T in f)T!=="key"&&(m[T]=f[T])}else m=f;return f=m.ref,{$$typeof:u,type:c,key:p,ref:f!==void 0?f:null,props:m}}return ei.Fragment=r,ei.jsx=o,ei.jsxs=o,ei}var Fm;function U_(){return Fm||(Fm=1,po.exports=D_()),po.exports}var y=U_(),yo={exports:{}},te={};/**
|
|
11
|
-
* @license React
|
|
12
|
-
* react.production.js
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var Im;function q_(){if(Im)return te;Im=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),D=Symbol.iterator;function V(b){return b===null||typeof b!="object"?null:(b=D&&b[D]||b["@@iterator"],typeof b=="function"?b:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,L={};function B(b,N,G){this.props=b,this.context=N,this.refs=L,this.updater=G||q}B.prototype.isReactComponent={},B.prototype.setState=function(b,N){if(typeof b!="object"&&typeof b!="function"&&b!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,b,N,"setState")},B.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function P(){}P.prototype=B.prototype;function F(b,N,G){this.props=b,this.context=N,this.refs=L,this.updater=G||q}var me=F.prototype=new P;me.constructor=F,H(me,B.prototype),me.isPureReactComponent=!0;var fe=Array.isArray;function K(){}var X={H:null,A:null,T:null,S:null},ve=Object.prototype.hasOwnProperty;function De(b,N,G){var J=G.ref;return{$$typeof:u,type:b,key:N,ref:J!==void 0?J:null,props:G}}function Ze(b,N){return De(b.type,N,b.props)}function rt(b){return typeof b=="object"&&b!==null&&b.$$typeof===u}function Ke(b){var N={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(G){return N[G]})}var ct=/\/+/g;function jt(b,N){return typeof b=="object"&&b!==null&&b.key!=null?Ke(""+b.key):N.toString(36)}function Ye(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(K,K):(b.status="pending",b.then(function(N){b.status==="pending"&&(b.status="fulfilled",b.value=N)},function(N){b.status==="pending"&&(b.status="rejected",b.reason=N)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function O(b,N,G,J,ae){var ue=typeof b;(ue==="undefined"||ue==="boolean")&&(b=null);var _e=!1;if(b===null)_e=!0;else switch(ue){case"bigint":case"string":case"number":_e=!0;break;case"object":switch(b.$$typeof){case u:case r:_e=!0;break;case j:return _e=b._init,O(_e(b._payload),N,G,J,ae)}}if(_e)return ae=ae(b),_e=J===""?"."+jt(b,0):J,fe(ae)?(G="",_e!=null&&(G=_e.replace(ct,"$&/")+"/"),O(ae,N,G,"",function(rn){return rn})):ae!=null&&(rt(ae)&&(ae=Ze(ae,G+(ae.key==null||b&&b.key===ae.key?"":(""+ae.key).replace(ct,"$&/")+"/")+_e)),N.push(ae)),1;_e=0;var it=J===""?".":J+":";if(fe(b))for(var He=0;He<b.length;He++)J=b[He],ue=it+jt(J,He),_e+=O(J,N,G,ue,ae);else if(He=V(b),typeof He=="function")for(b=He.call(b),He=0;!(J=b.next()).done;)J=J.value,ue=it+jt(J,He++),_e+=O(J,N,G,ue,ae);else if(ue==="object"){if(typeof b.then=="function")return O(Ye(b),N,G,J,ae);throw N=String(b),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return _e}function Y(b,N,G){if(b==null)return b;var J=[],ae=0;return O(b,J,"","",function(ue){return N.call(G,ue,ae++)}),J}function ee(b){if(b._status===-1){var N=b._result;N=N(),N.then(function(G){(b._status===0||b._status===-1)&&(b._status=1,b._result=G)},function(G){(b._status===0||b._status===-1)&&(b._status=2,b._result=G)}),b._status===-1&&(b._status=0,b._result=N)}if(b._status===1)return b._result.default;throw b._result}var Se=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},ke={map:Y,forEach:function(b,N,G){Y(b,function(){N.apply(this,arguments)},G)},count:function(b){var N=0;return Y(b,function(){N++}),N},toArray:function(b){return Y(b,function(N){return N})||[]},only:function(b){if(!rt(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return te.Activity=S,te.Children=ke,te.Component=B,te.Fragment=o,te.Profiler=f,te.PureComponent=F,te.StrictMode=c,te.Suspense=g,te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,te.__COMPILER_RUNTIME={__proto__:null,c:function(b){return X.H.useMemoCache(b)}},te.cache=function(b){return function(){return b.apply(null,arguments)}},te.cacheSignal=function(){return null},te.cloneElement=function(b,N,G){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var J=H({},b.props),ae=b.key;if(N!=null)for(ue in N.key!==void 0&&(ae=""+N.key),N)!ve.call(N,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&N.ref===void 0||(J[ue]=N[ue]);var ue=arguments.length-2;if(ue===1)J.children=G;else if(1<ue){for(var _e=Array(ue),it=0;it<ue;it++)_e[it]=arguments[it+2];J.children=_e}return De(b.type,ae,J)},te.createContext=function(b){return b={$$typeof:p,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:m,_context:b},b},te.createElement=function(b,N,G){var J,ae={},ue=null;if(N!=null)for(J in N.key!==void 0&&(ue=""+N.key),N)ve.call(N,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ae[J]=N[J]);var _e=arguments.length-2;if(_e===1)ae.children=G;else if(1<_e){for(var it=Array(_e),He=0;He<_e;He++)it[He]=arguments[He+2];ae.children=it}if(b&&b.defaultProps)for(J in _e=b.defaultProps,_e)ae[J]===void 0&&(ae[J]=_e[J]);return De(b,ue,ae)},te.createRef=function(){return{current:null}},te.forwardRef=function(b){return{$$typeof:T,render:b}},te.isValidElement=rt,te.lazy=function(b){return{$$typeof:j,_payload:{_status:-1,_result:b},_init:ee}},te.memo=function(b,N){return{$$typeof:h,type:b,compare:N===void 0?null:N}},te.startTransition=function(b){var N=X.T,G={};X.T=G;try{var J=b(),ae=X.S;ae!==null&&ae(G,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(K,Se)}catch(ue){Se(ue)}finally{N!==null&&G.types!==null&&(N.types=G.types),X.T=N}},te.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},te.use=function(b){return X.H.use(b)},te.useActionState=function(b,N,G){return X.H.useActionState(b,N,G)},te.useCallback=function(b,N){return X.H.useCallback(b,N)},te.useContext=function(b){return X.H.useContext(b)},te.useDebugValue=function(){},te.useDeferredValue=function(b,N){return X.H.useDeferredValue(b,N)},te.useEffect=function(b,N){return X.H.useEffect(b,N)},te.useEffectEvent=function(b){return X.H.useEffectEvent(b)},te.useId=function(){return X.H.useId()},te.useImperativeHandle=function(b,N,G){return X.H.useImperativeHandle(b,N,G)},te.useInsertionEffect=function(b,N){return X.H.useInsertionEffect(b,N)},te.useLayoutEffect=function(b,N){return X.H.useLayoutEffect(b,N)},te.useMemo=function(b,N){return X.H.useMemo(b,N)},te.useOptimistic=function(b,N){return X.H.useOptimistic(b,N)},te.useReducer=function(b,N,G){return X.H.useReducer(b,N,G)},te.useRef=function(b){return X.H.useRef(b)},te.useState=function(b){return X.H.useState(b)},te.useSyncExternalStore=function(b,N,G){return X.H.useSyncExternalStore(b,N,G)},te.useTransition=function(){return X.H.useTransition()},te.version="19.2.4",te}var Pm;function qo(){return Pm||(Pm=1,yo.exports=q_()),yo.exports}var x=qo();const Ru=N_(x);var _o={exports:{}},ti={},go={exports:{}},vo={};/**
|
|
19
|
-
* @license React
|
|
20
|
-
* scheduler.production.js
|
|
21
|
-
*
|
|
22
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the MIT license found in the
|
|
25
|
-
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var eh;function H_(){return eh||(eh=1,(function(u){function r(O,Y){var ee=O.length;O.push(Y);e:for(;0<ee;){var Se=ee-1>>>1,ke=O[Se];if(0<f(ke,Y))O[Se]=Y,O[ee]=ke,ee=Se;else break e}}function o(O){return O.length===0?null:O[0]}function c(O){if(O.length===0)return null;var Y=O[0],ee=O.pop();if(ee!==Y){O[0]=ee;e:for(var Se=0,ke=O.length,b=ke>>>1;Se<b;){var N=2*(Se+1)-1,G=O[N],J=N+1,ae=O[J];if(0>f(G,ee))J<ke&&0>f(ae,G)?(O[Se]=ae,O[J]=ee,Se=J):(O[Se]=G,O[N]=ee,Se=N);else if(J<ke&&0>f(ae,ee))O[Se]=ae,O[J]=ee,Se=J;else break e}}return Y}function f(O,Y){var ee=O.sortIndex-Y.sortIndex;return ee!==0?ee:O.id-Y.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;u.unstable_now=function(){return m.now()}}else{var p=Date,T=p.now();u.unstable_now=function(){return p.now()-T}}var g=[],h=[],j=1,S=null,D=3,V=!1,q=!1,H=!1,L=!1,B=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function me(O){for(var Y=o(h);Y!==null;){if(Y.callback===null)c(h);else if(Y.startTime<=O)c(h),Y.sortIndex=Y.expirationTime,r(g,Y);else break;Y=o(h)}}function fe(O){if(H=!1,me(O),!q)if(o(g)!==null)q=!0,K||(K=!0,Ke());else{var Y=o(h);Y!==null&&Ye(fe,Y.startTime-O)}}var K=!1,X=-1,ve=5,De=-1;function Ze(){return L?!0:!(u.unstable_now()-De<ve)}function rt(){if(L=!1,K){var O=u.unstable_now();De=O;var Y=!0;try{e:{q=!1,H&&(H=!1,P(X),X=-1),V=!0;var ee=D;try{t:{for(me(O),S=o(g);S!==null&&!(S.expirationTime>O&&Ze());){var Se=S.callback;if(typeof Se=="function"){S.callback=null,D=S.priorityLevel;var ke=Se(S.expirationTime<=O);if(O=u.unstable_now(),typeof ke=="function"){S.callback=ke,me(O),Y=!0;break t}S===o(g)&&c(g),me(O)}else c(g);S=o(g)}if(S!==null)Y=!0;else{var b=o(h);b!==null&&Ye(fe,b.startTime-O),Y=!1}}break e}finally{S=null,D=ee,V=!1}Y=void 0}}finally{Y?Ke():K=!1}}}var Ke;if(typeof F=="function")Ke=function(){F(rt)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,jt=ct.port2;ct.port1.onmessage=rt,Ke=function(){jt.postMessage(null)}}else Ke=function(){B(rt,0)};function Ye(O,Y){X=B(function(){O(u.unstable_now())},Y)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(O){O.callback=null},u.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<O?Math.floor(1e3/O):5},u.unstable_getCurrentPriorityLevel=function(){return D},u.unstable_next=function(O){switch(D){case 1:case 2:case 3:var Y=3;break;default:Y=D}var ee=D;D=Y;try{return O()}finally{D=ee}},u.unstable_requestPaint=function(){L=!0},u.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var ee=D;D=O;try{return Y()}finally{D=ee}},u.unstable_scheduleCallback=function(O,Y,ee){var Se=u.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?Se+ee:Se):ee=Se,O){case 1:var ke=-1;break;case 2:ke=250;break;case 5:ke=1073741823;break;case 4:ke=1e4;break;default:ke=5e3}return ke=ee+ke,O={id:j++,callback:Y,priorityLevel:O,startTime:ee,expirationTime:ke,sortIndex:-1},ee>Se?(O.sortIndex=ee,r(h,O),o(g)===null&&O===o(h)&&(H?(P(X),X=-1):H=!0,Ye(fe,ee-Se))):(O.sortIndex=ke,r(g,O),q||V||(q=!0,K||(K=!0,Ke()))),O},u.unstable_shouldYield=Ze,u.unstable_wrapCallback=function(O){var Y=D;return function(){var ee=D;D=Y;try{return O.apply(this,arguments)}finally{D=ee}}}})(vo)),vo}var th;function B_(){return th||(th=1,go.exports=H_()),go.exports}var bo={exports:{}},at={};/**
|
|
27
|
-
* @license React
|
|
28
|
-
* react-dom.production.js
|
|
29
|
-
*
|
|
30
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
31
|
-
*
|
|
32
|
-
* This source code is licensed under the MIT license found in the
|
|
33
|
-
* LICENSE file in the root directory of this source tree.
|
|
34
|
-
*/var ah;function L_(){if(ah)return at;ah=1;var u=qo();function r(g){var h="https://react.dev/errors/"+g;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)h+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+g+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var c={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},f=Symbol.for("react.portal");function m(g,h,j){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:S==null?null:""+S,children:g,containerInfo:h,implementation:j}}var p=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function T(g,h){if(g==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return at.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,at.createPortal=function(g,h){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return m(g,h,null,j)},at.flushSync=function(g){var h=p.T,j=c.p;try{if(p.T=null,c.p=2,g)return g()}finally{p.T=h,c.p=j,c.d.f()}},at.preconnect=function(g,h){typeof g=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,c.d.C(g,h))},at.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},at.preinit=function(g,h){if(typeof g=="string"&&h&&typeof h.as=="string"){var j=h.as,S=T(j,h.crossOrigin),D=typeof h.integrity=="string"?h.integrity:void 0,V=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;j==="style"?c.d.S(g,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:S,integrity:D,fetchPriority:V}):j==="script"&&c.d.X(g,{crossOrigin:S,integrity:D,fetchPriority:V,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},at.preinitModule=function(g,h){if(typeof g=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var j=T(h.as,h.crossOrigin);c.d.M(g,{crossOrigin:j,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&c.d.M(g)},at.preload=function(g,h){if(typeof g=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var j=h.as,S=T(j,h.crossOrigin);c.d.L(g,j,{crossOrigin:S,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},at.preloadModule=function(g,h){if(typeof g=="string")if(h){var j=T(h.as,h.crossOrigin);c.d.m(g,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:j,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else c.d.m(g)},at.requestFormReset=function(g){c.d.r(g)},at.unstable_batchedUpdates=function(g,h){return g(h)},at.useFormState=function(g,h,j){return p.H.useFormState(g,h,j)},at.useFormStatus=function(){return p.H.useHostTransitionStatus()},at.version="19.2.4",at}var lh;function Y_(){if(lh)return bo.exports;lh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),bo.exports=L_(),bo.exports}/**
|
|
35
|
-
* @license React
|
|
36
|
-
* react-dom-client.production.js
|
|
37
|
-
*
|
|
38
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the MIT license found in the
|
|
41
|
-
* LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/var nh;function G_(){if(nh)return ti;nh=1;var u=B_(),r=qo(),o=Y_();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function p(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function T(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(m(e)!==e)throw Error(c(188))}function h(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(c(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var i=n.alternate;if(i===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===a)return g(n),e;if(i===l)return g(n),t;i=i.sibling}throw Error(c(188))}if(a.return!==l.return)a=n,l=i;else{for(var s=!1,d=n.child;d;){if(d===a){s=!0,a=n,l=i;break}if(d===l){s=!0,l=n,a=i;break}d=d.sibling}if(!s){for(d=i.child;d;){if(d===a){s=!0,a=i,l=n;break}if(d===l){s=!0,l=i,a=n;break}d=d.sibling}if(!s)throw Error(c(189))}}if(a.alternate!==l)throw Error(c(190))}if(a.tag!==3)throw Error(c(188));return a.stateNode.current===a?e:t}function j(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=j(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,D=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),F=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),Ze=Symbol.for("react.memo_cache_sentinel"),rt=Symbol.iterator;function Ke(e){return e===null||typeof e!="object"?null:(e=rt&&e[rt]||e["@@iterator"],typeof e=="function"?e:null)}var ct=Symbol.for("react.client.reference");function jt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ct?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case H:return"Fragment";case B:return"Profiler";case L:return"StrictMode";case fe:return"Suspense";case K:return"SuspenseList";case De:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case F:return e.displayName||"Context";case P:return(e._context.displayName||"Context")+".Consumer";case me:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:jt(e.type)||"Memo";case ve:t=e._payload,e=e._init;try{return jt(e(t))}catch{}}return null}var Ye=Array.isArray,O=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Se=[],ke=-1;function b(e){return{current:e}}function N(e){0>ke||(e.current=Se[ke],Se[ke]=null,ke--)}function G(e,t){ke++,Se[ke]=e.current,e.current=t}var J=b(null),ae=b(null),ue=b(null),_e=b(null);function it(e,t){switch(G(ue,t),G(ae,e),G(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?_m(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=_m(t),e=gm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}N(J),G(J,e)}function He(){N(J),N(ae),N(ue)}function rn(e){e.memoizedState!==null&&G(_e,e);var t=J.current,a=gm(t,e.type);t!==a&&(G(ae,e),G(J,a))}function oi(e){ae.current===e&&(N(J),N(ae)),_e.current===e&&(N(_e),Wn._currentValue=ee)}var $u,Zo;function Fa(e){if($u===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);$u=t&&t[1]||"",Zo=-1<a.stack.indexOf(`
|
|
43
|
-
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
-
`+$u+e+Zo}var Wu=!1;function Fu(e,t){if(!e||Wu)return"";Wu=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(z){var R=z}Reflect.construct(e,[],M)}else{try{M.call()}catch(z){R=z}e.call(M.prototype)}}else{try{throw Error()}catch(z){R=z}(M=e())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(z){if(z&&R&&typeof z.stack=="string")return[z.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=l.DetermineComponentFrameRoot(),s=i[0],d=i[1];if(s&&d){var _=s.split(`
|
|
45
|
-
`),k=d.split(`
|
|
46
|
-
`);for(n=l=0;l<_.length&&!_[l].includes("DetermineComponentFrameRoot");)l++;for(;n<k.length&&!k[n].includes("DetermineComponentFrameRoot");)n++;if(l===_.length||n===k.length)for(l=_.length-1,n=k.length-1;1<=l&&0<=n&&_[l]!==k[n];)n--;for(;1<=l&&0<=n;l--,n--)if(_[l]!==k[n]){if(l!==1||n!==1)do if(l--,n--,0>n||_[l]!==k[n]){var A=`
|
|
47
|
-
`+_[l].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=l&&0<=n);break}}}finally{Wu=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Fa(a):""}function op(e,t){switch(e.tag){case 26:case 27:case 5:return Fa(e.type);case 16:return Fa("Lazy");case 13:return e.child!==t&&t!==null?Fa("Suspense Fallback"):Fa("Suspense");case 19:return Fa("SuspenseList");case 0:case 15:return Fu(e.type,!1);case 11:return Fu(e.type.render,!1);case 1:return Fu(e.type,!0);case 31:return Fa("Activity");default:return""}}function Ko(e){try{var t="",a=null;do t+=op(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
|
|
48
|
-
Error generating stack: `+l.message+`
|
|
49
|
-
`+l.stack}}var Iu=Object.prototype.hasOwnProperty,Pu=u.unstable_scheduleCallback,er=u.unstable_cancelCallback,sp=u.unstable_shouldYield,fp=u.unstable_requestPaint,yt=u.unstable_now,dp=u.unstable_getCurrentPriorityLevel,Jo=u.unstable_ImmediatePriority,$o=u.unstable_UserBlockingPriority,si=u.unstable_NormalPriority,mp=u.unstable_LowPriority,Wo=u.unstable_IdlePriority,hp=u.log,pp=u.unstable_setDisableYieldValue,cn=null,_t=null;function Sa(e){if(typeof hp=="function"&&pp(e),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(cn,e)}catch{}}var gt=Math.clz32?Math.clz32:gp,yp=Math.log,_p=Math.LN2;function gp(e){return e>>>=0,e===0?32:31-(yp(e)/_p|0)|0}var fi=256,di=262144,mi=4194304;function Ia(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hi(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var d=l&134217727;return d!==0?(l=d&~i,l!==0?n=Ia(l):(s&=d,s!==0?n=Ia(s):a||(a=d&~e,a!==0&&(n=Ia(a))))):(d=l&~i,d!==0?n=Ia(d):s!==0?n=Ia(s):a||(a=l&~e,a!==0&&(n=Ia(a)))),n===0?0:t!==0&&t!==n&&(t&i)===0&&(i=n&-n,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:n}function on(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function vp(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fo(){var e=mi;return mi<<=1,(mi&62914560)===0&&(mi=4194304),e}function tr(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function sn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function bp(e,t,a,l,n,i){var s=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var d=e.entanglements,_=e.expirationTimes,k=e.hiddenUpdates;for(a=s&~a;0<a;){var A=31-gt(a),M=1<<A;d[A]=0,_[A]=-1;var R=k[A];if(R!==null)for(k[A]=null,A=0;A<R.length;A++){var z=R[A];z!==null&&(z.lane&=-536870913)}a&=~M}l!==0&&Io(e,l,0),i!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function Io(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-gt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&261930}function Po(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-gt(a),n=1<<l;n&t|e[l]&t&&(e[l]|=t),a&=~n}}function es(e,t){var a=t&-t;return a=(a&42)!==0?1:ar(a),(a&(e.suspendedLanes|t))!==0?0:a}function ar(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function lr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ts(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Ym(e.type))}function as(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var Ea=Math.random().toString(36).slice(2),Fe="__reactFiber$"+Ea,ot="__reactProps$"+Ea,vl="__reactContainer$"+Ea,nr="__reactEvents$"+Ea,xp="__reactListeners$"+Ea,Sp="__reactHandles$"+Ea,ls="__reactResources$"+Ea,fn="__reactMarker$"+Ea;function ir(e){delete e[Fe],delete e[ot],delete e[nr],delete e[xp],delete e[Sp]}function bl(e){var t=e[Fe];if(t)return t;for(var a=e.parentNode;a;){if(t=a[vl]||a[Fe]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=wm(e);e!==null;){if(a=e[Fe])return a;e=wm(e)}return t}e=a,a=e.parentNode}return null}function xl(e){if(e=e[Fe]||e[vl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function dn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Sl(e){var t=e[ls];return t||(t=e[ls]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function $e(e){e[fn]=!0}var ns=new Set,is={};function Pa(e,t){El(e,t),El(e+"Capture",t)}function El(e,t){for(is[e]=t,e=0;e<t.length;e++)ns.add(t[e])}var Ep=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),us={},rs={};function Tp(e){return Iu.call(rs,e)?!0:Iu.call(us,e)?!1:Ep.test(e)?rs[e]=!0:(us[e]=!0,!1)}function pi(e,t,a){if(Tp(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function 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,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}function zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function cs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wp(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(s){a=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(s){a=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ur(e){if(!e._valueTracker){var t=cs(e)?"checked":"value";e._valueTracker=wp(e,t,""+e[t])}}function os(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=cs(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function _i(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 kp=/[\n"\\]/g;function At(e){return e.replace(kp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function rr(e,t,a,l,n,i,s,d){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zt(t)):e.value!==""+zt(t)&&(e.value=""+zt(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?cr(e,s,zt(t)):a!=null?cr(e,s,zt(a)):l!=null&&e.removeAttribute("value"),n==null&&i!=null&&(e.defaultChecked=!!i),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+zt(d):e.removeAttribute("name")}function ss(e,t,a,l,n,i,s,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ur(e);return}a=a!=null?""+zt(a):"",t=t!=null?""+zt(t):a,d||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=d?e.checked:!!l,e.defaultChecked=!!l,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),ur(e)}function cr(e,t,a){t==="number"&&_i(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Tl(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&l&&(e[a].defaultSelected=!0)}else{for(a=""+zt(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,l&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function fs(e,t,a){if(t!=null&&(t=""+zt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+zt(a):""}function ds(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(c(92));if(Ye(l)){if(1<l.length)throw Error(c(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=zt(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l),ur(e)}function wl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Rp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ms(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Rp.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function hs(e,t,a){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var n in t)l=t[n],t.hasOwnProperty(n)&&a[n]!==l&&ms(e,n,l)}else for(var i in t)t.hasOwnProperty(i)&&ms(e,i,t[i])}function or(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var jp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),zp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function gi(e){return zp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function la(){}var sr=null;function fr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kl=null,Rl=null;function ps(e){var t=xl(e);if(t&&(e=t.stateNode)){var a=e[ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(rr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+At(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var n=l[ot]||null;if(!n)throw Error(c(90));rr(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&os(l)}break e;case"textarea":fs(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Tl(e,!!a.multiple,t,!1)}}}var dr=!1;function ys(e,t,a){if(dr)return e(t,a);dr=!0;try{var l=e(t);return l}finally{if(dr=!1,(kl!==null||Rl!==null)&&(iu(),kl&&(t=kl,e=Rl,Rl=kl=null,ps(t),e)))for(t=0;t<e.length;t++)ps(e[t])}}function mn(e,t){var a=e.stateNode;if(a===null)return null;var l=a[ot]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(c(231,t,typeof a));return a}var na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mr=!1;if(na)try{var hn={};Object.defineProperty(hn,"passive",{get:function(){mr=!0}}),window.addEventListener("test",hn,hn),window.removeEventListener("test",hn,hn)}catch{mr=!1}var Ta=null,hr=null,vi=null;function _s(){if(vi)return vi;var e,t=hr,a=t.length,l,n="value"in Ta?Ta.value:Ta.textContent,i=n.length;for(e=0;e<a&&t[e]===n[e];e++);var s=a-e;for(l=1;l<=s&&t[a-l]===n[i-l];l++);return vi=n.slice(e,1<l?1-l:void 0)}function bi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function xi(){return!0}function gs(){return!1}function st(e){function t(a,l,n,i,s){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?xi:gs,this.isPropagationStopped=gs,this}return S(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=xi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),t}var el={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Si=st(el),pn=S({},el,{view:0,detail:0}),Ap=st(pn),pr,yr,yn,Ei=S({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yn&&(yn&&e.type==="mousemove"?(pr=e.screenX-yn.screenX,yr=e.screenY-yn.screenY):yr=pr=0,yn=e),pr)},movementY:function(e){return"movementY"in e?e.movementY:yr}}),vs=st(Ei),Op=S({},Ei,{dataTransfer:0}),Cp=st(Op),Mp=S({},pn,{relatedTarget:0}),_r=st(Mp),Np=S({},el,{animationName:0,elapsedTime:0,pseudoElement:0}),Dp=st(Np),Up=S({},el,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qp=st(Up),Hp=S({},el,{data:0}),bs=st(Hp),Bp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lp={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Yp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yp[e])?!!t[e]:!1}function gr(){return Gp}var Xp=S({},pn,{key:function(e){if(e.key){var t=Bp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gr,charCode:function(e){return e.type==="keypress"?bi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Qp=st(Xp),Vp=S({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xs=st(Vp),Zp=S({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gr}),Kp=st(Zp),Jp=S({},el,{propertyName:0,elapsedTime:0,pseudoElement:0}),$p=st(Jp),Wp=S({},Ei,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fp=st(Wp),Ip=S({},el,{newState:0,oldState:0}),Pp=st(Ip),ey=[9,13,27,32],vr=na&&"CompositionEvent"in window,_n=null;na&&"documentMode"in document&&(_n=document.documentMode);var ty=na&&"TextEvent"in window&&!_n,Ss=na&&(!vr||_n&&8<_n&&11>=_n),Es=" ",Ts=!1;function ws(e,t){switch(e){case"keyup":return ey.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ks(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jl=!1;function ay(e,t){switch(e){case"compositionend":return ks(t);case"keypress":return t.which!==32?null:(Ts=!0,Es);case"textInput":return e=t.data,e===Es&&Ts?null:e;default:return null}}function ly(e,t){if(jl)return e==="compositionend"||!vr&&ws(e,t)?(e=_s(),vi=hr=Ta=null,jl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ss&&t.locale!=="ko"?null:t.data;default:return null}}var ny={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ny[e.type]:t==="textarea"}function js(e,t,a,l){kl?Rl?Rl.push(l):Rl=[l]:kl=l,t=du(t,"onChange"),0<t.length&&(a=new Si("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var gn=null,vn=null;function iy(e){fm(e,0)}function Ti(e){var t=dn(e);if(os(t))return e}function zs(e,t){if(e==="change")return t}var As=!1;if(na){var br;if(na){var xr="oninput"in document;if(!xr){var Os=document.createElement("div");Os.setAttribute("oninput","return;"),xr=typeof Os.oninput=="function"}br=xr}else br=!1;As=br&&(!document.documentMode||9<document.documentMode)}function Cs(){gn&&(gn.detachEvent("onpropertychange",Ms),vn=gn=null)}function Ms(e){if(e.propertyName==="value"&&Ti(vn)){var t=[];js(t,vn,e,fr(e)),ys(iy,t)}}function uy(e,t,a){e==="focusin"?(Cs(),gn=t,vn=a,gn.attachEvent("onpropertychange",Ms)):e==="focusout"&&Cs()}function ry(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ti(vn)}function cy(e,t){if(e==="click")return Ti(t)}function oy(e,t){if(e==="input"||e==="change")return Ti(t)}function sy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:sy;function bn(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!Iu.call(t,n)||!vt(e[n],t[n]))return!1}return!0}function Ns(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ds(e,t){var a=Ns(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ns(a)}}function Us(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Us(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qs(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=_i(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=_i(e.document)}return t}function Sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var fy=na&&"documentMode"in document&&11>=document.documentMode,zl=null,Er=null,xn=null,Tr=!1;function Hs(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Tr||zl==null||zl!==_i(l)||(l=zl,"selectionStart"in l&&Sr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),xn&&bn(xn,l)||(xn=l,l=du(Er,"onSelect"),0<l.length&&(t=new Si("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=zl)))}function tl(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Al={animationend:tl("Animation","AnimationEnd"),animationiteration:tl("Animation","AnimationIteration"),animationstart:tl("Animation","AnimationStart"),transitionrun:tl("Transition","TransitionRun"),transitionstart:tl("Transition","TransitionStart"),transitioncancel:tl("Transition","TransitionCancel"),transitionend:tl("Transition","TransitionEnd")},wr={},Bs={};na&&(Bs=document.createElement("div").style,"AnimationEvent"in window||(delete Al.animationend.animation,delete Al.animationiteration.animation,delete Al.animationstart.animation),"TransitionEvent"in window||delete Al.transitionend.transition);function al(e){if(wr[e])return wr[e];if(!Al[e])return e;var t=Al[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Bs)return wr[e]=t[a];return e}var Ls=al("animationend"),Ys=al("animationiteration"),Gs=al("animationstart"),dy=al("transitionrun"),my=al("transitionstart"),hy=al("transitioncancel"),Xs=al("transitionend"),Qs=new Map,kr="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(" ");kr.push("scrollEnd");function Gt(e,t){Qs.set(e,t),Pa(t,[e])}var wi=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ot=[],Ol=0,Rr=0;function ki(){for(var e=Ol,t=Rr=Ol=0;t<e;){var a=Ot[t];Ot[t++]=null;var l=Ot[t];Ot[t++]=null;var n=Ot[t];Ot[t++]=null;var i=Ot[t];if(Ot[t++]=null,l!==null&&n!==null){var s=l.pending;s===null?n.next=n:(n.next=s.next,s.next=n),l.pending=n}i!==0&&Vs(a,n,i)}}function Ri(e,t,a,l){Ot[Ol++]=e,Ot[Ol++]=t,Ot[Ol++]=a,Ot[Ol++]=l,Rr|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function jr(e,t,a,l){return Ri(e,t,a,l),ji(e)}function ll(e,t){return Ri(e,null,null,t),ji(e)}function Vs(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var n=!1,i=e.return;i!==null;)i.childLanes|=a,l=i.alternate,l!==null&&(l.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&&t!==null&&(n=31-gt(a),e=i.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),i):null}function ji(e){if(50<Xn)throw Xn=0,qc=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Cl={};function py(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,a,l){return new py(e,t,a,l)}function zr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ia(e,t){var a=e.alternate;return a===null?(a=bt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Zs(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zi(e,t,a,l,n,i){var s=0;if(l=e,typeof e=="function")zr(e)&&(s=1);else if(typeof e=="string")s=b_(e,a,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case De:return e=bt(31,a,t,n),e.elementType=De,e.lanes=i,e;case H:return nl(a.children,n,i,t);case L:s=8,n|=24;break;case B:return e=bt(12,a,t,n|2),e.elementType=B,e.lanes=i,e;case fe:return e=bt(13,a,t,n),e.elementType=fe,e.lanes=i,e;case K:return e=bt(19,a,t,n),e.elementType=K,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case F:s=10;break e;case P:s=9;break e;case me:s=11;break e;case X:s=14;break e;case ve:s=16,l=null;break e}s=29,a=Error(c(130,e===null?"null":typeof e,"")),l=null}return t=bt(s,a,t,n),t.elementType=e,t.type=l,t.lanes=i,t}function nl(e,t,a,l){return e=bt(7,e,l,t),e.lanes=a,e}function Ar(e,t,a){return e=bt(6,e,null,t),e.lanes=a,e}function Ks(e){var t=bt(18,null,null,0);return t.stateNode=e,t}function Or(e,t,a){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Js=new WeakMap;function Ct(e,t){if(typeof e=="object"&&e!==null){var a=Js.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ko(t)},Js.set(e,t),t)}return{value:e,source:t,stack:Ko(t)}}var Ml=[],Nl=0,Ai=null,Sn=0,Mt=[],Nt=0,wa=null,Jt=1,$t="";function ua(e,t){Ml[Nl++]=Sn,Ml[Nl++]=Ai,Ai=e,Sn=t}function $s(e,t,a){Mt[Nt++]=Jt,Mt[Nt++]=$t,Mt[Nt++]=wa,wa=e;var l=Jt;e=$t;var n=32-gt(l)-1;l&=~(1<<n),a+=1;var i=32-gt(t)+n;if(30<i){var s=n-n%5;i=(l&(1<<s)-1).toString(32),l>>=s,n-=s,Jt=1<<32-gt(t)+n|a<<n|l,$t=i+e}else Jt=1<<i|a<<n|l,$t=e}function Cr(e){e.return!==null&&(ua(e,1),$s(e,1,0))}function Mr(e){for(;e===Ai;)Ai=Ml[--Nl],Ml[Nl]=null,Sn=Ml[--Nl],Ml[Nl]=null;for(;e===wa;)wa=Mt[--Nt],Mt[Nt]=null,$t=Mt[--Nt],Mt[Nt]=null,Jt=Mt[--Nt],Mt[Nt]=null}function Ws(e,t){Mt[Nt++]=Jt,Mt[Nt++]=$t,Mt[Nt++]=wa,Jt=t.id,$t=t.overflow,wa=e}var Ie=null,ze=null,de=!1,ka=null,Dt=!1,Nr=Error(c(519));function Ra(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw En(Ct(t,e)),Nr}function Fs(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[Fe]=e,t[ot]=l,a){case"dialog":ce("cancel",t),ce("close",t);break;case"iframe":case"object":case"embed":ce("load",t);break;case"video":case"audio":for(a=0;a<Vn.length;a++)ce(Vn[a],t);break;case"source":ce("error",t);break;case"img":case"image":case"link":ce("error",t),ce("load",t);break;case"details":ce("toggle",t);break;case"input":ce("invalid",t),ss(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ce("invalid",t);break;case"textarea":ce("invalid",t),ds(t,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||pm(t.textContent,a)?(l.popover!=null&&(ce("beforetoggle",t),ce("toggle",t)),l.onScroll!=null&&ce("scroll",t),l.onScrollEnd!=null&&ce("scrollend",t),l.onClick!=null&&(t.onclick=la),t=!0):t=!1,t||Ra(e,!0)}function Is(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 31:case 13:Dt=!1;return;case 27:case 3:Dt=!0;return;default:Ie=Ie.return}}function Dl(e){if(e!==Ie)return!1;if(!de)return Is(e),de=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Ic(e.type,e.memoizedProps)),a=!a),a&&ze&&Ra(e),Is(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));ze=Tm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));ze=Tm(e)}else t===27?(t=ze,Ya(e.type)?(e=lo,lo=null,ze=e):ze=t):ze=Ie?qt(e.stateNode.nextSibling):null;return!0}function il(){ze=Ie=null,de=!1}function Dr(){var e=ka;return e!==null&&(ht===null?ht=e:ht.push.apply(ht,e),ka=null),e}function En(e){ka===null?ka=[e]:ka.push(e)}var Ur=b(null),ul=null,ra=null;function ja(e,t,a){G(Ur,t._currentValue),t._currentValue=a}function ca(e){e._currentValue=Ur.current,N(Ur)}function qr(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function Hr(e,t,a,l){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var s=n.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=n;for(var _=0;_<t.length;_++)if(d.context===t[_]){i.lanes|=a,d=i.alternate,d!==null&&(d.lanes|=a),qr(i.return,a,e),l||(s=null);break e}i=d.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(c(341));s.lanes|=a,i=s.alternate,i!==null&&(i.lanes|=a),qr(s,a,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function Ul(e,t,a,l){e=null;for(var n=t,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(c(387));if(s=s.memoizedProps,s!==null){var d=n.type;vt(n.pendingProps.value,s.value)||(e!==null?e.push(d):e=[d])}}else if(n===_e.current){if(s=n.alternate,s===null)throw Error(c(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Wn):e=[Wn])}n=n.return}e!==null&&Hr(t,e,a,l),t.flags|=262144}function Oi(e){for(e=e.firstContext;e!==null;){if(!vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rl(e){ul=e,ra=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Pe(e){return Ps(ul,e)}function Ci(e,t){return ul===null&&rl(e),Ps(e,t)}function Ps(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ra===null){if(e===null)throw Error(c(308));ra=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ra=ra.next=t;return a}var yy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},_y=u.unstable_scheduleCallback,gy=u.unstable_NormalPriority,Ge={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Br(){return{controller:new yy,data:new Map,refCount:0}}function Tn(e){e.refCount--,e.refCount===0&&_y(gy,function(){e.controller.abort()})}var wn=null,Lr=0,ql=0,Hl=null;function vy(e,t){if(wn===null){var a=wn=[];Lr=0,ql=Xc(),Hl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Lr++,t.then(ef,ef),t}function ef(){if(--Lr===0&&wn!==null){Hl!==null&&(Hl.status="fulfilled");var e=wn;wn=null,ql=0,Hl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function by(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var tf=O.S;O.S=function(e,t){Bd=yt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&vy(e,t),tf!==null&&tf(e,t)};var cl=b(null);function Yr(){var e=cl.current;return e!==null?e:Re.pooledCache}function Mi(e,t){t===null?G(cl,cl.current):G(cl,t.pool)}function af(){var e=Yr();return e===null?null:{parent:Ge._currentValue,pool:e}}var Bl=Error(c(460)),Gr=Error(c(474)),Ni=Error(c(542)),Di={then:function(){}};function lf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function nf(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(la,la),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,rf(e),e;default:if(typeof t.status=="string")t.then(la,la);else{if(e=Re,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=l}},function(l){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,rf(e),e}throw sl=t,Bl}}function ol(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(sl=a,Bl):a}}var sl=null;function uf(){if(sl===null)throw Error(c(459));var e=sl;return sl=null,e}function rf(e){if(e===Bl||e===Ni)throw Error(c(483))}var Ll=null,kn=0;function Ui(e){var t=kn;return kn+=1,Ll===null&&(Ll=[]),nf(Ll,e,t)}function Rn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function qi(e,t){throw t.$$typeof===D?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function cf(e){function t(E,v){if(e){var w=E.deletions;w===null?(E.deletions=[v],E.flags|=16):w.push(v)}}function a(E,v){if(!e)return null;for(;v!==null;)t(E,v),v=v.sibling;return null}function l(E){for(var v=new Map;E!==null;)E.key!==null?v.set(E.key,E):v.set(E.index,E),E=E.sibling;return v}function n(E,v){return E=ia(E,v),E.index=0,E.sibling=null,E}function i(E,v,w){return E.index=w,e?(w=E.alternate,w!==null?(w=w.index,w<v?(E.flags|=67108866,v):w):(E.flags|=67108866,v)):(E.flags|=1048576,v)}function s(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function d(E,v,w,C){return v===null||v.tag!==6?(v=Ar(w,E.mode,C),v.return=E,v):(v=n(v,w),v.return=E,v)}function _(E,v,w,C){var W=w.type;return W===H?A(E,v,w.props.children,C,w.key):v!==null&&(v.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===ve&&ol(W)===v.type)?(v=n(v,w.props),Rn(v,w),v.return=E,v):(v=zi(w.type,w.key,w.props,null,E.mode,C),Rn(v,w),v.return=E,v)}function k(E,v,w,C){return v===null||v.tag!==4||v.stateNode.containerInfo!==w.containerInfo||v.stateNode.implementation!==w.implementation?(v=Or(w,E.mode,C),v.return=E,v):(v=n(v,w.children||[]),v.return=E,v)}function A(E,v,w,C,W){return v===null||v.tag!==7?(v=nl(w,E.mode,C,W),v.return=E,v):(v=n(v,w),v.return=E,v)}function M(E,v,w){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Ar(""+v,E.mode,w),v.return=E,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case V:return w=zi(v.type,v.key,v.props,null,E.mode,w),Rn(w,v),w.return=E,w;case q:return v=Or(v,E.mode,w),v.return=E,v;case ve:return v=ol(v),M(E,v,w)}if(Ye(v)||Ke(v))return v=nl(v,E.mode,w,null),v.return=E,v;if(typeof v.then=="function")return M(E,Ui(v),w);if(v.$$typeof===F)return M(E,Ci(E,v),w);qi(E,v)}return null}function R(E,v,w,C){var W=v!==null?v.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return W!==null?null:d(E,v,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case V:return w.key===W?_(E,v,w,C):null;case q:return w.key===W?k(E,v,w,C):null;case ve:return w=ol(w),R(E,v,w,C)}if(Ye(w)||Ke(w))return W!==null?null:A(E,v,w,C,null);if(typeof w.then=="function")return R(E,v,Ui(w),C);if(w.$$typeof===F)return R(E,v,Ci(E,w),C);qi(E,w)}return null}function z(E,v,w,C,W){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return E=E.get(w)||null,d(v,E,""+C,W);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case V:return E=E.get(C.key===null?w:C.key)||null,_(v,E,C,W);case q:return E=E.get(C.key===null?w:C.key)||null,k(v,E,C,W);case ve:return C=ol(C),z(E,v,w,C,W)}if(Ye(C)||Ke(C))return E=E.get(w)||null,A(v,E,C,W,null);if(typeof C.then=="function")return z(E,v,w,Ui(C),W);if(C.$$typeof===F)return z(E,v,w,Ci(v,C),W);qi(v,C)}return null}function Z(E,v,w,C){for(var W=null,he=null,$=v,ne=v=0,se=null;$!==null&&ne<w.length;ne++){$.index>ne?(se=$,$=null):se=$.sibling;var pe=R(E,$,w[ne],C);if(pe===null){$===null&&($=se);break}e&&$&&pe.alternate===null&&t(E,$),v=i(pe,v,ne),he===null?W=pe:he.sibling=pe,he=pe,$=se}if(ne===w.length)return a(E,$),de&&ua(E,ne),W;if($===null){for(;ne<w.length;ne++)$=M(E,w[ne],C),$!==null&&(v=i($,v,ne),he===null?W=$:he.sibling=$,he=$);return de&&ua(E,ne),W}for($=l($);ne<w.length;ne++)se=z($,E,ne,w[ne],C),se!==null&&(e&&se.alternate!==null&&$.delete(se.key===null?ne:se.key),v=i(se,v,ne),he===null?W=se:he.sibling=se,he=se);return e&&$.forEach(function(Za){return t(E,Za)}),de&&ua(E,ne),W}function I(E,v,w,C){if(w==null)throw Error(c(151));for(var W=null,he=null,$=v,ne=v=0,se=null,pe=w.next();$!==null&&!pe.done;ne++,pe=w.next()){$.index>ne?(se=$,$=null):se=$.sibling;var Za=R(E,$,pe.value,C);if(Za===null){$===null&&($=se);break}e&&$&&Za.alternate===null&&t(E,$),v=i(Za,v,ne),he===null?W=Za:he.sibling=Za,he=Za,$=se}if(pe.done)return a(E,$),de&&ua(E,ne),W;if($===null){for(;!pe.done;ne++,pe=w.next())pe=M(E,pe.value,C),pe!==null&&(v=i(pe,v,ne),he===null?W=pe:he.sibling=pe,he=pe);return de&&ua(E,ne),W}for($=l($);!pe.done;ne++,pe=w.next())pe=z($,E,ne,pe.value,C),pe!==null&&(e&&pe.alternate!==null&&$.delete(pe.key===null?ne:pe.key),v=i(pe,v,ne),he===null?W=pe:he.sibling=pe,he=pe);return e&&$.forEach(function(O_){return t(E,O_)}),de&&ua(E,ne),W}function we(E,v,w,C){if(typeof w=="object"&&w!==null&&w.type===H&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case V:e:{for(var W=w.key;v!==null;){if(v.key===W){if(W=w.type,W===H){if(v.tag===7){a(E,v.sibling),C=n(v,w.props.children),C.return=E,E=C;break e}}else if(v.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===ve&&ol(W)===v.type){a(E,v.sibling),C=n(v,w.props),Rn(C,w),C.return=E,E=C;break e}a(E,v);break}else t(E,v);v=v.sibling}w.type===H?(C=nl(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),Rn(C,w),C.return=E,E=C)}return s(E);case q:e:{for(W=w.key;v!==null;){if(v.key===W)if(v.tag===4&&v.stateNode.containerInfo===w.containerInfo&&v.stateNode.implementation===w.implementation){a(E,v.sibling),C=n(v,w.children||[]),C.return=E,E=C;break e}else{a(E,v);break}else t(E,v);v=v.sibling}C=Or(w,E.mode,C),C.return=E,E=C}return s(E);case ve:return w=ol(w),we(E,v,w,C)}if(Ye(w))return Z(E,v,w,C);if(Ke(w)){if(W=Ke(w),typeof W!="function")throw Error(c(150));return w=W.call(w),I(E,v,w,C)}if(typeof w.then=="function")return we(E,v,Ui(w),C);if(w.$$typeof===F)return we(E,v,Ci(E,w),C);qi(E,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,v!==null&&v.tag===6?(a(E,v.sibling),C=n(v,w),C.return=E,E=C):(a(E,v),C=Ar(w,E.mode,C),C.return=E,E=C),s(E)):a(E,v)}return function(E,v,w,C){try{kn=0;var W=we(E,v,w,C);return Ll=null,W}catch($){if($===Bl||$===Ni)throw $;var he=bt(29,$,null,E.mode);return he.lanes=C,he.return=E,he}finally{}}}var fl=cf(!0),of=cf(!1),za=!1;function Xr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Aa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Oa(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(ye&2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=ji(e),Vs(e,null,a),t}return Ri(e,l,t,a),ji(e)}function jn(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Po(e,a)}}function Vr(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var s={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?n=i=s:i=i.next=s,a=a.next}while(a!==null);i===null?n=i=t:i=i.next=t}else n=i=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Zr=!1;function zn(){if(Zr){var e=Hl;if(e!==null)throw e}}function An(e,t,a,l){Zr=!1;var n=e.updateQueue;za=!1;var i=n.firstBaseUpdate,s=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var _=d,k=_.next;_.next=null,s===null?i=k:s.next=k,s=_;var A=e.alternate;A!==null&&(A=A.updateQueue,d=A.lastBaseUpdate,d!==s&&(d===null?A.firstBaseUpdate=k:d.next=k,A.lastBaseUpdate=_))}if(i!==null){var M=n.baseState;s=0,A=k=_=null,d=i;do{var R=d.lane&-536870913,z=R!==d.lane;if(z?(oe&R)===R:(l&R)===R){R!==0&&R===ql&&(Zr=!0),A!==null&&(A=A.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var Z=e,I=d;R=t;var we=a;switch(I.tag){case 1:if(Z=I.payload,typeof Z=="function"){M=Z.call(we,M,R);break e}M=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=I.payload,R=typeof Z=="function"?Z.call(we,M,R):Z,R==null)break e;M=S({},M,R);break e;case 2:za=!0}}R=d.callback,R!==null&&(e.flags|=64,z&&(e.flags|=8192),z=n.callbacks,z===null?n.callbacks=[R]:z.push(R))}else z={lane:R,tag:d.tag,payload:d.payload,callback:d.callback,next:null},A===null?(k=A=z,_=M):A=A.next=z,s|=R;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;z=d,d=z.next,z.next=null,n.lastBaseUpdate=z,n.shared.pending=null}}while(!0);A===null&&(_=M),n.baseState=_,n.firstBaseUpdate=k,n.lastBaseUpdate=A,i===null&&(n.shared.lanes=0),Ua|=s,e.lanes=s,e.memoizedState=M}}function sf(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function ff(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)sf(a[e],t)}var Yl=b(null),Hi=b(0);function df(e,t){e=_a,G(Hi,e),G(Yl,t),_a=e|t.baseLanes}function Kr(){G(Hi,_a),G(Yl,Yl.current)}function Jr(){_a=Hi.current,N(Yl),N(Hi)}var xt=b(null),Ut=null;function Ca(e){var t=e.alternate;G(Be,Be.current&1),G(xt,e),Ut===null&&(t===null||Yl.current!==null||t.memoizedState!==null)&&(Ut=e)}function $r(e){G(Be,Be.current),G(xt,e),Ut===null&&(Ut=e)}function mf(e){e.tag===22?(G(Be,Be.current),G(xt,e),Ut===null&&(Ut=e)):Ma()}function Ma(){G(Be,Be.current),G(xt,xt.current)}function St(e){N(xt),Ut===e&&(Ut=null),N(Be)}var Be=b(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||to(a)||ao(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 oa=0,le=null,Ee=null,Xe=null,Li=!1,Gl=!1,dl=!1,Yi=0,On=0,Xl=null,xy=0;function Ue(){throw Error(c(321))}function Wr(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!vt(e[a],t[a]))return!1;return!0}function Fr(e,t,a,l,n,i){return oa=i,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Wf:dc,dl=!1,i=a(l,n),dl=!1,Gl&&(i=pf(t,a,l,n)),hf(e),i}function hf(e){O.H=Nn;var t=Ee!==null&&Ee.next!==null;if(oa=0,Xe=Ee=le=null,Li=!1,On=0,Xl=null,t)throw Error(c(300));e===null||Qe||(e=e.dependencies,e!==null&&Oi(e)&&(Qe=!0))}function pf(e,t,a,l){le=e;var n=0;do{if(Gl&&(Xl=null),On=0,Gl=!1,25<=n)throw Error(c(301));if(n+=1,Xe=Ee=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}O.H=Ff,i=t(a,l)}while(Gl);return i}function Sy(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?Cn(t):t,e=e.useState()[0],(Ee!==null?Ee.memoizedState:null)!==e&&(le.flags|=1024),t}function Ir(){var e=Yi!==0;return Yi=0,e}function Pr(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function ec(e){if(Li){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Li=!1}oa=0,Xe=Ee=le=null,Gl=!1,On=Yi=0,Xl=null}function ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?le.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Le(){if(Ee===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Xe===null?le.memoizedState:Xe.next;if(t!==null)Xe=t,Ee=e;else{if(e===null)throw le.alternate===null?Error(c(467)):Error(c(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Xe===null?le.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Gi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Cn(e){var t=On;return On+=1,Xl===null&&(Xl=[]),e=nf(Xl,e,t),t=le,(Xe===null?t.memoizedState:Xe.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Wf:dc),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Cn(e);if(e.$$typeof===F)return Pe(e)}throw Error(c(438,String(e)))}function tc(e){var t=null,a=le.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=le.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Gi(),le.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=Ze;return t.index++,a}function sa(e,t){return typeof t=="function"?t(e):t}function Qi(e){var t=Le();return ac(t,Ee,e)}function ac(e,t,a){var l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=a;var n=e.baseQueue,i=l.pending;if(i!==null){if(n!==null){var s=n.next;n.next=i.next,i.next=s}t.baseQueue=n=i,l.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var d=s=null,_=null,k=t,A=!1;do{var M=k.lane&-536870913;if(M!==k.lane?(oe&M)===M:(oa&M)===M){var R=k.revertLane;if(R===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),M===ql&&(A=!0);else if((oa&R)===R){k=k.next,R===ql&&(A=!0);continue}else M={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},_===null?(d=_=M,s=i):_=_.next=M,le.lanes|=R,Ua|=R;M=k.action,dl&&a(i,M),i=k.hasEagerState?k.eagerState:a(i,M)}else R={lane:M,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},_===null?(d=_=R,s=i):_=_.next=R,le.lanes|=M,Ua|=M;k=k.next}while(k!==null&&k!==t);if(_===null?s=i:_.next=d,!vt(i,e.memoizedState)&&(Qe=!0,A&&(a=Hl,a!==null)))throw a;e.memoizedState=i,e.baseState=s,e.baseQueue=_,l.lastRenderedState=i}return n===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function lc(e){var t=Le(),a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,i=t.memoizedState;if(n!==null){a.pending=null;var s=n=n.next;do i=e(i,s.action),s=s.next;while(s!==n);vt(i,t.memoizedState)||(Qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,l]}function yf(e,t,a){var l=le,n=Le(),i=de;if(i){if(a===void 0)throw Error(c(407));a=a()}else a=t();var s=!vt((Ee||n).memoizedState,a);if(s&&(n.memoizedState=a,Qe=!0),n=n.queue,uc(vf.bind(null,l,n,e),[e]),n.getSnapshot!==t||s||Xe!==null&&Xe.memoizedState.tag&1){if(l.flags|=2048,Ql(9,{destroy:void 0},gf.bind(null,l,n,a,t),null),Re===null)throw Error(c(349));i||(oa&127)!==0||_f(l,t,a)}return a}function _f(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=le.updateQueue,t===null?(t=Gi(),le.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function gf(e,t,a,l){t.value=a,t.getSnapshot=l,bf(t)&&xf(e)}function vf(e,t,a){return a(function(){bf(t)&&xf(e)})}function bf(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!vt(e,a)}catch{return!0}}function xf(e){var t=ll(e,2);t!==null&&pt(t,e,2)}function nc(e){var t=ut();if(typeof e=="function"){var a=e;if(e=a(),dl){Sa(!0);try{a()}finally{Sa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e},t}function Sf(e,t,a,l){return e.baseState=a,ac(e,Ee,typeof l=="function"?l:sa)}function Ey(e,t,a,l,n){if(Ki(e))throw Error(c(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};O.T!==null?a(!0):i.isTransition=!1,l(i),a=t.pending,a===null?(i.next=t.pending=i,Ef(t,i)):(i.next=a.next,t.pending=a.next=i)}}function Ef(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var i=O.T,s={};O.T=s;try{var d=a(n,l),_=O.S;_!==null&&_(s,d),Tf(e,t,d)}catch(k){ic(e,t,k)}finally{i!==null&&s.types!==null&&(i.types=s.types),O.T=i}}else try{i=a(n,l),Tf(e,t,i)}catch(k){ic(e,t,k)}}function Tf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){wf(e,t,l)},function(l){return ic(e,t,l)}):wf(e,t,a)}function wf(e,t,a){t.status="fulfilled",t.value=a,kf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Ef(e,a)))}function ic(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,kf(t),t=t.next;while(t!==l)}e.action=null}function kf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Rf(e,t){return t}function jf(e,t){if(de){var a=Re.formState;if(a!==null){e:{var l=le;if(de){if(ze){t:{for(var n=ze,i=Dt;n.nodeType!==8;){if(!i){n=null;break t}if(n=qt(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){ze=qt(n.nextSibling),l=n.data==="F!";break e}}Ra(l)}l=!1}l&&(t=a[0])}}return a=ut(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rf,lastRenderedState:t},a.queue=l,a=Kf.bind(null,le,l),l.dispatch=a,l=nc(!1),i=fc.bind(null,le,!1,l.queue),l=ut(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=Ey.bind(null,le,n,i,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function zf(e){var t=Le();return Af(t,Ee,e)}function Af(e,t,a){if(t=ac(e,t,Rf)[0],e=Qi(sa)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Cn(t)}catch(s){throw s===Bl?Ni:s}else l=t;t=Le();var n=t.queue,i=n.dispatch;return a!==t.memoizedState&&(le.flags|=2048,Ql(9,{destroy:void 0},Ty.bind(null,n,a),null)),[l,i,e]}function Ty(e,t){e.action=t}function Of(e){var t=Le(),a=Ee;if(a!==null)return Af(t,a,e);Le(),t=t.memoizedState,a=Le();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function Ql(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=le.updateQueue,t===null&&(t=Gi(),le.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Cf(){return Le().memoizedState}function Vi(e,t,a,l){var n=ut();le.flags|=e,n.memoizedState=Ql(1|t,{destroy:void 0},a,l===void 0?null:l)}function Zi(e,t,a,l){var n=Le();l=l===void 0?null:l;var i=n.memoizedState.inst;Ee!==null&&l!==null&&Wr(l,Ee.memoizedState.deps)?n.memoizedState=Ql(t,i,a,l):(le.flags|=e,n.memoizedState=Ql(1|t,i,a,l))}function Mf(e,t){Vi(8390656,8,e,t)}function uc(e,t){Zi(2048,8,e,t)}function wy(e){le.flags|=4;var t=le.updateQueue;if(t===null)t=Gi(),le.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Nf(e){var t=Le().memoizedState;return wy({ref:t,nextImpl:e}),function(){if((ye&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Df(e,t){return Zi(4,2,e,t)}function Uf(e,t){return Zi(4,4,e,t)}function qf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Hf(e,t,a){a=a!=null?a.concat([e]):null,Zi(4,4,qf.bind(null,t,e),a)}function rc(){}function Bf(e,t){var a=Le();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&Wr(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function Lf(e,t){var a=Le();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&Wr(t,l[1]))return l[0];if(l=e(),dl){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[l,t],l}function cc(e,t,a){return a===void 0||(oa&1073741824)!==0&&(oe&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Yd(),le.lanes|=e,Ua|=e,a)}function Yf(e,t,a,l){return vt(a,t)?a:Yl.current!==null?(e=cc(e,a,l),vt(e,t)||(Qe=!0),e):(oa&42)===0||(oa&1073741824)!==0&&(oe&261930)===0?(Qe=!0,e.memoizedState=a):(e=Yd(),le.lanes|=e,Ua|=e,t)}function Gf(e,t,a,l,n){var i=Y.p;Y.p=i!==0&&8>i?i:8;var s=O.T,d={};O.T=d,fc(e,!1,t,a);try{var _=n(),k=O.S;if(k!==null&&k(d,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var A=by(_,l);Mn(e,t,A,wt(e))}else Mn(e,t,l,wt(e))}catch(M){Mn(e,t,{then:function(){},status:"rejected",reason:M},wt())}finally{Y.p=i,s!==null&&d.types!==null&&(s.types=d.types),O.T=s}}function ky(){}function oc(e,t,a,l){if(e.tag!==5)throw Error(c(476));var n=Xf(e).queue;Gf(e,n,t,ee,a===null?ky:function(){return Qf(e),a(l)})}function Xf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:ee},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qf(e){var t=Xf(e);t.next===null&&(t=e.alternate.memoizedState),Mn(e,t.next.queue,{},wt())}function sc(){return Pe(Wn)}function Vf(){return Le().memoizedState}function Zf(){return Le().memoizedState}function Ry(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=wt();e=Aa(a);var l=Oa(t,e,a);l!==null&&(pt(l,t,a),jn(l,t,a)),t={cache:Br()},e.payload=t;return}t=t.return}}function jy(e,t,a){var l=wt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ki(e)?Jf(t,a):(a=jr(e,t,a,l),a!==null&&(pt(a,e,l),$f(a,t,l)))}function Kf(e,t,a){var l=wt();Mn(e,t,a,l)}function Mn(e,t,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))Jf(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,d=i(s,a);if(n.hasEagerState=!0,n.eagerState=d,vt(d,s))return Ri(e,t,n,0),Re===null&&ki(),!1}catch{}finally{}if(a=jr(e,t,n,l),a!==null)return pt(a,e,l),$f(a,t,l),!0}return!1}function fc(e,t,a,l){if(l={lane:2,revertLane:Xc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ki(e)){if(t)throw Error(c(479))}else t=jr(e,a,l,2),t!==null&&pt(t,e,2)}function Ki(e){var t=e.alternate;return e===le||t!==null&&t===le}function Jf(e,t){Gl=Li=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function $f(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Po(e,a)}}var Nn={readContext:Pe,use:Xi,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useLayoutEffect:Ue,useInsertionEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useSyncExternalStore:Ue,useId:Ue,useHostTransitionStatus:Ue,useFormState:Ue,useActionState:Ue,useOptimistic:Ue,useMemoCache:Ue,useCacheRefresh:Ue};Nn.useEffectEvent=Ue;var Wf={readContext:Pe,use:Xi,useCallback:function(e,t){return ut().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Mf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Vi(4194308,4,qf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){Vi(4,2,e,t)},useMemo:function(e,t){var a=ut();t=t===void 0?null:t;var l=e();if(dl){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=ut();if(a!==void 0){var n=a(t);if(dl){Sa(!0);try{a(t)}finally{Sa(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=jy.bind(null,le,e),[l.memoizedState,e]},useRef:function(e){var t=ut();return e={current:e},t.memoizedState=e},useState:function(e){e=nc(e);var t=e.queue,a=Kf.bind(null,le,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:rc,useDeferredValue:function(e,t){var a=ut();return cc(a,e,t)},useTransition:function(){var e=nc(!1);return e=Gf.bind(null,le,e.queue,!0,!1),ut().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=le,n=ut();if(de){if(a===void 0)throw Error(c(407));a=a()}else{if(a=t(),Re===null)throw Error(c(349));(oe&127)!==0||_f(l,t,a)}n.memoizedState=a;var i={value:a,getSnapshot:t};return n.queue=i,Mf(vf.bind(null,l,i,e),[e]),l.flags|=2048,Ql(9,{destroy:void 0},gf.bind(null,l,i,a,t),null),a},useId:function(){var e=ut(),t=Re.identifierPrefix;if(de){var a=$t,l=Jt;a=(l&~(1<<32-gt(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Yi++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=xy++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:sc,useFormState:jf,useActionState:jf,useOptimistic:function(e){var t=ut();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=fc.bind(null,le,!0,a),a.dispatch=t,[e,t]},useMemoCache:tc,useCacheRefresh:function(){return ut().memoizedState=Ry.bind(null,le)},useEffectEvent:function(e){var t=ut(),a={impl:e};return t.memoizedState=a,function(){if((ye&2)!==0)throw Error(c(440));return a.impl.apply(void 0,arguments)}}},dc={readContext:Pe,use:Xi,useCallback:Bf,useContext:Pe,useEffect:uc,useImperativeHandle:Hf,useInsertionEffect:Df,useLayoutEffect:Uf,useMemo:Lf,useReducer:Qi,useRef:Cf,useState:function(){return Qi(sa)},useDebugValue:rc,useDeferredValue:function(e,t){var a=Le();return Yf(a,Ee.memoizedState,e,t)},useTransition:function(){var e=Qi(sa)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:Cn(e),t]},useSyncExternalStore:yf,useId:Vf,useHostTransitionStatus:sc,useFormState:zf,useActionState:zf,useOptimistic:function(e,t){var a=Le();return Sf(a,Ee,e,t)},useMemoCache:tc,useCacheRefresh:Zf};dc.useEffectEvent=Nf;var Ff={readContext:Pe,use:Xi,useCallback:Bf,useContext:Pe,useEffect:uc,useImperativeHandle:Hf,useInsertionEffect:Df,useLayoutEffect:Uf,useMemo:Lf,useReducer:lc,useRef:Cf,useState:function(){return lc(sa)},useDebugValue:rc,useDeferredValue:function(e,t){var a=Le();return Ee===null?cc(a,e,t):Yf(a,Ee.memoizedState,e,t)},useTransition:function(){var e=lc(sa)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:Cn(e),t]},useSyncExternalStore:yf,useId:Vf,useHostTransitionStatus:sc,useFormState:Of,useActionState:Of,useOptimistic:function(e,t){var a=Le();return Ee!==null?Sf(a,Ee,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:tc,useCacheRefresh:Zf};Ff.useEffectEvent=Nf;function mc(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:S({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var hc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=wt(),n=Aa(l);n.payload=t,a!=null&&(n.callback=a),t=Oa(e,n,l),t!==null&&(pt(t,e,l),jn(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=wt(),n=Aa(l);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=Oa(e,n,l),t!==null&&(pt(t,e,l),jn(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=wt(),l=Aa(a);l.tag=2,t!=null&&(l.callback=t),t=Oa(e,l,a),t!==null&&(pt(t,e,a),jn(t,e,a))}};function If(e,t,a,l,n,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,i,s):t.prototype&&t.prototype.isPureReactComponent?!bn(a,l)||!bn(n,i):!0}function Pf(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&hc.enqueueReplaceState(t,t.state,null)}function ml(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=S({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}function ed(e){wi(e)}function td(e){console.error(e)}function ad(e){wi(e)}function Ji(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function ld(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function pc(e,t,a){return a=Aa(a),a.tag=3,a.payload={element:null},a.callback=function(){Ji(e,t)},a}function nd(e){return e=Aa(e),e.tag=3,e}function id(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var i=l.value;e.payload=function(){return n(i)},e.callback=function(){ld(t,a,l)}}var s=a.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){ld(t,a,l),typeof n!="function"&&(qa===null?qa=new Set([this]):qa.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function zy(e,t,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&Ul(t,a,n,!0),a=xt.current,a!==null){switch(a.tag){case 31:case 13:return Ut===null?uu():a.alternate===null&&qe===0&&(qe=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Di?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),Lc(e,l,n)),!1;case 22:return a.flags|=65536,l===Di?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),Lc(e,l,n)),!1}throw Error(c(435,a.tag))}return Lc(e,l,n),uu(),!1}if(de)return t=xt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,l!==Nr&&(e=Error(c(422),{cause:l}),En(Ct(e,a)))):(l!==Nr&&(t=Error(c(423),{cause:l}),En(Ct(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,l=Ct(l,a),n=pc(e.stateNode,l,n),Vr(e,n),qe!==4&&(qe=2)),!1;var i=Error(c(520),{cause:l});if(i=Ct(i,a),Gn===null?Gn=[i]:Gn.push(i),qe!==4&&(qe=2),t===null)return!0;l=Ct(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=pc(a.stateNode,l,e),Vr(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(qa===null||!qa.has(i))))return a.flags|=65536,n&=-n,a.lanes|=n,n=nd(n),id(n,e,a,l),Vr(a,n),!1}a=a.return}while(a!==null);return!1}var yc=Error(c(461)),Qe=!1;function et(e,t,a,l){t.child=e===null?of(t,null,a,l):fl(t,e.child,a,l)}function ud(e,t,a,l,n){a=a.render;var i=t.ref;if("ref"in l){var s={};for(var d in l)d!=="ref"&&(s[d]=l[d])}else s=l;return rl(t),l=Fr(e,t,a,s,i,n),d=Ir(),e!==null&&!Qe?(Pr(e,t,n),fa(e,t,n)):(de&&d&&Cr(t),t.flags|=1,et(e,t,l,n),t.child)}function rd(e,t,a,l,n){if(e===null){var i=a.type;return typeof i=="function"&&!zr(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,cd(e,t,i,l,n)):(e=zi(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Tc(e,n)){var s=i.memoizedProps;if(a=a.compare,a=a!==null?a:bn,a(s,l)&&e.ref===t.ref)return fa(e,t,n)}return t.flags|=1,e=ia(i,l),e.ref=t.ref,e.return=t,t.child=e}function cd(e,t,a,l,n){if(e!==null){var i=e.memoizedProps;if(bn(i,l)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=l=i,Tc(e,n))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,fa(e,t,n)}return _c(e,t,a,l,n)}function od(e,t,a,l){var n=l.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(l=t.child=e.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;l=n&~i}else l=0,t.child=null;return sd(e,t,i,a,l)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Mi(t,i!==null?i.cachePool:null),i!==null?df(t,i):Kr(),mf(t);else return l=t.lanes=536870912,sd(e,t,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(Mi(t,i.cachePool),df(t,i),Ma(),t.memoizedState=null):(e!==null&&Mi(t,null),Kr(),Ma());return et(e,t,n,a),t.child}function Dn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function sd(e,t,a,l,n){var i=Yr();return i=i===null?null:{parent:Ge._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&Mi(t,null),Kr(),mf(t),e!==null&&Ul(e,t,l,!0),t.childLanes=n,null}function $i(e,t){return t=Fi({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fd(e,t,a){return fl(t,e.child,null,a),e=$i(t,t.pendingProps),e.flags|=2,St(t),t.memoizedState=null,e}function Ay(e,t,a){var l=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(de){if(l.mode==="hidden")return e=$i(t,l),t.lanes=536870912,Dn(null,e);if($r(t),(e=ze)?(e=Em(e,Dt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:wa!==null?{id:Jt,overflow:$t}:null,retryLane:536870912,hydrationErrors:null},a=Ks(e),a.return=t,t.child=a,Ie=t,ze=null)):e=null,e===null)throw Ra(t);return t.lanes=536870912,null}return $i(t,l)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if($r(t),n)if(t.flags&256)t.flags&=-257,t=fd(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(Qe||Ul(e,t,a,!1),n=(a&e.childLanes)!==0,Qe||n){if(l=Re,l!==null&&(s=es(l,a),s!==0&&s!==i.retryLane))throw i.retryLane=s,ll(e,s),pt(l,e,s),yc;uu(),t=fd(e,t,a)}else e=i.treeContext,ze=qt(s.nextSibling),Ie=t,de=!0,ka=null,Dt=!1,e!==null&&Ws(t,e),t=$i(t,l),t.flags|=4096;return t}return e=ia(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Wi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(c(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function _c(e,t,a,l,n){return rl(t),a=Fr(e,t,a,l,void 0,n),l=Ir(),e!==null&&!Qe?(Pr(e,t,n),fa(e,t,n)):(de&&l&&Cr(t),t.flags|=1,et(e,t,a,n),t.child)}function dd(e,t,a,l,n,i){return rl(t),t.updateQueue=null,a=pf(t,l,a,n),hf(e),l=Ir(),e!==null&&!Qe?(Pr(e,t,i),fa(e,t,i)):(de&&l&&Cr(t),t.flags|=1,et(e,t,a,i),t.child)}function md(e,t,a,l,n){if(rl(t),t.stateNode===null){var i=Cl,s=a.contextType;typeof s=="object"&&s!==null&&(i=Pe(s)),i=new a(l,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=hc,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=l,i.state=t.memoizedState,i.refs={},Xr(t),s=a.contextType,i.context=typeof s=="object"&&s!==null?Pe(s):Cl,i.state=t.memoizedState,s=a.getDerivedStateFromProps,typeof s=="function"&&(mc(t,a,s,l),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&hc.enqueueReplaceState(i,i.state,null),An(t,l,i,n),zn(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,_=ml(a,d);i.props=_;var k=i.context,A=a.contextType;s=Cl,typeof A=="object"&&A!==null&&(s=Pe(A));var M=a.getDerivedStateFromProps;A=typeof M=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,A||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||k!==s)&&Pf(t,i,l,s),za=!1;var R=t.memoizedState;i.state=R,An(t,l,i,n),zn(),k=t.memoizedState,d||R!==k||za?(typeof M=="function"&&(mc(t,a,M,l),k=t.memoizedState),(_=za||If(t,a,_,l,R,k,s))?(A||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=k),i.props=l,i.state=k,i.context=s,l=_):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{i=t.stateNode,Qr(e,t),s=t.memoizedProps,A=ml(a,s),i.props=A,M=t.pendingProps,R=i.context,k=a.contextType,_=Cl,typeof k=="object"&&k!==null&&(_=Pe(k)),d=a.getDerivedStateFromProps,(k=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==M||R!==_)&&Pf(t,i,l,_),za=!1,R=t.memoizedState,i.state=R,An(t,l,i,n),zn();var z=t.memoizedState;s!==M||R!==z||za||e!==null&&e.dependencies!==null&&Oi(e.dependencies)?(typeof d=="function"&&(mc(t,a,d,l),z=t.memoizedState),(A=za||If(t,a,A,l,R,z,_)||e!==null&&e.dependencies!==null&&Oi(e.dependencies))?(k||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,z,_),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,z,_)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=z),i.props=l,i.state=z,i.context=_,l=A):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),l=!1)}return i=l,Wi(e,t),l=(t.flags&128)!==0,i||l?(i=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&l?(t.child=fl(t,e.child,null,n),t.child=fl(t,null,a,n)):et(e,t,a,n),t.memoizedState=i.state,e=t.child):e=fa(e,t,n),e}function hd(e,t,a,l){return il(),t.flags|=256,et(e,t,a,l),t.child}var gc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vc(e){return{baseLanes:e,cachePool:af()}}function bc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Tt),e}function pd(e,t,a){var l=t.pendingProps,n=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(Be.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(de){if(n?Ca(t):Ma(),(e=ze)?(e=Em(e,Dt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:wa!==null?{id:Jt,overflow:$t}:null,retryLane:536870912,hydrationErrors:null},a=Ks(e),a.return=t,t.child=a,Ie=t,ze=null)):e=null,e===null)throw Ra(t);return ao(e)?t.lanes=32:t.lanes=536870912,null}var d=l.children;return l=l.fallback,n?(Ma(),n=t.mode,d=Fi({mode:"hidden",children:d},n),l=nl(l,n,a,null),d.return=t,l.return=t,d.sibling=l,t.child=d,l=t.child,l.memoizedState=vc(a),l.childLanes=bc(e,s,a),t.memoizedState=gc,Dn(null,l)):(Ca(t),xc(t,d))}var _=e.memoizedState;if(_!==null&&(d=_.dehydrated,d!==null)){if(i)t.flags&256?(Ca(t),t.flags&=-257,t=Sc(e,t,a)):t.memoizedState!==null?(Ma(),t.child=e.child,t.flags|=128,t=null):(Ma(),d=l.fallback,n=t.mode,l=Fi({mode:"visible",children:l.children},n),d=nl(d,n,a,null),d.flags|=2,l.return=t,d.return=t,l.sibling=d,t.child=l,fl(t,e.child,null,a),l=t.child,l.memoizedState=vc(a),l.childLanes=bc(e,s,a),t.memoizedState=gc,t=Dn(null,l));else if(Ca(t),ao(d)){if(s=d.nextSibling&&d.nextSibling.dataset,s)var k=s.dgst;s=k,l=Error(c(419)),l.stack="",l.digest=s,En({value:l,source:null,stack:null}),t=Sc(e,t,a)}else if(Qe||Ul(e,t,a,!1),s=(a&e.childLanes)!==0,Qe||s){if(s=Re,s!==null&&(l=es(s,a),l!==0&&l!==_.retryLane))throw _.retryLane=l,ll(e,l),pt(s,e,l),yc;to(d)||uu(),t=Sc(e,t,a)}else to(d)?(t.flags|=192,t.child=e.child,t=null):(e=_.treeContext,ze=qt(d.nextSibling),Ie=t,de=!0,ka=null,Dt=!1,e!==null&&Ws(t,e),t=xc(t,l.children),t.flags|=4096);return t}return n?(Ma(),d=l.fallback,n=t.mode,_=e.child,k=_.sibling,l=ia(_,{mode:"hidden",children:l.children}),l.subtreeFlags=_.subtreeFlags&65011712,k!==null?d=ia(k,d):(d=nl(d,n,a,null),d.flags|=2),d.return=t,l.return=t,l.sibling=d,t.child=l,Dn(null,l),l=t.child,d=e.child.memoizedState,d===null?d=vc(a):(n=d.cachePool,n!==null?(_=Ge._currentValue,n=n.parent!==_?{parent:_,pool:_}:n):n=af(),d={baseLanes:d.baseLanes|a,cachePool:n}),l.memoizedState=d,l.childLanes=bc(e,s,a),t.memoizedState=gc,Dn(e.child,l)):(Ca(t),a=e.child,e=a.sibling,a=ia(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=a,t.memoizedState=null,a)}function xc(e,t){return t=Fi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Fi(e,t){return e=bt(22,e,null,t),e.lanes=0,e}function Sc(e,t,a){return fl(t,e.child,null,a),e=xc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function yd(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),qr(e.return,t,a)}function Ec(e,t,a,l,n,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=l,s.tail=a,s.tailMode=n,s.treeForkCount=i)}function _d(e,t,a){var l=t.pendingProps,n=l.revealOrder,i=l.tail;l=l.children;var s=Be.current,d=(s&2)!==0;if(d?(s=s&1|2,t.flags|=128):s&=1,G(Be,s),et(e,t,l,a),l=de?Sn:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yd(e,a,t);else if(e.tag===19)yd(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&Bi(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),Ec(t,!1,n,a,i,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Bi(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}Ec(t,!0,a,null,i,l);break;case"together":Ec(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function fa(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ua|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Ul(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(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 Tc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Oi(e)))}function Oy(e,t,a){switch(t.tag){case 3:it(t,t.stateNode.containerInfo),ja(t,Ge,e.memoizedState.cache),il();break;case 27:case 5:rn(t);break;case 4:it(t,t.stateNode.containerInfo);break;case 10:ja(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$r(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Ca(t),t.flags|=128,null):(a&t.child.childLanes)!==0?pd(e,t,a):(Ca(t),e=fa(e,t,a),e!==null?e.sibling:null);Ca(t);break;case 19:var n=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(Ul(e,t,a,!1),l=(a&t.childLanes)!==0),n){if(l)return _d(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),G(Be,Be.current),l)break;return null;case 22:return t.lanes=0,od(e,t,a,t.pendingProps);case 24:ja(t,Ge,e.memoizedState.cache)}return fa(e,t,a)}function gd(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!Tc(e,a)&&(t.flags&128)===0)return Qe=!1,Oy(e,t,a);Qe=(e.flags&131072)!==0}else Qe=!1,de&&(t.flags&1048576)!==0&&$s(t,Sn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=ol(t.elementType),t.type=e,typeof e=="function")zr(e)?(l=ml(e,l),t.tag=1,t=md(null,t,e,l,a)):(t.tag=0,t=_c(null,t,e,l,a));else{if(e!=null){var n=e.$$typeof;if(n===me){t.tag=11,t=ud(null,t,e,l,a);break e}else if(n===X){t.tag=14,t=rd(null,t,e,l,a);break e}}throw t=jt(e)||e,Error(c(306,t,""))}}return t;case 0:return _c(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=ml(l,t.pendingProps),md(e,t,l,n,a);case 3:e:{if(it(t,t.stateNode.containerInfo),e===null)throw Error(c(387));l=t.pendingProps;var i=t.memoizedState;n=i.element,Qr(e,t),An(t,l,null,a);var s=t.memoizedState;if(l=s.cache,ja(t,Ge,l),l!==i.cache&&Hr(t,[Ge],a,!0),zn(),l=s.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=hd(e,t,l,a);break e}else if(l!==n){n=Ct(Error(c(424)),t),En(n),t=hd(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ze=qt(e.firstChild),Ie=t,de=!0,ka=null,Dt=!0,a=of(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(il(),l===n){t=fa(e,t,a);break e}et(e,t,l,a)}t=t.child}return t;case 26:return Wi(e,t),e===null?(a=zm(t.type,null,t.pendingProps,null))?t.memoizedState=a:de||(a=t.type,e=t.pendingProps,l=mu(ue.current).createElement(a),l[Fe]=t,l[ot]=e,tt(l,a,e),$e(l),t.stateNode=l):t.memoizedState=zm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return rn(t),e===null&&de&&(l=t.stateNode=km(t.type,t.pendingProps,ue.current),Ie=t,Dt=!0,n=ze,Ya(t.type)?(lo=n,ze=qt(l.firstChild)):ze=n),et(e,t,t.pendingProps.children,a),Wi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&de&&((n=l=ze)&&(l=r_(l,t.type,t.pendingProps,Dt),l!==null?(t.stateNode=l,Ie=t,ze=qt(l.firstChild),Dt=!1,n=!0):n=!1),n||Ra(t)),rn(t),n=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,l=i.children,Ic(n,i)?l=null:s!==null&&Ic(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=Fr(e,t,Sy,null,null,a),Wn._currentValue=n),Wi(e,t),et(e,t,l,a),t.child;case 6:return e===null&&de&&((e=a=ze)&&(a=c_(a,t.pendingProps,Dt),a!==null?(t.stateNode=a,Ie=t,ze=null,e=!0):e=!1),e||Ra(t)),null;case 13:return pd(e,t,a);case 4:return it(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=fl(t,null,l,a):et(e,t,l,a),t.child;case 11:return ud(e,t,t.type,t.pendingProps,a);case 7:return et(e,t,t.pendingProps,a),t.child;case 8:return et(e,t,t.pendingProps.children,a),t.child;case 12:return et(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,ja(t,t.type,l.value),et(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,rl(t),n=Pe(n),l=l(n),t.flags|=1,et(e,t,l,a),t.child;case 14:return rd(e,t,t.type,t.pendingProps,a);case 15:return cd(e,t,t.type,t.pendingProps,a);case 19:return _d(e,t,a);case 31:return Ay(e,t,a);case 22:return od(e,t,a,t.pendingProps);case 24:return rl(t),l=Pe(Ge),e===null?(n=Yr(),n===null&&(n=Re,i=Br(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=a),n=i),t.memoizedState={parent:l,cache:n},Xr(t),ja(t,Ge,n)):((e.lanes&a)!==0&&(Qr(e,t),An(t,null,null,a),zn()),n=e.memoizedState,i=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ja(t,Ge,l)):(l=i.cache,ja(t,Ge,l),l!==n.cache&&Hr(t,[Ge],a,!0))),et(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function da(e){e.flags|=4}function wc(e,t,a,l,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Vd())e.flags|=8192;else throw sl=Di,Gr}else e.flags&=-16777217}function vd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Nm(t))if(Vd())e.flags|=8192;else throw sl=Di,Gr}function Ii(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Fo():536870912,e.lanes|=t,Jl|=t)}function Un(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Ae(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function Cy(e,t,a){var l=t.pendingProps;switch(Mr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ae(t),null;case 1:return Ae(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ca(Ge),He(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Dl(t)?da(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Dr())),Ae(t),null;case 26:var n=t.type,i=t.memoizedState;return e===null?(da(t),i!==null?(Ae(t),vd(t,i)):(Ae(t),wc(t,n,null,l,a))):i?i!==e.memoizedState?(da(t),Ae(t),vd(t,i)):(Ae(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&da(t),Ae(t),wc(t,n,e,l,a)),null;case 27:if(oi(t),a=ue.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&da(t);else{if(!l){if(t.stateNode===null)throw Error(c(166));return Ae(t),null}e=J.current,Dl(t)?Fs(t):(e=km(n,l,a),t.stateNode=e,da(t))}return Ae(t),null;case 5:if(oi(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&da(t);else{if(!l){if(t.stateNode===null)throw Error(c(166));return Ae(t),null}if(i=J.current,Dl(t))Fs(t);else{var s=mu(ue.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof l.is=="string"?s.createElement("select",{is:l.is}):s.createElement("select"),l.multiple?i.multiple=!0:l.size&&(i.size=l.size);break;default:i=typeof l.is=="string"?s.createElement(n,{is:l.is}):s.createElement(n)}}i[Fe]=t,i[ot]=l;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(tt(i,n,l),n){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&da(t)}}return Ae(t),wc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&da(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(c(166));if(e=ue.current,Dl(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=Ie,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[Fe]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||pm(e.nodeValue,a)),e||Ra(t,!0)}else e=mu(e).createTextNode(l),e[Fe]=t,t.stateNode=e}return Ae(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Dl(t),a!==null){if(e===null){if(!l)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[Fe]=t}else il(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ae(t),e=!1}else a=Dr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(St(t),t):(St(t),null);if((t.flags&128)!==0)throw Error(c(558))}return Ae(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Dl(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(c(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[Fe]=t}else il(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ae(t),n=!1}else n=Dr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(St(t),t):(St(t),null)}return St(t),(t.flags&128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==n&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Ii(t,t.updateQueue),Ae(t),null);case 4:return He(),e===null&&Kc(t.stateNode.containerInfo),Ae(t),null;case 10:return ca(t.type),Ae(t),null;case 19:if(N(Be),l=t.memoizedState,l===null)return Ae(t),null;if(n=(t.flags&128)!==0,i=l.rendering,i===null)if(n)Un(l,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Bi(e),i!==null){for(t.flags|=128,Un(l,!1),e=i.updateQueue,t.updateQueue=e,Ii(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Zs(a,e),a=a.sibling;return G(Be,Be.current&1|2),de&&ua(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&yt()>lu&&(t.flags|=128,n=!0,Un(l,!1),t.lanes=4194304)}else{if(!n)if(e=Bi(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Ii(t,e),Un(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!de)return Ae(t),null}else 2*yt()-l.renderingStartTime>lu&&a!==536870912&&(t.flags|=128,n=!0,Un(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=yt(),e.sibling=null,a=Be.current,G(Be,n?a&1|2:a&1),de&&ua(t,l.treeForkCount),e):(Ae(t),null);case 22:case 23:return St(t),Jr(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(Ae(t),t.subtreeFlags&6&&(t.flags|=8192)):Ae(t),a=t.updateQueue,a!==null&&Ii(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&N(cl),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ca(Ge),Ae(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function My(e,t){switch(Mr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ca(Ge),He(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return oi(t),null;case 31:if(t.memoizedState!==null){if(St(t),t.alternate===null)throw Error(c(340));il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(St(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N(Be),null;case 4:return He(),null;case 10:return ca(t.type),null;case 22:case 23:return St(t),Jr(),e!==null&&N(cl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ca(Ge),null;case 25:return null;default:return null}}function bd(e,t){switch(Mr(t),t.tag){case 3:ca(Ge),He();break;case 26:case 27:case 5:oi(t);break;case 4:He();break;case 31:t.memoizedState!==null&&St(t);break;case 13:St(t);break;case 19:N(Be);break;case 10:ca(t.type);break;case 22:case 23:St(t),Jr(),e!==null&&N(cl);break;case 24:ca(Ge)}}function qn(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var i=a.create,s=a.inst;l=i(),s.destroy=l}a=a.next}while(a!==n)}}catch(d){xe(t,t.return,d)}}function Na(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var i=n.next;l=i;do{if((l.tag&e)===e){var s=l.inst,d=s.destroy;if(d!==void 0){s.destroy=void 0,n=t;var _=a,k=d;try{k()}catch(A){xe(n,_,A)}}}l=l.next}while(l!==i)}}catch(A){xe(t,t.return,A)}}function xd(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{ff(t,a)}catch(l){xe(e,e.return,l)}}}function Sd(e,t,a){a.props=ml(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){xe(e,t,l)}}function Hn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){xe(e,t,n)}}function Wt(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){xe(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){xe(e,t,n)}else a.current=null}function Ed(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){xe(e,e.return,n)}}function kc(e,t,a){try{var l=e.stateNode;t_(l,e.type,a,t),l[ot]=t}catch(n){xe(e,e.return,n)}}function Td(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ya(e.type)||e.tag===4}function Rc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Td(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ya(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function jc(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=la));else if(l!==4&&(l===27&&Ya(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(jc(e,t,a),e=e.sibling;e!==null;)jc(e,t,a),e=e.sibling}function Pi(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Ya(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Pi(e,t,a),e=e.sibling;e!==null;)Pi(e,t,a),e=e.sibling}function wd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);tt(t,l,a),t[Fe]=e,t[ot]=a}catch(i){xe(e,e.return,i)}}var ma=!1,Ve=!1,zc=!1,kd=typeof WeakSet=="function"?WeakSet:Set,We=null;function Ny(e,t){if(e=e.containerInfo,Wc=bu,e=qs(e),Sr(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var s=0,d=-1,_=-1,k=0,A=0,M=e,R=null;t:for(;;){for(var z;M!==a||n!==0&&M.nodeType!==3||(d=s+n),M!==i||l!==0&&M.nodeType!==3||(_=s+l),M.nodeType===3&&(s+=M.nodeValue.length),(z=M.firstChild)!==null;)R=M,M=z;for(;;){if(M===e)break t;if(R===a&&++k===n&&(d=s),R===i&&++A===l&&(_=s),(z=M.nextSibling)!==null)break;M=R,R=M.parentNode}M=z}a=d===-1||_===-1?null:{start:d,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Fc={focusedElem:e,selectionRange:a},bu=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)n=e[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,a=t,n=i.memoizedProps,i=i.memoizedState,l=a.stateNode;try{var Z=ml(a.type,n);e=l.getSnapshotBeforeUpdate(Z,i),l.__reactInternalSnapshotBeforeUpdate=e}catch(I){xe(a,a.return,I)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)eo(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":eo(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(c(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function Rd(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:pa(e,a),l&4&&qn(5,a);break;case 1:if(pa(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(s){xe(a,a.return,s)}else{var n=ml(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){xe(a,a.return,s)}}l&64&&xd(a),l&512&&Hn(a,a.return);break;case 3:if(pa(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{ff(e,t)}catch(s){xe(a,a.return,s)}}break;case 27:t===null&&l&4&&wd(a);case 26:case 5:pa(e,a),t===null&&l&4&&Ed(a),l&512&&Hn(a,a.return);break;case 12:pa(e,a);break;case 31:pa(e,a),l&4&&Ad(e,a);break;case 13:pa(e,a),l&4&&Od(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Xy.bind(null,a),o_(e,a))));break;case 22:if(l=a.memoizedState!==null||ma,!l){t=t!==null&&t.memoizedState!==null||Ve,n=ma;var i=Ve;ma=l,(Ve=t)&&!i?ya(e,a,(a.subtreeFlags&8772)!==0):pa(e,a),ma=n,Ve=i}break;case 30:break;default:pa(e,a)}}function jd(e){var t=e.alternate;t!==null&&(e.alternate=null,jd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ir(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ce=null,ft=!1;function ha(e,t,a){for(a=a.child;a!==null;)zd(e,t,a),a=a.sibling}function zd(e,t,a){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(cn,a)}catch{}switch(a.tag){case 26:Ve||Wt(a,t),ha(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ve||Wt(a,t);var l=Ce,n=ft;Ya(a.type)&&(Ce=a.stateNode,ft=!1),ha(e,t,a),Kn(a.stateNode),Ce=l,ft=n;break;case 5:Ve||Wt(a,t);case 6:if(l=Ce,n=ft,Ce=null,ha(e,t,a),Ce=l,ft=n,Ce!==null)if(ft)try{(Ce.nodeType===9?Ce.body:Ce.nodeName==="HTML"?Ce.ownerDocument.body:Ce).removeChild(a.stateNode)}catch(i){xe(a,t,i)}else try{Ce.removeChild(a.stateNode)}catch(i){xe(a,t,i)}break;case 18:Ce!==null&&(ft?(e=Ce,xm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),an(e)):xm(Ce,a.stateNode));break;case 4:l=Ce,n=ft,Ce=a.stateNode.containerInfo,ft=!0,ha(e,t,a),Ce=l,ft=n;break;case 0:case 11:case 14:case 15:Na(2,a,t),Ve||Na(4,a,t),ha(e,t,a);break;case 1:Ve||(Wt(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Sd(a,t,l)),ha(e,t,a);break;case 21:ha(e,t,a);break;case 22:Ve=(l=Ve)||a.memoizedState!==null,ha(e,t,a),Ve=l;break;default:ha(e,t,a)}}function Ad(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{an(e)}catch(a){xe(t,t.return,a)}}}function Od(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{an(e)}catch(a){xe(t,t.return,a)}}function Dy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new kd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new kd),t;default:throw Error(c(435,e.tag))}}function eu(e,t){var a=Dy(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var n=Qy.bind(null,e,l);l.then(n,n)}})}function dt(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],i=e,s=t,d=s;e:for(;d!==null;){switch(d.tag){case 27:if(Ya(d.type)){Ce=d.stateNode,ft=!1;break e}break;case 5:Ce=d.stateNode,ft=!1;break e;case 3:case 4:Ce=d.stateNode.containerInfo,ft=!0;break e}d=d.return}if(Ce===null)throw Error(c(160));zd(i,s,n),Ce=null,ft=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Cd(t,e),t=t.sibling}var Xt=null;function Cd(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:dt(t,e),mt(e),l&4&&(Na(3,e,e.return),qn(3,e),Na(5,e,e.return));break;case 1:dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),l&64&&ma&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Xt;if(dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),l&4){var i=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case"title":i=n.getElementsByTagName("title")[0],(!i||i[fn]||i[Fe]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(l),n.head.insertBefore(i,n.querySelector("head > title"))),tt(i,l,a),i[Fe]=e,$e(i),l=i;break e;case"link":var s=Cm("link","href",n).get(l+(a.href||""));if(s){for(var d=0;d<s.length;d++)if(i=s[d],i.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&i.getAttribute("rel")===(a.rel==null?null:a.rel)&&i.getAttribute("title")===(a.title==null?null:a.title)&&i.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){s.splice(d,1);break t}}i=n.createElement(l),tt(i,l,a),n.head.appendChild(i);break;case"meta":if(s=Cm("meta","content",n).get(l+(a.content||""))){for(d=0;d<s.length;d++)if(i=s[d],i.getAttribute("content")===(a.content==null?null:""+a.content)&&i.getAttribute("name")===(a.name==null?null:a.name)&&i.getAttribute("property")===(a.property==null?null:a.property)&&i.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&i.getAttribute("charset")===(a.charSet==null?null:a.charSet)){s.splice(d,1);break t}}i=n.createElement(l),tt(i,l,a),n.head.appendChild(i);break;default:throw Error(c(468,l))}i[Fe]=e,$e(i),l=i}e.stateNode=l}else Mm(n,e.type,e.stateNode);else e.stateNode=Om(n,l,e.memoizedProps);else i!==l?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?Mm(n,e.type,e.stateNode):Om(n,l,e.memoizedProps)):l===null&&e.stateNode!==null&&kc(e,e.memoizedProps,a.memoizedProps)}break;case 27:dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),a!==null&&l&4&&kc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),e.flags&32){n=e.stateNode;try{wl(n,"")}catch(Z){xe(e,e.return,Z)}}l&4&&e.stateNode!=null&&(n=e.memoizedProps,kc(e,n,a!==null?a.memoizedProps:n)),l&1024&&(zc=!0);break;case 6:if(dt(t,e),mt(e),l&4){if(e.stateNode===null)throw Error(c(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(Z){xe(e,e.return,Z)}}break;case 3:if(yu=null,n=Xt,Xt=hu(t.containerInfo),dt(t,e),Xt=n,mt(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{an(t.containerInfo)}catch(Z){xe(e,e.return,Z)}zc&&(zc=!1,Md(e));break;case 4:l=Xt,Xt=hu(e.stateNode.containerInfo),dt(t,e),mt(e),Xt=l;break;case 12:dt(t,e),mt(e);break;case 31:dt(t,e),mt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,eu(e,l)));break;case 13:dt(t,e),mt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(au=yt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,eu(e,l)));break;case 22:n=e.memoizedState!==null;var _=a!==null&&a.memoizedState!==null,k=ma,A=Ve;if(ma=k||n,Ve=A||_,dt(t,e),Ve=A,ma=k,mt(e),l&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||_||ma||Ve||hl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){_=a=t;try{if(i=_.stateNode,n)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{d=_.stateNode;var M=_.memoizedProps.style,R=M!=null&&M.hasOwnProperty("display")?M.display:null;d.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(Z){xe(_,_.return,Z)}}}else if(t.tag===6){if(a===null){_=t;try{_.stateNode.nodeValue=n?"":_.memoizedProps}catch(Z){xe(_,_.return,Z)}}}else if(t.tag===18){if(a===null){_=t;try{var z=_.stateNode;n?Sm(z,!0):Sm(_.stateNode,!1)}catch(Z){xe(_,_.return,Z)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,eu(e,a))));break;case 19:dt(t,e),mt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,eu(e,l)));break;case 30:break;case 21:break;default:dt(t,e),mt(e)}}function mt(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(Td(l)){a=l;break}l=l.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var n=a.stateNode,i=Rc(e);Pi(e,i,n);break;case 5:var s=a.stateNode;a.flags&32&&(wl(s,""),a.flags&=-33);var d=Rc(e);Pi(e,d,s);break;case 3:case 4:var _=a.stateNode.containerInfo,k=Rc(e);jc(e,k,_);break;default:throw Error(c(161))}}catch(A){xe(e,e.return,A)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Md(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Md(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function pa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Rd(e,t.alternate,t),t=t.sibling}function hl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Na(4,t,t.return),hl(t);break;case 1:Wt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Sd(t,t.return,a),hl(t);break;case 27:Kn(t.stateNode);case 26:case 5:Wt(t,t.return),hl(t);break;case 22:t.memoizedState===null&&hl(t);break;case 30:hl(t);break;default:hl(t)}e=e.sibling}}function ya(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,i=t,s=i.flags;switch(i.tag){case 0:case 11:case 15:ya(n,i,a),qn(4,i);break;case 1:if(ya(n,i,a),l=i,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(k){xe(l,l.return,k)}if(l=i,n=l.updateQueue,n!==null){var d=l.stateNode;try{var _=n.shared.hiddenCallbacks;if(_!==null)for(n.shared.hiddenCallbacks=null,n=0;n<_.length;n++)sf(_[n],d)}catch(k){xe(l,l.return,k)}}a&&s&64&&xd(i),Hn(i,i.return);break;case 27:wd(i);case 26:case 5:ya(n,i,a),a&&l===null&&s&4&&Ed(i),Hn(i,i.return);break;case 12:ya(n,i,a);break;case 31:ya(n,i,a),a&&s&4&&Ad(n,i);break;case 13:ya(n,i,a),a&&s&4&&Od(n,i);break;case 22:i.memoizedState===null&&ya(n,i,a),Hn(i,i.return);break;case 30:break;default:ya(n,i,a)}t=t.sibling}}function Ac(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Tn(a))}function Oc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tn(e))}function Qt(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nd(e,t,a,l),t=t.sibling}function Nd(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Qt(e,t,a,l),n&2048&&qn(9,t);break;case 1:Qt(e,t,a,l);break;case 3:Qt(e,t,a,l),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tn(e)));break;case 12:if(n&2048){Qt(e,t,a,l),e=t.stateNode;try{var i=t.memoizedProps,s=i.id,d=i.onPostCommit;typeof d=="function"&&d(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){xe(t,t.return,_)}}else Qt(e,t,a,l);break;case 31:Qt(e,t,a,l);break;case 13:Qt(e,t,a,l);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,t.memoizedState!==null?i._visibility&2?Qt(e,t,a,l):Bn(e,t):i._visibility&2?Qt(e,t,a,l):(i._visibility|=2,Vl(e,t,a,l,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Ac(s,t);break;case 24:Qt(e,t,a,l),n&2048&&Oc(t.alternate,t);break;default:Qt(e,t,a,l)}}function Vl(e,t,a,l,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,d=a,_=l,k=s.flags;switch(s.tag){case 0:case 11:case 15:Vl(i,s,d,_,n),qn(8,s);break;case 23:break;case 22:var A=s.stateNode;s.memoizedState!==null?A._visibility&2?Vl(i,s,d,_,n):Bn(i,s):(A._visibility|=2,Vl(i,s,d,_,n)),n&&k&2048&&Ac(s.alternate,s);break;case 24:Vl(i,s,d,_,n),n&&k&2048&&Oc(s.alternate,s);break;default:Vl(i,s,d,_,n)}t=t.sibling}}function Bn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:Bn(a,l),n&2048&&Ac(l.alternate,l);break;case 24:Bn(a,l),n&2048&&Oc(l.alternate,l);break;default:Bn(a,l)}t=t.sibling}}var Ln=8192;function Zl(e,t,a){if(e.subtreeFlags&Ln)for(e=e.child;e!==null;)Dd(e,t,a),e=e.sibling}function Dd(e,t,a){switch(e.tag){case 26:Zl(e,t,a),e.flags&Ln&&e.memoizedState!==null&&x_(a,Xt,e.memoizedState,e.memoizedProps);break;case 5:Zl(e,t,a);break;case 3:case 4:var l=Xt;Xt=hu(e.stateNode.containerInfo),Zl(e,t,a),Xt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Ln,Ln=16777216,Zl(e,t,a),Ln=l):Zl(e,t,a));break;default:Zl(e,t,a)}}function Ud(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Yn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];We=l,Hd(l,e)}Ud(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qd(e),e=e.sibling}function qd(e){switch(e.tag){case 0:case 11:case 15:Yn(e),e.flags&2048&&Na(9,e,e.return);break;case 3:Yn(e);break;case 12:Yn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,tu(e)):Yn(e);break;default:Yn(e)}}function tu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];We=l,Hd(l,e)}Ud(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Na(8,t,t.return),tu(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,tu(t));break;default:tu(t)}e=e.sibling}}function Hd(e,t){for(;We!==null;){var a=We;switch(a.tag){case 0:case 11:case 15:Na(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Tn(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,We=l;else e:for(a=e;We!==null;){l=We;var n=l.sibling,i=l.return;if(jd(l),l===a){We=null;break e}if(n!==null){n.return=i,We=n;break e}We=i}}}var Uy={getCacheForType:function(e){var t=Pe(Ge),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Pe(Ge).controller.signal}},qy=typeof WeakMap=="function"?WeakMap:Map,ye=0,Re=null,re=null,oe=0,be=0,Et=null,Da=!1,Kl=!1,Cc=!1,_a=0,qe=0,Ua=0,pl=0,Mc=0,Tt=0,Jl=0,Gn=null,ht=null,Nc=!1,au=0,Bd=0,lu=1/0,nu=null,qa=null,Je=0,Ha=null,$l=null,ga=0,Dc=0,Uc=null,Ld=null,Xn=0,qc=null;function wt(){return(ye&2)!==0&&oe!==0?oe&-oe:O.T!==null?Xc():ts()}function Yd(){if(Tt===0)if((oe&536870912)===0||de){var e=di;di<<=1,(di&3932160)===0&&(di=262144),Tt=e}else Tt=536870912;return e=xt.current,e!==null&&(e.flags|=32),Tt}function pt(e,t,a){(e===Re&&(be===2||be===9)||e.cancelPendingCommit!==null)&&(Wl(e,0),Ba(e,oe,Tt,!1)),sn(e,a),((ye&2)===0||e!==Re)&&(e===Re&&((ye&2)===0&&(pl|=a),qe===4&&Ba(e,oe,Tt,!1)),Ft(e))}function Gd(e,t,a){if((ye&6)!==0)throw Error(c(327));var l=!a&&(t&127)===0&&(t&e.expiredLanes)===0||on(e,t),n=l?Ly(e,t):Bc(e,t,!0),i=l;do{if(n===0){Kl&&!l&&Ba(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!Hy(a)){n=Bc(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var d=e;n=Gn;var _=d.current.memoizedState.isDehydrated;if(_&&(Wl(d,s).flags|=256),s=Bc(d,s,!1),s!==2){if(Cc&&!_){d.errorRecoveryDisabledLanes|=i,pl|=i,n=4;break e}i=ht,ht=n,i!==null&&(ht===null?ht=i:ht.push.apply(ht,i))}n=s}if(i=!1,n!==2)continue}}if(n===1){Wl(e,0),Ba(e,t,0,!0);break}e:{switch(l=e,i=n,i){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Ba(l,t,Tt,!Da);break e;case 2:ht=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(n=au+300-yt(),10<n)){if(Ba(l,t,Tt,!Da),hi(l,0,!0)!==0)break e;ga=t,l.timeoutHandle=vm(Xd.bind(null,l,a,ht,nu,Nc,t,Tt,pl,Jl,Da,i,"Throttled",-0,0),n);break e}Xd(l,a,ht,nu,Nc,t,Tt,pl,Jl,Da,i,null,-0,0)}}break}while(!0);Ft(e)}function Xd(e,t,a,l,n,i,s,d,_,k,A,M,R,z){if(e.timeoutHandle=-1,M=t.subtreeFlags,M&8192||(M&16785408)===16785408){M={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:la},Dd(t,i,M);var Z=(i&62914560)===i?au-yt():(i&4194048)===i?Bd-yt():0;if(Z=S_(M,Z),Z!==null){ga=i,e.cancelPendingCommit=Z(Fd.bind(null,e,t,i,a,l,n,s,d,_,A,M,null,R,z)),Ba(e,i,s,!k);return}}Fd(e,t,i,a,l,n,s,d,_)}function Hy(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],i=n.getSnapshot;n=n.value;try{if(!vt(i(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ba(e,t,a,l){t&=~Mc,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0<n;){var i=31-gt(n),s=1<<i;l[i]=-1,n&=~s}a!==0&&Io(e,a,t)}function iu(){return(ye&6)===0?(Qn(0),!1):!0}function Hc(){if(re!==null){if(be===0)var e=re.return;else e=re,ra=ul=null,ec(e),Ll=null,kn=0,e=re;for(;e!==null;)bd(e.alternate,e),e=e.return;re=null}}function Wl(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,n_(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ga=0,Hc(),Re=e,re=a=ia(e.current,null),oe=t,be=0,Et=null,Da=!1,Kl=on(e,t),Cc=!1,Jl=Tt=Mc=pl=Ua=qe=0,ht=Gn=null,Nc=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-gt(l),i=1<<n;t|=e[n],l&=~i}return _a=t,ki(),a}function Qd(e,t){le=null,O.H=Nn,t===Bl||t===Ni?(t=uf(),be=3):t===Gr?(t=uf(),be=4):be=t===yc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Et=t,re===null&&(qe=1,Ji(e,Ct(t,e.current)))}function Vd(){var e=xt.current;return e===null?!0:(oe&4194048)===oe?Ut===null:(oe&62914560)===oe||(oe&536870912)!==0?e===Ut:!1}function Zd(){var e=O.H;return O.H=Nn,e===null?Nn:e}function Kd(){var e=O.A;return O.A=Uy,e}function uu(){qe=4,Da||(oe&4194048)!==oe&&xt.current!==null||(Kl=!0),(Ua&134217727)===0&&(pl&134217727)===0||Re===null||Ba(Re,oe,Tt,!1)}function Bc(e,t,a){var l=ye;ye|=2;var n=Zd(),i=Kd();(Re!==e||oe!==t)&&(nu=null,Wl(e,t)),t=!1;var s=qe;e:do try{if(be!==0&&re!==null){var d=re,_=Et;switch(be){case 8:Hc(),s=6;break e;case 3:case 2:case 9:case 6:xt.current===null&&(t=!0);var k=be;if(be=0,Et=null,Fl(e,d,_,k),a&&Kl){s=0;break e}break;default:k=be,be=0,Et=null,Fl(e,d,_,k)}}By(),s=qe;break}catch(A){Qd(e,A)}while(!0);return t&&e.shellSuspendCounter++,ra=ul=null,ye=l,O.H=n,O.A=i,re===null&&(Re=null,oe=0,ki()),s}function By(){for(;re!==null;)Jd(re)}function Ly(e,t){var a=ye;ye|=2;var l=Zd(),n=Kd();Re!==e||oe!==t?(nu=null,lu=yt()+500,Wl(e,t)):Kl=on(e,t);e:do try{if(be!==0&&re!==null){t=re;var i=Et;t:switch(be){case 1:be=0,Et=null,Fl(e,t,i,1);break;case 2:case 9:if(lf(i)){be=0,Et=null,$d(t);break}t=function(){be!==2&&be!==9||Re!==e||(be=7),Ft(e)},i.then(t,t);break e;case 3:be=7;break e;case 4:be=5;break e;case 7:lf(i)?(be=0,Et=null,$d(t)):(be=0,Et=null,Fl(e,t,i,7));break;case 5:var s=null;switch(re.tag){case 26:s=re.memoizedState;case 5:case 27:var d=re;if(s?Nm(s):d.stateNode.complete){be=0,Et=null;var _=d.sibling;if(_!==null)re=_;else{var k=d.return;k!==null?(re=k,ru(k)):re=null}break t}}be=0,Et=null,Fl(e,t,i,5);break;case 6:be=0,Et=null,Fl(e,t,i,6);break;case 8:Hc(),qe=6;break e;default:throw Error(c(462))}}Yy();break}catch(A){Qd(e,A)}while(!0);return ra=ul=null,O.H=l,O.A=n,ye=a,re!==null?0:(Re=null,oe=0,ki(),qe)}function Yy(){for(;re!==null&&!sp();)Jd(re)}function Jd(e){var t=gd(e.alternate,e,_a);e.memoizedProps=e.pendingProps,t===null?ru(e):re=t}function $d(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=dd(a,t,t.pendingProps,t.type,void 0,oe);break;case 11:t=dd(a,t,t.pendingProps,t.type.render,t.ref,oe);break;case 5:ec(t);default:bd(a,t),t=re=Zs(t,_a),t=gd(a,t,_a)}e.memoizedProps=e.pendingProps,t===null?ru(e):re=t}function Fl(e,t,a,l){ra=ul=null,ec(t),Ll=null,kn=0;var n=t.return;try{if(zy(e,n,t,a,oe)){qe=1,Ji(e,Ct(a,e.current)),re=null;return}}catch(i){if(n!==null)throw re=n,i;qe=1,Ji(e,Ct(a,e.current)),re=null;return}t.flags&32768?(de||l===1?e=!0:Kl||(oe&536870912)!==0?e=!1:(Da=e=!0,(l===2||l===9||l===3||l===6)&&(l=xt.current,l!==null&&l.tag===13&&(l.flags|=16384))),Wd(t,e)):ru(t)}function ru(e){var t=e;do{if((t.flags&32768)!==0){Wd(t,Da);return}e=t.return;var a=Cy(t.alternate,t,_a);if(a!==null){re=a;return}if(t=t.sibling,t!==null){re=t;return}re=t=e}while(t!==null);qe===0&&(qe=5)}function Wd(e,t){do{var a=My(e.alternate,e);if(a!==null){a.flags&=32767,re=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){re=e;return}re=e=a}while(e!==null);qe=6,re=null}function Fd(e,t,a,l,n,i,s,d,_){e.cancelPendingCommit=null;do cu();while(Je!==0);if((ye&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(i=t.lanes|t.childLanes,i|=Rr,bp(e,a,i,s,d,_),e===Re&&(re=Re=null,oe=0),$l=t,Ha=e,ga=a,Dc=i,Uc=n,Ld=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Vy(si,function(){return am(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=O.T,O.T=null,n=Y.p,Y.p=2,s=ye,ye|=4;try{Ny(e,t,a)}finally{ye=s,Y.p=n,O.T=l}}Je=1,Id(),Pd(),em()}}function Id(){if(Je===1){Je=0;var e=Ha,t=$l,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var l=Y.p;Y.p=2;var n=ye;ye|=4;try{Cd(t,e);var i=Fc,s=qs(e.containerInfo),d=i.focusedElem,_=i.selectionRange;if(s!==d&&d&&d.ownerDocument&&Us(d.ownerDocument.documentElement,d)){if(_!==null&&Sr(d)){var k=_.start,A=_.end;if(A===void 0&&(A=k),"selectionStart"in d)d.selectionStart=k,d.selectionEnd=Math.min(A,d.value.length);else{var M=d.ownerDocument||document,R=M&&M.defaultView||window;if(R.getSelection){var z=R.getSelection(),Z=d.textContent.length,I=Math.min(_.start,Z),we=_.end===void 0?I:Math.min(_.end,Z);!z.extend&&I>we&&(s=we,we=I,I=s);var E=Ds(d,I),v=Ds(d,we);if(E&&v&&(z.rangeCount!==1||z.anchorNode!==E.node||z.anchorOffset!==E.offset||z.focusNode!==v.node||z.focusOffset!==v.offset)){var w=M.createRange();w.setStart(E.node,E.offset),z.removeAllRanges(),I>we?(z.addRange(w),z.extend(v.node,v.offset)):(w.setEnd(v.node,v.offset),z.addRange(w))}}}}for(M=[],z=d;z=z.parentNode;)z.nodeType===1&&M.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<M.length;d++){var C=M[d];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}bu=!!Wc,Fc=Wc=null}finally{ye=n,Y.p=l,O.T=a}}e.current=t,Je=2}}function Pd(){if(Je===2){Je=0;var e=Ha,t=$l,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var l=Y.p;Y.p=2;var n=ye;ye|=4;try{Rd(e,t.alternate,t)}finally{ye=n,Y.p=l,O.T=a}}Je=3}}function em(){if(Je===4||Je===3){Je=0,fp();var e=Ha,t=$l,a=ga,l=Ld;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Je=5:(Je=0,$l=Ha=null,tm(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(qa=null),lr(a),t=t.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(cn,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=O.T,n=Y.p,Y.p=2,O.T=null;try{for(var i=e.onRecoverableError,s=0;s<l.length;s++){var d=l[s];i(d.value,{componentStack:d.stack})}}finally{O.T=t,Y.p=n}}(ga&3)!==0&&cu(),Ft(e),n=e.pendingLanes,(a&261930)!==0&&(n&42)!==0?e===qc?Xn++:(Xn=0,qc=e):Xn=0,Qn(0)}}function tm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Tn(t)))}function cu(){return Id(),Pd(),em(),am()}function am(){if(Je!==5)return!1;var e=Ha,t=Dc;Dc=0;var a=lr(ga),l=O.T,n=Y.p;try{Y.p=32>a?32:a,O.T=null,a=Uc,Uc=null;var i=Ha,s=ga;if(Je=0,$l=Ha=null,ga=0,(ye&6)!==0)throw Error(c(331));var d=ye;if(ye|=4,qd(i.current),Nd(i,i.current,s,a),ye=d,Qn(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(cn,i)}catch{}return!0}finally{Y.p=n,O.T=l,tm(e,t)}}function lm(e,t,a){t=Ct(a,t),t=pc(e.stateNode,t,2),e=Oa(e,t,2),e!==null&&(sn(e,2),Ft(e))}function xe(e,t,a){if(e.tag===3)lm(e,e,a);else for(;t!==null;){if(t.tag===3){lm(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(qa===null||!qa.has(l))){e=Ct(a,e),a=nd(2),l=Oa(t,a,2),l!==null&&(id(a,l,t,e),sn(l,2),Ft(l));break}}t=t.return}}function Lc(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new qy;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(Cc=!0,n.add(a),e=Gy.bind(null,e,t,a),t.then(e,e))}function Gy(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Re===e&&(oe&a)===a&&(qe===4||qe===3&&(oe&62914560)===oe&&300>yt()-au?(ye&2)===0&&Wl(e,0):Mc|=a,Jl===oe&&(Jl=0)),Ft(e)}function nm(e,t){t===0&&(t=Fo()),e=ll(e,t),e!==null&&(sn(e,t),Ft(e))}function Xy(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),nm(e,a)}function Qy(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(t),nm(e,a)}function Vy(e,t){return Pu(e,t)}var ou=null,Il=null,Yc=!1,su=!1,Gc=!1,La=0;function Ft(e){e!==Il&&e.next===null&&(Il===null?ou=Il=e:Il=Il.next=e),su=!0,Yc||(Yc=!0,Ky())}function Qn(e,t){if(!Gc&&su){Gc=!0;do for(var a=!1,l=ou;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var i=0;else{var s=l.suspendedLanes,d=l.pingedLanes;i=(1<<31-gt(42|e)+1)-1,i&=n&~(s&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,cm(l,i))}else i=oe,i=hi(l,l===Re?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(i&3)===0||on(l,i)||(a=!0,cm(l,i));l=l.next}while(a);Gc=!1}}function Zy(){im()}function im(){su=Yc=!1;var e=0;La!==0&&l_()&&(e=La);for(var t=yt(),a=null,l=ou;l!==null;){var n=l.next,i=um(l,t);i===0?(l.next=null,a===null?ou=n:a.next=n,n===null&&(Il=a)):(a=l,(e!==0||(i&3)!==0)&&(su=!0)),l=n}Je!==0&&Je!==5||Qn(e),La!==0&&(La=0)}function um(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-gt(i),d=1<<s,_=n[s];_===-1?((d&a)===0||(d&l)!==0)&&(n[s]=vp(d,t)):_<=t&&(e.expiredLanes|=d),i&=~d}if(t=Re,a=oe,a=hi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(be===2||be===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&er(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||on(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&er(l),lr(a)){case 2:case 8:a=$o;break;case 32:a=si;break;case 268435456:a=Wo;break;default:a=si}return l=rm.bind(null,e),a=Pu(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&er(l),e.callbackPriority=2,e.callbackNode=null,2}function rm(e,t){if(Je!==0&&Je!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(cu()&&e.callbackNode!==a)return null;var l=oe;return l=hi(e,e===Re?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Gd(e,l,t),um(e,yt()),e.callbackNode!=null&&e.callbackNode===a?rm.bind(null,e):null)}function cm(e,t){if(cu())return null;Gd(e,t,!0)}function Ky(){i_(function(){(ye&6)!==0?Pu(Jo,Zy):im()})}function Xc(){if(La===0){var e=ql;e===0&&(e=fi,fi<<=1,(fi&261888)===0&&(fi=256)),La=e}return La}function om(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:gi(""+e)}function sm(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Jy(e,t,a,l,n){if(t==="submit"&&a&&a.stateNode===n){var i=om((n[ot]||null).action),s=l.submitter;s&&(t=(t=s[ot]||null)?om(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var d=new Si("action","action",null,l,n);e.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(La!==0){var _=s?sm(n,s):new FormData(n);oc(a,{pending:!0,data:_,method:n.method,action:i},null,_)}}else typeof i=="function"&&(d.preventDefault(),_=s?sm(n,s):new FormData(n),oc(a,{pending:!0,data:_,method:n.method,action:i},i,_))},currentTarget:n}]})}}for(var Qc=0;Qc<kr.length;Qc++){var Vc=kr[Qc],$y=Vc.toLowerCase(),Wy=Vc[0].toUpperCase()+Vc.slice(1);Gt($y,"on"+Wy)}Gt(Ls,"onAnimationEnd"),Gt(Ys,"onAnimationIteration"),Gt(Gs,"onAnimationStart"),Gt("dblclick","onDoubleClick"),Gt("focusin","onFocus"),Gt("focusout","onBlur"),Gt(dy,"onTransitionRun"),Gt(my,"onTransitionStart"),Gt(hy,"onTransitionCancel"),Gt(Xs,"onTransitionEnd"),El("onMouseEnter",["mouseout","mouseover"]),El("onMouseLeave",["mouseout","mouseover"]),El("onPointerEnter",["pointerout","pointerover"]),El("onPointerLeave",["pointerout","pointerover"]),Pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vn));function fm(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var i=void 0;if(t)for(var s=l.length-1;0<=s;s--){var d=l[s],_=d.instance,k=d.currentTarget;if(d=d.listener,_!==i&&n.isPropagationStopped())break e;i=d,n.currentTarget=k;try{i(n)}catch(A){wi(A)}n.currentTarget=null,i=_}else for(s=0;s<l.length;s++){if(d=l[s],_=d.instance,k=d.currentTarget,d=d.listener,_!==i&&n.isPropagationStopped())break e;i=d,n.currentTarget=k;try{i(n)}catch(A){wi(A)}n.currentTarget=null,i=_}}}}function ce(e,t){var a=t[nr];a===void 0&&(a=t[nr]=new Set);var l=e+"__bubble";a.has(l)||(dm(t,e,2,!1),a.add(l))}function Zc(e,t,a){var l=0;t&&(l|=4),dm(a,e,l,t)}var fu="_reactListening"+Math.random().toString(36).slice(2);function Kc(e){if(!e[fu]){e[fu]=!0,ns.forEach(function(a){a!=="selectionchange"&&(Fy.has(a)||Zc(a,!1,e),Zc(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fu]||(t[fu]=!0,Zc("selectionchange",!1,t))}}function dm(e,t,a,l){switch(Ym(t)){case 2:var n=w_;break;case 8:n=k_;break;default:n=co}a=n.bind(null,t,a,e),n=void 0,!mr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function Jc(e,t,a,l,n){var i=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var s=l.tag;if(s===3||s===4){var d=l.stateNode.containerInfo;if(d===n)break;if(s===4)for(s=l.return;s!==null;){var _=s.tag;if((_===3||_===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;d!==null;){if(s=bl(d),s===null)return;if(_=s.tag,_===5||_===6||_===26||_===27){l=i=s;continue e}d=d.parentNode}}l=l.return}ys(function(){var k=i,A=fr(a),M=[];e:{var R=Qs.get(e);if(R!==void 0){var z=Si,Z=e;switch(e){case"keypress":if(bi(a)===0)break e;case"keydown":case"keyup":z=Qp;break;case"focusin":Z="focus",z=_r;break;case"focusout":Z="blur",z=_r;break;case"beforeblur":case"afterblur":z=_r;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Cp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=Kp;break;case Ls:case Ys:case Gs:z=Dp;break;case Xs:z=$p;break;case"scroll":case"scrollend":z=Ap;break;case"wheel":z=Fp;break;case"copy":case"cut":case"paste":z=qp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=xs;break;case"toggle":case"beforetoggle":z=Pp}var I=(t&4)!==0,we=!I&&(e==="scroll"||e==="scrollend"),E=I?R!==null?R+"Capture":null:R;I=[];for(var v=k,w;v!==null;){var C=v;if(w=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||w===null||E===null||(C=mn(v,E),C!=null&&I.push(Zn(v,C,w))),we)break;v=v.return}0<I.length&&(R=new z(R,Z,null,a,A),M.push({event:R,listeners:I}))}}if((t&7)===0){e:{if(R=e==="mouseover"||e==="pointerover",z=e==="mouseout"||e==="pointerout",R&&a!==sr&&(Z=a.relatedTarget||a.fromElement)&&(bl(Z)||Z[vl]))break e;if((z||R)&&(R=A.window===A?A:(R=A.ownerDocument)?R.defaultView||R.parentWindow:window,z?(Z=a.relatedTarget||a.toElement,z=k,Z=Z?bl(Z):null,Z!==null&&(we=m(Z),I=Z.tag,Z!==we||I!==5&&I!==27&&I!==6)&&(Z=null)):(z=null,Z=k),z!==Z)){if(I=vs,C="onMouseLeave",E="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(I=xs,C="onPointerLeave",E="onPointerEnter",v="pointer"),we=z==null?R:dn(z),w=Z==null?R:dn(Z),R=new I(C,v+"leave",z,a,A),R.target=we,R.relatedTarget=w,C=null,bl(A)===k&&(I=new I(E,v+"enter",Z,a,A),I.target=w,I.relatedTarget=we,C=I),we=C,z&&Z)t:{for(I=Iy,E=z,v=Z,w=0,C=E;C;C=I(C))w++;C=0;for(var W=v;W;W=I(W))C++;for(;0<w-C;)E=I(E),w--;for(;0<C-w;)v=I(v),C--;for(;w--;){if(E===v||v!==null&&E===v.alternate){I=E;break t}E=I(E),v=I(v)}I=null}else I=null;z!==null&&mm(M,R,z,I,!1),Z!==null&&we!==null&&mm(M,we,Z,I,!0)}}e:{if(R=k?dn(k):window,z=R.nodeName&&R.nodeName.toLowerCase(),z==="select"||z==="input"&&R.type==="file")var he=zs;else if(Rs(R))if(As)he=oy;else{he=ry;var $=uy}else z=R.nodeName,!z||z.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?k&&or(k.elementType)&&(he=zs):he=cy;if(he&&(he=he(e,k))){js(M,he,a,A);break e}$&&$(e,R,k),e==="focusout"&&k&&R.type==="number"&&k.memoizedProps.value!=null&&cr(R,"number",R.value)}switch($=k?dn(k):window,e){case"focusin":(Rs($)||$.contentEditable==="true")&&(zl=$,Er=k,xn=null);break;case"focusout":xn=Er=zl=null;break;case"mousedown":Tr=!0;break;case"contextmenu":case"mouseup":case"dragend":Tr=!1,Hs(M,a,A);break;case"selectionchange":if(fy)break;case"keydown":case"keyup":Hs(M,a,A)}var ne;if(vr)e:{switch(e){case"compositionstart":var se="onCompositionStart";break e;case"compositionend":se="onCompositionEnd";break e;case"compositionupdate":se="onCompositionUpdate";break e}se=void 0}else jl?ws(e,a)&&(se="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(se="onCompositionStart");se&&(Ss&&a.locale!=="ko"&&(jl||se!=="onCompositionStart"?se==="onCompositionEnd"&&jl&&(ne=_s()):(Ta=A,hr="value"in Ta?Ta.value:Ta.textContent,jl=!0)),$=du(k,se),0<$.length&&(se=new bs(se,e,null,a,A),M.push({event:se,listeners:$}),ne?se.data=ne:(ne=ks(a),ne!==null&&(se.data=ne)))),(ne=ty?ay(e,a):ly(e,a))&&(se=du(k,"onBeforeInput"),0<se.length&&($=new bs("onBeforeInput","beforeinput",null,a,A),M.push({event:$,listeners:se}),$.data=ne)),Jy(M,e,k,a,A)}fm(M,t)})}function Zn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function du(e,t){for(var a=t+"Capture",l=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=mn(e,a),n!=null&&l.unshift(Zn(e,n,i)),n=mn(e,t),n!=null&&l.push(Zn(e,n,i))),e.tag===3)return l;e=e.return}return[]}function Iy(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mm(e,t,a,l,n){for(var i=t._reactName,s=[];a!==null&&a!==l;){var d=a,_=d.alternate,k=d.stateNode;if(d=d.tag,_!==null&&_===l)break;d!==5&&d!==26&&d!==27||k===null||(_=k,n?(k=mn(a,i),k!=null&&s.unshift(Zn(a,k,_))):n||(k=mn(a,i),k!=null&&s.push(Zn(a,k,_)))),a=a.return}s.length!==0&&e.push({event:t,listeners:s})}var Py=/\r\n?/g,e_=/\u0000|\uFFFD/g;function hm(e){return(typeof e=="string"?e:""+e).replace(Py,`
|
|
50
|
-
`).replace(e_,"")}function pm(e,t){return t=hm(t),hm(e)===t}function Te(e,t,a,l,n,i){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||wl(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&wl(e,""+l);break;case"className":yi(e,"class",l);break;case"tabIndex":yi(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":yi(e,a,l);break;case"style":hs(e,l,i);break;case"data":if(t!=="object"){yi(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=gi(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(a==="formAction"?(t!=="input"&&Te(e,t,"name",n.name,n,null),Te(e,t,"formEncType",n.formEncType,n,null),Te(e,t,"formMethod",n.formMethod,n,null),Te(e,t,"formTarget",n.formTarget,n,null)):(Te(e,t,"encType",n.encType,n,null),Te(e,t,"method",n.method,n,null),Te(e,t,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=gi(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=la);break;case"onScroll":l!=null&&ce("scroll",e);break;case"onScrollEnd":l!=null&&ce("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=gi(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":ce("beforetoggle",e),ce("toggle",e),pi(e,"popover",l);break;case"xlinkActuate":aa(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":aa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":aa(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":aa(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":aa(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":aa(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":aa(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":aa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":aa(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":pi(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=jp.get(a)||a,pi(e,a,l))}}function $c(e,t,a,l,n,i){switch(a){case"style":hs(e,l,i);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"children":typeof l=="string"?wl(e,l):(typeof l=="number"||typeof l=="bigint")&&wl(e,""+l);break;case"onScroll":l!=null&&ce("scroll",e);break;case"onScrollEnd":l!=null&&ce("scrollend",e);break;case"onClick":l!=null&&(e.onclick=la);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!is.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),i=e[ot]||null,i=i!=null?i[a]:null,typeof i=="function"&&e.removeEventListener(t,i,n),typeof l=="function")){typeof i!="function"&&i!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):pi(e,a,l)}}}function tt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ce("error",e),ce("load",e);var l=!1,n=!1,i;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];if(s!=null)switch(i){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Te(e,t,i,s,a,null)}}n&&Te(e,t,"srcSet",a.srcSet,a,null),l&&Te(e,t,"src",a.src,a,null);return;case"input":ce("invalid",e);var d=i=s=n=null,_=null,k=null;for(l in a)if(a.hasOwnProperty(l)){var A=a[l];if(A!=null)switch(l){case"name":n=A;break;case"type":s=A;break;case"checked":_=A;break;case"defaultChecked":k=A;break;case"value":i=A;break;case"defaultValue":d=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(c(137,t));break;default:Te(e,t,l,A,a,null)}}ss(e,i,d,_,k,s,n,!1);return;case"select":ce("invalid",e),l=s=i=null;for(n in a)if(a.hasOwnProperty(n)&&(d=a[n],d!=null))switch(n){case"value":i=d;break;case"defaultValue":s=d;break;case"multiple":l=d;default:Te(e,t,n,d,a,null)}t=i,a=s,e.multiple=!!l,t!=null?Tl(e,!!l,t,!1):a!=null&&Tl(e,!!l,a,!0);return;case"textarea":ce("invalid",e),i=n=l=null;for(s in a)if(a.hasOwnProperty(s)&&(d=a[s],d!=null))switch(s){case"value":l=d;break;case"defaultValue":n=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(c(91));break;default:Te(e,t,s,d,a,null)}ds(e,l,n,i);return;case"option":for(_ in a)if(a.hasOwnProperty(_)&&(l=a[_],l!=null))switch(_){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Te(e,t,_,l,a,null)}return;case"dialog":ce("beforetoggle",e),ce("toggle",e),ce("cancel",e),ce("close",e);break;case"iframe":case"object":ce("load",e);break;case"video":case"audio":for(l=0;l<Vn.length;l++)ce(Vn[l],e);break;case"image":ce("error",e),ce("load",e);break;case"details":ce("toggle",e);break;case"embed":case"source":case"link":ce("error",e),ce("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(k in a)if(a.hasOwnProperty(k)&&(l=a[k],l!=null))switch(k){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Te(e,t,k,l,a,null)}return;default:if(or(t)){for(A in a)a.hasOwnProperty(A)&&(l=a[A],l!==void 0&&$c(e,t,A,l,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(l=a[d],l!=null&&Te(e,t,d,l,a,null))}function t_(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,s=null,d=null,_=null,k=null,A=null;for(z in a){var M=a[z];if(a.hasOwnProperty(z)&&M!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":_=M;default:l.hasOwnProperty(z)||Te(e,t,z,null,l,M)}}for(var R in l){var z=l[R];if(M=a[R],l.hasOwnProperty(R)&&(z!=null||M!=null))switch(R){case"type":i=z;break;case"name":n=z;break;case"checked":k=z;break;case"defaultChecked":A=z;break;case"value":s=z;break;case"defaultValue":d=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,t));break;default:z!==M&&Te(e,t,R,z,l,M)}}rr(e,s,d,_,k,A,i,n);return;case"select":z=s=d=R=null;for(i in a)if(_=a[i],a.hasOwnProperty(i)&&_!=null)switch(i){case"value":break;case"multiple":z=_;default:l.hasOwnProperty(i)||Te(e,t,i,null,l,_)}for(n in l)if(i=l[n],_=a[n],l.hasOwnProperty(n)&&(i!=null||_!=null))switch(n){case"value":R=i;break;case"defaultValue":d=i;break;case"multiple":s=i;default:i!==_&&Te(e,t,n,i,l,_)}t=d,a=s,l=z,R!=null?Tl(e,!!a,R,!1):!!l!=!!a&&(t!=null?Tl(e,!!a,t,!0):Tl(e,!!a,a?[]:"",!1));return;case"textarea":z=R=null;for(d in a)if(n=a[d],a.hasOwnProperty(d)&&n!=null&&!l.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Te(e,t,d,null,l,n)}for(s in l)if(n=l[s],i=a[s],l.hasOwnProperty(s)&&(n!=null||i!=null))switch(s){case"value":R=n;break;case"defaultValue":z=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==i&&Te(e,t,s,n,l,i)}fs(e,R,z);return;case"option":for(var Z in a)if(R=a[Z],a.hasOwnProperty(Z)&&R!=null&&!l.hasOwnProperty(Z))switch(Z){case"selected":e.selected=!1;break;default:Te(e,t,Z,null,l,R)}for(_ in l)if(R=l[_],z=a[_],l.hasOwnProperty(_)&&R!==z&&(R!=null||z!=null))switch(_){case"selected":e.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Te(e,t,_,R,l,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var I in a)R=a[I],a.hasOwnProperty(I)&&R!=null&&!l.hasOwnProperty(I)&&Te(e,t,I,null,l,R);for(k in l)if(R=l[k],z=a[k],l.hasOwnProperty(k)&&R!==z&&(R!=null||z!=null))switch(k){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,t));break;default:Te(e,t,k,R,l,z)}return;default:if(or(t)){for(var we in a)R=a[we],a.hasOwnProperty(we)&&R!==void 0&&!l.hasOwnProperty(we)&&$c(e,t,we,void 0,l,R);for(A in l)R=l[A],z=a[A],!l.hasOwnProperty(A)||R===z||R===void 0&&z===void 0||$c(e,t,A,R,l,z);return}}for(var E in a)R=a[E],a.hasOwnProperty(E)&&R!=null&&!l.hasOwnProperty(E)&&Te(e,t,E,null,l,R);for(M in l)R=l[M],z=a[M],!l.hasOwnProperty(M)||R===z||R==null&&z==null||Te(e,t,M,R,l,z)}function ym(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function a_(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var n=a[l],i=n.transferSize,s=n.initiatorType,d=n.duration;if(i&&d&&ym(s)){for(s=0,d=n.responseEnd,l+=1;l<a.length;l++){var _=a[l],k=_.startTime;if(k>d)break;var A=_.transferSize,M=_.initiatorType;A&&ym(M)&&(_=_.responseEnd,s+=A*(_<d?1:(d-k)/(_-k)))}if(--l,t+=8*(i+s)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Wc=null,Fc=null;function mu(e){return e.nodeType===9?e:e.ownerDocument}function _m(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function gm(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Ic(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 Pc=null;function l_(){var e=window.event;return e&&e.type==="popstate"?e===Pc?!1:(Pc=e,!0):(Pc=null,!1)}var vm=typeof setTimeout=="function"?setTimeout:void 0,n_=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,i_=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(e){return bm.resolve(null).then(e).catch(u_)}:vm;function u_(e){setTimeout(function(){throw e})}function Ya(e){return e==="head"}function xm(e,t){var a=t,l=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"||a==="/&"){if(l===0){e.removeChild(n),an(t);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Kn(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Kn(a);for(var i=a.firstChild;i;){var s=i.nextSibling,d=i.nodeName;i[fn]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=s}}else a==="body"&&Kn(e.ownerDocument.body);a=n}while(a);an(t)}function Sm(e,t){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=l}while(a)}function eo(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":eo(a),ir(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function r_(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[fn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function c_(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=qt(e.nextSibling),e===null))return null;return e}function Em(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=qt(e.nextSibling),e===null))return null;return e}function to(e){return e.data==="$?"||e.data==="$~"}function ao(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function o_(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var lo=null;function Tm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return qt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function wm(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 km(e,t,a){switch(t=mu(a),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function Kn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ir(e)}var Ht=new Map,Rm=new Set;function hu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var va=Y.d;Y.d={f:s_,r:f_,D:d_,C:m_,L:h_,m:p_,X:__,S:y_,M:g_};function s_(){var e=va.f(),t=iu();return e||t}function f_(e){var t=xl(e);t!==null&&t.tag===5&&t.type==="form"?Qf(t):va.r(e)}var Pl=typeof document>"u"?null:document;function jm(e,t,a){var l=Pl;if(l&&typeof t=="string"&&t){var n=At(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),Rm.has(n)||(Rm.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),tt(t,"link",e),$e(t),l.head.appendChild(t)))}}function d_(e){va.D(e),jm("dns-prefetch",e,null)}function m_(e,t){va.C(e,t),jm("preconnect",e,t)}function h_(e,t,a){va.L(e,t,a);var l=Pl;if(l&&e&&t){var n='link[rel="preload"][as="'+At(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+At(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+At(a.imageSizes)+'"]')):n+='[href="'+At(e)+'"]';var i=n;switch(t){case"style":i=en(e);break;case"script":i=tn(e)}Ht.has(i)||(e=S({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ht.set(i,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(Jn(i))||t==="script"&&l.querySelector($n(i))||(t=l.createElement("link"),tt(t,"link",e),$e(t),l.head.appendChild(t)))}}function p_(e,t){va.m(e,t);var a=Pl;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+At(l)+'"][href="'+At(e)+'"]',i=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=tn(e)}if(!Ht.has(i)&&(e=S({rel:"modulepreload",href:e},t),Ht.set(i,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector($n(i)))return}l=a.createElement("link"),tt(l,"link",e),$e(l),a.head.appendChild(l)}}}function y_(e,t,a){va.S(e,t,a);var l=Pl;if(l&&e){var n=Sl(l).hoistableStyles,i=en(e);t=t||"default";var s=n.get(i);if(!s){var d={loading:0,preload:null};if(s=l.querySelector(Jn(i)))d.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ht.get(i))&&no(e,a);var _=s=l.createElement("link");$e(_),tt(_,"link",e),_._p=new Promise(function(k,A){_.onload=k,_.onerror=A}),_.addEventListener("load",function(){d.loading|=1}),_.addEventListener("error",function(){d.loading|=2}),d.loading|=4,pu(s,t,l)}s={type:"stylesheet",instance:s,count:1,state:d},n.set(i,s)}}}function __(e,t){va.X(e,t);var a=Pl;if(a&&e){var l=Sl(a).hoistableScripts,n=tn(e),i=l.get(n);i||(i=a.querySelector($n(n)),i||(e=S({src:e,async:!0},t),(t=Ht.get(n))&&io(e,t),i=a.createElement("script"),$e(i),tt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function g_(e,t){va.M(e,t);var a=Pl;if(a&&e){var l=Sl(a).hoistableScripts,n=tn(e),i=l.get(n);i||(i=a.querySelector($n(n)),i||(e=S({src:e,async:!0,type:"module"},t),(t=Ht.get(n))&&io(e,t),i=a.createElement("script"),$e(i),tt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function zm(e,t,a,l){var n=(n=ue.current)?hu(n):null;if(!n)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=en(a.href),a=Sl(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=en(a.href);var i=Sl(n).hoistableStyles,s=i.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=n.querySelector(Jn(e)))&&!i._p&&(s.instance=i,s.state.loading=5),Ht.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ht.set(e,a),i||v_(n,e,a,s.state))),t&&l===null)throw Error(c(528,""));return s}if(t&&l!==null)throw Error(c(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=tn(a),a=Sl(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function en(e){return'href="'+At(e)+'"'}function Jn(e){return'link[rel="stylesheet"]['+e+"]"}function Am(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function v_(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),tt(t,"link",a),$e(t),e.head.appendChild(t))}function tn(e){return'[src="'+At(e)+'"]'}function $n(e){return"script[async]"+e}function Om(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+At(a.href)+'"]');if(l)return t.instance=l,$e(l),l;var n=S({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),$e(l),tt(l,"style",n),pu(l,a.precedence,e),t.instance=l;case"stylesheet":n=en(a.href);var i=e.querySelector(Jn(n));if(i)return t.state.loading|=4,t.instance=i,$e(i),i;l=Am(a),(n=Ht.get(n))&&no(l,n),i=(e.ownerDocument||e).createElement("link"),$e(i);var s=i;return s._p=new Promise(function(d,_){s.onload=d,s.onerror=_}),tt(i,"link",l),t.state.loading|=4,pu(i,a.precedence,e),t.instance=i;case"script":return i=tn(a.src),(n=e.querySelector($n(i)))?(t.instance=n,$e(n),n):(l=a,(n=Ht.get(i))&&(l=S({},a),io(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),$e(n),tt(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,pu(l,a.precedence,e));return t.instance}function pu(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,i=n,s=0;s<l.length;s++){var d=l[s];if(d.dataset.precedence===t)i=d;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function no(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function io(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var yu=null;function Cm(e,t,a){if(yu===null){var l=new Map,n=yu=new Map;n.set(a,l)}else n=yu,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var i=a[n];if(!(i[fn]||i[Fe]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var d=l.get(s);d?d.push(i):l.set(s,[i])}}return l}function Mm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function b_(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Nm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function x_(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var n=en(l.href),i=t.querySelector(Jn(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_u.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,$e(i);return}i=t.ownerDocument||t,l=Am(l),(n=Ht.get(n))&&no(l,n),i=i.createElement("link"),$e(i);var s=i;s._p=new Promise(function(d,_){s.onload=d,s.onerror=_}),tt(i,"link",l),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=_u.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var uo=0;function S_(e,t){return e.stylesheets&&e.count===0&&vu(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&&vu(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&uo===0&&(uo=62500*a_());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&vu(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>uo?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function _u(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)vu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function vu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,t.forEach(E_,e),gu=null,_u.call(e))}function E_(e,t){if(!(t.state.loading&4)){var a=gu.get(e);if(a)var l=a.get(null);else{a=new Map,gu.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var s=n[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(a.set(s.dataset.precedence,s),l=s)}l&&a.set(null,l)}n=t.instance,s=n.getAttribute("data-precedence"),i=a.get(s)||l,i===l&&a.set(null,n),a.set(s,n),this.count++,l=_u.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Wn={$$typeof:F,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function T_(e,t,a,l,n,i,s,d,_){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=tr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tr(0),this.hiddenUpdates=tr(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function Dm(e,t,a,l,n,i,s,d,_,k,A,M){return e=new T_(e,t,a,s,_,k,A,M,d),t=1,i===!0&&(t|=24),i=bt(3,null,null,t),e.current=i,i.stateNode=e,t=Br(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:l,isDehydrated:a,cache:t},Xr(i),e}function Um(e){return e?(e=Cl,e):Cl}function qm(e,t,a,l,n,i){n=Um(n),l.context===null?l.context=n:l.pendingContext=n,l=Aa(t),l.payload={element:a},i=i===void 0?null:i,i!==null&&(l.callback=i),a=Oa(e,l,t),a!==null&&(pt(a,e,t),jn(a,e,t))}function Hm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function ro(e,t){Hm(e,t),(e=e.alternate)&&Hm(e,t)}function Bm(e){if(e.tag===13||e.tag===31){var t=ll(e,67108864);t!==null&&pt(t,e,67108864),ro(e,67108864)}}function Lm(e){if(e.tag===13||e.tag===31){var t=wt();t=ar(t);var a=ll(e,t);a!==null&&pt(a,e,t),ro(e,t)}}var bu=!0;function w_(e,t,a,l){var n=O.T;O.T=null;var i=Y.p;try{Y.p=2,co(e,t,a,l)}finally{Y.p=i,O.T=n}}function k_(e,t,a,l){var n=O.T;O.T=null;var i=Y.p;try{Y.p=8,co(e,t,a,l)}finally{Y.p=i,O.T=n}}function co(e,t,a,l){if(bu){var n=oo(l);if(n===null)Jc(e,t,l,xu,a),Gm(e,l);else if(j_(n,e,t,a,l))l.stopPropagation();else if(Gm(e,l),t&4&&-1<R_.indexOf(e)){for(;n!==null;){var i=xl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Ia(i.pendingLanes);if(s!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;s;){var _=1<<31-gt(s);d.entanglements[1]|=_,s&=~_}Ft(i),(ye&6)===0&&(lu=yt()+500,Qn(0))}}break;case 31:case 13:d=ll(i,2),d!==null&&pt(d,i,2),iu(),ro(i,2)}if(i=oo(l),i===null&&Jc(e,t,l,xu,a),i===n)break;n=i}n!==null&&l.stopPropagation()}else Jc(e,t,l,null,a)}}function oo(e){return e=fr(e),so(e)}var xu=null;function so(e){if(xu=null,e=bl(e),e!==null){var t=m(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=p(t),e!==null)return e;e=null}else if(a===31){if(e=T(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xu=e,null}function Ym(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(dp()){case Jo:return 2;case $o:return 8;case si:case mp:return 32;case Wo:return 268435456;default:return 32}default:return 32}}var fo=!1,Ga=null,Xa=null,Qa=null,Fn=new Map,In=new Map,Va=[],R_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Gm(e,t){switch(e){case"focusin":case"focusout":Ga=null;break;case"dragenter":case"dragleave":Xa=null;break;case"mouseover":case"mouseout":Qa=null;break;case"pointerover":case"pointerout":Fn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":In.delete(t.pointerId)}}function Pn(e,t,a,l,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:i,targetContainers:[n]},t!==null&&(t=xl(t),t!==null&&Bm(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function j_(e,t,a,l,n){switch(t){case"focusin":return Ga=Pn(Ga,e,t,a,l,n),!0;case"dragenter":return Xa=Pn(Xa,e,t,a,l,n),!0;case"mouseover":return Qa=Pn(Qa,e,t,a,l,n),!0;case"pointerover":var i=n.pointerId;return Fn.set(i,Pn(Fn.get(i)||null,e,t,a,l,n)),!0;case"gotpointercapture":return i=n.pointerId,In.set(i,Pn(In.get(i)||null,e,t,a,l,n)),!0}return!1}function Xm(e){var t=bl(e.target);if(t!==null){var a=m(t);if(a!==null){if(t=a.tag,t===13){if(t=p(a),t!==null){e.blockedOn=t,as(e.priority,function(){Lm(a)});return}}else if(t===31){if(t=T(a),t!==null){e.blockedOn=t,as(e.priority,function(){Lm(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Su(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=oo(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);sr=l,a.target.dispatchEvent(l),sr=null}else return t=xl(a),t!==null&&Bm(t),e.blockedOn=a,!1;t.shift()}return!0}function Qm(e,t,a){Su(e)&&a.delete(t)}function z_(){fo=!1,Ga!==null&&Su(Ga)&&(Ga=null),Xa!==null&&Su(Xa)&&(Xa=null),Qa!==null&&Su(Qa)&&(Qa=null),Fn.forEach(Qm),In.forEach(Qm)}function Eu(e,t){e.blockedOn===t&&(e.blockedOn=null,fo||(fo=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,z_)))}var Tu=null;function Vm(e){Tu!==e&&(Tu=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Tu===e&&(Tu=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!="function"){if(so(l||a)===null)continue;break}var i=xl(a);i!==null&&(e.splice(t,3),t-=3,oc(i,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function an(e){function t(_){return Eu(_,e)}Ga!==null&&Eu(Ga,e),Xa!==null&&Eu(Xa,e),Qa!==null&&Eu(Qa,e),Fn.forEach(t),In.forEach(t);for(var a=0;a<Va.length;a++){var l=Va[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Va.length&&(a=Va[0],a.blockedOn===null);)Xm(a),a.blockedOn===null&&Va.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],i=a[l+1],s=n[ot]||null;if(typeof i=="function")s||Vm(a);else if(s){var d=null;if(i&&i.hasAttribute("formAction")){if(n=i,s=i[ot]||null)d=s.formAction;else if(so(n)!==null)continue}else d=s.action;typeof d=="function"?a[l+1]=d:(a.splice(l,3),l-=3),Vm(a)}}}function Zm(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function mo(e){this._internalRoot=e}wu.prototype.render=mo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var a=t.current,l=wt();qm(a,l,e,t,null,null)},wu.prototype.unmount=mo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qm(e.current,2,null,e,null,null),iu(),t[vl]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=ts();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Va.length&&t!==0&&t<Va[a].priority;a++);Va.splice(a,0,e),a===0&&Xm(e)}};var Km=r.version;if(Km!=="19.2.4")throw Error(c(527,Km,"19.2.4"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=h(t),e=e!==null?j(e):null,e=e===null?null:e.stateNode,e};var A_={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ku.isDisabled&&ku.supportsFiber)try{cn=ku.inject(A_),_t=ku}catch{}}return ti.createRoot=function(e,t){if(!f(e))throw Error(c(299));var a=!1,l="",n=ed,i=td,s=ad;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Dm(e,1,!1,null,null,a,l,null,n,i,s,Zm),e[vl]=t.current,Kc(e),new mo(t)},ti.hydrateRoot=function(e,t,a){if(!f(e))throw Error(c(299));var l=!1,n="",i=ed,s=td,d=ad,_=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(s=a.onCaughtError),a.onRecoverableError!==void 0&&(d=a.onRecoverableError),a.formState!==void 0&&(_=a.formState)),t=Dm(e,1,!0,t,a??null,l,n,_,i,s,d,Zm),t.context=Um(null),a=t.current,l=wt(),l=ar(l),n=Aa(l),n.callback=null,Oa(a,n,l),a=l,t.current.lanes=a,sn(t,a),Ft(t),e[vl]=t.current,Kc(e),new wu(t)},ti.version="19.2.4",ti}var ih;function X_(){if(ih)return _o.exports;ih=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),_o.exports=G_(),_o.exports}var Q_=X_();const V_="modulepreload",Z_=function(u){return"/"+u},uh={},Ne=function(r,o,c){let f=Promise.resolve();if(o&&o.length>0){let p=function(h){return Promise.all(h.map(j=>Promise.resolve(j).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};document.getElementsByTagName("link");const T=document.querySelector("meta[property=csp-nonce]"),g=(T==null?void 0:T.nonce)||(T==null?void 0:T.getAttribute("nonce"));f=p(o.map(h=>{if(h=Z_(h),h in uh)return;uh[h]=!0;const j=h.endsWith(".css"),S=j?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${S}`))return;const D=document.createElement("link");if(D.rel=j?"stylesheet":V_,j||(D.as="script"),D.crossOrigin="",D.href=h,g&&D.setAttribute("nonce",g),document.head.appendChild(D),j)return new Promise((V,q)=>{D.addEventListener("load",V),D.addEventListener("error",()=>q(new Error(`Unable to preload CSS for ${h}`)))})}))}function m(p){const T=new Event("vite:preloadError",{cancelable:!0});if(T.payload=p,window.dispatchEvent(T),!T.defaultPrevented)throw p}return f.then(p=>{for(const T of p||[])T.status==="rejected"&&m(T.reason);return r().catch(m)})};/**
|
|
51
|
-
* react-router v7.13.1
|
|
52
|
-
*
|
|
53
|
-
* Copyright (c) Remix Software Inc.
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the MIT license found in the
|
|
56
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
57
|
-
*
|
|
58
|
-
* @license MIT
|
|
59
|
-
*/var rh="popstate";function ch(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function K_(u={}){function r(c,f){var h;let m=(h=f.state)==null?void 0:h.masked,{pathname:p,search:T,hash:g}=m||c.location;return jo("",{pathname:p,search:T,hash:g},f.state&&f.state.usr||null,f.state&&f.state.key||"default",m?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function o(c,f){return typeof f=="string"?f:ui(f)}return $_(r,o,null,u)}function Me(u,r){if(u===!1||u===null||typeof u>"u")throw new Error(r)}function Kt(u,r){if(!u){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function J_(){return Math.random().toString(36).substring(2,10)}function oh(u,r){return{usr:u.state,key:u.key,idx:r,masked:u.unstable_mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function jo(u,r,o=null,c,f){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof r=="string"?ln(r):r,state:o,key:r&&r.key||c||J_(),unstable_mask:f}}function ui({pathname:u="/",search:r="",hash:o=""}){return r&&r!=="?"&&(u+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(u+=o.charAt(0)==="#"?o:"#"+o),u}function ln(u){let r={};if(u){let o=u.indexOf("#");o>=0&&(r.hash=u.substring(o),u=u.substring(0,o));let c=u.indexOf("?");c>=0&&(r.search=u.substring(c),u=u.substring(0,c)),u&&(r.pathname=u)}return r}function $_(u,r,o,c={}){let{window:f=document.defaultView,v5Compat:m=!1}=c,p=f.history,T="POP",g=null,h=j();h==null&&(h=0,p.replaceState({...p.state,idx:h},""));function j(){return(p.state||{idx:null}).idx}function S(){T="POP";let L=j(),B=L==null?null:L-h;h=L,g&&g({action:T,location:H.location,delta:B})}function D(L,B){T="PUSH";let P=ch(L)?L:jo(H.location,L,B);h=j()+1;let F=oh(P,h),me=H.createHref(P.unstable_mask||P);try{p.pushState(F,"",me)}catch(fe){if(fe instanceof DOMException&&fe.name==="DataCloneError")throw fe;f.location.assign(me)}m&&g&&g({action:T,location:H.location,delta:1})}function V(L,B){T="REPLACE";let P=ch(L)?L:jo(H.location,L,B);h=j();let F=oh(P,h),me=H.createHref(P.unstable_mask||P);p.replaceState(F,"",me),m&&g&&g({action:T,location:H.location,delta:0})}function q(L){return W_(L)}let H={get action(){return T},get location(){return u(f,p)},listen(L){if(g)throw new Error("A history only accepts one active listener");return f.addEventListener(rh,S),g=L,()=>{f.removeEventListener(rh,S),g=null}},createHref(L){return r(f,L)},createURL:q,encodeLocation(L){let B=q(L);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:D,replace:V,go(L){return p.go(L)}};return H}function W_(u,r=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Me(o,"No window.location.(origin|href) available to create URL");let c=typeof u=="string"?u:ui(u);return c=c.replace(/ $/,"%20"),!r&&c.startsWith("//")&&(c=o+c),new URL(c,o)}function Sh(u,r,o="/"){return F_(u,r,o,!1)}function F_(u,r,o,c){let f=typeof r=="string"?ln(r):r,m=xa(f.pathname||"/",o);if(m==null)return null;let p=Eh(u);I_(p);let T=null;for(let g=0;T==null&&g<p.length;++g){let h=og(m);T=rg(p[g],h,c)}return T}function Eh(u,r=[],o=[],c="",f=!1){let m=(p,T,g=f,h)=>{let j={relativePath:h===void 0?p.path||"":h,caseSensitive:p.caseSensitive===!0,childrenIndex:T,route:p};if(j.relativePath.startsWith("/")){if(!j.relativePath.startsWith(c)&&g)return;Me(j.relativePath.startsWith(c),`Absolute route path "${j.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),j.relativePath=j.relativePath.slice(c.length)}let S=ea([c,j.relativePath]),D=o.concat(j);p.children&&p.children.length>0&&(Me(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),Eh(p.children,r,D,S,g)),!(p.path==null&&!p.index)&&r.push({path:S,score:ig(S,p.index),routesMeta:D})};return u.forEach((p,T)=>{var g;if(p.path===""||!((g=p.path)!=null&&g.includes("?")))m(p,T);else for(let h of Th(p.path))m(p,T,!0,h)}),r}function Th(u){let r=u.split("/");if(r.length===0)return[];let[o,...c]=r,f=o.endsWith("?"),m=o.replace(/\?$/,"");if(c.length===0)return f?[m,""]:[m];let p=Th(c.join("/")),T=[];return T.push(...p.map(g=>g===""?m:[m,g].join("/"))),f&&T.push(...p),T.map(g=>u.startsWith("/")&&g===""?"/":g)}function I_(u){u.sort((r,o)=>r.score!==o.score?o.score-r.score:ug(r.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var P_=/^:[\w-]+$/,eg=3,tg=2,ag=1,lg=10,ng=-2,sh=u=>u==="*";function ig(u,r){let o=u.split("/"),c=o.length;return o.some(sh)&&(c+=ng),r&&(c+=tg),o.filter(f=>!sh(f)).reduce((f,m)=>f+(P_.test(m)?eg:m===""?ag:lg),c)}function ug(u,r){return u.length===r.length&&u.slice(0,-1).every((c,f)=>c===r[f])?u[u.length-1]-r[r.length-1]:0}function rg(u,r,o=!1){let{routesMeta:c}=u,f={},m="/",p=[];for(let T=0;T<c.length;++T){let g=c[T],h=T===c.length-1,j=m==="/"?r:r.slice(m.length)||"/",S=Xu({path:g.relativePath,caseSensitive:g.caseSensitive,end:h},j),D=g.route;if(!S&&h&&o&&!c[c.length-1].route.index&&(S=Xu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},j)),!S)return null;Object.assign(f,S.params),p.push({params:f,pathname:ea([m,S.pathname]),pathnameBase:mg(ea([m,S.pathnameBase])),route:D}),S.pathnameBase!=="/"&&(m=ea([m,S.pathnameBase]))}return p}function Xu(u,r){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[o,c]=cg(u.path,u.caseSensitive,u.end),f=r.match(o);if(!f)return null;let m=f[0],p=m.replace(/(.)\/+$/,"$1"),T=f.slice(1);return{params:c.reduce((h,{paramName:j,isOptional:S},D)=>{if(j==="*"){let q=T[D]||"";p=m.slice(0,m.length-q.length).replace(/(.)\/+$/,"$1")}const V=T[D];return S&&!V?h[j]=void 0:h[j]=(V||"").replace(/%2F/g,"/"),h},{}),pathname:m,pathnameBase:p,pattern:u}}function cg(u,r=!1,o=!0){Kt(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let c=[],f="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,T,g,h,j)=>{if(c.push({paramName:T,isOptional:g!=null}),g){let S=j.charAt(h+p.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(c.push({paramName:"*"}),f+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?f+="\\/*$":u!==""&&u!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,r?void 0:"i"),c]}function og(u){try{return u.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Kt(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),u}}function xa(u,r){if(r==="/")return u;if(!u.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,c=u.charAt(o);return c&&c!=="/"?null:u.slice(o)||"/"}var sg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function fg(u,r="/"){let{pathname:o,search:c="",hash:f=""}=typeof u=="string"?ln(u):u,m;return o?(o=o.replace(/\/\/+/g,"/"),o.startsWith("/")?m=fh(o.substring(1),"/"):m=fh(o,r)):m=r,{pathname:m,search:hg(c),hash:pg(f)}}function fh(u,r){let o=r.replace(/\/+$/,"").split("/");return u.split("/").forEach(f=>{f===".."?o.length>1&&o.pop():f!=="."&&o.push(f)}),o.length>1?o.join("/"):"/"}function xo(u,r,o,c){return`Cannot include a '${u}' character in a manually specified \`to.${r}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function dg(u){return u.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function Ho(u){let r=dg(u);return r.map((o,c)=>c===r.length-1?o.pathname:o.pathnameBase)}function Zu(u,r,o,c=!1){let f;typeof u=="string"?f=ln(u):(f={...u},Me(!f.pathname||!f.pathname.includes("?"),xo("?","pathname","search",f)),Me(!f.pathname||!f.pathname.includes("#"),xo("#","pathname","hash",f)),Me(!f.search||!f.search.includes("#"),xo("#","search","hash",f)));let m=u===""||f.pathname==="",p=m?"/":f.pathname,T;if(p==null)T=o;else{let S=r.length-1;if(!c&&p.startsWith("..")){let D=p.split("/");for(;D[0]==="..";)D.shift(),S-=1;f.pathname=D.join("/")}T=S>=0?r[S]:"/"}let g=fg(f,T),h=p&&p!=="/"&&p.endsWith("/"),j=(m||p===".")&&o.endsWith("/");return!g.pathname.endsWith("/")&&(h||j)&&(g.pathname+="/"),g}var ea=u=>u.join("/").replace(/\/\/+/g,"/"),mg=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),hg=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,pg=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,yg=class{constructor(u,r,o,c=!1){this.status=u,this.statusText=r||"",this.internal=c,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function _g(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function gg(u){return u.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var wh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function kh(u,r){let o=u;if(typeof o!="string"||!sg.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let c=o,f=!1;if(wh)try{let m=new URL(window.location.href),p=o.startsWith("//")?new URL(m.protocol+o):new URL(o),T=xa(p.pathname,r);p.origin===m.origin&&T!=null?o=T+p.search+p.hash:f=!0}catch{Kt(!1,`<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:f,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Rh=["POST","PUT","PATCH","DELETE"];new Set(Rh);var vg=["GET",...Rh];new Set(vg);var nn=x.createContext(null);nn.displayName="DataRouter";var Ku=x.createContext(null);Ku.displayName="DataRouterState";var bg=x.createContext(!1),jh=x.createContext({isTransitioning:!1});jh.displayName="ViewTransition";var xg=x.createContext(new Map);xg.displayName="Fetchers";var Sg=x.createContext(null);Sg.displayName="Await";var Rt=x.createContext(null);Rt.displayName="Navigation";var ri=x.createContext(null);ri.displayName="Location";var Lt=x.createContext({outlet:null,matches:[],isDataRoute:!1});Lt.displayName="Route";var Bo=x.createContext(null);Bo.displayName="RouteError";var zh="REACT_ROUTER_ERROR",Eg="REDIRECT",Tg="ROUTE_ERROR_RESPONSE";function wg(u){if(u.startsWith(`${zh}:${Eg}:{`))try{let r=JSON.parse(u.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function kg(u){if(u.startsWith(`${zh}:${Tg}:{`))try{let r=JSON.parse(u.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new yg(r.status,r.statusText,r.data)}catch{}}function Rg(u,{relative:r}={}){Me(un(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=x.useContext(Rt),{hash:f,pathname:m,search:p}=ci(u,{relative:r}),T=m;return o!=="/"&&(T=m==="/"?o:ea([o,m])),c.createHref({pathname:T,search:p,hash:f})}function un(){return x.useContext(ri)!=null}function Yt(){return Me(un(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(ri).location}var Ah="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Oh(u){x.useContext(Rt).static||x.useLayoutEffect(u)}function gl(){let{isDataRoute:u}=x.useContext(Lt);return u?Gg():jg()}function jg(){Me(un(),"useNavigate() may be used only in the context of a <Router> component.");let u=x.useContext(nn),{basename:r,navigator:o}=x.useContext(Rt),{matches:c}=x.useContext(Lt),{pathname:f}=Yt(),m=JSON.stringify(Ho(c)),p=x.useRef(!1);return Oh(()=>{p.current=!0}),x.useCallback((g,h={})=>{if(Kt(p.current,Ah),!p.current)return;if(typeof g=="number"){o.go(g);return}let j=Zu(g,JSON.parse(m),f,h.relative==="path");u==null&&r!=="/"&&(j.pathname=j.pathname==="/"?r:ea([r,j.pathname])),(h.replace?o.replace:o.push)(j,h.state,h)},[r,o,m,f,u])}var zg=x.createContext(null);function Ag(u){let r=x.useContext(Lt).outlet;return x.useMemo(()=>r&&x.createElement(zg.Provider,{value:u},r),[r,u])}function Rb(){let{matches:u}=x.useContext(Lt),r=u[u.length-1];return r?r.params:{}}function ci(u,{relative:r}={}){let{matches:o}=x.useContext(Lt),{pathname:c}=Yt(),f=JSON.stringify(Ho(o));return x.useMemo(()=>Zu(u,JSON.parse(f),c,r==="path"),[u,f,c,r])}function Og(u,r){return Ch(u,r)}function Ch(u,r,o){var L;Me(un(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=x.useContext(Rt),{matches:f}=x.useContext(Lt),m=f[f.length-1],p=m?m.params:{},T=m?m.pathname:"/",g=m?m.pathnameBase:"/",h=m&&m.route;{let B=h&&h.path||"";Nh(T,!h||B.endsWith("*")||B.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${T}" (under <Route path="${B}">) 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="${B}"> to <Route path="${B==="/"?"*":`${B}/*`}">.`)}let j=Yt(),S;if(r){let B=typeof r=="string"?ln(r):r;Me(g==="/"||((L=B.pathname)==null?void 0:L.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${B.pathname}" was given in the \`location\` prop.`),S=B}else S=j;let D=S.pathname||"/",V=D;if(g!=="/"){let B=g.replace(/^\//,"").split("/");V="/"+D.replace(/^\//,"").split("/").slice(B.length).join("/")}let q=Sh(u,{pathname:V});Kt(h||q!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Kt(q==null||q[q.length-1].route.element!==void 0||q[q.length-1].route.Component!==void 0||q[q.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let H=Ug(q&&q.map(B=>Object.assign({},B,{params:Object.assign({},p,B.params),pathname:ea([g,c.encodeLocation?c.encodeLocation(B.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:B.pathname]),pathnameBase:B.pathnameBase==="/"?g:ea([g,c.encodeLocation?c.encodeLocation(B.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:B.pathnameBase])})),f,o);return r&&H?x.createElement(ri.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...S},navigationType:"POP"}},H):H}function Cg(){let u=Yg(),r=_g(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),o=u instanceof Error?u.stack:null,c="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:c},m={padding:"2px 4px",backgroundColor:c},p=null;return console.error("Error handled by React Router default ErrorBoundary:",u),p=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:m},"ErrorBoundary")," or"," ",x.createElement("code",{style:m},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},r),o?x.createElement("pre",{style:f},o):null,p)}var Mg=x.createElement(Cg,null),Mh=class extends x.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,r){return r.location!==u.location||r.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:r.error,location:r.location,revalidation:u.revalidation||r.revalidation}}componentDidCatch(u,r){this.props.onError?this.props.onError(u,r):console.error("React Router caught the following error during render",u)}render(){let u=this.state.error;if(this.context&&typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){const o=kg(u.digest);o&&(u=o)}let r=u!==void 0?x.createElement(Lt.Provider,{value:this.props.routeContext},x.createElement(Bo.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?x.createElement(Ng,{error:u},r):r}};Mh.contextType=bg;var So=new WeakMap;function Ng({children:u,error:r}){let{basename:o}=x.useContext(Rt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let c=wg(r.digest);if(c){let f=So.get(r);if(f)throw f;let m=kh(c.location,o);if(wh&&!So.get(r))if(m.isExternal||c.reloadDocument)window.location.href=m.absoluteURL||m.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(m.to,{replace:c.replace}));throw So.set(r,p),p}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${m.absoluteURL||m.to}`})}}return u}function Dg({routeContext:u,match:r,children:o}){let c=x.useContext(nn);return c&&c.static&&c.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=r.route.id),x.createElement(Lt.Provider,{value:u},o)}function Ug(u,r=[],o){let c=o==null?void 0:o.state;if(u==null){if(!c)return null;if(c.errors)u=c.matches;else if(r.length===0&&!c.initialized&&c.matches.length>0)u=c.matches;else return null}let f=u,m=c==null?void 0:c.errors;if(m!=null){let j=f.findIndex(S=>S.route.id&&(m==null?void 0:m[S.route.id])!==void 0);Me(j>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),f=f.slice(0,Math.min(f.length,j+1))}let p=!1,T=-1;if(o&&c){p=c.renderFallback;for(let j=0;j<f.length;j++){let S=f[j];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(T=j),S.route.id){let{loaderData:D,errors:V}=c,q=S.route.loader&&!D.hasOwnProperty(S.route.id)&&(!V||V[S.route.id]===void 0);if(S.route.lazy||q){o.isStatic&&(p=!0),T>=0?f=f.slice(0,T+1):f=[f[0]];break}}}}let g=o==null?void 0:o.onError,h=c&&g?(j,S)=>{var D,V;g(j,{location:c.location,params:((V=(D=c.matches)==null?void 0:D[0])==null?void 0:V.params)??{},unstable_pattern:gg(c.matches),errorInfo:S})}:void 0;return f.reduceRight((j,S,D)=>{let V,q=!1,H=null,L=null;c&&(V=m&&S.route.id?m[S.route.id]:void 0,H=S.route.errorElement||Mg,p&&(T<0&&D===0?(Nh("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),q=!0,L=null):T===D&&(q=!0,L=S.route.hydrateFallbackElement||null)));let B=r.concat(f.slice(0,D+1)),P=()=>{let F;return V?F=H:q?F=L:S.route.Component?F=x.createElement(S.route.Component,null):S.route.element?F=S.route.element:F=j,x.createElement(Dg,{match:S,routeContext:{outlet:j,matches:B,isDataRoute:c!=null},children:F})};return c&&(S.route.ErrorBoundary||S.route.errorElement||D===0)?x.createElement(Mh,{location:c.location,revalidation:c.revalidation,component:H,error:V,children:P(),routeContext:{outlet:null,matches:B,isDataRoute:!0},onError:h}):P()},null)}function Lo(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function qg(u){let r=x.useContext(nn);return Me(r,Lo(u)),r}function Hg(u){let r=x.useContext(Ku);return Me(r,Lo(u)),r}function Bg(u){let r=x.useContext(Lt);return Me(r,Lo(u)),r}function Yo(u){let r=Bg(u),o=r.matches[r.matches.length-1];return Me(o.route.id,`${u} can only be used on routes that contain a unique "id"`),o.route.id}function Lg(){return Yo("useRouteId")}function Yg(){var c;let u=x.useContext(Bo),r=Hg("useRouteError"),o=Yo("useRouteError");return u!==void 0?u:(c=r.errors)==null?void 0:c[o]}function Gg(){let{router:u}=qg("useNavigate"),r=Yo("useNavigate"),o=x.useRef(!1);return Oh(()=>{o.current=!0}),x.useCallback(async(f,m={})=>{Kt(o.current,Ah),o.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:r,...m}))},[u,r])}var dh={};function Nh(u,r,o){!r&&!dh[u]&&(dh[u]=!0,Kt(!1,o))}x.memo(Xg);function Xg({routes:u,future:r,state:o,isStatic:c,onError:f}){return Ch(u,void 0,{state:o,isStatic:c,onError:f})}function Du({to:u,replace:r,state:o,relative:c}){Me(un(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=x.useContext(Rt);Kt(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:m}=x.useContext(Lt),{pathname:p}=Yt(),T=gl(),g=Zu(u,Ho(m),p,c==="path"),h=JSON.stringify(g);return x.useEffect(()=>{T(JSON.parse(h),{replace:r,state:o,relative:c})},[T,h,c,r,o]),null}function Qg(u){return Ag(u.context)}function je(u){Me(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Vg({basename:u="/",children:r=null,location:o,navigationType:c="POP",navigator:f,static:m=!1,unstable_useTransitions:p}){Me(!un(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let T=u.replace(/^\/*/,"/"),g=x.useMemo(()=>({basename:T,navigator:f,static:m,unstable_useTransitions:p,future:{}}),[T,f,m,p]);typeof o=="string"&&(o=ln(o));let{pathname:h="/",search:j="",hash:S="",state:D=null,key:V="default",unstable_mask:q}=o,H=x.useMemo(()=>{let L=xa(h,T);return L==null?null:{location:{pathname:L,search:j,hash:S,state:D,key:V,unstable_mask:q},navigationType:c}},[T,h,j,S,D,V,c,q]);return Kt(H!=null,`<Router basename="${T}"> is not able to match the URL "${h}${j}${S}" because it does not start with the basename, so the <Router> won't render anything.`),H==null?null:x.createElement(Rt.Provider,{value:g},x.createElement(ri.Provider,{children:r,value:H}))}function Zg({children:u,location:r}){return Og(zo(u),r)}function zo(u,r=[]){let o=[];return x.Children.forEach(u,(c,f)=>{if(!x.isValidElement(c))return;let m=[...r,f];if(c.type===x.Fragment){o.push.apply(o,zo(c.props.children,m));return}Me(c.type===je,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Me(!c.props.index||!c.props.children,"An index route cannot have child routes.");let p={id:c.props.id||m.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(p.children=zo(c.props.children,m)),o.push(p)}),o}var Uu="get",qu="application/x-www-form-urlencoded";function Ju(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function Kg(u){return Ju(u)&&u.tagName.toLowerCase()==="button"}function Jg(u){return Ju(u)&&u.tagName.toLowerCase()==="form"}function $g(u){return Ju(u)&&u.tagName.toLowerCase()==="input"}function Wg(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Fg(u,r){return u.button===0&&(!r||r==="_self")&&!Wg(u)}var ju=null;function Ig(){if(ju===null)try{new FormData(document.createElement("form"),0),ju=!1}catch{ju=!0}return ju}var Pg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Eo(u){return u!=null&&!Pg.has(u)?(Kt(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qu}"`),null):u}function ev(u,r){let o,c,f,m,p;if(Jg(u)){let T=u.getAttribute("action");c=T?xa(T,r):null,o=u.getAttribute("method")||Uu,f=Eo(u.getAttribute("enctype"))||qu,m=new FormData(u)}else if(Kg(u)||$g(u)&&(u.type==="submit"||u.type==="image")){let T=u.form;if(T==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=u.getAttribute("formaction")||T.getAttribute("action");if(c=g?xa(g,r):null,o=u.getAttribute("formmethod")||T.getAttribute("method")||Uu,f=Eo(u.getAttribute("formenctype"))||Eo(T.getAttribute("enctype"))||qu,m=new FormData(T,u),!Ig()){let{name:h,type:j,value:S}=u;if(j==="image"){let D=h?`${h}.`:"";m.append(`${D}x`,"0"),m.append(`${D}y`,"0")}else h&&m.append(h,S)}}else{if(Ju(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=Uu,c=null,f=qu,p=u}return m&&f==="text/plain"&&(p=m,m=void 0),{action:c,method:o.toLowerCase(),encType:f,formData:m,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Go(u,r){if(u===!1||u===null||typeof u>"u")throw new Error(r)}function tv(u,r,o,c){let f=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return o?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${c}`:f.pathname=`${f.pathname}.${c}`:f.pathname==="/"?f.pathname=`_root.${c}`:r&&xa(f.pathname,r)==="/"?f.pathname=`${r.replace(/\/$/,"")}/_root.${c}`:f.pathname=`${f.pathname.replace(/\/$/,"")}.${c}`,f}async function av(u,r){if(u.id in r)return r[u.id];try{let o=await import(u.module);return r[u.id]=o,o}catch(o){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function lv(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}async function nv(u,r,o){let c=await Promise.all(u.map(async f=>{let m=r.routes[f.route.id];if(m){let p=await av(m,o);return p.links?p.links():[]}return[]}));return cv(c.flat(1).filter(lv).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function mh(u,r,o,c,f,m){let p=(g,h)=>o[h]?g.route.id!==o[h].route.id:!0,T=(g,h)=>{var j;return o[h].pathname!==g.pathname||((j=o[h].route.path)==null?void 0:j.endsWith("*"))&&o[h].params["*"]!==g.params["*"]};return m==="assets"?r.filter((g,h)=>p(g,h)||T(g,h)):m==="data"?r.filter((g,h)=>{var S;let j=c.routes[g.route.id];if(!j||!j.hasLoader)return!1;if(p(g,h)||T(g,h))return!0;if(g.route.shouldRevalidate){let D=g.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((S=o[0])==null?void 0:S.params)||{},nextUrl:new URL(u,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function iv(u,r,{includeHydrateFallback:o}={}){return uv(u.map(c=>{let f=r.routes[c.route.id];if(!f)return[];let m=[f.module];return f.clientActionModule&&(m=m.concat(f.clientActionModule)),f.clientLoaderModule&&(m=m.concat(f.clientLoaderModule)),o&&f.hydrateFallbackModule&&(m=m.concat(f.hydrateFallbackModule)),f.imports&&(m=m.concat(f.imports)),m}).flat(1))}function uv(u){return[...new Set(u)]}function rv(u){let r={},o=Object.keys(u).sort();for(let c of o)r[c]=u[c];return r}function cv(u,r){let o=new Set;return new Set(r),u.reduce((c,f)=>{let m=JSON.stringify(rv(f));return o.has(m)||(o.add(m),c.push({key:m,link:f})),c},[])}function Dh(){let u=x.useContext(nn);return Go(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function ov(){let u=x.useContext(Ku);return Go(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var Xo=x.createContext(void 0);Xo.displayName="FrameworkContext";function Uh(){let u=x.useContext(Xo);return Go(u,"You must render this element inside a <HydratedRouter> element"),u}function sv(u,r){let o=x.useContext(Xo),[c,f]=x.useState(!1),[m,p]=x.useState(!1),{onFocus:T,onBlur:g,onMouseEnter:h,onMouseLeave:j,onTouchStart:S}=r,D=x.useRef(null);x.useEffect(()=>{if(u==="render"&&p(!0),u==="viewport"){let H=B=>{B.forEach(P=>{p(P.isIntersecting)})},L=new IntersectionObserver(H,{threshold:.5});return D.current&&L.observe(D.current),()=>{L.disconnect()}}},[u]),x.useEffect(()=>{if(c){let H=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(H)}}},[c]);let V=()=>{f(!0)},q=()=>{f(!1),p(!1)};return o?u!=="intent"?[m,D,{}]:[m,D,{onFocus:ai(T,V),onBlur:ai(g,q),onMouseEnter:ai(h,V),onMouseLeave:ai(j,q),onTouchStart:ai(S,V)}]:[!1,D,{}]}function ai(u,r){return o=>{u&&u(o),o.defaultPrevented||r(o)}}function fv({page:u,...r}){let{router:o}=Dh(),c=x.useMemo(()=>Sh(o.routes,u,o.basename),[o.routes,u,o.basename]);return c?x.createElement(mv,{page:u,matches:c,...r}):null}function dv(u){let{manifest:r,routeModules:o}=Uh(),[c,f]=x.useState([]);return x.useEffect(()=>{let m=!1;return nv(u,r,o).then(p=>{m||f(p)}),()=>{m=!0}},[u,r,o]),c}function mv({page:u,matches:r,...o}){let c=Yt(),{future:f,manifest:m,routeModules:p}=Uh(),{basename:T}=Dh(),{loaderData:g,matches:h}=ov(),j=x.useMemo(()=>mh(u,r,h,m,c,"data"),[u,r,h,m,c]),S=x.useMemo(()=>mh(u,r,h,m,c,"assets"),[u,r,h,m,c]),D=x.useMemo(()=>{if(u===c.pathname+c.search+c.hash)return[];let H=new Set,L=!1;if(r.forEach(P=>{var me;let F=m.routes[P.route.id];!F||!F.hasLoader||(!j.some(fe=>fe.route.id===P.route.id)&&P.route.id in g&&((me=p[P.route.id])!=null&&me.shouldRevalidate)||F.hasClientLoader?L=!0:H.add(P.route.id))}),H.size===0)return[];let B=tv(u,T,f.unstable_trailingSlashAwareDataRequests,"data");return L&&H.size>0&&B.searchParams.set("_routes",r.filter(P=>H.has(P.route.id)).map(P=>P.route.id).join(",")),[B.pathname+B.search]},[T,f.unstable_trailingSlashAwareDataRequests,g,c,m,j,r,u,p]),V=x.useMemo(()=>iv(S,m),[S,m]),q=dv(S);return x.createElement(x.Fragment,null,D.map(H=>x.createElement("link",{key:H,rel:"prefetch",as:"fetch",href:H,...o})),V.map(H=>x.createElement("link",{key:H,rel:"modulepreload",href:H,...o})),q.map(({key:H,link:L})=>x.createElement("link",{key:H,nonce:o.nonce,...L,crossOrigin:L.crossOrigin??o.crossOrigin})))}function hv(...u){return r=>{u.forEach(o=>{typeof o=="function"?o(r):o!=null&&(o.current=r)})}}var pv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{pv&&(window.__reactRouterVersion="7.13.1")}catch{}function yv({basename:u,children:r,unstable_useTransitions:o,window:c}){let f=x.useRef();f.current==null&&(f.current=K_({window:c,v5Compat:!0}));let m=f.current,[p,T]=x.useState({action:m.action,location:m.location}),g=x.useCallback(h=>{o===!1?T(h):x.startTransition(()=>T(h))},[o]);return x.useLayoutEffect(()=>m.listen(g),[m,g]),x.createElement(Vg,{basename:u,children:r,location:p.location,navigationType:p.action,navigator:m,unstable_useTransitions:o})}var qh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Hh=x.forwardRef(function({onClick:r,discover:o="render",prefetch:c="none",relative:f,reloadDocument:m,replace:p,unstable_mask:T,state:g,target:h,to:j,preventScrollReset:S,viewTransition:D,unstable_defaultShouldRevalidate:V,...q},H){let{basename:L,navigator:B,unstable_useTransitions:P}=x.useContext(Rt),F=typeof j=="string"&&qh.test(j),me=kh(j,L);j=me.to;let fe=Rg(j,{relative:f}),K=Yt(),X=null;if(T){let Ye=Zu(T,[],K.unstable_mask?K.unstable_mask.pathname:"/",!0);L!=="/"&&(Ye.pathname=Ye.pathname==="/"?L:ea([L,Ye.pathname])),X=B.createHref(Ye)}let[ve,De,Ze]=sv(c,q),rt=vv(j,{replace:p,unstable_mask:T,state:g,target:h,preventScrollReset:S,relative:f,viewTransition:D,unstable_defaultShouldRevalidate:V,unstable_useTransitions:P});function Ke(Ye){r&&r(Ye),Ye.defaultPrevented||rt(Ye)}let ct=!(me.isExternal||m),jt=x.createElement("a",{...q,...Ze,href:(ct?X:void 0)||me.absoluteURL||fe,onClick:ct?Ke:r,ref:hv(H,De),target:h,"data-discover":!F&&o==="render"?"true":void 0});return ve&&!F?x.createElement(x.Fragment,null,jt,x.createElement(fv,{page:fe})):jt});Hh.displayName="Link";var ni=x.forwardRef(function({"aria-current":r="page",caseSensitive:o=!1,className:c="",end:f=!1,style:m,to:p,viewTransition:T,children:g,...h},j){let S=ci(p,{relative:h.relative}),D=Yt(),V=x.useContext(Ku),{navigator:q,basename:H}=x.useContext(Rt),L=V!=null&&Tv(S)&&T===!0,B=q.encodeLocation?q.encodeLocation(S).pathname:S.pathname,P=D.pathname,F=V&&V.navigation&&V.navigation.location?V.navigation.location.pathname:null;o||(P=P.toLowerCase(),F=F?F.toLowerCase():null,B=B.toLowerCase()),F&&H&&(F=xa(F,H)||F);const me=B!=="/"&&B.endsWith("/")?B.length-1:B.length;let fe=P===B||!f&&P.startsWith(B)&&P.charAt(me)==="/",K=F!=null&&(F===B||!f&&F.startsWith(B)&&F.charAt(B.length)==="/"),X={isActive:fe,isPending:K,isTransitioning:L},ve=fe?r:void 0,De;typeof c=="function"?De=c(X):De=[c,fe?"active":null,K?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let Ze=typeof m=="function"?m(X):m;return x.createElement(Hh,{...h,"aria-current":ve,className:De,ref:j,style:Ze,to:p,viewTransition:T},typeof g=="function"?g(X):g)});ni.displayName="NavLink";var _v=x.forwardRef(({discover:u="render",fetcherKey:r,navigate:o,reloadDocument:c,replace:f,state:m,method:p=Uu,action:T,onSubmit:g,relative:h,preventScrollReset:j,viewTransition:S,unstable_defaultShouldRevalidate:D,...V},q)=>{let{unstable_useTransitions:H}=x.useContext(Rt),L=Sv(),B=Ev(T,{relative:h}),P=p.toLowerCase()==="get"?"get":"post",F=typeof T=="string"&&qh.test(T),me=fe=>{if(g&&g(fe),fe.defaultPrevented)return;fe.preventDefault();let K=fe.nativeEvent.submitter,X=(K==null?void 0:K.getAttribute("formmethod"))||p,ve=()=>L(K||fe.currentTarget,{fetcherKey:r,method:X,navigate:o,replace:f,state:m,relative:h,preventScrollReset:j,viewTransition:S,unstable_defaultShouldRevalidate:D});H&&o!==!1?x.startTransition(()=>ve()):ve()};return x.createElement("form",{ref:q,method:P,action:B,onSubmit:c?g:me,...V,"data-discover":!F&&u==="render"?"true":void 0})});_v.displayName="Form";function gv(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bh(u){let r=x.useContext(nn);return Me(r,gv(u)),r}function vv(u,{target:r,replace:o,unstable_mask:c,state:f,preventScrollReset:m,relative:p,viewTransition:T,unstable_defaultShouldRevalidate:g,unstable_useTransitions:h}={}){let j=gl(),S=Yt(),D=ci(u,{relative:p});return x.useCallback(V=>{if(Fg(V,r)){V.preventDefault();let q=o!==void 0?o:ui(S)===ui(D),H=()=>j(u,{replace:q,unstable_mask:c,state:f,preventScrollReset:m,relative:p,viewTransition:T,unstable_defaultShouldRevalidate:g});h?x.startTransition(()=>H()):H()}},[S,j,D,o,c,f,r,u,m,p,T,g,h])}var bv=0,xv=()=>`__${String(++bv)}__`;function Sv(){let{router:u}=Bh("useSubmit"),{basename:r}=x.useContext(Rt),o=Lg(),c=u.fetch,f=u.navigate;return x.useCallback(async(m,p={})=>{let{action:T,method:g,encType:h,formData:j,body:S}=ev(m,r);if(p.navigate===!1){let D=p.fetcherKey||xv();await c(D,o,p.action||T,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:S,formMethod:p.method||g,formEncType:p.encType||h,flushSync:p.flushSync})}else await f(p.action||T,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:S,formMethod:p.method||g,formEncType:p.encType||h,replace:p.replace,state:p.state,fromRouteId:o,flushSync:p.flushSync,viewTransition:p.viewTransition})},[c,f,r,o])}function Ev(u,{relative:r}={}){let{basename:o}=x.useContext(Rt),c=x.useContext(Lt);Me(c,"useFormAction must be used inside a RouteContext");let[f]=c.matches.slice(-1),m={...ci(u||".",{relative:r})},p=Yt();if(u==null){m.search=p.search;let T=new URLSearchParams(m.search),g=T.getAll("index");if(g.some(j=>j==="")){T.delete("index"),g.filter(S=>S).forEach(S=>T.append("index",S));let j=T.toString();m.search=j?`?${j}`:""}}return(!u||u===".")&&f.route.index&&(m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(m.pathname=m.pathname==="/"?o:ea([o,m.pathname])),ui(m)}function Tv(u,{relative:r}={}){let o=x.useContext(jh);Me(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=Bh("useViewTransitionState"),f=ci(u,{relative:r});if(!o.isTransitioning)return!1;let m=xa(o.currentLocation.pathname,c)||o.currentLocation.pathname,p=xa(o.nextLocation.pathname,c)||o.nextLocation.pathname;return Xu(f.pathname,p)!=null||Xu(f.pathname,m)!=null}/**
|
|
62
|
-
* @license lucide-react v0.469.0 - ISC
|
|
63
|
-
*
|
|
64
|
-
* This source code is licensed under the ISC license.
|
|
65
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/const wv=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Lh=(...u)=>u.filter((r,o,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===o).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 kv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
72
|
-
* @license lucide-react v0.469.0 - ISC
|
|
73
|
-
*
|
|
74
|
-
* This source code is licensed under the ISC license.
|
|
75
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/const Rv=x.forwardRef(({color:u="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:f="",children:m,iconNode:p,...T},g)=>x.createElement("svg",{ref:g,...kv,width:r,height:r,stroke:u,strokeWidth:c?Number(o)*24/Number(r):o,className:Lh("lucide",f),...T},[...p.map(([h,j])=>x.createElement(h,j)),...Array.isArray(m)?m:[m]]));/**
|
|
77
|
-
* @license lucide-react v0.469.0 - ISC
|
|
78
|
-
*
|
|
79
|
-
* This source code is licensed under the ISC license.
|
|
80
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/const Oe=(u,r)=>{const o=x.forwardRef(({className:c,...f},m)=>x.createElement(Rv,{ref:m,iconNode:r,className:Lh(`lucide-${wv(u)}`,c),...f}));return o.displayName=`${u}`,o};/**
|
|
82
|
-
* @license lucide-react v0.469.0 - ISC
|
|
83
|
-
*
|
|
84
|
-
* This source code is licensed under the ISC license.
|
|
85
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/const jv=Oe("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
|
|
87
|
-
* @license lucide-react v0.469.0 - ISC
|
|
88
|
-
*
|
|
89
|
-
* This source code is licensed under the ISC license.
|
|
90
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/const zv=Oe("CheckCheck",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);/**
|
|
92
|
-
* @license lucide-react v0.469.0 - ISC
|
|
93
|
-
*
|
|
94
|
-
* This source code is licensed under the ISC license.
|
|
95
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
-
*/const Av=Oe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
97
|
-
* @license lucide-react v0.469.0 - ISC
|
|
98
|
-
*
|
|
99
|
-
* This source code is licensed under the ISC license.
|
|
100
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
-
*/const Ov=Oe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
102
|
-
* @license lucide-react v0.469.0 - ISC
|
|
103
|
-
*
|
|
104
|
-
* This source code is licensed under the ISC license.
|
|
105
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/const Cv=Oe("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
107
|
-
* @license lucide-react v0.469.0 - ISC
|
|
108
|
-
*
|
|
109
|
-
* This source code is licensed under the ISC license.
|
|
110
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/const Mv=Oe("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
|
|
112
|
-
* @license lucide-react v0.469.0 - ISC
|
|
113
|
-
*
|
|
114
|
-
* This source code is licensed under the ISC license.
|
|
115
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
-
*/const Nv=Oe("FolderGit2",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);/**
|
|
117
|
-
* @license lucide-react v0.469.0 - ISC
|
|
118
|
-
*
|
|
119
|
-
* This source code is licensed under the ISC license.
|
|
120
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
-
*/const Dv=Oe("FolderKanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
|
|
122
|
-
* @license lucide-react v0.469.0 - ISC
|
|
123
|
-
*
|
|
124
|
-
* This source code is licensed under the ISC license.
|
|
125
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
-
*/const Uv=Oe("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
127
|
-
* @license lucide-react v0.469.0 - ISC
|
|
128
|
-
*
|
|
129
|
-
* This source code is licensed under the ISC license.
|
|
130
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
-
*/const qv=Oe("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
132
|
-
* @license lucide-react v0.469.0 - ISC
|
|
133
|
-
*
|
|
134
|
-
* This source code is licensed under the ISC license.
|
|
135
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/const Yh=Oe("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
137
|
-
* @license lucide-react v0.469.0 - ISC
|
|
138
|
-
*
|
|
139
|
-
* This source code is licensed under the ISC license.
|
|
140
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
-
*/const Gh=Oe("ListTodo",[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
|
|
142
|
-
* @license lucide-react v0.469.0 - ISC
|
|
143
|
-
*
|
|
144
|
-
* This source code is licensed under the ISC license.
|
|
145
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
-
*/const Hv=Oe("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
147
|
-
* @license lucide-react v0.469.0 - ISC
|
|
148
|
-
*
|
|
149
|
-
* This source code is licensed under the ISC license.
|
|
150
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
-
*/const Bv=Oe("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|
152
|
-
* @license lucide-react v0.469.0 - ISC
|
|
153
|
-
*
|
|
154
|
-
* This source code is licensed under the ISC license.
|
|
155
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
-
*/const Lv=Oe("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
157
|
-
* @license lucide-react v0.469.0 - ISC
|
|
158
|
-
*
|
|
159
|
-
* This source code is licensed under the ISC license.
|
|
160
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
-
*/const Yv=Oe("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
162
|
-
* @license lucide-react v0.469.0 - ISC
|
|
163
|
-
*
|
|
164
|
-
* This source code is licensed under the ISC license.
|
|
165
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
-
*/const Gv=Oe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
167
|
-
* @license lucide-react v0.469.0 - ISC
|
|
168
|
-
*
|
|
169
|
-
* This source code is licensed under the ISC license.
|
|
170
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
-
*/const Qo=Oe("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
|
172
|
-
* @license lucide-react v0.469.0 - ISC
|
|
173
|
-
*
|
|
174
|
-
* This source code is licensed under the ISC license.
|
|
175
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
-
*/const Xv=Oe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
|
177
|
-
* @license lucide-react v0.469.0 - ISC
|
|
178
|
-
*
|
|
179
|
-
* This source code is licensed under the ISC license.
|
|
180
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
-
*/const Qv=Oe("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"}]]);/**
|
|
182
|
-
* @license lucide-react v0.469.0 - ISC
|
|
183
|
-
*
|
|
184
|
-
* This source code is licensed under the ISC license.
|
|
185
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
-
*/const Vv=Oe("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"}]]);/**
|
|
187
|
-
* @license lucide-react v0.469.0 - ISC
|
|
188
|
-
*
|
|
189
|
-
* This source code is licensed under the ISC license.
|
|
190
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
-
*/const Zv=Oe("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
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 Xh=Oe("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"}]]);/**
|
|
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 Kv=Oe("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"}]]);/**
|
|
202
|
-
* @license lucide-react v0.469.0 - ISC
|
|
203
|
-
*
|
|
204
|
-
* This source code is licensed under the ISC license.
|
|
205
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
-
*/const Jv=Oe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),hh=u=>{let r;const o=new Set,c=(h,j)=>{const S=typeof h=="function"?h(r):h;if(!Object.is(S,r)){const D=r;r=j??(typeof S!="object"||S===null)?S:Object.assign({},r,S),o.forEach(V=>V(r,D))}},f=()=>r,T={setState:c,getState:f,getInitialState:()=>g,subscribe:h=>(o.add(h),()=>o.delete(h))},g=r=u(c,f,T);return T},$v=(u=>u?hh(u):hh),Wv=u=>u;function Fv(u,r=Wv){const o=Ru.useSyncExternalStore(u.subscribe,Ru.useCallback(()=>r(u.getState()),[u,r]),Ru.useCallback(()=>r(u.getInitialState()),[u,r]));return Ru.useDebugValue(o),o}const ph=u=>{const r=$v(u),o=c=>Fv(r,c);return Object.assign(o,r),o},Qh=(u=>u?ph(u):ph),zu="overlord-access-token",Au="overlord-refresh-token",lt={getAccessToken(){return localStorage.getItem(zu)},setAccessToken(u){localStorage.setItem(zu,u)},getRefreshToken(){return localStorage.getItem(Au)},setRefreshToken(u){localStorage.setItem(Au,u)},setTokens(u,r){localStorage.setItem(zu,u),localStorage.setItem(Au,r)},clearTokens(){localStorage.removeItem(zu),localStorage.removeItem(Au)},parseToken(u){try{const r=u.split(".")[1];return JSON.parse(atob(r))}catch{return null}},hasScope(u,r){const o=lt.parseToken(u);return o?o.scope===r:!1},isExpired(u){const r=lt.parseToken(u);return!r||typeof r.exp!="number"?!0:Date.now()/1e3>r.exp-30}},$a=Qh((u,r)=>({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1,initializing:!0,initialize:()=>{const o=lt.getAccessToken();if(o&&!lt.isExpired(o)){const c=lt.parseToken(o),f=(c==null?void 0:c.name)??"";u({accessToken:o,user:c?{id:c.sub,username:f,display_name:f,role:c.role}:null,requireTotpSetup:lt.hasScope(o,"totp_setup"),initializing:!1})}else lt.getRefreshToken()?r().refresh().catch(()=>{lt.clearTokens()}).finally(()=>{u({initializing:!1})}):u({initializing:!1})},login:async o=>{var T;const c=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!c.ok){const g=await c.json().catch(()=>({message:"Login failed"})),h=((T=g.error)==null?void 0:T.message)??g.message??"Login failed";throw new Error(h)}const f=await c.json();if(f.totpSetup){lt.setAccessToken(f.accessToken),u({accessToken:f.accessToken,user:null,requireTotpSetup:!0});return}lt.setTokens(f.accessToken,f.refreshToken);const m=lt.parseToken(f.accessToken),p=(m==null?void 0:m.name)??"";u({accessToken:f.accessToken,user:m?{id:m.sub,username:p,display_name:p,role:m.role}:null,requireTotpSetup:!1,sessionExpired:!1})},logout:()=>{const o=lt.getRefreshToken();o&&fetch("/api/auth/logout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:o})}).catch(()=>{}),lt.clearTokens(),u({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1})},refresh:async()=>{const o=lt.getRefreshToken();if(!o)throw r().logout(),u({sessionExpired:!0}),new Error("No refresh token");const c=await fetch("/api/auth/refresh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:o})});if(!c.ok)throw r().logout(),u({sessionExpired:!0}),new Error("Refresh failed");const f=await c.json();lt.setTokens(f.accessToken,f.refreshToken);const m=lt.parseToken(f.accessToken),p=(m==null?void 0:m.name)??"";u({accessToken:f.accessToken,user:m?{id:m.sub,username:p,display_name:p,role:m.role}:null})},setSessionExpired:o=>{u({sessionExpired:o})}})),Vh="overlord-theme";function Iv(){try{const u=localStorage.getItem(Vh);if(u==="light"||u==="dark"||u==="system")return u}catch{}return"dark"}function yh(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const Zh=Qh(u=>{const r=Iv(),o=r==="system"?yh():r;return{theme:r,resolved:o,setTheme:c=>{localStorage.setItem(Vh,c);const f=c==="system"?yh():c;u({theme:c,resolved:f})},setResolved:c=>{u({resolved:c})}}}),Pv={common:{cancel:"cancel",confirm:"confirm",save:"save",delete:"delete",edit:"edit",create:"create",copy:"copy",copied:"copied",close:"close",back:"back",back_to_site:"back to site",go_back:"go_back",go_home:"go_home",dismiss:"dismiss",retry:"retry",loading:"// loading...",processing:"processing...",creating:"creating...",saving:"saving...",updating:"updating...",verifying:"verifying...",signing_in:"signing in...",just_now:"just now",never:"never",previous:"previous",next:"next",error:"error",success:"success",failed:"failed",active:"active",inactive:"inactive",enabled:"enabled",disabled:"disabled",showing_entries:"showing {start}-{end} of {total}",no_results:"no results found",runtime_error:"// runtime_error",an_unexpected_error_occurred:"an unexpected error occurred",reload:"reload",not_found:"404",page_not_found:"// page_not_found",the_page_does_not_exist:"the page you are looking for does not exist or has been moved.",not_found_terminal_error:"error: requested not found - page does not exist",not_set:"not set",view_all:"view_all",discard:"discard",save_changes:"save_changes",add:"add",remove:"remove",search:"search",actions:"actions",name:"name",status:"status",role:"role",description:"description",type:"type",created_at:"created_at",ago:"{time} ago",m_ago:"{n}m ago",h_ago:"{n}h ago",d_ago:"{n}d ago",navigation:"// navigation",docs_section:"// docs",admin_section:"// admin",overlord:"overlord",logout:"logout",logout_title:"// logout",logout_message:"are you sure you want to log out?",log_out:"log out",profile:"profile",search_placeholder:"search...",search_input_placeholder:"search tasks, machines, projects...",no_search_results:'// no results for "{query}"',navigate_hint:"navigate",select_hint:"select",close_hint:"close",notifications:"notifications",mark_all_read:"mark all read",no_notifications:"// no notifications",mark_as_read:"mark as read",switch_to_light:"switch to light mode",switch_to_dark:"switch to dark mode",light_mode:"light mode",dark_mode:"dark mode",dismiss_notification:"dismiss",breadcrumb_dashboard:"dashboard",breadcrumb_dashboard_sub:"active overview",breadcrumb_tasks:"tasks",breadcrumb_tasks_sub:"queue management",breadcrumb_machines:"machines",breadcrumb_machines_sub:"fleet status",breadcrumb_projects:"projects",breadcrumb_projects_sub:"repository index",breadcrumb_admin:"admin",breadcrumb_admin_sub:"system control",breadcrumb_profile:"profile",breadcrumb_profile_sub:"user settings",breadcrumb_access_tokens:"access_tokens",breadcrumb_access_tokens_sub:"personal api tokens",breadcrumb_docs:"docs",breadcrumb_docs_sub:"documentation",breadcrumb_docs_cli:"docs",breadcrumb_docs_cli_sub:"cli reference",breadcrumb_docs_api:"docs",breadcrumb_docs_api_sub:"api reference",error_default_title:"something went wrong",error_default_message:"an unexpected error occurred. please try again."},auth:{sign_in:"sign in",username:"username",enter_username:"enter username",password:"password",enter_password:"enter password",ai_powered_development_system:"// ai-powered development system",username_and_password_required:"username and password are required.",login_failed:"login failed",invalid_totp_code:"invalid totp code",two_factor_verification:"// 2fa verification",enter_totp_code:"enter your totp code",please_enter_valid_6_digit_code:"please enter a valid 6-digit code.",session_expired:"session_expired",session_expired_message:"// your session has expired. please log in again.",go_to_login:"go_to_login",totp_setup_title:"2fa_setup",totp_setup_subtitle:"// scan the qr code with your authenticator app",scan_with_authenticator:"scan this qr code with your authenticator app (google authenticator, authy, etc.)",manual_entry_key:"manual_entry_key",enter_verification_code:"enter the 6-digit verification code from your authenticator app",verification_code:"verification code",enter_6_digit_code:"enter 6-digit code",verify_and_enable:"verify_and_enable",totp_setup_complete:"2fa setup complete",totp_setup_complete_login_again:"2fa setup complete! please log in again.",totp_setup_failed:"verification failed. please try again.",totp_setup_footer:"// you must complete this setup before accessing the application",totp_manual_entry:"// or enter this key manually",verify:"verify",initializing:"// initializing...",failed_to_init_totp:"failed to initialize totp setup"},dashboard:{title:"dashboard",subtitle:"// system overview",active_tasks:"active_tasks",queued_tasks:"queued_tasks",online_workers:"online_workers",completed_today:"completed_today",task_success_rate:"> task_success_rate",last_7_days:"last 7 days",recent_tasks:"> recent_tasks",no_tasks_yet:"// no tasks yet",worker_status:"> worker_status",no_workers_registered:"// no workers registered",recent_activity:"> recent_activity",no_recent_activity:"// no recent activity",daily_breakdown_not_available:"// daily breakdown not available",slots:"slots",online:"online",idle:"idle",offline:"offline"},tasks:{title:"tasks",subtitle:"// queue management",create_task:"create_task",new_task:"new_task",task_description:"task_description",describe_task_placeholder:"describe the development task in detail...",project:"project",select_project:"select project...",target_machine:"target_machine (optional)",any_able:"any able",assign_developer:"assign_developer (auto only)",select_developer:"select developer...",search_tasks:"search_tasks...",id:"id",description_col:"description",status_col:"status",project_col:"project",worker:"worker",time:"time",stage:"stage",no_tasks_found:"no_tasks_found",try_adjusting_search:"try adjusting your search query",create_first_task:"create your first task to get started",tab_all:"all",tab_running:"running",tab_queued:"queued",tab_completed:"completed",tab_failed:"failed",tab_cancelled:"cancelled",status_queued:"queued",status_assigned:"assigned",status_running:"running",status_suspended:"suspended",status_completed:"completed",status_failed:"failed",status_cancelled:"cancelled",similar_task_exists:"a similar task already exists.",confirm_create_similar:"are you sure you want to create this task?",view_existing:"view_existing",force_create:"force_create",cancel_task:"cancel",retry_task:"retry",cursor_tunnel:"cursor_tunnel",skip_stage:"skip stage",take_over:"take_over",release_control:"release_control",connected:"connected",disconnected:"disconnected",connecting:"connecting",terminal:"terminal",pipeline_tab:"pipeline",logs:"logs",task_not_found:"// task_not_found",task_does_not_exist:"this task does not exist or has been deleted.",back_to_tasks:"back_to_tasks",task_detail_subtitle:"#{id} {desc}",cancel_task_title:"cancel_task",task_cancelled:"task cancelled.",failed_to_cancel_task:"failed to cancel task.",task_retried:"task has been retried.",failed_to_retry_task:"failed to retry task.",retry_mr_title:"retry_mr",retry_mr_confirm:"retry creating the merge request for task #{id}?",mr_retry_submitted:"mr retry submitted.",failed_to_retry_mr:"failed to retry mr.",activity_log:"> activity_log",pipeline_section:"> pipeline",no_pipeline:"// no pipeline configured",no_activity:"// no activity yet",confirm_stage:"confirm_stage",confirm_stage_message:'confirm execution of stage "{name}"? this will proceed with the pipeline.',stage_confirmed:"stage confirmed.",failed_to_confirm_stage:"failed to confirm stage.",loading_task:"// loading task...",task_suspended_banner:"// task suspended — waiting for user confirmation",pending_confirmation:"> pending_confirmation",pipeline_requires_confirmation:"the pipeline requires confirmation before proceeding.",confirm_and_proceed:"confirm_and_proceed",confirm_failed:"failed to confirm stage",reject:"reject",pty_terminal:"// pty terminal",view_terminal:"switch to terminal tab",restore_auto:"restore auto",requesting_takeover:"requesting...",pipeline_stages:"// pipeline stages",task_info:"> task_info",stage_timeline:"> stage_timeline",workspace_section:"> workspace",no_machine_assigned:"// no machine assigned",no_output:"// no output",pty_output:"> pty_output",stage_progress:"> stage_progress",task_logs:"> task_logs",search_logs:"search logs...",no_log_entries:"// no log entries",prev:"prev",cursor_tunnel_section:"> cursor_tunnel",auto_pipeline:"auto_pipeline",auto_mode:"auto_mode",manual_takeover:"manual_takeover",takeover_denied:"takeover_denied",requesting_takeover_ellipsis:"requesting_takeover...",take_over_label:"take over",release_label:"release",create_task_page_title:"// create_task",create_task_page_subtitle:"// submit a new task for processing",form_project_label:"project",form_description_label:"description",form_description_placeholder:"describe the task for the ai agent...",form_machine_preference:"machine_preference",form_machine_placeholder:"optional: machine id or name (--on)",form_machine_hint:"leave empty for automatic machine selection.",form_agent_type:"agent_type",form_agent_type_placeholder:"default (from project config)",form_select_project:"select a project",form_create_task:"create task",project_and_description_required:"project and description are required.",failed_to_create_task:"failed to create task.",tunnel_idle:"idle",tunnel_starting:"starting...",tunnel_connected:"connected",tunnel_expired:"expired",tunnel_closing:"closing...",tunnel_start:"start",tunnel_open_in_cursor:"open_in_cursor",tunnel_header:"> cursor_tunnel",tunnel_copied:"// copied to clipboard",tunnel_waiting:"// waiting for connection url...",tunnel_start_button:"> start_tunnel",tunnel_starting_button:"// starting...",tunnel_stopping:"// stopping...",tunnel_cancel:"> cancel",tunnel_open_cursor:"> open_in_cursor",tunnel_open_vscode:"> open_in_vscode",tunnel_stop:"> stop_tunnel",tunnel_restart:"> restart_tunnel",tunnel_copy_url:"copy url",tunnel_expires_hm:"expires in {h}h {m}m",tunnel_expires_m:"expires in {m}m",dedup_title:"> similar_task_exists",dedup_description:"// a similar task was found that may already address your request",dedup_create_anyway:"create anyway",stage_choose_option:"// choose an option",stage_your_response:"your_response",stage_type_answer:"type your answer...",stage_submitting:"submitting...",stage_continue:"continue",stage_submit:"submit",cancel_task_message:"are you sure you want to cancel task #{id}? this will terminate the running agent and cannot be undone.",cancel_task_confirm_label:"cancel task",retry_title:"retry_task",retry_confirm_label:"retry",retry_message_with_mr:"task #{id} has an existing mr ({url}). retrying will create a new attempt on the same branch. continue?",retry_message_without_mr:"are you sure you want to retry task #{id}? this will create a new execution attempt."},machines:{title:"machines",subtitle:"// fleet status",fleet:"fleet",setup_guide:"setup_guide",all_statuses:"all",register_worker:"register_worker",no_machines_found:"no_machines_found",no_machines_registered:"no machines have registered yet",try_changing_status_filter:"try changing the status filter",view_setup_guide:"view_setup_guide",online:"online",offline:"offline",draining:"draining",cpu:"cpu",mem:"mem",disk:"disk",tasks_slots:"tasks: {active}/{max} slots",back_to_machines:"back_to_machines",drain:"drain",undrain:"undrain",last_heartbeat:"last_heartbeat: {time}",resource_usage:"> resource_usage",connection_info:"> connection_info",capabilities:"> capabilities",current_tasks:"> current_tasks",no_capabilities:"// no capabilities reported",no_running_tasks:"// no running tasks",host:"host",port:"port",os:"os",cpu_model:"cpu_model",cpu_cores:"cpu_cores",memory:"memory",total_slots:"total_slots",confirm_drain:"drain_machine",confirm_drain_message:'drain machine "{name}"? it will finish current tasks but accept no new ones.',machine_drained:"machine drain initiated.",machine_undrained:"machine undrain initiated.",failed_to_update_machine:"failed to update machine status.",worker_setup_title:"worker_setup_guide",worker_setup_subtitle:"// register a new worker machine with overlord",step_1_title:"01. generate a registration token",step_1_desc:"generate a one-time registration token from the admin panel.",step_2_title:"02. install the worker cli",step_2_desc:"install the overlord worker cli on the target machine.",step_3_title:"03. register the worker",step_3_desc:"run the register command with your token and server url.",step_4_title:"04. start the worker",step_4_desc:"start the worker daemon. it will connect to overlord and begin accepting tasks.",generate_token:"generate_token",worker_token_modal_title:"worker_registration_token",worker_token_modal_message:"// copy this token now. it will not be shown again.",loading_machine:"// loading machine...",machine_not_found:"// machine not found",draining_warning:"// this machine is draining — no new tasks will be assigned",draining_active_tasks:"active tasks will continue to run until completion",active_tasks:"> active_tasks",no_active_tasks:"// no active tasks on this machine",machine_info:"> machine_info",unknown:"unknown",n_a:"n/a",id:"id",description:"description",stage:"stage",no_capabilities_short:"// no capabilities",slots:"slots",status_label:"status",undrain_machine_title:"> undrain_machine",drain_machine_title:"> drain_machine",undrain_confirm:"are you sure you want to undrain {name}? the machine will start accepting new tasks again.",drain_confirm:"are you sure you want to drain {name}? running tasks will complete, but no new tasks will be assigned until the machine is undrained.",setup_header_desc:"// follow these steps to add a new worker machine to your overlord cluster.",prerequisites:"// prerequisites",prereq_machine:"linux or macos machine with at least 2 cpu cores and 4gb ram",prereq_node:"node.js 18+ and pnpm installed",prereq_git:"git installed (2.25+)",prereq_network:"network access to the overlord server",prereq_token:"admin-generated worker registration token",step_generate_token:"generate_worker_token",step_generate_token_desc:"// create a one-time registration token from the admin panel. each token can register exactly one worker.",go_to_token_management:"go_to_token_management",step_install_worker:"install_worker_package",step_install_worker_desc:"// install the overlord worker package globally via npm.",step_configure_env:"configure_environment",step_configure_env_desc:"// create a .env file in ~/.overlord-worker/ or set environment variables.",env_host:"overlord server address (required)",env_worker_token:"one-time registration token (required for first run)",env_machine_name:"display name (defaults to hostname)",env_workspace_root:"task workspace directory (defaults to ~/.overlord-worker/workspaces)",env_max_slots:"max concurrent tasks (defaults to 2)",step_start_worker:"start_worker",step_start_worker_desc:"// start the worker process. it will register with the server and begin accepting tasks.",or_run_as_service:"// or run as a system service for auto-restart:",setup_wizard_option:"// option a: interactive setup wizard (recommended)",manual_config_option:"// option b: manual configuration",start_note_setup_wizard:"// if you used the setup wizard, the worker may already be running.",step_verify_connection:"verify_connection",step_verify_connection_desc:'// once the worker connects, it will appear in the machines list with a "healthy" status.',verify_how_to:"// how to verify:",verify_check_machines:"check the machines page for your new worker",verify_status:'status should show "healthy" within 30 seconds',verify_capabilities:"worker capabilities are auto-detected on first heartbeat",last_heartbeat_label:"last_heartbeat",worker_version:"worker_version",reg_title:"// worker_registration",reg_subtitle:"> register a new worker node",reg_step_generate_token:"generate_token",reg_step_install_worker:"install_worker",reg_step_waiting_activation:"waiting_activation",reg_step_activated:"activated",reg_click_to_generate:"// click to generate a one-time registration token",reg_token_generated:"// token generated successfully",reg_install_command:"// install cli & worker:",reg_run_setup:"// run setup on worker machine:",reg_running_installation:"// running installation on target machine",reg_installed_wait:"i've installed → wait for activation",reg_listening_for_worker:"listening for worker connection...",reg_worker_connected:"// worker connected",reg_waiting_for_worker:"// waiting for worker to connect...",reg_worker_activated:"worker {name} activated!",reg_worker_registered:"// worker successfully registered",reg_done:"done",reg_completed:"// completed"},projects:{title:"projects",subtitle:"// repository index",create_project:"create_project",no_projects_yet:"no_projects_yet",create_first_project:"create your first project to get started",key:"key",name:"name",repository:"repository",agent:"agent",project_info:"> project_info",repo_url:"repo_url",default_branch:"default_branch",git_platform:"git_platform",agent_type:"agent_type",max_turns:"max_turns",allowed_tools:"allowed_tools",auto_merge:"auto_merge",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.",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)",repo_url_placeholder:"https://github.com/org/repo.git",main:"main",github:"github",gitlab:"gitlab",gitea:"gitea",claude:"claude",cursor:"cursor",codex:"codex",custom:"custom",tools_placeholder:"tool1, tool2, ...",add_project_desc:"// add a new project to overlord",project_created:"project created.",failed_to_create_project:"failed to create project.",update_project_desc:"// update project configuration",save_changes:"save_changes",basic_info:"> basic_info",agent_config:"> agent_config",security:"> security",pipeline_section:"> pipeline",edit_pipeline:"> edit_pipeline",pty_output_filter:"pty_output_filter",git_clean:"git_clean",workspace_root:"workspace_root",agent_command:"agent_command",member_role:"member",maintainer_role:"maintainer",select_developer:"select developer...",select_role:"select role...",adding:"adding...",project_not_found:"// project not found",back_to_projects:"back to projects",no_members_yet:"// no members yet",no_tasks_for_project:"// no tasks for this project yet",no_pipeline_configured:"// no pipeline configured",confirm_label:"confirm",id:"id",description:"description",status:"status",created:"created",project_saved:"project saved",failed_to_save_project:"failed to save project",invalid_pipeline_json:"invalid pipeline json",setup_commands:"setup_commands",post_command:"post_command",environment:"> environment",add_member_title:"// add_member",edit_project_title:"edit project"},pipeline:{title:"pipeline_editor",subtitle:"-- {key}",save:"save",cancel:"cancel",json_toggle:"json",add_stage:"add_stage",stage_properties:"> stage_properties",stage_name:"stage_name",executor:"executor",timeout:"timeout",max_turns:"max_turns",confirm_required:"confirm_required",on_failure:"on_failure",goto:"goto",max_loops:"max_loops",stop:"stop",stage_commands:"> stage_commands",environment:"> environment",commands_placeholder:"# commands to execute in this stage...",env_placeholder:"KEY=value (one per line)",no_stages:"// no stages defined",select_stage:"// select a stage to edit properties",saved:"pipeline saved",failed_to_save:"failed to save pipeline",failed_to_load:"failed to load pipeline.",irreversible:"irreversible",loading_pipeline:"// loading pipeline...",unnamed:"unnamed",editing:"// editing: {name}",name:"name",confirm_mode:"confirm_mode",confirm_timeout:"confirm_timeout",overrides:"// overrides",pty_only:"pty_only",allowed_tools:"allowed_tools",on_failure_section:"// on_failure",goto_stage:"goto_stage",up:"up",down:"down",failed_to_load_project:"failed to load project",delete_stage:"delete stage"},profile:{title:"profile",subtitle:"// user settings",profile_info:"> profile_info",username:"username",git_name:"git_name",git_email:"git_email",status:"status",created_at:"created_at",edit_git_info:"edit_git_info",change_password:"> change_password",current_password:"current_password",new_password:"new_password",confirm_password:"confirm_password",current_password_required:"current password is required.",new_password_required:"new password is required.",passwords_do_not_match:"new passwords do not match.",password_changed:"password changed successfully.",failed_to_change_password:"failed to change password.",update_password:"update_password",two_factor_auth:"> two-factor_authentication",two_fa_enabled:"2fa is enabled",two_fa_not_setup:"2fa is not set up",regenerate_2fa_warning:`// regenerating 2fa will invalidate your current authenticator app setup.
|
|
207
|
-
you will need to set up 2fa again on your next login.`,regenerate_2fa:"regenerate_2fa",regenerating:"regenerating...",access_tokens:"access_tokens",access_tokens_desc:"// manage personal access tokens for cli & api",git_info_updated:"git info updated.",failed_to_update_git_info:"failed to update git info.",two_fa_reset:"2fa has been reset. please set up your authenticator again on next login.",failed_to_regenerate_2fa:"failed to regenerate 2fa.",failed_to_load_profile:"failed to load profile.",unable_to_load_profile:"// unable to load profile information",personal_settings:"// personal settings",password_length_10_20:"password must be between 10 and 20 characters.",password_hint_10_20:"// 10-20 characters, letters, numbers, and special characters",current_totp_code:"current_totp_code",totp_code_placeholder:"6-digit code",totp_code_required:"please enter your current 6-digit totp code to regenerate 2fa.",two_fa_regenerated:"2fa regenerated. you will need to set it up again on next login.",totp_code_invalid:"invalid totp code or failed to regenerate 2fa."},access_tokens:{title:"access_tokens",subtitle:"// personal access tokens",create_token:"create_token",no_tokens:"no_personal_access_tokens",create_token_desc:"create a token to authenticate with the cli or api",copy_token_warning:"// copy your token now. you will not be able to see it again.",token_name:"token_name",token_name_placeholder:"my-cli-token",expires_in:"expires_in",days_30:"30 days",days_90:"90 days",days_365:"365 days",no_expiry:"no expiry",token_created:"token created.",failed_to_create_token:"failed to create token.",token_revoked:"token revoked.",failed_to_revoke_token:"failed to revoke token.",failed_to_load_tokens:"failed to load tokens.",revoke:"revoke",revoke_token:"revoke_token",last_used:"last_used",expires_at:"expires_at",token:"token",created:"created",expires:"expires",revoke_confirm:'are you sure you want to revoke "{name}"? this action cannot be undone.',create_personal_access_token:"// create personal access token",tokens_authenticate_desc:"// tokens authenticate the ov cli and api requests",revoke_token_title:"// revoke token",token_label_required:"token label is required."},admin:{title:"admin",subtitle:"// system control",tab_developers:"developers",tab_bots:"bots",tab_tokens:"worker_tokens",tab_audit_logs:"audit_logs",tab_settings:"settings",developers_title:"admin / developers",developers_subtitle:"// developer account management",create_developer:"create_developer",search_developers:"search developers...",no_matching_developers:"no_matching_developers",no_developers_found:"no_developers_found",try_adjusting_search:"try adjusting your search query",username:"username",display_name:"display_name",role:"role",status:"status",two_fa_status:"2fa_status",dev_name:"dev_name",totp:"totp",reset_2fa:"reset 2fa",deactivate:"deactivate",activate:"activate",create_developer_title:"create_developer",create_developer_desc:"// add a new developer account",edit_developer_title:"edit_developer",edit_developer_desc:"// update developer account settings",developer_created:"developer created.",developer_updated:"developer updated.",failed_to_create_developer:"failed to create developer",failed_to_update_developer:"failed to update developer",confirm_reset_2fa:'reset 2fa for "{name}"? they will need to set up 2fa again on next login.',two_fa_reset:"2fa has been reset.",failed_to_reset_2fa:"failed to reset 2fa",confirm_deactivate:'deactivate "{name}"? they will not be able to log in.',confirm_activate:'activate "{name}"?',developer_deactivated:"developer deactivated.",developer_activated:"developer activated.",failed_to_update_status:"failed to update developer status.",create_first_developer:"create your first developer to get started",all_fields_required:"all fields are required.",password_length_error:"password must be between 10 and 20 characters.",password_complexity_error:"password must contain at least one letter, one digit, and one special character.",password_hint:"// must be 10-20 characters with letters, digits, and special characters.",display_name_required:"display name is required.",demote_self_warning:"you are about to demote yourself from admin. the system must have at least one admin. please verify another admin exists before proceeding.",demote_self_inline_warning:"// warning: you are demoting yourself from admin. ensure at least one other admin exists.",reset_2fa_confirm_message:"are you sure you want to reset two-factor authentication for",reset_2fa_audit_note:"// the user will be required to set up 2fa again on their next login. this action is recorded in the audit log.",resetting:"resetting...",bots_title:"admin / bots",bots_subtitle:"// bot instance management",create_bot:"create_bot",no_bots_configured:"no_bots_configured",add_bot_desc:"add a bot instance to enable chat integrations with lark or slack",bot_name:"bot_name",platform:"platform",app_id:"app_id",lark:"lark",slack:"slack",delete_bot:"delete_bot",delete_bot_confirm:'delete bot "{name}"? this cannot be undone.',bot_deleted:"bot deleted.",failed_to_delete_bot:"failed to delete bot.",bot_created:"bot created.",failed_to_create_bot:"failed to create bot",chat_bindings:"chat_bindings",chat_bindings_subtitle:"// all integrations",no_chat_bindings:"// no chat bindings configured",chat_id:"chat_id",chat_name:"chat_name",project:"project",bot:"bot",edit_bot:"edit_bot",name_and_app_id_required:"name and app id are required.",app_secret_required:"app secret is required for new bots.",app_secret:"app_secret",app_secret_keep_current:"app_secret (leave empty to keep current)",webhook_url_optional:"webhook_url (optional)",lark_feishu:"lark_(feishu)",failed_to_update_bot:"failed to update bot",no_chat_bindings_for_bot:"// no chat bindings configured for this bot.",add_chat_binding_desc:"// add chat binding",add_binding:"add_binding",failed_to_add_binding:"failed to add binding",tokens_title:"admin / worker_tokens",tokens_subtitle:"// worker registration token management",generate_token:"generate_token",no_worker_tokens:"no_worker_tokens",generate_token_desc:"generate a token to register a new worker machine",label:"label",purpose:"purpose",expires_at:"expires_at",token_generated:"token generated.",failed_to_generate_token:"failed to generate token.",token_revoked:"token revoked.",failed_to_revoke_token:"failed to revoke token.",revoke_token:"revoke_token",revoke_token_confirm:'revoke token "{label}"? this cannot be undone.',audit_title:"admin / audit_logs",audit_subtitle:"// system activity audit trail",all_actions:"all_actions",filter_by_user:"filter by user...",no_audit_entries:"no_audit_log_entries",audit_logs_appear:"audit logs will appear here as actions are performed in the system",timestamp:"timestamp",user_id:"user_id",action:"action",resource:"resource",detail:"detail",ip:"ip",action_login:"login",action_logout:"logout",action_create:"create",action_update:"update",action_delete:"delete",action_revoke:"revoke",action_reset_2fa:"reset_2fa",action_generate_token:"generate_token",showing_entries:"showing {count} entries",revoke:"revoke",generate_worker_token_title:"> generate_worker_token",create_one_time_token:"// create a one-time registration token",label_identifies_machine:"// identifies which machine this token is for",generating:"generating...",generate:"generate",worker_registered:"> worker_registered",worker_token_generated:"> worker_token_generated",run_command_desc:"// run this command on the target machine to register the worker",token_shown_once:"// this token will only be shown once. copy the command before closing.",waiting_for_worker:"// waiting for worker to register...",token_not_yet_used:"// token not yet used. the worker can still register later using this token.",worker_registered_success:"// worker registered successfully",machine:"machine",copied_wait_for_worker:"copied — wait_for_worker",close_worker_can_register:"close // worker can still register",view_machine:"view_machine",label_required:"label is required.",settings_title:"admin / settings",settings_subtitle:"// global system configuration",save_settings:"save_settings",settings_saved:"settings saved",failed_to_save_settings:"failed to save settings",loading_settings:"// loading settings...",scheduling:"> scheduling",heartbeat:"> heartbeat",output:"> output",defaults:"> defaults",max_concurrent_tasks:"max_concurrent_tasks_per_machine",max_concurrent_tasks_desc:"// maximum number of tasks a single worker can run simultaneously",task_timeout:"task_timeout_minutes",task_timeout_desc:"// auto-cancel tasks after this many minutes of inactivity",heartbeat_interval:"heartbeat_interval_seconds",heartbeat_interval_desc:"// expected interval between worker heartbeats",machine_offline_threshold:"machine_offline_threshold_seconds",machine_offline_threshold_desc:"// mark machine offline after missing heartbeats for this duration",default_agent_type:"default_agent_type",default_agent_type_desc:"// default agent type for new projects",server_url:"server_url",server_url_desc:"// public server url used in worker setup instructions",chat_binding_title:"// chat_bindings — {name}",chat_binding_no_bindings:"// no chat bindings configured for this bot.",chat_binding_add:"// add chat binding",chat_binding_id_placeholder:"platform chat/group id",chat_binding_name_placeholder:"display name for the chat",chat_binding_select_project:"select project...",chat_binding_all_fields_required:"all fields are required.",chat_binding_adding:"adding...",pat_label_required:"label is required.",pat_failed_to_generate:"failed to generate token",pat_label_placeholder:"e.g. build-server-03"},landing:{overlord:"overlord",version_badge:"v1.0 — full automation platform",hero_line1:"your machines. your subscriptions.",hero_highlight:"full automation.",hero_desc:"orchestrate ai coding agents across your entire fleet. create tasks, watch them execute in real time, and merge the results — all from one dashboard.",get_started:"get_started",read_docs:"read_docs",how_it_works:"how it works",three_steps:"three steps from idea to merged code.",step_n:"step {n}",step_define:"define",step_define_desc:"describe your task in plain language — bug fixes, features, refactors. attach context and assign to any project.",step_dispatch:"dispatch",step_dispatch_desc:"overlord routes the task to the best available worker and ai agent. execution starts immediately across your fleet.",step_monitor:"monitor & take over",step_monitor_desc:"watch real-time progress via the built-in terminal. jump in at any point to guide, correct, or take full control.",everything_you_need:"everything you need",complete_platform:"a complete platform for ai-assisted software development.",feature_terminal:"real-time pty terminal",feature_terminal_desc:"stream live agent output directly in the browser. full xterm.js integration with scrollback and search.",feature_multi_agent:"multi-agent support",feature_multi_agent_desc:"first-class support for claude code, cursor, and codex. route tasks to the right agent automatically.",feature_routing:"smart task routing",feature_routing_desc:"intelligent scheduling across your machine fleet. tasks land on the best available worker every time.",feature_pipeline:"pipeline automation",feature_pipeline_desc:"chain tasks into multi-stage pipelines. build, test, and deploy in one continuous flow.",feature_collab:"team collaboration",feature_collab_desc:"project-level permissions, audit logs, and shared dashboards. keep your whole team in sync.",feature_security:"secure by design",feature_security_desc:"totp two-factor auth, scoped api tokens, and full audit trail. enterprise-ready from day one.",install_title:"get up and running in seconds",install_desc:"one command to install. start orchestrating immediately.",install_command:"npm install -g @overlordai/developer-cli",go_to_app:"go_to_app",documentation:"documentation",api:"api",copy_install_command:"copy install command"},docs:{cli_reference:"cli_reference",cli_subtitle:"// command-line tools",api_reference:"api_reference",api_subtitle:"// rest api endpoints",quick_start:"// quick start",developer_cli:"developer cli (ov)",admin_cli:"admin cli (overlord)",authentication:"// authentication",usage:"usage",flags:"flags",example:"example",request_body:"request body",response:"response",quick_start_with_token:"// quick start with your token",replace_token_hint:"// replace <your-token> with the actual token value from your access tokens page",cli_tools_desc:"// overlord provides two cli tools: {ov} (developer cli) and {overlord} (admin/ops cli)",api_base_url_desc:"// base url: {url} · all endpoints return json · auth via bearer token in authorization header"}};function e0(u,r){const o=r.split(".");let c=u;for(const f of o){if(c==null||typeof c!="object")return r;c=c[f]}return typeof c=="string"?c:r}function t0(u,r){return r?u.replace(/\{(\w+)\}/g,(o,c)=>r[c]!=null?String(r[c]):`{${c}}`):u}function Hu(u,r){return t0(e0(Pv,u),r)}function ta(){return{t:x.useCallback((r,o)=>Hu(r,o),[])}}function Kh(){const{theme:u,setTheme:r}=Zh(),{t:o}=ta(),c=u==="dark"||u==="system"&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches,f=()=>{r(c?"light":"dark")};return y.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":o(c?"common.switch_to_light":"common.switch_to_dark"),title:o(c?"common.light_mode":"common.dark_mode"),children:c?y.jsx(Vv,{size:16}):y.jsx(Lv,{size:16})})}class Ao extends Error{constructor(o,c,f){const m=o.status||o.status===0?o.status:"",p=o.statusText??"",T=`${m} ${p}`.trim(),g=T?`status code ${T}`:"an unknown error";super(`Request failed with ${g}: ${c.method} ${c.url}`);kt(this,"response");kt(this,"request");kt(this,"options");this.name="HTTPError",this.response=o,this.request=c,this.options=f}}class Jh extends Error{constructor(o){let c="Non-error value was thrown";try{typeof o=="string"?c=o:o&&typeof o=="object"&&"message"in o&&typeof o.message=="string"&&(c=o.message)}catch{}super(c);kt(this,"name","NonError");kt(this,"value");this.value=o}}class To extends Error{constructor(o){const c=o!=null&&o.cause?o.cause instanceof Error?o.cause:new Jh(o.cause):void 0;super(o!=null&&o.code?`Forced retry: ${o.code}`:"Forced retry",c?{cause:c}:void 0);kt(this,"name","ForceRetryError");kt(this,"customDelay");kt(this,"code");kt(this,"customRequest");this.customDelay=o==null?void 0:o.delay,this.code=o==null?void 0:o.code,this.customRequest=o==null?void 0:o.request}}const _h=(()=>{let u=!1,r=!1;const o=typeof globalThis.ReadableStream=="function",c=typeof globalThis.Request=="function";if(o&&c)try{r=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return u=!0,"half"}}).headers.has("Content-Type")}catch(f){if(f instanceof Error&&f.message==="unsupported BodyInit type")return!1;throw f}return u&&!r})(),a0=typeof globalThis.AbortController=="function",$h=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",l0=typeof globalThis.ReadableStream=="function",n0=typeof globalThis.FormData=="function",Wh=["get","post","put","patch","head","delete"],i0={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},wo=2147483647,u0=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,Fh=Symbol("stop");class Ih{constructor(r){kt(this,"options");this.options=r}}const r0=u=>new Ih(u),c0={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},o0={next:!0},s0={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},f0=u=>{if(!u)return 0;if(u instanceof FormData){let r=0;for(const[o,c]of u)r+=u0,r+=new TextEncoder().encode(`Content-Disposition: form-data; name="${o}"`).length,r+=typeof c=="string"?new TextEncoder().encode(c).length:c.size;return r}if(u instanceof Blob)return u.size;if(u instanceof ArrayBuffer)return u.byteLength;if(typeof u=="string")return new TextEncoder().encode(u).length;if(u instanceof URLSearchParams)return new TextEncoder().encode(u.toString()).length;if("byteLength"in u)return u.byteLength;if(typeof u=="object"&&u!==null)try{const r=JSON.stringify(u);return new TextEncoder().encode(r).length}catch{return 0}return 0},Ph=(u,r,o)=>{let c,f=0;return u.pipeThrough(new TransformStream({transform(m,p){if(p.enqueue(m),c){f+=c.byteLength;let T=r===0?0:f/r;T>=1&&(T=1-Number.EPSILON),o==null||o({percent:T,totalBytes:Math.max(r,f),transferredBytes:f},c)}c=m},flush(){c&&(f+=c.byteLength,o==null||o({percent:1,totalBytes:Math.max(r,f),transferredBytes:f},c))}}))},d0=(u,r)=>{if(!u.body)return u;if(u.status===204)return new Response(null,{status:u.status,statusText:u.statusText,headers:u.headers});const o=Math.max(0,Number(u.headers.get("content-length"))||0);return new Response(Ph(u.body,o,r),{status:u.status,statusText:u.statusText,headers:u.headers})},m0=(u,r,o)=>{if(!u.body)return u;const c=f0(o??u.body);return new Request(u,{duplex:"half",body:Ph(u.body,c,r)})},yl=u=>u!==null&&typeof u=="object",Ou=(...u)=>{for(const r of u)if((!yl(r)||Array.isArray(r))&&r!==void 0)throw new TypeError("The `options` argument must be an object");return Vo({},...u)},ep=(u={},r={})=>{const o=new globalThis.Headers(u),c=r instanceof globalThis.Headers,f=new globalThis.Headers(r);for(const[m,p]of f.entries())c&&p==="undefined"||p===void 0?o.delete(m):o.set(m,p);return o};function Cu(u,r,o){return Object.hasOwn(r,o)&&r[o]===void 0?[]:Vo(u[o]??[],r[o]??[])}const tp=(u={},r={})=>({beforeRequest:Cu(u,r,"beforeRequest"),beforeRetry:Cu(u,r,"beforeRetry"),afterResponse:Cu(u,r,"afterResponse"),beforeError:Cu(u,r,"beforeError")}),h0=(u,r)=>{const o=new URLSearchParams;for(const c of[u,r])if(c!==void 0)if(c instanceof URLSearchParams)for(const[f,m]of c.entries())o.append(f,m);else if(Array.isArray(c))for(const f of c){if(!Array.isArray(f)||f.length!==2)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");o.append(String(f[0]),String(f[1]))}else if(yl(c))for(const[f,m]of Object.entries(c))m!==void 0&&o.append(f,String(m));else{const f=new URLSearchParams(c);for(const[m,p]of f.entries())o.append(m,p)}return o},Vo=(...u)=>{let r={},o={},c={},f;const m=[];for(const p of u)if(Array.isArray(p))Array.isArray(r)||(r=[]),r=[...r,...p];else if(yl(p)){for(let[T,g]of Object.entries(p)){if(T==="signal"&&g instanceof globalThis.AbortSignal){m.push(g);continue}if(T==="context"){if(g!=null&&(!yl(g)||Array.isArray(g)))throw new TypeError("The `context` option must be an object");r={...r,context:g==null?{}:{...r.context,...g}};continue}if(T==="searchParams"){g==null?f=void 0:f=f===void 0?g:h0(f,g);continue}yl(g)&&T in r&&(g=Vo(r[T],g)),r={...r,[T]:g}}yl(p.hooks)&&(c=tp(c,p.hooks),r.hooks=c),yl(p.headers)&&(o=ep(o,p.headers),r.headers=o)}return f!==void 0&&(r.searchParams=f),m.length>0&&(m.length===1?r.signal=m[0]:$h?r.signal=AbortSignal.any(m):r.signal=m.at(-1)),r},p0=u=>Wh.includes(u)?u.toUpperCase():u,y0=["get","put","head","delete","options","trace"],_0=[408,413,429,500,502,503,504],g0=[413,429,503],gh={limit:2,methods:y0,statusCodes:_0,afterStatusCodes:g0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:u=>.3*2**(u-1)*1e3,jitter:void 0,retryOnTimeout:!1},v0=(u={})=>{if(typeof u=="number")return{...gh,limit:u};if(u.methods&&!Array.isArray(u.methods))throw new Error("retry.methods must be an array");if(u.methods&&(u.methods=u.methods.map(o=>o.toLowerCase())),u.statusCodes&&!Array.isArray(u.statusCodes))throw new Error("retry.statusCodes must be an array");const r=Object.fromEntries(Object.entries(u).filter(([,o])=>o!==void 0));return{...gh,...r}};class Oo extends Error{constructor(o){super(`Request timed out: ${o.method} ${o.url}`);kt(this,"request");this.name="TimeoutError",this.request=o}}async function b0(u,r,o,c){return new Promise((f,m)=>{const p=setTimeout(()=>{o&&o.abort(),m(new Oo(u))},c.timeout);c.fetch(u,r).then(f).catch(m).then(()=>{clearTimeout(p)})})}async function x0(u,{signal:r}){return new Promise((o,c)=>{r&&(r.throwIfAborted(),r.addEventListener("abort",f,{once:!0}));function f(){clearTimeout(m),c(r.reason)}const m=setTimeout(()=>{r==null||r.removeEventListener("abort",f),o()},u)})}const S0=(u,r)=>{const o={};for(const c in r)Object.hasOwn(r,c)&&!(c in s0)&&!(c in c0)&&(!(c in u)||c in o0)&&(o[c]=r[c]);return o},E0=u=>u===void 0?!1:Array.isArray(u)?u.length>0:u instanceof URLSearchParams?u.size>0:typeof u=="object"?Object.keys(u).length>0:typeof u=="string"?u.trim().length>0:!!u;function T0(u){return u instanceof Ao||(u==null?void 0:u.name)===Ao.name}function w0(u){return u instanceof Oo||(u==null?void 0:u.name)===Oo.name}var Vu,ap,Zt,Bt,nt,Q,Ja,Pt,_l,ie,Bu,lp,Co,Lu,Ka,Mo,np,li,Yu,No;const ii=class ii{constructor(r,o={}){It(this,ie);kt(this,"request");It(this,Zt);It(this,Bt,0);It(this,nt);It(this,Q);It(this,Ja);It(this,Pt);It(this,_l);var f,m,p;if(Vt(this,nt,r),Vt(this,Q,{...o,headers:ep(U(this,nt).headers,o.headers),hooks:tp({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:p0(o.method??U(this,nt).method??"GET"),prefixUrl:String(o.prefixUrl||""),retry:v0(o.retry),throwHttpErrors:o.throwHttpErrors??!0,timeout:o.timeout??1e4,fetch:o.fetch??globalThis.fetch.bind(globalThis),context:o.context??{}}),typeof U(this,nt)!="string"&&!(U(this,nt)instanceof URL||U(this,nt)instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(U(this,Q).prefixUrl&&typeof U(this,nt)=="string"){if(U(this,nt).startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");U(this,Q).prefixUrl.endsWith("/")||(U(this,Q).prefixUrl+="/"),Vt(this,nt,U(this,Q).prefixUrl+U(this,nt))}a0&&$h&&(Vt(this,Pt,U(this,Q).signal??U(this,nt).signal),Vt(this,Zt,new globalThis.AbortController),U(this,Q).signal=U(this,Pt)?AbortSignal.any([U(this,Pt),U(this,Zt).signal]):U(this,Zt).signal),_h&&(U(this,Q).duplex="half"),U(this,Q).json!==void 0&&(U(this,Q).body=((m=(f=U(this,Q)).stringifyJson)==null?void 0:m.call(f,U(this,Q).json))??JSON.stringify(U(this,Q).json),U(this,Q).headers.set("content-type",U(this,Q).headers.get("content-type")??"application/json"));const c=o.headers&&new globalThis.Headers(o.headers).has("content-type");if(U(this,nt)instanceof globalThis.Request&&(n0&&U(this,Q).body instanceof globalThis.FormData||U(this,Q).body instanceof URLSearchParams)&&!c&&U(this,Q).headers.delete("content-type"),this.request=new globalThis.Request(U(this,nt),U(this,Q)),E0(U(this,Q).searchParams)){const g="?"+(typeof U(this,Q).searchParams=="string"?U(this,Q).searchParams.replace(/^\?/,""):new URLSearchParams(ge(p=ii,Vu,ap).call(p,U(this,Q).searchParams)).toString()),h=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,g);this.request=new globalThis.Request(h,U(this,Q))}if(U(this,Q).onUploadProgress){if(typeof U(this,Q).onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!_h)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=ge(this,ie,No).call(this,this.request,U(this,Q).body??void 0)}}static create(r,o){var p,T,g;const c=new ii(r,o),f=async()=>{var j,S,D,V,q,H,L,B,P,F,me,fe;if(typeof U(c,Q).timeout=="number"&&U(c,Q).timeout>wo)throw new RangeError(`The \`timeout\` option cannot be greater than ${wo}`);await Promise.resolve();let h=await ge(j=c,ie,np).call(j);for(const K of U(c,Q).hooks.afterResponse){const X=ge(S=c,ie,Co).call(S,h.clone());let ve;try{ve=await K(c.request,ge(D=c,ie,li).call(D),X,{retryCount:U(c,Bt)})}catch(Ze){throw ge(V=c,ie,Ka).call(V,X),ge(q=c,ie,Ka).call(q,h),Ze}if(ve instanceof Ih)throw ge(H=c,ie,Ka).call(H,X),ge(L=c,ie,Ka).call(L,h),new To(ve.options);const De=ve instanceof globalThis.Response?ve:h;X!==De&&ge(B=c,ie,Ka).call(B,X),h!==De&&ge(P=c,ie,Ka).call(P,h),h=De}if(ge(F=c,ie,Co).call(F,h),!h.ok&&(typeof U(c,Q).throwHttpErrors=="function"?U(c,Q).throwHttpErrors(h.status):U(c,Q).throwHttpErrors)){let K=new Ao(h,c.request,ge(me=c,ie,li).call(me));for(const X of U(c,Q).hooks.beforeError)K=await X(K,{retryCount:U(c,Bt)});throw K}if(U(c,Q).onDownloadProgress){if(typeof U(c,Q).onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!l0)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");const K=h.clone();return ge(fe=c,ie,Ka).call(fe,h),d0(K,U(c,Q).onDownloadProgress)}return h},m=ge(p=c,ie,Mo).call(p,f).finally(()=>{var j,S;const h=U(c,Ja);ge(j=c,ie,Lu).call(j,(h==null?void 0:h.body)??void 0),ge(S=c,ie,Lu).call(S,c.request.body??void 0)});for(const[h,j]of Object.entries(i0))h==="bytes"&&typeof((g=(T=globalThis.Response)==null?void 0:T.prototype)==null?void 0:g.bytes)!="function"||(m[h]=async()=>{c.request.headers.set("accept",c.request.headers.get("accept")||j);const S=await m;if(h==="json"){if(S.status===204)return"";const D=await S.text();return D===""?"":o.parseJson?o.parseJson(D):JSON.parse(D)}return S[h]()});return m}};Vu=new WeakSet,ap=function(r){return r&&typeof r=="object"&&!Array.isArray(r)&&!(r instanceof URLSearchParams)?Object.fromEntries(Object.entries(r).filter(([,o])=>o!==void 0)):r},Zt=new WeakMap,Bt=new WeakMap,nt=new WeakMap,Q=new WeakMap,Ja=new WeakMap,Pt=new WeakMap,_l=new WeakMap,ie=new WeakSet,Bu=function(){const r=U(this,Q).retry.delay(U(this,Bt));let o=r;U(this,Q).retry.jitter===!0?o=Math.random()*r:typeof U(this,Q).retry.jitter=="function"&&(o=U(this,Q).retry.jitter(r),(!Number.isFinite(o)||o<0)&&(o=r));const c=U(this,Q).retry.backoffLimit??Number.POSITIVE_INFINITY;return Math.min(c,o)},lp=async function(r){if($m(this,Bt)._++,U(this,Bt)>U(this,Q).retry.limit)throw r;const o=r instanceof Error?r:new Jh(r);if(o instanceof To)return o.customDelay??ge(this,ie,Bu).call(this);if(!U(this,Q).retry.methods.includes(this.request.method.toLowerCase()))throw r;if(U(this,Q).retry.shouldRetry!==void 0){const c=await U(this,Q).retry.shouldRetry({error:o,retryCount:U(this,Bt)});if(c===!1)throw r;if(c===!0)return ge(this,ie,Bu).call(this)}if(w0(r)&&!U(this,Q).retry.retryOnTimeout)throw r;if(T0(r)){if(!U(this,Q).retry.statusCodes.includes(r.response.status))throw r;const c=r.response.headers.get("Retry-After")??r.response.headers.get("RateLimit-Reset")??r.response.headers.get("X-RateLimit-Retry-After")??r.response.headers.get("X-RateLimit-Reset")??r.response.headers.get("X-Rate-Limit-Reset");if(c&&U(this,Q).retry.afterStatusCodes.includes(r.response.status)){let f=Number(c)*1e3;Number.isNaN(f)?f=Date.parse(c)-Date.now():f>=Date.parse("2024-01-01")&&(f-=Date.now());const m=U(this,Q).retry.maxRetryAfter??f;return f<m?f:m}if(r.response.status===413)throw r}return ge(this,ie,Bu).call(this)},Co=function(r){return U(this,Q).parseJson&&(r.json=async()=>U(this,Q).parseJson(await r.text())),r},Lu=function(r){r&&r.cancel().catch(()=>{})},Ka=function(r){ge(this,ie,Lu).call(this,r.body??void 0)},Mo=async function(r){try{return await r()}catch(o){const c=Math.min(await ge(this,ie,lp).call(this,o),wo);if(U(this,Bt)<1)throw o;if(await x0(c,U(this,Pt)?{signal:U(this,Pt)}:{}),o instanceof To&&o.customRequest){const f=U(this,Q).signal?new globalThis.Request(o.customRequest,{signal:U(this,Q).signal}):new globalThis.Request(o.customRequest);ge(this,ie,Yu).call(this,f)}for(const f of U(this,Q).hooks.beforeRetry){const m=await f({request:this.request,options:ge(this,ie,li).call(this),error:o,retryCount:U(this,Bt)});if(m instanceof globalThis.Request){ge(this,ie,Yu).call(this,m);break}if(m instanceof globalThis.Response)return m;if(m===Fh)return}return ge(this,ie,Mo).call(this,r)}},np=async function(){var o;(o=U(this,Zt))!=null&&o.signal.aborted&&(Vt(this,Zt,new globalThis.AbortController),U(this,Q).signal=U(this,Pt)?AbortSignal.any([U(this,Pt),U(this,Zt).signal]):U(this,Zt).signal,this.request=new globalThis.Request(this.request,{signal:U(this,Q).signal}));for(const c of U(this,Q).hooks.beforeRequest){const f=await c(this.request,ge(this,ie,li).call(this),{retryCount:U(this,Bt)});if(f instanceof Response)return f;if(f instanceof globalThis.Request){ge(this,ie,Yu).call(this,f);break}}const r=S0(this.request,U(this,Q));return Vt(this,Ja,this.request),this.request=U(this,Ja).clone(),U(this,Q).timeout===!1?U(this,Q).fetch(U(this,Ja),r):b0(U(this,Ja),r,U(this,Zt),U(this,Q))},li=function(){if(!U(this,_l)){const{hooks:r,...o}=U(this,Q);Vt(this,_l,Object.freeze(o))}return U(this,_l)},Yu=function(r){Vt(this,_l,void 0),this.request=ge(this,ie,No).call(this,r)},No=function(r,o){return!U(this,Q).onUploadProgress||!r.body?r:m0(r,U(this,Q).onUploadProgress,o??U(this,Q).body??void 0)},It(ii,Vu);let Qu=ii;/*! MIT License © Sindre Sorhus */const Do=u=>{const r=(o,c)=>Qu.create(o,Ou(u,c));for(const o of Wh)r[o]=(c,f)=>Qu.create(c,Ou(u,f,{method:o}));return r.create=o=>Do(Ou(o)),r.extend=o=>(typeof o=="function"&&(o=o(u??{})),Do(Ou(u,o))),r.stop=Fh,r.retry=r0,r},vh=Do();let ko=!1,Ro=null;const Gu=vh.create({prefixUrl:"/api",timeout:3e4,hooks:{beforeRequest:[u=>{const r=$a.getState().accessToken;r&&u.headers.set("Authorization",`Bearer ${r}`)}],afterResponse:[async(u,r,o)=>{if(o.status===401){ko||(ko=!0,Ro=$a.getState().refresh().finally(()=>{ko=!1,setTimeout(()=>{Ro=null},0)}));try{await Ro}catch{throw o}const c=$a.getState().accessToken;return c&&u.headers.set("Authorization",`Bearer ${c}`),vh(u,r)}}]}}),k0=3e4;function R0(u){if(u.link)return u.link;const r=(u.title+" "+u.body).match(/task\s*#?(\d+)/i);if(r)return`/tasks/${r[1]}`;const o=(u.title+" "+u.body).match(/machine\s+(\S+)/i);return o?`/machines/${o[1]}`:null}function ip(){const u=gl(),[r,o]=x.useState([]),[c,f]=x.useState(0),[m,p]=x.useState(!1),[T,g]=x.useState(!1),h=x.useRef(null),{t:j}=ta(),S=x.useCallback(async()=>{try{g(!0);const q=await Gu.get("web/notifications",{searchParams:{limit:"20"}}).json();o(q.data),f(q.data.filter(H=>!H.isRead).length)}catch{}finally{g(!1)}},[]);x.useEffect(()=>{S();const q=setInterval(S,k0);return()=>clearInterval(q)},[S]),x.useEffect(()=>{function q(H){h.current&&!h.current.contains(H.target)&&p(!1)}return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]);const D=async q=>{try{await Gu.post(`web/notifications/${q}/read`),o(H=>H.map(L=>L.id===q?{...L,isRead:!0}:L)),f(H=>Math.max(0,H-1))}catch{}},V=async()=>{try{await Gu.post("web/notifications/read-all"),o(q=>q.map(H=>({...H,isRead:!0}))),f(0)}catch{}};return y.jsxs("div",{className:"relative",ref:h,children:[y.jsxs("button",{type:"button",onClick:()=>p(q=>!q),"aria-label":j("common.notifications"),className:"relative inline-flex items-center justify-center rounded-[4px] p-2 text-[var(--text-secondary)] transition-colors hover:bg-[var(--border)] hover:text-[var(--text-primary)]",children:[y.jsx(jv,{size:16}),c>0&&y.jsx("span",{className:"absolute -right-1 -top-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-[var(--destructive)] px-1 text-[10px] font-bold text-white",children:c})]}),m&&y.jsxs("div",{className:"absolute right-0 top-full z-50 mt-2 w-80 rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-lg",children:[y.jsxs("div",{className:"flex items-center justify-between border-b border-[var(--border)] px-4 py-3",children:[y.jsx("span",{className:"text-sm font-semibold",children:j("common.notifications")}),c>0&&y.jsxs("button",{type:"button",onClick:V,className:"inline-flex items-center gap-1.5 text-xs text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:[y.jsx(zv,{className:"h-3.5 w-3.5"}),j("common.mark_all_read")]})]}),y.jsx("div",{className:"max-h-80 overflow-y-auto",children:T&&r.length===0?y.jsx("div",{className:"flex justify-center py-8",children:y.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})}):r.length===0?y.jsxs("div",{className:"flex flex-col items-center gap-3 py-8",children:[y.jsx("span",{className:"text-xl font-bold text-[var(--border)]",children:"[ ]"}),y.jsx("span",{className:"text-xs text-[var(--text-muted)]",children:j("common.no_notifications")})]}):r.map(q=>{const H=R0(q);return y.jsxs("div",{className:`flex items-start gap-3 border-b border-[var(--border)] px-4 py-3 last:border-b-0 transition-colors ${H?"cursor-pointer hover:bg-[var(--bg-input)]":""} ${q.isRead?"opacity-60":"bg-[var(--accent)]/5"}`,onClick:()=>{H&&(q.isRead||D(q.id),p(!1),u(H))},children:[y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("p",{className:"text-sm font-medium",children:q.title}),y.jsx("p",{className:"text-xs text-[var(--text-secondary)]",children:q.body}),y.jsx("p",{className:"mt-1 text-xs text-[var(--text-secondary)] opacity-60",children:new Date(q.createdAt).toLocaleString()})]}),!q.isRead&&y.jsx("button",{type:"button",onClick:L=>{L.stopPropagation(),D(q.id)},"aria-label":j("common.mark_as_read"),className:"shrink-0 rounded-[4px] p-1 text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:y.jsx(Av,{className:"h-3.5 w-3.5"})})]},q.id)})})]})]})}function j0(u){return{tasks:u.tasks.map(r=>({type:"task",id:r.id,title:`#${r.id} ${r.description}`,subtitle:`${r.status} · ${r.project_key}`})),machines:u.machines.map(r=>({type:"machine",id:r.id,title:r.name,subtitle:`${r.hostname} · ${r.status}`})),projects:u.projects.map(r=>({type:"project",id:r.key,title:r.name,subtitle:r.repository}))}}const z0=300,bh={tasks:Qv,machines:Qo,projects:Nv},A0={tasks:"tasks",machines:"machines",projects:"projects"};function O0(){const[u,r]=x.useState(""),[o,c]=x.useState({tasks:[],machines:[],projects:[]}),[f,m]=x.useState(!1),[p,T]=x.useState(!1),[g,h]=x.useState(0),j=x.useRef(null),S=x.useRef(null),D=x.useRef(void 0),V=gl(),{t:q}=ta(),H=[...o.tasks,...o.machines,...o.projects],L=x.useCallback(async K=>{if(!K.trim()){c({tasks:[],machines:[],projects:[]});return}try{m(!0);const X=await Gu.get("web/search",{searchParams:{q:K}}).json();c(j0(X)),h(0)}catch{}finally{m(!1)}},[]);x.useEffect(()=>(D.current&&clearTimeout(D.current),D.current=setTimeout(()=>L(u),z0),()=>{D.current&&clearTimeout(D.current)}),[u,L]),x.useEffect(()=>{function K(X){X.key==="/"&&!p&&!(X.target instanceof HTMLInputElement||X.target instanceof HTMLTextAreaElement)&&(X.preventDefault(),T(!0)),X.key==="Escape"&&p&&(X.preventDefault(),B())}return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[p]),x.useEffect(()=>{p&&setTimeout(()=>{var K;return(K=S.current)==null?void 0:K.focus()},50)},[p]);const B=()=>{T(!1),r(""),c({tasks:[],machines:[],projects:[]}),h(0)},P=K=>{switch(B(),K.type){case"task":V(`/tasks/${K.id}`);break;case"machine":V(`/machines/${K.id}`);break;case"project":V(`/projects/${K.id}`);break}},F=K=>{K.key==="ArrowDown"?(K.preventDefault(),h(X=>Math.min(X+1,H.length-1))):K.key==="ArrowUp"?(K.preventDefault(),h(X=>Math.max(X-1,0))):K.key==="Enter"&&H[g]&&(K.preventDefault(),P(H[g]))},me=H.length>0;let fe=0;return y.jsxs(y.Fragment,{children:[y.jsxs("button",{type:"button",onClick:()=>T(!0),className:"flex items-center gap-2 rounded-[4px] border border-[var(--border)] bg-[var(--bg-input)] px-3 py-1.5 text-xs text-[var(--text-muted)] transition-colors hover:border-[var(--text-muted)]",children:[y.jsx(Gv,{className:"h-3.5 w-3.5"}),y.jsx("span",{children:q("common.search_placeholder")}),y.jsx("kbd",{className:"ml-2 rounded border border-[var(--border)] bg-[var(--bg-primary)] px-1.5 py-0.5 text-[10px] text-[var(--text-muted)]",children:"/"})]}),p&&y.jsx("div",{ref:j,className:"fixed inset-0 z-[100] flex items-start justify-center pt-[15vh]",style:{backgroundColor:"rgba(0, 0, 0, 0.6)"},onClick:K=>{K.target===j.current&&B()},children:y.jsxs("div",{className:"w-full max-w-[640px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-2xl",style:{fontFamily:"'JetBrains Mono', monospace"},children:[y.jsxs("div",{className:"flex items-center gap-3 border-b border-[var(--border)] px-4 py-3",children:[y.jsx("span",{className:"text-sm text-[var(--accent)]",children:"/"}),y.jsx("input",{ref:S,type:"text",placeholder:q("common.search_input_placeholder"),value:u,onChange:K=>r(K.target.value),onKeyDown:F,className:"flex-1 bg-transparent text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] outline-none"}),f&&y.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})]}),y.jsx("div",{className:"max-h-[400px] overflow-y-auto",children:u.trim()&&!me&&!f?y.jsx("div",{className:"py-10 text-center text-xs text-[var(--text-muted)]",children:q("common.no_search_results",{query:u})}):Object.keys(bh).map(K=>{const X=o[K];if(X.length===0)return null;const ve=bh[K],De=fe;return fe+=X.length,y.jsxs("div",{children:[y.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 text-[var(--text-muted)]",children:[y.jsx(ve,{className:"h-3 w-3"}),y.jsx("span",{className:"text-[10px] uppercase tracking-wider",children:A0[K]})]}),X.map((Ze,rt)=>{const Ke=De+rt,ct=Ke===g;return y.jsxs("button",{type:"button",className:`flex w-full items-center gap-3 px-4 py-2.5 text-left transition-colors ${ct?"bg-[var(--accent)]/10 text-[var(--accent)]":"hover:bg-[var(--bg-input)]"}`,onClick:()=>P(Ze),onMouseEnter:()=>h(Ke),children:[y.jsx("span",{className:`text-xs ${ct?"text-[var(--accent)]":"text-[var(--text-muted)]"}`,children:ct?">":" "}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("p",{className:"truncate text-sm",children:Ze.title}),Ze.subtitle&&y.jsx("p",{className:"truncate text-xs text-[var(--text-muted)]",children:Ze.subtitle})]})]},`${Ze.type}-${Ze.id}`)})]},K)})}),y.jsxs("div",{className:"flex items-center gap-4 border-t border-[var(--border)] px-4 py-2",children:[y.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-[var(--text-muted)]",children:[y.jsx("kbd",{className:"rounded border border-[var(--border)] px-1",children:"↑↓"})," ",q("common.navigate_hint")]}),y.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-[var(--text-muted)]",children:[y.jsx("kbd",{className:"rounded border border-[var(--border)] px-1",children:"↵"})," ",q("common.select_hint")]}),y.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-[var(--text-muted)]",children:[y.jsx("kbd",{className:"rounded border border-[var(--border)] px-1",children:"esc"})," ",q("common.close_hint")]})]})]})})]})}const C0={danger:"var(--destructive)",warning:"var(--warning)",accent:"var(--accent)"};function M0({isOpen:u,onClose:r,onConfirm:o,title:c,message:f,confirmVariant:m="danger",isLoading:p,...T}){const{t:g}=ta(),h=T.confirmLabel??g("common.confirm"),j=T.cancelLabel??g("common.cancel");if(!u)return null;const S=C0[m];return y.jsx("div",{onClick:r,style:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"var(--modal-backdrop, rgba(12,12,12,0.6))"},children:y.jsxs("div",{onClick:D=>D.stopPropagation(),style:{width:"100%",maxWidth:"480px",backgroundColor:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"4px",padding:"1.5rem",fontFamily:"'JetBrains Mono', monospace"},children:[y.jsx("div",{style:{marginBottom:"1.25rem"},children:y.jsxs("div",{style:{color:"var(--accent)",fontSize:"0.875rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[y.jsx(Xh,{style:{width:"1rem",height:"1rem"}}),c]})}),y.jsx("div",{style:{marginBottom:"1.25rem"},children:y.jsx("p",{style:{color:"var(--text-muted)",fontSize:"0.75rem",lineHeight:"1.5"},children:f})}),y.jsxs("div",{style:{display:"flex",gap:"0.75rem"},children:[y.jsx("button",{type:"button",onClick:r,disabled:p,className:"text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:border-[var(--text-muted)]",style:{flex:1,padding:"0.5rem",backgroundColor:"transparent",border:"1px solid var(--border)",borderRadius:"4px",fontSize:"0.75rem",fontFamily:"'JetBrains Mono', monospace",cursor:p?"not-allowed":"pointer",opacity:p?.7:1,transition:"color 0.15s, border-color 0.15s"},children:j}),y.jsx("button",{type:"button",onClick:o,disabled:p,style:{flex:1,padding:"0.5rem",backgroundColor:S,color:"#0C0C0C",border:"none",borderRadius:"4px",fontSize:"0.75rem",fontWeight:600,fontFamily:"'JetBrains Mono', monospace",cursor:p?"not-allowed":"pointer",opacity:p?.7:1},children:p?g("common.processing"):h})]})]})})}const up=x.createContext({setActions:()=>{}});function jb(u){const{setActions:r}=x.useContext(up);x.useEffect(()=>(r(u),()=>r(null)),[u,r])}const rp=x.createContext({setSubtitle:()=>{}});function zb(u){const{setSubtitle:r}=x.useContext(rp);x.useEffect(()=>(r(u),()=>r(null)),[u,r])}const N0=[{to:"/home",label:"dashboard",icon:Yh},{to:"/tasks",label:"tasks",icon:Gh},{to:"/machines",label:"machines",icon:Qo},{to:"/projects",label:"projects",icon:Dv},{to:"/access-tokens",label:"access_tokens",icon:qv}],D0=[{to:"/docs/cli",label:"cli_reference",icon:Zv},{to:"/docs/api",label:"api_reference",icon:Mv}],U0=[{to:"/admin",label:"admin",icon:Xv}],q0=[{to:"/home",label:"dashboard",icon:Yh},{to:"/tasks",label:"tasks",icon:Gh},{to:"/machines",label:"machines",icon:Qo},{to:"/profile",label:"profile",icon:Kv}],Mu={"/home":{title:"common.breadcrumb_dashboard",subtitle:"common.breadcrumb_dashboard_sub"},"/tasks":{title:"common.breadcrumb_tasks",subtitle:"common.breadcrumb_tasks_sub"},"/machines":{title:"common.breadcrumb_machines",subtitle:"common.breadcrumb_machines_sub"},"/projects":{title:"common.breadcrumb_projects",subtitle:"common.breadcrumb_projects_sub"},"/admin":{title:"common.breadcrumb_admin",subtitle:"common.breadcrumb_admin_sub"},"/profile":{title:"common.breadcrumb_profile",subtitle:"common.breadcrumb_profile_sub"},"/access-tokens":{title:"common.breadcrumb_access_tokens",subtitle:"common.breadcrumb_access_tokens_sub"},"/docs":{title:"common.breadcrumb_docs",subtitle:"common.breadcrumb_docs_sub"},"/docs/cli":{title:"common.breadcrumb_docs_cli",subtitle:"common.breadcrumb_docs_cli_sub"},"/docs/api":{title:"common.breadcrumb_docs_api",subtitle:"common.breadcrumb_docs_api_sub"}};function H0(u){const{t:r}=ta();if(Mu[u]){const c=Mu[u];return{title:r(c.title),subtitle:r(c.subtitle)}}const o="/"+u.split("/").filter(Boolean)[0];if(Mu[o]){const c=Mu[o],f=u.split("/").filter(Boolean).slice(1).join(" / ");return{title:r(c.title),subtitle:f||r(c.subtitle)}}return{title:u.slice(1).replace(/\//g," // ")||"home"}}function B0(u,r){return u==="/home"?r==="/home":r.startsWith(u)}function L0(){const u=Yt(),{t:r}=ta();return y.jsx("nav",{className:"flex items-center justify-around border-t border-[var(--border)] bg-[var(--bg-card)] md:hidden",style:{height:60,paddingTop:8,paddingBottom:"env(safe-area-inset-bottom, 0px)"},children:q0.map(({to:o,label:c,icon:f})=>{const m=B0(o,u.pathname);return y.jsxs(ni,{to:o,className:"flex flex-col items-center gap-1",style:{width:70},children:[y.jsx(f,{size:18,className:m?"text-[var(--accent)]":"text-[var(--text-muted)]"}),y.jsx("span",{className:`text-[8px] lowercase ${m?"font-bold text-[var(--accent)]":"text-[var(--text-muted)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:{dashboard:r("dashboard.title"),tasks:r("tasks.title"),machines:r("machines.title"),profile:r("common.profile")}[c]??c})]},o)})})}function Y0(){const u=gl(),{t:r}=ta();return y.jsxs("header",{className:"flex items-center justify-between border-b border-[var(--border)] bg-[var(--bg-card)] px-4 md:hidden",style:{height:56,minHeight:56},children:[y.jsxs("button",{onClick:()=>u("/home"),className:"flex items-center gap-2",style:{background:"none",border:"none",padding:0},children:[y.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-[4px] bg-[var(--accent)]",style:{fontFamily:"'JetBrains Mono', monospace"},children:y.jsx("span",{className:"text-sm font-semibold",style:{color:"#0C0C0C"},children:"~"})}),y.jsx("span",{className:"text-sm font-bold lowercase text-[var(--text-primary)]",style:{fontFamily:"'JetBrains Mono', monospace"},children:r("common.overlord")})]}),y.jsxs("div",{className:"flex items-center gap-1",children:[y.jsx(ip,{}),y.jsx(Kh,{})]})]})}function G0(){const{user:u,logout:r}=$a(),o=gl(),[c,f]=x.useState(!1),m=(u==null?void 0:u.role)==="admin",{t:p}=ta(),T=()=>{r(),o("/login")};return y.jsxs("aside",{className:"hidden md:flex flex-col border-r border-[var(--border)]",style:{width:240,minWidth:240,backgroundColor:"var(--bg-card)"},children:[y.jsx("div",{className:"flex items-center px-5",style:{height:48},children:y.jsxs("button",{onClick:()=>o("/home"),className:"flex items-center gap-2.5",style:{background:"none",border:"none",padding:0},children:[y.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-[4px] bg-[var(--accent)]",style:{fontFamily:"'JetBrains Mono', monospace"},children:y.jsx("span",{className:"text-lg font-semibold",style:{color:"#0C0C0C"},children:"~"})}),y.jsx("span",{className:"text-base font-bold lowercase tracking-tight",style:{color:"var(--text-primary)",fontFamily:"'JetBrains Mono', monospace"},children:p("common.overlord")})]})}),y.jsxs("nav",{className:"flex-1 px-3 pt-2",children:[y.jsx("div",{className:"mb-2 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:p("common.navigation")}),N0.map(({to:g,label:h,icon:j})=>y.jsx(ni,{to:g,className:({isActive:S})=>`flex items-center gap-2.5 px-3 py-1.5 text-sm lowercase transition-colors ${S?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:({isActive:S})=>y.jsxs(y.Fragment,{children:[y.jsx(j,{size:14,style:{flexShrink:0}}),y.jsx("span",{children:S?`> ${h}`:` ${h}`})]})},g)),y.jsx("div",{className:"mb-2 mt-4 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:p("common.docs_section")}),D0.map(({to:g,label:h,icon:j})=>y.jsx(ni,{to:g,className:({isActive:S})=>`flex items-center gap-2.5 px-3 py-1.5 text-sm lowercase transition-colors ${S?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:({isActive:S})=>y.jsxs(y.Fragment,{children:[y.jsx(j,{size:14,style:{flexShrink:0}}),y.jsx("span",{children:S?`> ${h}`:` ${h}`})]})},g)),m&&y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"mb-2 mt-4 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:p("common.admin_section")}),U0.map(({to:g,label:h,icon:j})=>y.jsx(ni,{to:g,className:({isActive:S})=>`flex items-center gap-2.5 px-3 py-1.5 text-sm lowercase transition-colors ${S?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:({isActive:S})=>y.jsxs(y.Fragment,{children:[y.jsx(j,{size:14,style:{flexShrink:0}}),y.jsx("span",{children:S?`> ${h}`:` ${h}`})]})},g))]})]}),y.jsx("div",{className:"border-t border-[var(--border)] p-3",children:y.jsxs("div",{className:"flex items-center gap-3 px-3 py-2",children:[y.jsx("button",{onClick:()=>o("/profile"),className:"flex h-7 w-7 items-center justify-center text-xs font-bold text-black transition-opacity hover:opacity-80",style:{backgroundColor:"var(--accent)",borderRadius:4,flexShrink:0},title:p("common.profile"),children:((u==null?void 0:u.username)??"u")[0].toUpperCase()}),y.jsxs("button",{onClick:()=>o("/profile"),className:"min-w-0 flex-1 text-left transition-colors hover:opacity-80",title:p("common.profile"),children:[y.jsx("div",{className:"truncate text-sm lowercase",style:{color:"var(--text-primary)"},children:(u==null?void 0:u.username)??"user"}),y.jsx("div",{className:"truncate text-xs lowercase",style:{color:"var(--text-muted)"},children:(u==null?void 0:u.role)??"user"})]}),y.jsx("button",{onClick:()=>f(!0),className:"p-1 text-[var(--text-secondary)] transition-colors hover:text-[var(--accent)]","aria-label":p("common.log_out"),children:y.jsx(Bv,{size:14})})]})}),y.jsx(M0,{isOpen:c,onClose:()=>f(!1),onConfirm:T,title:p("common.logout_title"),message:p("common.logout_message"),confirmLabel:p("common.logout"),confirmVariant:"warning"})]})}function X0({headerActions:u,subtitleOverride:r}){const o=Yt(),{title:c,subtitle:f}=H0(o.pathname),m=r??f;return y.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:[y.jsxs("div",{className:"text-sm lowercase",style:{fontFamily:"'JetBrains Mono', monospace"},children:[y.jsx("span",{style:{color:"var(--text-primary)"},children:c}),m&&y.jsxs("span",{style:{color:"var(--text-muted)"},children:[" ","// ",m]})]}),y.jsxs("div",{className:"flex items-center gap-3",children:[u,y.jsxs("div",{className:"flex items-center gap-1",children:[y.jsx(O0,{}),y.jsx(ip,{}),y.jsx(Kh,{})]})]})]})}function Q0(){const[u,r]=x.useState(null),[o,c]=x.useState(null);return y.jsxs("div",{className:"flex h-screen font-mono",children:[y.jsx(G0,{}),y.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[y.jsx(Y0,{}),y.jsx(X0,{headerActions:u,subtitleOverride:o}),y.jsx("main",{className:"flex-1 overflow-auto bg-[var(--bg-primary)] p-4 md:p-6",children:y.jsx(up.Provider,{value:{setActions:r},children:y.jsx(rp.Provider,{value:{setSubtitle:c},children:y.jsx(Qg,{})})})}),y.jsx(L0,{})]})]})}function Nu({children:u,requireAdmin:r=!1}){const{accessToken:o,user:c,requireTotpSetup:f,initializing:m}=$a(),p=Yt();return m?y.jsx("div",{className:"flex h-screen items-center justify-center",children:y.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})}):o?f?p.pathname!=="/totp-setup"?y.jsx(Du,{to:"/totp-setup",replace:!0}):y.jsx(y.Fragment,{children:u}):r&&(c==null?void 0:c.role)!=="admin"?y.jsx(Du,{to:"/home",replace:!0}):y.jsx(y.Fragment,{children:u}):y.jsx(Du,{to:"/login",state:{from:p},replace:!0})}function V0({children:u}){const{theme:r,resolved:o,setResolved:c}=Zh();return x.useEffect(()=>{if(r!=="system"){c(r);return}const f=window.matchMedia("(prefers-color-scheme: dark)");c(f.matches?"dark":"light");const m=p=>c(p.matches?"dark":"light");return f.addEventListener("change",m),()=>f.removeEventListener("change",m)},[r,c]),x.useEffect(()=>{document.documentElement.classList.toggle("dark",o==="dark")},[o]),y.jsx(y.Fragment,{children:u})}class Z0 extends x.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){var r;return this.state.hasError?y.jsxs("div",{className:"flex h-full min-h-[300px] flex-col items-center justify-center gap-4 p-8",children:[y.jsx("span",{className:"text-lg font-bold text-[var(--destructive)]",children:Hu("common.runtime_error")}),y.jsx("p",{className:"max-w-md text-center text-xs text-[var(--text-muted)]",children:((r=this.state.error)==null?void 0:r.message)||Hu("common.an_unexpected_error_occurred")}),y.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:[y.jsx(Yv,{className:"h-3.5 w-3.5"}),Hu("common.reload")]})]}):this.props.children}}function K0({isOpen:u}){const r=gl(),{logout:o,setSessionExpired:c}=$a(),{t:f}=ta();function m(){o(),c(!1),r("/login")}return u?y.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[y.jsx("div",{className:"fixed inset-0 bg-[var(--modal-backdrop)]"}),y.jsx("div",{className:"relative z-10 w-full max-w-[480px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)]",children:y.jsxs("div",{className:"flex flex-col items-center px-8 py-10",children:[y.jsx("div",{className:"mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-[var(--warning)]/10",children:y.jsx(Hv,{className:"h-7 w-7 text-[var(--warning)]"})}),y.jsx("h3",{className:"mb-2 text-base font-bold text-[var(--text-primary)]",children:f("auth.session_expired")}),y.jsx("p",{className:"mb-8 text-center text-xs text-[var(--text-secondary)]",children:f("auth.session_expired_message")}),y.jsx("button",{type:"button",className:"w-full rounded-[4px] bg-[var(--accent)] px-3 py-2.5 text-xs font-medium text-black hover:opacity-90 transition-opacity",onClick:m,children:f("auth.go_to_login")})]})})]}):null}const xh=5;let ba=[];const Uo=new Set;function cp(){Uo.forEach(u=>u())}function J0(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function Wa(u,r,o=4e3){const c=J0();return ba=[...ba,{id:c,variant:u,message:r,duration:o}],ba.length>xh&&(ba=ba.slice(ba.length-xh)),cp(),c}Wa.success=(u,r)=>Wa("success",u,r);Wa.error=(u,r)=>Wa("error",u,r);Wa.warning=(u,r)=>Wa("warning",u,r);Wa.info=(u,r)=>Wa("info",u,r);function $0(u){ba=ba.filter(r=>r.id!==u),cp()}function W0(){const[,u]=x.useState(0);return x.useEffect(()=>{const r=()=>u(o=>o+1);return Uo.add(r),()=>{Uo.delete(r)}},[]),ba}const F0={success:{icon:Ov,borderColor:"var(--accent)"},error:{icon:Cv,borderColor:"var(--destructive)"},warning:{icon:Xh,borderColor:"var(--warning)"},info:{icon:Uv,borderColor:"var(--info)"}};function I0({item:u}){const r=F0[u.variant],o=r.icon,{t:c}=ta(),f=x.useCallback(()=>$0(u.id),[u.id]);return x.useEffect(()=>{if(!u.duration)return;const m=setTimeout(f,u.duration);return()=>clearTimeout(m)},[u.duration,f]),y.jsxs("div",{className:"flex items-center gap-3 rounded-[4px] bg-[var(--bg-card)] px-4 py-3 shadow-lg",style:{borderLeft:`3px solid ${r.borderColor}`},role:"alert",children:[y.jsx(o,{className:"h-4 w-4 shrink-0",style:{color:r.borderColor}}),y.jsx("p",{className:"flex-1 text-xs text-[var(--text-primary)]",children:u.message}),y.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":c("common.dismiss_notification"),children:y.jsx(Jv,{className:"h-3.5 w-3.5"})})]})}function P0(){const u=W0();return u.length===0?null:y.jsx("div",{className:"pointer-events-none fixed right-4 top-4 z-[9999] flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-2",children:u.map(r=>y.jsx("div",{className:"pointer-events-auto",children:y.jsx(I0,{item:r})},r.id))})}const eb=x.lazy(()=>Ne(()=>import("./LandingPage-BWfR2oXt.js"),__vite__mapDeps([0,1,2,3,4]))),tb=x.lazy(()=>Ne(()=>import("./LoginPage-Ca4FsK2j.js"),[])),ab=x.lazy(()=>Ne(()=>import("./TotpSetupPage-skouZwAo.js"),[])),lb=x.lazy(()=>Ne(()=>import("./NotFoundPage-rIa2IHZG.js"),[])),nb=x.lazy(()=>Ne(()=>import("./HomePage-BsiwA4gW.js"),__vite__mapDeps([5,6,7,8,9,1]))),ib=x.lazy(()=>Ne(()=>import("./TaskListPage-BpkKh4Yk.js"),__vite__mapDeps([10,11,7,12,4,13,8,14]))),ub=x.lazy(()=>Ne(()=>import("./TaskDetailPage-NP2PS_Ck.js"),__vite__mapDeps([15,11,12,16,17,18,19,20]))),rb=x.lazy(()=>Ne(()=>import("./MachineListPage-B59mZoVm.js"),__vite__mapDeps([21,6,22,23,24,4,19,12,13,8,14]))),cb=x.lazy(()=>Ne(()=>import("./MachineDetailPage-BdJIcUfz.js"),__vite__mapDeps([25,6,16]))),ob=x.lazy(()=>Ne(()=>import("./WorkerSetupGuidePage-BelFB95H.js"),__vite__mapDeps([22,23,24]))),sb=x.lazy(()=>Ne(()=>import("./ProjectListPage-cWKxZMbI.js"),__vite__mapDeps([26,6,12,13,8,14]))),fb=x.lazy(()=>Ne(()=>import("./ProjectDetailPage-ByDXJRZx.js"),__vite__mapDeps([27,6,28,12,29,30,14]))),db=x.lazy(()=>Ne(()=>import("./EditProjectPage-jeKBXKpU.js"),__vite__mapDeps([31,6,12,28,14]))),mb=x.lazy(()=>Ne(()=>import("./PipelineEditorPage-DqNJhpu_.js"),__vite__mapDeps([32,12]))),hb=x.lazy(()=>Ne(()=>import("./ProfilePage-_uegx1AA.js"),[])),pb=x.lazy(()=>Ne(()=>import("./AccessTokensPage-DQEUkklL.js"),__vite__mapDeps([33,12,13,8,14,4,30]))),yb=x.lazy(()=>Ne(()=>import("./CliReferencePage-Ca6ENkKU.js"),__vite__mapDeps([34,35,4,14]))),_b=x.lazy(()=>Ne(()=>import("./ApiReferencePage-BdVahGqK.js"),__vite__mapDeps([36,35,4,14]))),gb=x.lazy(()=>Ne(()=>import("./AdminPage-Dy3fDESU.js"),__vite__mapDeps([37,3,2,38,24]))),vb=x.lazy(()=>Ne(()=>import("./DeveloperManage-CSd18cTX.js"),__vite__mapDeps([39,12,13,8,14,3,29,17]))),bb=x.lazy(()=>Ne(()=>import("./BotManage-B3-rqR1c.js"),__vite__mapDeps([40,12,30,14,13,8,2,29]))),xb=x.lazy(()=>Ne(()=>import("./TokenManage-k5e6DyJG.js"),__vite__mapDeps([41,23,4,18,13,8,14]))),Sb=x.lazy(()=>Ne(()=>import("./AuditLogPage-DrxGWVeq.js"),__vite__mapDeps([42,12,13,8,38,9]))),Eb=x.lazy(()=>Ne(()=>import("./SettingsPage-BVRak3kN.js"),[]));function Tb(){return y.jsx("div",{className:"flex h-full items-center justify-center",children:y.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})})}function wb(){const u=$a(r=>r.sessionExpired);return y.jsxs(V0,{children:[y.jsx(P0,{}),y.jsx(Z0,{children:y.jsxs(yv,{children:[y.jsx(K0,{isOpen:u}),y.jsx(x.Suspense,{fallback:y.jsx(Tb,{}),children:y.jsxs(Zg,{children:[y.jsx(je,{path:"/",element:y.jsx(eb,{})}),y.jsx(je,{path:"/login",element:y.jsx(tb,{})}),y.jsx(je,{path:"/totp-setup",element:y.jsx(Nu,{children:y.jsx(ab,{})})}),y.jsxs(je,{element:y.jsx(Nu,{children:y.jsx(Q0,{})}),children:[y.jsx(je,{path:"/home",element:y.jsx(nb,{})}),y.jsx(je,{path:"/tasks",element:y.jsx(ib,{})}),y.jsx(je,{path:"/tasks/:id",element:y.jsx(ub,{})}),y.jsx(je,{path:"/machines",element:y.jsx(rb,{})}),y.jsx(je,{path:"/machines/setup",element:y.jsx(Nu,{requireAdmin:!0,children:y.jsx(ob,{})})}),y.jsx(je,{path:"/machines/:id",element:y.jsx(cb,{})}),y.jsx(je,{path:"/projects",element:y.jsx(sb,{})}),y.jsx(je,{path:"/projects/:key",element:y.jsx(fb,{})}),y.jsx(je,{path:"/projects/:key/edit",element:y.jsx(db,{})}),y.jsx(je,{path:"/projects/:key/pipeline",element:y.jsx(mb,{})}),y.jsx(je,{path:"/profile",element:y.jsx(hb,{})}),y.jsx(je,{path:"/access-tokens",element:y.jsx(pb,{})}),y.jsx(je,{path:"/docs/cli",element:y.jsx(yb,{})}),y.jsx(je,{path:"/docs/api",element:y.jsx(_b,{})}),y.jsxs(je,{path:"/admin",element:y.jsx(Nu,{requireAdmin:!0,children:y.jsx(gb,{})}),children:[y.jsx(je,{index:!0,element:y.jsx(Du,{to:"developers",replace:!0})}),y.jsx(je,{path:"developers",element:y.jsx(vb,{})}),y.jsx(je,{path:"bots",element:y.jsx(bb,{})}),y.jsx(je,{path:"tokens",element:y.jsx(xb,{})}),y.jsx(je,{path:"audit-logs",element:y.jsx(Sb,{})}),y.jsx(je,{path:"settings",element:y.jsx(Eb,{})})]})]}),y.jsx(je,{path:"*",element:y.jsx(lb,{})})]})})]})})]})}$a.getState().initialize();Q_.createRoot(document.getElementById("root")).render(y.jsx(x.StrictMode,{children:y.jsx(wb,{})}));export{Av as C,Ao as H,qv as K,Hh as L,Du as N,Qg as O,Ru as R,Xv as S,Kh as T,Jv as X,ta as a,Zv as b,Oe as c,gl as d,Yt as e,Gu as f,Hu as g,jb as h,Gv as i,y as j,Gh as k,M0 as l,Rb as m,zb as n,Ov as o,Qh as p,Qo as q,x as r,Xh as s,Wa as t,$a as u,Yv as v,ni as w,Cv as x};
|