loki-mode 10.5.1 → 10.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/dashboard/__init__.py +1 -1
  4. package/dashboard/requirements.txt +3 -3
  5. package/docs/INSTALLATION.md +1 -1
  6. package/docs/v10/BOARD.md +69 -52
  7. package/docs/v10/DECISIONS.md +14 -0
  8. package/docs/v10/MEDIUM-ANALYSIS.md +165 -0
  9. package/docs/v10/METRICS.md +34 -0
  10. package/docs/v10/PROGRESS.md +7 -0
  11. package/docs/v10/SCORECARD-PLAN.md +250 -0
  12. package/loki-ts/dist/loki.js +213 -213
  13. package/mcp/__init__.py +1 -1
  14. package/mcp/requirements.txt +1 -1
  15. package/package.json +1 -1
  16. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  17. package/web-app/dist/assets/{AdminPage-DLg6_gDO.js → AdminPage-DootQsDP.js} +1 -1
  18. package/web-app/dist/assets/{Avatar-s9yLNmGN.js → Avatar-BEh-AUI_.js} +1 -1
  19. package/web-app/dist/assets/{Badge-B3YYyb1l.js → Badge-xhAWVqTk.js} +1 -1
  20. package/web-app/dist/assets/{Button-CyvFPweU.js → Button-DPHlrUW7.js} +1 -1
  21. package/web-app/dist/assets/{CockpitPage-D7Kg7d5Z.js → CockpitPage-QuYj3Nrx.js} +1 -1
  22. package/web-app/dist/assets/{ComparePage-gosW76SS.js → ComparePage-D_JaNxyU.js} +1 -1
  23. package/web-app/dist/assets/{ErrorBoundary-BafiRRiY.js → ErrorBoundary-xoqc9Ypk.js} +1 -1
  24. package/web-app/dist/assets/{EvidenceReceiptPanel-ms3KqwO7.js → EvidenceReceiptPanel-WfoGkBw1.js} +1 -1
  25. package/web-app/dist/assets/{GitHubIssuesPanel-ayL5gA__.js → GitHubIssuesPanel-DpSh68Vr.js} +1 -1
  26. package/web-app/dist/assets/{GitHubPRsPanel-CET7yKAJ.js → GitHubPRsPanel-PsM0TRCK.js} +1 -1
  27. package/web-app/dist/assets/{HomePage-CG3wj44-.js → HomePage-DGNkRAE2.js} +2 -2
  28. package/web-app/dist/assets/{LoginPage-CkryHYSX.js → LoginPage-CDZTufhc.js} +1 -1
  29. package/web-app/dist/assets/{MagicPage-tRNArbp2.js → MagicPage-nBvtlxPD.js} +1 -1
  30. package/web-app/dist/assets/{MetricsPage-DEno_r1_.js → MetricsPage-Btvb_sUN.js} +1 -1
  31. package/web-app/dist/assets/{NotFoundPage-CRMnWAVu.js → NotFoundPage-zrHK2Qo5.js} +1 -1
  32. package/web-app/dist/assets/{ProjectPage-BBwgtuYF.js → ProjectPage-oilUogSN.js} +72 -72
  33. package/web-app/dist/assets/{ProjectsPage--hVzEpt8.js → ProjectsPage-DEeRukgB.js} +1 -1
  34. package/web-app/dist/assets/{SettingsPage-Duy2o5cX.js → SettingsPage-Dw_uFXXA.js} +1 -1
  35. package/web-app/dist/assets/{ShowcasePage-CRba1Kjw.js → ShowcasePage-DucUH7_M.js} +1 -1
  36. package/web-app/dist/assets/{SystemSettingsPage--MjeVlfN.js → SystemSettingsPage-DSHQjPUw.js} +1 -1
  37. package/web-app/dist/assets/{TeamsPage-D9oeMSaU.js → TeamsPage-CPCicvyD.js} +1 -1
  38. package/web-app/dist/assets/{TemplatesPage-BGLMM-F8.js → TemplatesPage-BfICx9k6.js} +1 -1
  39. package/web-app/dist/assets/{TerminalOutput-CoHizMdl.js → TerminalOutput-CDLcTRF0.js} +1 -1
  40. package/web-app/dist/assets/{activity-hhg-uilU.js → activity-DYrOuAG7.js} +1 -1
  41. package/web-app/dist/assets/{bell-BlrKJIZk.js → bell-D9uSrwuN.js} +1 -1
  42. package/web-app/dist/assets/{bot-VVnWO546.js → bot-C6Bn5s1m.js} +1 -1
  43. package/web-app/dist/assets/{check-0i55NbmC.js → check-BmJB2Xqr.js} +1 -1
  44. package/web-app/dist/assets/{chevron-left-DXvPxcjA.js → chevron-left-C-S6ysEt.js} +1 -1
  45. package/web-app/dist/assets/{circle-alert-CVMeO7H6.js → circle-alert-BSasJfUu.js} +1 -1
  46. package/web-app/dist/assets/{clock-CpK6S1GA.js → clock-a7_-OWs3.js} +1 -1
  47. package/web-app/dist/assets/{cloud-BmYq7VML.js → cloud-DrX9DhXi.js} +1 -1
  48. package/web-app/dist/assets/{code-xml-BDWHoGnw.js → code-xml-BKuuaYjb.js} +1 -1
  49. package/web-app/dist/assets/{database-Dmrj7PGO.js → database-TMGZ6D6w.js} +1 -1
  50. package/web-app/dist/assets/{dollar-sign-DXucFgTN.js → dollar-sign-CFAcj-wt.js} +1 -1
  51. package/web-app/dist/assets/{file-code-corner-CZbJMRKY.js → file-code-corner-BH8h7Yza.js} +1 -1
  52. package/web-app/dist/assets/{file-plus-BT_Yk733.js → file-plus-DLDkZZXo.js} +1 -1
  53. package/web-app/dist/assets/{globe-zglwxiFf.js → globe-Ll1o1Ycp.js} +1 -1
  54. package/web-app/dist/assets/{hammer-S48qUq-S.js → hammer-CKex5IZg.js} +1 -1
  55. package/web-app/dist/assets/index-BxNfb8ay.js +435 -0
  56. package/web-app/dist/assets/{layers-JG0DCbxV.js → layers-BJpeiurx.js} +1 -1
  57. package/web-app/dist/assets/{loader-circle-C94g0Ufo.js → loader-circle-PWbcF4Lv.js} +1 -1
  58. package/web-app/dist/assets/{lock-qZQuLspz.js → lock-Bpz4x4fe.js} +1 -1
  59. package/web-app/dist/assets/{package-UJx4FWTL.js → package-B15vCu0K.js} +1 -1
  60. package/web-app/dist/assets/{plus-B9Runvu8.js → plus-C0tChz04.js} +1 -1
  61. package/web-app/dist/assets/{refresh-cw-Bw15X6HU.js → refresh-cw-BoJvJUHu.js} +1 -1
  62. package/web-app/dist/assets/{rotate-ccw-CTQHiWLi.js → rotate-ccw-CkYRMcmp.js} +1 -1
  63. package/web-app/dist/assets/{scroll-text-CYxP1XmA.js → scroll-text-DrZFCdjT.js} +1 -1
  64. package/web-app/dist/assets/{server-CuzmeflE.js → server-Bu3prV7g.js} +1 -1
  65. package/web-app/dist/assets/{shield-alert-C_ahttH-.js → shield-alert-Ct8WKcbl.js} +1 -1
  66. package/web-app/dist/assets/{thumbs-up-D-nBtZWz.js → thumbs-up-BXTieWXh.js} +1 -1
  67. package/web-app/dist/assets/{trash-2-Cez4MfM-.js → trash-2-j8kPf0Rp.js} +1 -1
  68. package/web-app/dist/assets/{trending-down-CkK1r5YZ.js → trending-down-6uNQaJHx.js} +1 -1
  69. package/web-app/dist/assets/{trending-up-DAnvatGe.js → trending-up-DsnJz2rA.js} +1 -1
  70. package/web-app/dist/assets/{upload-BfIhnZzQ.js → upload-CcR9H3Sn.js} +1 -1
  71. package/web-app/dist/assets/{usePolling--zRC6JF0.js → usePolling-8bOCgNQG.js} +1 -1
  72. package/web-app/dist/assets/{user-BDs4mI4D.js → user-uSKOq9lh.js} +1 -1
  73. package/web-app/dist/index.html +1 -1
  74. package/web-app/requirements.txt +6 -6
  75. package/web-app/dist/assets/index-gK3svzet.js +0 -435
@@ -0,0 +1,435 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-DGNkRAE2.js","assets/usePolling-8bOCgNQG.js","assets/ErrorBoundary-xoqc9Ypk.js","assets/TerminalOutput-CDLcTRF0.js","assets/lock-Bpz4x4fe.js","assets/EvidenceReceiptPanel-WfoGkBw1.js","assets/Badge-xhAWVqTk.js","assets/clock-a7_-OWs3.js","assets/circle-alert-BSasJfUu.js","assets/check-BmJB2Xqr.js","assets/package-B15vCu0K.js","assets/cloud-DrX9DhXi.js","assets/code-xml-BKuuaYjb.js","assets/hammer-CKex5IZg.js","assets/layers-BJpeiurx.js","assets/bell-D9uSrwuN.js","assets/file-code-corner-BH8h7Yza.js","assets/ProjectPage-oilUogSN.js","assets/Button-DPHlrUW7.js","assets/file-plus-DLDkZZXo.js","assets/activity-DYrOuAG7.js","assets/scroll-text-DrZFCdjT.js","assets/bot-C6Bn5s1m.js","assets/loader-circle-PWbcF4Lv.js","assets/dollar-sign-CFAcj-wt.js","assets/refresh-cw-BoJvJUHu.js","assets/globe-Ll1o1Ycp.js","assets/trash-2-j8kPf0Rp.js","assets/thumbs-up-BXTieWXh.js","assets/upload-CcR9H3Sn.js","assets/plus-C0tChz04.js","assets/rotate-ccw-CkYRMcmp.js","assets/trending-up-DsnJz2rA.js","assets/trending-down-6uNQaJHx.js","assets/server-Bu3prV7g.js","assets/ProjectPage-9CEnUXvW.css","assets/CockpitPage-QuYj3Nrx.js","assets/ProjectsPage-DEeRukgB.js","assets/TemplatesPage-BfICx9k6.js","assets/chevron-left-C-S6ysEt.js","assets/database-TMGZ6D6w.js","assets/SettingsPage-Dw_uFXXA.js","assets/TeamsPage-CPCicvyD.js","assets/Avatar-BEh-AUI_.js","assets/user-uSKOq9lh.js","assets/AdminPage-DootQsDP.js","assets/shield-alert-Ct8WKcbl.js","assets/SystemSettingsPage-DSHQjPUw.js","assets/MetricsPage-Btvb_sUN.js","assets/MagicPage-nBvtlxPD.js"])))=>i.map(i=>d[i]);
2
+ var bg=Object.defineProperty;var Sg=(i,o,r)=>o in i?bg(i,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[o]=r;var _u=(i,o,r)=>Sg(i,typeof o!="symbol"?o+"":o,r);(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))s(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const p of m.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function r(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function s(d){if(d.ep)return;d.ep=!0;const m=r(d);fetch(d.href,m)}})();function xg(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var er={exports:{}},Nu={};/**
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 u0;function Eg(){if(u0)return Nu;u0=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function r(s,d,m){var p=null;if(m!==void 0&&(p=""+m),d.key!==void 0&&(p=""+d.key),"key"in d){m={};for(var S in d)S!=="key"&&(m[S]=d[S])}else m=d;return d=m.ref,{$$typeof:i,type:s,key:p,ref:d!==void 0?d:null,props:m}}return Nu.Fragment=o,Nu.jsx=r,Nu.jsxs=r,Nu}var i0;function Tg(){return i0||(i0=1,er.exports=Eg()),er.exports}var h=Tg(),tr={exports:{}},ae={};/**
11
+ * @license React
12
+ * react.production.js
13
+ *
14
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var c0;function _g(){if(c0)return ae;c0=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),j=Symbol.for("react.view_transition"),U=Symbol.iterator;function B(E){return E===null||typeof E!="object"?null:(E=U&&E[U]||E["@@iterator"],typeof E=="function"?E:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,G={};function F(E,L,K){this.props=E,this.context=L,this.refs=G,this.updater=K||D}F.prototype.isReactComponent={},F.prototype.setState=function(E,L){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,L,"setState")},F.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function ee(){}ee.prototype=F.prototype;function ze(E,L,K){this.props=E,this.context=L,this.refs=G,this.updater=K||D}var Se=ze.prototype=new ee;Se.constructor=ze,q(Se,F.prototype),Se.isPureReactComponent=!0;var Me=Array.isArray;function te(){}var ce={H:null,A:null,T:null,S:null},at=Object.prototype.hasOwnProperty;function nt(E,L,K){var J=K.ref;return{$$typeof:i,type:E,key:L,ref:J!==void 0?J:null,props:K}}function ht(E,L){return nt(E.type,L,E.props)}function it(E){return typeof E=="object"&&E!==null&&E.$$typeof===i}function Vt(E){var L={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return L[K]})}var Pt=/\/+/g;function Ne(E,L){return typeof E=="object"&&E!==null&&E.key!=null?Vt(""+E.key):L.toString(36)}function k(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(te,te):(E.status="pending",E.then(function(L){E.status==="pending"&&(E.status="fulfilled",E.value=L)},function(L){E.status==="pending"&&(E.status="rejected",E.reason=L)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function W(E,L,K,J,he){var me=typeof E;(me==="undefined"||me==="boolean")&&(E=null);var ve=!1;if(E===null)ve=!0;else switch(me){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(E.$$typeof){case i:case o:ve=!0;break;case x:return ve=E._init,W(ve(E._payload),L,K,J,he)}}if(ve)return he=he(E),ve=J===""?"."+Ne(E,0):J,Me(he)?(K="",ve!=null&&(K=ve.replace(Pt,"$&/")+"/"),W(he,L,K,"",function(ml){return ml})):he!=null&&(it(he)&&(he=ht(he,K+(he.key==null||E&&E.key===he.key?"":(""+he.key).replace(Pt,"$&/")+"/")+ve)),L.push(he)),1;ve=0;var X=J===""?".":J+":";if(Me(E))for(var le=0;le<E.length;le++)J=E[le],me=X+Ne(J,le),ve+=W(J,L,K,me,he);else if(le=B(E),typeof le=="function")for(E=le.call(E),le=0;!(J=E.next()).done;)J=J.value,me=X+Ne(J,le++),ve+=W(J,L,K,me,he);else if(me==="object"){if(typeof E.then=="function")return W(k(E),L,K,J,he);throw L=String(E),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return ve}function P(E,L,K){if(E==null)return E;var J=[],he=0;return W(E,J,"","",function(me){return L.call(K,me,he++)}),J}function Ce(E){if(E._status===-1){var L=E._result,K=L();K.then(function(J){(E._status===0||E._status===-1)&&(E._status=1,E._result=J,K.status===void 0&&(K.status="fulfilled",K.value=J))},function(J){(E._status===0||E._status===-1)&&(E._status=2,E._result=J,K.status===void 0&&(K.status="rejected",K.reason=J))}),E._status===-1&&(E._status=0,E._result=K)}if(E._status===1)return E._result.default;throw E._result}var pe=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=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(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function Qt(E){var L=ce.T,K={};K.types=L!==null?L.types:null,ce.T=K;try{var J=E(),he=ce.S;he!==null&&he(K,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(te,pe)}catch(me){pe(me)}finally{L!==null&&K.types!==null&&(L.types=K.types),ce.T=L}}function hl(E){var L=ce.T;if(L!==null){var K=L.types;K===null?L.types=[E]:K.indexOf(E)===-1&&K.push(E)}else Qt(hl.bind(null,E))}var ia={map:P,forEach:function(E,L,K){P(E,function(){L.apply(this,arguments)},K)},count:function(E){var L=0;return P(E,function(){L++}),L},toArray:function(E){return P(E,function(L){return L})||[]},only:function(E){if(!it(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ae.Activity=y,ae.Children=ia,ae.Component=F,ae.Fragment=r,ae.Profiler=d,ae.PureComponent=ze,ae.StrictMode=s,ae.Suspense=C,ae.ViewTransition=j,ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ce,ae.__COMPILER_RUNTIME={__proto__:null,c:function(E){return ce.H.useMemoCache(E)}},ae.addTransitionType=hl,ae.cache=function(E){return function(){return E.apply(null,arguments)}},ae.cacheSignal=function(){return null},ae.cloneElement=function(E,L,K){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var J=q({},E.props),he=E.key;if(L!=null)for(me in L.key!==void 0&&(he=""+L.key),L)!at.call(L,me)||me==="key"||me==="__self"||me==="__source"||me==="ref"&&L.ref===void 0||(J[me]=L[me]);var me=arguments.length-2;if(me===1)J.children=K;else if(1<me){for(var ve=Array(me),X=0;X<me;X++)ve[X]=arguments[X+2];J.children=ve}return nt(E.type,he,J)},ae.createContext=function(E){return E={$$typeof:p,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:m,_context:E},E},ae.createElement=function(E,L,K){var J,he={},me=null;if(L!=null)for(J in L.key!==void 0&&(me=""+L.key),L)at.call(L,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(he[J]=L[J]);var ve=arguments.length-2;if(ve===1)he.children=K;else if(1<ve){for(var X=Array(ve),le=0;le<ve;le++)X[le]=arguments[le+2];he.children=X}if(E&&E.defaultProps)for(J in ve=E.defaultProps,ve)he[J]===void 0&&(he[J]=ve[J]);return nt(E,me,he)},ae.createRef=function(){return{current:null}},ae.forwardRef=function(E){return{$$typeof:S,render:E}},ae.isValidElement=it,ae.lazy=function(E){return{$$typeof:x,_payload:{_status:-1,_result:E},_init:Ce}},ae.memo=function(E,L){return{$$typeof:z,type:E,compare:L===void 0?null:L}},ae.startTransition=Qt,ae.unstable_useCacheRefresh=function(){return ce.H.useCacheRefresh()},ae.use=function(E){return ce.H.use(E)},ae.useActionState=function(E,L,K){return ce.H.useActionState(E,L,K)},ae.useCallback=function(E,L){return ce.H.useCallback(E,L)},ae.useContext=function(E){return ce.H.useContext(E)},ae.useDebugValue=function(){},ae.useDeferredValue=function(E,L){return ce.H.useDeferredValue(E,L)},ae.useEffect=function(E,L){return ce.H.useEffect(E,L)},ae.useEffectEvent=function(E){return ce.H.useEffectEvent(E)},ae.useId=function(){return ce.H.useId()},ae.useImperativeHandle=function(E,L,K){return ce.H.useImperativeHandle(E,L,K)},ae.useInsertionEffect=function(E,L){return ce.H.useInsertionEffect(E,L)},ae.useLayoutEffect=function(E,L){return ce.H.useLayoutEffect(E,L)},ae.useMemo=function(E,L){return ce.H.useMemo(E,L)},ae.useOptimistic=function(E,L){return ce.H.useOptimistic(E,L)},ae.useReducer=function(E,L,K){return ce.H.useReducer(E,L,K)},ae.useRef=function(E){return ce.H.useRef(E)},ae.useState=function(E){return ce.H.useState(E)},ae.useSyncExternalStore=function(E,L,K){return ce.H.useSyncExternalStore(E,L,K)},ae.useTransition=function(){return ce.H.useTransition()},ae.version="19.3.0",ae}var o0;function gr(){return o0||(o0=1,tr.exports=_g()),tr.exports}var g=gr();const nx=xg(g);var lr={exports:{}},Cu={},ar={exports:{}},nr={};/**
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 s0;function Ng(){return s0||(s0=1,(function(i){function o(k,W){var P=k.length;k.push(W);e:for(;0<P;){var Ce=P-1>>>1,pe=k[Ce];if(0<d(pe,W))k[Ce]=W,k[P]=pe,P=Ce;else break e}}function r(k){return k.length===0?null:k[0]}function s(k){if(k.length===0)return null;var W=k[0],P=k.pop();if(P!==W){k[0]=P;e:for(var Ce=0,pe=k.length,Qt=pe>>>1;Ce<Qt;){var hl=2*(Ce+1)-1,ia=k[hl],E=hl+1,L=k[E];if(0>d(ia,P))E<pe&&0>d(L,ia)?(k[Ce]=L,k[E]=P,Ce=E):(k[Ce]=ia,k[hl]=P,Ce=hl);else if(E<pe&&0>d(L,P))k[Ce]=L,k[E]=P,Ce=E;else break e}}return W}function d(k,W){var P=k.sortIndex-W.sortIndex;return P!==0?P:k.id-W.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var p=Date,S=p.now();i.unstable_now=function(){return p.now()-S}}var C=[],z=[],x=1,y=null,j=3,U=!1,B=!1,D=!1,q=!1,G=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;function ze(k){for(var W=r(z);W!==null;){if(W.callback===null)s(z);else if(W.startTime<=k)s(z),W.sortIndex=W.expirationTime,o(C,W);else break;W=r(z)}}function Se(k){if(D=!1,ze(k),!B)if(r(C)!==null)B=!0,Me||(Me=!0,it());else{var W=r(z);W!==null&&Ne(Se,W.startTime-k)}}var Me=!1,te=-1,ce=5,at=-1;function nt(){return q?!0:!(i.unstable_now()-at<ce)}function ht(){if(q=!1,Me){var k=i.unstable_now();at=k;var W=!0;try{e:{B=!1,D&&(D=!1,F(te),te=-1),U=!0;var P=j;try{t:{for(ze(k),y=r(C);y!==null&&!(y.expirationTime>k&&nt());){var Ce=y.callback;if(typeof Ce=="function"){y.callback=null,j=y.priorityLevel;var pe=Ce(y.expirationTime<=k);if(k=i.unstable_now(),typeof pe=="function"){y.callback=pe,ze(k),W=!0;break t}y===r(C)&&s(C),ze(k)}else s(C);y=r(C)}if(y!==null)W=!0;else{var Qt=r(z);Qt!==null&&Ne(Se,Qt.startTime-k),W=!1}}break e}finally{y=null,j=P,U=!1}W=void 0}}finally{W?it():Me=!1}}}var it;if(typeof ee=="function")it=function(){ee(ht)};else if(typeof MessageChannel<"u"){var Vt=new MessageChannel,Pt=Vt.port2;Vt.port1.onmessage=ht,it=function(){Pt.postMessage(null)}}else it=function(){G(ht,0)};function Ne(k,W){te=G(function(){k(i.unstable_now())},W)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(k){k.callback=null},i.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ce=0<k?Math.floor(1e3/k):5},i.unstable_getCurrentPriorityLevel=function(){return j},i.unstable_next=function(k){switch(j){case 1:case 2:case 3:var W=3;break;default:W=j}var P=j;j=W;try{return k()}finally{j=P}},i.unstable_requestPaint=function(){q=!0},i.unstable_runWithPriority=function(k,W){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var P=j;j=k;try{return W()}finally{j=P}},i.unstable_scheduleCallback=function(k,W,P){var Ce=i.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?Ce+P:Ce):P=Ce,k){case 1:var pe=-1;break;case 2:pe=250;break;case 5:pe=1073741823;break;case 4:pe=1e4;break;default:pe=5e3}return pe=P+pe,k={id:x++,callback:W,priorityLevel:k,startTime:P,expirationTime:pe,sortIndex:-1},P>Ce?(k.sortIndex=P,o(z,k),r(C)===null&&k===r(z)&&(D?(F(te),te=-1):D=!0,Ne(Se,P-Ce))):(k.sortIndex=pe,o(C,k),B||U||(B=!0,Me||(Me=!0,it()))),k},i.unstable_shouldYield=nt,i.unstable_wrapCallback=function(k){var W=j;return function(){var P=j;j=W;try{return k.apply(this,arguments)}finally{j=P}}}})(nr)),nr}var r0;function Cg(){return r0||(r0=1,ar.exports=Ng()),ar.exports}var ur={exports:{}},tt={};/**
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 f0;function Rg(){if(f0)return tt;f0=1;var i=gr();function o(x){var y="https://react.dev/errors/"+x;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)y+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+x+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var s={d:{f:r,r:function(){throw Error(o(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},d=Symbol.for("react.portal"),m=Symbol.for("react.recoverable"),p=Symbol.for("react.optimistic_key");function S(x,y,j){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:U==null?null:U===p?p:""+U,children:x,containerInfo:y,implementation:j}}var C=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function z(x,y){if(x==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,tt.browser=function(x){return{$$typeof:m,_reason:x}},tt.createPortal=function(x,y){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(o(299));return S(x,y,null,j)},tt.flushSync=function(x){var y=C.T,j=s.p;try{if(C.T=null,s.p=2,x)return x()}finally{C.T=y,s.p=j,s.d.f()}},tt.preconnect=function(x,y){typeof x=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(x,y))},tt.prefetchDNS=function(x){typeof x=="string"&&s.d.D(x)},tt.preinit=function(x,y){if(typeof x=="string"&&y&&typeof y.as=="string"){var j=y.as,U=z(j,y.crossOrigin),B=typeof y.integrity=="string"?y.integrity:void 0,D=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;j==="style"?s.d.S(x,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:U,integrity:B,fetchPriority:D}):j==="script"&&s.d.X(x,{crossOrigin:U,integrity:B,fetchPriority:D,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},tt.preinitModule=function(x,y){if(typeof x=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var j=z(y.as,y.crossOrigin);s.d.M(x,{crossOrigin:j,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}}else y==null&&s.d.M(x)},tt.preload=function(x,y){if(typeof x=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var j=y.as,U=z(j,y.crossOrigin);s.d.L(x,j,{crossOrigin:U,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},tt.preloadModule=function(x,y){if(typeof x=="string")if(y){var j=z(y.as,y.crossOrigin);s.d.m(x,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:j,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}else s.d.m(x)},tt.requestFormReset=function(x){s.d.r(x)},tt.unstable_batchedUpdates=function(x,y){return x(y)},tt.useFormState=function(x,y,j){return C.H.useFormState(x,y,j)},tt.useFormStatus=function(){return C.H.useHostTransitionStatus()},tt.version="19.3.0",tt}var d0;function zg(){if(d0)return ur.exports;d0=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),ur.exports=Rg(),ur.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 h0;function Og(){if(h0)return Cu;h0=1;var i=Cg(),o=gr(),r=zg();function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}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 d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){for(var t=e,l=t;l&&!l.alternate;)t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;for(;t.return;)t=t.return;return t.tag===3?e: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 S(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 C(e){if(m(e)!==e)throw Error(s(188))}function z(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(s(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return C(n),e;if(u===a)return C(n),t;u=u.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=u;else{for(var c=!1,f=n.child;f;){if(f===l){c=!0,l=n,a=u;break}if(f===a){c=!0,a=n,l=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===l){c=!0,l=u,a=n;break}if(f===a){c=!0,a=u,l=n;break}f=f.sibling}if(!c)throw Error(s(189))}}if(l.alternate!==a)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}function y(e,t,l,a,n,u){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&l(e,a,n,u)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&y(e.child,t,l,a,n,u))return!0;e=e.sibling}return!1}function j(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function U(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function B(e){var t=[null,null],l=j(e);return l===null||D(t,e,l.child,{foundSelf:!1}),t}function D(e,t,l,a){for(;l!==null;){if(l===t)a.foundSelf=!0;else if(l.tag===5||l.tag===27||l.tag===6){if(a.foundSelf)return e[1]=l,!0;e[0]=l}else if((l.tag!==22||l.memoizedState===null)&&D(e,t,l.child,a))return!0;l=l.sibling}return!1}function q(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(s(559))}}var G=null,F=null;function ee(e,t,l){return e===l?!0:e===t?(G=e,!0):!1}function ze(e,t,l){return e===l?(F=e,!1):e===t?(F!==null&&(G=e),!0):!1}function Se(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function Me(e,t,l){for(var a=0,n=e;n;n=l(n))a++;n=0;for(var u=t;u;u=l(u))n++;for(;0<a-n;)e=l(e),a--;for(;0<n-a;)t=l(t),n--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=l(e),t=l(t)}return null}var te=Object.assign,ce=Symbol.for("react.element"),at=Symbol.for("react.transitional.element"),nt=Symbol.for("react.portal"),ht=Symbol.for("react.fragment"),it=Symbol.for("react.strict_mode"),Vt=Symbol.for("react.profiler"),Pt=Symbol.for("react.consumer"),Ne=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),Qt=Symbol.for("react.activity"),hl=Symbol.for("react.legacy_hidden"),ia=Symbol.for("react.memo_cache_sentinel"),E=Symbol.for("react.view_transition"),L=Symbol.for("react.recoverable"),K=Symbol.iterator;function J(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var he=Symbol.for("react.client.reference");function me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===he?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ht:return"Fragment";case Vt:return"Profiler";case it:return"StrictMode";case W:return"Suspense";case P:return"SuspenseList";case Qt:return"Activity";case E:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case nt:return"Portal";case Ne:return e.displayName||"Context";case Pt:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ce:return t=e.displayName||null,t!==null?t:me(e.type)||"Memo";case pe:t=e._payload,e=e._init;try{return me(e(t))}catch{}}return null}var ve=Array.isArray,X=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ml={pending:!1,data:null,method:null,action:null},pc=[],Ma=-1;function el(e){return{current:e}}function Je(e){0>Ma||(e.current=pc[Ma],pc[Ma]=null,Ma--)}function Oe(e,t){Ma++,pc[Ma]=e.current,e.current=t}var tl=el(null),An=el(null),jl=el(null),ju=el(null);function Mu(e,t){switch(Oe(jl,t),Oe(An,e),Oe(tl,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?mm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=mm(t),e=ym(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Je(tl),Oe(tl,e)}function wa(){Je(tl),Je(An),Je(jl)}function bc(e){var t=e.memoizedState;t!==null&&(xn._currentValue=t.memoizedState,Oe(ju,e)),t=tl.current;var l=ym(t,e.type);t!==l&&(Oe(An,e),Oe(tl,l))}function wu(e){An.current===e&&(Je(tl),Je(An)),ju.current===e&&(Je(ju),xn._currentValue=ml)}var Sc,Dr;function Ml(e){if(Sc===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Sc=t&&t[1]||"",Dr=-1<l.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+Sc+e+Dr}var xc=!1;function Ec(e,t){if(!e||xc)return"";xc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(Y){var T=Y}Reflect.construct(e,[],w)}else{try{w.call()}catch(Y){T=Y}w=!1;try{var O=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),w=!0,new e}finally{w&&(O!==void 0?Object.defineProperty(e.prototype,"props",O):delete e.prototype.props)}}}else{try{throw Error()}catch(Y){T=Y}(w=e())&&typeof w.catch=="function"&&w.catch(function(){})}}catch(Y){if(Y&&T&&typeof Y.stack=="string")return[Y.stack,T.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],f=u[1];if(c&&f){var v=c.split(`
45
+ `),N=f.split(`
46
+ `);for(n=a=0;a<v.length&&!v[a].includes("DetermineComponentFrameRoot");)a++;for(;n<N.length&&!N[n].includes("DetermineComponentFrameRoot");)n++;if(a===v.length||n===N.length)for(a=v.length-1,n=N.length-1;1<=a&&0<=n&&v[a]!==N[n];)n--;for(;1<=a&&0<=n;a--,n--)if(v[a]!==N[n]){if(a!==1||n!==1)do if(a--,n--,0>n||v[a]!==N[n]){var A=`
47
+ `+v[a].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=a&&0<=n);break}}}finally{xc=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Ml(l):""}function Ty(e,t){switch(e.tag){case 26:case 27:case 5:return Ml(e.type);case 16:return Ml("Lazy");case 13:return e.child!==t&&t!==null?Ml("Suspense Fallback"):Ml("Suspense");case 19:return Ml("SuspenseList");case 0:case 15:return Ec(e.type,!1);case 11:return Ec(e.type.render,!1);case 1:return Ec(e.type,!0);case 31:return Ml("Activity");case 30:return Ml("ViewTransition");default:return""}}function Ur(e){try{var t="",l=null;do t+=Ty(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
48
+ Error generating stack: `+a.message+`
49
+ `+a.stack}}var Tc=Object.prototype.hasOwnProperty,_c=i.unstable_scheduleCallback,Nc=i.unstable_cancelCallback,_y=i.unstable_shouldYield,Ny=i.unstable_requestPaint,St=i.unstable_now,Cy=i.unstable_getCurrentPriorityLevel,Hr=i.unstable_ImmediatePriority,Lr=i.unstable_UserBlockingPriority,Du=i.unstable_NormalPriority,Ry=i.unstable_LowPriority,Br=i.unstable_IdlePriority,zy=i.log,Oy=i.unstable_setDisableYieldValue,jn=null,xt=null;function wl(e){if(typeof zy=="function"&&Oy(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(jn,e)}catch{}}var Et=Math.clz32?Math.clz32:My,Ay=Math.log,jy=Math.LN2;function My(e){return e>>>=0,e===0?32:31-(Ay(e)/jy|0)|0}var Uu=256,Hu=262144,Lu=4194304;function ca(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&-e;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 Bu(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=ca(a):(c&=f,c!==0?n=ca(c):l||(l=f&~e,l!==0&&(n=ca(l))))):(f=a&~u,f!==0?n=ca(f):c!==0?n=ca(c):l||(l=a&~e,l!==0&&(n=ca(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function Mn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function qr(e,t){(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var a=31-Et(l),n=1<<a;t|=e[a],l&=~n}return t}function wy(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 Yr(){var e=Lu;return Lu<<=1,(Lu&62914560)===0&&(Lu=4194304),e}function Cc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function wn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Dy(e,t,l,a,n,u){var c=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var f=e.entanglements,v=e.expirationTimes,N=e.hiddenUpdates;for(l=c&~l;0<l;){var A=31-Et(l),w=1<<A;f[A]=0,v[A]=-1;var T=N[A];if(T!==null)for(N[A]=null,A=0;A<T.length;A++){var O=T[A];O!==null&&(O.lane&=-536870913)}l&=~w}a!==0&&Gr(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(c&~t))}function Gr(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Et(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function kr(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-Et(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Vr(e,t){var l=t&-t;return l=(l&42)!==0?1:Rc(l),(l&(e.suspendedLanes|t))!==0?0:l}function Rc(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 zc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Qr(){var e=le.p;return e!==0?e:(e=window.event,e===void 0?32:Wm(e.type))}function Xr(e,t){var l=le.p;try{return le.p=e,t()}finally{le.p=l}}var yl=Math.random().toString(36).slice(2),$e="__reactFiber$"+yl,mt="__reactProps$"+yl,Da="__reactContainer$"+yl,Zr="__reactEvents$"+yl,Uy="__reactListeners$"+yl,Hy="__reactHandles$"+yl,Kr="__reactResources$"+yl,Dn="__reactMarker$"+yl,qu="__reactLoad$"+yl;function Yu(e){delete e[$e],delete e[mt],delete e[Uy],delete e[Hy]}function oa(e){var t;if(t=e[$e])return t;for(var l=e.parentNode;l;){if(t=l[Da]||l[$e]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Mm(e);e!==null;){if(l=e[$e])return l;e=Mm(e)}return t}e=l,l=e.parentNode}return null}function Ua(e){if(e=e[$e]||e[Da]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Un(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function Ha(e){var t=e[Kr];return t||(t=e[Kr]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Qe(e){e[Dn]=!0}function Jr(e){e[qu]=void 0}var $r=new Set,Fr={};function sa(e,t){La(e,t),La(e+"Capture",t)}function La(e,t){for(Fr[e]=t,e=0;e<t.length;e++)$r.add(t[e])}var Ly=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]*$"),Ir={},Wr={};function By(e){return Tc.call(Wr,e)?!0:Tc.call(Ir,e)?!1:Ly.test(e)?Wr[e]=!0:(Ir[e]=!0,!1)}var ye=!1;function Pr(){var e=ye;return ye=!1,e}function Gu(e,t,l){if(By(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,l)}}function ku(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,l)}}function vl(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,a)}}function Tt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ef(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qy(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(c){l=""+c,u.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oc(e){if(!e._valueTracker){var t=ef(e)?"checked":"value";e._valueTracker=qy(e,t,""+e[t])}}function tf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=ef(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}var Yy=/[\n"\\]/g;function Mt(e){return e.replace(Yy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ac(e,t,l,a,n,u,c,f){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Tt(t)):e.value!==""+Tt(t)&&(e.value=""+Tt(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?c==="number"&&e.value==t?jc(e,Tt(e.value)):jc(e,Tt(t)):l!=null?jc(e,Tt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.name=""+Tt(f):e.removeAttribute("name")}function lf(e,t,l,a,n,u,c,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Oc(e);return}l=l!=null?""+Tt(l):"",t=t!=null?""+Tt(t):l,f||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=f?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),Oc(e)}function jc(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Ba(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Tt(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function af(e,t,l){if(t!=null&&(t=""+Tt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Tt(l):""}function nf(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(s(92));if(ve(a)){if(1<a.length)throw Error(s(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Tt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),Oc(e)}function qa(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Gy=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 uf(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||Gy.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function cf(e,t,l){if(t!=null&&typeof t!="object")throw Error(s(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="",ye=!0);for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&(uf(e,n,a),ye=!0)}else for(var u in t)t.hasOwnProperty(u)&&uf(e,u,t[u])}function Mc(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 ky=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"],["maskType","mask-type"],["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"]]),Vy=/^[\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 Vu(e){return Vy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ll(){}var wc=null;function Dc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ya=null,Ga=null;function of(e){var t=Ua(e);if(t&&(e=t.stateNode)){var l=e[mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ac(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Mt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[mt]||null;if(!n)throw Error(s(90));Ac(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&tf(a)}break e;case"textarea":af(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Ba(e,!!l.multiple,t,!1)}}}var Uc=!1;function sf(e,t,l){if(Uc)return e(t,l);Uc=!0;try{var a=e(t);return a}finally{if(Uc=!1,(Ya!==null||Ga!==null)&&(Vi(),Ya&&(t=Ya,e=Ga,Ga=Ya=null,of(t),e)))for(t=0;t<e.length;t++)of(e[t])}}function Hn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[mt]||null;if(a===null)return null;l=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(s(231,t,typeof l));return l}var gl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hc=!1;if(gl)try{var Ln={};Object.defineProperty(Ln,"passive",{get:function(){Hc=!0}}),window.addEventListener("test",Ln,Ln),window.removeEventListener("test",Ln,Ln)}catch{Hc=!1}var Dl=null,Lc=null,Qu=null;function rf(){if(Qu)return Qu;var e,t=Lc,l=t.length,a,n="value"in Dl?Dl.value:Dl.textContent,u=n.length;for(e=0;e<l&&t[e]===n[e];e++);var c=l-e;for(a=1;a<=c&&t[l-a]===n[u-a];a++);return Qu=n.slice(e,1<a?1-a:void 0)}function Xu(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 Zu(){return!0}function ff(){return!1}function ct(e){function t(l,a,n,u,c){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(l=e[f],this[f]=l?l(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Zu:ff,this.isPropagationStopped=ff,this}return te(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Zu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Zu)},persist:function(){},isPersistent:Zu}),t}var Ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ku=ct(Ul),Bn=te({},Ul,{view:0,detail:0}),Qy=ct(Bn),Bc,qc,qn,Ju=te({},Bn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gc,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!==qn&&(qn&&e.type==="mousemove"?(Bc=e.screenX-qn.screenX,qc=e.screenY-qn.screenY):qc=Bc=0,qn=e),Bc)},movementY:function(e){return"movementY"in e?e.movementY:qc}}),df=ct(Ju),Xy=te({},Ju,{dataTransfer:0}),Zy=ct(Xy),Ky=te({},Bn,{relatedTarget:0}),Yc=ct(Ky),Jy=te({},Ul,{animationName:0,elapsedTime:0,pseudoElement:0}),$y=ct(Jy),Fy=te({},Ul,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Iy=ct(Fy),Wy=te({},Ul,{data:0}),hf=ct(Wy),Py={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ev={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"},tv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tv[e])?!!t[e]:!1}function Gc(){return lv}var av=te({},Bn,{key:function(e){if(e.key){var t=Py[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ev[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gc,charCode:function(e){return e.type==="keypress"?Xu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nv=ct(av),uv=te({},Ju,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mf=ct(uv),iv=te({},Ul,{submitter:0}),cv=ct(iv),ov=te({},Bn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gc}),sv=ct(ov),rv=te({},Ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),fv=ct(rv),dv=te({},Ju,{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}),hv=ct(dv),mv=te({},Ul,{newState:0,oldState:0,source:0}),yv=ct(mv),vv=[9,13,27,32],kc=gl&&"CompositionEvent"in window,Yn=null;gl&&"documentMode"in document&&(Yn=document.documentMode);var gv=gl&&"TextEvent"in window&&!Yn,yf=gl&&(!kc||Yn&&8<Yn&&11>=Yn),vf=" ",gf=!1;function pf(e,t){switch(e){case"keyup":return vv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ka=!1;function pv(e,t){switch(e){case"compositionend":return bf(t);case"keypress":return t.which!==32?null:(gf=!0,vf);case"textInput":return e=t.data,e===vf&&gf?null:e;default:return null}}function bv(e,t){if(ka)return e==="compositionend"||!kc&&pf(e,t)?(e=rf(),Qu=Lc=Dl=null,ka=!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 yf&&t.locale!=="ko"?null:t.data;default:return null}}var Sv={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 Sf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Sv[e.type]:t==="textarea"}function xf(e,t,l,a){Ya?Ga?Ga.push(a):Ga=[a]:Ya=a,t=$i(t,"onChange"),0<t.length&&(l=new Ku("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var Gn=null,kn=null;function xv(e){om(e,0)}function $u(e){var t=Un(e);if(tf(t))return e}function Ef(e,t){if(e==="change")return t}var Tf=!1;if(gl){var Vc;if(gl){var Qc="oninput"in document;if(!Qc){var _f=document.createElement("div");_f.setAttribute("oninput","return;"),Qc=typeof _f.oninput=="function"}Vc=Qc}else Vc=!1;Tf=Vc&&(!document.documentMode||9<document.documentMode)}function Nf(){Gn&&(Gn.detachEvent("onpropertychange",Cf),kn=Gn=null)}function Cf(e){if(e.propertyName==="value"&&$u(kn)){var t=[];xf(t,kn,e,Dc(e)),sf(xv,t)}}function Ev(e,t,l){e==="focusin"?(Nf(),Gn=t,kn=l,Gn.attachEvent("onpropertychange",Cf)):e==="focusout"&&Nf()}function Tv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $u(kn)}function _v(e,t){if(e==="click")return $u(t)}function Nv(e,t){if(e==="input"||e==="change")return $u(t)}function Cv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:Cv;function Vn(e,t){if(_t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Tc.call(t,n)||!_t(e[n],t[n]))return!1}return!0}function Xc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zf(e,t){var l=Rf(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Rf(l)}}function Of(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Of(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Af(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Xc(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Xc(e.document)}return t}function Zc(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 Rv=gl&&"documentMode"in document&&11>=document.documentMode,Va=null,Kc=null,Qn=null,Jc=!1;function jf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Jc||Va==null||Va!==Xc(a)||(a=Va,"selectionStart"in a&&Zc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Qn&&Vn(Qn,a)||(Qn=a,a=$i(Kc,"onSelect"),0<a.length&&(t=new Ku("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Va)))}function ra(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Qa={animationend:ra("Animation","AnimationEnd"),animationiteration:ra("Animation","AnimationIteration"),animationstart:ra("Animation","AnimationStart"),transitionrun:ra("Transition","TransitionRun"),transitionstart:ra("Transition","TransitionStart"),transitioncancel:ra("Transition","TransitionCancel"),transitionend:ra("Transition","TransitionEnd")},$c={},Mf={};gl&&(Mf=document.createElement("div").style,"AnimationEvent"in window||(delete Qa.animationend.animation,delete Qa.animationiteration.animation,delete Qa.animationstart.animation),"TransitionEvent"in window||delete Qa.transitionend.transition);function fa(e){if($c[e])return $c[e];if(!Qa[e])return e;var t=Qa[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Mf)return $c[e]=t[l];return e}var wf=fa("animationend"),Df=fa("animationiteration"),Uf=fa("animationstart"),zv=fa("transitionrun"),Ov=fa("transitionstart"),Av=fa("transitioncancel"),Hf=fa("transitionend"),Lf=new Map,Fc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");Fc.push("scrollEnd");function Xt(e,t){Lf.set(e,t),sa(t,[e])}var jv=0;function pl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=$t.identifierPrefix;var l=jv++;return e="_"+e+"t_"+l.toString(32)+"_",t.autoName=e}function Bf(e){if(e==null||typeof e=="string")return e;var t=null,l=fn;if(l!==null)for(var a=0;a<l.length;a++){var n=e[l[a]];if(n!=null){if(n==="none")return"none";t=t==null?n:t+(" "+n)}}return t??e.default}function bl(e,t){return e=Bf(e),t=Bf(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Fu=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)},wt=[],Xa=0,Ic=0;function Iu(){for(var e=Xa,t=Ic=Xa=0;t<e;){var l=wt[t];wt[t++]=null;var a=wt[t];wt[t++]=null;var n=wt[t];wt[t++]=null;var u=wt[t];if(wt[t++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&qf(l,n,u)}}function Wu(e,t,l,a){wt[Xa++]=e,wt[Xa++]=t,wt[Xa++]=l,wt[Xa++]=a,Ic|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Wc(e,t,l,a){return Wu(e,t,l,a),Pu(e)}function da(e,t){return Wu(e,null,null,t),Pu(e)}function qf(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&t!==null&&(n=31-Et(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function Pu(e){if(50<du)throw du=0,ki=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Za={};function Mv(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yt(e,t,l,a){return new Mv(e,t,l,a)}function Pc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sl(e,t){var l=e.alternate;return l===null?(l=yt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&1206910976,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function Yf(e,t){e.flags&=1206910978;var l=e.alternate;return l===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=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ei(e,t,l,a,n,u){var c=0;if(a=e,typeof a=="function")Pc(a)&&(c=1);else if(typeof a=="string")c=ig(e,l,tl.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(a){case Qt:return e=yt(31,l,t,n),e.elementType=Qt,e.lanes=u,e;case ht:return ha(l.children,n,u,t);case it:c=8,n|=24;break;case Vt:return e=yt(12,l,t,n|2),e.elementType=Vt,e.lanes=u,e;case W:return e=yt(13,l,t,n),e.elementType=W,e.lanes=u,e;case P:return e=yt(19,l,t,n),e.elementType=P,e.lanes=u,e;case hl:case E:return e=n|32,e=yt(30,l,t,e),e.elementType=E,e.lanes=u,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Ne:c=10;break e;case Pt:c=9;break e;case k:c=11;break e;case Ce:c=14;break e;case pe:c=16,a=null;break e}c=29,l=Error(s(130,e===null?"null":typeof e,"")),a=null}return t=yt(c,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function ha(e,t,l,a){return e=yt(7,e,a,t),e.lanes=l,e}function eo(e,t,l){return e=yt(6,e,null,t),e.lanes=l,e}function Gf(e){var t=yt(18,null,null,0);return t.stateNode=e,t}function to(e,t,l){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var kf=new WeakMap;function Dt(e,t){if(typeof e=="object"&&e!==null){var l=kf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ur(t)},kf.set(e,t),t)}return{value:e,source:t,stack:Ur(t)}}var Ka=[],Ja=0,ti=null,Xn=0,Ut=[],Ht=0,Hl=null,al=1,nl="";function xl(e,t){Ka[Ja++]=Xn,Ka[Ja++]=ti,ti=e,Xn=t}function Vf(e,t,l){Ut[Ht++]=al,Ut[Ht++]=nl,Ut[Ht++]=Hl,Hl=e;var a=al;e=nl;var n=32-Et(a)-1;a&=~(1<<n),l+=1;var u=32-Et(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,al=1<<32-Et(t)+n|l<<n|a,nl=u+e}else al=1<<u|l<<n|a,nl=e}function li(e){e.return!==null&&(xl(e,1),Vf(e,1,0))}function lo(e){for(;e===ti;)ti=Ka[--Ja],Ka[Ja]=null,Xn=Ka[--Ja],Ka[Ja]=null;for(;e===Hl;)Hl=Ut[--Ht],Ut[Ht]=null,nl=Ut[--Ht],Ut[Ht]=null,al=Ut[--Ht],Ut[Ht]=null}function Qf(e,t){Ut[Ht++]=al,Ut[Ht++]=nl,Ut[Ht++]=Hl,al=t.id,nl=t.overflow,Hl=e}var Xe=null,Ae=null,ie=!1,Ll=null,Lt=!1,ao=Error(s(519));function Bl(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Zn(Dt(t,e)),ao}function Xf(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[$e]=e,t[mt]=a,l){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(l=0;l<mu.length;l++)se(mu[l],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":se("invalid",t),lf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":se("invalid",t);break;case"textarea":se("invalid",t),nf(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||dm(t.textContent,l)?(a.popover!=null&&(se("beforetoggle",t),se("toggle",t)),a.onScroll!=null&&se("scroll",t),a.onScrollEnd!=null&&se("scrollend",t),a.onClick!=null&&(t.onclick=ll),t=!0):t=!1,t||Bl(e,!0)}function ai(e){for(Xe=e.return;Xe;)switch(Xe.tag){case 5:case 31:case 13:Lt=!1;return;case 27:case 3:Lt=!0;return;default:Xe=Xe.return}}function $a(e){if(e!==Xe)return!1;if(!ie)return ai(e),ie=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Ds(e.type,e.memoizedProps)),l=!l),l&&Ae&&Bl(e),ai(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Ae=jm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Ae=jm(e)}else t===27?(t=Ae,ea(e.type)?(e=Vs,Vs=null,Ae=e):Ae=t):Ae=Xe?qt(e.stateNode.nextSibling):null;return!0}function ma(){Ae=Xe=null,ie=!1}function no(){var e=Ll;return e!==null&&(pt===null?pt=e:pt.push.apply(pt,e),Ll=null),e}function Zn(e){Ll===null?Ll=[e]:Ll.push(e)}var uo=el(null),ya=null,El=null;function ql(e,t,l){Oe(uo,t._currentValue),t._currentValue=l}function Tl(e){e._currentValue=uo.current,Je(uo)}function ni(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function io(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;e:for(;u!==null;){var f=u;u=n;for(var v=0;v<t.length;v++)if(f.context===t[v]){u.lanes|=l,f=u.alternate,f!==null&&(f.lanes|=l),ni(u.return,l,e),a||(c=null);break e}u=f.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(s(341));c.lanes|=l,u=c.alternate,u!==null&&(u.lanes|=l),ni(c,l,e),c=null}else n.tag===13&&n.memoizedState!==null&&n.memoizedState.dehydrated===null?(n.lanes|=l,c=n.alternate,c!==null&&(c.lanes|=l),ni(n.return,l,e),c=n.child,c=c!==null?c.sibling:null):c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===e){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function va(e,t,l,a){e=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(s(387));if(c=c.memoizedProps,c!==null){var f=n.type;_t(n.pendingProps.value,c.value)||(e!==null?e.push(f):e=[f])}}else if(n===ju.current){if(c=n.alternate,c===null)throw Error(s(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(xn):e=[xn])}n=n.return}return e!==null&&io(t,e,l,a),t.flags|=262144,e!==null}function ui(e){for(e=e.firstContext;e!==null;){if(!_t(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ga(e){ya=e,El=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Fe(e){return Zf(ya,e)}function ii(e,t){return ya===null&&ga(e),Zf(e,t)}function Zf(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},El===null){if(e===null)throw Error(s(308));El=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else El=El.next=t;return l}var wv=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},Dv=i.unstable_scheduleCallback,Uv=i.unstable_NormalPriority,qe={$$typeof:Ne,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function co(){return{controller:new wv,data:new Map,refCount:0}}function Kn(e){e.refCount--,e.refCount===0&&Dv(Uv,function(){e.controller.abort()})}function Kf(e,t){if((e.pendingLanes&4194048)!==0){var l=e.transitionTypes;for(l===null&&(l=e.transitionTypes=[]),e=0;e<t.length;e++){var a=t[e];l.indexOf(a)===-1&&l.push(a)}}}var Jn=null;function Hv(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var $n=null,oo=0,pa=0,Fa=null;function Lv(e,t){if($n===null){var l=$n=[];oo=0,pa=Ns(),Fa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return oo++,t.then(Jf,Jf),t}function Jf(){if(--oo===0&&(Jn=null,$n!==null)){Fa!==null&&(Fa.status="fulfilled");var e=$n;$n=null,pa=0,Fa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Bv(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var $f=X.S;X.S=function(e,t){if(Gh=St(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Lv(e,t),Jn!==null)for(var l=yn;l!==null;)Kf(l,Jn),l=l.next;if(l=e.types,l!==null){for(var a=yn;a!==null;)Kf(a,l),a=a.next;if(pa!==0){a=Jn,a===null&&(a=Jn=[]);for(var n=0;n<l.length;n++){var u=l[n];a.indexOf(u)===-1&&a.push(u)}}}$f!==null&&$f(e,t)};var ba=el(null);function so(){var e=ba.current;return e!==null?e:Re.pooledCache}function ci(e,t){t===null?Oe(ba,ba.current):Oe(ba,t.pool)}function Ff(){var e=so();return e===null?null:{parent:qe._currentValue,pool:e}}var Ia=Error(s(460)),ro=Error(s(474)),oi=Error(s(542)),si={then:function(){}};function If(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Wf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(ll,ll),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ed(e),e===void 0&&!("reason"in t)?Error(s(600)):e;default:if(typeof t.status=="string")t.then(ll,ll);else{if(e=Re,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ed(e),e}throw xa=t,Ia}}function Sa(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(xa=l,Ia):l}}var xa=null;function Pf(){if(xa===null)throw Error(s(459));var e=xa;return xa=null,e}function ed(e){if(e===Ia||e===oi)throw Error(s(483))}var Wa=null,Fn=0;function ri(e){var t=Fn;return Fn+=1,Wa===null&&(Wa=[]),Wf(Wa,e,t)}function Yl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function fi(e,t){throw t.$$typeof===ce?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function td(e){function t(_,b){if(e){var R=_.deletions;R===null?(_.deletions=[b],_.flags|=16):R.push(b)}}function l(_,b){if(!e)return null;for(;b!==null;)t(_,b),b=b.sibling;return null}function a(_){for(var b=new Map;_!==null;)_.key===null?b.set(_.index,_):b.set(_.key,_),_=_.sibling;return b}function n(_,b){return _=Sl(_,b),_.index=0,_.sibling=null,_}function u(_,b,R){return _.index=R,e?(R=_.alternate,R!==null?(R=R.index,R<b?(_.flags|=2,b):R):(_.flags|=134217730,b)):(_.flags|=1048576,b)}function c(_){return e&&_.alternate===null&&(_.flags|=134217730),_}function f(_,b,R,M){return b===null||b.tag!==6?(b=eo(R,_.mode,M),b.return=_,b):(b=n(b,R),b.return=_,b)}function v(_,b,R,M){var V=R.type;return V===ht?(_=A(_,b,R.props.children,M,R.key),Yl(_,R),_):b!==null&&(b.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===pe&&Sa(V)===b.type)?(b=n(b,R.props),Yl(b,R),b.return=_,b):(b=ei(R.type,R.key,R.props,null,_.mode,M),Yl(b,R),b.return=_,b)}function N(_,b,R,M){return b===null||b.tag!==4||b.stateNode.containerInfo!==R.containerInfo||b.stateNode.implementation!==R.implementation?(b=to(R,_.mode,M),b.return=_,b):(b=n(b,R.children||[]),b.return=_,b)}function A(_,b,R,M,V){return b===null||b.tag!==7?(b=ha(R,_.mode,M,V),b.return=_,b):(b=n(b,R),b.return=_,b)}function w(_,b,R){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=eo(""+b,_.mode,R),b.return=_,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case at:return R=ei(b.type,b.key,b.props,null,_.mode,R),Yl(R,b),R.return=_,R;case nt:return b=to(b,_.mode,R),b.return=_,b;case pe:return b=Sa(b),w(_,b,R)}if(ve(b)||J(b))return b=ha(b,_.mode,R,null),b.return=_,b;if(typeof b.then=="function")return w(_,ri(b),R);if(b.$$typeof===Ne)return w(_,ii(_,b),R);fi(_,b)}return null}function T(_,b,R,M){var V=b!==null?b.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return V!==null?null:f(_,b,""+R,M);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case at:return R.key===V?v(_,b,R,M):null;case nt:return R.key===V?N(_,b,R,M):null;case pe:return R=Sa(R),T(_,b,R,M)}if(ve(R)||J(R))return V!==null?null:A(_,b,R,M,null);if(typeof R.then=="function")return T(_,b,ri(R),M);if(R.$$typeof===Ne)return T(_,b,ii(_,R),M);fi(_,R)}return null}function O(_,b,R,M,V){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return _=_.get(R)||null,f(b,_,""+M,V);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case at:return _=_.get(M.key===null?R:M.key)||null,v(b,_,M,V);case nt:return _=_.get(M.key===null?R:M.key)||null,N(b,_,M,V);case pe:return M=Sa(M),O(_,b,R,M,V)}if(ve(M)||J(M))return _=_.get(R)||null,A(b,_,M,V,null);if(typeof M.then=="function")return O(_,b,R,ri(M),V);if(M.$$typeof===Ne)return O(_,b,R,ii(b,M),V);fi(b,M)}return null}function Y(_,b,R,M){for(var V=null,fe=null,Z=b,I=b=0,ke=null;Z!==null&&I<R.length;I++){Z.index>I?(ke=Z,Z=null):ke=Z.sibling;var de=T(_,Z,R[I],M);if(de===null){Z===null&&(Z=ke);break}e&&Z&&de.alternate===null&&t(_,Z),b=u(de,b,I),fe===null?V=de:fe.sibling=de,fe=de,Z=ke}if(I===R.length)return l(_,Z),ie&&xl(_,I),V;if(Z===null){for(;I<R.length;I++)Z=w(_,R[I],M),Z!==null&&(b=u(Z,b,I),fe===null?V=Z:fe.sibling=Z,fe=Z);return ie&&xl(_,I),V}for(Z=a(Z);I<R.length;I++)ke=O(Z,_,I,R[I],M),ke!==null&&(e&&(de=ke.alternate,de!==null&&Z.delete(de.key===null?I:de.key)),b=u(ke,b,I),fe===null?V=ke:fe.sibling=ke,fe=ke);return e&&Z.forEach(function(ua){return t(_,ua)}),ie&&xl(_,I),V}function Q(_,b,R,M){if(R==null)throw Error(s(151));for(var V=null,fe=null,Z=b,I=b=0,ke=null,de=R.next();Z!==null&&!de.done;I++,de=R.next()){Z.index>I?(ke=Z,Z=null):ke=Z.sibling;var ua=T(_,Z,de.value,M);if(ua===null){Z===null&&(Z=ke);break}e&&Z&&ua.alternate===null&&t(_,Z),b=u(ua,b,I),fe===null?V=ua:fe.sibling=ua,fe=ua,Z=ke}if(de.done)return l(_,Z),ie&&xl(_,I),V;if(Z===null){for(;!de.done;I++,de=R.next())de=w(_,de.value,M),de!==null&&(b=u(de,b,I),fe===null?V=de:fe.sibling=de,fe=de);return ie&&xl(_,I),V}for(Z=a(Z);!de.done;I++,de=R.next())de=O(Z,_,I,de.value,M),de!==null&&(e&&(ke=de.alternate,ke!==null&&Z.delete(ke.key===null?I:ke.key)),b=u(de,b,I),fe===null?V=de:fe.sibling=de,fe=de);return e&&Z.forEach(function(pg){return t(_,pg)}),ie&&xl(_,I),V}function ue(_,b,R,M){if(typeof R=="object"&&R!==null&&R.type===ht&&R.key===null&&R.props.ref===void 0&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case at:e:{for(var V=R.key;b!==null;){if(b.key===V){if(V=R.type,V===ht){if(b.tag===7){l(_,b.sibling),M=n(b,R.props.children),Yl(M,R),M.return=_,_=M;break e}}else if(b.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===pe&&Sa(V)===b.type){l(_,b.sibling),M=n(b,R.props),Yl(M,R),M.return=_,_=M;break e}l(_,b);break}else t(_,b);b=b.sibling}R.type===ht?(M=ha(R.props.children,_.mode,M,R.key),Yl(M,R),M.return=_,_=M):(M=ei(R.type,R.key,R.props,null,_.mode,M),Yl(M,R),M.return=_,_=M)}return c(_);case nt:e:{for(V=R.key;b!==null;){if(b.key===V)if(b.tag===4&&b.stateNode.containerInfo===R.containerInfo&&b.stateNode.implementation===R.implementation){l(_,b.sibling),M=n(b,R.children||[]),M.return=_,_=M;break e}else{l(_,b);break}else t(_,b);b=b.sibling}M=to(R,_.mode,M),M.return=_,_=M}return c(_);case pe:return R=Sa(R),ue(_,b,R,M)}if(ve(R))return Y(_,b,R,M);if(J(R)){if(V=J(R),typeof V!="function")throw Error(s(150));return R=V.call(R),Q(_,b,R,M)}if(typeof R.then=="function")return ue(_,b,ri(R),M);if(R.$$typeof===Ne)return ue(_,b,ii(_,R),M);fi(_,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,b!==null&&b.tag===6?(l(_,b.sibling),M=n(b,R),M.return=_,_=M):(l(_,b),M=eo(R,_.mode,M),M.return=_,_=M),c(_)):l(_,b)}return function(_,b,R,M){try{Fn=0;var V=ue(_,b,R,M);return Wa=null,V}catch(Z){if(Z===Ia||Z===oi)throw Z;var fe=yt(29,Z,null,_.mode);return fe.lanes=M,fe.return=_,fe}finally{}}}var Ea=td(!0),ld=td(!1),Gl=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ho(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 kl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Vl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ge&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Pu(e),qf(e,null,l),t}return Wu(e,a,t,l),Pu(e)}function In(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,kr(e,l)}}function mo(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var yo=!1;function Wn(){if(yo){var e=Fa;if(e!==null)throw e}}function Pn(e,t,l,a){yo=!1;var n=e.updateQueue;Gl=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var v=f,N=v.next;v.next=null,c===null?u=N:c.next=N,c=v;var A=e.alternate;A!==null&&(A=A.updateQueue,f=A.lastBaseUpdate,f!==c&&(f===null?A.firstBaseUpdate=N:f.next=N,A.lastBaseUpdate=v))}if(u!==null){var w=n.baseState;c=0,A=N=v=null,f=u;do{var T=f.lane&-536870913,O=T!==f.lane;if(O?(re&T)===T:(a&T)===T){T!==0&&T===pa&&(yo=!0),A!==null&&(A=A.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{var Y=e,Q=f;T=t;var ue=l;switch(Q.tag){case 1:if(Y=Q.payload,typeof Y=="function"){w=Y.call(ue,w,T);break e}w=Y;break e;case 3:Y.flags=Y.flags&-65537|128;case 0:if(Y=Q.payload,T=typeof Y=="function"?Y.call(ue,w,T):Y,T==null)break e;w=te({},w,T);break e;case 2:Gl=!0}}T=f.callback,T!==null&&(e.flags|=64,O&&(e.flags|=8192),O=n.callbacks,O===null?n.callbacks=[T]:O.push(T))}else O={lane:T,tag:f.tag,payload:f.payload,callback:f.callback,next:null},A===null?(N=A=O,v=w):A=A.next=O,c|=T;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;O=f,f=O.next,O.next=null,n.lastBaseUpdate=O,n.shared.pending=null}}while(!0);A===null&&(v=w),n.baseState=v,n.firstBaseUpdate=N,n.lastBaseUpdate=A,u===null&&(n.shared.lanes=0),Fl|=c,e.lanes=c,e.memoizedState=w}}function ad(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function nd(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)ad(l[e],t)}var Ql=el(null),di=el(0);function ud(e,t){e=zl,Oe(di,e),Oe(Ql,t),zl=e|t.baseLanes}function vo(){Oe(di,zl),Oe(Ql,Ql.current)}function go(){zl=di.current,Je(Ql),Je(di)}var Ie=el(null),ut=null;function Xl(e){var t=e.alternate;Oe(We,We.current&1),Oe(Ie,e),ut===null&&(t===null||Ql.current!==null||t.memoizedState!==null)&&(ut=e)}function po(e){Oe(We,We.current),Oe(Ie,e),ut===null&&(ut=e)}function id(e){e.tag===22?(Oe(We,We.current),Oe(Ie,e),ut===null&&(ut=e)):Zl()}function Zl(){Oe(We,We.current),Oe(Ie,Ie.current)}function Nt(e){Je(Ie),ut===e&&(ut=null),Je(We)}var We=el(0);function eu(e,t){Oe(Ie,Ie.current),Oe(We,t)}function bo(e){Je(We),Je(Ie),ut===e&&(ut=null)}function hi(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Gs(l)||ks(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){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 _l=0,ne=null,_e=null,Ye=null,mi=!1,Pa=!1,Ta=!1,yi=0,tu=0,en=null,qv=0;function He(){throw Error(s(321))}function So(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!_t(e[l],t[l]))return!1;return!0}function xo(e,t,l,a,n,u){return _l=u,ne=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,X.H=e===null||e.memoizedState===null?Vd:Qd,Ta=!1,u=l(a,n),Ta=!1,Pa&&(u=od(t,l,a,n)),cd(e),u}function cd(e){X.H=Ei;var t=_e!==null&&_e.next!==null;if(_l=0,Ye=_e=ne=null,mi=!1,tu=0,en=null,t)throw Error(s(300));e===null||Ge||(e=e.dependencies,e!==null&&ui(e)&&(Ge=!0))}function od(e,t,l,a){ne=e;var n=0;do{if(Pa&&(en=null),tu=0,Pa=!1,25<=n)throw Error(s(301));if(n+=1,Ye=_e=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}X.H=Kv,u=t(l,a)}while(Pa);return u}function Yv(){var e=X.H,t=e.useState()[0];return t=typeof t.then=="function"?lu(t):t,e=e.useState()[0],(_e!==null?_e.memoizedState:null)!==e&&(ne.flags|=1024),t}function Eo(){var e=yi!==0;return yi=0,e}function To(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function _o(e){if(mi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mi=!1}_l=0,Ye=_e=ne=null,Pa=!1,tu=yi=0,en=null}function ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?ne.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Be(){if(_e===null){var e=ne.alternate;e=e!==null?e.memoizedState:null}else e=_e.next;var t=Ye===null?ne.memoizedState:Ye.next;if(t!==null)Ye=t,_e=e;else{if(e===null)throw ne.alternate===null?Error(s(467)):Error(s(310));_e=e,e={memoizedState:_e.memoizedState,baseState:_e.baseState,baseQueue:_e.baseQueue,queue:_e.queue,next:null},Ye===null?ne.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function vi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lu(e){var t=tu;return tu+=1,en===null&&(en=[]),e=Wf(en,e,t),t=ne,(Ye===null?t.memoizedState:Ye.next)===null&&(t=t.alternate,X.H=t===null||t.memoizedState===null?Vd:Qd),e}function gi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lu(e);if(e.$$typeof===L)return;if(e.$$typeof===Ne)return Fe(e)}throw Error(s(438,String(e)))}function No(e){var t=null,l=ne.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ne.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=vi(),ne.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=ia;return t.index++,l}function Nl(e,t){return typeof t=="function"?t(e):t}function pi(e){var t=Be();return Co(t,_e,e)}function Co(e,t,l){var a=e.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var f=c=null,v=null,N=t,A=!1;do{var w=N.lane&-536870913;if(w!==N.lane?(re&w)===w:(_l&w)===w){var T=N.revertLane;if(T===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),w===pa&&(A=!0);else if((_l&T)===T){N=N.next,T===pa&&(A=!0);continue}else w={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},v===null?(f=v=w,c=u):v=v.next=w,ne.lanes|=T,Fl|=T;w=N.action,Ta&&l(u,w),u=N.hasEagerState?N.eagerState:l(u,w)}else T={lane:w,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},v===null?(f=v=T,c=u):v=v.next=T,ne.lanes|=w,Fl|=w;N=N.next}while(N!==null&&N!==t);if(v===null?c=u:v.next=f,!_t(u,e.memoizedState)&&(Ge=!0,A&&(l=Fa,l!==null)))throw l;e.memoizedState=u,e.baseState=c,e.baseQueue=v,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Ro(e){var t=Be(),l=t.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var c=n=n.next;do u=e(u,c.action),c=c.next;while(c!==n);_t(u,t.memoizedState)||(Ge=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function sd(e,t,l){var a=ne,n=Be(),u=ie;if(u){if(l===void 0)throw Error(s(407));l=l()}else l=t();var c=!_t((_e||n).memoizedState,l);if(c&&(n.memoizedState=l,Ge=!0),n=n.queue,Ao(dd.bind(null,a,n,e),[e]),e=n.getSnapshot!==t||c||Ye!==null&&(Ye.memoizedState.tag&1)!==0,tn(e?9:8,{destroy:void 0},fd.bind(null,a,n,l,t),null),e){if(a.flags|=2048,Re===null)throw Error(s(349));u||(_l&127)!==0||rd(a,t,l)}return l}function rd(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ne.updateQueue,t===null?(t=vi(),ne.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function fd(e,t,l,a){t.value=l,t.getSnapshot=a,hd(t)&&md(e)}function dd(e,t,l){return l(function(){hd(t)&&md(e)})}function hd(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!_t(e,l)}catch{return!0}}function md(e){var t=da(e,2);t!==null&&bt(t,e,2)}function zo(e){var t=ot();if(typeof e=="function"){var l=e;if(e=l(),Ta){wl(!0);try{l()}finally{wl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nl,lastRenderedState:e},t}function yd(e,t,l,a){return e.baseState=l,Co(e,_e,typeof a=="function"?a:Nl)}function Gv(e,t,l,a,n){if(xi(e))throw Error(s(485));if(e=t.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};X.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,vd(t,u)):(u.next=l.next,t.pending=l.next=u)}}function vd(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=X.T,c={};c.types=u!==null?u.types:null,X.T=c;try{var f=l(n,a),v=X.S;v!==null&&v(c,f),gd(e,t,f)}catch(N){Oo(e,t,N)}finally{u!==null&&c.types!==null&&(u.types=c.types),X.T=u}}else try{u=l(n,a),gd(e,t,u)}catch(N){Oo(e,t,N)}}function gd(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){pd(e,t,a)},function(a){return Oo(e,t,a)}):pd(e,t,l)}function pd(e,t,l){t.status="fulfilled",t.value=l,bd(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,vd(e,l)))}function Oo(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,bd(t),t=t.next;while(t!==a)}e.action=null}function bd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Sd(e,t){return t}function xd(e,t){if(ie){var l=Re.formState;if(l!==null){e:{var a=ne;if(ie){if(Ae){t:{for(var n=Ae,u=Lt;n.nodeType!==8;){if(!u){n=null;break t}if(n=qt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Ae=qt(n.nextSibling),a=n.data==="F!";break e}}Bl(a)}a=!1}a&&(t=l[0])}}return l=ot(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sd,lastRenderedState:t},l.queue=a,l=Yd.bind(null,ne,a),a.dispatch=l,a=zo(!1),u=Uo.bind(null,ne,!1,a.queue),a=ot(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=Gv.bind(null,ne,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Ed(e){var t=Be();return Td(t,_e,e)}function Td(e,t,l){if(t=Co(e,t,Sd)[0],e=pi(Nl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=lu(t)}catch(c){throw c===Ia?oi:c}else a=t;t=Be();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(ne.flags|=2048,tn(9,{destroy:void 0},kv.bind(null,n,l),null)),[a,u,e]}function kv(e,t){e.action=t}function _d(e){var t=Be(),l=_e;if(l!==null)return Td(t,l,e);Be(),t=t.memoizedState,l=Be();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function tn(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ne.updateQueue,t===null&&(t=vi(),ne.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Nd(){return Be().memoizedState}function bi(e,t,l,a){var n=ot();ne.flags|=e,n.memoizedState=tn(1|t,{destroy:void 0},l,a===void 0?null:a)}function Si(e,t,l,a){var n=Be();a=a===void 0?null:a;var u=n.memoizedState.inst;_e!==null&&a!==null&&So(a,_e.memoizedState.deps)?n.memoizedState=tn(t,u,l,a):(ne.flags|=e,n.memoizedState=tn(1|t,u,l,a))}function Cd(e,t){bi(8390656,8,e,t)}function Ao(e,t){Si(2048,8,e,t)}function Vv(e){ne.flags|=4;var t=ne.updateQueue;if(t===null)t=vi(),ne.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Rd(e){var t=Be().memoizedState;return Vv({ref:t,nextImpl:e}),function(){if((ge&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function zd(e,t){return Si(4,2,e,t)}function Od(e,t){return Si(4,4,e,t)}function Ad(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function jd(e,t,l){l=l!=null?l.concat([e]):null,Si(4,4,Ad.bind(null,t,e),l)}function jo(){}function Md(e,t){var l=Be();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&So(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function wd(e,t){var l=Be();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&So(t,a[1]))return a[0];if(a=e(),Ta){wl(!0);try{e()}finally{wl(!1)}}return l.memoizedState=[a,t],a}function Mo(e,t,l){return l===void 0||(_l&1073741824)!==0&&(re&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Vh(),ne.lanes|=e,Fl|=e,l)}function Dd(e,t,l,a){return _t(l,t)?l:Ql.current!==null?(e=Mo(e,l,a),_t(e,t)||(Ge=!0),e):(_l&106)===0||(_l&1073741824)!==0&&(re&261930)===0?(Ge=!0,e.memoizedState=l):(e=Vh(),ne.lanes|=e,Fl|=e,t)}function Ud(e,t,l,a,n){var u=le.p;le.p=u!==0&&8>u?u:8;var c=X.T,f={};f.types=c!==null?c.types:null,X.T=f,Uo(e,!1,t,l);try{var v=n(),N=X.S;if(N!==null&&N(f,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var A=Bv(v,a);au(e,t,A,Ot(e))}else au(e,t,a,Ot(e))}catch(w){au(e,t,{then:function(){},status:"rejected",reason:w},Ot())}finally{le.p=u,c!==null&&f.types!==null&&(c.types=f.types),X.T=c}}function Qv(){}function wo(e,t,l,a){if(e.tag!==5)throw Error(s(476));var n=Hd(e).queue;Ud(e,n,t,ml,l===null?Qv:function(){return Ld(e),l(a)})}function Hd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ml,baseState:ml,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nl,lastRenderedState:ml},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ld(e){var t=Hd(e);t.next===null&&(t=e.alternate.memoizedState),au(e,t.next.queue,{},Ot())}function Do(){return Fe(xn)}function Bd(){return Be().memoizedState}function qd(){return Be().memoizedState}function Xv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Ot();e=kl(l);var a=Vl(t,e,l);a!==null&&(bt(a,t,l),In(a,t,l)),t={cache:co()},e.payload=t;return}t=t.return}}function Zv(e,t,l){var a=Ot();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},xi(e)?Gd(t,l):(l=Wc(e,t,l,a),l!==null&&(bt(l,e,a),kd(l,t,a)))}function Yd(e,t,l){var a=Ot();au(e,t,l,a)}function au(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(xi(e))Gd(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,f=u(c,l);if(n.hasEagerState=!0,n.eagerState=f,_t(f,c))return Wu(e,t,n,0),Re===null&&Iu(),!1}catch{}finally{}if(l=Wc(e,t,n,a),l!==null)return bt(l,e,a),kd(l,t,a),!0}return!1}function Uo(e,t,l,a){if(a={lane:2,revertLane:Ns(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},xi(e)){if(t)throw Error(s(479))}else t=Wc(e,l,a,2),t!==null&&bt(t,e,2)}function xi(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function Gd(e,t){Pa=mi=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function kd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,kr(e,l)}}var Ei={readContext:Fe,use:gi,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He,useEffectEvent:He},Vd={readContext:Fe,use:gi,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:Cd,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,bi(4194308,4,Ad.bind(null,t,e),l)},useLayoutEffect:function(e,t){return bi(4194308,4,e,t)},useInsertionEffect:function(e,t){bi(4,2,e,t)},useMemo:function(e,t){var l=ot();t=t===void 0?null:t;var a=e();if(Ta){wl(!0);try{e()}finally{wl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=ot();if(l!==void 0){var n=l(t);if(Ta){wl(!0);try{l(t)}finally{wl(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=Zv.bind(null,ne,e),[a.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:function(e){e=zo(e);var t=e.queue,l=Yd.bind(null,ne,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:jo,useDeferredValue:function(e,t){var l=ot();return Mo(l,e,t)},useTransition:function(){var e=zo(!1);return e=Ud.bind(null,ne,e.queue,!0,!1),ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ne,n=ot();if(ie){if(l===void 0)throw Error(s(407));l=l()}else{if(l=t(),Re===null)throw Error(s(349));(re&127)!==0||rd(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Cd(dd.bind(null,a,u,e),[e]),a.flags|=2048,tn(9,{destroy:void 0},fd.bind(null,a,u,l,t),null),l},useId:function(){var e=ot(),t=Re.identifierPrefix;if(ie){var l=nl,a=al;l=(a&~(1<<32-Et(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=yi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=qv++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Do,useFormState:xd,useActionState:xd,useOptimistic:function(e){var t=ot();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Uo.bind(null,ne,!0,l),l.dispatch=t,[e,t]},useMemoCache:No,useCacheRefresh:function(){return ot().memoizedState=Xv.bind(null,ne)},useEffectEvent:function(e){var t=ot(),l={impl:e};return t.memoizedState=l,function(){if((ge&2)!==0)throw Error(s(440));return l.impl.apply(void 0,arguments)}}},Qd={readContext:Fe,use:gi,useCallback:Md,useContext:Fe,useEffect:Ao,useImperativeHandle:jd,useInsertionEffect:zd,useLayoutEffect:Od,useMemo:wd,useReducer:pi,useRef:Nd,useState:function(){return pi(Nl)},useDebugValue:jo,useDeferredValue:function(e,t){var l=Be();return Dd(l,_e.memoizedState,e,t)},useTransition:function(){var e=pi(Nl)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:lu(e),t]},useSyncExternalStore:sd,useId:Bd,useHostTransitionStatus:Do,useFormState:Ed,useActionState:Ed,useOptimistic:function(e,t){var l=Be();return yd(l,_e,e,t)},useMemoCache:No,useCacheRefresh:qd,useEffectEvent:Rd},Kv={readContext:Fe,use:gi,useCallback:Md,useContext:Fe,useEffect:Ao,useImperativeHandle:jd,useInsertionEffect:zd,useLayoutEffect:Od,useMemo:wd,useReducer:Ro,useRef:Nd,useState:function(){return Ro(Nl)},useDebugValue:jo,useDeferredValue:function(e,t){var l=Be();return _e===null?Mo(l,e,t):Dd(l,_e.memoizedState,e,t)},useTransition:function(){var e=Ro(Nl)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:lu(e),t]},useSyncExternalStore:sd,useId:Bd,useHostTransitionStatus:Do,useFormState:_d,useActionState:_d,useOptimistic:function(e,t){var l=Be();return _e!==null?yd(l,_e,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:No,useCacheRefresh:qd,useEffectEvent:Rd};function Ho(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:te({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Lo={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Ot(),n=kl(a);n.payload=t,l!=null&&(n.callback=l),t=Vl(e,n,a),t!==null&&(bt(t,e,a),In(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Ot(),n=kl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=Vl(e,n,a),t!==null&&(bt(t,e,a),In(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ot(),a=kl(l);a.tag=2,t!=null&&(a.callback=t),t=Vl(e,a,l),t!==null&&(bt(t,e,l),In(t,e,l))}};function Xd(e,t,l,a,n,u,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,c):t.prototype&&t.prototype.isPureReactComponent?!Vn(l,a)||!Vn(n,u):!0}function Zd(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&Lo.enqueueReplaceState(t,t.state,null)}function _a(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=te({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function Kd(e){Fu(e)}function Jd(e){console.error(e)}function $d(e){Fu(e)}function Ti(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Fd(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Bo(e,t,l){return l=kl(l),l.tag=3,l.payload={element:null},l.callback=function(){Ti(e,t)},l}function Id(e){return e=kl(e),e.tag=3,e}function Wd(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;e.payload=function(){return n(u)},e.callback=function(){Fd(t,l,a)}}var c=l.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){Fd(t,l,a),typeof n!="function"&&(Il===null?Il=new Set([this]):Il.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function Jv(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&va(t,l,n,!0),l=Ie.current,l!==null){switch(l.tag){case 31:case 13:case 19:return ut===null?Qi():l.alternate===null&&Le===0&&(Le=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===si?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),Es(e,a,n)),!1;case 22:return l.flags|=65536,a===si?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),Es(e,a,n)),!1}throw Error(s(435,l.tag))}return Es(e,a,n),Qi(),!1}if(ie)return t=Ie.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==ao&&(e=Error(s(422),{cause:a}),Zn(Dt(e,l)))):(a!==ao&&(t=Error(s(423),{cause:a}),Zn(Dt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Dt(a,l),n=Bo(e.stateNode,a,n),mo(e,n),Le!==4&&(Le=2)),!1;var u=Error(s(520),{cause:a});if(u=Dt(u,l),fu===null?fu=[u]:fu.push(u),Le!==4&&(Le=2),t===null)return!0;a=Dt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=Bo(l.stateNode,a,e),mo(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Il===null||!Il.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Id(n),Wd(n,e,l,a),mo(l,n),!1;break;case 22:if(l.memoizedState!==null)return l.flags|=65536,!1}l=l.return}while(l!==null);return!1}var qo=Error(s(461)),Ge=!1;function Ve(e,t,l,a){t.child=e===null?ld(t,null,l,a):Ea(t,e.child,l,a)}function Pd(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var c={};for(var f in a)f!=="ref"&&(c[f]=a[f])}else c=a;return ga(t),a=xo(e,t,l,c,u,n),f=Eo(),e!==null&&!Ge?(To(e,t,n),Cl(e,t,n)):(ie&&f&&li(t),t.flags|=1,Ve(e,t,a,n),t.child)}function eh(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!Pc(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,th(e,t,u,a,n)):(e=ei(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Ko(e,n)){var c=u.memoizedProps;if(l=l.compare,l=l!==null?l:Vn,l(c,a)&&e.ref===t.ref)return Cl(e,t,n)}return t.flags|=1,e=Sl(u,a),e.ref=t.ref,e.return=t,t.child=e}function th(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(Vn(u,a)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=a=u,Ko(e,n))(e.flags&131072)!==0&&(Ge=!0);else return t.lanes=e.lanes,Cl(e,t,n)}return Yo(e,t,l,a,n)}function lh(e,t,l,a){var n=a.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,e!==null){for(a=t.child=e.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return ah(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ci(t,u!==null?u.cachePool:null),u!==null?ud(t,u):vo(),id(t);else return a=t.lanes=536870912,ah(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(ci(t,u.cachePool),ud(t,u),Zl(),t.memoizedState=null):(e!==null&&ci(t,null),vo(),Zl());return Ve(e,t,n,l),t.child}function nu(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ah(e,t,l,a,n){var u=so();return u=u===null?null:{parent:qe._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&ci(t,null),vo(),id(t),e!==null&&va(e,t,a,!0),t.childLanes=n,null}function _i(e,t){return t=Ni({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function nh(e,t,l){return Ea(t,e.child,null,l),e=_i(t,t.pendingProps),e.flags|=2,Nt(t),t.memoizedState=null,e}function $v(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ie){if(a.mode==="hidden")return e=_i(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},nu(null,e);if(po(t),(e=Ae)?(e=Am(e,Lt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Hl!==null?{id:al,overflow:nl}:null,retryLane:536870912,hydrationErrors:null},l=Gf(e),l.return=t,t.child=l,Xe=t,Ae=null)):e=null,e===null)throw Bl(t);return t.lanes=536870912,null}return _i(t,a)}var u=e.memoizedState;if(u!==null){var c=u.dehydrated;if(po(t),n)if(t.flags&256)t.flags&=-257,t=nh(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(Ge||va(e,t,l,!1),n=(l&e.childLanes)!==0,Ge||n){if(Ql.current===null){if(a=Re,a!==null&&(c=Vr(a,l),c!==0&&c!==u.retryLane))throw u.retryLane=c,da(e,c),bt(a,e,c),qo;Qi()}t=nh(e,t,l)}else e=u.treeContext,Ae=qt(c.nextSibling),Xe=t,ie=!0,Ll=null,Lt=!1,e!==null&&Qf(t,e),t=_i(t,a),t.flags|=134221824;return t}return e=Sl(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ln(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(s(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Yo(e,t,l,a,n){return ga(t),l=xo(e,t,l,a,void 0,n),a=Eo(),e!==null&&!Ge?(To(e,t,n),Cl(e,t,n)):(ie&&a&&li(t),t.flags|=1,Ve(e,t,l,n),t.child)}function uh(e,t,l,a,n,u){return ga(t),t.updateQueue=null,l=od(t,a,l,n),cd(e),a=Eo(),e!==null&&!Ge?(To(e,t,u),Cl(e,t,u)):(ie&&a&&li(t),t.flags|=1,Ve(e,t,l,u),t.child)}function ih(e,t,l,a,n){if(ga(t),t.stateNode===null){var u=Za,c=l.contextType;typeof c=="object"&&c!==null&&(u=Fe(c)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Lo,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},fo(t),c=l.contextType,u.context=typeof c=="object"&&c!==null?Fe(c):Za,u.state=t.memoizedState,c=l.getDerivedStateFromProps,typeof c=="function"&&(Ho(t,l,c,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Lo.enqueueReplaceState(u,u.state,null),Pn(t,a,u,n),Wn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var f=t.memoizedProps,v=_a(l,f);u.props=v;var N=u.context,A=l.contextType;c=Za,typeof A=="object"&&A!==null&&(c=Fe(A));var w=l.getDerivedStateFromProps;A=typeof w=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,A||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||N!==c)&&Zd(t,u,a,c),Gl=!1;var T=t.memoizedState;u.state=T,Pn(t,a,u,n),Wn(),N=t.memoizedState,f||T!==N||Gl?(typeof w=="function"&&(Ho(t,l,w,a),N=t.memoizedState),(v=Gl||Xd(t,l,v,a,T,N,c))?(A||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=N),u.props=a,u.state=N,u.context=c,a=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,ho(e,t),c=t.memoizedProps,A=_a(l,c),u.props=A,w=t.pendingProps,T=u.context,N=l.contextType,v=Za,typeof N=="object"&&N!==null&&(v=Fe(N)),f=l.getDerivedStateFromProps,(N=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==w||T!==v)&&Zd(t,u,a,v),Gl=!1,T=t.memoizedState,u.state=T,Pn(t,a,u,n),Wn();var O=t.memoizedState;c!==w||T!==O||Gl||e!==null&&e.dependencies!==null&&ui(e.dependencies)?(typeof f=="function"&&(Ho(t,l,f,a),O=t.memoizedState),(A=Gl||Xd(t,l,A,a,T,O,v)||e!==null&&e.dependencies!==null&&ui(e.dependencies))?(N||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,O,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,O,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=O),u.props=a,u.state=O,u.context=v,a=A):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,ln(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=Ea(t,e.child,null,n),t.child=Ea(t,null,l,n)):Ve(e,t,l,n),t.memoizedState=u.state,e=t.child):e=Cl(e,t,n),e}function ch(e,t,l,a){return ma(),t.flags|=256,Ve(e,t,l,a),t.child}var Go={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ko(e){return{baseLanes:e,cachePool:Ff()}}function Vo(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=zt),e}function oh(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(ie){if(n?Xl(t):Zl(),(e=Ae)?(e=Am(e,Lt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Hl!==null?{id:al,overflow:nl}:null,retryLane:536870912,hydrationErrors:null},l=Gf(e),l.return=t,t.child=l,Xe=t,Ae=null)):e=null,e===null)throw Bl(t);return ks(e)?t.lanes=32:t.lanes=536870912,null}return u=a.children,a=a.fallback,n?(Zl(),n=t.mode,u=Ni({mode:"hidden",children:u},n),a=ha(a,n,l,null),u.return=t,a.return=t,u.sibling=a,t.child=u,a=t.child,a.memoizedState=ko(l),a.childLanes=Vo(e,c,l),t.memoizedState=Go,nu(null,a)):(Xl(t),Qo(t,u))}var f=e.memoizedState;if(f!==null){var v=f.dehydrated;if(v!==null)return Fv(e,t,u,c,a,v,f,l)}return n?(Zl(),n=a.fallback,u=t.mode,f=e.child,v=f.sibling,a=Sl(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&1206910976,v!==null?n=Sl(v,n):(n=ha(n,u,l,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,nu(null,a),a=t.child,n=e.child.memoizedState,n===null?n=ko(l):(u=n.cachePool,u!==null?(f=qe._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=Ff(),n={baseLanes:n.baseLanes|l,cachePool:u}),a.memoizedState=n,a.childLanes=Vo(e,c,l),t.memoizedState=Go,nu(e.child,a)):(Xl(t),l=e.child,e=l.sibling,l=Sl(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=l,t.memoizedState=null,l)}function Qo(e,t){return t=Ni({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ni(e,t){return e=yt(22,e,null,t),e.lanes=0,e}function Ci(e,t,l){return Ea(t,e.child,null,l),e=Qo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fv(e,t,l,a,n,u,c,f){if(l)return t.flags&256?(Xl(t),t.flags&=-257,Ci(e,t,f)):t.memoizedState!==null?(Zl(),t.child=e.child,t.flags|=128,null):(Zl(),u=n.fallback,c=t.mode,n=Ni({mode:"visible",children:n.children},c),u=ha(u,c,f,null),u.flags|=2,n.return=t,u.return=t,n.sibling=u,t.child=n,Ea(t,e.child,null,f),n=t.child,n.memoizedState=ko(f),n.childLanes=Vo(e,a,f),t.memoizedState=Go,nu(null,n));if(Xl(t),ks(u)){if(a=u.nextSibling&&u.nextSibling.dataset,a)var v=a.dgst;return a=v,a!==""&&(n=Error(s(419)),n.stack="",n.digest=a,Zn({value:n,source:null,stack:null})),Ci(e,t,f)}if(Ge||va(e,t,f,!1),a=(f&e.childLanes)!==0,Ge||a){if(Ql.current!==null)return Ci(e,t,f);if(a=Re,a!==null&&(n=Vr(a,f),n!==0&&n!==c.retryLane))throw c.retryLane=n,da(e,n),bt(a,e,n),qo;return Gs(u)||Qi(),Ci(e,t,f)}return Gs(u)?(t.flags|=192,t.child=e.child,null):(e=c.treeContext,Ae=qt(u.nextSibling),Xe=t,ie=!0,Ll=null,Lt=!1,e!==null&&Qf(t,e),t=Qo(t,n.children),t.flags|=134221824,t)}function sh(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),ni(e.return,t,l)}function rh(e){for(var t=null;e!==null;){var l=e.alternate;l!==null&&hi(l)===null&&(t=e),e=e.sibling}return t}function Ri(e,t,l,a,n,u){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=l,c.tailMode=n,c.treeForkCount=u)}function Xo(e){var t=e.child;for(e.child=null;t!==null;){var l=t.sibling;t.sibling=e.child,e.child=t,t=l}}function Zo(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=We.current;if(t.flags&128)return eu(t,c),null;var f=(c&2)!==0;if(f?(c=c&1|2,t.flags|=128):c&=1,eu(t,c),n==="backwards"&&e!==null?(Xo(e),Ve(e,t,a,l),Xo(e)):Ve(e,t,a,l),a=ie?Xn:0,!f&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sh(e,l,t);else if(e.tag===19)sh(e,l,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"backwards":l=rh(t.child),l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null,Xo(t)),Ri(t,!0,n,null,u,a);break;case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&hi(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Ri(t,!0,l,null,u,a);break;case"together":Ri(t,!1,null,null,void 0,a);break;case"independent":t.memoizedState=null;break;default:l=rh(t.child),l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Ri(t,!1,n,l,u,a)}return t.child}function fh(e,t,l){var a=t.pendingProps;return ql(t,t.type,a.value),Ve(e,t,a.children,l),t.child}function Cl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Fl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(va(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,l=Sl(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Sl(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Ko(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ui(e)))}function Iv(e,t,l){switch(t.tag){case 3:Mu(t,t.stateNode.containerInfo),ql(t,qe,e.memoizedState.cache),ma();break;case 27:case 5:bc(t);break;case 4:Mu(t,t.stateNode.containerInfo);break;case 10:ql(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,po(t),null;break;case 13:var a=t.memoizedState;if(a!==null){if(a.dehydrated!==null)return Xl(t),t.flags|=128,null;a=va(e,t,l,!1);var n=t.child.childLanes;return a||(l&n)!==0?oh(e,t,l):(Xl(t),e=Cl(e,t,l),e!==null?e.sibling:null)}Xl(t);break;case 19:if(t.flags&128)return Zo(e,t,l);if(n=(e.flags&128)!==0,a=(l&t.childLanes)!==0,a||(va(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Zo(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),eu(t,We.current),a)break;return null;case 22:return t.lanes=0,lh(e,t,l,t.pendingProps);case 24:ql(t,qe,e.memoizedState.cache)}return Cl(e,t,l)}function dh(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ge=!0;else{if(!Ko(e,l)&&(t.flags&128)===0)return Ge=!1,Iv(e,t,l);Ge=(e.flags&131072)!==0}else Ge=!1,ie&&(t.flags&1048576)!==0&&Vf(t,Xn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Sa(t.elementType),t.type=e,typeof e=="function")Pc(e)?(a=_a(e,a),t.tag=1,t=ih(null,t,e,a,l)):(t.tag=0,t=Yo(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===k){t.tag=11,t=Pd(null,t,e,a,l);break e}else if(n===Ce){t.tag=14,t=eh(null,t,e,a,l);break e}else if(n===Ne){t.tag=10,t.type=e,t=fh(null,t,l);break e}}throw t=me(e)||e,Error(s(306,t,""))}}return t;case 0:return Yo(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=_a(a,t.pendingProps),ih(e,t,a,n,l);case 3:e:{if(Mu(t,t.stateNode.containerInfo),e===null)throw Error(s(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,ho(e,t),Pn(t,a,null,l);var c=t.memoizedState;if(a=c.cache,ql(t,qe,a),a!==u.cache&&io(t,[qe],l,!0),Wn(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=ch(e,t,a,l);break e}else if(a!==n){n=Dt(Error(s(424)),t),Zn(n),t=ch(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ae=qt(e.firstChild),Xe=t,ie=!0,Ll=null,Lt=!0,l=ld(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|134221824,l=l.sibling}else{if(ma(),a===n){t=Cl(e,t,l);break e}Ve(e,t,a,l)}t=t.child}return t;case 26:return ln(e,t),e===null?(l=Lm(t.type,null,t.pendingProps,null))?t.memoizedState=l:ie||(t.stateNode=vm(t.type,t.pendingProps,jl.current,t)):t.memoizedState=Lm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return bc(t),e===null&&ie&&(a=t.stateNode=wm(t.type,t.pendingProps,jl.current),Xe=t,Lt=!0,n=Ae,ea(t.type)?(Vs=n,Ae=qt(a.firstChild)):Ae=n),Ve(e,t,t.pendingProps.children,l),ln(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ie&&((n=a=Ae)&&(a=X1(a,t.type,t.pendingProps,Lt),a!==null?(t.stateNode=a,Xe=t,Ae=qt(a.firstChild),Lt=!1,n=!0):n=!1),n||Bl(t)),bc(t),n=t.type,u=t.pendingProps,c=e!==null?e.memoizedProps:null,a=u.children,Ds(n,u)?a=null:c!==null&&Ds(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=xo(e,t,Yv,null,null,l),xn._currentValue=n),ln(e,t),Ve(e,t,a,l),t.child;case 6:return e===null&&ie&&((e=l=Ae)&&(l=Z1(l,t.pendingProps,Lt),l!==null?(t.stateNode=l,Xe=t,Ae=null,e=!0):e=!1),e||Bl(t)),null;case 13:return oh(e,t,l);case 4:return Mu(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ea(t,null,a,l):Ve(e,t,a,l),t.child;case 11:return Pd(e,t,t.type,t.pendingProps,l);case 7:return a=t.pendingProps,ln(e,t),Ve(e,t,a,l),t.child;case 8:return Ve(e,t,t.pendingProps.children,l),t.child;case 12:return Ve(e,t,t.pendingProps.children,l),t.child;case 10:return fh(e,t,l);case 9:return n=t.type._context,a=t.pendingProps.children,ga(t),n=Fe(n),a=a(n),t.flags|=1,Ve(e,t,a,l),t.child;case 14:return eh(e,t,t.type,t.pendingProps,l);case 15:return th(e,t,t.type,t.pendingProps,l);case 19:return Zo(e,t,l);case 31:return $v(e,t,l);case 22:return lh(e,t,l,t.pendingProps);case 24:return ga(t),a=Fe(qe),e===null?(n=so(),n===null&&(n=Re,u=co(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},fo(t),ql(t,qe,n)):((e.lanes&l)!==0&&(ho(e,t),Pn(t,null,null,l),Wn()),n=e.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ql(t,qe,a)):(a=u.cache,ql(t,qe,a),a!==n.cache&&io(t,[qe],l,!0))),Ve(e,t,t.pendingProps.children,l),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:ie&&li(t),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:ln(e,t),Ve(e,t,a.children,l),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Rl(e){e.flags|=4}function Jo(e,t,l,a,n){var u;if((u=(e.mode&32)!==0)&&(u=l===null?Gm(t,a):Gm(t,a)&&(a.src!==l.src||a.srcSet!==l.srcSet)),u){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Kh())e.flags|=8192;else throw xa=si,ro}else e.flags&=-16777217}function hh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!km(t))if(Kh())e.flags|=8192;else throw xa=si,ro}function zi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Yr():536870912,e.lanes|=t,on|=t)}function uu(e,t){if(!ie)switch(e.tailMode){case"visible":break;case"collapsed":for(var l=e.tail,a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:for(t=e.tail,l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null}}function je(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&1206910976,a|=n.flags&1206910976,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function Wv(e,t,l){var a=t.pendingProps;switch(lo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return je(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Tl(qe),wa(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&($a(t)?Rl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,no())),je(t),null;case 26:var n=t.type,u=t.memoizedState;return e===null?(Rl(t),u!==null?(je(t),hh(t,u)):(je(t),Jo(t,n,null,a,l))):u?u!==e.memoizedState?(Rl(t),je(t),hh(t,u)):(je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Rl(t),je(t),Jo(t,n,e,a,l)),null;case 27:if(wu(t),l=jl.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Rl(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return je(t),t.subtreeFlags&=-33554433,null}e=tl.current,$a(t)?Xf(t):(e=wm(n,a,l),t.stateNode=e,Rl(t))}return je(t),t.subtreeFlags&=-33554433,null;case 5:if(wu(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Rl(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return je(t),t.subtreeFlags&=-33554433,null}if(u=tl.current,$a(t))Xf(t);else{var c=vu(jl.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[$e]=t,u[mt]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=u;e:switch(et(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Rl(t)}}return je(t),t.subtreeFlags&=-33554433,Jo(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Rl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(s(166));if(e=jl.current,$a(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=Xe,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[$e]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||dm(e.nodeValue,l)),e||Bl(t,!0)}else e=vu(e).createTextNode(a),e[$e]=t,t.stateNode=e}return je(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=$a(t),l!==null){if(e===null){if(!a)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[$e]=t}else ma(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),e=!1}else l=no(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Nt(t),t):(Nt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return je(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=$a(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(s(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[$e]=t}else ma(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),n=!1}else n=no(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Nt(t),t):(Nt(t),null)}return Nt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),zi(t,t.updateQueue),je(t),null);case 4:return wa(),e===null&&Os(t.stateNode.containerInfo),t.flags|=67108864,je(t),null;case 10:return Tl(t.type),je(t),null;case 19:if(bo(t),a=t.memoizedState,a===null)return je(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)uu(a,!1);else{if(Le!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=hi(e),u!==null){for(t.flags|=128,uu(a,!1),e=u.updateQueue,t.updateQueue=e,zi(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Yf(l,e),l=l.sibling;return eu(t,We.current&1|2),ie&&xl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&St()>Yi&&(t.flags|=128,n=!0,uu(a,!1),t.lanes=4194304)}else{if(!n)if(e=hi(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,zi(t,e),uu(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!u.alternate&&!ie)return je(t),null}else 2*St()-a.renderingStartTime>Yi&&l!==536870912&&(t.flags|=128,n=!0,uu(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}if(a.tail!==null){e=a.tail;e:{for(l=e;l!==null;){if(l.alternate!==null){l=!1;break e}l=l.sibling}l=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=St(),e.sibling=null,u=We.current,u=n?u&1|2:u&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!l||ie?eu(t,u):(l=u,Oe(Ie,t),Oe(We,l),ut===null&&(ut=t)),ie&&xl(t,a.treeForkCount),e}return je(t),null;case 22:case 23:return Nt(t),go(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),l=t.updateQueue,l!==null&&zi(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&Je(ba),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Tl(qe),je(t),null;case 25:return null;case 30:return t.flags|=33554432,je(t),null}throw Error(s(156,t.tag))}function Pv(e,t){switch(lo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tl(qe),wa(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return wu(t),null;case 31:if(t.memoizedState!==null){if(Nt(t),t.alternate===null)throw Error(s(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Nt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return bo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return wa(),null;case 10:return Tl(t.type),null;case 22:case 23:return Nt(t),go(),e!==null&&Je(ba),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Tl(qe),null;case 25:return null;default:return null}}function mh(e,t){switch(lo(t),t.tag){case 3:Tl(qe),wa();break;case 26:case 27:case 5:wu(t);break;case 4:wa();break;case 31:t.memoizedState!==null&&Nt(t);break;case 13:Nt(t);break;case 19:bo(t);break;case 10:Tl(t.type);break;case 22:case 23:Nt(t),go(),e!==null&&Je(ba);break;case 24:Tl(qe)}}function iu(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,c=l.inst;a=u(),c.destroy=a}l=l.next}while(l!==n)}}catch(f){Ee(t,t.return,f)}}function Kl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var c=a.inst,f=c.destroy;if(f!==void 0){c.destroy=void 0,n=t;var v=l,N=f;try{N()}catch(A){Ee(n,v,A)}}}a=a.next}while(a!==u)}}catch(A){Ee(t,t.return,A)}}function yh(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{nd(t,l)}catch(a){Ee(e,e.return,a)}}}function vh(e,t,l){l.props=_a(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ee(e,t,a)}}function ul(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:var n=e.stateNode,u=pl(e.memoizedProps,n);(n.ref===null||n.ref.name!==u)&&(n.ref=Tm(u)),a=n.ref;break;case 7:if(e.stateNode===null){var c=new At(e);y(e.child,!1,V1,c,void 0,void 0),e.stateNode=c}a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(f){Ee(e,t,f)}}function Pe(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Ee(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Ee(e,t,n)}else l.current=null}function Oi(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var l=0;l<t.length;l++)Om(e.stateNode,t[l])}function gh(e){for(var t=e.return;t!==null&&(Fo(t)&&Om(e.stateNode,t.stateNode),!$o(t));)t=t.return}function cu(e){for(var t=e.return;t!==null&&(Fo(t)&&Q1(e.stateNode,t.stateNode),!$o(t));)t=t.return}function $o(e){return e.tag===5||e.tag===3||e.tag===27}function Fo(e){return e&&e.tag===7&&e.stateNode!==null}function Io(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Ee(e,e.return,n)}}function Wo(e,t,l){try{var a=e.stateNode;N1(a,e.type,l,t),a[mt]=t}catch(n){Ee(e,e.return,n)}}function ph(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ea(e.type)||e.tag===4}function Po(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ph(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&&ea(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 es(e,t,l,a){var n=e.tag;if(n===5||n===6)n=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(n,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(n),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=ll)),Oi(e,a),ye=!0;else if(n!==4&&(n===27&&(Oi(e,a),a=null,ea(e.type)&&(l=e.stateNode,t=null)),e=e.child,e!==null))for(es(e,t,l,a),e=e.sibling;e!==null;)es(e,t,l,a),e=e.sibling}function Ai(e,t,l,a){var n=e.tag;if(n===5||n===6)n=e.stateNode,t?l.insertBefore(n,t):l.appendChild(n),Oi(e,a),ye=!0;else if(n!==4&&(n===27&&(Oi(e,a),a=null,ea(e.type)&&(l=e.stateNode)),e=e.child,e!==null))for(Ai(e,t,l,a),e=e.sibling;e!==null;)Ai(e,t,l,a),e=e.sibling}function bh(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);et(t,a,l),t[$e]=e,t[mt]=l}catch(u){Ee(e,e.return,u)}}var ji=!1,Ct=null;function Sh(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(ji=!0)}var il=null;function xh(){var e=il;return il=null,e}var vt=0;function an(e,t,l,a,n){return vt=0,Eh(e.child,t,l,a,n)}function Eh(e,t,l,a,n){for(var u=!1;e!==null;){if(e.tag===5){var c=e.stateNode;if(a!==null){var f=Ls(c);a.push(f),f.view&&(u=!0)}else u||Ls(c).view&&(u=!0);ji=!0,xm(c,vt===0?t:t+"_"+vt,l),vt++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&n||Eh(e.child,t,l,a,n)&&(u=!0));e=e.sibling}return u}function cl(e,t){for(;e!==null;)e.tag===5?Em(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||cl(e.child,t)),e=e.sibling}function Mi(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Mi(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(s(544));var l=t.name;t=bl(t.default,t.share),t!=="none"&&(an(e,l,t,null,!1)||cl(e.child,!1))}e=e.sibling}}function ts(e,t){if(e.tag===30){var l=e.stateNode,a=e.memoizedProps,n=pl(a,l),u=bl(a.default,l.paired?a.share:a.enter);u!=="none"?an(e,n,u,null,!1)?(Mi(e),l.paired||t||dn(e,a.onEnter)):cl(e.child,!1):Mi(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)ts(e,t),e=e.sibling;else Mi(e)}function ls(e){if(Ct!==null&&Ct.size!==0){var t=Ct;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var l=e.memoizedProps,a=l.name;if(a!=null&&a!=="auto"){var n=t.get(a);if(n!==void 0){var u=bl(l.default,l.share);if(u!=="none"&&(an(e,a,u,null,!1)?(u=e.stateNode,n.paired=u,u.paired=n,dn(e,l.onShare)):cl(e.child,!1)),t.delete(a),t.size===0)break}}}ls(e)}e=e.sibling}}}function as(e){if(e.tag===30){var t=e.memoizedProps,l=pl(t,e.stateNode),a=Ct!==null?Ct.get(l):void 0,n=bl(t.default,a!==void 0?t.share:t.exit);n!=="none"&&(an(e,l,n,null,!1)?a!==void 0?(n=e.stateNode,a.paired=n,n.paired=a,Ct.delete(l),dn(e,t.onShare)):dn(e,t.onExit):cl(e.child,!1)),Ct!==null&&ls(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)as(e),e=e.sibling;else Ct!==null&&ls(e)}function Th(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=pl(t,e.stateNode);t=bl(t.default,t.update),e.flags&=-5,t!=="none"&&an(e,l,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Th(e);e=e.sibling}}function ns(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,cl(e.child,!1))}ns(e)}e=e.sibling}}function wi(e){if(e.tag===30)e.stateNode.paired=null,cl(e.child,!1),ns(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)wi(e),e=e.sibling;else ns(e)}function _h(e){for(e=e.child;e!==null;)e.tag===30?cl(e.child,!1):(e.subtreeFlags&33554432)!==0&&_h(e),e=e.sibling}function us(e,t,l,a,n,u,c){for(var f=!1;t!==null;){if(t.tag===5){var v=t.stateNode;if(u!==null&&vt<u.length){var N=u[vt],A=Ls(v);(N.view||A.view)&&(f=!0);var w;if(w=(e.flags&4)===0)if(A.clip)w=!0;else{w=N.rect;var T=A.rect;w=w.y!==T.y||w.x!==T.x||w.height!==T.height||w.width!==T.width}w&&(e.flags|=4),A.abs?A=!N.abs:(N=N.rect,A=A.rect,A=N.height!==A.height||N.width!==A.width),A&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&xm(v,vt===0?l:l+"_"+vt,n),f&&(e.flags&4)!==0||(il===null&&(il=[]),il.push(v,vt===0?a:a+"_"+vt,t.memoizedProps)),vt++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&c?e.flags|=t.flags&32:us(e,t.child,l,a,n,u,c)&&(f=!0));t=t.sibling}return f}function Nh(e,t){for(e=e.child;e!==null;){if(e.tag===30){var l=e.memoizedProps,a=e.stateNode,n=pl(l,a),u=bl(l.default,l.update),c;c=e.memoizedState,e.memoizedState=null,a=e;var f=e.child;vt=0,n=us(a,f,n,n,u,c,!1),(e.flags&4)!==0&&n&&dn(e,l.onUpdate)}else(e.subtreeFlags&33554432)!==0&&Nh(e);e=e.sibling}}var Ze=!1,be=!1,ol=!1,is=!1,Ch=typeof WeakSet=="function"?WeakSet:Set,Ke=null,sl=!1,ou=!1,Di=!1,cs=!1;function e1(e,t,l){if(e=e.containerInfo,Ms=En,e=Af(e),Zc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var u=n.anchorOffset,c=n.focusNode;n=n.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var f=0,v=-1,N=-1,A=0,w=0,T=e,O=null;t:for(;;){for(var Y;T!==a||u!==0&&T.nodeType!==3||(v=f+u),T!==c||n!==0&&T.nodeType!==3||(N=f+n),T.nodeType===3&&(f+=T.nodeValue.length),(Y=T.firstChild)!==null;)O=T,T=Y;for(;;){if(T===e)break t;if(O===a&&++A===u&&(v=f),O===c&&++w===n&&(N=f),(Y=T.nextSibling)!==null)break;T=O,O=T.parentNode}T=Y}a=v===-1||N===-1?null:{start:v,end:N}}else a=null}a=a||{start:0,end:0}}else a=null;for(ws={focusedElem:e,selectionRange:a},En=!1,l=(l&335544064)===l,Ke=t,t=l?9270:1024;Ke!==null;){if(e=Ke,l&&(a=e.deletions,a!==null))for(u=0;u<a.length;u++)l&&as(a[u]);if(e.alternate===null&&(e.flags&2)!==0)l&&Sh(e),Ui(l);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&l&&as(a),Ui(l);continue}else if(a!==null&&a.memoizedState!==null){l&&Sh(e),Ui(l);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,Ke=a):(l&&Th(e),Ui(l))}}Ct=null}function Ui(e){for(;Ke!==null;){var t=Ke,l=e,a=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((n&1024)!==0&&a!==null){l=void 0,n=a.memoizedProps,a=a.memoizedState;var u=t.stateNode;try{var c=_a(t.type,n);l=u.getSnapshotBeforeUpdate(c,a),u.__reactInternalSnapshotBeforeUpdate=l}catch(f){Ee(t,t.return,f)}}break;case 3:if((n&1024)!==0){if(a=t.stateNode.containerInfo,l=a.nodeType,l===9)Ys(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Ys(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:l&&a!==null&&(l=pl(a.memoizedProps,a.stateNode),n=t.memoizedProps,n=bl(n.default,n.update),n!=="none"&&an(a,l,n,a.memoizedState=[],!0));break;default:if((n&1024)!==0)throw Error(s(163))}if(a=t.sibling,a!==null){a.return=t.return,Ke=a;break}Ke=t.return}}function Rh(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:rl(e,l),a&4&&iu(5,l);break;case 1:if(rl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(c){Ee(l,l.return,c)}else{var n=_a(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){Ee(l,l.return,c)}}a&64&&yh(l),a&512&&ul(l,l.return);break;case 3:if(rl(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{nd(e,t)}catch(c){Ee(l,l.return,c)}}break;case 27:t===null&&a&4&&bh(l);case 26:case 5:rl(e,l),t===null&&a&4&&Io(l),a&512&&ul(l,l.return);break;case 12:rl(e,l);break;case 31:rl(e,l),a&4&&jh(e,l);break;case 13:rl(e,l),a&4&&Mh(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=d1.bind(null,l),K1(e,l))));break;case 22:if(a=l.memoizedState!==null||Ze,!a){var u=t!==null&&t.memoizedState!==null||be;t=Ze,n=be,Ze=a,(be=u)&&!n?(a=2,(l.subtreeFlags&8772)!==0&&(a|=1),Jt(e,l,a)):rl(e,l),Ze=t,be=n}break;case 30:rl(e,l),a&512&&ul(l,l.return);break;case 7:a&512&&ul(l,l.return);default:rl(e,l)}}function os(e,t){for(e=e.child;e!==null;)zh(e,t),e=e.sibling}function zh(e,t){switch(e.tag){case 5:case 26:try{var l=e.stateNode;if(t){var a=l.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var n=e.stateNode,u=e.memoizedProps.style,c=u!=null&&u.hasOwnProperty("display")?u.display:null;n.style.display=c==null||typeof c=="boolean"?"":(""+c).trim()}}catch(v){Ee(e,e.return,v)}ss(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,ye=!0}catch(v){Ee(e,e.return,v)}break;case 18:try{var f=e.stateNode;t?Sm(f,!0):Sm(e.stateNode,!1)}catch(v){Ee(e,e.return,v)}break;case 22:case 23:e.memoizedState===null&&os(e,t);break;default:os(e,t)}}function ss(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var l=e,a=t;switch(l.tag){case 4:zh(l,a);break e;case 22:l.memoizedState===null&&ss(l,a);break e;default:ss(l,a)}}e=e.sibling}}function Oh(e){var t=e.alternate;t!==null&&(e.alternate=null,Oh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Yu(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 we=null,gt=!1;function Zt(e,t,l){for(l=l.child;l!==null;)Ah(e,t,l),l=l.sibling}function Ah(e,t,l){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(jn,l)}catch{}switch(l.tag){case 26:be||Pe(l,t),Zt(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&!be&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:be||Pe(l,t),cu(l);var a=we,n=gt;ea(l.type)&&(we=l.stateNode,gt=!1),Zt(e,t,l),Dm(l.stateNode,l.type,l.memoizedProps),we=a,gt=n;break;case 5:be||Pe(l,t),cu(l);case 6:if(l.tag===6&&cu(l),a=we,n=gt,we=null,Zt(e,t,l),we=a,gt=n,we!==null)if(gt)try{(we.nodeType===9?we.body:we.nodeName==="HTML"?we.ownerDocument.body:we).removeChild(l.stateNode),ye=!0}catch(u){Ee(l,t,u)}else try{we.removeChild(l.stateNode),ye=!0}catch(u){Ee(l,t,u)}break;case 18:we!==null&&(gt?(e=we,bm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Tn(e)):bm(we,l.stateNode));break;case 4:a=we,n=gt,we=l.stateNode.containerInfo,gt=!0,Zt(e,t,l),we=a,gt=n;break;case 0:case 11:case 14:case 15:Kl(2,l,t),be||Kl(4,l,t),Zt(e,t,l);break;case 1:be||(Pe(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&vh(l,t,a)),Zt(e,t,l);break;case 21:Zt(e,t,l);break;case 22:be=(a=be)||l.memoizedState!==null,Zt(e,t,l),be=a;break;case 30:Pe(l,t),Zt(e,t,l);break;case 7:be||Pe(l,t),Zt(e,t,l);break;default:Zt(e,t,l)}}function jh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Tn(e)}catch(l){Ee(t,t.return,l)}}}function Mh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Tn(e)}catch(l){Ee(t,t.return,l)}}function t1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ch),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ch),t;default:throw Error(s(435,e.tag))}}function Hi(e,t){var l=t1(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=h1.bind(null,e,a);a.then(n,n)}})}function st(e,t,l){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var u=a[n],c=e,f=t,v=f;e:for(;v!==null;){switch(v.tag){case 27:if(ea(v.type)){we=v.stateNode,gt=!1;break e}break;case 5:we=v.stateNode,gt=!1;break e;case 3:case 4:we=v.stateNode.containerInfo,gt=!0;break e}v=v.return}if(we===null)throw Error(s(160));Ah(c,f,u),we=null,gt=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)wh(t,e,l),t=t.sibling}var Kt=null;function wh(e,t,l){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(n&4&&(a=e.updateQueue,a=a!==null?a.events:null,a!==null))for(var u=0;u<a.length;u++){var c=a[u];c.ref.impl=c.nextImpl}st(t,e,l),rt(e),n&4&&(Kl(3,e,e.return),iu(3,e),Kl(5,e,e.return));break;case 1:st(t,e,l),rt(e),n&512&&(be||a===null||Pe(a,a.return)),n&64&&Ze&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?t:l.concat(t))));break;case 26:if(u=Kt,st(t,e,l),rt(e),n&512&&(be||a===null||Pe(a,a.return)),n&4)if(n=a!==null?a.memoizedState:null,l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null)if(Ze)e.stateNode=vm(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,l=e.memoizedProps,n=u.ownerDocument||u;t:switch(t){case"title":a=n.getElementsByTagName("title")[0],(!a||a[Dn]||a[$e]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(t),n.head.insertBefore(a,n.querySelector("head > title"))),et(a,t,l),a[$e]=e,Qe(a),t=a;break e;case"link":if(u=Ym("link","href",n).get(t+(l.href||""))){for(c=0;c<u.length;c++)if(a=u[c],a.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&a.getAttribute("rel")===(l.rel==null?null:l.rel)&&a.getAttribute("title")===(l.title==null?null:l.title)&&a.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(c,1);break t}}a=n.createElement(t),et(a,t,l),n.head.appendChild(a);break;case"meta":if(u=Ym("meta","content",n).get(t+(l.content||""))){for(c=0;c<u.length;c++)if(a=u[c],a.getAttribute("content")===(l.content==null?null:""+l.content)&&a.getAttribute("name")===(l.name==null?null:l.name)&&a.getAttribute("property")===(l.property==null?null:l.property)&&a.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&a.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(c,1);break t}}a=n.createElement(t),et(a,t,l),n.head.appendChild(a);break;default:throw Error(s(468,t))}a[$e]=e,Qe(a),t=a}e.stateNode=t}else Ze||Ks(u,e.type,e.stateNode);else e.stateNode=qm(u,l,e.memoizedProps);else n!==l?(n===null?(t=a.stateNode,t===null||be||t.parentNode.removeChild(t)):n.count--,l===null?Ze||Ks(u,e.type,e.stateNode):qm(u,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Wo(e,e.memoizedProps,a.memoizedProps);break;case 27:st(t,e,l),rt(e),n&512&&(be||a===null||Pe(a,a.return)),a!==null&&n&4&&Wo(e,e.memoizedProps,a.memoizedProps);break;case 5:if(u=ol,ol=!1,st(t,e,l),ol=u,rt(e),n&512&&(be||a===null||Pe(a,a.return)),e.flags&32){t=e.stateNode;try{qa(t,""),ye=!0}catch(A){Ee(e,e.return,A)}}n&4&&e.stateNode!=null&&(t=e.memoizedProps,Wo(e,t,a!==null?a.memoizedProps:t)),n&1024&&(is=!0);break;case 6:if(st(t,e,l),rt(e),n&4){if(e.stateNode===null)throw Error(s(162));t=e.memoizedProps,l=e.stateNode;try{l.nodeValue=t,ye=!0}catch(A){Ee(e,e.return,A)}}break;case 3:if(ye=!1,Ii=null,u=Kt,Kt=gu(t.containerInfo),st(t,e,l),Kt=u,rt(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{Tn(t.containerInfo)}catch(A){Ee(e,e.return,A)}is&&(is=!1,Dh(e)),ye=!1;break;case 4:n=ol,ol=Ze,a=Pr(),u=Kt,Kt=gu(e.stateNode.containerInfo),st(t,e,l),rt(e),Kt=u,ye&&ou&&(Di=!0),ye=a,ol=n;break;case 12:st(t,e,l),rt(e);break;case 31:st(t,e,l),rt(e),n&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Hi(e,t)));break;case 13:st(t,e,l),rt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(qi=St()),n&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Hi(e,t)));break;case 22:u=e.memoizedState!==null,c=a!==null&&a.memoizedState!==null;var f=Ze,v=be,N=ol;Ze=f||u,ol=N||u,be=v||c,st(t,e,l),be=v,ol=N,Ze=f,rt(e),n&8192&&(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,!u||a===null||c||Ze||be||(t=c||be,l=Ze,a=be,Ze=u||Ze,be=t,Jl(e,2),Ze=l,be=a),!u&&ol||os(e,u)),n&4&&(t=e.updateQueue,t!==null&&(l=t.retryQueue,l!==null&&(t.retryQueue=null,Hi(e,l))));break;case 19:st(t,e,l),rt(e),n&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Hi(e,t)));break;case 30:n&512&&(be||a===null||Pe(a,a.return)),n=Pr(),u=ou,c=(l&335544064)===l,f=e.memoizedProps,ou=c&&bl(f.default,f.update)!=="none",st(t,e,l),rt(e),c&&a!==null&&ye&&(e.flags|=4),ou=u,ye=n;break;case 21:break;case 7:n&512&&(be||a===null||Pe(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=e);default:st(t,e,l),rt(e)}}function rt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(ph(a)){l=a;break}a=a.return}a=null;for(var n=e.return;n!==null;){if(Fo(n)){var u=n.stateNode;a===null?a=[u]:a.push(u)}if($o(n))break;n=n.return}var c=a;if(l==null)throw Error(s(160));switch(l.tag){case 27:var f=l.stateNode,v=Po(e);Ai(e,v,f,c);break;case 5:var N=l.stateNode;l.flags&32&&(qa(N,""),l.flags&=-33);var A=Po(e);Ai(e,A,N,c);break;case 3:case 4:var w=l.stateNode.containerInfo,T=Po(e);es(e,T,w,c);break;default:throw Error(s(161))}}catch(O){Ee(e,e.return,O)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Dh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Dh(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,En=!0,t.reset(),En=!1),e=e.sibling}}function nn(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Uh(t,e),t=t.sibling;else Nh(t)}function Uh(e,t){var l=e.alternate;if(l===null)ts(e,!1);else switch(e.tag){case 3:if(cs=sl=!1,xh(),nn(t,e),!sl&&!Di){if(e=il,e!==null)for(var a=0;a<e.length;a+=3){l=e[a];var n=e[a+1];Em(l,e[a+2]),l=l.ownerDocument.documentElement,l!==null&&l.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+n+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),cs=!0}il=null;break;case 5:nn(t,e);break;case 4:a=sl,sl=!1,nn(t,e),sl&&(Di=!0),sl=a;break;case 22:e.memoizedState===null&&(l.memoizedState!==null?ts(e,!1):nn(t,e));break;case 30:a=sl,n=xh(),sl=!1,nn(t,e),sl&&(e.flags|=4);var u=e.memoizedProps,c=e.stateNode;t=pl(u,c),c=pl(l.memoizedProps,c);var f=bl(u.default,u.update);f==="none"?t=!1:(u=l.memoizedState,l.memoizedState=null,l=e.child,vt=0,t=us(e,l,t,c,f,u,!0),vt!==(u===null?0:u.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(dn(e,e.memoizedProps.onUpdate),il=n):n!==null&&(n.push.apply(n,il),il=n),sl=(e.flags&32)!==0?!0:a;break;default:nn(t,e)}}function rl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Rh(e,t.alternate,t),t=t.sibling}function Jl(e,t){for(e=e.child;e!==null;){var l=e,a=t;switch(l.tag){case 0:case 11:case 14:case 15:Kl(4,l,l.return),Jl(l,a);break;case 1:Pe(l,l.return);var n=l.stateNode;typeof n.componentWillUnmount=="function"&&vh(l,l.return,n),Jl(l,a);break;case 27:(a&2)!==0&&Dm(l.stateNode,l.type,l.memoizedProps);case 5:Pe(l,l.return),l.tag!==5&&l.tag!==27||cu(l),Jl(l,a);break;case 6:cu(l);break;case 26:Pe(l,l.return),n=l.stateNode,l.memoizedState!==null||n===null||be||n.parentNode.removeChild(n),Jl(l,a);break;case 22:l.memoizedState===null&&Jl(l,a);break;case 30:Pe(l,l.return),Jl(l,a);break;case 7:Pe(l,l.return);default:Jl(l,a)}e=e.sibling}}function Jt(e,t,l){for(l=(t.subtreeFlags&8772)!==0?l:l&-2,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,c=u.flags,f=(l&1)!==0;switch(u.tag){case 0:case 11:case 15:Jt(n,u,l),iu(4,u);break;case 1:if(Jt(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(A){Ee(a,a.return,A)}if(a=u,n=a.updateQueue,n!==null){var v=a.stateNode;try{var N=n.shared.hiddenCallbacks;if(N!==null)for(n.shared.hiddenCallbacks=null,n=0;n<N.length;n++)ad(N[n],v)}catch(A){Ee(a,a.return,A)}}f&&c&64&&yh(u),ul(u,u.return);break;case 27:(l&2)!==0&&bh(u);case 5:u.tag!==5&&u.tag!==27||gh(u),Jt(n,u,l),f&&a===null&&c&4&&Io(u),ul(u,u.return);break;case 6:gh(u);break;case 26:v=u.stateNode,u.memoizedState!==null||v===null||Ze||Ks(gu(v.ownerDocument),u.type,v),Jt(n,u,l),f&&a===null&&c&4&&Io(u),ul(u,u.return);break;case 12:Jt(n,u,l);break;case 31:Jt(n,u,l),f&&c&4&&jh(n,u);break;case 13:Jt(n,u,l),f&&c&4&&Mh(n,u);break;case 22:u.memoizedState===null&&Jt(n,u,l),ul(u,u.return);break;case 30:Jt(n,u,l),ul(u,u.return);break;case 7:ul(u,u.return);default:Jt(n,u,l)}t=t.sibling}}function rs(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Kn(l))}function fs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Kn(e))}function Bt(e,t,l,a){var n=(l&335544064)===l;if(t.subtreeFlags&(n?10262:10256))for(t=t.child;t!==null;)Hh(e,t,l,a),t=t.sibling;else n&&_h(t)}function Hh(e,t,l,a){var n=(l&335544064)===l;n&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&wi(t);var u=t.flags;switch(t.tag){case 0:case 11:case 15:Bt(e,t,l,a),u&2048&&iu(9,t);break;case 1:Bt(e,t,l,a);break;case 3:Bt(e,t,l,a),n&&cs&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),u&2048&&(u=null,t.alternate!==null&&(u=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==u&&(t.refCount++,u!=null&&Kn(u)));break;case 12:if(u&2048){Bt(e,t,l,a),u=t.stateNode;try{var c=t.memoizedProps,f=c.id,v=c.onPostCommit;typeof v=="function"&&v(f,t.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(N){Ee(t,t.return,N)}}else Bt(e,t,l,a);break;case 31:Bt(e,t,l,a);break;case 13:Bt(e,t,l,a);break;case 23:break;case 22:c=t.stateNode,f=t.alternate,t.memoizedState!==null?(n&&f!==null&&f.memoizedState===null&&wi(f),c._visibility&2?Bt(e,t,l,a):su(e,t)):(n&&f!==null&&f.memoizedState!==null&&wi(t),c._visibility&2?Bt(e,t,l,a):(c._visibility|=2,un(e,t,l,a,(t.subtreeFlags&10256)!==0||!1))),u&2048&&rs(f,t);break;case 24:Bt(e,t,l,a),u&2048&&fs(t.alternate,t);break;case 30:n&&(u=t.alternate,u!==null&&(cl(u.child,!0),cl(t.child,!0))),Bt(e,t,l,a);break;default:Bt(e,t,l,a)}}function un(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,c=t,f=l,v=a,N=c.flags;switch(c.tag){case 0:case 11:case 15:un(u,c,f,v,n),iu(8,c);break;case 23:break;case 22:var A=c.stateNode;c.memoizedState!==null?A._visibility&2?un(u,c,f,v,n):su(u,c):(A._visibility|=2,un(u,c,f,v,n)),n&&N&2048&&rs(c.alternate,c);break;case 24:un(u,c,f,v,n),n&&N&2048&&fs(c.alternate,c);break;default:un(u,c,f,v,n)}t=t.sibling}}function su(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:su(l,a),n&2048&&rs(a.alternate,a);break;case 24:su(l,a),n&2048&&fs(a.alternate,a);break;default:su(l,a)}t=t.sibling}}var Na=8192;function Ca(e,t,l){if(e.subtreeFlags&Na)for(e=e.child;e!==null;)Lh(e,t,l),e=e.sibling}function Lh(e,t,l){switch(e.tag){case 26:Ca(e,t,l),e.flags&Na&&(e.memoizedState!==null?cg(l,Kt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&Qm(l,e)));break;case 5:Ca(e,t,l),e.flags&Na&&(e=e.stateNode,(t&335544128)===t&&Qm(l,e));break;case 3:case 4:var a=Kt;Kt=gu(e.stateNode.containerInfo),Ca(e,t,l),Kt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Na,Na=16777216,Ca(e,t,l),Na=a):Ca(e,t,l));break;case 30:if((e.flags&Na)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var n=e.stateNode;n.paired=null,Ct===null&&(Ct=new Map),Ct.set(a,n)}Ca(e,t,l);break;default:Ca(e,t,l)}}function Bh(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 ru(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Ke=a,Yh(a,e)}Bh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qh(e),e=e.sibling}function qh(e){switch(e.tag){case 0:case 11:case 15:ru(e),e.flags&2048&&Kl(9,e,e.return);break;case 3:ru(e);break;case 12:ru(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Li(e)):ru(e);break;default:ru(e)}}function Li(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Ke=a,Yh(a,e)}Bh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kl(8,t,t.return),Li(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Li(t));break;default:Li(t)}e=e.sibling}}function Yh(e,t){for(;Ke!==null;){var l=Ke;switch(l.tag){case 0:case 11:case 15:Kl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Kn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Ke=a;else e:for(l=e;Ke!==null;){a=Ke;var n=a.sibling,u=a.return;if(Oh(a),a===l){Ke=null;break e}if(n!==null){n.return=u,Ke=n;break e}Ke=u}}}var l1={getCacheForType:function(e){var t=Fe(qe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return Fe(qe).controller.signal}},a1=typeof WeakMap=="function"?WeakMap:Map,ge=0,Re=null,oe=null,re=0,xe=0,Rt=null,$l=!1,cn=!1,ds=!1,zl=0,Le=0,Fl=0,Ra=0,Bi=0,zt=0,on=0,fu=null,pt=null,hs=!1,qi=0,Gh=0,Yi=1/0,Gi=null,Il=null,Ue=0,$t=null,za=null,fl=0,ms=0,ys=null,kh=null,sn=null,rn=null,fn=null,du=0,ki=null;function Ot(){return(ge&2)!==0&&re!==0?re&-re:X.T!==null?Ns():Qr()}function Vh(){if(zt===0)if((re&536870912)===0||ie){var e=Hu;Hu<<=1,(Hu&3932160)===0&&(Hu=262144),zt=e}else zt=536870912;return e=Ie.current,e!==null&&(e.flags|=32),zt}function dn(e,t){if(t!=null){var l=e.stateNode,a=l.ref;a===null&&(a=l.ref=Tm(pl(e.memoizedProps,l))),rn===null&&(rn=[]),rn.push(t.bind(null,a))}}function bt(e,t,l){(e===Re&&(xe===2||xe===9)||e.cancelPendingCommit!==null)&&(hn(e,0),Wl(e,re,zt,!1)),wn(e,l),((ge&2)===0||e!==Re)&&(e===Re&&((ge&2)===0&&(Ra|=l),Le===4&&Wl(e,re,zt,!1)),dl(e))}function Qh(e,t,l){if((ge&6)!==0)throw Error(s(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Mn(e,t),n=a?i1(e,t):gs(e,t,!0),u=a;do{if(n===0){cn&&!a&&Wl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!n1(l)){n=gs(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var f=e;n=fu;var v=f.current.memoizedState.isDehydrated;if(v&&(hn(f,c).flags|=256),c=gs(f,c,!1),c!==2&&c!==6){if(ds&&!v){f.errorRecoveryDisabledLanes|=u,Ra|=u,n=4;break e}u=pt,pt=n,u!==null&&(pt===null?pt=u:pt.push.apply(pt,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){hn(e,0),Wl(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Wl(a,t,zt,!$l);break e;case 2:pt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(n=qi+300-St(),10<n)){if(Wl(a,t,zt,!$l),Bu(a,0,!0)!==0)break e;fl=t,a.timeoutHandle=Hs(Xh.bind(null,a,l,pt,Gi,hs,t,zt,Ra,on,$l,u,"Throttled",-0,0),n);break e}Xh(a,l,pt,Gi,hs,t,zt,Ra,on,$l,u,null,-0,0)}}break}while(!0);dl(e)}function Xh(e,t,l,a,n,u,c,f,v,N,A,w,T,O){e.timeoutHandle=-1;var Y=t.subtreeFlags,Q=(u&335544064)===u;if(w=null,(Q||Y&8192||(Y&16785408)===16785408)&&(w={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ll},Ct=null,Lh(t,u,w),Q&&(Y=w,Q=e.containerInfo,Q=(Q.nodeType===9?Q:Q.ownerDocument).__reactViewTransition,Q!=null&&(Y.count++,Y.waitingForViewTransition=!0,Y=Su.bind(Y),Q.finished.then(Y,Y))),Y=(u&62914560)===u?qi-St():(u&4194048)===u?Gh-St():0,Y=og(w,Y),Y!==null)){fl=u,e.cancelPendingCommit=Y(Ph.bind(null,e,t,u,l,a,n,c,f,v,N,A,w,null,T,O)),Wl(e,u,c,!N);return}Ph(e,t,u,l,a,n,c,f,v,N,A,w)}function n1(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!_t(u(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;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 Wl(e,t,l,a){t=qr(e,t),t&=~Bi,t&=~Ra,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-Et(n),c=1<<u;a[u]=-1,n&=~c}l!==0&&Gr(e,l,t)}function Vi(){return(ge&6)===0?(hu(0),!1):!0}function vs(){if(oe!==null){if(xe===0)var e=oe.return;else e=oe,El=ya=null,_o(e),Wa=null,Fn=0,e=oe;for(;e!==null;)mh(e.alternate,e),e=e.return;oe=null}}function hn(e,t){var l=e.timeoutHandle;return l!==-1&&(e.timeoutHandle=-1,z1(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),fl=0,vs(),Re=e,oe=l=Sl(e.current,null),re=t,xe=0,Rt=null,$l=!1,cn=Mn(e,t),ds=!1,on=zt=Bi=Ra=Fl=Le=0,pt=fu=null,hs=!1,zl=qr(e,t),Iu(),l}function Zh(e,t){ne=null,X.H=Ei,t===Ia||t===oi?(t=Pf(),xe=3):t===ro?(t=Pf(),xe=4):xe=t===qo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Rt=t,oe===null&&(Le=1,Ti(e,Dt(t,e.current)))}function Kh(){var e=Ie.current;return e===null?!0:(re&4194048)===re?ut===null:(re&62914560)===re||(re&536870912)!==0?e===ut:!1}function Jh(){var e=X.H;return X.H=Ei,e===null?Ei:e}function $h(){var e=X.A;return X.A=l1,e}function Qi(){Le=4,$l||(re&4194048)!==re&&Ie.current!==null||(cn=!0),(Fl&134217727)===0&&(Ra&134217727)===0||Re===null||Wl(Re,re,zt,!1)}function gs(e,t,l){var a=ge;ge|=2;var n=Jh(),u=$h();(Re!==e||re!==t)&&(Gi=null,hn(e,t)),t=!1;var c=Le;e:do try{if(xe!==0&&oe!==null){var f=oe,v=Rt;switch(xe){case 8:vs(),c=6;break e;case 3:case 2:case 9:case 6:Ie.current===null&&(t=!0);var N=xe;if(xe=0,Rt=null,mn(e,f,v,N),l&&cn){c=0;break e}break;default:N=xe,xe=0,Rt=null,mn(e,f,v,N)}}u1(),c=Le;break}catch(A){Zh(e,A)}while(!0);return t&&e.shellSuspendCounter++,El=ya=null,ge=a,X.H=n,X.A=u,oe===null&&(Re=null,re=0,Iu()),c}function u1(){for(;oe!==null;)Fh(oe)}function i1(e,t){var l=ge;ge|=2;var a=Jh(),n=$h();Re!==e||re!==t?(Gi=null,Yi=St()+500,hn(e,t)):cn=Mn(e,t);e:do try{if(xe!==0&&oe!==null){t=oe;var u=Rt;t:switch(xe){case 1:xe=0,Rt=null,mn(e,t,u,1);break;case 2:case 9:if(If(u)){xe=0,Rt=null,Ih(t);break}t=function(){xe!==2&&xe!==9||Re!==e||(xe=7),dl(e)},u.then(t,t);break e;case 3:xe=7;break e;case 4:xe=5;break e;case 7:If(u)?(xe=0,Rt=null,Ih(t)):(xe=0,Rt=null,mn(e,t,u,7));break;case 5:var c=null;switch(oe.tag){case 26:c=oe.memoizedState;case 5:case 27:var f=oe;if(c?km(c):f.stateNode.complete){xe=0,Rt=null;var v=f.sibling;if(v!==null)oe=v;else{var N=f.return;N!==null?(oe=N,Xi(N)):oe=null}break t}}xe=0,Rt=null,mn(e,t,u,5);break;case 6:xe=0,Rt=null,mn(e,t,u,6);break;case 8:vs(),Le=6;break e;default:throw Error(s(462))}}c1();break}catch(A){Zh(e,A)}while(!0);return El=ya=null,X.H=a,X.A=n,ge=l,oe!==null?0:(Re=null,re=0,Iu(),Le)}function c1(){for(;oe!==null&&!_y();)Fh(oe)}function Fh(e){var t=dh(e.alternate,e,zl);e.memoizedProps=e.pendingProps,t===null?Xi(e):oe=t}function Ih(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=uh(l,t,t.pendingProps,t.type,void 0,re);break;case 11:t=uh(l,t,t.pendingProps,t.type.render,t.ref,re);break;case 5:_o(t);var a=t;a===Xe&&(ie?(ai(a),a.tag===5&&a.stateNode!=null&&(Ae=a.stateNode)):(ai(a),ie=!0));default:mh(l,t),t=oe=Yf(t,zl),t=dh(l,t,zl)}e.memoizedProps=e.pendingProps,t===null?Xi(e):oe=t}function mn(e,t,l,a){El=ya=null,_o(t),Wa=null,Fn=0;var n=t.return;try{if(Jv(e,n,t,l,re)){Le=1,Ti(e,Dt(l,e.current)),oe=null;return}}catch(u){if(n!==null)throw oe=n,u;Le=1,Ti(e,Dt(l,e.current)),oe=null;return}t.flags&32768?(ie||a===1?e=!0:cn||(re&536870912)!==0?e=!1:($l=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ie.current,a!==null&&a.tag===13&&(a.flags|=16384))),Wh(t,e)):Xi(t)}function Xi(e){var t=e;do{if((t.flags&32768)!==0){Wh(t,$l);return}e=t.return;var l=Wv(t.alternate,t,zl);if(l!==null){oe=l;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);Le===0&&(Le=5)}function Wh(e,t){do{var l=Pv(e.alternate,e);if(l!==null){l.flags&=32767,oe=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){oe=e;return}oe=e=l}while(e!==null);Le=6,oe=null}function Ph(e,t,l,a,n,u,c,f,v,N,A,w){e.cancelPendingCommit=null;do Zi();while(Ue!==0);if((ge&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));e===Re&&(oe=Re=null,re=0),za=t,$t=e,fl=l,ys=n,kh=a,o1(e,t,l,c,f,v,w)}}function o1(e,t,l,a,n,u,c){var f=t.lanes|t.childLanes;if(ms=f,f|=Ic,Dy(e,l,f,a,n,u),rn=null,(l&335544064)===l?(fn=Hv(e),a=10262):(fn=null,a=10256),(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,m1(Du,function(){return xs(),null})):(e.callbackNode=null,e.callbackPriority=0),ji=!1,a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=X.T,X.T=null,n=le.p,le.p=2,u=ge,ge|=4;try{e1(e,t,l)}finally{ge=u,le.p=n,X.T=a}}Ue=1,ji?sn=D1(c,e.containerInfo,fn,ps,bs,r1,Ss,xs,s1):(ps(),bs(),Ss())}function s1(e){if(Ue!==0){var t=$t.onRecoverableError;t(e,{componentStack:null})}}function r1(){Ue===3&&(Ue=0,Uh(za,$t),Ue=4)}function ps(){if(Ue===1){Ue=0;var e=$t,t=za,l=fl,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=X.T,X.T=null;var n=le.p;le.p=2;var u=ge;ge|=4;try{ou=Di=!1,wh(t,e,l),l=ws;var c=Af(e.containerInfo),f=l.focusedElem,v=l.selectionRange;if(c!==f&&f&&f.ownerDocument&&Of(f.ownerDocument.documentElement,f)){if(v!==null&&Zc(f)){var N=v.start,A=v.end;if(A===void 0&&(A=N),"selectionStart"in f)f.selectionStart=N,f.selectionEnd=Math.min(A,f.value.length);else{var w=f.ownerDocument||document,T=w&&w.defaultView||window;if(T.getSelection){var O=T.getSelection(),Y=f.textContent.length,Q=Math.min(v.start,Y),ue=v.end===void 0?Q:Math.min(v.end,Y);!O.extend&&Q>ue&&(c=ue,ue=Q,Q=c);var _=zf(f,Q),b=zf(f,ue);if(_&&b&&(O.rangeCount!==1||O.anchorNode!==_.node||O.anchorOffset!==_.offset||O.focusNode!==b.node||O.focusOffset!==b.offset)){var R=w.createRange();R.setStart(_.node,_.offset),O.removeAllRanges(),Q>ue?(O.addRange(R),O.extend(b.node,b.offset)):(R.setEnd(b.node,b.offset),O.addRange(R))}}}}for(w=[],O=f;O=O.parentNode;)O.nodeType===1&&w.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<w.length;f++){var M=w[f];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}En=!!Ms,ws=Ms=null}finally{ge=u,le.p=n,X.T=a}}e.current=t,Ue=2}}function bs(){if(Ue===2){Ue=0;var e=$t,t=za,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=X.T,X.T=null;var a=le.p;le.p=2;var n=ge;ge|=4;try{Rh(e,t.alternate,t)}finally{ge=n,le.p=a,X.T=l}}Ue=3}}function Ss(){if(Ue===4||Ue===3){Ue=0;var e=sn;sn=null,Ny();var t=$t,l=za,a=fl,n=kh,u=(a&335544064)===a?10262:10256;if((l.subtreeFlags&u)!==0||(l.flags&u)!==0?Ue=5:(Ue=0,za=$t=null,em(t,t.pendingLanes)),u=t.pendingLanes,u===0&&(Il=null),zc(a),l=l.stateNode,xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(jn,l,void 0,(l.current.flags&128)===128)}catch{}if(n!==null){l=X.T,u=le.p,le.p=2,X.T=null;try{for(var c=t.onRecoverableError,f=0;f<n.length;f++){var v=n[f];c(v.value,{componentStack:v.stack})}}finally{X.T=l,le.p=u}}if(n=rn,c=fn,fn=null,n!==null&&(rn=null,c===null&&(c=[]),e!==null))for(v=0;v<n.length;v++)l=(0,n[v])(c),l!==void 0&&e.finished.finally(l);(fl&3)!==0&&Zi(),dl(t),u=t.pendingLanes,(a&261930)!==0&&(u&42)!==0?t===ki?du++:(du=0,ki=t):(du=0,ki=null),hu(0)}}function em(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Kn(t)))}function Zi(){return sn!==null&&(sn.skipTransition(),sn=null),ps(),bs(),Ss(),xs()}function xs(){if(Ue!==5)return!1;var e=$t,t=ms;ms=0;var l=zc(fl),a=X.T,n=le.p;try{le.p=32>l?32:l,X.T=null,l=ys,ys=null;var u=$t,c=fl;if(Ue=0,za=$t=null,fl=0,(ge&6)!==0)throw Error(s(331));var f=ge;if(ge|=4,qh(u.current),Hh(u,u.current,c,l),ge=f,hu(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(jn,u)}catch{}return!0}finally{le.p=n,X.T=a,em(e,t)}}function tm(e,t,l){t=Dt(l,t),t=Bo(e.stateNode,t,2),e=Vl(e,t,2),e!==null&&(wn(e,2),dl(e))}function Ee(e,t,l){if(e.tag===3)tm(e,e,l);else for(;t!==null;){if(t.tag===3){tm(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Il===null||!Il.has(a))){e=Dt(l,e),l=Id(2),a=Vl(t,l,2),a!==null&&(Wd(l,a,t,e),wn(a,2),dl(a));break}}t=t.return}}function Es(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new a1;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(ds=!0,n.add(l),e=f1.bind(null,e,t,l),t.then(e,e))}function f1(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Re===e&&(re&l)===l&&((Le===4||Le===3&&(re&62914560)===re&&300>St()-qi)&&(ge&2)===0?hn(e,0):Bi|=l,on===re&&(on=0)),dl(e)}function lm(e,t){t===0&&(t=Yr()),e=da(e,t),e!==null&&(wn(e,t),dl(e))}function d1(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),lm(e,l)}function h1(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(t),lm(e,l)}function m1(e,t){return _c(e,t)}var yn=null,vn=null,Ts=!1,Ki=!1,_s=!1,Pl=0;function dl(e){e!==vn&&e.next===null&&(vn===null?yn=vn=e:vn=vn.next=e),Ki=!0,Ts||(Ts=!0,v1())}function hu(e,t){if(!_s&&Ki){_s=!0;do for(var l=!1,a=yn;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-Et(42|e)+1)-1,u&=n&~(c&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,im(a,u))}else u=re,u=Bu(a,a===Re?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Mn(a,u)||(l=!0,im(a,u));a=a.next}while(l);_s=!1}}function y1(){am()}function am(){Ki=Ts=!1;var e=0;Pl!==0&&R1()&&(e=Pl);for(var t=St(),l=null,a=yn;a!==null;){var n=a.next,u=nm(a,t);u===0?(a.next=null,l===null?yn=n:l.next=n,n===null&&(vn=l)):(l=a,(e!==0||(u&3)!==0)&&(Ki=!0)),a=n}Ue!==0&&Ue!==5||hu(e),Pl!==0&&(Pl=0)}function nm(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var c=31-Et(u),f=1<<c,v=n[c];v===-1?((f&l)===0||(f&a)!==0)&&(n[c]=wy(f,t)):v<=t&&(e.expiredLanes|=f),u&=~f}if(t=Re,l=re,l=Bu(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(xe===2||xe===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Nc(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Mn(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Nc(a),zc(l)){case 2:case 8:l=Lr;break;case 32:l=Du;break;case 268435456:l=Br;break;default:l=Du}return a=um.bind(null,e),l=_c(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Nc(a),e.callbackPriority=2,e.callbackNode=null,2}function um(e,t){if(Ue!==0&&Ue!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Zi()&&e.callbackNode!==l)return null;var a=re;return a=Bu(e,e===Re?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Qh(e,a,t),nm(e,St()),e.callbackNode!=null&&e.callbackNode===l?um.bind(null,e):null)}function im(e,t){if(Zi())return null;Qh(e,t,!0)}function v1(){O1(function(){(ge&6)!==0?_c(Hr,y1):am()})}function Ns(){if(Pl===0){var e=pa;e===0&&(e=Uu,Uu<<=1,(Uu&261888)===0&&(Uu=256)),Pl=e}return Pl}function cm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Vu(e)}function g1(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=cm((n[mt]||null).action),c=a.submitter;c&&(t=(t=c[mt]||null)?cm(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var f=new Ku("action","action",null,a,n);e.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Pl!==0){var v=new FormData(n,c);wo(l,{pending:!0,data:v,method:n.method,action:u},null,v)}}else typeof u=="function"&&(f.preventDefault(),v=new FormData(n,c),wo(l,{pending:!0,data:v,method:n.method,action:u},u,v))},currentTarget:n}]})}}for(var Cs=0;Cs<Fc.length;Cs++){var Rs=Fc[Cs],p1=Rs.toLowerCase(),b1=Rs[0].toUpperCase()+Rs.slice(1);Xt(p1,"on"+b1)}Xt(wf,"onAnimationEnd"),Xt(Df,"onAnimationIteration"),Xt(Uf,"onAnimationStart"),Xt("dblclick","onDoubleClick"),Xt("focusin","onFocus"),Xt("focusout","onBlur"),Xt(zv,"onTransitionRun"),Xt(Ov,"onTransitionStart"),Xt(Av,"onTransitionCancel"),Xt(Hf,"onTransitionEnd"),La("onMouseEnter",["mouseout","mouseover"]),La("onMouseLeave",["mouseout","mouseover"]),La("onPointerEnter",["pointerout","pointerover"]),La("onPointerLeave",["pointerout","pointerover"]),sa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),sa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),sa("onBeforeInput",["compositionend","keypress","textInput","paste"]),sa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),sa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),sa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mu="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(" "),S1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mu));function om(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var c=a.length-1;0<=c;c--){var f=a[c],v=f.instance,N=f.currentTarget;if(f=f.listener,v!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=N;try{u(n)}catch(A){Fu(A)}n.currentTarget=null,u=v}else for(c=0;c<a.length;c++){if(f=a[c],v=f.instance,N=f.currentTarget,f=f.listener,v!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=N;try{u(n)}catch(A){Fu(A)}n.currentTarget=null,u=v}}}}function se(e,t){var l=t[Zr];l===void 0&&(l=t[Zr]=new Set);var a=e+"__bubble";l.has(a)||(sm(t,e,2,!1),l.add(a))}function zs(e,t,l){var a=0;t&&(a|=4),sm(l,e,a,t)}var Ji="_reactListening"+Math.random().toString(36).slice(2);function Os(e){if(!e[Ji]){e[Ji]=!0,$r.forEach(function(l){l!=="selectionchange"&&(S1.has(l)||zs(l,!1,e),zs(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ji]||(t[Ji]=!0,zs("selectionchange",!1,t))}}function sm(e,t,l,a){switch(Wm(t)){case 2:var n=dg;break;case 8:n=hg;break;default:n=$s}l=n.bind(null,t,l,e),n=void 0,!Hc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function As(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var f=a.stateNode.containerInfo;if(f===n)break;if(c===4)for(c=a.return;c!==null;){var v=c.tag;if((v===3||v===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;f!==null;){if(c=oa(f),c===null)return;if(v=c.tag,v===5||v===6||v===26||v===27){a=u=c;continue e}f=f.parentNode}}a=a.return}sf(function(){var N=u,A=Dc(l),w=[];e:{var T=Lf.get(e);if(T!==void 0){var O=Ku,Y=e;switch(e){case"keypress":if(Xu(l)===0)break e;case"keydown":case"keyup":O=nv;break;case"focusin":Y="focus",O=Yc;break;case"focusout":Y="blur",O=Yc;break;case"beforeblur":case"afterblur":O=Yc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=df;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=Zy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=sv;break;case wf:case Df:case Uf:O=$y;break;case Hf:O=fv;break;case"scroll":case"scrollend":O=Qy;break;case"wheel":O=hv;break;case"copy":case"cut":case"paste":O=Iy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=mf;break;case"submit":O=cv;break;case"toggle":case"beforetoggle":O=yv}var Q=(t&4)!==0,ue=!Q&&(e==="scroll"||e==="scrollend"),_=Q?T!==null?T+"Capture":null:T;Q=[];for(var b=N,R;b!==null;){var M=b;if(R=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||R===null||_===null||(M=Hn(b,_),M!=null&&Q.push(yu(b,M,R))),ue)break;b=b.return}0<Q.length&&(T=new O(T,Y,null,l,A),w.push({event:T,listeners:Q}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",O&&l!==wc&&(Y=l.relatedTarget||l.fromElement)&&(oa(Y)||Y[Da]))break e;(T||O)&&(Y=A.window===A?A:(O=A.ownerDocument)?O.defaultView||O.parentWindow:window,T?(O=l.relatedTarget||l.toElement,T=N,O=O?oa(O):null,O!==null&&(ue=m(O),Q=O.tag,O!==ue||Q!==5&&Q!==27&&Q!==6)&&(O=null)):(T=null,O=N),T!==O&&(Q=df,M="onMouseLeave",_="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(Q=mf,M="onPointerLeave",_="onPointerEnter",b="pointer"),ue=T==null?Y:Un(T),R=O==null?Y:Un(O),Y=new Q(M,b+"leave",T,l,A),Y.target=ue,Y.relatedTarget=R,M=null,oa(A)===N&&(Q=new Q(_,b+"enter",O,l,A),Q.target=R,Q.relatedTarget=ue,M=Q),ue=M,Q=T&&O?Me(T,O,x1):null,T!==null&&rm(w,Y,T,Q,!1),O!==null&&ue!==null&&rm(w,ue,O,Q,!0)))}e:{if(T=N?Un(N):window,O=T.nodeName&&T.nodeName.toLowerCase(),O==="select"||O==="input"&&T.type==="file")var V=Ef;else if(Sf(T))if(Tf)V=Nv;else{V=Tv;var fe=Ev}else O=T.nodeName,!O||O.toLowerCase()!=="input"||T.type!=="checkbox"&&T.type!=="radio"?N&&Mc(N.elementType)&&(V=Ef):V=_v;if(V&&(V=V(e,N))){xf(w,V,l,A);break e}fe&&fe(e,T,N)}switch(fe=N?Un(N):window,e){case"focusin":(Sf(fe)||fe.contentEditable==="true")&&(Va=fe,Kc=N,Qn=null);break;case"focusout":Qn=Kc=Va=null;break;case"mousedown":Jc=!0;break;case"contextmenu":case"mouseup":case"dragend":Jc=!1,jf(w,l,A);break;case"selectionchange":if(Rv)break;case"keydown":case"keyup":jf(w,l,A)}var Z;if(kc)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else ka?pf(e,l)&&(I="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(I="onCompositionStart");I&&(yf&&l.locale!=="ko"&&(ka||I!=="onCompositionStart"?I==="onCompositionEnd"&&ka&&(Z=rf()):(Dl=A,Lc="value"in Dl?Dl.value:Dl.textContent,ka=!0)),fe=$i(N,I),0<fe.length&&(I=new hf(I,e,null,l,A),w.push({event:I,listeners:fe}),Z?I.data=Z:(Z=bf(l),Z!==null&&(I.data=Z)))),(Z=gv?pv(e,l):bv(e,l))&&(I=$i(N,"onBeforeInput"),0<I.length&&(fe=new hf("onBeforeInput","beforeinput",null,l,A),w.push({event:fe,listeners:I}),fe.data=Z)),g1(w,e,N,l,A)}om(w,t)})}function yu(e,t,l){return{instance:e,listener:t,currentTarget:l}}function $i(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Hn(e,l),n!=null&&a.unshift(yu(e,n,u)),n=Hn(e,t),n!=null&&a.push(yu(e,n,u))),e.tag===3)return a;e=e.return}return[]}function x1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function rm(e,t,l,a,n){for(var u=t._reactName,c=[];l!==null&&l!==a;){var f=l,v=f.alternate,N=f.stateNode;if(f=f.tag,v!==null&&v===a)break;f!==5&&f!==26&&f!==27||N===null||(v=N,n?(N=Hn(l,u),N!=null&&c.unshift(yu(l,N,v))):n||(N=Hn(l,u),N!=null&&c.push(yu(l,N,v)))),l=l.return}c.length!==0&&e.push({event:t,listeners:c})}var E1=/\r\n?/g,T1=/\u0000|\uFFFD/g;function fm(e){return(typeof e=="string"?e:""+e).replace(E1,`
50
+ `).replace(T1,"")}function dm(e,t){return t=fm(t),fm(e)===t}function Te(e,t,l,a,n,u){switch(l){case"children":if(typeof a=="string")t==="body"||t==="textarea"&&a===""||qa(e,a);else if(typeof a=="number"||typeof a=="bigint")t!=="body"&&qa(e,""+a);else return;break;case"className":ku(e,"class",a);break;case"tabIndex":ku(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ku(e,l,a);break;case"style":cf(e,a,u);return;case"data":if(t!=="object"){ku(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Vu(a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"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 u=="function"&&(l==="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(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Vu(a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=ll);return;case"onScroll":a!=null&&se("scroll",e);return;case"onScrollEnd":a!=null&&se("scrollend",e);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));(u!=null?u.__html:void 0)!==l&&(e.innerHTML=l)}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Vu(a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":se("beforetoggle",e),se("toggle",e),Gu(e,"popover",a);break;case"xlinkActuate":vl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":vl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":vl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":vl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":vl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":vl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":vl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":vl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":vl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Gu(e,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")l=ky.get(l)||l,Gu(e,l,a);else return}ye=!0}function js(e,t,l,a,n,u){switch(l){case"style":cf(e,a,u);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));(u!=null?u.__html:void 0)!==l&&(e.innerHTML=l)}}break;case"children":if(typeof a=="string")qa(e,a);else if(typeof a=="number"||typeof a=="bigint")qa(e,""+a);else return;break;case"onScroll":a!=null&&se("scroll",e);return;case"onScrollEnd":a!=null&&se("scrollend",e);return;case"onClick":a!=null&&(e.onclick=ll);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Fr.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),u=l.slice(2,n?l.length-7:void 0),t=e[mt]||null,t=t!=null?t[l]:null,typeof t=="function"&&e.removeEventListener(u,t,n),typeof a=="function")){typeof t!="function"&&t!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(u,a,n);break e}ye=!0,l in e?e[l]=a:a===!0?e.setAttribute(l,""):Gu(e,l,a)}return}ye=!0}function et(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var c=l[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Te(e,t,u,c,l,null)}}n&&Te(e,t,"srcSet",l.srcSet,l,null),a&&Te(e,t,"src",l.src,l,null);return;case"input":se("invalid",e);var f=u=c=n=null,v=null,N=null;for(a in l)if(l.hasOwnProperty(a)){var A=l[a];if(A!=null)switch(a){case"name":n=A;break;case"type":c=A;break;case"checked":v=A;break;case"defaultChecked":N=A;break;case"value":u=A;break;case"defaultValue":f=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(s(137,t));break;default:Te(e,t,a,A,l,null)}}lf(e,u,f,v,N,c,n,!1);return;case"select":se("invalid",e),a=c=u=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":c=f;break;case"multiple":a=f;default:Te(e,t,n,f,l,null)}t=u,l=c,e.multiple=!!a,t!=null?Ba(e,!!a,t,!1):l!=null&&Ba(e,!!a,l,!0);return;case"textarea":se("invalid",e),u=n=a=null;for(c in l)if(l.hasOwnProperty(c)&&(f=l[c],f!=null))switch(c){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(s(91));break;default:Te(e,t,c,f,l,null)}nf(e,a,n,u);return;case"option":for(v in l)if(l.hasOwnProperty(v)&&(a=l[v],a!=null))switch(v){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Te(e,t,v,a,l,null)}return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(a=0;a<mu.length;a++)se(mu[a],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("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(N in l)if(l.hasOwnProperty(N)&&(a=l[N],a!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Te(e,t,N,a,l,null)}return;default:if(Mc(t)){for(A in l)l.hasOwnProperty(A)&&(a=l[A],a!==void 0&&js(e,t,A,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&Te(e,t,f,a,l,null))}var _1={};function N1(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,f=null,v=null,N=null,A=null;for(O in l){var w=l[O];if(l.hasOwnProperty(O)&&w!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":v=w;default:a.hasOwnProperty(O)||Te(e,t,O,null,a,w)}}for(var T in a){var O=a[T];if(w=l[T],a.hasOwnProperty(T)&&(O!=null||w!=null))switch(T){case"type":O!==w&&(ye=!0),u=O;break;case"name":O!==w&&(ye=!0),n=O;break;case"checked":O!==w&&(ye=!0),N=O;break;case"defaultChecked":O!==w&&(ye=!0),A=O;break;case"value":O!==w&&(ye=!0),c=O;break;case"defaultValue":O!==w&&(ye=!0),f=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,t));break;default:O!==w&&Te(e,t,T,O,a,w)}}Ac(e,c,f,v,N,A,u,n);return;case"select":O=c=f=T=null;for(u in l)if(v=l[u],l.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":O=v;default:a.hasOwnProperty(u)||Te(e,t,u,null,a,v)}for(n in a)if(u=a[n],v=l[n],a.hasOwnProperty(n)&&(u!=null||v!=null))switch(n){case"value":u!==v&&(ye=!0),T=u;break;case"defaultValue":u!==v&&(ye=!0),f=u;break;case"multiple":u!==v&&(ye=!0),c=u;default:u!==v&&Te(e,t,n,u,a,v)}t=f,l=c,a=O,T!=null?Ba(e,!!l,T,!1):!!a!=!!l&&(t!=null?Ba(e,!!l,t,!0):Ba(e,!!l,l?[]:"",!1));return;case"textarea":O=T=null;for(f in l)if(n=l[f],l.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:Te(e,t,f,null,a,n)}for(c in a)if(n=a[c],u=l[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":n!==u&&(ye=!0),T=n;break;case"defaultValue":n!==u&&(ye=!0),O=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==u&&Te(e,t,c,n,a,u)}af(e,T,O);return;case"option":for(var Y in l)if(T=l[Y],l.hasOwnProperty(Y)&&T!=null&&!a.hasOwnProperty(Y))switch(Y){case"selected":e.selected=!1;break;default:Te(e,t,Y,null,a,T)}for(v in a)if(T=a[v],O=l[v],a.hasOwnProperty(v)&&T!==O&&(T!=null||O!=null))switch(v){case"selected":T!==O&&(ye=!0),e.selected=T&&typeof T!="function"&&typeof T!="symbol";break;default:Te(e,t,v,T,a,O)}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 Q in l)T=l[Q],l.hasOwnProperty(Q)&&T!=null&&!a.hasOwnProperty(Q)&&Te(e,t,Q,null,a,T);for(N in a)if(T=a[N],O=l[N],a.hasOwnProperty(N)&&T!==O&&(T!=null||O!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(s(137,t));break;default:Te(e,t,N,T,a,O)}return;default:if(Mc(t)){for(var ue in l)T=l[ue],l.hasOwnProperty(ue)&&T!==void 0&&!a.hasOwnProperty(ue)&&js(e,t,ue,void 0,a,T);for(A in a)T=a[A],O=l[A],!a.hasOwnProperty(A)||T===O||T===void 0&&O===void 0||js(e,t,A,T,a,O);return}}for(var _ in l)T=l[_],l.hasOwnProperty(_)&&T!=null&&!a.hasOwnProperty(_)&&Te(e,t,_,null,a,T);for(w in a)T=a[w],O=l[w],!a.hasOwnProperty(w)||T===O||T==null&&O==null||Te(e,t,w,T,a,O)}function hm(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function C1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,c=n.initiatorType,f=n.duration;if(u&&f&&hm(c)){for(c=0,f=n.responseEnd,a+=1;a<l.length;a++){var v=l[a],N=v.startTime;if(N>f)break;var A=v.transferSize,w=v.initiatorType;A&&hm(w)&&(v=v.responseEnd,c+=A*(v<f?1:(f-N)/(v-N)))}if(--a,t+=8*(u+c)/(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 Ms=null,ws=null;function vu(e){return e.nodeType===9?e:e.ownerDocument}function mm(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 ym(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 vm(e,t,l,a){return l=vu(l).createElement(e),l[$e]=a,l[mt]=t,et(l,e,t),Qe(l),l}function Ds(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 Us=null;function R1(){var e=window.event;return e&&e.type==="popstate"?e===Us?!1:(Us=e,!0):(Us=null,!1)}var Hs=typeof setTimeout=="function"?setTimeout:void 0,z1=typeof clearTimeout=="function"?clearTimeout:void 0,gm=typeof Promise=="function"?Promise:void 0,pm=typeof requestAnimationFrame=="function"?requestAnimationFrame:Hs,O1=typeof queueMicrotask=="function"?queueMicrotask:typeof gm<"u"?function(e){return gm.resolve(null).then(e).catch(A1)}:Hs;function A1(e){setTimeout(function(){throw e})}function ea(e){return e==="head"}function bm(e,t){var l=t,a=0;do{var n=l.nextSibling;if(e.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(n),Tn(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Qs(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Qs(l);for(var u=l.firstChild;u;){var c=u.nextSibling,f=u.nodeName;u[Dn]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=c}}else l==="body"&&Qs(e.ownerDocument.body);l=n}while(l);Tn(t)}function Sm(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function xm(e,t,l){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,l!=null&&(e.style.viewTransitionClass=l),l=getComputedStyle(e),l.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var n=a=0;n<t.length;n++){var u=t[n];0<u.width&&0<u.height&&a++}a===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+l.paddingTop,e.marginBottom="-"+l.paddingBottom)}}function Em(e,t){e=e.style,t=t.style;var l=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=l==null||typeof l=="boolean"?"":(""+l).trim(),l=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=l==null||typeof l=="boolean"?"":(""+l).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(l=t.display,e.display=l==null||typeof l=="boolean"?"":l,l=t.margin,l!=null?e.margin=l:(l=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=l==null||typeof l=="boolean"?"":l,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function j1(e,t,l){return l=l.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=l.innerHeight&&e.left<=l.innerWidth}}function Ls(e){var t=e.getBoundingClientRect(),l=getComputedStyle(e);return j1(t,l,e)}function M1(e){return e.documentElement.clientHeight}function w1(e){this.addEventListener("load",e),this.addEventListener("error",e)}function D1(e,t,l,a,n,u,c,f,v){var N=t.nodeType===9?t:t.ownerDocument;try{var A=N.startViewTransition({update:function(){var T=N.defaultView,O=T.navigation&&T.navigation.transition,Y=N.fonts.status;a();var Q=[];if(Y==="loaded"&&(M1(N),N.fonts.status==="loading"&&Q.push(N.fonts.ready)),Y=Q.length,e!==null)for(var ue=e.suspenseyImages,_=0,b=0;b<ue.length;b++){var R=ue[b];if(!R.complete){var M=R.getBoundingClientRect();if(0<M.bottom&&0<M.right&&M.top<T.innerHeight&&M.left<T.innerWidth){if(_+=Vm(R),_>Wi){Q.length=Y;break}R=new Promise(w1.bind(R)),Q.push(R)}}}if(0<Q.length)return T=Promise.race([Promise.all(Q),new Promise(function(V){return setTimeout(V,500)})]).then(n,n),(O?Promise.allSettled([O.finished,T]):T).then(u,u);if(n(),O)return O.finished.then(u,u);u()},types:l});N.__reactViewTransition=A;var w=[];return A.ready.then(function(){for(var T=N.documentElement.getAnimations({subtree:!0}),O=0;O<T.length;O++){var Y=T[O],Q=Y.effect,ue=Q.pseudoElement;if(ue!=null&&ue.startsWith("::view-transition")){w.push(Y),Y=Q.getKeyframes();for(var _=ue=void 0,b=!0,R=0;R<Y.length;R++){var M=Y[R],V=M.width;if(ue===void 0)ue=V;else if(ue!==V){b=!1;break}if(V=M.height,_===void 0)_=V;else if(_!==V){b=!1;break}delete M.width,delete M.height,M.transform==="none"&&delete M.transform}b&&ue!==void 0&&_!==void 0&&(Q.setKeyframes(Y),b=getComputedStyle(Q.target,Q.pseudoElement),b.width!==ue||b.height!==_)&&(b=Y[0],b.width=ue,b.height=_,b=Y[Y.length-1],b.width=ue,b.height=_,Q.setKeyframes(Y))}}c()},function(T){N.__reactViewTransition===A&&(N.__reactViewTransition=null);try{if(typeof T=="object"&&T!==null)switch(T.name){case"InvalidStateError":(T.message==="View transition was skipped because document visibility state is hidden."||T.message==="Skipping view transition because document visibility state has become hidden."||T.message==="Skipping view transition because viewport size changed."||T.message==="Transition was aborted because of invalid state")&&(T=null)}T!==null&&v(T)}finally{a(),n(),c()}}),A.finished.finally(function(){for(var T=0;T<w.length;T++)w[T].cancel();N.__reactViewTransition===A&&(N.__reactViewTransition=null),f()}),A}catch{return a(),n(),c(),null}}function Oa(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Oa.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:te({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Oa.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,l=e.getAnimations({subtree:!0}),a=[],n=0;n<l.length;n++){var u=l[n].effect;u!==null&&u.target===e&&u.pseudoElement===t&&a.push(l[n])}return a},Oa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Tm(e){return{name:e,group:new Oa("group",e),imagePair:new Oa("image-pair",e),old:new Oa("old",e),new:new Oa("new",e)}}function At(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}At.prototype.addEventListener=function(e,t,l){var a=null,n=null;if(!(l!=null&&typeof l!="boolean"&&(a=l.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var u=this._eventListeners;if(Nm(u,e,t,l)===-1){var c=this,f=t;l!=null&&typeof l!="boolean"&&l.once===!0&&(f=function(v){c.removeEventListener(e,t,l),typeof t=="function"?t.call(this,v):t.handleEvent(v)}),a!==null&&(n=c.removeEventListener.bind(c,e,t,l),a.addEventListener("abort",n,{once:!0}),n=a.removeEventListener.bind(a,"abort",n)),a=gn(l),u.push({type:e,listener:t,optionsOrUseCapture:l,attachedListener:f,cleanup:n}),y(this._fragmentFiber.child,!1,U1,e,f,a)}this._eventListeners=u}};function U1(e,t,l,a){return q(e).addEventListener(t,l,a),!1}At.prototype.removeEventListener=function(e,t,l){var a=this._eventListeners;if(a!==null&&(t=Nm(a,e,t,l),t!==-1)){var n=a[t];l=n.attachedListener;var u=n.cleanup;n=gn(n.optionsOrUseCapture),y(this._fragmentFiber.child,!1,H1,e,l,n),a.splice(t,1),u!==null&&u()}};function H1(e,t,l,a){return q(e).removeEventListener(t,l,a),!1}function gn(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function _m(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Nm(e,t,l,a){if(e.length===0)return-1;a=_m(a);for(var n=0;n<e.length;n++){var u=e[n];if(u.type===t&&u.listener===l&&_m(u.optionsOrUseCapture)===a)return n}return-1}At.prototype.dispatchEvent=function(e){var t=j(this._fragmentFiber);if(t===null)return!0;t=q(t);var l=this._eventListeners;if(l!==null&&0<l.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(l)for(var n=0;n<l.length;n++){var u=l[n];a.addEventListener(u.type,u.attachedListener,gn(u.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),l)for(n=0;n<l.length;n++)u=l[n],a.removeEventListener(u.type,u.attachedListener,gn(u.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},At.prototype.focus=function(e){y(this._fragmentFiber.child,!0,Cm,e,void 0,void 0)};function Cm(e,t){return e.tag===6?!1:(e=q(e),J1(e,t))}At.prototype.focusLast=function(e){var t=[];y(this._fragmentFiber.child,!0,Bs,t,void 0,void 0);for(var l=t.length-1;0<=l&&!Cm(t[l],e);l--);};function Bs(e,t){return t.push(e),!1}At.prototype.blur=function(){var e=j(this._fragmentFiber);e!==null&&(e=q(e),e=vu(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,L1,e,void 0,void 0))};function L1(e,t){return e.tag===6?!1:(e=q(e),e===t||e.contains(t)?(t.blur(),!0):!1)}At.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,B1,e,void 0,void 0)};function B1(e,t){return e.tag===6||(e=q(e),t.observe(e)),!1}At.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),y(this._fragmentFiber.child,!1,q1,e,void 0,void 0);for(var l=t=0;l<Ft.length;l++){var a=Ft[l];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):Ft[t++]=a}Ft.length=t}};function q1(e,t){return e.tag===6||(e=q(e),t.unobserve(e)),!1}var Ft=[],qs=!1;function Y1(e,t,l){Ft.push({fragmentInstance:e,observer:t,instance:l}),qs||(qs=!0,$1(function(){qs=!1;var a=Ft;Ft=[];for(var n=0;n<a.length;n++){var u=a[n];u.observer.unobserve(u.instance)}}))}At.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,G1,e,void 0,void 0),e};function G1(e,t){if(e.tag===6){e=e.stateNode;var l=e.ownerDocument.createRange();l.selectNodeContents(e),t.push.apply(t,l.getClientRects())}else e=q(e),t.push.apply(t,e.getClientRects());return!1}At.prototype.getRootNode=function(e){var t=j(this._fragmentFiber);return t===null?this:q(t).getRootNode(e)},At.prototype.compareDocumentPosition=function(e){var t=j(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var l=[];y(this._fragmentFiber.child,!1,Bs,l,void 0,void 0);var a=q(t);if(l.length===0){if(l=a,U(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(l=t)}t=this._fragmentFiber;var n=a=l.compareDocumentPosition(e);return l===e?n=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(l=B(t)[1],l===null?n=Node.DOCUMENT_POSITION_PRECEDING:(e=q(l).compareDocumentPosition(e),n=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),n|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=q(l[0]),n=q(l[l.length-1]);var u=U(this._fragmentFiber)?t.parentElement:a;if(u==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=u.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,u=u.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY;var c=t.compareDocumentPosition(e),f=n.compareDocumentPosition(e),v=c&Node.DOCUMENT_POSITION_CONTAINED_BY||f&Node.DOCUMENT_POSITION_CONTAINED_BY;return f=a&&u&&c&Node.DOCUMENT_POSITION_FOLLOWING&&f&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||u&&n===e||v||f?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!u&&n===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:c,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||k1(t,this._fragmentFiber,l[0],l[l.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function k1(e,t,l,a,n){var u=oa(n);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(l=!!u)e:{for(;u!==null;){if(u.tag===7&&(u===t||u.alternate===t)){l=!0;break e}u=u.return}l=!1}return l}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(u===null)return u=n.ownerDocument,n===u||n===u.documentElement||n===u.body;e:{for(u=t,t=j(t);u!==null;){if(!(u.tag!==5&&u.tag!==3&&u.tag!==27||u!==t&&u.alternate!==t)){u=!0;break e}u=u.return}u=!1}return u}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!u)&&!(t=u===l)&&(t=Me(l,u,Se),t===null?t=!1:(y(t,!0,ee,u,l),u=G,G=null,t=u!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!u)&&!(t=u===a)&&(t=Me(a,u,Se),t===null?t=!1:(y(t,!0,ze,u,a),u=G,F=G=null,t=u!==null)),t):!1}function Rm(e,t){var l=e.ownerDocument.createRange();l.selectNodeContents(e),e=l.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}At.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(s(566));var t=[];y(this._fragmentFiber.child,!1,Bs,t,void 0,void 0);var l=e!==!1;if(t.length===0){var a=B(this._fragmentFiber);if(a=l?a[1]||a[0]||j(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=q(a),Rm(e,l);return}if(a=q(a),a.nodeType!==9){if(a.nodeType===11){l="host"in a?a.host:null,l!==null&&l.scrollIntoView(e);return}a.scrollIntoView(e)}}for(a=l?t.length-1:0;a!==(l?-1:t.length);){var n=t[a];n.tag===6?(n=q(n),Rm(n,l)):q(n).scrollIntoView(e),a+=l?-1:1}};function V1(e,t){return e=q(e),zm(e,t),!1}function zm(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Om(e,t){var l=t._eventListeners;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a];e.addEventListener(n.type,n.attachedListener,gn(n.optionsOrUseCapture))}e.nodeType!==3&&(l=t._observers,l!==null&&l.forEach(function(u){for(var c=0,f=0;f<Ft.length;f++){var v=Ft[f];(v.fragmentInstance!==t||v.observer!==u||v.instance!==e)&&(Ft[c++]=v)}Ft.length=c,u.observe(e)}),zm(e,t))}function Q1(e,t){var l=t._eventListeners;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a];e.removeEventListener(n.type,n.attachedListener,gn(n.optionsOrUseCapture))}e.nodeType!==3&&(l=t._observers,l!==null&&l.forEach(function(u){typeof u.rootMargin=="string"?Y1(t,u,e):u.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Ys(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ys(l),Yu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function X1(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Dn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==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(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function Z1(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=qt(e.nextSibling),e===null))return null;return e}function Am(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 Gs(e){return e.data==="$?"||e.data==="$~"}function ks(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function K1(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}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 Vs=null;function jm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return qt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Mm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function J1(e,t){function l(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",l,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",l,!0)}return a}function $1(e){pm(function(){pm(function(t){return e(t)})})}function wm(e,t,l){switch(t=vu(l),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function Dm(e,t,l){for(var a in l){var n=l[a];l.hasOwnProperty(a)&&n!=null&&Te(e,t,a,null,_1,n)}l.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===ll&&(e.onclick=null),Yu(e)}function Qs(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Yu(e)}var Yt=new Map,Um=new Set;function gu(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Ol=le.d;le.d={f:F1,r:I1,D:W1,C:P1,L:eg,m:tg,X:ag,S:lg,M:ng};function F1(){var e=Ol.f(),t=Vi();return e||t}function I1(e){var t=Ua(e);t!==null&&t.tag===5&&t.type==="form"?Ld(t):Ol.r(e)}var pn=typeof document>"u"?null:document;function Hm(e,t,l){var a=pn;if(a&&typeof t=="string"&&t){var n=Mt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Um.has(n)||(Um.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),et(t,"link",e),Qe(t),a.head.appendChild(t)))}}function W1(e){Ol.D(e),Hm("dns-prefetch",e,null)}function P1(e,t){Ol.C(e,t),Hm("preconnect",e,t)}function eg(e,t,l){Ol.L(e,t,l);var a=pn;if(a&&e&&t){var n='link[rel="preload"][as="'+Mt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Mt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Mt(l.imageSizes)+'"]')):n+='[href="'+Mt(e)+'"]';var u=n;switch(t){case"style":u=bn(e);break;case"script":u=Sn(e)}if(!(Yt.has(u)||(e=te({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Yt.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(pu(u))||t==="script"&&a.querySelector(bu(u))))){var c=a.createElement("link");et(c,"link",e),t==="style"&&(c[qu]=!0,c.onload=c.onerror=function(){Jr(c)}),Qe(c),a.head.appendChild(c)}}}function tg(e,t){Ol.m(e,t);var l=pn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Mt(a)+'"][href="'+Mt(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Sn(e)}if(!Yt.has(u)&&(e=te({rel:"modulepreload",href:e},t),Yt.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(bu(u)))return}a=l.createElement("link"),et(a,"link",e),Qe(a),l.head.appendChild(a)}}}function lg(e,t,l){Ol.S(e,t,l);var a=pn;if(a&&e){var n=Ha(a).hoistableStyles,u=bn(e);t=t||"default";var c=n.get(u);if(!c){var f={loading:0,preload:null};if(c=a.querySelector(pu(u)))f.loading=5;else{e=te({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Yt.get(u))&&Xs(e,l);var v=c=a.createElement("link");Qe(v),et(v,"link",e),v._p=new Promise(function(N,A){v.onload=N,v.onerror=A}),v.addEventListener("load",function(){f.loading|=1}),v.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Fi(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(u,c)}}}function ag(e,t){Ol.X(e,t);var l=pn;if(l&&e){var a=Ha(l).hoistableScripts,n=Sn(e),u=a.get(n);u||(u=l.querySelector(bu(n)),u||(e=te({src:e,async:!0},t),(t=Yt.get(n))&&Zs(e,t),u=l.createElement("script"),Qe(u),et(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function ng(e,t){Ol.M(e,t);var l=pn;if(l&&e){var a=Ha(l).hoistableScripts,n=Sn(e),u=a.get(n);u||(u=l.querySelector(bu(n)),u||(e=te({src:e,async:!0,type:"module"},t),(t=Yt.get(n))&&Zs(e,t),u=l.createElement("script"),Qe(u),et(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Lm(e,t,l,a){var n=(n=jl.current)?gu(n):null;if(!n)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=bn(l.href),t=Ha(n).hoistableStyles,a=t.get(l),a||(a={type:"style",instance:null,count:0,state:null},t.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=bn(l.href);var u=Ha(n).hoistableStyles,c=u.get(e);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,c),(u=n.querySelector(pu(e)))?u._p||(c.instance=u,c.state.loading=5):(u=Yt.get(e),u||(u={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Yt.set(e,u)),ug(n,e,u,c.state))),t&&a===null)throw Error(s(528,""));return c}if(t&&a!==null)throw Error(s(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=Sn(l),t=Ha(n).hoistableScripts,a=t.get(l),a||(a={type:"script",instance:null,count:0,state:null},t.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function bn(e){return'href="'+Mt(e)+'"'}function pu(e){return'link[rel="stylesheet"]['+e+"]"}function Bm(e){return te({},e,{"data-precedence":e.precedence,precedence:null})}function ug(e,t,l,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[qu]!==!0){a.loading=1;return}}else t=e.createElement("link"),t[qu]=!0,t.onload=t.onerror=Jr.bind(null,t),et(t,"link",l),Qe(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2})}function Sn(e){return'[src="'+Mt(e)+'"]'}function bu(e){return"script[async]"+e}function qm(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Mt(l.href)+'"]');if(a)return t.instance=a,Qe(a),a;var n=te({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Qe(a),et(a,"style",n),Fi(a,l.precedence,e),t.instance=a;case"stylesheet":n=bn(l.href);var u=e.querySelector(pu(n));if(u)return t.state.loading|=4,t.instance=u,Qe(u),u;a=Bm(l),(n=Yt.get(n))&&Xs(a,n),u=(e.ownerDocument||e).createElement("link"),Qe(u);var c=u;return c._p=new Promise(function(f,v){c.onload=f,c.onerror=v}),et(u,"link",a),t.state.loading|=4,Fi(u,l.precedence,e),t.instance=u;case"script":return u=Sn(l.src),(n=e.querySelector(bu(u)))?(t.instance=n,Qe(n),n):(a=l,(n=Yt.get(u))&&(a=te({},l),Zs(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Qe(n),et(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Fi(a,l.precedence,e));return t.instance}function Fi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var f=a[c];if(f.dataset.precedence===t)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Xs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Zs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ii=null;function Ym(e,t,l){if(Ii===null){var a=new Map,n=Ii=new Map;n.set(l,a)}else n=Ii,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var u=l[n];if(!(u[Dn]||u[$e]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=e+c;var f=a.get(c);f?f.push(u):a.set(c,[u])}}return a}function Ks(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function ig(e,t,l){if(l===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 Gm(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function km(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Vm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Qm(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=Vm(t),e.suspenseyImages.push(t)),e=sg.bind(e),t.decode().then(e,e))}function cg(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=bn(a.href),u=t.querySelector(pu(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Su.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Qe(u);return}u=t.ownerDocument||t,a=Bm(a),(n=Yt.get(n))&&Xs(a,n),u=u.createElement("link"),Qe(u);var c=u;c._p=new Promise(function(f,v){c.onload=f,c.onerror=v}),et(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Su.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Wi=0;function og(e,t){return e.stylesheets&&e.count===0&&ec(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&ec(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Wi===0&&(Wi=62500*C1());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ec(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Wi?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Xm(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ec(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Su(){this.count--,Xm(this)}function sg(){this.imgCount--,Xm(this)}var Pi=null;function ec(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Pi=new Map,t.forEach(rg,e),Pi=null,Su.call(e))}function rg(e,t){if(!(t.state.loading&4)){var l=Pi.get(e);if(l)var a=l.get(null);else{l=new Map,Pi.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(l.set(c.dataset.precedence,c),a=c)}a&&l.set(null,a)}n=t.instance,c=n.getAttribute("data-precedence"),u=l.get(c)||a,u===a&&l.set(null,n),l.set(c,n),this.count++,a=Su.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var xn={$$typeof:Ne,Provider:null,Consumer:null,_currentValue:ml,_currentValue2:ml,_threadCount:0};function fg(e,t,l,a,n,u,c,f,v){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=Cc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cc(0),this.hiddenUpdates=Cc(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.transitionTypes=null,this.incompleteTransitions=new Map}function Zm(e,t,l,a,n,u,c,f,v,N,A,w){return e=new fg(e,t,l,c,v,N,A,w,f),t=1,u===!0&&(t|=24),u=yt(3,null,null,t),e.current=u,u.stateNode=e,t=co(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},fo(u),e}function Km(e){return e?(e=Za,e):Za}function Jm(e,t,l,a,n,u){n=Km(n),a.context===null?a.context=n:a.pendingContext=n,a=kl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Vl(e,a,t),l!==null&&(bt(l,e,t),In(l,e,t))}function $m(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Js(e,t){$m(e,t),(e=e.alternate)&&$m(e,t)}function Fm(e){if(e.tag===13||e.tag===31){var t=da(e,67108864);t!==null&&bt(t,e,67108864),Js(e,67108864)}}function Im(e){if(e.tag===13||e.tag===31){var t=Ot();t=Rc(t);var l=da(e,t);l!==null&&bt(l,e,t),Js(e,t)}}var En=!0;function dg(e,t,l,a){var n=X.T;X.T=null;var u=le.p;try{le.p=2,$s(e,t,l,a)}finally{le.p=u,X.T=n}}function hg(e,t,l,a){var n=X.T;X.T=null;var u=le.p;try{le.p=8,$s(e,t,l,a)}finally{le.p=u,X.T=n}}function $s(e,t,l,a){if(En){var n=Fs(a);if(n===null)As(e,t,a,tc,l),Pm(e,a);else if(yg(n,e,t,l,a))a.stopPropagation();else if(Pm(e,a),t&4&&-1<mg.indexOf(e)){for(;n!==null;){var u=Ua(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=ca(u.pendingLanes);if(c!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;c;){var v=1<<31-Et(c);f.entanglements[1]|=v,c&=~v}dl(u),(ge&6)===0&&(Yi=St()+500,hu(0))}}break;case 31:case 13:f=da(u,2),f!==null&&bt(f,u,2),Vi(),Js(u,2)}if(u=Fs(a),u===null&&As(e,t,a,tc,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else As(e,t,a,null,l)}}function Fs(e){return e=Dc(e),Is(e)}var tc=null;function Is(e){if(tc=null,e=oa(e),e!==null){var t=m(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=p(t),e!==null)return e;e=null}else if(l===31){if(e=S(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return tc=e,null}function Wm(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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Cy()){case Hr:return 2;case Lr:return 8;case Du:case Ry:return 32;case Br:return 268435456;default:return 32}default:return 32}}var Ws=!1,ta=null,la=null,aa=null,xu=new Map,Eu=new Map,na=[],mg="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 Pm(e,t){switch(e){case"focusin":case"focusout":ta=null;break;case"dragenter":case"dragleave":la=null;break;case"mouseover":case"mouseout":aa=null;break;case"pointerover":case"pointerout":xu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function Tu(e,t,l,a,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=Ua(t),t!==null&&Fm(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function yg(e,t,l,a,n){switch(t){case"focusin":return ta=Tu(ta,e,t,l,a,n),!0;case"dragenter":return la=Tu(la,e,t,l,a,n),!0;case"mouseover":return aa=Tu(aa,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return xu.set(u,Tu(xu.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Eu.set(u,Tu(Eu.get(u)||null,e,t,l,a,n)),!0}return!1}function e0(e){var t=oa(e.target);if(t!==null){var l=m(t);if(l!==null){if(t=l.tag,t===13){if(t=p(l),t!==null){e.blockedOn=t,Xr(e.priority,function(){Im(l)});return}}else if(t===31){if(t=S(l),t!==null){e.blockedOn=t,Xr(e.priority,function(){Im(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function lc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Fs(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);wc=a,l.target.dispatchEvent(a),wc=null}else return t=Ua(l),t!==null&&Fm(t),e.blockedOn=l,!1;t.shift()}return!0}function t0(e,t,l){lc(e)&&l.delete(t)}function vg(){Ws=!1,ta!==null&&lc(ta)&&(ta=null),la!==null&&lc(la)&&(la=null),aa!==null&&lc(aa)&&(aa=null),xu.forEach(t0),Eu.forEach(t0)}function ac(e,t){e.blockedOn===t&&(e.blockedOn=null,Ws||(Ws=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,vg)))}var nc=null;function l0(e){nc!==e&&(nc=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){nc===e&&(nc=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(Is(a||l)===null)continue;break}var u=Ua(l);u!==null&&(e.splice(t,3),t-=3,wo(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Tn(e){function t(v){return ac(v,e)}ta!==null&&ac(ta,e),la!==null&&ac(la,e),aa!==null&&ac(aa,e),xu.forEach(t),Eu.forEach(t);for(var l=0;l<na.length;l++){var a=na[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<na.length&&(l=na[0],l.blockedOn===null);)e0(l),l.blockedOn===null&&na.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],c=n[mt]||null;if(typeof u=="function")c||l0(l);else if(c){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[mt]||null)f=c.formAction;else if(Is(n)!==null)continue}else f=c.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),l0(l)}}}function a0(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Ps(e){this._internalRoot=e}uc.prototype.render=Ps.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var l=t.current,a=Ot();Jm(l,a,e,t,null,null)},uc.prototype.unmount=Ps.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Jm(e.current,2,null,e,null,null),Vi(),t[Da]=null}};function uc(e){this._internalRoot=e}uc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qr();e={blockedOn:null,target:e,priority:t};for(var l=0;l<na.length&&t!==0&&t<na[l].priority;l++);na.splice(l,0,e),l===0&&e0(e)}};var n0=o.version;if(n0!=="19.3.0")throw Error(s(527,n0,"19.3.0"));le.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=z(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var gg={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{jn=ic.inject(gg),xt=ic}catch{}}return Cu.createRoot=function(e,t){if(!d(e))throw Error(s(299));var l=!1,a="",n=Kd,u=Jd,c=$d;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=Zm(e,1,!1,null,null,l,a,null,n,u,c,a0),e[Da]=t.current,Os(e),new Ps(t)},Cu.hydrateRoot=function(e,t,l){if(!d(e))throw Error(s(299));var a=!1,n="",u=Kd,c=Jd,f=$d,v=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(c=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.formState!==void 0&&(v=l.formState)),t=Zm(e,1,!0,t,l??null,a,n,v,u,c,f,a0),t.context=Km(null),l=t.current,a=Ot(),a=Rc(a),n=kl(a),n.callback=null,Vl(l,n,a),l=a,t.current.lanes=l,wn(t,l),dl(t),e[Da]=t.current,Os(e),new uc(t)},Cu.version="19.3.0",Cu}var m0;function Ag(){if(m0)return lr.exports;m0=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),lr.exports=Og(),lr.exports}var jg=Ag();/**
51
+ * react-router v7.18.4
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 pr=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,H0=/^[\\/]{2}/;function Mg(i,o){return o+i.replace(/\\/g,"/")}var y0="popstate";function v0(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function wg(i={}){function o(s,d){var z;let m=(z=d.state)==null?void 0:z.masked,{pathname:p,search:S,hash:C}=m||s.location;return yr("",{pathname:p,search:S,hash:C},d.state&&d.state.usr||null,d.state&&d.state.key||"default",m?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function r(s,d){return typeof d=="string"?d:Aa(d)}return Ug(o,r,null,i)}function De(i,o){if(i===!1||i===null||typeof i>"u")throw new Error(o)}function Wt(i,o){if(!i){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function Dg(){return Math.random().toString(36).substring(2,10)}function g0(i,o){return{usr:i.state,key:i.key,idx:o,masked:i.mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function yr(i,o,r=null,s,d){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof o=="string"?Rn(o):o,state:r,key:o&&o.key||s||Dg(),mask:d}}function Aa({pathname:i="/",search:o="",hash:r=""}){return o&&o!=="?"&&(i+=o.charAt(0)==="?"?o:"?"+o),r&&r!=="#"&&(i+=r.charAt(0)==="#"?r:"#"+r),i}function Rn(i){let o={};if(i){let r=i.indexOf("#");r>=0&&(o.hash=i.substring(r),i=i.substring(0,r));let s=i.indexOf("?");s>=0&&(o.search=i.substring(s),i=i.substring(0,s)),i&&(o.pathname=i)}return o}function Ug(i,o,r,s={}){let{window:d=document.defaultView,v5Compat:m=!1}=s,p=d.history,S="POP",C=null,z=x();z==null&&(z=0,p.replaceState({...p.state,idx:z},""));function x(){return(p.state||{idx:null}).idx}function y(){S="POP";let q=x(),G=q==null?null:q-z;z=q,C&&C({action:S,location:D.location,delta:G})}function j(q,G){S="PUSH";let F=v0(q)?q:yr(D.location,q,G);z=x()+1;let ee=g0(F,z),ze=D.createHref(F.mask||F);try{p.pushState(ee,"",ze)}catch(Se){if(Se instanceof DOMException&&Se.name==="DataCloneError")throw Se;d.location.assign(ze)}m&&C&&C({action:S,location:D.location,delta:1})}function U(q,G){S="REPLACE";let F=v0(q)?q:yr(D.location,q,G);z=x();let ee=g0(F,z),ze=D.createHref(F.mask||F);p.replaceState(ee,"",ze),m&&C&&C({action:S,location:D.location,delta:0})}function B(q){return Hg(d,q)}let D={get action(){return S},get location(){return i(d,p)},listen(q){if(C)throw new Error("A history only accepts one active listener");return d.addEventListener(y0,y),C=q,()=>{d.removeEventListener(y0,y),C=null}},createHref(q){return o(d,q)},createURL:B,encodeLocation(q){let G=B(q);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:j,replace:U,go(q){return p.go(q)}};return D}function Hg(i,o,r=!1){let s="http://localhost";i&&(s=i.location.origin!=="null"?i.location.origin:i.location.href),De(s,"No window.location.(origin|href) available to create URL");let d=typeof o=="string"?o:Aa(o);return d=d.replace(/ $/,"%20"),!r&&H0.test(d)&&(d=s+d),new URL(d,s)}function L0(i,o,r="/"){return Lg(i,o,r,!1)}function Lg(i,o,r,s,d){let m=typeof o=="string"?Rn(o):o,p=Al(m.pathname||"/",r);if(p==null)return null;let S=Bg(i),C=null,z=$g(p);for(let x=0;C==null&&x<S.length;++x)C=Jg(S[x],z,s);return C}function Bg(i){let o=B0(i);return qg(o),o}function B0(i,o=[],r=[],s="",d=!1){let m=(p,S,C=d,z)=>{let x={relativePath:z===void 0?p.path||"":z,caseSensitive:p.caseSensitive===!0,childrenIndex:S,route:p};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(s)&&C)return;De(x.relativePath.startsWith(s),`Absolute route path "${x.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(s.length)}let y=It([s,x.relativePath]),j=r.concat(x);p.children&&p.children.length>0&&(De(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),B0(p.children,o,j,y,C)),!(p.path==null&&!p.index)&&o.push({path:y,score:Zg(y,p.index),routesMeta:j.map((U,B)=>{let[D,q]=G0(U.relativePath,U.caseSensitive,B===j.length-1);return{...U,matcher:D,compiledParams:q}})})};return i.forEach((p,S)=>{var C;if(p.path===""||!((C=p.path)!=null&&C.includes("?")))m(p,S);else for(let z of q0(p.path))m(p,S,!0,z)}),o}function q0(i){let o=i.split("/");if(o.length===0)return[];let[r,...s]=o,d=r.endsWith("?"),m=r.replace(/\?$/,"");if(s.length===0)return d?[m,""]:[m];let p=q0(s.join("/")),S=[];return S.push(...p.map(C=>C===""?m:[m,C].join("/"))),d&&S.push(...p),S.map(C=>i.startsWith("/")&&C===""?"/":C)}function qg(i){i.sort((o,r)=>o.score!==r.score?r.score-o.score:Kg(o.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}var Yg=/^:[\w-]+$/,Gg=3,kg=2,Vg=1,Qg=10,Xg=-2,p0=i=>i==="*";function Zg(i,o){let r=i.split("/"),s=r.length;return r.some(p0)&&(s+=Xg),o&&(s+=kg),r.filter(d=>!p0(d)).reduce((d,m)=>d+(Yg.test(m)?Gg:m===""?Vg:Qg),s)}function Kg(i,o){return i.length===o.length&&i.slice(0,-1).every((s,d)=>s===o[d])?i[i.length-1]-o[o.length-1]:0}function Jg(i,o,r=!1){let{routesMeta:s}=i,d={},m="/",p=[];for(let S=0;S<s.length;++S){let C=s[S],z=S===s.length-1,x=m==="/"?o:o.slice(m.length)||"/",y={path:C.relativePath,caseSensitive:C.caseSensitive,end:z},j=C.matcher&&C.compiledParams?Y0(y,x,C.matcher,C.compiledParams):fc(y,x),U=C.route;if(!j&&z&&r&&!s[s.length-1].route.index&&(j=fc({path:C.relativePath,caseSensitive:C.caseSensitive,end:!1},x)),!j)return null;Object.assign(d,j.params),p.push({params:d,pathname:It([m,j.pathname]),pathnameBase:Wg(It([m,j.pathnameBase])),route:U}),j.pathnameBase!=="/"&&(m=It([m,j.pathnameBase]))}return p}function fc(i,o){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[r,s]=G0(i.path,i.caseSensitive,i.end);return Y0(i,o,r,s)}function Y0(i,o,r,s){let d=o.match(r);if(!d)return null;let m=d[0],p=Cn(m,1),S=d.slice(1);return{params:s.reduce((z,{paramName:x,isOptional:y},j)=>{if(x==="*"){let B=S[j]||"";p=Cn(m.slice(0,m.length-B.length),1)}const U=S[j];return y&&!U?z[x]=void 0:z[x]=(U||"").replace(/%2F/g,"/"),z},{}),pathname:m,pathnameBase:p,pattern:i}}function G0(i,o=!1,r=!0){Wt(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let s=[],d="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,S,C,z,x)=>{if(s.push({paramName:S,isOptional:C!=null}),C){let y=x.charAt(z+p.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(s.push({paramName:"*"}),d+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?d+="\\/*$":i!==""&&i!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,o?void 0:"i"),s]}function $g(i){try{return i.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return Wt(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${o}).`),i}}function Al(i,o){if(o==="/")return i;if(!i.toLowerCase().startsWith(o.toLowerCase()))return null;let r=o.endsWith("/")?o.length-1:o.length,s=i.charAt(r);return s&&s!=="/"?null:i.slice(r)||"/"}function Fg(i,o="/"){let{pathname:r,search:s="",hash:d=""}=typeof i=="string"?Rn(i):i,m;return r?(r=k0(r),r.startsWith("/")||r.startsWith("\\")?m=b0(r.substring(1),"/"):m=b0(r,o)):m=o,{pathname:m,search:Pg(s),hash:ep(d)}}function b0(i,o){let r=Cn(o).split("/");return i.split("/").forEach(d=>{d===".."?r.length>1&&r.pop():d!=="."&&r.push(d)}),r.length>1?r.join("/"):"/"}function ir(i,o,r,s){return`Cannot include a '${i}' character in a manually specified \`to.${o}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ig(i){return i.filter((o,r)=>r===0||o.route.path&&o.route.path.length>0)}function br(i){let o=Ig(i);return o.map((r,s)=>s===o.length-1?r.pathname:r.pathnameBase)}function mc(i,o,r,s=!1){let d;typeof i=="string"?d=Rn(i):(d={...i},De(!d.pathname||!d.pathname.includes("?"),ir("?","pathname","search",d)),De(!d.pathname||!d.pathname.includes("#"),ir("#","pathname","hash",d)),De(!d.search||!d.search.includes("#"),ir("#","search","hash",d)));let m=i===""||d.pathname==="",p=m?"/":d.pathname,S;if(p==null)S=r;else{let y=o.length-1;if(!s&&p.startsWith("..")){let j=p.split("/");for(;j[0]==="..";)j.shift(),y-=1;d.pathname=j.join("/")}S=y>=0?o[y]:"/"}let C=Fg(d,S),z=p&&p!=="/"&&p.endsWith("/"),x=(m||p===".")&&r.endsWith("/");return!C.pathname.endsWith("/")&&(z||x)&&(C.pathname+="/"),C}var k0=i=>i.replace(/[\\/]{2,}/g,"/"),It=i=>k0(i.join("/"));function Cn(i,o=0){let r=i.length;for(;r>o&&i.charCodeAt(r-1)===47;)r--;return r===i.length?i:i.slice(0,r)}var Wg=i=>Cn(i).replace(/^\/*/,"/"),Pg=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,ep=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,tp=class{constructor(i,o,r,s=!1){this.status=i,this.statusText=o||"",this.internal=s,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function lp(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function ap(i){let o=i.map(r=>r.route.path).filter(Boolean);return It(o)||"/"}var V0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Q0(i,o){let r=i;if(typeof r!="string"||!pr.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let s=r,d=!1;if(V0)try{let m=new URL(window.location.href),p=H0.test(r)?new URL(Mg(r,m.protocol)):new URL(r),S=Al(p.pathname,o);p.origin===m.origin&&S!=null?r=S+p.search+p.hash:d=!0}catch{Wt(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:d,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var S0=new URL("http://localhost");function Sr(i){if(i.createURL)return i.createURL("/");try{return new URL(i.createHref("/"),S0)}catch{return S0}}function cr(i,o){return i.origin===o.origin&&(i.origin!=="null"||i.protocol===o.protocol&&i.host===o.host)}function np(i,o){if(i.startsWith("//"))return!0;let r=o.protocol.toLowerCase();return i.toLowerCase().startsWith(r)?o.host===""||i.slice(r.length).startsWith("//"):!1}function xr(i,o,r,s){let d=null;try{d=i==null?null:new URL(i,r)}catch{}let m=new URL(o,r),p=d!=null&&!cr(d,r),S=!cr(m,r);if(s==="reject"){if(p||S)throw new Error("External navigation is not allowed")}else if(S&&(d==null||!np(i,d)||!cr(d,m)))throw new Error("External navigation is not allowed")}var X0=["POST","PUT","PATCH","DELETE"];new Set(X0);var up=["GET",...X0];new Set(up);var ip=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function cp(i){try{return ip.includes(new URL(i).protocol)}catch{return!1}}var zn=g.createContext(null);zn.displayName="DataRouter";var yc=g.createContext(null);yc.displayName="DataRouterState";var Z0=g.createContext(!1);function op(){return g.useContext(Z0)}var K0=g.createContext({isTransitioning:!1});K0.displayName="ViewTransition";var sp=g.createContext(new Map);sp.displayName="Fetchers";var rp=g.createContext(null);rp.displayName="Await";var jt=g.createContext(null);jt.displayName="Navigation";var Ou=g.createContext(null);Ou.displayName="Location";var Gt=g.createContext({outlet:null,matches:[],isDataRoute:!1});Gt.displayName="Route";var Er=g.createContext(null);Er.displayName="RouteError";var J0="REACT_ROUTER_ERROR",fp="REDIRECT",dp="ROUTE_ERROR_RESPONSE";function hp(i){if(i.startsWith(`${J0}:${fp}:{`))try{let o=JSON.parse(i.slice(28));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.location=="string"&&typeof o.reloadDocument=="boolean"&&typeof o.replace=="boolean")return o}catch{}}function mp(i){if(i.startsWith(`${J0}:${dp}:{`))try{let o=JSON.parse(i.slice(40));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string")return new tp(o.status,o.statusText,o.data)}catch{}}function yp(i,{relative:o}={}){De(On(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:s}=g.useContext(jt),{hash:d,pathname:m,search:p}=Au(i,{relative:o}),S=m;return r!=="/"&&(S=m==="/"?r:It([r,m])),s.createHref({pathname:S,search:p,hash:d})}function On(){return g.useContext(Ou)!=null}function kt(){return De(On(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(Ou).location}var $0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function F0(i){g.useContext(jt).static||g.useLayoutEffect(i)}function Tr(){let{isDataRoute:i}=g.useContext(Gt);return i?Ap():vp()}function vp(){De(On(),"useNavigate() may be used only in the context of a <Router> component.");let i=g.useContext(zn),{basename:o,navigator:r}=g.useContext(jt),{matches:s}=g.useContext(Gt),{pathname:d}=kt(),m=JSON.stringify(br(s)),p=g.useRef(!1);return F0(()=>{p.current=!0}),g.useCallback((C,z={})=>{if(Wt(p.current,$0),!p.current)return;if(typeof C=="number"){r.go(C);return}let x=mc(C,JSON.parse(m),d,z.relative==="path");i==null&&o!=="/"&&(x.pathname=x.pathname==="/"?o:It([o,x.pathname])),xr(typeof C=="string"?C:Aa(C),r.createHref(x),Sr(r),"reject"),(z.replace?r.replace:r.push)(x,z.state,z)},[o,r,m,d,i])}var gp=g.createContext(null);function pp(i){let o=g.useContext(Gt).outlet;return g.useMemo(()=>o&&g.createElement(gp.Provider,{value:i},o),[o,i])}function ux(){let{matches:i}=g.useContext(Gt),o=i[i.length-1];return(o==null?void 0:o.params)??{}}function Au(i,{relative:o}={}){let{matches:r}=g.useContext(Gt),{pathname:s}=kt(),d=JSON.stringify(br(r));return g.useMemo(()=>mc(i,JSON.parse(d),s,o==="path"),[i,d,s,o])}function bp(i,o){return I0(i,o)}function I0(i,o,r){var q;De(On(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=g.useContext(jt),{matches:d}=g.useContext(Gt),m=d[d.length-1],p=m?m.params:{},S=m?m.pathname:"/",C=m?m.pathnameBase:"/",z=m&&m.route;{let G=z&&z.path||"";P0(S,!z||G.endsWith("*")||G.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${S}" (under <Route path="${G}">) 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="${G}"> to <Route path="${G==="/"?"*":`${G}/*`}">.`)}let x=kt(),y;if(o){let G=typeof o=="string"?Rn(o):o;De(C==="/"||((q=G.pathname)==null?void 0:q.startsWith(C)),`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 "${C}" but pathname "${G.pathname}" was given in the \`location\` prop.`),y=G}else y=x;let j=y.pathname||"/",U=j;if(C!=="/"){let G=C.replace(/^\//,"").split("/");U="/"+j.replace(/^\//,"").split("/").slice(G.length).join("/")}let B=r&&r.state.matches.length?r.state.matches.map(G=>Object.assign(G,{route:r.manifest[G.route.id]||G.route})):L0(i,{pathname:U});Wt(z||B!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Wt(B==null||B[B.length-1].route.element!==void 0||B[B.length-1].route.Component!==void 0||B[B.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 D=_p(B&&B.map(G=>Object.assign({},G,{params:Object.assign({},p,G.params),pathname:It([C,s.encodeLocation?s.encodeLocation(G.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:G.pathname]),pathnameBase:G.pathnameBase==="/"?C:It([C,s.encodeLocation?s.encodeLocation(G.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:G.pathnameBase])})),d,r);return o&&D?g.createElement(Ou.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},D):D}function Sp(){let i=Op(),o=lp(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),r=i instanceof Error?i.stack:null,s="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:s},m={padding:"2px 4px",backgroundColor:s},p=null;return console.error("Error handled by React Router default ErrorBoundary:",i),p=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:m},"ErrorBoundary")," or"," ",g.createElement("code",{style:m},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},o),r?g.createElement("pre",{style:d},r):null,p)}var xp=g.createElement(Sp,null),W0=class extends g.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,o){return o.location!==i.location||o.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:o.error,location:o.location,revalidation:i.revalidation||o.revalidation}}componentDidCatch(i,o){this.props.onError?this.props.onError(i,o):console.error("React Router caught the following error during render",i)}render(){let i=this.state.error;if(this.context&&typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){const r=mp(i.digest);r&&(i=r)}let o=i!==void 0?g.createElement(Gt.Provider,{value:this.props.routeContext},g.createElement(Er.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?g.createElement(Ep,{error:i},o):o}};W0.contextType=Z0;var or=new WeakMap;function Ep({children:i,error:o}){let{basename:r,navigator:s}=g.useContext(jt);if(typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){let d=hp(o.digest);if(d){let m=or.get(o);if(m)throw m;let p=Q0(d.location,r),S=p.absoluteURL||p.to;if(xr(d.location,S,Sr(s),"allow-explicit"),cp(S))throw new Error("Invalid redirect location");if(V0&&!or.get(o))if(p.isExternal||d.reloadDocument)window.location.href=S;else{const C=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(p.to,{replace:d.replace}));throw or.set(o,C),C}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${S}`})}}return i}function Tp({routeContext:i,match:o,children:r}){let s=g.useContext(zn);return s&&s.static&&s.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=o.route.id),g.createElement(Gt.Provider,{value:i},r)}function _p(i,o=[],r){let s=r==null?void 0:r.state;if(i==null){if(!s)return null;if(s.errors)i=s.matches;else if(o.length===0&&!s.initialized&&s.matches.length>0)i=s.matches;else return null}let d=i,m=s==null?void 0:s.errors;if(m!=null){let x=d.findIndex(y=>y.route.id&&(m==null?void 0:m[y.route.id])!==void 0);De(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),d=d.slice(0,Math.min(d.length,x+1))}let p=!1,S=-1;if(r&&s){p=s.renderFallback;for(let x=0;x<d.length;x++){let y=d[x];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(S=x),y.route.id){let{loaderData:j,errors:U}=s,B=y.route.loader&&!j.hasOwnProperty(y.route.id)&&(!U||U[y.route.id]===void 0);if(y.route.lazy||B){r.isStatic&&(p=!0),S>=0?d=d.slice(0,S+1):d=[d[0]];break}}}}let C=r==null?void 0:r.onError,z=s&&C?(x,y)=>{var j,U;C(x,{location:s.location,params:((U=(j=s.matches)==null?void 0:j[0])==null?void 0:U.params)??{},pattern:ap(s.matches),errorInfo:y})}:void 0;return d.reduceRight((x,y,j)=>{let U,B=!1,D=null,q=null;s&&(U=m&&y.route.id?m[y.route.id]:void 0,D=y.route.errorElement||xp,p&&(S<0&&j===0?(P0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,q=null):S===j&&(B=!0,q=y.route.hydrateFallbackElement||null)));let G=o.concat(d.slice(0,j+1)),F=()=>{let ee;return U?ee=D:B?ee=q:y.route.Component?ee=g.createElement(y.route.Component,null):y.route.element?ee=y.route.element:ee=x,g.createElement(Tp,{match:y,routeContext:{outlet:x,matches:G,isDataRoute:s!=null},children:ee})};return s&&(y.route.ErrorBoundary||y.route.errorElement||j===0)?g.createElement(W0,{location:s.location,revalidation:s.revalidation,component:D,error:U,children:F(),routeContext:{outlet:null,matches:G,isDataRoute:!0},onError:z}):F()},null)}function _r(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Np(i){let o=g.useContext(zn);return De(o,_r(i)),o}function Cp(i){let o=g.useContext(yc);return De(o,_r(i)),o}function Rp(i){let o=g.useContext(Gt);return De(o,_r(i)),o}function Nr(i){let o=Rp(i),r=o.matches[o.matches.length-1];return De(r.route.id,`${i} can only be used on routes that contain a unique "id"`),r.route.id}function zp(){return Nr("useRouteId")}function Op(){var s;let i=g.useContext(Er),o=Cp("useRouteError"),r=Nr("useRouteError");return i!==void 0?i:(s=o.errors)==null?void 0:s[r]}function Ap(){let{router:i}=Np("useNavigate"),o=Nr("useNavigate"),r=g.useRef(!1);return F0(()=>{r.current=!0}),g.useCallback(async(d,m={})=>{Wt(r.current,$0),r.current&&(typeof d=="number"?await i.navigate(d):await i.navigate(d,{fromRouteId:o,...m}))},[i,o])}var x0={};function P0(i,o,r){!o&&!x0[i]&&(x0[i]=!0,Wt(!1,r))}g.memo(jp);function jp({routes:i,manifest:o,future:r,state:s,isStatic:d,onError:m}){return I0(i,void 0,{manifest:o,state:s,isStatic:d,onError:m})}function Mp({to:i,replace:o,state:r,relative:s}){De(On(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d,navigator:m}=g.useContext(jt);Wt(!d,"<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:p}=g.useContext(Gt),{pathname:S}=kt(),C=Tr(),z=mc(i,br(p),S,s==="path");xr(typeof i=="string"?i:Aa(i),m.createHref(z),Sr(m),"reject");let x=JSON.stringify(z);return g.useEffect(()=>{C(JSON.parse(x),{replace:o,state:r,relative:s})},[C,x,s,o,r]),null}function wp(i){return pp(i.context)}function lt(i){De(!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 Dp({basename:i="/",children:o=null,location:r,navigationType:s="POP",navigator:d,static:m=!1,useTransitions:p}){De(!On(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let S=i.replace(/^\/*/,"/"),C=g.useMemo(()=>({basename:S,navigator:d,static:m,useTransitions:p,future:{}}),[S,d,m,p]);typeof r=="string"&&(r=Rn(r));let{pathname:z="/",search:x="",hash:y="",state:j=null,key:U="default",mask:B}=r,D=g.useMemo(()=>{let q=Al(z,S);return q==null?null:{location:{pathname:q,search:x,hash:y,state:j,key:U,mask:B},navigationType:s}},[S,z,x,y,j,U,s,B]);return Wt(D!=null,`<Router basename="${S}"> is not able to match the URL "${z}${x}${y}" because it does not start with the basename, so the <Router> won't render anything.`),D==null?null:g.createElement(jt.Provider,{value:C},g.createElement(Ou.Provider,{children:o,value:D}))}function Up({children:i,location:o}){return bp(vr(i),o)}function vr(i,o=[]){let r=[];return g.Children.forEach(i,(s,d)=>{if(!g.isValidElement(s))return;let m=[...o,d];if(s.type===g.Fragment){r.push.apply(r,vr(s.props.children,m));return}De(s.type===lt,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),De(!s.props.index||!s.props.children,"An index route cannot have child routes.");let p={id:s.props.id||m.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(p.children=vr(s.props.children,m)),r.push(p)}),r}var oc="get",sc="application/x-www-form-urlencoded";function vc(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function Hp(i){return vc(i)&&i.tagName.toLowerCase()==="button"}function Lp(i){return vc(i)&&i.tagName.toLowerCase()==="form"}function Bp(i){return vc(i)&&i.tagName.toLowerCase()==="input"}function qp(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function Yp(i,o){return i.button===0&&(!o||o==="_self")&&!qp(i)}var cc=null;function Gp(){if(cc===null)try{new FormData(document.createElement("form"),0),cc=!1}catch{cc=!0}return cc}var kp=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function sr(i){return i!=null&&!kp.has(i)?(Wt(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${sc}"`),null):i}function Vp(i,o){let r,s,d,m,p;if(Lp(i)){let S=i.getAttribute("action");s=S?Al(S,o):null,r=i.getAttribute("method")||oc,d=sr(i.getAttribute("enctype"))||sc,m=new FormData(i)}else if(Hp(i)||Bp(i)&&(i.type==="submit"||i.type==="image")){let S=i.form;if(S==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let C=i.getAttribute("formaction")||S.getAttribute("action");if(s=C?Al(C,o):null,r=i.getAttribute("formmethod")||S.getAttribute("method")||oc,d=sr(i.getAttribute("formenctype"))||sr(S.getAttribute("enctype"))||sc,m=new FormData(S,i),!Gp()){let{name:z,type:x,value:y}=i;if(x==="image"){let j=z?`${z}.`:"";m.append(`${j}x`,"0"),m.append(`${j}y`,"0")}else z&&m.append(z,y)}}else{if(vc(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=oc,s=null,d=sc,p=i}return m&&d==="text/plain"&&(p=m,m=void 0),{action:s,method:r.toLowerCase(),encType:d,formData:m,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Cr(i,o){if(i===!1||i===null||typeof i>"u")throw new Error(o)}function ey(i,o,r,s){let d=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return r?d.pathname.endsWith("/")?d.pathname=`${d.pathname}_.${s}`:d.pathname=`${d.pathname}.${s}`:d.pathname==="/"?d.pathname=`_root.${s}`:o&&Al(d.pathname,o)==="/"?d.pathname=`${Cn(o)}/_root.${s}`:d.pathname=`${Cn(d.pathname)}.${s}`,d}async function Qp(i,o){if(i.id in o)return o[i.id];try{let r=await import(i.module);return o[i.id]=r,r}catch(r){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Xp(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function Zp(i,o,r){let s=await Promise.all(i.map(async d=>{let m=o.routes[d.route.id];if(m){let p=await Qp(m,r);return p.links?p.links():[]}return[]}));return Fp(s.flat(1).filter(Xp).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function E0(i,o,r,s,d,m){let p=(C,z)=>r[z]?C.route.id!==r[z].route.id:!0,S=(C,z)=>{var x;return r[z].pathname!==C.pathname||((x=r[z].route.path)==null?void 0:x.endsWith("*"))&&r[z].params["*"]!==C.params["*"]};return m==="assets"?o.filter((C,z)=>p(C,z)||S(C,z)):m==="data"?o.filter((C,z)=>{var y;let x=s.routes[C.route.id];if(!x||!x.hasLoader)return!1;if(p(C,z)||S(C,z))return!0;if(C.route.shouldRevalidate){let j=C.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((y=r[0])==null?void 0:y.params)||{},nextUrl:new URL(i,window.origin),nextParams:C.params,defaultShouldRevalidate:!0});if(typeof j=="boolean")return j}return!0}):[]}function Kp(i,o,{includeHydrateFallback:r}={}){return Jp(i.map(s=>{let d=o.routes[s.route.id];if(!d)return[];let m=[d.module];return d.clientActionModule&&(m=m.concat(d.clientActionModule)),d.clientLoaderModule&&(m=m.concat(d.clientLoaderModule)),r&&d.hydrateFallbackModule&&(m=m.concat(d.hydrateFallbackModule)),d.imports&&(m=m.concat(d.imports)),m}).flat(1))}function Jp(i){return[...new Set(i)]}function $p(i){let o={},r=Object.keys(i).sort();for(let s of r)o[s]=i[s];return o}function Fp(i,o){let r=new Set;return new Set(o),i.reduce((s,d)=>{let m=JSON.stringify($p(d));return r.has(m)||(r.add(m),s.push({key:m,link:d})),s},[])}function Rr(){let i=g.useContext(zn);return Cr(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function Ip(){let i=g.useContext(yc);return Cr(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var zr=g.createContext(void 0);zr.displayName="FrameworkContext";function gc(){let i=g.useContext(zr);return Cr(i,"You must render this element inside a <HydratedRouter> element"),i}function Wp(i,o){let r=g.useContext(zr),[s,d]=g.useState(!1),[m,p]=g.useState(!1),{onFocus:S,onBlur:C,onMouseEnter:z,onMouseLeave:x,onTouchStart:y}=o,j=g.useRef(null);g.useEffect(()=>{if(i==="render"&&p(!0),i==="viewport"){let D=G=>{G.forEach(F=>{p(F.isIntersecting)})},q=new IntersectionObserver(D,{threshold:.5});return j.current&&q.observe(j.current),()=>{q.disconnect()}}},[i]),g.useEffect(()=>{if(s){let D=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(D)}}},[s]);let U=()=>{d(!0)},B=()=>{d(!1),p(!1)};return r?i!=="intent"?[m,j,{}]:[m,j,{onFocus:Ru(S,U),onBlur:Ru(C,B),onMouseEnter:Ru(z,U),onMouseLeave:Ru(x,B),onTouchStart:Ru(y,U)}]:[!1,j,{}]}function Ru(i,o){return r=>{i&&i(r),r.defaultPrevented||o(r)}}function Pp({page:i,...o}){let r=op(),{nonce:s}=gc(),{router:d}=Rr(),m=g.useMemo(()=>L0(d.routes,i,d.basename),[d.routes,i,d.basename]);return m?(o.nonce==null&&s&&(o={...o,nonce:s}),r?g.createElement(t2,{page:i,matches:m,...o}):g.createElement(l2,{page:i,matches:m,...o})):null}function e2(i){let{manifest:o,routeModules:r}=gc(),[s,d]=g.useState([]);return g.useEffect(()=>{let m=!1;return Zp(i,o,r).then(p=>{m||d(p)}),()=>{m=!0}},[i,o,r]),s}function t2({page:i,matches:o,...r}){let s=kt(),{future:d}=gc(),{basename:m}=Rr(),p=g.useMemo(()=>{if(i===s.pathname+s.search+s.hash)return[];let S=ey(i,m,d.v8_trailingSlashAwareDataRequests,"rsc"),C=!1,z=[];for(let x of o)typeof x.route.shouldRevalidate=="function"?C=!0:z.push(x.route.id);return C&&z.length>0&&S.searchParams.set("_routes",z.join(",")),[S.pathname+S.search]},[m,d.v8_trailingSlashAwareDataRequests,i,s,o]);return g.createElement(g.Fragment,null,p.map(S=>g.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...r})))}function l2({page:i,matches:o,...r}){let s=kt(),{future:d,manifest:m,routeModules:p}=gc(),{basename:S}=Rr(),{loaderData:C,matches:z}=Ip(),x=g.useMemo(()=>E0(i,o,z,m,s,"data"),[i,o,z,m,s]),y=g.useMemo(()=>E0(i,o,z,m,s,"assets"),[i,o,z,m,s]),j=g.useMemo(()=>{if(i===s.pathname+s.search+s.hash)return[];let D=new Set,q=!1;if(o.forEach(F=>{var ze;let ee=m.routes[F.route.id];!ee||!ee.hasLoader||(!x.some(Se=>Se.route.id===F.route.id)&&F.route.id in C&&((ze=p[F.route.id])!=null&&ze.shouldRevalidate)||ee.hasClientLoader?q=!0:D.add(F.route.id))}),D.size===0)return[];let G=ey(i,S,d.v8_trailingSlashAwareDataRequests,"data");return q&&D.size>0&&G.searchParams.set("_routes",o.filter(F=>D.has(F.route.id)).map(F=>F.route.id).join(",")),[G.pathname+G.search]},[S,d.v8_trailingSlashAwareDataRequests,C,s,m,x,o,i,p]),U=g.useMemo(()=>Kp(y,m),[y,m]),B=e2(y);return g.createElement(g.Fragment,null,j.map(D=>g.createElement("link",{key:D,rel:"prefetch",as:"fetch",href:D,...r})),U.map(D=>g.createElement("link",{key:D,rel:"modulepreload",href:D,...r})),B.map(({key:D,link:q})=>g.createElement("link",{key:D,nonce:r.nonce,...q,crossOrigin:q.crossOrigin??r.crossOrigin})))}function a2(...i){return o=>{i.forEach(r=>{typeof r=="function"?r(o):r!=null&&(r.current=o)})}}var n2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{n2&&(window.__reactRouterVersion="7.18.4")}catch{}function u2({basename:i,children:o,useTransitions:r,window:s}){let d=g.useRef();d.current==null&&(d.current=wg({window:s,v5Compat:!0}));let m=d.current,[p,S]=g.useState({action:m.action,location:m.location}),C=g.useCallback(z=>{r===!1?S(z):g.startTransition(()=>S(z))},[r]);return g.useLayoutEffect(()=>m.listen(C),[m,C]),g.createElement(Dp,{basename:i,children:o,location:p.location,navigationType:p.action,navigator:m,useTransitions:r})}var ty=g.forwardRef(function({onClick:o,discover:r="render",prefetch:s="none",relative:d,reloadDocument:m,replace:p,mask:S,state:C,target:z,to:x,preventScrollReset:y,viewTransition:j,defaultShouldRevalidate:U,...B},D){let{basename:q,navigator:G,useTransitions:F}=g.useContext(jt),ee=typeof x=="string"&&pr.test(x),ze=Q0(x,q);x=ze.to;let Se=yp(x,{relative:d}),Me=kt(),te=null;if(S){let Ne=mc(S,[],Me.mask?Me.mask.pathname:"/",!0);q!=="/"&&(Ne.pathname=Ne.pathname==="/"?q:It([q,Ne.pathname])),te=G.createHref(Ne)}let[ce,at,nt]=Wp(s,B),ht=o2(x,{replace:p,mask:S,state:C,target:z,preventScrollReset:y,relative:d,viewTransition:j,defaultShouldRevalidate:U,useTransitions:F});function it(Ne){o&&o(Ne),Ne.defaultPrevented||ht(Ne)}let Vt=!(ze.isExternal||m),Pt=g.createElement("a",{...B,...nt,href:(Vt?te:void 0)||ze.absoluteURL||Se,onClick:Vt?it:o,ref:a2(D,at),target:z,"data-discover":!ee&&r==="render"?"true":void 0});return ce&&!ee?g.createElement(g.Fragment,null,Pt,g.createElement(Pp,{page:Se})):Pt});ty.displayName="Link";var dc=g.forwardRef(function({"aria-current":o="page",caseSensitive:r=!1,className:s="",end:d=!1,style:m,to:p,viewTransition:S,children:C,...z},x){let y=Au(p,{relative:z.relative}),j=kt(),U=g.useContext(yc),{navigator:B,basename:D}=g.useContext(jt),q=U!=null&&h2(y)&&S===!0,G=B.encodeLocation?B.encodeLocation(y).pathname:y.pathname,F=j.pathname,ee=U&&U.navigation&&U.navigation.location?U.navigation.location.pathname:null;r||(F=F.toLowerCase(),ee=ee?ee.toLowerCase():null,G=G.toLowerCase()),ee&&D&&(ee=Al(ee,D)||ee);const ze=G!=="/"&&G.endsWith("/")?G.length-1:G.length;let Se=F===G||!d&&F.startsWith(G)&&F.charAt(ze)==="/",Me=ee!=null&&(ee===G||!d&&ee.startsWith(G)&&ee.charAt(G.length)==="/"),te={isActive:Se,isPending:Me,isTransitioning:q},ce=Se?o:void 0,at;typeof s=="function"?at=s(te):at=[s,Se?"active":null,Me?"pending":null,q?"transitioning":null].filter(Boolean).join(" ");let nt=typeof m=="function"?m(te):m;return g.createElement(ty,{...z,"aria-current":ce,className:at,ref:x,style:nt,to:p,viewTransition:S},typeof C=="function"?C(te):C)});dc.displayName="NavLink";var i2=g.forwardRef(({discover:i="render",fetcherKey:o,navigate:r,reloadDocument:s,replace:d,state:m,method:p=oc,action:S,onSubmit:C,relative:z,preventScrollReset:x,viewTransition:y,defaultShouldRevalidate:j,...U},B)=>{let{useTransitions:D}=g.useContext(jt),q=f2(),G=d2(S,{relative:z}),F=p.toLowerCase()==="get"?"get":"post",ee=typeof S=="string"&&pr.test(S),ze=Se=>{if(C&&C(Se),Se.defaultPrevented)return;Se.preventDefault();let Me=Se.nativeEvent.submitter,te=(Me==null?void 0:Me.getAttribute("formmethod"))||p,ce=()=>q(Me||Se.currentTarget,{fetcherKey:o,method:te,navigate:r,replace:d,state:m,relative:z,preventScrollReset:x,viewTransition:y,defaultShouldRevalidate:j});D&&r!==!1?g.startTransition(()=>ce()):ce()};return g.createElement("form",{ref:B,method:F,action:G,onSubmit:s?C:ze,...U,"data-discover":!ee&&i==="render"?"true":void 0})});i2.displayName="Form";function c2(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ly(i){let o=g.useContext(zn);return De(o,c2(i)),o}function o2(i,{target:o,replace:r,mask:s,state:d,preventScrollReset:m,relative:p,viewTransition:S,defaultShouldRevalidate:C,useTransitions:z}={}){let x=Tr(),y=kt(),j=Au(i,{relative:p});return g.useCallback(U=>{if(Yp(U,o)){U.preventDefault();let B=r!==void 0?r:Aa(y)===Aa(j),D=()=>x(i,{replace:B,mask:s,state:d,preventScrollReset:m,relative:p,viewTransition:S,defaultShouldRevalidate:C});z?g.startTransition(()=>D()):D()}},[y,x,j,r,s,d,o,i,m,p,S,C,z])}var s2=0,r2=()=>`__${String(++s2)}__`;function f2(){let{router:i}=ly("useSubmit"),{basename:o}=g.useContext(jt),r=zp(),s=i.fetch,d=i.navigate;return g.useCallback(async(m,p={})=>{let{action:S,method:C,encType:z,formData:x,body:y}=Vp(m,o);if(p.navigate===!1){let j=p.fetcherKey||r2();await s(j,r,p.action||S,{defaultShouldRevalidate:p.defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:x,body:y,formMethod:p.method||C,formEncType:p.encType||z,flushSync:p.flushSync})}else await d(p.action||S,{defaultShouldRevalidate:p.defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:x,body:y,formMethod:p.method||C,formEncType:p.encType||z,replace:p.replace,state:p.state,fromRouteId:r,flushSync:p.flushSync,viewTransition:p.viewTransition})},[s,d,o,r])}function d2(i,{relative:o}={}){let{basename:r}=g.useContext(jt),s=g.useContext(Gt);De(s,"useFormAction must be used inside a RouteContext");let[d]=s.matches.slice(-1),m={...Au(i||".",{relative:o})},p=kt();if(i==null){m.search=p.search;let S=new URLSearchParams(m.search),C=S.getAll("index");if(C.some(x=>x==="")){S.delete("index"),C.filter(y=>y).forEach(y=>S.append("index",y));let x=S.toString();m.search=x?`?${x}`:""}}return(!i||i===".")&&d.route.index&&(m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(m.pathname=m.pathname==="/"?r:It([r,m.pathname])),Aa(m)}function h2(i,{relative:o}={}){let r=g.useContext(K0);De(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=ly("useViewTransitionState"),d=Au(i,{relative:o});if(!r.isTransitioning)return!1;let m=Al(r.currentLocation.pathname,s)||r.currentLocation.pathname,p=Al(r.nextLocation.pathname,s)||r.nextLocation.pathname;return fc(d.pathname,p)!=null||fc(d.pathname,m)!=null}const m2="modulepreload",y2=function(i){return"/lab/"+i},T0={},dt=function(o,r,s){let d=Promise.resolve();if(r&&r.length>0){let p=function(z){return Promise.all(z.map(x=>Promise.resolve(x).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const S=document.querySelector("meta[property=csp-nonce]"),C=(S==null?void 0:S.nonce)||(S==null?void 0:S.getAttribute("nonce"));d=p(r.map(z=>{if(z=y2(z),z in T0)return;T0[z]=!0;const x=z.endsWith(".css"),y=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${z}"]${y}`))return;const j=document.createElement("link");if(j.rel=x?"stylesheet":m2,x||(j.as="script"),j.crossOrigin="",j.href=z,C&&j.setAttribute("nonce",C),document.head.appendChild(j),x)return new Promise((U,B)=>{j.addEventListener("load",U),j.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${z}`)))})}))}function m(p){const S=new Event("vite:preloadError",{cancelable:!0});if(S.payload=p,window.dispatchEvent(S),!S.defaultPrevented)throw p}return d.then(p=>{for(const S of p||[])S.status==="rejected"&&m(S.reason);return o().catch(m)})};/**
62
+ * @license lucide-react v0.577.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 ay=(...i)=>i.filter((o,r,s)=>!!o&&o.trim()!==""&&s.indexOf(o)===r).join(" ").trim();/**
67
+ * @license lucide-react v0.577.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
+ */const v2=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
72
+ * @license lucide-react v0.577.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 g2=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,r,s)=>s?s.toUpperCase():r.toLowerCase());/**
77
+ * @license lucide-react v0.577.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 _0=i=>{const o=g2(i);return o.charAt(0).toUpperCase()+o.slice(1)};/**
82
+ * @license lucide-react v0.577.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
+ */var p2={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"};/**
87
+ * @license lucide-react v0.577.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 b2=i=>{for(const o in i)if(o.startsWith("aria-")||o==="role"||o==="title")return!0;return!1};/**
92
+ * @license lucide-react v0.577.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 S2=g.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:d="",children:m,iconNode:p,...S},C)=>g.createElement("svg",{ref:C,...p2,width:o,height:o,stroke:i,strokeWidth:s?Number(r)*24/Number(o):r,className:ay("lucide",d),...!m&&!b2(S)&&{"aria-hidden":"true"},...S},[...p.map(([z,x])=>g.createElement(z,x)),...Array.isArray(m)?m:[m]]));/**
97
+ * @license lucide-react v0.577.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 $=(i,o)=>{const r=g.forwardRef(({className:s,...d},m)=>g.createElement(S2,{ref:m,iconNode:o,className:ay(`lucide-${v2(_0(i))}`,`lucide-${i}`,s),...d}));return r.displayName=_0(i),r};/**
102
+ * @license lucide-react v0.577.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 x2=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],ny=$("arrow-left",x2);/**
107
+ * @license lucide-react v0.577.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 E2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],uy=$("arrow-right",E2);/**
112
+ * @license lucide-react v0.577.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 T2=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],iy=$("book-open",T2);/**
117
+ * @license lucide-react v0.577.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 _2=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],N2=$("chart-column",_2);/**
122
+ * @license lucide-react v0.577.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 C2=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],R2=$("chevron-down",C2);/**
127
+ * @license lucide-react v0.577.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 z2=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],N0=$("chevron-right",z2);/**
132
+ * @license lucide-react v0.577.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 O2=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],cy=$("chevron-up",O2);/**
137
+ * @license lucide-react v0.577.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 A2=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],j2=$("circle-check-big",A2);/**
142
+ * @license lucide-react v0.577.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 M2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],w2=$("circle-check",M2);/**
147
+ * @license lucide-react v0.577.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 D2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],oy=$("circle-question-mark",D2);/**
152
+ * @license lucide-react v0.577.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 U2=[["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"}]],H2=$("circle-x",U2);/**
157
+ * @license lucide-react v0.577.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 L2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],B2=$("circle",L2);/**
162
+ * @license lucide-react v0.577.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 q2=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Y2=$("cpu",q2);/**
167
+ * @license lucide-react v0.577.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 G2=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],k2=$("external-link",G2);/**
172
+ * @license lucide-react v0.577.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 V2=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],sy=$("eye",V2);/**
177
+ * @license lucide-react v0.577.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 Q2=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],ry=$("file-text",Q2);/**
182
+ * @license lucide-react v0.577.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 X2=[["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"}]],Z2=$("folder-kanban",X2);/**
187
+ * @license lucide-react v0.577.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 K2=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]],J2=$("gift",K2);/**
192
+ * @license lucide-react v0.577.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 $2=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],F2=$("git-branch",$2);/**
197
+ * @license lucide-react v0.577.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 I2=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]],W2=$("git-compare",I2);/**
202
+ * @license lucide-react v0.577.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 P2=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],eb=$("house",P2);/**
207
+ * @license lucide-react v0.577.0 - ISC
208
+ *
209
+ * This source code is licensed under the ISC license.
210
+ * See the LICENSE file in the root directory of this source tree.
211
+ */const tb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],lb=$("info",tb);/**
212
+ * @license lucide-react v0.577.0 - ISC
213
+ *
214
+ * This source code is licensed under the ISC license.
215
+ * See the LICENSE file in the root directory of this source tree.
216
+ */const ab=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],fy=$("keyboard",ab);/**
217
+ * @license lucide-react v0.577.0 - ISC
218
+ *
219
+ * This source code is licensed under the ISC license.
220
+ * See the LICENSE file in the root directory of this source tree.
221
+ */const nb=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]],Or=$("layout-template",nb);/**
222
+ * @license lucide-react v0.577.0 - ISC
223
+ *
224
+ * This source code is licensed under the ISC license.
225
+ * See the LICENSE file in the root directory of this source tree.
226
+ */const ub=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],ib=$("list-checks",ub);/**
227
+ * @license lucide-react v0.577.0 - ISC
228
+ *
229
+ * This source code is licensed under the ISC license.
230
+ * See the LICENSE file in the root directory of this source tree.
231
+ */const cb=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],ob=$("log-out",cb);/**
232
+ * @license lucide-react v0.577.0 - ISC
233
+ *
234
+ * This source code is licensed under the ISC license.
235
+ * See the LICENSE file in the root directory of this source tree.
236
+ */const sb=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],rb=$("menu",sb);/**
237
+ * @license lucide-react v0.577.0 - ISC
238
+ *
239
+ * This source code is licensed under the ISC license.
240
+ * See the LICENSE file in the root directory of this source tree.
241
+ */const fb=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Ar=$("message-square",fb);/**
242
+ * @license lucide-react v0.577.0 - ISC
243
+ *
244
+ * This source code is licensed under the ISC license.
245
+ * See the LICENSE file in the root directory of this source tree.
246
+ */const db=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],hb=$("monitor",db);/**
247
+ * @license lucide-react v0.577.0 - ISC
248
+ *
249
+ * This source code is licensed under the ISC license.
250
+ * See the LICENSE file in the root directory of this source tree.
251
+ */const mb=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],yb=$("moon",mb);/**
252
+ * @license lucide-react v0.577.0 - ISC
253
+ *
254
+ * This source code is licensed under the ISC license.
255
+ * See the LICENSE file in the root directory of this source tree.
256
+ */const vb=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],gb=$("palette",vb);/**
257
+ * @license lucide-react v0.577.0 - ISC
258
+ *
259
+ * This source code is licensed under the ISC license.
260
+ * See the LICENSE file in the root directory of this source tree.
261
+ */const pb=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],bb=$("panel-left-close",pb);/**
262
+ * @license lucide-react v0.577.0 - ISC
263
+ *
264
+ * This source code is licensed under the ISC license.
265
+ * See the LICENSE file in the root directory of this source tree.
266
+ */const Sb=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],xb=$("panel-left",Sb);/**
267
+ * @license lucide-react v0.577.0 - ISC
268
+ *
269
+ * This source code is licensed under the ISC license.
270
+ * See the LICENSE file in the root directory of this source tree.
271
+ */const Eb=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],dy=$("play",Eb);/**
272
+ * @license lucide-react v0.577.0 - ISC
273
+ *
274
+ * This source code is licensed under the ISC license.
275
+ * See the LICENSE file in the root directory of this source tree.
276
+ */const Tb=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],jr=$("rocket",Tb);/**
277
+ * @license lucide-react v0.577.0 - ISC
278
+ *
279
+ * This source code is licensed under the ISC license.
280
+ * See the LICENSE file in the root directory of this source tree.
281
+ */const _b=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Nb=$("search",_b);/**
282
+ * @license lucide-react v0.577.0 - ISC
283
+ *
284
+ * This source code is licensed under the ISC license.
285
+ * See the LICENSE file in the root directory of this source tree.
286
+ */const Cb=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],hy=$("settings-2",Cb);/**
287
+ * @license lucide-react v0.577.0 - ISC
288
+ *
289
+ * This source code is licensed under the ISC license.
290
+ * See the LICENSE file in the root directory of this source tree.
291
+ */const Rb=[["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"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],zb=$("shield-check",Rb);/**
292
+ * @license lucide-react v0.577.0 - ISC
293
+ *
294
+ * This source code is licensed under the ISC license.
295
+ * See the LICENSE file in the root directory of this source tree.
296
+ */const Ob=[["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"}]],Ab=$("shield",Ob);/**
297
+ * @license lucide-react v0.577.0 - ISC
298
+ *
299
+ * This source code is licensed under the ISC license.
300
+ * See the LICENSE file in the root directory of this source tree.
301
+ */const jb=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],Mb=$("skip-forward",jb);/**
302
+ * @license lucide-react v0.577.0 - ISC
303
+ *
304
+ * This source code is licensed under the ISC license.
305
+ * See the LICENSE file in the root directory of this source tree.
306
+ */const wb=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Mr=$("sparkles",wb);/**
307
+ * @license lucide-react v0.577.0 - ISC
308
+ *
309
+ * This source code is licensed under the ISC license.
310
+ * See the LICENSE file in the root directory of this source tree.
311
+ */const Db=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ub=$("star",Db);/**
312
+ * @license lucide-react v0.577.0 - ISC
313
+ *
314
+ * This source code is licensed under the ISC license.
315
+ * See the LICENSE file in the root directory of this source tree.
316
+ */const Hb=[["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"}]],Lb=$("sun",Hb);/**
317
+ * @license lucide-react v0.577.0 - ISC
318
+ *
319
+ * This source code is licensed under the ISC license.
320
+ * See the LICENSE file in the root directory of this source tree.
321
+ */const Bb=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],qb=$("terminal",Bb);/**
322
+ * @license lucide-react v0.577.0 - ISC
323
+ *
324
+ * This source code is licensed under the ISC license.
325
+ * See the LICENSE file in the root directory of this source tree.
326
+ */const Yb=[["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"}]],Gb=$("triangle-alert",Yb);/**
327
+ * @license lucide-react v0.577.0 - ISC
328
+ *
329
+ * This source code is licensed under the ISC license.
330
+ * See the LICENSE file in the root directory of this source tree.
331
+ */const kb=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Vb=$("users",kb);/**
332
+ * @license lucide-react v0.577.0 - ISC
333
+ *
334
+ * This source code is licensed under the ISC license.
335
+ * See the LICENSE file in the root directory of this source tree.
336
+ */const Qb=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Xb=$("video",Qb);/**
337
+ * @license lucide-react v0.577.0 - ISC
338
+ *
339
+ * This source code is licensed under the ISC license.
340
+ * See the LICENSE file in the root directory of this source tree.
341
+ */const Zb=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],Kb=$("wand-sparkles",Zb);/**
342
+ * @license lucide-react v0.577.0 - ISC
343
+ *
344
+ * This source code is licensed under the ISC license.
345
+ * See the LICENSE file in the root directory of this source tree.
346
+ */const Jb=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],$b=$("wrench",Jb);/**
347
+ * @license lucide-react v0.577.0 - ISC
348
+ *
349
+ * This source code is licensed under the ISC license.
350
+ * See the LICENSE file in the root directory of this source tree.
351
+ */const Fb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ja=$("x",Fb);/**
352
+ * @license lucide-react v0.577.0 - ISC
353
+ *
354
+ * This source code is licensed under the ISC license.
355
+ * See the LICENSE file in the root directory of this source tree.
356
+ */const Ib=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Wb=$("zap",Ib),wr="/lab/".replace(/\/$/,""),rc=`${window.location.origin}${wr}/api`,Pb=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}${wr}/ws`,ix=wr;function my(){const i={"Content-Type":"application/json"};try{const o=localStorage.getItem("pl_auth_token");o&&(i.Authorization=`Bearer ${o}`)}catch{}return i}async function H(i,o){const r=await fetch(`${rc}${i}`,{...o,headers:{...my(),...o==null?void 0:o.headers}});if(!r.ok){const d=await r.text().catch(()=>"");throw new Error(`API error ${r.status}: ${r.statusText}${d?` - ${d}`:""}`)}if(!(r.headers.get("content-type")||"").includes("application/json"))throw new Error("API endpoint not available. Please restart the server with the latest version.");return r.json()}const _n={listProofs:()=>H("/proofs"),proofsSummary:()=>H("/proofs/summary"),getProof:i=>H(`/proofs/${encodeURIComponent(i)}`),startSession:i=>H("/session/start",{method:"POST",body:JSON.stringify(i)}),quickStart:(i,o="claude")=>H("/session/quick-start",{method:"POST",body:JSON.stringify({prompt:i,provider:o})}),stopSession:()=>H("/session/stop",{method:"POST"}),pauseSession:()=>H("/session/pause",{method:"POST"}),resumeSession:()=>H("/session/resume",{method:"POST"}),getPrdPrefill:()=>H("/session/prd-prefill"),getStatus:()=>H("/session/status"),getAgents:()=>H("/session/agents"),getLogs:(i=200)=>H(`/session/logs?lines=${i}`),getMemorySummary:()=>H("/session/memory"),getChecklist:()=>H("/session/checklist"),getFiles:()=>H("/session/files"),getFileContent:i=>H(`/session/files/content?path=${encodeURIComponent(i)}`),getSessionFileContent:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/file?path=${encodeURIComponent(o)}`),getTemplates:()=>H("/templates"),getTemplateContent:i=>H(`/templates/${encodeURIComponent(i)}`),planSession:(i,o)=>H("/session/plan",{method:"POST",body:JSON.stringify({prd:i,provider:o})}),generateReport:(i="markdown")=>H("/session/report",{method:"POST",body:JSON.stringify({format:i})}),shareSession:()=>H("/session/share",{method:"POST"}),getCurrentProvider:()=>H("/provider/current"),setProvider:i=>H("/provider/set",{method:"POST",body:JSON.stringify({provider:i})}),getMetrics:()=>H("/session/metrics"),getSessionsHistory:()=>H("/sessions/history"),getSessionDetail:i=>H(`/sessions/${encodeURIComponent(i)}`),deleteSession:i=>H(`/sessions/${encodeURIComponent(i)}`,{method:"DELETE"}),onboardRepo:i=>H("/session/onboard",{method:"POST",body:JSON.stringify({path:i})}),saveSessionFile:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/file`,{method:"PUT",body:JSON.stringify({path:o,content:r})}),createSessionFile:(i,o,r="")=>H(`/sessions/${encodeURIComponent(i)}/file`,{method:"POST",body:JSON.stringify({path:o,content:r})}),deleteSessionFile:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/file`,{method:"DELETE",body:JSON.stringify({path:o})}),createSessionDirectory:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/directory`,{method:"POST",body:JSON.stringify({path:o})}),reviewProject:i=>H(`/sessions/${encodeURIComponent(i)}/review`,{method:"POST"}),testProject:i=>H(`/sessions/${encodeURIComponent(i)}/test`,{method:"POST"}),explainProject:i=>H(`/sessions/${encodeURIComponent(i)}/explain`,{method:"POST"}),exportProject:i=>H(`/sessions/${encodeURIComponent(i)}/export`,{method:"POST"}),fixProject:i=>H(`/sessions/${encodeURIComponent(i)}/fix`,{method:"POST"}),chatMessage:(i,o,r="quick")=>H(`/sessions/${encodeURIComponent(i)}/chat`,{method:"POST",body:JSON.stringify({message:o,mode:r})}),chatStart:(i,o,r="quick",s)=>H(`/sessions/${encodeURIComponent(i)}/chat`,{method:"POST",body:JSON.stringify({message:o,mode:r,history:s})}),chatPoll:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(o)}`),chatStreamUrl:(i,o)=>`${rc}/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(o)}/stream`,chatCancel:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(o)}/cancel`,{method:"POST"}),getPreviewInfo:i=>H(`/sessions/${encodeURIComponent(i)}/preview-info`),devserver:{start:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/devserver/start`,{method:"POST",body:JSON.stringify({command:o||null})}),stop:i=>H(`/sessions/${encodeURIComponent(i)}/devserver/stop`,{method:"POST"}),status:i=>H(`/sessions/${encodeURIComponent(i)}/devserver/status`)},getSecrets:()=>H("/secrets"),setSecret:(i,o)=>H("/secrets",{method:"POST",body:JSON.stringify({key:i,value:o})}),deleteSecret:i=>H(`/secrets/${encodeURIComponent(i)}`,{method:"DELETE"}),getServices:i=>H(`/sessions/${encodeURIComponent(i)}/services`),getTeams:()=>H("/teams"),createTeam:i=>H("/teams",{method:"POST",body:JSON.stringify({name:i})}),getTeamMembers:i=>H(`/teams/${encodeURIComponent(i)}/members`),addTeamMember:(i,o,r)=>H(`/teams/${encodeURIComponent(i)}/members`,{method:"POST",body:JSON.stringify({email:o,role:r})}),getCost:()=>H("/cost"),getCostTimeline:()=>H("/cost/timeline"),getAuditLog:()=>H("/audit-log"),getServiceLogs:(i,o,r=50)=>H(`/sessions/${encodeURIComponent(i)}/devserver/logs?${new URLSearchParams({...o?{service:o}:{},tail:String(r)}).toString()}`),getCheckpoints:i=>H(`/sessions/${encodeURIComponent(i)}/checkpoints`),restoreCheckpoint:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/checkpoints/${encodeURIComponent(o)}/restore`,{method:"POST"}),previewChanges:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/chat/preview`,{method:"POST",body:JSON.stringify({message:o})}),searchFiles:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/files/search?q=${encodeURIComponent(o)}`),restartService:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/devserver/restart-service`,{method:"POST",body:JSON.stringify({service:o})}),deployProject:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/deploy`,{method:"POST",body:JSON.stringify({platform:o})}),githubPush:i=>H(`/sessions/${encodeURIComponent(i)}/github/push`,{method:"POST"}),getGitHubIssues:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/github/issues?${new URLSearchParams({...o?{state:o}:{},...r?{limit:String(r)}:{}}).toString()}`),getGitHubIssue:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/issues/${o}`),fixGitHubIssue:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/issues/${o}/fix`,{method:"POST"}),getGitHubPRs:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/github/prs?${new URLSearchParams({...o?{state:o}:{},...r?{limit:String(r)}:{}}).toString()}`),getGitHubPR:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/prs/${o}`),getGitHubPRDiff:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/prs/${o}/diff`),reviewGitHubPR:(i,o,r,s)=>H(`/sessions/${encodeURIComponent(i)}/github/prs/${o}/review`,{method:"POST",body:JSON.stringify({action:r,body:s})}),mergeGitHubPR:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/github/prs/${o}/merge`,{method:"POST",body:JSON.stringify({method:r})}),getWorkflowRuns:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/actions/runs?${new URLSearchParams({...o?{limit:String(o)}:{}}).toString()}`),getWorkflowRunDetail:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/actions/runs/${o}`),getWorkflowRunLogs:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/actions/runs/${o}/logs`),getWorkflows:i=>H(`/sessions/${encodeURIComponent(i)}/github/actions/workflows`),dispatchWorkflow:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/github/actions/dispatch`,{method:"POST",body:JSON.stringify({workflow:o,ref:r})}),rerunWorkflow:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/actions/runs/${o}/rerun`,{method:"POST"}),cancelWorkflow:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/github/actions/runs/${o}/cancel`,{method:"POST"}),importGitHubRepo:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/github/import`,{method:"POST",body:JSON.stringify({repo:o,...r?{branch:r}:{}})}),getDeployStatus:()=>H("/deploy/status"),connectVercel:i=>H("/deploy/vercel/token",{method:"POST",body:JSON.stringify({token:i})}),connectNetlify:i=>H("/deploy/netlify/token",{method:"POST",body:JSON.stringify({token:i})}),disconnectPlatform:i=>H(`/deploy/${encodeURIComponent(i)}/disconnect`,{method:"POST"}),getMe:()=>H("/auth/me"),getGitHubAuthUrl:()=>H("/auth/github/url"),getGoogleAuthUrl:()=>H("/auth/google/url"),githubCallback:(i,o)=>H("/auth/github/callback",{method:"POST",body:JSON.stringify({code:i,state:o})}),googleCallback:(i,o,r)=>H("/auth/google/callback",{method:"POST",body:JSON.stringify({code:i,state:o,redirect_uri:r||`${window.location.origin}${window.location.pathname}`})}),git:{status:i=>H(`/sessions/${encodeURIComponent(i)}/git/status`),log:(i,o=20)=>H(`/sessions/${encodeURIComponent(i)}/git/log?limit=${o}`),branches:i=>H(`/sessions/${encodeURIComponent(i)}/git/branches`),commit:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/git/commit`,{method:"POST",body:JSON.stringify({message:o,files:r})}),createBranch:(i,o,r=!0)=>H(`/sessions/${encodeURIComponent(i)}/git/branch`,{method:"POST",body:JSON.stringify({name:o,checkout:r})}),checkoutBranch:(i,o)=>H(`/sessions/${encodeURIComponent(i)}/git/checkout`,{method:"POST",body:JSON.stringify({name:o})}),push:i=>H(`/sessions/${encodeURIComponent(i)}/git/push`,{method:"POST"}),pr:(i,o,r)=>H(`/sessions/${encodeURIComponent(i)}/git/pr`,{method:"POST",body:JSON.stringify({title:o,body:r})})},generateDocs:i=>H(`/sessions/${encodeURIComponent(i)}/docs/generate`,{method:"POST"}),getDocsStatus:i=>H(`/sessions/${encodeURIComponent(i)}/docs/status`),getDocFiles:i=>H(`/sessions/${encodeURIComponent(i)}/docs/files`),getDocFileContent:async(i,o)=>{const r=await fetch(`${rc}/sessions/${encodeURIComponent(i)}/docs/files/${encodeURIComponent(o)}`,{headers:my()});if(!r.ok)throw new Error(`API error ${r.status}: ${r.statusText}`);return r.text()},chatImageUpload:async(i,o)=>{const r=new FormData;r.append("image",o);const s=await fetch(`${rc}/sessions/${encodeURIComponent(i)}/chat/image`,{method:"POST",headers:{...(()=>{const d={};try{const m=localStorage.getItem("pl_auth_token");m&&(d.Authorization=`Bearer ${m}`)}catch{}return d})()},body:r});if(!s.ok){const d=await s.text().catch(()=>"");throw new Error(`API error ${s.status}: ${s.statusText}${d?` - ${d}`:""}`)}return s.json()}};class eS{constructor(o){_u(this,"ws",null);_u(this,"listeners",new Map);_u(this,"reconnectTimer",null);_u(this,"url");this.url=o||Pb}connect(){var o;((o=this.ws)==null?void 0:o.readyState)!==WebSocket.OPEN&&(this.ws=new WebSocket(this.url),this.ws.onopen=()=>{this.emit("connected",{message:"WebSocket connected"})},this.ws.onmessage=r=>{try{const s=JSON.parse(r.data);if(s.type==="ping"){this.send({type:"pong"});return}this.emit(s.type,s.data||s)}catch{}},this.ws.onclose=()=>{this.emit("disconnected",{}),this.scheduleReconnect()},this.ws.onerror=()=>{var r;(r=this.ws)==null||r.close()})}scheduleReconnect(){this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},3e3))}on(o,r){return this.listeners.has(o)||this.listeners.set(o,new Set),this.listeners.get(o).add(r),()=>{var s;return(s=this.listeners.get(o))==null?void 0:s.delete(r)}}emit(o,r){var s,d;(s=this.listeners.get(o))==null||s.forEach(m=>m(r)),(d=this.listeners.get("*"))==null||d.forEach(m=>m({type:o,data:r}))}send(o){var r;((r=this.ws)==null?void 0:r.readyState)===WebSocket.OPEN&&this.ws.send(JSON.stringify(o))}disconnect(){var o;this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),(o=this.ws)==null||o.close(),this.ws=null}}const rr="pl_auth_token",yy=g.createContext({user:null,loading:!0,login:()=>{},logout:()=>{},isLocalMode:!0});function tS(i,o,r){o(!1),r({email:i.sub||i.email||"",name:i.name||"",avatar_url:i.avatar||"",authenticated:!0})}function lS({children:i}){const[o,r]=g.useState(null),[s,d]=g.useState(!0),[m,p]=g.useState(!0),S=Tr(),C=kt();g.useEffect(()=>{let j=!1;async function U(){const B=new URLSearchParams(window.location.search),D=B.get("token"),q=B.get("code");if(D)localStorage.setItem(rr,D),window.history.replaceState({},"",window.location.pathname);else if(q)try{const G=sessionStorage.getItem("pl_oauth_provider")||"github",F=sessionStorage.getItem("pl_oauth_state")||"";sessionStorage.removeItem("pl_oauth_state"),sessionStorage.removeItem("pl_oauth_provider");let ee;if(G==="google"?ee=await _n.googleCallback(q,F):ee=await _n.githubCallback(q,F),!j){localStorage.setItem(rr,ee.token),window.history.replaceState({},"",window.location.pathname),p(!1),r({email:ee.user.email,name:ee.user.name,avatar_url:ee.user.avatar_url,authenticated:!0}),d(!1);return}}catch{window.history.replaceState({},"",window.location.pathname)}try{const G=await _n.getMe();if(j)return;G.local_mode?(p(!0),r(null)):G.authenticated?tS(G,p,r):(p(!1),r(null))}catch{if(j)return;p(!0),r(null)}finally{j||d(!1)}}return U(),()=>{j=!0}},[]);const z=g.useCallback(j=>{j==="github"?_n.getGitHubAuthUrl().then(U=>{try{const D=new URL(U.url).searchParams.get("state");D&&(sessionStorage.setItem("pl_oauth_state",D),sessionStorage.setItem("pl_oauth_provider","github"))}catch{}window.location.href=U.url}).catch(()=>{}):j==="google"&&_n.getGoogleAuthUrl().then(U=>{try{const D=new URL(U.url).searchParams.get("state");D&&(sessionStorage.setItem("pl_oauth_state",D),sessionStorage.setItem("pl_oauth_provider","google"))}catch{}window.location.href=U.url}).catch(()=>{})},[]),x=g.useCallback(()=>{localStorage.removeItem(rr),r(null),C.pathname!=="/login"&&S("/login",{replace:!0})},[S,C.pathname]),y=g.useMemo(()=>({user:o,loading:s,login:z,logout:x,isLocalMode:m}),[o,s,z,x,m]);return h.jsx(yy.Provider,{value:y,children:i})}function vy(){return g.useContext(yy)}function aS(){const[i,o]=g.useState(()=>typeof window>"u"?"light":localStorage.getItem("pl_theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"));g.useEffect(()=>{document.documentElement.classList.toggle("dark",i==="dark"),localStorage.setItem("pl_theme",i)},[i]);const r=g.useCallback(()=>{o(s=>s==="light"?"dark":"light")},[]);return{theme:i,toggleTheme:r,isDark:i==="dark"}}const gy="pl_discovered_features";function py(){try{const i=localStorage.getItem(gy);if(i)return new Set(JSON.parse(i))}catch{}return new Set}function nS(i){try{localStorage.setItem(gy,JSON.stringify([...i]))}catch{}}function uS(i){const o=py();o.has(i)||(o.add(i),nS(o),window.dispatchEvent(new CustomEvent("pl_feature_discovered",{detail:i})))}function iS({feature:i,className:o=""}){const[r,s]=g.useState(!0);return g.useEffect(()=>{s(py().has(i))},[i]),g.useEffect(()=>{const d=m=>{m.detail===i&&s(!0)};return window.addEventListener("pl_feature_discovered",d),()=>window.removeEventListener("pl_feature_discovered",d)},[i]),r?null:h.jsxs("span",{className:`relative inline-flex ${o}`,"aria-hidden":"true",children:[h.jsx("span",{className:"absolute inline-flex h-2.5 w-2.5 rounded-full bg-primary/40 animate-ping"}),h.jsx("span",{className:"relative inline-flex h-2.5 w-2.5 rounded-full bg-primary"})]})}const by="pl_getting_started_steps",C0="pl_getting_started_dismissed",R0="pl_getting_started_collapsed",z0=[{id:"create_project",label:"Create your first project",description:"Describe what you want to build or pick a template to get started.",icon:ry},{id:"try_chat",label:"Try the AI chat",description:"Ask the AI to modify, explain, or improve your code.",icon:Ar},{id:"preview_app",label:"Preview your app",description:"Open the Preview tab to see your application running live.",icon:sy},{id:"explore_templates",label:"Explore templates",description:"Browse the template gallery for inspiration and quick starts.",icon:Or},{id:"deploy_app",label:"Deploy your app",description:"Push your project live with one click using the Deploy tab.",icon:jr}];function O0(){try{const i=localStorage.getItem(by);if(i)return new Set(JSON.parse(i))}catch{}return new Set}function cS(i){try{localStorage.setItem(by,JSON.stringify([...i]))}catch{}}function oS(){const[i,o]=g.useState(!1),[r,s]=g.useState(!1),[d,m]=g.useState(new Set);g.useEffect(()=>{try{if(localStorage.getItem(C0)==="1"){o(!0);return}s(localStorage.getItem(R0)==="1")}catch{}m(O0())},[]),g.useEffect(()=>{const U=()=>m(O0());return window.addEventListener("pl_step_complete",U),()=>window.removeEventListener("pl_step_complete",U)},[]);const p=g.useCallback(U=>{m(B=>{const D=new Set(B);return D.has(U)?D.delete(U):D.add(U),cS(D),D})},[]),S=()=>{o(!0);try{localStorage.setItem(C0,"1")}catch{}},C=()=>{s(U=>{const B=!U;try{localStorage.setItem(R0,B?"1":"0")}catch{}return B})};if(i)return null;const z=d.size,x=z0.length,y=z/x*100,j=z===x;return h.jsxs("div",{className:"bg-card border border-border rounded-xl shadow-sm overflow-hidden",children:[h.jsxs("button",{onClick:C,className:"w-full flex items-center gap-3 px-4 py-3 text-left hover:bg-hover transition-colors",children:[h.jsx(ib,{size:16,className:"text-primary flex-shrink-0"}),h.jsxs("div",{className:"flex-1 min-w-0",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx("span",{className:"text-sm font-heading font-bold text-ink",children:"Getting Started"}),h.jsxs("span",{className:"text-[11px] text-muted-accessible font-mono",children:[z,"/",x]})]}),h.jsx("div",{className:"h-1 bg-border rounded-full mt-1.5 overflow-hidden",children:h.jsx("div",{className:"h-full bg-primary rounded-full transition-all duration-500",style:{width:`${y}%`}})})]}),h.jsx("div",{className:"flex items-center gap-1",children:r?h.jsx(R2,{size:14,className:"text-muted"}):h.jsx(cy,{size:14,className:"text-muted"})})]}),!r&&h.jsxs("div",{className:"border-t border-border",children:[h.jsx("div",{className:"px-3 py-2 space-y-0.5",children:z0.map(U=>{const B=d.has(U.id),D=U.icon;return h.jsxs("button",{onClick:()=>p(U.id),className:`w-full flex items-start gap-3 px-3 py-2.5 rounded-lg text-left transition-colors ${B?"opacity-60 hover:opacity-80":"hover:bg-hover"}`,children:[h.jsx("div",{className:"mt-0.5 flex-shrink-0",children:B?h.jsx(w2,{size:16,className:"text-success"}):h.jsx(B2,{size:16,className:"text-border"})}),h.jsxs("div",{className:"flex-1 min-w-0",children:[h.jsx("span",{className:`text-xs font-medium ${B?"text-muted line-through":"text-ink"}`,children:U.label}),!B&&h.jsx("p",{className:"text-[11px] text-muted-accessible mt-0.5 leading-relaxed",children:U.description})]}),h.jsx(D,{size:14,className:`flex-shrink-0 mt-0.5 ${B?"text-muted":"text-primary/50"}`})]},U.id)})}),h.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5 border-t border-border",children:[j?h.jsx("span",{className:"text-xs text-success font-medium",children:"All done -- you are ready to build!"}):h.jsx("span",{className:"text-[11px] text-muted",children:"Complete each step to learn the basics."}),h.jsxs("button",{onClick:S,className:"flex items-center gap-1 text-[11px] text-muted hover:text-ink transition-colors",children:[h.jsx(ja,{size:11}),"Dismiss"]})]})]})]})}const A0="pl_sidebar_collapsed",sS=[{to:"/",label:"Home",icon:eb},{to:"/projects",label:"Projects",icon:Z2},{to:"/templates",label:"Templates",icon:Or,discoveryFeature:"templates"},{to:"/showcase",label:"Showcase",icon:Mr},{to:"/magic",label:"Magic",icon:Kb},{to:"/metrics",label:"Metrics",icon:N2},{to:"/compare",label:"Compare",icon:W2},{to:"/teams",label:"Teams",icon:Vb}],rS=[{to:"/settings",label:"Settings",icon:hy},{to:"/admin",label:"Admin",icon:zb},{to:"/admin/settings",label:"System",icon:$b}];function fS(){const[i,o]=g.useState(typeof window<"u"?window.innerWidth<768:!1);return g.useEffect(()=>{const r=()=>o(window.innerWidth<768);return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),i}function dS({wsConnected:i,version:o,onOpenDocs:r}){const s=fS(),d=kt(),{theme:m,toggleTheme:p}=aS(),[S,C]=g.useState(!1),[z,x]=g.useState(()=>{try{return localStorage.getItem(A0)==="1"}catch{return!1}});g.useEffect(()=>{try{localStorage.setItem(A0,z?"1":"0")}catch{}},[z]),g.useEffect(()=>{s&&C(!1)},[d.pathname,s]);const y=s?S:!z,j=y?240:64,U=D=>["flex items-center gap-3 px-3 py-2 text-sm transition-colors rounded-[5px]",!y&&"justify-center",D?"bg-[#553DE9]/8 text-[#553DE9] font-medium border-l-2 border-[#553DE9]":"text-[#36342E] hover:bg-[#F8F4F0]"].filter(Boolean).join(" "),B=h.jsxs("aside",{className:"flex flex-col h-full border-r border-[#ECEAE3] bg-white transition-[width] duration-200",style:{width:j,minWidth:j},children:[h.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-[#ECEAE3]",children:[y&&h.jsxs("div",{className:"flex flex-col",children:[h.jsx("span",{className:"font-heading text-lg font-bold leading-tight text-[#36342E]",children:"Purple Lab"}),h.jsx("span",{className:"text-xs text-[#6B6960]",children:"Powered by Loki"})]}),s?h.jsx("button",{type:"button","aria-label":S?"Close menu":"Open menu",title:S?"Close menu":"Open menu",onClick:()=>C(!S),className:"inline-flex items-center justify-center w-7 h-7 rounded-[3px] text-[#939084] hover:bg-[#F8F4F0] transition-colors",children:S?h.jsx(ja,{size:16}):h.jsx(rb,{size:16})}):h.jsx("button",{type:"button","aria-label":z?"Expand sidebar":"Collapse sidebar",title:z?"Expand sidebar":"Collapse sidebar",onClick:()=>x(!z),className:"inline-flex items-center justify-center w-7 h-7 rounded-[3px] text-[#939084] hover:bg-[#F8F4F0] transition-colors",children:z?h.jsx(xb,{size:16}):h.jsx(bb,{size:16})})]}),h.jsxs("nav",{className:"flex-1 px-2 py-3 flex flex-col gap-1","aria-label":"Main navigation",children:[sS.map(D=>h.jsxs(dc,{to:D.to,end:D.to==="/",className:({isActive:q})=>U(q),title:y?void 0:D.label,onClick:()=>{D.discoveryFeature&&uS(D.discoveryFeature)},children:[h.jsxs("div",{className:"relative",children:[h.jsx(D.icon,{size:18}),D.discoveryFeature&&h.jsx(iS,{feature:D.discoveryFeature,className:"absolute -top-1 -right-1"})]}),y&&h.jsx("span",{children:D.label})]},D.to)),h.jsx("div",{className:"my-2 border-t border-[#ECEAE3]"}),rS.map(D=>h.jsxs(dc,{to:D.to,className:({isActive:q})=>U(q),title:y?void 0:D.label,children:[h.jsx(D.icon,{size:18}),y&&h.jsx("span",{children:D.label})]},D.to)),y&&h.jsx("div",{className:"mt-3 px-1",children:h.jsx(oS,{})})]}),h.jsxs("div",{className:"px-3 py-3 border-t border-[#ECEAE3] flex flex-col gap-2",children:[h.jsx(hS,{collapsed:!y}),h.jsxs("div",{className:["flex items-center gap-2 text-xs",!y&&"justify-center"].filter(Boolean).join(" "),children:[h.jsx("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${i?"bg-[#1FC5A8]":"bg-[#C45B5B]"}`}),y&&h.jsx("span",{className:"text-[#6B6960]",children:i?"Connected":"Disconnected"})]}),y&&o&&h.jsxs("span",{className:"text-xs text-[#6B6960]",children:["v",o]}),h.jsxs("button",{onClick:p,title:m==="dark"?"Light mode":"Dark mode",className:["flex items-center gap-2 text-xs text-[#6B6960] hover:text-[#36342E] transition-colors",!y&&"justify-center"].filter(Boolean).join(" "),children:[m==="dark"?h.jsx(Lb,{size:14}):h.jsx(yb,{size:14}),y&&h.jsx("span",{children:m==="dark"?"Light Mode":"Dark Mode"})]}),h.jsxs("button",{onClick:r,className:["flex items-center gap-2 text-xs text-[#6B6960] hover:text-[#36342E] transition-colors",!y&&"justify-center"].filter(Boolean).join(" "),title:y?void 0:"Help & Docs",children:[h.jsx(oy,{size:14}),y&&h.jsx("span",{children:"Help & Docs"})]}),h.jsxs("a",{href:"https://www.autonomi.dev/docs",target:"_blank",rel:"noopener noreferrer",className:["flex items-center gap-2 text-xs text-[#6B6960] hover:text-[#36342E] transition-colors",!y&&"justify-center"].filter(Boolean).join(" "),title:y?void 0:"Documentation",children:[h.jsx(iy,{size:14}),y&&h.jsx("span",{children:"Docs"})]})]})]});return s&&S?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"fixed inset-0 z-40 bg-ink/20",onClick:()=>C(!1)}),h.jsx("div",{className:"fixed inset-y-0 left-0 z-50",children:B})]}):B}function hS({collapsed:i}){const{user:o,logout:r,isLocalMode:s}=vy(),[d,m]=g.useState(!1),p=g.useRef(null);return g.useEffect(()=>{function S(C){p.current&&!p.current.contains(C.target)&&m(!1)}if(d)return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[d]),s||!o?h.jsxs("div",{className:["flex items-center gap-2 text-xs",i&&"justify-center"].filter(Boolean).join(" "),title:i?"Local Mode":void 0,children:[h.jsx(hb,{size:14,className:"text-[#939084] flex-shrink-0"}),!i&&h.jsx("span",{className:"text-[#939084]",children:"Local Mode"})]}):h.jsxs("div",{className:"relative",ref:p,"data-testid":"user-section",children:[h.jsxs("button",{type:"button",onClick:()=>m(!d),className:["flex items-center gap-2 w-full text-left text-xs rounded-[3px] py-1 px-1 hover:bg-[#F8F4F0] transition-colors",i&&"justify-center"].filter(Boolean).join(" "),title:i?o.name||o.email:void 0,children:[o.avatar_url?h.jsx("img",{src:o.avatar_url,alt:"",className:"w-5 h-5 rounded-full flex-shrink-0"}):h.jsx("div",{className:"w-5 h-5 rounded-full bg-[#553DE9] flex items-center justify-center text-white text-[10px] font-bold flex-shrink-0",children:(o.name||o.email||"?")[0].toUpperCase()}),!i&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"text-[#36342E] truncate flex-1",children:o.name||o.email}),h.jsx(cy,{size:12,className:`text-[#939084] transition-transform ${d?"":"rotate-180"}`})]})]}),d&&h.jsxs("div",{className:"absolute bottom-full left-0 mb-1 w-48 bg-white border border-[#ECEAE3] rounded-lg shadow-lg py-1 z-50",children:[h.jsxs("div",{className:"px-3 py-2 border-b border-[#ECEAE3]",children:[h.jsx("p",{className:"text-xs font-medium text-[#36342E] truncate",children:o.name}),h.jsx("p",{className:"text-xs text-[#939084] truncate",children:o.email})]}),h.jsxs(dc,{to:"/settings",onClick:()=>m(!1),className:"flex items-center gap-2 px-3 py-2 text-xs text-[#36342E] hover:bg-[#F8F4F0] transition-colors",children:[h.jsx(hy,{size:14}),"Settings"]}),h.jsxs("button",{type:"button",onClick:()=>{m(!1),r()},className:"flex items-center gap-2 px-3 py-2 text-xs text-[#C45B5B] hover:bg-[#F8F4F0] transition-colors w-full text-left",children:[h.jsx(ob,{size:14}),"Sign out"]})]})]})}const Nn=[];function mS(i){if(i.key==="Escape"&&Nn.length>0){i.preventDefault(),i.stopPropagation();const o=Nn[Nn.length-1];o()}}let j0=!1;function yS(){j0||(document.addEventListener("keydown",mS),j0=!0)}function vS(i,o){const r=g.useRef(o);r.current=o;const s=g.useCallback(()=>{r.current()},[]);g.useEffect(()=>{if(i)return yS(),Nn.push(s),()=>{const d=Nn.indexOf(s);d!==-1&&Nn.splice(d,1)}},[i,s])}const M0=["a[href]","button:not([disabled])","input:not([disabled])","textarea:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function gS(i){const o=g.useRef(null),r=g.useRef(null);return g.useEffect(()=>{if(!i)return;r.current=document.activeElement;const s=o.current;if(!s)return;const d=s.querySelectorAll(M0);d.length>0&&requestAnimationFrame(()=>d[0].focus());const m=p=>{if(p.key!=="Tab")return;const S=s.querySelectorAll(M0);if(S.length===0)return;const C=S[0],z=S[S.length-1];p.shiftKey?document.activeElement===C&&(p.preventDefault(),z.focus()):document.activeElement===z&&(p.preventDefault(),C.focus())};return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m),r.current&&typeof r.current.focus=="function"&&r.current.focus()}},[i]),o}const w0="pl_onboarding_complete",zu=[{icon:ry,title:"Write your spec",description:"Describe what you want to build, or choose a template to get started quickly."},{icon:qb,title:"Use the terminal",description:"Run commands directly in the integrated terminal to install dependencies or debug."},{icon:sy,title:"Preview in real-time",description:"Switch to the Preview tab to see your app running with live reload."},{icon:Ar,title:"Iterate with AI Chat",description:"Ask the AI to modify, fix, or explain your code in the chat panel."}];function pS(){const[i,o]=g.useState(!1),[r,s]=g.useState(0),d=gS(i);vS(i,()=>{i&&m()}),g.useEffect(()=>{try{localStorage.getItem(w0)!=="1"&&o(!0)}catch{}},[]);const m=()=>{o(!1);try{localStorage.setItem(w0,"1")}catch{}},p=()=>{r<zu.length-1?s(r+1):m()};if(!i)return null;const S=zu[r],C=S.icon;return h.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-ink/30",children:h.jsxs("div",{ref:d,className:"bg-card rounded-card shadow-card-hover border border-border w-full max-w-sm mx-4",children:[h.jsxs("div",{className:"flex items-center justify-between px-5 pt-5 pb-2",children:[h.jsxs("span",{className:"text-[11px] font-mono text-muted-accessible",children:[r+1," / ",zu.length]}),h.jsx("button",{onClick:m,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",title:"Skip onboarding",children:h.jsx(ja,{size:14})})]}),h.jsxs("div",{className:"px-5 pb-4 text-center",children:[h.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4",children:h.jsx(C,{size:24,className:"text-primary"})}),h.jsx("h3",{className:"text-sm font-heading font-bold text-ink mb-1",children:S.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed",children:S.description})]}),h.jsx("div",{className:"flex items-center justify-center gap-1.5 pb-4",children:zu.map((z,x)=>h.jsx("div",{className:`w-1.5 h-1.5 rounded-full transition-colors ${x===r?"bg-primary":"bg-border"}`},x))}),h.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-t border-border",children:[h.jsx("button",{onClick:m,className:"text-xs text-muted hover:text-ink transition-colors",children:"Skip"}),h.jsx("button",{onClick:p,className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-xs font-medium rounded-btn bg-primary text-white hover:bg-primary-hover transition-colors",children:r<zu.length-1?h.jsxs(h.Fragment,{children:["Next",h.jsx(uy,{size:12})]}):"Get Started"})]})]})})}const D0="pl_product_tour_complete",bS=[{target:'[data-tour="input-box"]',title:"Describe what you want to build",description:"Type a plain-English description of your project here. The more detail you give, the better the result. You can also paste a spec / PRD or select a template.",position:"bottom"},{target:'[data-tour="template-gallery"]',title:"Start from a template",description:"Browse ready-made templates for SaaS apps, landing pages, dashboards, and more. Each template gives you a head start with a proven structure.",position:"bottom"},{target:'[data-tour="build-progress"]',title:"Watch your project come to life",description:"Once you start a build, this bar tracks each phase: planning, building, testing, and reviewing. You will see real-time progress and cost estimates.",position:"bottom"},{target:'[data-tour="preview-tab"]',title:"Preview your running app",description:"Switch to the Preview tab to see your application running live. Changes appear in real time as the AI iterates on your code.",position:"bottom"},{target:'[data-tour="deploy-tab"]',title:"Deploy with one click",description:"When you are happy with the result, head to the Deploy tab to push your project live. Supports Vercel, Netlify, and GitHub Pages.",position:"bottom"}];function SS(i){const o=document.querySelector(i);return o?o.getBoundingClientRect():null}function xS(i,o){if(!i)return{top:"50%",left:"50%",transform:"translate(-50%, -50%)"};const r=16,s={position:"fixed",zIndex:60};switch(o){case"bottom":s.top=i.bottom+r,s.left=i.left+i.width/2,s.transform="translateX(-50%)";break;case"top":s.bottom=window.innerHeight-i.top+r,s.left=i.left+i.width/2,s.transform="translateX(-50%)";break;case"left":s.top=i.top+i.height/2,s.right=window.innerWidth-i.left+r,s.transform="translateY(-50%)";break;case"right":s.top=i.top+i.height/2,s.left=i.right+r,s.transform="translateY(-50%)";break}return s}function ES({steps:i=bS,onComplete:o}){const[r,s]=g.useState(!1),[d,m]=g.useState(0),[p,S]=g.useState(null),C=g.useRef(0);g.useEffect(()=>{try{if(localStorage.getItem(D0)!=="1"){const B=setTimeout(()=>s(!0),800);return()=>clearTimeout(B)}}catch{}},[]),g.useEffect(()=>{if(!r||!i[d])return;const B=()=>{const D=SS(i[d].target);S(D),C.current=requestAnimationFrame(B)};return B(),()=>cancelAnimationFrame(C.current)},[r,d,i]);const z=g.useCallback(()=>{s(!1);try{localStorage.setItem(D0,"1")}catch{}o==null||o()},[o]),x=g.useCallback(()=>{d<i.length-1?m(B=>B+1):z()},[d,i.length,z]),y=g.useCallback(()=>{m(B=>Math.max(0,B-1))},[]);if(g.useEffect(()=>{if(!r)return;const B=D=>{D.key==="Escape"&&z(),D.key==="ArrowRight"&&x(),D.key==="ArrowLeft"&&y()};return window.addEventListener("keydown",B),()=>window.removeEventListener("keydown",B)},[r,z,x,y]),!r||!i[d])return null;const j=i[d],U=8;return h.jsxs("div",{className:"fixed inset-0 z-[55]","aria-modal":"true",role:"dialog",children:[h.jsxs("svg",{className:"absolute inset-0 w-full h-full",onClick:z,style:{zIndex:55},children:[h.jsx("defs",{children:h.jsxs("mask",{id:"tour-spotlight",children:[h.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"white"}),p&&h.jsx("rect",{x:p.left-U,y:p.top-U,width:p.width+U*2,height:p.height+U*2,rx:"8",fill:"black"})]})}),h.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"rgba(0,0,0,0.55)",mask:"url(#tour-spotlight)"})]}),p&&h.jsx("div",{className:"absolute border-2 border-primary rounded-lg pointer-events-none shadow-[0_0_20px_rgba(85,61,233,0.3)]",style:{left:p.left-U,top:p.top-U,width:p.width+U*2,height:p.height+U*2,zIndex:56}}),h.jsxs("div",{className:"w-80 bg-card rounded-xl shadow-2xl border border-border p-0 overflow-hidden",style:{...xS(p,j.position),zIndex:57},onClick:B=>B.stopPropagation(),children:[h.jsxs("div",{className:"flex items-center justify-between px-4 pt-4 pb-1",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Mr,{size:14,className:"text-primary"}),h.jsxs("span",{className:"text-[11px] font-mono text-muted-accessible",children:["Step ",d+1," of ",i.length]})]}),h.jsx("button",{onClick:z,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",title:"Skip tour",children:h.jsx(ja,{size:14})})]}),h.jsxs("div",{className:"px-4 pb-3",children:[h.jsx("h3",{className:"text-sm font-heading font-bold text-ink mb-1",children:j.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed",children:j.description})]}),h.jsx("div",{className:"flex items-center justify-center gap-1.5 pb-3",children:i.map((B,D)=>h.jsx("button",{onClick:()=>m(D),className:`w-2 h-2 rounded-full transition-all ${D===d?"bg-primary scale-110":D<d?"bg-primary/40":"bg-border"}`,"aria-label":`Go to step ${D+1}`},D))}),h.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-t border-border bg-hover/30",children:[h.jsxs("button",{onClick:z,className:"flex items-center gap-1 text-xs text-muted hover:text-ink transition-colors",children:[h.jsx(Mb,{size:12}),"Skip tour"]}),h.jsxs("div",{className:"flex items-center gap-2",children:[d>0&&h.jsxs("button",{onClick:y,className:"flex items-center gap-1 px-3 py-1.5 text-xs font-medium rounded-btn text-ink hover:bg-hover transition-colors",children:[h.jsx(ny,{size:12}),"Back"]}),h.jsx("button",{onClick:x,className:"flex items-center gap-1 px-4 py-1.5 text-xs font-medium rounded-btn bg-primary text-white hover:bg-primary-hover transition-colors",children:d<i.length-1?h.jsxs(h.Fragment,{children:["Next",h.jsx(uy,{size:12})]}):"Let's go!"})]})]})]})]})}const U0="pl_whats_new_version",fr="9.55.0",TS=[{icon:Mr,title:"Product Tour",description:"New step-by-step guided tour for first-time users. Highlights key UI areas so you never feel lost."},{icon:gb,title:"Contextual Help Tooltips",description:"Hover over the help icons next to complex features to learn what they do without leaving the page."},{icon:fy,title:"Enhanced Keyboard Shortcuts",description:'Press "?" to open the shortcuts overlay. Shortcuts are now grouped by category with search and filtering.'},{icon:Wb,title:"Getting Started Checklist",description:"A friendly checklist guides you through your first project, from writing a spec to deploying your app."},{icon:Ab,title:"In-App Documentation",description:"Browse Quick Start guides, FAQ, and template docs right inside Purple Lab, no context switching required."}];function _S(){const[i,o]=g.useState(!1);g.useEffect(()=>{try{if(localStorage.getItem(U0)!==fr){const d=setTimeout(()=>o(!0),1200);return()=>clearTimeout(d)}}catch{}},[]);const r=()=>{o(!1);try{localStorage.setItem(U0,fr)}catch{}};return i?h.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-ink/30",onClick:r,children:h.jsxs("div",{className:"bg-card rounded-xl shadow-2xl border border-border w-full max-w-md mx-4 overflow-hidden",onClick:s=>s.stopPropagation(),children:[h.jsxs("div",{className:"relative px-6 pt-6 pb-4 text-center border-b border-border bg-gradient-to-b from-primary/5 to-transparent",children:[h.jsx("button",{onClick:r,className:"absolute top-4 right-4 text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",title:"Close",children:h.jsx(ja,{size:14})}),h.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-3",children:h.jsx(J2,{size:24,className:"text-primary"})}),h.jsx("h2",{className:"text-lg font-heading font-bold text-ink",children:"What's New"}),h.jsxs("p",{className:"text-xs text-muted-accessible mt-1",children:["Purple Lab v",fr]})]}),h.jsx("div",{className:"px-4 py-4 space-y-3 max-h-[320px] overflow-y-auto terminal-scroll",children:TS.map(s=>{const d=s.icon;return h.jsxs("div",{className:"flex items-start gap-3 p-3 rounded-lg hover:bg-hover transition-colors",children:[h.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0 mt-0.5",children:h.jsx(d,{size:16,className:"text-primary"})}),h.jsxs("div",{className:"flex-1 min-w-0",children:[h.jsx("h3",{className:"text-sm font-medium text-ink",children:s.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed mt-0.5",children:s.description})]})]},s.title)})}),h.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-t border-border",children:[h.jsxs("a",{href:"https://github.com/asklokesh/loki-mode/blob/main/CHANGELOG.md",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1 text-xs text-primary hover:text-primary-hover transition-colors",children:["Full changelog",h.jsx(k2,{size:11})]}),h.jsx("button",{onClick:r,className:"px-5 py-2 text-xs font-medium rounded-btn bg-primary text-white hover:bg-primary-hover transition-colors",children:"Got it!"})]})]})}):null}const dr=[{id:"quick-start",title:"Quick Start",icon:jr,content:`# Quick Start
357
+
358
+ **1. Create a project**
359
+ Click "New Project" on the home page, or type a description in the input box and press Enter.
360
+
361
+ **2. Choose a mode**
362
+ - **Quick** -- single-task fix, 3 iterations max
363
+ - **Standard** -- thorough implementation with testing
364
+ - **Max** -- full autonomous build from scratch
365
+
366
+ **3. Watch the build**
367
+ The progress bar shows each phase: Plan, Build, Test, Review. You will see real-time streaming output in the chat panel.
368
+
369
+ **4. Preview and iterate**
370
+ Switch to the Preview tab to see your running app. Use the AI chat to request changes, fixes, or new features.
371
+
372
+ **5. Deploy**
373
+ Head to the Deploy tab when you are satisfied. Purple Lab supports Vercel, Netlify, and GitHub Pages.
374
+
375
+ > Tip: Press \`Cmd+K\` (or \`Ctrl+K\`) to open the Command Palette for quick navigation.`},{id:"templates",title:"Templates",icon:Or,content:`# Templates
376
+
377
+ Purple Lab includes ready-made templates to help you start fast:
378
+
379
+ - **SaaS App** -- Full-stack application with auth, dashboard, and billing
380
+ - **Landing Page** -- Marketing page with hero, features, pricing sections
381
+ - **API Server** -- REST/GraphQL backend with database integration
382
+ - **CLI Tool** -- Command-line application with argument parsing
383
+ - **Discord Bot** -- Discord bot with slash commands and event handling
384
+ - **Chrome Extension** -- Browser extension with popup and content scripts
385
+ - **Mobile App** -- React Native app with navigation and screens
386
+ - **Dashboard** -- Data visualization with charts and metrics
387
+
388
+ Browse templates from the sidebar or the home page. Each template includes a pre-written spec that you can customize before building.`},{id:"providers",title:"AI Providers",icon:Y2,content:`# AI Providers
389
+
390
+ Purple Lab supports multiple AI providers for building your projects:
391
+
392
+ **Claude (Recommended)**
393
+ Full-featured provider with parallel execution, sub-agents, and the Task tool. Best for complex, multi-file projects.
394
+
395
+ **Codex**
396
+ OpenAI's code-specialized model. Runs in degraded mode (sequential only, no Task tool). Good for focused coding tasks.
397
+
398
+ You can select a provider from the settings or specify it per-build in the project configuration.`},{id:"shortcuts",title:"Keyboard Shortcuts",icon:fy,content:"# Keyboard Shortcuts\n\n**Navigation**\n- `Cmd+K` -- Open Command Palette\n- `Cmd+P` -- Quick open file\n- `?` -- Show keyboard shortcuts overlay\n\n**Editor**\n- `Cmd+S` -- Save current file\n- `Cmd+Z` -- Undo\n- `Cmd+Shift+Z` -- Redo\n\n**Build**\n- `Cmd+B` -- Start or stop build\n- `Cmd+\\`` -- Toggle terminal\n\n**General**\n- `Escape` -- Close any modal or overlay\n- `Cmd+,` -- Open settings"},{id:"faq",title:"FAQ",icon:oy,content:`# Frequently Asked Questions
399
+
400
+ **How does Purple Lab build my project?**
401
+ Purple Lab uses the RARV cycle (Reason, Act, Reflect, Verify). The AI plans the architecture, writes code, reflects on quality, and verifies with tests -- all automatically.
402
+
403
+ **Can I edit code manually?**
404
+ Yes. The code editor supports full editing. Your changes are preserved across builds. Use the AI chat to ask for modifications too.
405
+
406
+ **What languages are supported?**
407
+ Purple Lab can build projects in JavaScript, TypeScript, Python, Go, Rust, Ruby, and more. The AI adapts to whatever stack your project needs.
408
+
409
+ **How do I deploy?**
410
+ Use the Deploy tab. Purple Lab can deploy to Vercel, Netlify, or GitHub Pages. You will need to connect your deployment account in Settings.
411
+
412
+ **Is my code private?**
413
+ Your code stays in your project workspace. In local mode, everything runs on your machine. In hosted mode, projects are isolated per user.
414
+
415
+ **What are Quality Gates?**
416
+ Automated checks that run after each build phase. They verify code quality, test coverage, and security before moving to the next phase. This ensures your code meets production standards.
417
+
418
+ **What is the RARV cycle?**
419
+ Reason, Act, Reflect, Verify -- the AI's thinking process. It plans what to do (Reason), writes code (Act), reviews its own work (Reflect), and runs tests (Verify).`}],NS=[{title:"Your First Build",description:"Learn how to create a project from scratch and watch the AI build it step by step.",icon:jr,gradient:"from-primary/20 to-primary/5",url:"#"},{title:"Using AI Chat",description:"Discover how to iterate on your project by chatting with the AI assistant.",icon:Ar,gradient:"from-blue-500/20 to-blue-500/5",url:"#"},{title:"Deploying Your App",description:"Take your project from preview to production with one-click deployment.",icon:dy,gradient:"from-green-500/20 to-green-500/5",url:"#"},{title:"Git Integration",description:"Connect your repository, manage branches, and push changes directly from Purple Lab.",icon:F2,gradient:"from-orange-500/20 to-orange-500/5",url:"#"}];function CS(i){const o=i.split(`
420
+ `),r=[];let s=[];const d=()=>{s.length>0&&(r.push(h.jsx("ul",{className:"list-disc list-inside space-y-1 text-xs text-ink leading-relaxed",children:s.map((m,p)=>h.jsx("li",{children:hr(m)},p))},`ul-${r.length}`)),s=[])};for(let m=0;m<o.length;m++){const p=o[m];if(p.startsWith("# ")){d(),r.push(h.jsx("h2",{className:"text-lg font-heading font-bold text-ink mt-2 mb-2",children:p.slice(2)},m));continue}if(p.startsWith("## ")){d(),r.push(h.jsx("h3",{className:"text-sm font-heading font-bold text-ink mt-4 mb-1",children:p.slice(3)},m));continue}if(p.startsWith("> ")){d(),r.push(h.jsx("blockquote",{className:"border-l-2 border-primary/30 pl-3 text-xs text-muted-accessible italic my-2",children:hr(p.slice(2))},m));continue}if(p.startsWith("- ")){s.push(p.slice(2));continue}if(!p.trim()){d();continue}d(),r.push(h.jsx("p",{className:"text-xs text-ink leading-relaxed my-1",children:hr(p)},m))}return d(),r}function hr(i){const o=[],r=/(\*\*(.+?)\*\*)|(`(.+?)`)/g;let s=0,d;for(;(d=r.exec(i))!==null;)d.index>s&&o.push(i.slice(s,d.index)),d[2]?o.push(h.jsx("strong",{className:"font-semibold text-ink",children:d[2]},d.index)):d[4]&&o.push(h.jsx("code",{className:"px-1.5 py-0.5 text-[11px] font-mono bg-hover border border-border rounded text-primary",children:d[4]},d.index)),s=d.index+d[0].length;return s<i.length&&o.push(i.slice(s)),o.length===1?o[0]:h.jsx(h.Fragment,{children:o})}function RS({open:i,onClose:o}){const[r,s]=g.useState(""),[d,m]=g.useState(null),[p,S]=g.useState(!1);g.useEffect(()=>{i&&(s(""),m(null),S(!1))},[i]),g.useEffect(()=>{if(!i)return;const x=y=>{y.key==="Escape"&&o()};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[i,o]);const C=g.useMemo(()=>{if(!r.trim())return dr;const x=r.toLowerCase();return dr.filter(y=>y.title.toLowerCase().includes(x)||y.content.toLowerCase().includes(x))},[r]),z=d?dr.find(x=>x.id===d):null;return i?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"fixed inset-0 z-40 bg-ink/10",onClick:o}),h.jsxs("div",{className:"fixed top-0 right-0 bottom-0 z-50 w-full max-w-md bg-card border-l border-border shadow-2xl flex flex-col animate-slide-in-right",children:[h.jsxs("div",{className:"flex items-center justify-between px-5 h-14 border-b border-border flex-shrink-0",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[z||p?h.jsx("button",{onClick:()=>{m(null),S(!1)},className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",children:h.jsx(ny,{size:16})}):h.jsx(iy,{size:16,className:"text-primary"}),h.jsx("h2",{className:"text-sm font-heading font-bold text-ink",children:z?z.title:p?"Video Tutorials":"Documentation"})]}),h.jsx("button",{onClick:o,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",children:h.jsx(ja,{size:16})})]}),!z&&!p&&h.jsx("div",{className:"px-4 py-3 border-b border-border flex-shrink-0",children:h.jsxs("div",{className:"relative",children:[h.jsx(Nb,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted"}),h.jsx("input",{type:"text",value:r,onChange:x=>s(x.target.value),placeholder:"Search documentation...",className:"w-full pl-9 pr-3 py-2 text-xs bg-card border border-border rounded-btn outline-none focus:border-primary transition-colors",autoFocus:!0})]})}),h.jsx("div",{className:"flex-1 overflow-y-auto terminal-scroll",children:z?h.jsx("div",{className:"px-5 py-4",children:CS(z.content)}):p?h.jsxs("div",{className:"px-4 py-4 space-y-3",children:[NS.map(x=>{const y=x.icon;return h.jsxs("a",{href:x.url,className:"block rounded-xl overflow-hidden border border-border hover:border-primary/30 transition-colors group",children:[h.jsxs("div",{className:`relative h-32 bg-gradient-to-br ${x.gradient} flex items-center justify-center`,children:[h.jsx(y,{size:32,className:"text-ink/20"}),h.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:h.jsx("div",{className:"w-12 h-12 rounded-full bg-white/90 dark:bg-card/90 flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform",children:h.jsx(dy,{size:20,className:"text-primary ml-0.5"})})})]}),h.jsxs("div",{className:"px-4 py-3",children:[h.jsx("h4",{className:"text-sm font-medium text-ink",children:x.title}),h.jsx("p",{className:"text-xs text-muted-accessible mt-0.5 leading-relaxed",children:x.description})]})]},x.title)}),h.jsx("p",{className:"text-center text-[11px] text-muted pt-2",children:"Video content coming soon. Stay tuned!"})]}):h.jsxs("div",{className:"px-3 py-3 space-y-1",children:[C.map(x=>{const y=x.icon;return h.jsxs("button",{onClick:()=>m(x.id),className:"w-full flex items-center gap-3 px-3 py-3 rounded-lg text-left hover:bg-hover transition-colors group",children:[h.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0",children:h.jsx(y,{size:16,className:"text-primary"})}),h.jsx("span",{className:"flex-1 text-sm text-ink font-medium",children:x.title}),h.jsx(N0,{size:14,className:"text-muted group-hover:text-ink transition-colors"})]},x.id)}),h.jsxs("button",{onClick:()=>S(!0),className:"w-full flex items-center gap-3 px-3 py-3 rounded-lg text-left hover:bg-hover transition-colors group mt-2 border-t border-border pt-4",children:[h.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0",children:h.jsx(Xb,{size:16,className:"text-primary"})}),h.jsx("span",{className:"flex-1 text-sm text-ink font-medium",children:"Video Tutorials"}),h.jsx(N0,{size:14,className:"text-muted group-hover:text-ink transition-colors"})]}),C.length===0&&h.jsx("div",{className:"py-8 text-center",children:h.jsxs("p",{className:"text-xs text-muted",children:['No docs matching "',r,'"']})})]})})]})]}):null}const zS=[{id:"first-build",name:"First Build",description:"You completed your first build. Welcome aboard!"},{id:"five-projects",name:"Prolific Builder",description:"Five projects created. You are on a roll."},{id:"first-deploy",name:"Ship It",description:"First deployment complete. Your code is out in the world."},{id:"all-providers",name:"Provider Explorer",description:"You have used every available AI provider."},{id:"first-teammate",name:"Team Player",description:"You invited your first teammate. Better together."}],Sy="purple-lab-achievements";function xy(){try{const i=localStorage.getItem(Sy);return i?JSON.parse(i):[]}catch{return[]}}function OS(i){const o=xy();o.includes(i)||(o.push(i),localStorage.setItem(Sy,JSON.stringify(o)))}function AS(){const[i,o]=g.useState([]),r=g.useCallback(d=>{if(xy().includes(d))return;const p=zS.find(S=>S.id===d);p&&(OS(d),o(S=>[...S,p]))},[]),s=g.useCallback(()=>{o(d=>d.slice(1))},[]);return{unlock:r,toastQueue:i,dismissCurrent:s}}function jS({achievement:i,onDismiss:o}){const[r,s]=g.useState(!1);return g.useEffect(()=>{const d=setTimeout(()=>{s(!0)},3500),m=setTimeout(()=>{o()},4e3);return()=>{clearTimeout(d),clearTimeout(m)}},[o]),h.jsx("div",{className:`fixed top-4 right-4 z-50 ${r?"achievement-toast-exit":"achievement-toast-enter"}`,children:h.jsxs("div",{className:"bg-card border border-border rounded-card shadow-lg px-4 py-3 flex items-center gap-3 min-w-[280px]",children:[h.jsx("div",{className:"w-8 h-8 rounded-full bg-warning/10 flex items-center justify-center flex-shrink-0",children:h.jsx(Ub,{size:16,className:"text-warning"})}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("p",{className:"text-xs font-bold text-ink",children:i.name}),h.jsx("p",{className:"text-[11px] text-muted leading-snug",children:i.description})]})]})})}function MS({toastQueue:i,onDismiss:o}){return i.length===0?null:h.jsx(jS,{achievement:i[0],onDismiss:o})}function wS(i){const[o,r]=g.useState(!1),s=g.useRef(null),d=g.useRef(i);g.useEffect(()=>{d.current=i},[i]),g.useEffect(()=>{const p=new eS;return s.current=p,p.on("connected",()=>r(!0)),p.on("disconnected",()=>{r(!1),d.current&&d.current(null)}),p.on("state_update",S=>{d.current&&S&&typeof S=="object"&&d.current(S)}),p.connect(),()=>{p.disconnect(),s.current=null}},[]);const m=g.useCallback((p,S)=>{var C;return((C=s.current)==null?void 0:C.on(p,S))||(()=>{})},[]);return{connected:o,subscribe:m}}function DS(){const[i,o]=g.useState(""),[r,s]=g.useState(!1),{toastQueue:d,dismissCurrent:m}=AS(),{connected:p}=wS(()=>{});return g.useEffect(()=>{_n.getStatus().then(S=>{o(S.version||"")}).catch(()=>{})},[]),h.jsxs("div",{className:"flex h-screen bg-[#FAF9F6]",children:[h.jsx(MS,{toastQueue:d,onDismiss:m}),h.jsx(pS,{}),h.jsx(ES,{}),h.jsx(_S,{}),h.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:z-50 focus:top-2 focus:left-2 focus:px-4 focus:py-2 focus:bg-white focus:text-[#553DE9] focus:rounded-[3px] focus:shadow-card",children:"Skip to main content"}),h.jsx(dS,{wsConnected:p,version:i,onOpenDocs:()=>s(!0)}),h.jsx("main",{id:"main-content",className:"flex-1 overflow-auto",children:h.jsx(wp,{})}),h.jsx(RS,{open:r,onClose:()=>s(!1)})]})}const US={success:{bg:"bg-green-50 dark:bg-green-900/20",border:"border-green-200 dark:border-green-800",icon:"text-green-600 dark:text-green-400",IconComponent:j2},error:{bg:"bg-red-50 dark:bg-red-900/20",border:"border-red-200 dark:border-red-800",icon:"text-red-600 dark:text-red-400",IconComponent:H2},warning:{bg:"bg-yellow-50 dark:bg-yellow-900/20",border:"border-yellow-200 dark:border-yellow-800",icon:"text-yellow-600 dark:text-yellow-400",IconComponent:Gb},info:{bg:"bg-blue-50 dark:bg-blue-900/20",border:"border-blue-200 dark:border-blue-800",icon:"text-blue-600 dark:text-blue-400",IconComponent:lb}};function HS({notification:i,onDismiss:o}){const{type:r,title:s,message:d,duration:m=5e3}=i,p=US[r],S=g.useRef(null),C=g.useCallback(()=>{o(i.id)},[o,i.id]);return g.useEffect(()=>{if(m>0)return S.current=setTimeout(C,m),()=>{S.current&&clearTimeout(S.current)}},[m,C]),h.jsxs("div",{className:`
421
+ flex items-start gap-3 p-4 rounded-lg border shadow-lg
422
+ max-w-sm w-full pointer-events-auto
423
+ animate-[slideIn_0.3s_ease-out]
424
+ ${p.bg} ${p.border}
425
+ `,role:"alert",children:[h.jsx("style",{children:`
426
+ @keyframes slideIn {
427
+ from { opacity: 0; transform: translateX(100%); }
428
+ to { opacity: 1; transform: translateX(0); }
429
+ }
430
+ `}),h.jsx("style",{children:`
431
+ @keyframes slideIn {
432
+ from { opacity: 0; transform: translateX(100%); }
433
+ to { opacity: 1; transform: translateX(0); }
434
+ }
435
+ `}),h.jsx("span",{className:`flex-shrink-0 mt-0.5 ${p.icon}`,children:h.jsx(p.IconComponent,{size:18})}),h.jsxs("div",{className:"flex-1 min-w-0",children:[h.jsx("p",{className:"text-sm font-medium text-[#201515] dark:text-[#E8E6E3]",children:s}),d&&h.jsx("p",{className:"text-xs text-[#6B6960] dark:text-[#8A8880] mt-0.5",children:d})]}),h.jsx("button",{onClick:C,className:"flex-shrink-0 text-[#939084] hover:text-[#36342E] dark:hover:text-[#E8E6E3] transition-colors","aria-label":"Dismiss notification",children:h.jsx(ja,{size:14})})]})}function LS({notifications:i,onDismiss:o}){return i.length===0?null:h.jsx("div",{className:"fixed top-4 right-4 z-[9999] flex flex-col gap-2 pointer-events-none","aria-live":"polite",children:i.map(r=>h.jsx(HS,{notification:r,onDismiss:o},r.id))})}const Ey=g.createContext({notify:()=>"",dismiss:()=>{},dismissAll:()=>{}});let BS=0;function qS({children:i}){const[o,r]=g.useState([]),s=g.useCallback(S=>{const C=`notif-${++BS}-${Date.now()}`,z={...S,id:C};if(r(x=>[...x,z]),document.hidden&&"Notification"in window)if(Notification.permission==="granted")try{new Notification(S.title,{body:S.message||""})}catch{}else Notification.permission!=="denied"&&Notification.requestPermission().then(x=>{if(x==="granted")try{new Notification(S.title,{body:S.message||""})}catch{}});return C},[]),d=g.useCallback(S=>{r(C=>C.filter(z=>z.id!==S))},[]),m=g.useCallback(()=>{r([])},[]),p=g.useMemo(()=>({notify:s,dismiss:d,dismissAll:m}),[s,d,m]);return h.jsxs(Ey.Provider,{value:p,children:[i,h.jsx(LS,{notifications:o,onDismiss:d})]})}function cx(){return g.useContext(Ey)}function mr({children:i}){const{user:o,loading:r,isLocalMode:s}=vy();return r?h.jsx("div",{className:"h-screen bg-[#FAF9F6] flex items-center justify-center text-[#6B6960] text-sm",children:"Loading..."}):s?h.jsx(h.Fragment,{children:i}):o?h.jsx(h.Fragment,{children:i}):h.jsx(Mp,{to:"/login",replace:!0})}function hc({variant:i="text",width:o,height:r,className:s=""}){const d="animate-pulse bg-[#ECEAE3]/60 rounded";if(i==="circle"){const m=o||"2rem";return h.jsx("div",{className:`${d} rounded-full flex-shrink-0 ${s}`,style:{width:m,height:m}})}return i==="block"?h.jsx("div",{className:`${d} rounded-btn ${s}`,style:{width:o||"100%",height:r||"4rem"}}):h.jsx("div",{className:`${d} rounded-btn ${s}`,style:{width:o||"100%",height:r||"0.75rem"}})}function ox(){return h.jsx("div",{className:"p-4 space-y-3",children:[...Array(12)].map((i,o)=>h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx(hc,{variant:"text",width:"1.5rem",height:"10px",className:"flex-shrink-0 opacity-40"}),h.jsx(hc,{variant:"text",width:`${20+Math.random()*60}%`,height:"10px"})]},o))})}typeof window<"u"&&window.addEventListener("beforeunload",i=>{delete i.returnValue});const YS=g.lazy(()=>dt(()=>import("./HomePage-DGNkRAE2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]))),GS=g.lazy(()=>dt(()=>import("./ProjectPage-oilUogSN.js").then(i=>i.P),__vite__mapDeps([17,2,18,3,4,10,16,19,7,20,21,22,9,23,13,24,25,8,26,27,28,29,30,31,12,32,14,33,34,35]))),kS=g.lazy(()=>dt(()=>import("./CockpitPage-QuYj3Nrx.js"),__vite__mapDeps([36,2,28,9,7,24,29,23]))),VS=g.lazy(()=>dt(()=>import("./ProjectsPage-DEeRukgB.js"),__vite__mapDeps([37,18,6,7,8,9,1,25,30,27]))),QS=g.lazy(()=>dt(()=>import("./TemplatesPage-BfICx9k6.js"),__vite__mapDeps([38,18,1,39,7,14,9,10,26,34,22,40,30]))),XS=g.lazy(()=>dt(()=>import("./SettingsPage-Dw_uFXXA.js"),__vite__mapDeps([41,31,13,11,23,9,8]))),ZS=g.lazy(()=>dt(()=>import("./LoginPage-CDZTufhc.js"),[])),KS=g.lazy(()=>dt(()=>import("./TeamsPage-CPCicvyD.js"),__vite__mapDeps([42,18,43,4,20,44,7,16,19,13,30]))),JS=g.lazy(()=>dt(()=>import("./AdminPage-DootQsDP.js"),__vite__mapDeps([45,18,32,7,43,20,25,26,39,9,24,44,40,4,21,46]))),$S=g.lazy(()=>dt(()=>import("./SystemSettingsPage-DSHQjPUw.js"),__vite__mapDeps([47,34,13,15,40,46]))),FS=g.lazy(()=>dt(()=>import("./MetricsPage-Btvb_sUN.js"),__vite__mapDeps([48,5,24,14,32,33]))),IS=g.lazy(()=>dt(()=>import("./ShowcasePage-DucUH7_M.js"),[])),WS=g.lazy(()=>dt(()=>import("./MagicPage-nBvtlxPD.js"),__vite__mapDeps([49,29,8,23,12]))),PS=g.lazy(()=>dt(()=>import("./ComparePage-D_JaNxyU.js"),[])),ex=g.lazy(()=>dt(()=>import("./NotFoundPage-zrHK2Qo5.js"),[]));function ft(){return h.jsxs("div",{className:"h-screen bg-[#FAF9F6] flex flex-col items-center justify-center gap-3",children:[h.jsx(hc,{variant:"block",width:"200px",height:"24px"}),h.jsx(hc,{variant:"text",width:"140px",height:"12px",className:"opacity-50"})]})}function tx(){return h.jsx(lS,{children:h.jsx(qS,{children:h.jsxs(Up,{children:[h.jsx(lt,{path:"/login",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(ZS,{})})}),h.jsx(lt,{path:"/project/:sessionId/cockpit",element:h.jsx(mr,{children:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(kS,{})})})}),h.jsx(lt,{path:"/project/:sessionId",element:h.jsx(mr,{children:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(GS,{})})})}),h.jsxs(lt,{element:h.jsx(mr,{children:h.jsx(DS,{})}),children:[h.jsx(lt,{path:"/",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(YS,{})})}),h.jsx(lt,{path:"/projects",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(VS,{})})}),h.jsx(lt,{path:"/templates",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(QS,{})})}),h.jsx(lt,{path:"/settings",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(XS,{})})}),h.jsx(lt,{path:"/teams",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(KS,{})})}),h.jsx(lt,{path:"/metrics",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(FS,{})})}),h.jsx(lt,{path:"/showcase",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(IS,{})})}),h.jsx(lt,{path:"/magic",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(WS,{})})}),h.jsx(lt,{path:"/compare",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(PS,{})})}),h.jsx(lt,{path:"/admin",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(JS,{})})}),h.jsx(lt,{path:"/admin/settings",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx($S,{})})}),h.jsx(lt,{path:"*",element:h.jsx(g.Suspense,{fallback:h.jsx(ft,{}),children:h.jsx(ex,{})})})]})]})})})}const lx="/lab/".replace(/\/$/,"")||"/";jg.createRoot(document.getElementById("root")).render(h.jsx(g.StrictMode,{children:h.jsx(u2,{basename:lx,children:h.jsx(tx,{})})}));export{gb as $,uy as A,iy as B,oy as C,bb as D,k2 as E,ry as F,F2 as G,ox as H,lb as I,ny as J,fy as K,Or as L,Ar as M,hc as N,ux as O,dy as P,Y2 as Q,jr as R,zb as S,Gb as T,Vb as U,eS as V,nx as W,ja as X,B2 as Y,Wb as Z,dt as _,_n as a,vy as a0,cx as a1,Z2 as a2,ty as a3,eb as a4,Kb as a5,Ub as b,$ as c,wS as d,ix as e,$b as f,cy as g,R2 as h,qb as i,h as j,H2 as k,w2 as l,Nb as m,gS as n,vS as o,N0 as p,j2 as q,g as r,Mb as s,hb as t,Tr as u,Mr as v,N2 as w,Ab as x,sy as y,hy as z};