loki-mode 7.5.28 → 7.5.29

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/autonomy/loki +3 -3
  4. package/dashboard/__init__.py +1 -1
  5. package/docs/INSTALLATION.md +1 -1
  6. package/docs/MERGE-DEDUP-MAP.md +420 -0
  7. package/docs/MERGE-ROUTE-MAP.md +139 -0
  8. package/docs/MERGE3-PLAN.md +119 -0
  9. package/loki-ts/dist/loki.js +2 -2
  10. package/mcp/__init__.py +1 -1
  11. package/package.json +2 -2
  12. package/web-app/dist/assets/{AdminPage-DwVUK4v9.js → AdminPage-CKUOsWZW.js} +3 -3
  13. package/web-app/dist/assets/{Avatar-B7gqhcg3.js → Avatar-CL9Id9Hi.js} +1 -1
  14. package/web-app/dist/assets/{Badge-DA3xNJAS.js → Badge-B12zwlD7.js} +1 -1
  15. package/web-app/dist/assets/{Button-BPXURLaK.js → Button-CFLVoduT.js} +1 -1
  16. package/web-app/dist/assets/{ComparePage-B0JQMhKG.js → ComparePage-Dg0UdZAk.js} +1 -1
  17. package/web-app/dist/assets/{GitHubIssuesPanel-D38-fy29.js → GitHubIssuesPanel-CSitxtAX.js} +2 -2
  18. package/web-app/dist/assets/{GitHubPRsPanel-DLPcW3N0.js → GitHubPRsPanel-BIT06FRo.js} +1 -1
  19. package/web-app/dist/assets/HomePage-pU_0fGny.js +28 -0
  20. package/web-app/dist/assets/{LoginPage-DqCzxsfx.js → LoginPage-DTZtt2Yb.js} +1 -1
  21. package/web-app/dist/assets/MagicPage-10zfra8o.js +31 -0
  22. package/web-app/dist/assets/{MetricsPage-CPYQR0zr.js → MetricsPage-C-wiKUkv.js} +1 -1
  23. package/web-app/dist/assets/NotFoundPage-BDkcmhYe.js +1 -0
  24. package/web-app/dist/assets/{ProjectPage-DNujSl6j.js → ProjectPage-CiCavQ8n.js} +71 -71
  25. package/web-app/dist/assets/ProjectsPage-BLCXQwwC.js +6 -0
  26. package/web-app/dist/assets/{SettingsPage-BaQJbOgL.js → SettingsPage-PkxtaMyg.js} +3 -3
  27. package/web-app/dist/assets/{ShowcasePage-DQR_e-kg.js → ShowcasePage-iECp8Tha.js} +1 -1
  28. package/web-app/dist/assets/SystemSettingsPage-DS6Anno1.js +6 -0
  29. package/web-app/dist/assets/{TeamsPage-DOFErDqX.js → TeamsPage-ls6h6bNL.js} +1 -1
  30. package/web-app/dist/assets/{TemplatesPage-Ty72hILN.js → TemplatesPage-Bk0QzlPt.js} +3 -3
  31. package/web-app/dist/assets/{TerminalOutput-DqOVnR1p.js → TerminalOutput-4-1hWCtZ.js} +1 -1
  32. package/web-app/dist/assets/{activity-BgBZ4s4c.js → activity-DH3ih2nS.js} +1 -1
  33. package/web-app/dist/assets/{bell-C-UezVWi.js → bell-Gn17S6uv.js} +1 -1
  34. package/web-app/dist/assets/{bot-D70fEnm5.js → bot-Cbycc3VE.js} +1 -1
  35. package/web-app/dist/assets/{check-CBohulxQ.js → check-nIAqa-kf.js} +1 -1
  36. package/web-app/dist/assets/{chevron-left-C-emzUhB.js → chevron-left-D2jcWDll.js} +1 -1
  37. package/web-app/dist/assets/{circle-alert-8SRY0_GX.js → circle-alert-CpL4Bhvt.js} +1 -1
  38. package/web-app/dist/assets/{clock-mfq4XnPQ.js → clock-IW4Wq86N.js} +1 -1
  39. package/web-app/dist/assets/{cloud-DpRM7T8t.js → cloud-Cn8nNuH2.js} +1 -1
  40. package/web-app/dist/assets/{code-xml-1N2Ui-4c.js → code-xml-BiJBteXf.js} +1 -1
  41. package/web-app/dist/assets/{copy-LXquTgzI.js → copy-CnqkyNsi.js} +1 -1
  42. package/web-app/dist/assets/{database-S1dyXnuT.js → database-CKSReqa5.js} +1 -1
  43. package/web-app/dist/assets/{dollar-sign-CRqk0dW5.js → dollar-sign-CDzDY64R.js} +1 -1
  44. package/web-app/dist/assets/{file-code-corner-B99CwY_6.js → file-code-corner-Box4IwG1.js} +1 -1
  45. package/web-app/dist/assets/{file-plus-DZ5qnz5b.js → file-plus-DpGqlXF8.js} +1 -1
  46. package/web-app/dist/assets/{folder-open-DBCm7yuF.js → folder-open-B57dAoBv.js} +1 -1
  47. package/web-app/dist/assets/{git-commit-horizontal-DM1ERuNd.js → git-commit-horizontal-BVbucmO5.js} +1 -1
  48. package/web-app/dist/assets/{globe-B7xEJSL_.js → globe-BkOnKl4x.js} +1 -1
  49. package/web-app/dist/assets/{hammer-Cgi3LTuS.js → hammer-DRbIQ4QU.js} +1 -1
  50. package/web-app/dist/assets/{index-BN52-GQT.js → index-CM_b_EhP.js} +77 -77
  51. package/web-app/dist/assets/{layers-Bi8RPIBC.js → layers-B78BiFiU.js} +1 -1
  52. package/web-app/dist/assets/{lightbulb-Doc_n8JX.js → lightbulb-B-Itbm9g.js} +1 -1
  53. package/web-app/dist/assets/{loader-circle-BB932A7A.js → loader-circle-Oq6NQhW2.js} +1 -1
  54. package/web-app/dist/assets/{lock-Bt6gpMrs.js → lock-DbJ9zxbw.js} +1 -1
  55. package/web-app/dist/assets/{mail-BuzAu1IP.js → mail-CzMRod6m.js} +1 -1
  56. package/web-app/dist/assets/{package-BE5FHxQ8.js → package-WZ5osvej.js} +1 -1
  57. package/web-app/dist/assets/{plus-CNqABexN.js → plus-j08lFR-K.js} +1 -1
  58. package/web-app/dist/assets/{refresh-cw-34B13ztx.js → refresh-cw-CIr7E-g2.js} +1 -1
  59. package/web-app/dist/assets/{rotate-ccw-CrD2QB29.js → rotate-ccw-gwoXxDeE.js} +1 -1
  60. package/web-app/dist/assets/{save-DsJcqdnI.js → save-B8fV_ZpE.js} +1 -1
  61. package/web-app/dist/assets/{server-BcgRMArA.js → server-D5dO1paz.js} +1 -1
  62. package/web-app/dist/assets/{shield-alert-DLYLdVJ0.js → shield-alert-Du08zhdg.js} +1 -1
  63. package/web-app/dist/assets/{trash-2-Cc-VTvzt.js → trash-2-DEKSVae5.js} +1 -1
  64. package/web-app/dist/assets/{trending-down-CrDpO2a_.js → trending-down-DBiXUtxJ.js} +1 -1
  65. package/web-app/dist/assets/{trending-up-CNVsmM3G.js → trending-up-BgmK_tHq.js} +1 -1
  66. package/web-app/dist/assets/{upload-LuDuB7Wc.js → upload-IaViyeVD.js} +1 -1
  67. package/web-app/dist/assets/{usePolling-C8rvc-CG.js → usePolling-PiRLqNu6.js} +1 -1
  68. package/web-app/dist/assets/{user-BT79cI-o.js → user-BB5J8wAF.js} +1 -1
  69. package/web-app/dist/index.html +2 -3
  70. package/web-app/server.py +45 -7
  71. package/web-app/dist/assets/HomePage-CzeoS2V_.js +0 -28
  72. package/web-app/dist/assets/MagicPage-CBLqpa55.js +0 -31
  73. package/web-app/dist/assets/NotFoundPage-B62u4iCs.js +0 -1
  74. package/web-app/dist/assets/ProjectsPage-uHG7kxB-.js +0 -6
  75. package/web-app/dist/assets/SystemSettingsPage-C_Q_1WK4.js +0 -6
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-CzeoS2V_.js","assets/usePolling-C8rvc-CG.js","assets/TerminalOutput-DqOVnR1p.js","assets/lock-Bt6gpMrs.js","assets/Badge-DA3xNJAS.js","assets/clock-mfq4XnPQ.js","assets/circle-alert-8SRY0_GX.js","assets/check-CBohulxQ.js","assets/package-BE5FHxQ8.js","assets/cloud-DpRM7T8t.js","assets/code-xml-1N2Ui-4c.js","assets/hammer-Cgi3LTuS.js","assets/chevron-left-C-emzUhB.js","assets/layers-Bi8RPIBC.js","assets/mail-BuzAu1IP.js","assets/bell-C-UezVWi.js","assets/file-code-corner-B99CwY_6.js","assets/ProjectPage-DNujSl6j.js","assets/Button-BPXURLaK.js","assets/file-plus-DZ5qnz5b.js","assets/activity-BgBZ4s4c.js","assets/bot-D70fEnm5.js","assets/loader-circle-BB932A7A.js","assets/dollar-sign-CRqk0dW5.js","assets/refresh-cw-34B13ztx.js","assets/globe-B7xEJSL_.js","assets/copy-LXquTgzI.js","assets/git-commit-horizontal-DM1ERuNd.js","assets/upload-LuDuB7Wc.js","assets/plus-CNqABexN.js","assets/trash-2-Cc-VTvzt.js","assets/rotate-ccw-CrD2QB29.js","assets/trending-down-CrDpO2a_.js","assets/save-DsJcqdnI.js","assets/trending-up-CNVsmM3G.js","assets/folder-open-DBCm7yuF.js","assets/server-BcgRMArA.js","assets/ProjectPage-9CEnUXvW.css","assets/ProjectsPage-uHG7kxB-.js","assets/lightbulb-Doc_n8JX.js","assets/TemplatesPage-Ty72hILN.js","assets/database-S1dyXnuT.js","assets/SettingsPage-BaQJbOgL.js","assets/TeamsPage-DOFErDqX.js","assets/Avatar-B7gqhcg3.js","assets/user-BT79cI-o.js","assets/AdminPage-DwVUK4v9.js","assets/shield-alert-DLYLdVJ0.js","assets/SystemSettingsPage-C_Q_1WK4.js","assets/MetricsPage-CPYQR0zr.js","assets/MagicPage-CBLqpa55.js"])))=>i.map(i=>d[i]);
2
- var I0=Object.defineProperty;var P0=(i,c,r)=>c in i?I0(i,c,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[c]=r;var Ln=(i,c,r)=>P0(i,typeof c!="symbol"?c+"":c,r);(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))o(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"&&o(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 o(d){if(d.ep)return;d.ep=!0;const m=r(d);fetch(d.href,m)}})();function ep(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ls={exports:{}},Bn={};/**
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-pU_0fGny.js","assets/usePolling-PiRLqNu6.js","assets/TerminalOutput-4-1hWCtZ.js","assets/lock-DbJ9zxbw.js","assets/Badge-B12zwlD7.js","assets/clock-IW4Wq86N.js","assets/circle-alert-CpL4Bhvt.js","assets/check-nIAqa-kf.js","assets/package-WZ5osvej.js","assets/cloud-Cn8nNuH2.js","assets/code-xml-BiJBteXf.js","assets/hammer-DRbIQ4QU.js","assets/chevron-left-D2jcWDll.js","assets/layers-B78BiFiU.js","assets/mail-CzMRod6m.js","assets/bell-Gn17S6uv.js","assets/file-code-corner-Box4IwG1.js","assets/ProjectPage-CiCavQ8n.js","assets/Button-CFLVoduT.js","assets/file-plus-DpGqlXF8.js","assets/activity-DH3ih2nS.js","assets/bot-Cbycc3VE.js","assets/loader-circle-Oq6NQhW2.js","assets/dollar-sign-CDzDY64R.js","assets/refresh-cw-CIr7E-g2.js","assets/globe-BkOnKl4x.js","assets/copy-CnqkyNsi.js","assets/git-commit-horizontal-BVbucmO5.js","assets/upload-IaViyeVD.js","assets/plus-j08lFR-K.js","assets/trash-2-DEKSVae5.js","assets/rotate-ccw-gwoXxDeE.js","assets/trending-down-DBiXUtxJ.js","assets/save-B8fV_ZpE.js","assets/trending-up-BgmK_tHq.js","assets/folder-open-B57dAoBv.js","assets/server-D5dO1paz.js","assets/ProjectPage-9CEnUXvW.css","assets/ProjectsPage-BLCXQwwC.js","assets/lightbulb-B-Itbm9g.js","assets/TemplatesPage-Bk0QzlPt.js","assets/database-CKSReqa5.js","assets/SettingsPage-PkxtaMyg.js","assets/TeamsPage-ls6h6bNL.js","assets/Avatar-CL9Id9Hi.js","assets/user-BB5J8wAF.js","assets/AdminPage-CKUOsWZW.js","assets/shield-alert-Du08zhdg.js","assets/SystemSettingsPage-DS6Anno1.js","assets/MetricsPage-C-wiKUkv.js","assets/MagicPage-10zfra8o.js"])))=>i.map(i=>d[i]);
2
+ var P0=Object.defineProperty;var ep=(i,c,r)=>c in i?P0(i,c,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[c]=r;var Ln=(i,c,r)=>ep(i,typeof c!="symbol"?c+"":c,r);(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))o(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"&&o(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 o(d){if(d.ep)return;d.ep=!0;const m=r(d);fetch(d.href,m)}})();function tp(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ls={exports:{}},Bn={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,7 +7,7 @@ var I0=Object.defineProperty;var P0=(i,c,r)=>c in i?I0(i,c,{enumerable:!0,config
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var mh;function tp(){if(mh)return Bn;mh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,d,m){var p=null;if(m!==void 0&&(p=""+m),d.key!==void 0&&(p=""+d.key),"key"in d){m={};for(var E in d)E!=="key"&&(m[E]=d[E])}else m=d;return d=m.ref,{$$typeof:i,type:o,key:p,ref:d!==void 0?d:null,props:m}}return Bn.Fragment=c,Bn.jsx=r,Bn.jsxs=r,Bn}var yh;function lp(){return yh||(yh=1,Ls.exports=tp()),Ls.exports}var h=lp(),Bs={exports:{}},ee={};/**
10
+ */var yh;function lp(){if(yh)return Bn;yh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(o,d,m){var p=null;if(m!==void 0&&(p=""+m),d.key!==void 0&&(p=""+d.key),"key"in d){m={};for(var E in d)E!=="key"&&(m[E]=d[E])}else m=d;return d=m.ref,{$$typeof:i,type:o,key:p,ref:d!==void 0?d:null,props:m}}return Bn.Fragment=c,Bn.jsx=r,Bn.jsxs=r,Bn}var ph;function ap(){return ph||(ph=1,Ls.exports=lp()),Ls.exports}var h=ap(),Bs={exports:{}},ee={};/**
11
11
  * @license React
12
12
  * react.production.js
13
13
  *
@@ -15,7 +15,7 @@ var I0=Object.defineProperty;var P0=(i,c,r)=>c in i?I0(i,c,{enumerable:!0,config
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var ph;function ap(){if(ph)return ee;ph=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),H=Symbol.iterator;function L(S){return S===null||typeof S!="object"?null:(S=H&&S[H]||S["@@iterator"],typeof S=="function"?S:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,Q={};function q(S,w,G){this.props=S,this.context=w,this.refs=Q,this.updater=G||B}q.prototype.isReactComponent={},q.prototype.setState=function(S,w){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,w,"setState")},q.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function I(){}I.prototype=q.prototype;function J(S,w,G){this.props=S,this.context=w,this.refs=Q,this.updater=G||B}var ve=J.prototype=new I;ve.constructor=J,U(ve,q.prototype),ve.isPureReactComponent=!0;var me=Array.isArray;function Te(){}var P={H:null,A:null,T:null,S:null},Oe=Object.prototype.hasOwnProperty;function Ke(S,w,G){var V=G.ref;return{$$typeof:i,type:S,key:w,ref:V!==void 0?V:null,props:G}}function Lt(S,w){return Ke(S.type,w,S.props)}function xt(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function $e(S){var w={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(G){return w[G]})}var Bt=/\/+/g;function St(S,w){return typeof S=="object"&&S!==null&&S.key!=null?$e(""+S.key):w.toString(36)}function we(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(Te,Te):(S.status="pending",S.then(function(w){S.status==="pending"&&(S.status="fulfilled",S.value=w)},function(w){S.status==="pending"&&(S.status="rejected",S.reason=w)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function O(S,w,G,V,te){var ne=typeof S;(ne==="undefined"||ne==="boolean")&&(S=null);var he=!1;if(S===null)he=!0;else switch(ne){case"bigint":case"string":case"number":he=!0;break;case"object":switch(S.$$typeof){case i:case c:he=!0;break;case z:return he=S._init,O(he(S._payload),w,G,V,te)}}if(he)return te=te(S),he=V===""?"."+St(S,0):V,me(te)?(G="",he!=null&&(G=he.replace(Bt,"$&/")+"/"),O(te,w,G,"",function(Xa){return Xa})):te!=null&&(xt(te)&&(te=Lt(te,G+(te.key==null||S&&S.key===te.key?"":(""+te.key).replace(Bt,"$&/")+"/")+he)),w.push(te)),1;he=0;var Ie=V===""?".":V+":";if(me(S))for(var Me=0;Me<S.length;Me++)V=S[Me],ne=Ie+St(V,Me),he+=O(V,w,G,ne,te);else if(Me=L(S),typeof Me=="function")for(S=Me.call(S),Me=0;!(V=S.next()).done;)V=V.value,ne=Ie+St(V,Me++),he+=O(V,w,G,ne,te);else if(ne==="object"){if(typeof S.then=="function")return O(we(S),w,G,V,te);throw w=String(S),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}return he}function Y(S,w,G){if(S==null)return S;var V=[],te=0;return O(S,V,"","",function(ne){return w.call(G,ne,te++)}),V}function F(S){if(S._status===-1){var w=S._result;w=w(),w.then(function(G){(S._status===0||S._status===-1)&&(S._status=1,S._result=G)},function(G){(S._status===0||S._status===-1)&&(S._status=2,S._result=G)}),S._status===-1&&(S._status=0,S._result=w)}if(S._status===1)return S._result.default;throw S._result}var ge=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var w=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(w))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},Ee={map:Y,forEach:function(S,w,G){Y(S,function(){w.apply(this,arguments)},G)},count:function(S){var w=0;return Y(S,function(){w++}),w},toArray:function(S){return Y(S,function(w){return w})||[]},only:function(S){if(!xt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return ee.Activity=_,ee.Children=Ee,ee.Component=q,ee.Fragment=r,ee.Profiler=d,ee.PureComponent=J,ee.StrictMode=o,ee.Suspense=x,ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,ee.__COMPILER_RUNTIME={__proto__:null,c:function(S){return P.H.useMemoCache(S)}},ee.cache=function(S){return function(){return S.apply(null,arguments)}},ee.cacheSignal=function(){return null},ee.cloneElement=function(S,w,G){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var V=U({},S.props),te=S.key;if(w!=null)for(ne in w.key!==void 0&&(te=""+w.key),w)!Oe.call(w,ne)||ne==="key"||ne==="__self"||ne==="__source"||ne==="ref"&&w.ref===void 0||(V[ne]=w[ne]);var ne=arguments.length-2;if(ne===1)V.children=G;else if(1<ne){for(var he=Array(ne),Ie=0;Ie<ne;Ie++)he[Ie]=arguments[Ie+2];V.children=he}return Ke(S.type,te,V)},ee.createContext=function(S){return S={$$typeof:p,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:m,_context:S},S},ee.createElement=function(S,w,G){var V,te={},ne=null;if(w!=null)for(V in w.key!==void 0&&(ne=""+w.key),w)Oe.call(w,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(te[V]=w[V]);var he=arguments.length-2;if(he===1)te.children=G;else if(1<he){for(var Ie=Array(he),Me=0;Me<he;Me++)Ie[Me]=arguments[Me+2];te.children=Ie}if(S&&S.defaultProps)for(V in he=S.defaultProps,he)te[V]===void 0&&(te[V]=he[V]);return Ke(S,ne,te)},ee.createRef=function(){return{current:null}},ee.forwardRef=function(S){return{$$typeof:E,render:S}},ee.isValidElement=xt,ee.lazy=function(S){return{$$typeof:z,_payload:{_status:-1,_result:S},_init:F}},ee.memo=function(S,w){return{$$typeof:y,type:S,compare:w===void 0?null:w}},ee.startTransition=function(S){var w=P.T,G={};P.T=G;try{var V=S(),te=P.S;te!==null&&te(G,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(Te,ge)}catch(ne){ge(ne)}finally{w!==null&&G.types!==null&&(w.types=G.types),P.T=w}},ee.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},ee.use=function(S){return P.H.use(S)},ee.useActionState=function(S,w,G){return P.H.useActionState(S,w,G)},ee.useCallback=function(S,w){return P.H.useCallback(S,w)},ee.useContext=function(S){return P.H.useContext(S)},ee.useDebugValue=function(){},ee.useDeferredValue=function(S,w){return P.H.useDeferredValue(S,w)},ee.useEffect=function(S,w){return P.H.useEffect(S,w)},ee.useEffectEvent=function(S){return P.H.useEffectEvent(S)},ee.useId=function(){return P.H.useId()},ee.useImperativeHandle=function(S,w,G){return P.H.useImperativeHandle(S,w,G)},ee.useInsertionEffect=function(S,w){return P.H.useInsertionEffect(S,w)},ee.useLayoutEffect=function(S,w){return P.H.useLayoutEffect(S,w)},ee.useMemo=function(S,w){return P.H.useMemo(S,w)},ee.useOptimistic=function(S,w){return P.H.useOptimistic(S,w)},ee.useReducer=function(S,w,G){return P.H.useReducer(S,w,G)},ee.useRef=function(S){return P.H.useRef(S)},ee.useState=function(S){return P.H.useState(S)},ee.useSyncExternalStore=function(S,w,G){return P.H.useSyncExternalStore(S,w,G)},ee.useTransition=function(){return P.H.useTransition()},ee.version="19.2.4",ee}var vh;function Ps(){return vh||(vh=1,Bs.exports=ap()),Bs.exports}var v=Ps();const M2=ep(v);var qs={exports:{}},qn={},Ys={exports:{}},Gs={};/**
18
+ */var vh;function np(){if(vh)return ee;vh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),H=Symbol.iterator;function L(S){return S===null||typeof S!="object"?null:(S=H&&S[H]||S["@@iterator"],typeof S=="function"?S:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,Q={};function q(S,w,G){this.props=S,this.context=w,this.refs=Q,this.updater=G||B}q.prototype.isReactComponent={},q.prototype.setState=function(S,w){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,w,"setState")},q.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function I(){}I.prototype=q.prototype;function J(S,w,G){this.props=S,this.context=w,this.refs=Q,this.updater=G||B}var ve=J.prototype=new I;ve.constructor=J,U(ve,q.prototype),ve.isPureReactComponent=!0;var me=Array.isArray;function Te(){}var P={H:null,A:null,T:null,S:null},Oe=Object.prototype.hasOwnProperty;function Ke(S,w,G){var V=G.ref;return{$$typeof:i,type:S,key:w,ref:V!==void 0?V:null,props:G}}function Lt(S,w){return Ke(S.type,w,S.props)}function xt(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function $e(S){var w={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(G){return w[G]})}var Bt=/\/+/g;function St(S,w){return typeof S=="object"&&S!==null&&S.key!=null?$e(""+S.key):w.toString(36)}function we(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(Te,Te):(S.status="pending",S.then(function(w){S.status==="pending"&&(S.status="fulfilled",S.value=w)},function(w){S.status==="pending"&&(S.status="rejected",S.reason=w)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function O(S,w,G,V,te){var ne=typeof S;(ne==="undefined"||ne==="boolean")&&(S=null);var he=!1;if(S===null)he=!0;else switch(ne){case"bigint":case"string":case"number":he=!0;break;case"object":switch(S.$$typeof){case i:case c:he=!0;break;case z:return he=S._init,O(he(S._payload),w,G,V,te)}}if(he)return te=te(S),he=V===""?"."+St(S,0):V,me(te)?(G="",he!=null&&(G=he.replace(Bt,"$&/")+"/"),O(te,w,G,"",function(Xa){return Xa})):te!=null&&(xt(te)&&(te=Lt(te,G+(te.key==null||S&&S.key===te.key?"":(""+te.key).replace(Bt,"$&/")+"/")+he)),w.push(te)),1;he=0;var Ie=V===""?".":V+":";if(me(S))for(var Me=0;Me<S.length;Me++)V=S[Me],ne=Ie+St(V,Me),he+=O(V,w,G,ne,te);else if(Me=L(S),typeof Me=="function")for(S=Me.call(S),Me=0;!(V=S.next()).done;)V=V.value,ne=Ie+St(V,Me++),he+=O(V,w,G,ne,te);else if(ne==="object"){if(typeof S.then=="function")return O(we(S),w,G,V,te);throw w=String(S),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}return he}function Y(S,w,G){if(S==null)return S;var V=[],te=0;return O(S,V,"","",function(ne){return w.call(G,ne,te++)}),V}function F(S){if(S._status===-1){var w=S._result;w=w(),w.then(function(G){(S._status===0||S._status===-1)&&(S._status=1,S._result=G)},function(G){(S._status===0||S._status===-1)&&(S._status=2,S._result=G)}),S._status===-1&&(S._status=0,S._result=w)}if(S._status===1)return S._result.default;throw S._result}var ge=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var w=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(w))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},Ee={map:Y,forEach:function(S,w,G){Y(S,function(){w.apply(this,arguments)},G)},count:function(S){var w=0;return Y(S,function(){w++}),w},toArray:function(S){return Y(S,function(w){return w})||[]},only:function(S){if(!xt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return ee.Activity=_,ee.Children=Ee,ee.Component=q,ee.Fragment=r,ee.Profiler=d,ee.PureComponent=J,ee.StrictMode=o,ee.Suspense=x,ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,ee.__COMPILER_RUNTIME={__proto__:null,c:function(S){return P.H.useMemoCache(S)}},ee.cache=function(S){return function(){return S.apply(null,arguments)}},ee.cacheSignal=function(){return null},ee.cloneElement=function(S,w,G){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var V=U({},S.props),te=S.key;if(w!=null)for(ne in w.key!==void 0&&(te=""+w.key),w)!Oe.call(w,ne)||ne==="key"||ne==="__self"||ne==="__source"||ne==="ref"&&w.ref===void 0||(V[ne]=w[ne]);var ne=arguments.length-2;if(ne===1)V.children=G;else if(1<ne){for(var he=Array(ne),Ie=0;Ie<ne;Ie++)he[Ie]=arguments[Ie+2];V.children=he}return Ke(S.type,te,V)},ee.createContext=function(S){return S={$$typeof:p,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:m,_context:S},S},ee.createElement=function(S,w,G){var V,te={},ne=null;if(w!=null)for(V in w.key!==void 0&&(ne=""+w.key),w)Oe.call(w,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(te[V]=w[V]);var he=arguments.length-2;if(he===1)te.children=G;else if(1<he){for(var Ie=Array(he),Me=0;Me<he;Me++)Ie[Me]=arguments[Me+2];te.children=Ie}if(S&&S.defaultProps)for(V in he=S.defaultProps,he)te[V]===void 0&&(te[V]=he[V]);return Ke(S,ne,te)},ee.createRef=function(){return{current:null}},ee.forwardRef=function(S){return{$$typeof:E,render:S}},ee.isValidElement=xt,ee.lazy=function(S){return{$$typeof:z,_payload:{_status:-1,_result:S},_init:F}},ee.memo=function(S,w){return{$$typeof:y,type:S,compare:w===void 0?null:w}},ee.startTransition=function(S){var w=P.T,G={};P.T=G;try{var V=S(),te=P.S;te!==null&&te(G,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(Te,ge)}catch(ne){ge(ne)}finally{w!==null&&G.types!==null&&(w.types=G.types),P.T=w}},ee.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},ee.use=function(S){return P.H.use(S)},ee.useActionState=function(S,w,G){return P.H.useActionState(S,w,G)},ee.useCallback=function(S,w){return P.H.useCallback(S,w)},ee.useContext=function(S){return P.H.useContext(S)},ee.useDebugValue=function(){},ee.useDeferredValue=function(S,w){return P.H.useDeferredValue(S,w)},ee.useEffect=function(S,w){return P.H.useEffect(S,w)},ee.useEffectEvent=function(S){return P.H.useEffectEvent(S)},ee.useId=function(){return P.H.useId()},ee.useImperativeHandle=function(S,w,G){return P.H.useImperativeHandle(S,w,G)},ee.useInsertionEffect=function(S,w){return P.H.useInsertionEffect(S,w)},ee.useLayoutEffect=function(S,w){return P.H.useLayoutEffect(S,w)},ee.useMemo=function(S,w){return P.H.useMemo(S,w)},ee.useOptimistic=function(S,w){return P.H.useOptimistic(S,w)},ee.useReducer=function(S,w,G){return P.H.useReducer(S,w,G)},ee.useRef=function(S){return P.H.useRef(S)},ee.useState=function(S){return P.H.useState(S)},ee.useSyncExternalStore=function(S,w,G){return P.H.useSyncExternalStore(S,w,G)},ee.useTransition=function(){return P.H.useTransition()},ee.version="19.2.4",ee}var gh;function Ps(){return gh||(gh=1,Bs.exports=np()),Bs.exports}var v=Ps();const U2=tp(v);var qs={exports:{}},qn={},Ys={exports:{}},Gs={};/**
19
19
  * @license React
20
20
  * scheduler.production.js
21
21
  *
@@ -23,7 +23,7 @@ var I0=Object.defineProperty;var P0=(i,c,r)=>c in i?I0(i,c,{enumerable:!0,config
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */var gh;function np(){return gh||(gh=1,(function(i){function c(O,Y){var F=O.length;O.push(Y);e:for(;0<F;){var ge=F-1>>>1,Ee=O[ge];if(0<d(Ee,Y))O[ge]=Y,O[F]=Ee,F=ge;else break e}}function r(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var Y=O[0],F=O.pop();if(F!==Y){O[0]=F;e:for(var ge=0,Ee=O.length,S=Ee>>>1;ge<S;){var w=2*(ge+1)-1,G=O[w],V=w+1,te=O[V];if(0>d(G,F))V<Ee&&0>d(te,G)?(O[ge]=te,O[V]=F,ge=V):(O[ge]=G,O[w]=F,ge=w);else if(V<Ee&&0>d(te,F))O[ge]=te,O[V]=F,ge=V;else break e}}return Y}function d(O,Y){var F=O.sortIndex-Y.sortIndex;return F!==0?F:O.id-Y.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,E=p.now();i.unstable_now=function(){return p.now()-E}}var x=[],y=[],z=1,_=null,H=3,L=!1,B=!1,U=!1,Q=!1,q=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function ve(O){for(var Y=r(y);Y!==null;){if(Y.callback===null)o(y);else if(Y.startTime<=O)o(y),Y.sortIndex=Y.expirationTime,c(x,Y);else break;Y=r(y)}}function me(O){if(U=!1,ve(O),!B)if(r(x)!==null)B=!0,Te||(Te=!0,$e());else{var Y=r(y);Y!==null&&we(me,Y.startTime-O)}}var Te=!1,P=-1,Oe=5,Ke=-1;function Lt(){return Q?!0:!(i.unstable_now()-Ke<Oe)}function xt(){if(Q=!1,Te){var O=i.unstable_now();Ke=O;var Y=!0;try{e:{B=!1,U&&(U=!1,I(P),P=-1),L=!0;var F=H;try{t:{for(ve(O),_=r(x);_!==null&&!(_.expirationTime>O&&Lt());){var ge=_.callback;if(typeof ge=="function"){_.callback=null,H=_.priorityLevel;var Ee=ge(_.expirationTime<=O);if(O=i.unstable_now(),typeof Ee=="function"){_.callback=Ee,ve(O),Y=!0;break t}_===r(x)&&o(x),ve(O)}else o(x);_=r(x)}if(_!==null)Y=!0;else{var S=r(y);S!==null&&we(me,S.startTime-O),Y=!1}}break e}finally{_=null,H=F,L=!1}Y=void 0}}finally{Y?$e():Te=!1}}}var $e;if(typeof J=="function")$e=function(){J(xt)};else if(typeof MessageChannel<"u"){var Bt=new MessageChannel,St=Bt.port2;Bt.port1.onmessage=xt,$e=function(){St.postMessage(null)}}else $e=function(){q(xt,0)};function we(O,Y){P=q(function(){O(i.unstable_now())},Y)}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(O){O.callback=null},i.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Oe=0<O?Math.floor(1e3/O):5},i.unstable_getCurrentPriorityLevel=function(){return H},i.unstable_next=function(O){switch(H){case 1:case 2:case 3:var Y=3;break;default:Y=H}var F=H;H=Y;try{return O()}finally{H=F}},i.unstable_requestPaint=function(){Q=!0},i.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var F=H;H=O;try{return Y()}finally{H=F}},i.unstable_scheduleCallback=function(O,Y,F){var ge=i.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?ge+F:ge):F=ge,O){case 1:var Ee=-1;break;case 2:Ee=250;break;case 5:Ee=1073741823;break;case 4:Ee=1e4;break;default:Ee=5e3}return Ee=F+Ee,O={id:z++,callback:Y,priorityLevel:O,startTime:F,expirationTime:Ee,sortIndex:-1},F>ge?(O.sortIndex=F,c(y,O),r(x)===null&&O===r(y)&&(U?(I(P),P=-1):U=!0,we(me,F-ge))):(O.sortIndex=Ee,c(x,O),B||L||(B=!0,Te||(Te=!0,$e()))),O},i.unstable_shouldYield=Lt,i.unstable_wrapCallback=function(O){var Y=H;return function(){var F=H;H=Y;try{return O.apply(this,arguments)}finally{H=F}}}})(Gs)),Gs}var bh;function up(){return bh||(bh=1,Ys.exports=np()),Ys.exports}var Qs={exports:{}},We={};/**
26
+ */var bh;function up(){return bh||(bh=1,(function(i){function c(O,Y){var F=O.length;O.push(Y);e:for(;0<F;){var ge=F-1>>>1,Ee=O[ge];if(0<d(Ee,Y))O[ge]=Y,O[F]=Ee,F=ge;else break e}}function r(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var Y=O[0],F=O.pop();if(F!==Y){O[0]=F;e:for(var ge=0,Ee=O.length,S=Ee>>>1;ge<S;){var w=2*(ge+1)-1,G=O[w],V=w+1,te=O[V];if(0>d(G,F))V<Ee&&0>d(te,G)?(O[ge]=te,O[V]=F,ge=V):(O[ge]=G,O[w]=F,ge=w);else if(V<Ee&&0>d(te,F))O[ge]=te,O[V]=F,ge=V;else break e}}return Y}function d(O,Y){var F=O.sortIndex-Y.sortIndex;return F!==0?F:O.id-Y.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,E=p.now();i.unstable_now=function(){return p.now()-E}}var x=[],y=[],z=1,_=null,H=3,L=!1,B=!1,U=!1,Q=!1,q=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function ve(O){for(var Y=r(y);Y!==null;){if(Y.callback===null)o(y);else if(Y.startTime<=O)o(y),Y.sortIndex=Y.expirationTime,c(x,Y);else break;Y=r(y)}}function me(O){if(U=!1,ve(O),!B)if(r(x)!==null)B=!0,Te||(Te=!0,$e());else{var Y=r(y);Y!==null&&we(me,Y.startTime-O)}}var Te=!1,P=-1,Oe=5,Ke=-1;function Lt(){return Q?!0:!(i.unstable_now()-Ke<Oe)}function xt(){if(Q=!1,Te){var O=i.unstable_now();Ke=O;var Y=!0;try{e:{B=!1,U&&(U=!1,I(P),P=-1),L=!0;var F=H;try{t:{for(ve(O),_=r(x);_!==null&&!(_.expirationTime>O&&Lt());){var ge=_.callback;if(typeof ge=="function"){_.callback=null,H=_.priorityLevel;var Ee=ge(_.expirationTime<=O);if(O=i.unstable_now(),typeof Ee=="function"){_.callback=Ee,ve(O),Y=!0;break t}_===r(x)&&o(x),ve(O)}else o(x);_=r(x)}if(_!==null)Y=!0;else{var S=r(y);S!==null&&we(me,S.startTime-O),Y=!1}}break e}finally{_=null,H=F,L=!1}Y=void 0}}finally{Y?$e():Te=!1}}}var $e;if(typeof J=="function")$e=function(){J(xt)};else if(typeof MessageChannel<"u"){var Bt=new MessageChannel,St=Bt.port2;Bt.port1.onmessage=xt,$e=function(){St.postMessage(null)}}else $e=function(){q(xt,0)};function we(O,Y){P=q(function(){O(i.unstable_now())},Y)}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(O){O.callback=null},i.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Oe=0<O?Math.floor(1e3/O):5},i.unstable_getCurrentPriorityLevel=function(){return H},i.unstable_next=function(O){switch(H){case 1:case 2:case 3:var Y=3;break;default:Y=H}var F=H;H=Y;try{return O()}finally{H=F}},i.unstable_requestPaint=function(){Q=!0},i.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var F=H;H=O;try{return Y()}finally{H=F}},i.unstable_scheduleCallback=function(O,Y,F){var ge=i.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?ge+F:ge):F=ge,O){case 1:var Ee=-1;break;case 2:Ee=250;break;case 5:Ee=1073741823;break;case 4:Ee=1e4;break;default:Ee=5e3}return Ee=F+Ee,O={id:z++,callback:Y,priorityLevel:O,startTime:F,expirationTime:Ee,sortIndex:-1},F>ge?(O.sortIndex=F,c(y,O),r(x)===null&&O===r(y)&&(U?(I(P),P=-1):U=!0,we(me,F-ge))):(O.sortIndex=Ee,c(x,O),B||L||(B=!0,Te||(Te=!0,$e()))),O},i.unstable_shouldYield=Lt,i.unstable_wrapCallback=function(O){var Y=H;return function(){var F=H;H=Y;try{return O.apply(this,arguments)}finally{H=F}}}})(Gs)),Gs}var xh;function ip(){return xh||(xh=1,Ys.exports=up()),Ys.exports}var Qs={exports:{}},We={};/**
27
27
  * @license React
28
28
  * react-dom.production.js
29
29
  *
@@ -31,7 +31,7 @@ var I0=Object.defineProperty;var P0=(i,c,r)=>c in i?I0(i,c,{enumerable:!0,config
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var xh;function ip(){if(xh)return We;xh=1;var i=Ps();function c(x){var y="https://react.dev/errors/"+x;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)y+="&args[]="+encodeURIComponent(arguments[z])}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 o={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(x,y,z){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:_==null?null:""+_,children:x,containerInfo:y,implementation:z}}var p=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function E(x,y){if(x==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return We.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,We.createPortal=function(x,y){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return m(x,y,null,z)},We.flushSync=function(x){var y=p.T,z=o.p;try{if(p.T=null,o.p=2,x)return x()}finally{p.T=y,o.p=z,o.d.f()}},We.preconnect=function(x,y){typeof x=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(x,y))},We.prefetchDNS=function(x){typeof x=="string"&&o.d.D(x)},We.preinit=function(x,y){if(typeof x=="string"&&y&&typeof y.as=="string"){var z=y.as,_=E(z,y.crossOrigin),H=typeof y.integrity=="string"?y.integrity:void 0,L=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;z==="style"?o.d.S(x,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:_,integrity:H,fetchPriority:L}):z==="script"&&o.d.X(x,{crossOrigin:_,integrity:H,fetchPriority:L,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},We.preinitModule=function(x,y){if(typeof x=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var z=E(y.as,y.crossOrigin);o.d.M(x,{crossOrigin:z,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(x)},We.preload=function(x,y){if(typeof x=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var z=y.as,_=E(z,y.crossOrigin);o.d.L(x,z,{crossOrigin:_,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})}},We.preloadModule=function(x,y){if(typeof x=="string")if(y){var z=E(y.as,y.crossOrigin);o.d.m(x,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:z,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(x)},We.requestFormReset=function(x){o.d.r(x)},We.unstable_batchedUpdates=function(x,y){return x(y)},We.useFormState=function(x,y,z){return p.H.useFormState(x,y,z)},We.useFormStatus=function(){return p.H.useHostTransitionStatus()},We.version="19.2.4",We}var Sh;function cp(){if(Sh)return Qs.exports;Sh=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(c){console.error(c)}}return i(),Qs.exports=ip(),Qs.exports}/**
34
+ */var Sh;function cp(){if(Sh)return We;Sh=1;var i=Ps();function c(x){var y="https://react.dev/errors/"+x;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)y+="&args[]="+encodeURIComponent(arguments[z])}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 o={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(x,y,z){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:_==null?null:""+_,children:x,containerInfo:y,implementation:z}}var p=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function E(x,y){if(x==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return We.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,We.createPortal=function(x,y){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return m(x,y,null,z)},We.flushSync=function(x){var y=p.T,z=o.p;try{if(p.T=null,o.p=2,x)return x()}finally{p.T=y,o.p=z,o.d.f()}},We.preconnect=function(x,y){typeof x=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(x,y))},We.prefetchDNS=function(x){typeof x=="string"&&o.d.D(x)},We.preinit=function(x,y){if(typeof x=="string"&&y&&typeof y.as=="string"){var z=y.as,_=E(z,y.crossOrigin),H=typeof y.integrity=="string"?y.integrity:void 0,L=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;z==="style"?o.d.S(x,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:_,integrity:H,fetchPriority:L}):z==="script"&&o.d.X(x,{crossOrigin:_,integrity:H,fetchPriority:L,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},We.preinitModule=function(x,y){if(typeof x=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var z=E(y.as,y.crossOrigin);o.d.M(x,{crossOrigin:z,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(x)},We.preload=function(x,y){if(typeof x=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var z=y.as,_=E(z,y.crossOrigin);o.d.L(x,z,{crossOrigin:_,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})}},We.preloadModule=function(x,y){if(typeof x=="string")if(y){var z=E(y.as,y.crossOrigin);o.d.m(x,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:z,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(x)},We.requestFormReset=function(x){o.d.r(x)},We.unstable_batchedUpdates=function(x,y){return x(y)},We.useFormState=function(x,y,z){return p.H.useFormState(x,y,z)},We.useFormStatus=function(){return p.H.useHostTransitionStatus()},We.version="19.2.4",We}var Eh;function sp(){if(Eh)return Qs.exports;Eh=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(c){console.error(c)}}return i(),Qs.exports=cp(),Qs.exports}/**
35
35
  * @license React
36
36
  * react-dom-client.production.js
37
37
  *
@@ -39,15 +39,15 @@ var I0=Object.defineProperty;var P0=(i,c,r)=>c in i?I0(i,c,{enumerable:!0,config
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var Eh;function sp(){if(Eh)return qn;Eh=1;var i=up(),c=Ps(),r=cp();function o(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){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l: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 E(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 x(e){if(m(e)!==e)throw Error(o(188))}function y(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(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 x(n),e;if(u===a)return x(n),t;u=u.sibling}throw Error(o(188))}if(l.return!==a.return)l=n,a=u;else{for(var s=!1,f=n.child;f;){if(f===l){s=!0,l=n,a=u;break}if(f===a){s=!0,a=n,l=u;break}f=f.sibling}if(!s){for(f=u.child;f;){if(f===l){s=!0,l=u,a=n;break}if(f===a){s=!0,a=u,l=n;break}f=f.sibling}if(!s)throw Error(o(189))}}if(l.alternate!==a)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function z(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=z(e),t!==null)return t;e=e.sibling}return null}var _=Object.assign,H=Symbol.for("react.element"),L=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),J=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ke=Symbol.for("react.activity"),Lt=Symbol.for("react.memo_cache_sentinel"),xt=Symbol.iterator;function $e(e){return e===null||typeof e!="object"?null:(e=xt&&e[xt]||e["@@iterator"],typeof e=="function"?e:null)}var Bt=Symbol.for("react.client.reference");function St(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Bt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case U:return"Fragment";case q:return"Profiler";case Q:return"StrictMode";case me:return"Suspense";case Te:return"SuspenseList";case Ke:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case B:return"Portal";case J:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case ve:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case P:return t=e.displayName||null,t!==null?t:St(e.type)||"Memo";case Oe:t=e._payload,e=e._init;try{return St(e(t))}catch{}}return null}var we=Array.isArray,O=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F={pending:!1,data:null,method:null,action:null},ge=[],Ee=-1;function S(e){return{current:e}}function w(e){0>Ee||(e.current=ge[Ee],ge[Ee]=null,Ee--)}function G(e,t){Ee++,ge[Ee]=e.current,e.current=t}var V=S(null),te=S(null),ne=S(null),he=S(null);function Ie(e,t){switch(G(ne,t),G(te,e),G(V,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?kd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=kd(t),e=Ld(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}w(V),G(V,e)}function Me(){w(V),w(te),w(ne)}function Xa(e){e.memoizedState!==null&&G(he,e);var t=V.current,l=Ld(t,e.type);t!==l&&(G(te,e),G(V,l))}function Zn(e){te.current===e&&(w(V),w(te)),he.current===e&&(w(he),Un._currentValue=F)}var xi,fo;function wl(e){if(xi===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);xi=t&&t[1]||"",fo=-1<l.stack.indexOf(`
42
+ */var _h;function op(){if(_h)return qn;_h=1;var i=ip(),c=Ps(),r=sp();function o(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){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l: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 E(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 x(e){if(m(e)!==e)throw Error(o(188))}function y(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(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 x(n),e;if(u===a)return x(n),t;u=u.sibling}throw Error(o(188))}if(l.return!==a.return)l=n,a=u;else{for(var s=!1,f=n.child;f;){if(f===l){s=!0,l=n,a=u;break}if(f===a){s=!0,a=n,l=u;break}f=f.sibling}if(!s){for(f=u.child;f;){if(f===l){s=!0,l=u,a=n;break}if(f===a){s=!0,a=u,l=n;break}f=f.sibling}if(!s)throw Error(o(189))}}if(l.alternate!==a)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function z(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=z(e),t!==null)return t;e=e.sibling}return null}var _=Object.assign,H=Symbol.for("react.element"),L=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),J=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ke=Symbol.for("react.activity"),Lt=Symbol.for("react.memo_cache_sentinel"),xt=Symbol.iterator;function $e(e){return e===null||typeof e!="object"?null:(e=xt&&e[xt]||e["@@iterator"],typeof e=="function"?e:null)}var Bt=Symbol.for("react.client.reference");function St(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Bt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case U:return"Fragment";case q:return"Profiler";case Q:return"StrictMode";case me:return"Suspense";case Te:return"SuspenseList";case Ke:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case B:return"Portal";case J:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case ve:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case P:return t=e.displayName||null,t!==null?t:St(e.type)||"Memo";case Oe:t=e._payload,e=e._init;try{return St(e(t))}catch{}}return null}var we=Array.isArray,O=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F={pending:!1,data:null,method:null,action:null},ge=[],Ee=-1;function S(e){return{current:e}}function w(e){0>Ee||(e.current=ge[Ee],ge[Ee]=null,Ee--)}function G(e,t){Ee++,ge[Ee]=e.current,e.current=t}var V=S(null),te=S(null),ne=S(null),he=S(null);function Ie(e,t){switch(G(ne,t),G(te,e),G(V,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ld(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ld(t),e=Bd(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}w(V),G(V,e)}function Me(){w(V),w(te),w(ne)}function Xa(e){e.memoizedState!==null&&G(he,e);var t=V.current,l=Bd(t,e.type);t!==l&&(G(te,e),G(V,l))}function Zn(e){te.current===e&&(w(V),w(te)),he.current===e&&(w(he),Un._currentValue=F)}var xi,ho;function wl(e){if(xi===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);xi=t&&t[1]||"",ho=-1<l.stack.indexOf(`
43
43
  at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
44
- `+xi+e+fo}var Si=!1;function Ei(e,t){if(!e||Si)return"";Si=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(R){var j=R}Reflect.construct(e,[],D)}else{try{D.call()}catch(R){j=R}e.call(D.prototype)}}else{try{throw Error()}catch(R){j=R}(D=e())&&typeof D.catch=="function"&&D.catch(function(){})}}catch(R){if(R&&j&&typeof R.stack=="string")return[R.stack,j.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(),s=u[0],f=u[1];if(s&&f){var g=s.split(`
44
+ `+xi+e+ho}var Si=!1;function Ei(e,t){if(!e||Si)return"";Si=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(R){var j=R}Reflect.construct(e,[],D)}else{try{D.call()}catch(R){j=R}e.call(D.prototype)}}else{try{throw Error()}catch(R){j=R}(D=e())&&typeof D.catch=="function"&&D.catch(function(){})}}catch(R){if(R&&j&&typeof R.stack=="string")return[R.stack,j.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(),s=u[0],f=u[1];if(s&&f){var g=s.split(`
45
45
  `),C=f.split(`
46
46
  `);for(n=a=0;a<g.length&&!g[a].includes("DetermineComponentFrameRoot");)a++;for(;n<C.length&&!C[n].includes("DetermineComponentFrameRoot");)n++;if(a===g.length||n===C.length)for(a=g.length-1,n=C.length-1;1<=a&&0<=n&&g[a]!==C[n];)n--;for(;1<=a&&0<=n;a--,n--)if(g[a]!==C[n]){if(a!==1||n!==1)do if(a--,n--,0>n||g[a]!==C[n]){var A=`
47
- `+g[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{Si=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?wl(l):""}function Rm(e,t){switch(e.tag){case 26:case 27:case 5:return wl(e.type);case 16:return wl("Lazy");case 13:return e.child!==t&&t!==null?wl("Suspense Fallback"):wl("Suspense");case 19:return wl("SuspenseList");case 0:case 15:return Ei(e.type,!1);case 11:return Ei(e.type.render,!1);case 1:return Ei(e.type,!0);case 31:return wl("Activity");default:return""}}function ho(e){try{var t="",l=null;do t+=Rm(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
47
+ `+g[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{Si=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?wl(l):""}function Am(e,t){switch(e.tag){case 26:case 27:case 5:return wl(e.type);case 16:return wl("Lazy");case 13:return e.child!==t&&t!==null?wl("Suspense Fallback"):wl("Suspense");case 19:return wl("SuspenseList");case 0:case 15:return Ei(e.type,!1);case 11:return Ei(e.type.render,!1);case 1:return Ei(e.type,!0);case 31:return wl("Activity");default:return""}}function mo(e){try{var t="",l=null;do t+=Am(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
48
48
  Error generating stack: `+a.message+`
49
- `+a.stack}}var _i=Object.prototype.hasOwnProperty,Ti=i.unstable_scheduleCallback,zi=i.unstable_cancelCallback,Am=i.unstable_shouldYield,Om=i.unstable_requestPaint,ot=i.unstable_now,Mm=i.unstable_getCurrentPriorityLevel,mo=i.unstable_ImmediatePriority,yo=i.unstable_UserBlockingPriority,Jn=i.unstable_NormalPriority,Dm=i.unstable_LowPriority,po=i.unstable_IdlePriority,Um=i.log,wm=i.unstable_setDisableYieldValue,Va=null,rt=null;function rl(e){if(typeof Um=="function"&&wm(e),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode(Va,e)}catch{}}var ft=Math.clz32?Math.clz32:Lm,Hm=Math.log,km=Math.LN2;function Lm(e){return e>>>=0,e===0?32:31-(Hm(e)/km|0)|0}var Kn=256,$n=262144,Wn=4194304;function Hl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Fn(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=Hl(a):(s&=f,s!==0?n=Hl(s):l||(l=f&~e,l!==0&&(n=Hl(l))))):(f=a&~u,f!==0?n=Hl(f):s!==0?n=Hl(s):l||(l=a&~e,l!==0&&(n=Hl(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 Za(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Bm(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 vo(){var e=Wn;return Wn<<=1,(Wn&62914560)===0&&(Wn=4194304),e}function Ni(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Ja(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qm(e,t,l,a,n,u){var s=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,g=e.expirationTimes,C=e.hiddenUpdates;for(l=s&~l;0<l;){var A=31-ft(l),D=1<<A;f[A]=0,g[A]=-1;var j=C[A];if(j!==null)for(C[A]=null,A=0;A<j.length;A++){var R=j[A];R!==null&&(R.lane&=-536870913)}l&=~D}a!==0&&go(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(s&~t))}function go(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ft(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function bo(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-ft(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function xo(e,t){var l=t&-t;return l=(l&42)!==0?1:Ci(l),(l&(e.suspendedLanes|t))!==0?0:l}function Ci(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 ji(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function So(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:ch(e.type))}function Eo(e,t){var l=Y.p;try{return Y.p=e,t()}finally{Y.p=l}}var fl=Math.random().toString(36).slice(2),Qe="__reactFiber$"+fl,et="__reactProps$"+fl,ta="__reactContainer$"+fl,Ri="__reactEvents$"+fl,Ym="__reactListeners$"+fl,Gm="__reactHandles$"+fl,_o="__reactResources$"+fl,Ka="__reactMarker$"+fl;function Ai(e){delete e[Qe],delete e[et],delete e[Ri],delete e[Ym],delete e[Gm]}function la(e){var t=e[Qe];if(t)return t;for(var l=e.parentNode;l;){if(t=l[ta]||l[Qe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Vd(e);e!==null;){if(l=e[Qe])return l;e=Vd(e)}return t}e=l,l=e.parentNode}return null}function aa(e){if(e=e[Qe]||e[ta]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function $a(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function na(e){var t=e[_o];return t||(t=e[_o]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ye(e){e[Ka]=!0}var To=new Set,zo={};function kl(e,t){ua(e,t),ua(e+"Capture",t)}function ua(e,t){for(zo[e]=t,e=0;e<t.length;e++)To.add(t[e])}var Qm=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]*$"),No={},Co={};function Xm(e){return _i.call(Co,e)?!0:_i.call(No,e)?!1:Qm.test(e)?Co[e]=!0:(No[e]=!0,!1)}function In(e,t,l){if(Xm(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 Pn(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 Vt(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 Et(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vm(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(s){l=""+s,u.call(this,s)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oi(e){if(!e._valueTracker){var t=jo(e)?"checked":"value";e._valueTracker=Vm(e,t,""+e[t])}}function Ro(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=jo(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function eu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Zm=/[\n"\\]/g;function _t(e){return e.replace(Zm,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mi(e,t,l,a,n,u,s,f){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Et(t)):e.value!==""+Et(t)&&(e.value=""+Et(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?Di(e,s,Et(t)):l!=null?Di(e,s,Et(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=""+Et(f):e.removeAttribute("name")}function Ao(e,t,l,a,n,u,s,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)){Oi(e);return}l=l!=null?""+Et(l):"",t=t!=null?""+Et(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,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Oi(e)}function Di(e,t,l){t==="number"&&eu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ia(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=""+Et(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 Oo(e,t,l){if(t!=null&&(t=""+Et(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Et(l):""}function Mo(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(o(92));if(we(a)){if(1<a.length)throw Error(o(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Et(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),Oi(e)}function ca(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Jm=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 Do(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||Jm.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Uo(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(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]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&Do(e,n,a)}else for(var u in t)t.hasOwnProperty(u)&&Do(e,u,t[u])}function Ui(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 Km=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),$m=/^[\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 tu(e){return $m.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Zt(){}var wi=null;function Hi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sa=null,oa=null;function wo(e){var t=aa(e);if(t&&(e=t.stateNode)){var l=e[et]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mi(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="'+_t(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[et]||null;if(!n)throw Error(o(90));Mi(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&&Ro(a)}break e;case"textarea":Oo(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&ia(e,!!l.multiple,t,!1)}}}var ki=!1;function Ho(e,t,l){if(ki)return e(t,l);ki=!0;try{var a=e(t);return a}finally{if(ki=!1,(sa!==null||oa!==null)&&(Gu(),sa&&(t=sa,e=oa,oa=sa=null,wo(t),e)))for(t=0;t<e.length;t++)wo(e[t])}}function Wa(e,t){var l=e.stateNode;if(l===null)return null;var a=l[et]||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(o(231,t,typeof l));return l}var Jt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Li=!1;if(Jt)try{var Fa={};Object.defineProperty(Fa,"passive",{get:function(){Li=!0}}),window.addEventListener("test",Fa,Fa),window.removeEventListener("test",Fa,Fa)}catch{Li=!1}var dl=null,Bi=null,lu=null;function ko(){if(lu)return lu;var e,t=Bi,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 s=l-e;for(a=1;a<=s&&t[l-a]===n[u-a];a++);return lu=n.slice(e,1<a?1-a:void 0)}function au(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 nu(){return!0}function Lo(){return!1}function tt(e){function t(l,a,n,u,s){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=s,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)?nu:Lo,this.isPropagationStopped=Lo,this}return _(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=nu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=nu)},persist:function(){},isPersistent:nu}),t}var Ll={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uu=tt(Ll),Ia=_({},Ll,{view:0,detail:0}),Wm=tt(Ia),qi,Yi,Pa,iu=_({},Ia,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qi,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!==Pa&&(Pa&&e.type==="mousemove"?(qi=e.screenX-Pa.screenX,Yi=e.screenY-Pa.screenY):Yi=qi=0,Pa=e),qi)},movementY:function(e){return"movementY"in e?e.movementY:Yi}}),Bo=tt(iu),Fm=_({},iu,{dataTransfer:0}),Im=tt(Fm),Pm=_({},Ia,{relatedTarget:0}),Gi=tt(Pm),ey=_({},Ll,{animationName:0,elapsedTime:0,pseudoElement:0}),ty=tt(ey),ly=_({},Ll,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ay=tt(ly),ny=_({},Ll,{data:0}),qo=tt(ny),uy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iy={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"},cy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=cy[e])?!!t[e]:!1}function Qi(){return sy}var oy=_({},Ia,{key:function(e){if(e.key){var t=uy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=au(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?iy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qi,charCode:function(e){return e.type==="keypress"?au(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?au(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ry=tt(oy),fy=_({},iu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yo=tt(fy),dy=_({},Ia,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qi}),hy=tt(dy),my=_({},Ll,{propertyName:0,elapsedTime:0,pseudoElement:0}),yy=tt(my),py=_({},iu,{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}),vy=tt(py),gy=_({},Ll,{newState:0,oldState:0}),by=tt(gy),xy=[9,13,27,32],Xi=Jt&&"CompositionEvent"in window,en=null;Jt&&"documentMode"in document&&(en=document.documentMode);var Sy=Jt&&"TextEvent"in window&&!en,Go=Jt&&(!Xi||en&&8<en&&11>=en),Qo=" ",Xo=!1;function Vo(e,t){switch(e){case"keyup":return xy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ra=!1;function Ey(e,t){switch(e){case"compositionend":return Zo(t);case"keypress":return t.which!==32?null:(Xo=!0,Qo);case"textInput":return e=t.data,e===Qo&&Xo?null:e;default:return null}}function _y(e,t){if(ra)return e==="compositionend"||!Xi&&Vo(e,t)?(e=ko(),lu=Bi=dl=null,ra=!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 Go&&t.locale!=="ko"?null:t.data;default:return null}}var Ty={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 Jo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ty[e.type]:t==="textarea"}function Ko(e,t,l,a){sa?oa?oa.push(a):oa=[a]:sa=a,t=$u(t,"onChange"),0<t.length&&(l=new uu("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var tn=null,ln=null;function zy(e){Od(e,0)}function cu(e){var t=$a(e);if(Ro(t))return e}function $o(e,t){if(e==="change")return t}var Wo=!1;if(Jt){var Vi;if(Jt){var Zi="oninput"in document;if(!Zi){var Fo=document.createElement("div");Fo.setAttribute("oninput","return;"),Zi=typeof Fo.oninput=="function"}Vi=Zi}else Vi=!1;Wo=Vi&&(!document.documentMode||9<document.documentMode)}function Io(){tn&&(tn.detachEvent("onpropertychange",Po),ln=tn=null)}function Po(e){if(e.propertyName==="value"&&cu(ln)){var t=[];Ko(t,ln,e,Hi(e)),Ho(zy,t)}}function Ny(e,t,l){e==="focusin"?(Io(),tn=t,ln=l,tn.attachEvent("onpropertychange",Po)):e==="focusout"&&Io()}function Cy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return cu(ln)}function jy(e,t){if(e==="click")return cu(t)}function Ry(e,t){if(e==="input"||e==="change")return cu(t)}function Ay(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:Ay;function an(e,t){if(dt(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(!_i.call(t,n)||!dt(e[n],t[n]))return!1}return!0}function er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tr(e,t){var l=er(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=er(l)}}function lr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lr(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ar(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=eu(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=eu(e.document)}return t}function Ji(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 Oy=Jt&&"documentMode"in document&&11>=document.documentMode,fa=null,Ki=null,nn=null,$i=!1;function nr(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;$i||fa==null||fa!==eu(a)||(a=fa,"selectionStart"in a&&Ji(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}),nn&&an(nn,a)||(nn=a,a=$u(Ki,"onSelect"),0<a.length&&(t=new uu("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=fa)))}function Bl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var da={animationend:Bl("Animation","AnimationEnd"),animationiteration:Bl("Animation","AnimationIteration"),animationstart:Bl("Animation","AnimationStart"),transitionrun:Bl("Transition","TransitionRun"),transitionstart:Bl("Transition","TransitionStart"),transitioncancel:Bl("Transition","TransitionCancel"),transitionend:Bl("Transition","TransitionEnd")},Wi={},ur={};Jt&&(ur=document.createElement("div").style,"AnimationEvent"in window||(delete da.animationend.animation,delete da.animationiteration.animation,delete da.animationstart.animation),"TransitionEvent"in window||delete da.transitionend.transition);function ql(e){if(Wi[e])return Wi[e];if(!da[e])return e;var t=da[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in ur)return Wi[e]=t[l];return e}var ir=ql("animationend"),cr=ql("animationiteration"),sr=ql("animationstart"),My=ql("transitionrun"),Dy=ql("transitionstart"),Uy=ql("transitioncancel"),or=ql("transitionend"),rr=new Map,Fi="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Fi.push("scrollEnd");function Dt(e,t){rr.set(e,t),kl(t,[e])}var su=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)},Tt=[],ha=0,Ii=0;function ou(){for(var e=ha,t=Ii=ha=0;t<e;){var l=Tt[t];Tt[t++]=null;var a=Tt[t];Tt[t++]=null;var n=Tt[t];Tt[t++]=null;var u=Tt[t];if(Tt[t++]=null,a!==null&&n!==null){var s=a.pending;s===null?n.next=n:(n.next=s.next,s.next=n),a.pending=n}u!==0&&fr(l,n,u)}}function ru(e,t,l,a){Tt[ha++]=e,Tt[ha++]=t,Tt[ha++]=l,Tt[ha++]=a,Ii|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Pi(e,t,l,a){return ru(e,t,l,a),fu(e)}function Yl(e,t){return ru(e,null,null,t),fu(e)}function fr(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-ft(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function fu(e){if(50<Cn)throw Cn=0,ss=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ma={};function wy(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 ht(e,t,l,a){return new wy(e,t,l,a)}function ec(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kt(e,t){var l=e.alternate;return l===null?(l=ht(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&65011712,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 dr(e,t){e.flags&=65011714;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 du(e,t,l,a,n,u){var s=0;if(a=e,typeof e=="function")ec(e)&&(s=1);else if(typeof e=="string")s=q0(e,l,V.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ke:return e=ht(31,l,t,n),e.elementType=Ke,e.lanes=u,e;case U:return Gl(l.children,n,u,t);case Q:s=8,n|=24;break;case q:return e=ht(12,l,t,n|2),e.elementType=q,e.lanes=u,e;case me:return e=ht(13,l,t,n),e.elementType=me,e.lanes=u,e;case Te:return e=ht(19,l,t,n),e.elementType=Te,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:s=10;break e;case I:s=9;break e;case ve:s=11;break e;case P:s=14;break e;case Oe:s=16,a=null;break e}s=29,l=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=ht(s,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function Gl(e,t,l,a){return e=ht(7,e,a,t),e.lanes=l,e}function tc(e,t,l){return e=ht(6,e,null,t),e.lanes=l,e}function hr(e){var t=ht(18,null,null,0);return t.stateNode=e,t}function lc(e,t,l){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var mr=new WeakMap;function zt(e,t){if(typeof e=="object"&&e!==null){var l=mr.get(e);return l!==void 0?l:(t={value:e,source:t,stack:ho(t)},mr.set(e,t),t)}return{value:e,source:t,stack:ho(t)}}var ya=[],pa=0,hu=null,un=0,Nt=[],Ct=0,hl=null,qt=1,Yt="";function $t(e,t){ya[pa++]=un,ya[pa++]=hu,hu=e,un=t}function yr(e,t,l){Nt[Ct++]=qt,Nt[Ct++]=Yt,Nt[Ct++]=hl,hl=e;var a=qt;e=Yt;var n=32-ft(a)-1;a&=~(1<<n),l+=1;var u=32-ft(t)+n;if(30<u){var s=n-n%5;u=(a&(1<<s)-1).toString(32),a>>=s,n-=s,qt=1<<32-ft(t)+n|l<<n|a,Yt=u+e}else qt=1<<u|l<<n|a,Yt=e}function ac(e){e.return!==null&&($t(e,1),yr(e,1,0))}function nc(e){for(;e===hu;)hu=ya[--pa],ya[pa]=null,un=ya[--pa],ya[pa]=null;for(;e===hl;)hl=Nt[--Ct],Nt[Ct]=null,Yt=Nt[--Ct],Nt[Ct]=null,qt=Nt[--Ct],Nt[Ct]=null}function pr(e,t){Nt[Ct++]=qt,Nt[Ct++]=Yt,Nt[Ct++]=hl,qt=t.id,Yt=t.overflow,hl=e}var Xe=null,ze=null,oe=!1,ml=null,jt=!1,uc=Error(o(519));function yl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw cn(zt(t,e)),uc}function vr(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[Qe]=e,t[et]=a,l){case"dialog":ie("cancel",t),ie("close",t);break;case"iframe":case"object":case"embed":ie("load",t);break;case"video":case"audio":for(l=0;l<Rn.length;l++)ie(Rn[l],t);break;case"source":ie("error",t);break;case"img":case"image":case"link":ie("error",t),ie("load",t);break;case"details":ie("toggle",t);break;case"input":ie("invalid",t),Ao(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ie("invalid",t);break;case"textarea":ie("invalid",t),Mo(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||wd(t.textContent,l)?(a.popover!=null&&(ie("beforetoggle",t),ie("toggle",t)),a.onScroll!=null&&ie("scroll",t),a.onScrollEnd!=null&&ie("scrollend",t),a.onClick!=null&&(t.onclick=Zt),t=!0):t=!1,t||yl(e,!0)}function gr(e){for(Xe=e.return;Xe;)switch(Xe.tag){case 5:case 31:case 13:jt=!1;return;case 27:case 3:jt=!0;return;default:Xe=Xe.return}}function va(e){if(e!==Xe)return!1;if(!oe)return gr(e),oe=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||_s(e.type,e.memoizedProps)),l=!l),l&&ze&&yl(e),gr(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ze=Xd(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ze=Xd(e)}else t===27?(t=ze,Rl(e.type)?(e=js,js=null,ze=e):ze=t):ze=Xe?At(e.stateNode.nextSibling):null;return!0}function Ql(){ze=Xe=null,oe=!1}function ic(){var e=ml;return e!==null&&(ut===null?ut=e:ut.push.apply(ut,e),ml=null),e}function cn(e){ml===null?ml=[e]:ml.push(e)}var cc=S(null),Xl=null,Wt=null;function pl(e,t,l){G(cc,t._currentValue),t._currentValue=l}function Ft(e){e._currentValue=cc.current,w(cc)}function sc(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 oc(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var s=n.child;u=u.firstContext;e:for(;u!==null;){var f=u;u=n;for(var g=0;g<t.length;g++)if(f.context===t[g]){u.lanes|=l,f=u.alternate,f!==null&&(f.lanes|=l),sc(u.return,l,e),a||(s=null);break e}u=f.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(o(341));s.lanes|=l,u=s.alternate,u!==null&&(u.lanes|=l),sc(s,l,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function ga(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 s=n.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var f=n.type;dt(n.pendingProps.value,s.value)||(e!==null?e.push(f):e=[f])}}else if(n===he.current){if(s=n.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Un):e=[Un])}n=n.return}e!==null&&oc(t,e,l,a),t.flags|=262144}function mu(e){for(e=e.firstContext;e!==null;){if(!dt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Vl(e){Xl=e,Wt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ve(e){return br(Xl,e)}function yu(e,t){return Xl===null&&Vl(e),br(e,t)}function br(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Wt===null){if(e===null)throw Error(o(308));Wt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Wt=Wt.next=t;return l}var Hy=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()})}},ky=i.unstable_scheduleCallback,Ly=i.unstable_NormalPriority,He={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function rc(){return{controller:new Hy,data:new Map,refCount:0}}function sn(e){e.refCount--,e.refCount===0&&ky(Ly,function(){e.controller.abort()})}var on=null,fc=0,ba=0,xa=null;function By(e,t){if(on===null){var l=on=[];fc=0,ba=ms(),xa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return fc++,t.then(xr,xr),t}function xr(){if(--fc===0&&on!==null){xa!==null&&(xa.status="fulfilled");var e=on;on=null,ba=0,xa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function qy(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 Sr=O.S;O.S=function(e,t){ud=ot(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&By(e,t),Sr!==null&&Sr(e,t)};var Zl=S(null);function dc(){var e=Zl.current;return e!==null?e:_e.pooledCache}function pu(e,t){t===null?G(Zl,Zl.current):G(Zl,t.pool)}function Er(){var e=dc();return e===null?null:{parent:He._currentValue,pool:e}}var Sa=Error(o(460)),hc=Error(o(474)),vu=Error(o(542)),gu={then:function(){}};function _r(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Tr(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Zt,Zt),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Nr(e),e;default:if(typeof t.status=="string")t.then(Zt,Zt);else{if(e=_e,e!==null&&100<e.shellSuspendCounter)throw Error(o(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,Nr(e),e}throw Kl=t,Sa}}function Jl(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Kl=l,Sa):l}}var Kl=null;function zr(){if(Kl===null)throw Error(o(459));var e=Kl;return Kl=null,e}function Nr(e){if(e===Sa||e===vu)throw Error(o(483))}var Ea=null,rn=0;function bu(e){var t=rn;return rn+=1,Ea===null&&(Ea=[]),Tr(Ea,e,t)}function fn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xu(e,t){throw t.$$typeof===H?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Cr(e){function t(T,b){if(e){var N=T.deletions;N===null?(T.deletions=[b],T.flags|=16):N.push(b)}}function l(T,b){if(!e)return null;for(;b!==null;)t(T,b),b=b.sibling;return null}function a(T){for(var b=new Map;T!==null;)T.key!==null?b.set(T.key,T):b.set(T.index,T),T=T.sibling;return b}function n(T,b){return T=Kt(T,b),T.index=0,T.sibling=null,T}function u(T,b,N){return T.index=N,e?(N=T.alternate,N!==null?(N=N.index,N<b?(T.flags|=67108866,b):N):(T.flags|=67108866,b)):(T.flags|=1048576,b)}function s(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function f(T,b,N,M){return b===null||b.tag!==6?(b=tc(N,T.mode,M),b.return=T,b):(b=n(b,N),b.return=T,b)}function g(T,b,N,M){var K=N.type;return K===U?A(T,b,N.props.children,M,N.key):b!==null&&(b.elementType===K||typeof K=="object"&&K!==null&&K.$$typeof===Oe&&Jl(K)===b.type)?(b=n(b,N.props),fn(b,N),b.return=T,b):(b=du(N.type,N.key,N.props,null,T.mode,M),fn(b,N),b.return=T,b)}function C(T,b,N,M){return b===null||b.tag!==4||b.stateNode.containerInfo!==N.containerInfo||b.stateNode.implementation!==N.implementation?(b=lc(N,T.mode,M),b.return=T,b):(b=n(b,N.children||[]),b.return=T,b)}function A(T,b,N,M,K){return b===null||b.tag!==7?(b=Gl(N,T.mode,M,K),b.return=T,b):(b=n(b,N),b.return=T,b)}function D(T,b,N){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=tc(""+b,T.mode,N),b.return=T,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case L:return N=du(b.type,b.key,b.props,null,T.mode,N),fn(N,b),N.return=T,N;case B:return b=lc(b,T.mode,N),b.return=T,b;case Oe:return b=Jl(b),D(T,b,N)}if(we(b)||$e(b))return b=Gl(b,T.mode,N,null),b.return=T,b;if(typeof b.then=="function")return D(T,bu(b),N);if(b.$$typeof===J)return D(T,yu(T,b),N);xu(T,b)}return null}function j(T,b,N,M){var K=b!==null?b.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return K!==null?null:f(T,b,""+N,M);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case L:return N.key===K?g(T,b,N,M):null;case B:return N.key===K?C(T,b,N,M):null;case Oe:return N=Jl(N),j(T,b,N,M)}if(we(N)||$e(N))return K!==null?null:A(T,b,N,M,null);if(typeof N.then=="function")return j(T,b,bu(N),M);if(N.$$typeof===J)return j(T,b,yu(T,N),M);xu(T,N)}return null}function R(T,b,N,M,K){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return T=T.get(N)||null,f(b,T,""+M,K);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case L:return T=T.get(M.key===null?N:M.key)||null,g(b,T,M,K);case B:return T=T.get(M.key===null?N:M.key)||null,C(b,T,M,K);case Oe:return M=Jl(M),R(T,b,N,M,K)}if(we(M)||$e(M))return T=T.get(N)||null,A(b,T,M,K,null);if(typeof M.then=="function")return R(T,b,N,bu(M),K);if(M.$$typeof===J)return R(T,b,N,yu(b,M),K);xu(b,M)}return null}function X(T,b,N,M){for(var K=null,re=null,Z=b,ae=b=0,se=null;Z!==null&&ae<N.length;ae++){Z.index>ae?(se=Z,Z=null):se=Z.sibling;var fe=j(T,Z,N[ae],M);if(fe===null){Z===null&&(Z=se);break}e&&Z&&fe.alternate===null&&t(T,Z),b=u(fe,b,ae),re===null?K=fe:re.sibling=fe,re=fe,Z=se}if(ae===N.length)return l(T,Z),oe&&$t(T,ae),K;if(Z===null){for(;ae<N.length;ae++)Z=D(T,N[ae],M),Z!==null&&(b=u(Z,b,ae),re===null?K=Z:re.sibling=Z,re=Z);return oe&&$t(T,ae),K}for(Z=a(Z);ae<N.length;ae++)se=R(Z,T,ae,N[ae],M),se!==null&&(e&&se.alternate!==null&&Z.delete(se.key===null?ae:se.key),b=u(se,b,ae),re===null?K=se:re.sibling=se,re=se);return e&&Z.forEach(function(Ul){return t(T,Ul)}),oe&&$t(T,ae),K}function $(T,b,N,M){if(N==null)throw Error(o(151));for(var K=null,re=null,Z=b,ae=b=0,se=null,fe=N.next();Z!==null&&!fe.done;ae++,fe=N.next()){Z.index>ae?(se=Z,Z=null):se=Z.sibling;var Ul=j(T,Z,fe.value,M);if(Ul===null){Z===null&&(Z=se);break}e&&Z&&Ul.alternate===null&&t(T,Z),b=u(Ul,b,ae),re===null?K=Ul:re.sibling=Ul,re=Ul,Z=se}if(fe.done)return l(T,Z),oe&&$t(T,ae),K;if(Z===null){for(;!fe.done;ae++,fe=N.next())fe=D(T,fe.value,M),fe!==null&&(b=u(fe,b,ae),re===null?K=fe:re.sibling=fe,re=fe);return oe&&$t(T,ae),K}for(Z=a(Z);!fe.done;ae++,fe=N.next())fe=R(Z,T,ae,fe.value,M),fe!==null&&(e&&fe.alternate!==null&&Z.delete(fe.key===null?ae:fe.key),b=u(fe,b,ae),re===null?K=fe:re.sibling=fe,re=fe);return e&&Z.forEach(function(F0){return t(T,F0)}),oe&&$t(T,ae),K}function Se(T,b,N,M){if(typeof N=="object"&&N!==null&&N.type===U&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case L:e:{for(var K=N.key;b!==null;){if(b.key===K){if(K=N.type,K===U){if(b.tag===7){l(T,b.sibling),M=n(b,N.props.children),M.return=T,T=M;break e}}else if(b.elementType===K||typeof K=="object"&&K!==null&&K.$$typeof===Oe&&Jl(K)===b.type){l(T,b.sibling),M=n(b,N.props),fn(M,N),M.return=T,T=M;break e}l(T,b);break}else t(T,b);b=b.sibling}N.type===U?(M=Gl(N.props.children,T.mode,M,N.key),M.return=T,T=M):(M=du(N.type,N.key,N.props,null,T.mode,M),fn(M,N),M.return=T,T=M)}return s(T);case B:e:{for(K=N.key;b!==null;){if(b.key===K)if(b.tag===4&&b.stateNode.containerInfo===N.containerInfo&&b.stateNode.implementation===N.implementation){l(T,b.sibling),M=n(b,N.children||[]),M.return=T,T=M;break e}else{l(T,b);break}else t(T,b);b=b.sibling}M=lc(N,T.mode,M),M.return=T,T=M}return s(T);case Oe:return N=Jl(N),Se(T,b,N,M)}if(we(N))return X(T,b,N,M);if($e(N)){if(K=$e(N),typeof K!="function")throw Error(o(150));return N=K.call(N),$(T,b,N,M)}if(typeof N.then=="function")return Se(T,b,bu(N),M);if(N.$$typeof===J)return Se(T,b,yu(T,N),M);xu(T,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(N=""+N,b!==null&&b.tag===6?(l(T,b.sibling),M=n(b,N),M.return=T,T=M):(l(T,b),M=tc(N,T.mode,M),M.return=T,T=M),s(T)):l(T,b)}return function(T,b,N,M){try{rn=0;var K=Se(T,b,N,M);return Ea=null,K}catch(Z){if(Z===Sa||Z===vu)throw Z;var re=ht(29,Z,null,T.mode);return re.lanes=M,re.return=T,re}finally{}}}var $l=Cr(!0),jr=Cr(!1),vl=!1;function mc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yc(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 gl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(de&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=fu(e),fr(e,null,l),t}return ru(e,a,t,l),fu(e)}function dn(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,bo(e,l)}}function pc(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 s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=s:u=u.next=s,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 vc=!1;function hn(){if(vc){var e=xa;if(e!==null)throw e}}function mn(e,t,l,a){vc=!1;var n=e.updateQueue;vl=!1;var u=n.firstBaseUpdate,s=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var g=f,C=g.next;g.next=null,s===null?u=C:s.next=C,s=g;var A=e.alternate;A!==null&&(A=A.updateQueue,f=A.lastBaseUpdate,f!==s&&(f===null?A.firstBaseUpdate=C:f.next=C,A.lastBaseUpdate=g))}if(u!==null){var D=n.baseState;s=0,A=C=g=null,f=u;do{var j=f.lane&-536870913,R=j!==f.lane;if(R?(ce&j)===j:(a&j)===j){j!==0&&j===ba&&(vc=!0),A!==null&&(A=A.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{var X=e,$=f;j=t;var Se=l;switch($.tag){case 1:if(X=$.payload,typeof X=="function"){D=X.call(Se,D,j);break e}D=X;break e;case 3:X.flags=X.flags&-65537|128;case 0:if(X=$.payload,j=typeof X=="function"?X.call(Se,D,j):X,j==null)break e;D=_({},D,j);break e;case 2:vl=!0}}j=f.callback,j!==null&&(e.flags|=64,R&&(e.flags|=8192),R=n.callbacks,R===null?n.callbacks=[j]:R.push(j))}else R={lane:j,tag:f.tag,payload:f.payload,callback:f.callback,next:null},A===null?(C=A=R,g=D):A=A.next=R,s|=j;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;R=f,f=R.next,R.next=null,n.lastBaseUpdate=R,n.shared.pending=null}}while(!0);A===null&&(g=D),n.baseState=g,n.firstBaseUpdate=C,n.lastBaseUpdate=A,u===null&&(n.shared.lanes=0),Tl|=s,e.lanes=s,e.memoizedState=D}}function Rr(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Ar(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Rr(l[e],t)}var _a=S(null),Su=S(0);function Or(e,t){e=il,G(Su,e),G(_a,t),il=e|t.baseLanes}function gc(){G(Su,il),G(_a,_a.current)}function bc(){il=Su.current,w(_a),w(Su)}var mt=S(null),Rt=null;function xl(e){var t=e.alternate;G(De,De.current&1),G(mt,e),Rt===null&&(t===null||_a.current!==null||t.memoizedState!==null)&&(Rt=e)}function xc(e){G(De,De.current),G(mt,e),Rt===null&&(Rt=e)}function Mr(e){e.tag===22?(G(De,De.current),G(mt,e),Rt===null&&(Rt=e)):Sl()}function Sl(){G(De,De.current),G(mt,mt.current)}function yt(e){w(mt),Rt===e&&(Rt=null),w(De)}var De=S(0);function Eu(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ns(l)||Cs(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var It=0,le=null,be=null,ke=null,_u=!1,Ta=!1,Wl=!1,Tu=0,yn=0,za=null,Yy=0;function Re(){throw Error(o(321))}function Sc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!dt(e[l],t[l]))return!1;return!0}function Ec(e,t,l,a,n,u){return It=u,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?pf:kc,Wl=!1,u=l(a,n),Wl=!1,Ta&&(u=Ur(t,l,a,n)),Dr(e),u}function Dr(e){O.H=gn;var t=be!==null&&be.next!==null;if(It=0,ke=be=le=null,_u=!1,yn=0,za=null,t)throw Error(o(300));e===null||Le||(e=e.dependencies,e!==null&&mu(e)&&(Le=!0))}function Ur(e,t,l,a){le=e;var n=0;do{if(Ta&&(za=null),yn=0,Ta=!1,25<=n)throw Error(o(301));if(n+=1,ke=be=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=vf,u=t(l,a)}while(Ta);return u}function Gy(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?pn(t):t,e=e.useState()[0],(be!==null?be.memoizedState:null)!==e&&(le.flags|=1024),t}function _c(){var e=Tu!==0;return Tu=0,e}function Tc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function zc(e){if(_u){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}_u=!1}It=0,ke=be=le=null,Ta=!1,yn=Tu=0,za=null}function Pe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?le.memoizedState=ke=e:ke=ke.next=e,ke}function Ue(){if(be===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=be.next;var t=ke===null?le.memoizedState:ke.next;if(t!==null)ke=t,be=e;else{if(e===null)throw le.alternate===null?Error(o(467)):Error(o(310));be=e,e={memoizedState:be.memoizedState,baseState:be.baseState,baseQueue:be.baseQueue,queue:be.queue,next:null},ke===null?le.memoizedState=ke=e:ke=ke.next=e}return ke}function zu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function pn(e){var t=yn;return yn+=1,za===null&&(za=[]),e=Tr(za,e,t),t=le,(ke===null?t.memoizedState:ke.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?pf:kc),e}function Nu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return pn(e);if(e.$$typeof===J)return Ve(e)}throw Error(o(438,String(e)))}function Nc(e){var t=null,l=le.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=le.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=zu(),le.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]=Lt;return t.index++,l}function Pt(e,t){return typeof t=="function"?t(e):t}function Cu(e){var t=Ue();return Cc(t,be,e)}function Cc(e,t,l){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var s=n.next;n.next=u.next,u.next=s}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var f=s=null,g=null,C=t,A=!1;do{var D=C.lane&-536870913;if(D!==C.lane?(ce&D)===D:(It&D)===D){var j=C.revertLane;if(j===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),D===ba&&(A=!0);else if((It&j)===j){C=C.next,j===ba&&(A=!0);continue}else D={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(f=g=D,s=u):g=g.next=D,le.lanes|=j,Tl|=j;D=C.action,Wl&&l(u,D),u=C.hasEagerState?C.eagerState:l(u,D)}else j={lane:D,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(f=g=j,s=u):g=g.next=j,le.lanes|=D,Tl|=D;C=C.next}while(C!==null&&C!==t);if(g===null?s=u:g.next=f,!dt(u,e.memoizedState)&&(Le=!0,A&&(l=xa,l!==null)))throw l;e.memoizedState=u,e.baseState=s,e.baseQueue=g,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function jc(e){var t=Ue(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var s=n=n.next;do u=e(u,s.action),s=s.next;while(s!==n);dt(u,t.memoizedState)||(Le=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function wr(e,t,l){var a=le,n=Ue(),u=oe;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=t();var s=!dt((be||n).memoizedState,l);if(s&&(n.memoizedState=l,Le=!0),n=n.queue,Oc(Lr.bind(null,a,n,e),[e]),n.getSnapshot!==t||s||ke!==null&&ke.memoizedState.tag&1){if(a.flags|=2048,Na(9,{destroy:void 0},kr.bind(null,a,n,l,t),null),_e===null)throw Error(o(349));u||(It&127)!==0||Hr(a,t,l)}return l}function Hr(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=le.updateQueue,t===null?(t=zu(),le.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function kr(e,t,l,a){t.value=l,t.getSnapshot=a,Br(t)&&qr(e)}function Lr(e,t,l){return l(function(){Br(t)&&qr(e)})}function Br(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!dt(e,l)}catch{return!0}}function qr(e){var t=Yl(e,2);t!==null&&it(t,e,2)}function Rc(e){var t=Pe();if(typeof e=="function"){var l=e;if(e=l(),Wl){rl(!0);try{l()}finally{rl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:e},t}function Yr(e,t,l,a){return e.baseState=l,Cc(e,be,typeof a=="function"?a:Pt)}function Qy(e,t,l,a,n){if(Au(e))throw Error(o(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(s){u.listeners.push(s)}};O.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,Gr(t,u)):(u.next=l.next,t.pending=l.next=u)}}function Gr(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=O.T,s={};O.T=s;try{var f=l(n,a),g=O.S;g!==null&&g(s,f),Qr(e,t,f)}catch(C){Ac(e,t,C)}finally{u!==null&&s.types!==null&&(u.types=s.types),O.T=u}}else try{u=l(n,a),Qr(e,t,u)}catch(C){Ac(e,t,C)}}function Qr(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Xr(e,t,a)},function(a){return Ac(e,t,a)}):Xr(e,t,l)}function Xr(e,t,l){t.status="fulfilled",t.value=l,Vr(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Gr(e,l)))}function Ac(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Vr(t),t=t.next;while(t!==a)}e.action=null}function Vr(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Zr(e,t){return t}function Jr(e,t){if(oe){var l=_e.formState;if(l!==null){e:{var a=le;if(oe){if(ze){t:{for(var n=ze,u=jt;n.nodeType!==8;){if(!u){n=null;break t}if(n=At(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){ze=At(n.nextSibling),a=n.data==="F!";break e}}yl(a)}a=!1}a&&(t=l[0])}}return l=Pe(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zr,lastRenderedState:t},l.queue=a,l=hf.bind(null,le,a),a.dispatch=l,a=Rc(!1),u=Hc.bind(null,le,!1,a.queue),a=Pe(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=Qy.bind(null,le,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Kr(e){var t=Ue();return $r(t,be,e)}function $r(e,t,l){if(t=Cc(e,t,Zr)[0],e=Cu(Pt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=pn(t)}catch(s){throw s===Sa?vu:s}else a=t;t=Ue();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(le.flags|=2048,Na(9,{destroy:void 0},Xy.bind(null,n,l),null)),[a,u,e]}function Xy(e,t){e.action=t}function Wr(e){var t=Ue(),l=be;if(l!==null)return $r(t,l,e);Ue(),t=t.memoizedState,l=Ue();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Na(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=le.updateQueue,t===null&&(t=zu(),le.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 Fr(){return Ue().memoizedState}function ju(e,t,l,a){var n=Pe();le.flags|=e,n.memoizedState=Na(1|t,{destroy:void 0},l,a===void 0?null:a)}function Ru(e,t,l,a){var n=Ue();a=a===void 0?null:a;var u=n.memoizedState.inst;be!==null&&a!==null&&Sc(a,be.memoizedState.deps)?n.memoizedState=Na(t,u,l,a):(le.flags|=e,n.memoizedState=Na(1|t,u,l,a))}function Ir(e,t){ju(8390656,8,e,t)}function Oc(e,t){Ru(2048,8,e,t)}function Vy(e){le.flags|=4;var t=le.updateQueue;if(t===null)t=zu(),le.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Pr(e){var t=Ue().memoizedState;return Vy({ref:t,nextImpl:e}),function(){if((de&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function ef(e,t){return Ru(4,2,e,t)}function tf(e,t){return Ru(4,4,e,t)}function lf(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 af(e,t,l){l=l!=null?l.concat([e]):null,Ru(4,4,lf.bind(null,t,e),l)}function Mc(){}function nf(e,t){var l=Ue();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Sc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function uf(e,t){var l=Ue();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Sc(t,a[1]))return a[0];if(a=e(),Wl){rl(!0);try{e()}finally{rl(!1)}}return l.memoizedState=[a,t],a}function Dc(e,t,l){return l===void 0||(It&1073741824)!==0&&(ce&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=cd(),le.lanes|=e,Tl|=e,l)}function cf(e,t,l,a){return dt(l,t)?l:_a.current!==null?(e=Dc(e,l,a),dt(e,t)||(Le=!0),e):(It&42)===0||(It&1073741824)!==0&&(ce&261930)===0?(Le=!0,e.memoizedState=l):(e=cd(),le.lanes|=e,Tl|=e,t)}function sf(e,t,l,a,n){var u=Y.p;Y.p=u!==0&&8>u?u:8;var s=O.T,f={};O.T=f,Hc(e,!1,t,l);try{var g=n(),C=O.S;if(C!==null&&C(f,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var A=qy(g,a);vn(e,t,A,gt(e))}else vn(e,t,a,gt(e))}catch(D){vn(e,t,{then:function(){},status:"rejected",reason:D},gt())}finally{Y.p=u,s!==null&&f.types!==null&&(s.types=f.types),O.T=s}}function Zy(){}function Uc(e,t,l,a){if(e.tag!==5)throw Error(o(476));var n=of(e).queue;sf(e,n,t,F,l===null?Zy:function(){return rf(e),l(a)})}function of(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:F},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rf(e){var t=of(e);t.next===null&&(t=e.alternate.memoizedState),vn(e,t.next.queue,{},gt())}function wc(){return Ve(Un)}function ff(){return Ue().memoizedState}function df(){return Ue().memoizedState}function Jy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=gt();e=gl(l);var a=bl(t,e,l);a!==null&&(it(a,t,l),dn(a,t,l)),t={cache:rc()},e.payload=t;return}t=t.return}}function Ky(e,t,l){var a=gt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Au(e)?mf(t,l):(l=Pi(e,t,l,a),l!==null&&(it(l,e,a),yf(l,t,a)))}function hf(e,t,l){var a=gt();vn(e,t,l,a)}function vn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Au(e))mf(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var s=t.lastRenderedState,f=u(s,l);if(n.hasEagerState=!0,n.eagerState=f,dt(f,s))return ru(e,t,n,0),_e===null&&ou(),!1}catch{}finally{}if(l=Pi(e,t,n,a),l!==null)return it(l,e,a),yf(l,t,a),!0}return!1}function Hc(e,t,l,a){if(a={lane:2,revertLane:ms(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Au(e)){if(t)throw Error(o(479))}else t=Pi(e,l,a,2),t!==null&&it(t,e,2)}function Au(e){var t=e.alternate;return e===le||t!==null&&t===le}function mf(e,t){Ta=_u=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function yf(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,bo(e,l)}}var gn={readContext:Ve,use:Nu,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useLayoutEffect:Re,useInsertionEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useSyncExternalStore:Re,useId:Re,useHostTransitionStatus:Re,useFormState:Re,useActionState:Re,useOptimistic:Re,useMemoCache:Re,useCacheRefresh:Re};gn.useEffectEvent=Re;var pf={readContext:Ve,use:Nu,useCallback:function(e,t){return Pe().memoizedState=[e,t===void 0?null:t],e},useContext:Ve,useEffect:Ir,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ju(4194308,4,lf.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ju(4194308,4,e,t)},useInsertionEffect:function(e,t){ju(4,2,e,t)},useMemo:function(e,t){var l=Pe();t=t===void 0?null:t;var a=e();if(Wl){rl(!0);try{e()}finally{rl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=Pe();if(l!==void 0){var n=l(t);if(Wl){rl(!0);try{l(t)}finally{rl(!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=Ky.bind(null,le,e),[a.memoizedState,e]},useRef:function(e){var t=Pe();return e={current:e},t.memoizedState=e},useState:function(e){e=Rc(e);var t=e.queue,l=hf.bind(null,le,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Mc,useDeferredValue:function(e,t){var l=Pe();return Dc(l,e,t)},useTransition:function(){var e=Rc(!1);return e=sf.bind(null,le,e.queue,!0,!1),Pe().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=le,n=Pe();if(oe){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),_e===null)throw Error(o(349));(ce&127)!==0||Hr(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Ir(Lr.bind(null,a,u,e),[e]),a.flags|=2048,Na(9,{destroy:void 0},kr.bind(null,a,u,l,t),null),l},useId:function(){var e=Pe(),t=_e.identifierPrefix;if(oe){var l=Yt,a=qt;l=(a&~(1<<32-ft(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Tu++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Yy++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:wc,useFormState:Jr,useActionState:Jr,useOptimistic:function(e){var t=Pe();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Hc.bind(null,le,!0,l),l.dispatch=t,[e,t]},useMemoCache:Nc,useCacheRefresh:function(){return Pe().memoizedState=Jy.bind(null,le)},useEffectEvent:function(e){var t=Pe(),l={impl:e};return t.memoizedState=l,function(){if((de&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},kc={readContext:Ve,use:Nu,useCallback:nf,useContext:Ve,useEffect:Oc,useImperativeHandle:af,useInsertionEffect:ef,useLayoutEffect:tf,useMemo:uf,useReducer:Cu,useRef:Fr,useState:function(){return Cu(Pt)},useDebugValue:Mc,useDeferredValue:function(e,t){var l=Ue();return cf(l,be.memoizedState,e,t)},useTransition:function(){var e=Cu(Pt)[0],t=Ue().memoizedState;return[typeof e=="boolean"?e:pn(e),t]},useSyncExternalStore:wr,useId:ff,useHostTransitionStatus:wc,useFormState:Kr,useActionState:Kr,useOptimistic:function(e,t){var l=Ue();return Yr(l,be,e,t)},useMemoCache:Nc,useCacheRefresh:df};kc.useEffectEvent=Pr;var vf={readContext:Ve,use:Nu,useCallback:nf,useContext:Ve,useEffect:Oc,useImperativeHandle:af,useInsertionEffect:ef,useLayoutEffect:tf,useMemo:uf,useReducer:jc,useRef:Fr,useState:function(){return jc(Pt)},useDebugValue:Mc,useDeferredValue:function(e,t){var l=Ue();return be===null?Dc(l,e,t):cf(l,be.memoizedState,e,t)},useTransition:function(){var e=jc(Pt)[0],t=Ue().memoizedState;return[typeof e=="boolean"?e:pn(e),t]},useSyncExternalStore:wr,useId:ff,useHostTransitionStatus:wc,useFormState:Wr,useActionState:Wr,useOptimistic:function(e,t){var l=Ue();return be!==null?Yr(l,be,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Nc,useCacheRefresh:df};vf.useEffectEvent=Pr;function Lc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:_({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Bc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=gt(),n=gl(a);n.payload=t,l!=null&&(n.callback=l),t=bl(e,n,a),t!==null&&(it(t,e,a),dn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=gt(),n=gl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=bl(e,n,a),t!==null&&(it(t,e,a),dn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=gt(),a=gl(l);a.tag=2,t!=null&&(a.callback=t),t=bl(e,a,l),t!==null&&(it(t,e,l),dn(t,e,l))}};function gf(e,t,l,a,n,u,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,s):t.prototype&&t.prototype.isPureReactComponent?!an(l,a)||!an(n,u):!0}function bf(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&&Bc.enqueueReplaceState(t,t.state,null)}function Fl(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=_({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function xf(e){su(e)}function Sf(e){console.error(e)}function Ef(e){su(e)}function Ou(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function _f(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 qc(e,t,l){return l=gl(l),l.tag=3,l.payload={element:null},l.callback=function(){Ou(e,t)},l}function Tf(e){return e=gl(e),e.tag=3,e}function zf(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(){_f(t,l,a)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){_f(t,l,a),typeof n!="function"&&(zl===null?zl=new Set([this]):zl.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function $y(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&ga(t,l,n,!0),l=mt.current,l!==null){switch(l.tag){case 31:case 13:return Rt===null?Qu():l.alternate===null&&Ae===0&&(Ae=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===gu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),fs(e,a,n)),!1;case 22:return l.flags|=65536,a===gu?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)),fs(e,a,n)),!1}throw Error(o(435,l.tag))}return fs(e,a,n),Qu(),!1}if(oe)return t=mt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==uc&&(e=Error(o(422),{cause:a}),cn(zt(e,l)))):(a!==uc&&(t=Error(o(423),{cause:a}),cn(zt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=zt(a,l),n=qc(e.stateNode,a,n),pc(e,n),Ae!==4&&(Ae=2)),!1;var u=Error(o(520),{cause:a});if(u=zt(u,l),Nn===null?Nn=[u]:Nn.push(u),Ae!==4&&(Ae=2),t===null)return!0;a=zt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=qc(l.stateNode,a,e),pc(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"&&(zl===null||!zl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Tf(n),zf(n,e,l,a),pc(l,n),!1}l=l.return}while(l!==null);return!1}var Yc=Error(o(461)),Le=!1;function Ze(e,t,l,a){t.child=e===null?jr(t,null,l,a):$l(t,e.child,l,a)}function Nf(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var s={};for(var f in a)f!=="ref"&&(s[f]=a[f])}else s=a;return Vl(t),a=Ec(e,t,l,s,u,n),f=_c(),e!==null&&!Le?(Tc(e,t,n),el(e,t,n)):(oe&&f&&ac(t),t.flags|=1,Ze(e,t,a,n),t.child)}function Cf(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!ec(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,jf(e,t,u,a,n)):(e=du(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!$c(e,n)){var s=u.memoizedProps;if(l=l.compare,l=l!==null?l:an,l(s,a)&&e.ref===t.ref)return el(e,t,n)}return t.flags|=1,e=Kt(u,a),e.ref=t.ref,e.return=t,t.child=e}function jf(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(an(u,a)&&e.ref===t.ref)if(Le=!1,t.pendingProps=a=u,$c(e,n))(e.flags&131072)!==0&&(Le=!0);else return t.lanes=e.lanes,el(e,t,n)}return Gc(e,t,l,a,n)}function Rf(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 Af(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pu(t,u!==null?u.cachePool:null),u!==null?Or(t,u):gc(),Mr(t);else return a=t.lanes=536870912,Af(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(pu(t,u.cachePool),Or(t,u),Sl(),t.memoizedState=null):(e!==null&&pu(t,null),gc(),Sl());return Ze(e,t,n,l),t.child}function bn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Af(e,t,l,a,n){var u=dc();return u=u===null?null:{parent:He._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&pu(t,null),gc(),Mr(t),e!==null&&ga(e,t,a,!0),t.childLanes=n,null}function Mu(e,t){return t=Uu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Of(e,t,l){return $l(t,e.child,null,l),e=Mu(t,t.pendingProps),e.flags|=2,yt(t),t.memoizedState=null,e}function Wy(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(oe){if(a.mode==="hidden")return e=Mu(t,a),t.lanes=536870912,bn(null,e);if(xc(t),(e=ze)?(e=Qd(e,jt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:hl!==null?{id:qt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},l=hr(e),l.return=t,t.child=l,Xe=t,ze=null)):e=null,e===null)throw yl(t);return t.lanes=536870912,null}return Mu(t,a)}var u=e.memoizedState;if(u!==null){var s=u.dehydrated;if(xc(t),n)if(t.flags&256)t.flags&=-257,t=Of(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Le||ga(e,t,l,!1),n=(l&e.childLanes)!==0,Le||n){if(a=_e,a!==null&&(s=xo(a,l),s!==0&&s!==u.retryLane))throw u.retryLane=s,Yl(e,s),it(a,e,s),Yc;Qu(),t=Of(e,t,l)}else e=u.treeContext,ze=At(s.nextSibling),Xe=t,oe=!0,ml=null,jt=!1,e!==null&&pr(t,e),t=Mu(t,a),t.flags|=4096;return t}return e=Kt(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Du(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(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Gc(e,t,l,a,n){return Vl(t),l=Ec(e,t,l,a,void 0,n),a=_c(),e!==null&&!Le?(Tc(e,t,n),el(e,t,n)):(oe&&a&&ac(t),t.flags|=1,Ze(e,t,l,n),t.child)}function Mf(e,t,l,a,n,u){return Vl(t),t.updateQueue=null,l=Ur(t,a,l,n),Dr(e),a=_c(),e!==null&&!Le?(Tc(e,t,u),el(e,t,u)):(oe&&a&&ac(t),t.flags|=1,Ze(e,t,l,u),t.child)}function Df(e,t,l,a,n){if(Vl(t),t.stateNode===null){var u=ma,s=l.contextType;typeof s=="object"&&s!==null&&(u=Ve(s)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Bc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},mc(t),s=l.contextType,u.context=typeof s=="object"&&s!==null?Ve(s):ma,u.state=t.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Lc(t,l,s,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(s=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),s!==u.state&&Bc.enqueueReplaceState(u,u.state,null),mn(t,a,u,n),hn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var f=t.memoizedProps,g=Fl(l,f);u.props=g;var C=u.context,A=l.contextType;s=ma,typeof A=="object"&&A!==null&&(s=Ve(A));var D=l.getDerivedStateFromProps;A=typeof D=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,A||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||C!==s)&&bf(t,u,a,s),vl=!1;var j=t.memoizedState;u.state=j,mn(t,a,u,n),hn(),C=t.memoizedState,f||j!==C||vl?(typeof D=="function"&&(Lc(t,l,D,a),C=t.memoizedState),(g=vl||gf(t,l,g,a,j,C,s))?(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=C),u.props=a,u.state=C,u.context=s,a=g):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,yc(e,t),s=t.memoizedProps,A=Fl(l,s),u.props=A,D=t.pendingProps,j=u.context,C=l.contextType,g=ma,typeof C=="object"&&C!==null&&(g=Ve(C)),f=l.getDerivedStateFromProps,(C=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s!==D||j!==g)&&bf(t,u,a,g),vl=!1,j=t.memoizedState,u.state=j,mn(t,a,u,n),hn();var R=t.memoizedState;s!==D||j!==R||vl||e!==null&&e.dependencies!==null&&mu(e.dependencies)?(typeof f=="function"&&(Lc(t,l,f,a),R=t.memoizedState),(A=vl||gf(t,l,A,a,j,R,g)||e!==null&&e.dependencies!==null&&mu(e.dependencies))?(C||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,R,g),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,R,g)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=R),u.props=a,u.state=R,u.context=g,a=A):(typeof u.componentDidUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,Du(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=$l(t,e.child,null,n),t.child=$l(t,null,l,n)):Ze(e,t,l,n),t.memoizedState=u.state,e=t.child):e=el(e,t,n),e}function Uf(e,t,l,a){return Ql(),t.flags|=256,Ze(e,t,l,a),t.child}var Qc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xc(e){return{baseLanes:e,cachePool:Er()}}function Vc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=vt),e}function wf(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,s;if((s=u)||(s=e!==null&&e.memoizedState===null?!1:(De.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(oe){if(n?xl(t):Sl(),(e=ze)?(e=Qd(e,jt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:hl!==null?{id:qt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},l=hr(e),l.return=t,t.child=l,Xe=t,ze=null)):e=null,e===null)throw yl(t);return Cs(e)?t.lanes=32:t.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Sl(),n=t.mode,f=Uu({mode:"hidden",children:f},n),a=Gl(a,n,l,null),f.return=t,a.return=t,f.sibling=a,t.child=f,a=t.child,a.memoizedState=Xc(l),a.childLanes=Vc(e,s,l),t.memoizedState=Qc,bn(null,a)):(xl(t),Zc(t,f))}var g=e.memoizedState;if(g!==null&&(f=g.dehydrated,f!==null)){if(u)t.flags&256?(xl(t),t.flags&=-257,t=Jc(e,t,l)):t.memoizedState!==null?(Sl(),t.child=e.child,t.flags|=128,t=null):(Sl(),f=a.fallback,n=t.mode,a=Uu({mode:"visible",children:a.children},n),f=Gl(f,n,l,null),f.flags|=2,a.return=t,f.return=t,a.sibling=f,t.child=a,$l(t,e.child,null,l),a=t.child,a.memoizedState=Xc(l),a.childLanes=Vc(e,s,l),t.memoizedState=Qc,t=bn(null,a));else if(xl(t),Cs(f)){if(s=f.nextSibling&&f.nextSibling.dataset,s)var C=s.dgst;s=C,a=Error(o(419)),a.stack="",a.digest=s,cn({value:a,source:null,stack:null}),t=Jc(e,t,l)}else if(Le||ga(e,t,l,!1),s=(l&e.childLanes)!==0,Le||s){if(s=_e,s!==null&&(a=xo(s,l),a!==0&&a!==g.retryLane))throw g.retryLane=a,Yl(e,a),it(s,e,a),Yc;Ns(f)||Qu(),t=Jc(e,t,l)}else Ns(f)?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,ze=At(f.nextSibling),Xe=t,oe=!0,ml=null,jt=!1,e!==null&&pr(t,e),t=Zc(t,a.children),t.flags|=4096);return t}return n?(Sl(),f=a.fallback,n=t.mode,g=e.child,C=g.sibling,a=Kt(g,{mode:"hidden",children:a.children}),a.subtreeFlags=g.subtreeFlags&65011712,C!==null?f=Kt(C,f):(f=Gl(f,n,l,null),f.flags|=2),f.return=t,a.return=t,a.sibling=f,t.child=a,bn(null,a),a=t.child,f=e.child.memoizedState,f===null?f=Xc(l):(n=f.cachePool,n!==null?(g=He._currentValue,n=n.parent!==g?{parent:g,pool:g}:n):n=Er(),f={baseLanes:f.baseLanes|l,cachePool:n}),a.memoizedState=f,a.childLanes=Vc(e,s,l),t.memoizedState=Qc,bn(e.child,a)):(xl(t),l=e.child,e=l.sibling,l=Kt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=l,t.memoizedState=null,l)}function Zc(e,t){return t=Uu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Uu(e,t){return e=ht(22,e,null,t),e.lanes=0,e}function Jc(e,t,l){return $l(t,e.child,null,l),e=Zc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Hf(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),sc(e.return,t,l)}function Kc(e,t,l,a,n,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=l,s.tailMode=n,s.treeForkCount=u)}function kf(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var s=De.current,f=(s&2)!==0;if(f?(s=s&1|2,t.flags|=128):s&=1,G(De,s),Ze(e,t,a,l),a=oe?un:0,!f&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Hf(e,l,t);else if(e.tag===19)Hf(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"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&Eu(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Kc(t,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Eu(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Kc(t,!0,l,null,u,a);break;case"together":Kc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function el(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Tl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ga(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=Kt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Kt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function $c(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&mu(e)))}function Fy(e,t,l){switch(t.tag){case 3:Ie(t,t.stateNode.containerInfo),pl(t,He,e.memoizedState.cache),Ql();break;case 27:case 5:Xa(t);break;case 4:Ie(t,t.stateNode.containerInfo);break;case 10:pl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,xc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(xl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?wf(e,t,l):(xl(t),e=el(e,t,l),e!==null?e.sibling:null);xl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(ga(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return kf(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),G(De,De.current),a)break;return null;case 22:return t.lanes=0,Rf(e,t,l,t.pendingProps);case 24:pl(t,He,e.memoizedState.cache)}return el(e,t,l)}function Lf(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Le=!0;else{if(!$c(e,l)&&(t.flags&128)===0)return Le=!1,Fy(e,t,l);Le=(e.flags&131072)!==0}else Le=!1,oe&&(t.flags&1048576)!==0&&yr(t,un,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Jl(t.elementType),t.type=e,typeof e=="function")ec(e)?(a=Fl(e,a),t.tag=1,t=Df(null,t,e,a,l)):(t.tag=0,t=Gc(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===ve){t.tag=11,t=Nf(null,t,e,a,l);break e}else if(n===P){t.tag=14,t=Cf(null,t,e,a,l);break e}}throw t=St(e)||e,Error(o(306,t,""))}}return t;case 0:return Gc(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Fl(a,t.pendingProps),Df(e,t,a,n,l);case 3:e:{if(Ie(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,yc(e,t),mn(t,a,null,l);var s=t.memoizedState;if(a=s.cache,pl(t,He,a),a!==u.cache&&oc(t,[He],l,!0),hn(),a=s.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Uf(e,t,a,l);break e}else if(a!==n){n=zt(Error(o(424)),t),cn(n),t=Uf(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(ze=At(e.firstChild),Xe=t,oe=!0,ml=null,jt=!0,l=jr(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ql(),a===n){t=el(e,t,l);break e}Ze(e,t,a,l)}t=t.child}return t;case 26:return Du(e,t),e===null?(l=$d(t.type,null,t.pendingProps,null))?t.memoizedState=l:oe||(l=t.type,e=t.pendingProps,a=Wu(ne.current).createElement(l),a[Qe]=t,a[et]=e,Je(a,l,e),Ye(a),t.stateNode=a):t.memoizedState=$d(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Xa(t),e===null&&oe&&(a=t.stateNode=Zd(t.type,t.pendingProps,ne.current),Xe=t,jt=!0,n=ze,Rl(t.type)?(js=n,ze=At(a.firstChild)):ze=n),Ze(e,t,t.pendingProps.children,l),Du(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&oe&&((n=a=ze)&&(a=C0(a,t.type,t.pendingProps,jt),a!==null?(t.stateNode=a,Xe=t,ze=At(a.firstChild),jt=!1,n=!0):n=!1),n||yl(t)),Xa(t),n=t.type,u=t.pendingProps,s=e!==null?e.memoizedProps:null,a=u.children,_s(n,u)?a=null:s!==null&&_s(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=Ec(e,t,Gy,null,null,l),Un._currentValue=n),Du(e,t),Ze(e,t,a,l),t.child;case 6:return e===null&&oe&&((e=l=ze)&&(l=j0(l,t.pendingProps,jt),l!==null?(t.stateNode=l,Xe=t,ze=null,e=!0):e=!1),e||yl(t)),null;case 13:return wf(e,t,l);case 4:return Ie(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=$l(t,null,a,l):Ze(e,t,a,l),t.child;case 11:return Nf(e,t,t.type,t.pendingProps,l);case 7:return Ze(e,t,t.pendingProps,l),t.child;case 8:return Ze(e,t,t.pendingProps.children,l),t.child;case 12:return Ze(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,pl(t,t.type,a.value),Ze(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Vl(t),n=Ve(n),a=a(n),t.flags|=1,Ze(e,t,a,l),t.child;case 14:return Cf(e,t,t.type,t.pendingProps,l);case 15:return jf(e,t,t.type,t.pendingProps,l);case 19:return kf(e,t,l);case 31:return Wy(e,t,l);case 22:return Rf(e,t,l,t.pendingProps);case 24:return Vl(t),a=Ve(He),e===null?(n=dc(),n===null&&(n=_e,u=rc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},mc(t),pl(t,He,n)):((e.lanes&l)!==0&&(yc(e,t),mn(t,null,null,l),hn()),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),pl(t,He,a)):(a=u.cache,pl(t,He,a),a!==n.cache&&oc(t,[He],l,!0))),Ze(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function tl(e){e.flags|=4}function Wc(e,t,l,a,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(fd())e.flags|=8192;else throw Kl=gu,hc}else e.flags&=-16777217}function Bf(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!eh(t))if(fd())e.flags|=8192;else throw Kl=gu,hc}function wu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?vo():536870912,e.lanes|=t,Aa|=t)}function xn(e,t){if(!oe)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var 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}}function Ne(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&65011712,a|=n.flags&65011712,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 Iy(e,t,l){var a=t.pendingProps;switch(nc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return Ne(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ft(He),Me(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(va(t)?tl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ic())),Ne(t),null;case 26:var n=t.type,u=t.memoizedState;return e===null?(tl(t),u!==null?(Ne(t),Bf(t,u)):(Ne(t),Wc(t,n,null,a,l))):u?u!==e.memoizedState?(tl(t),Ne(t),Bf(t,u)):(Ne(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&tl(t),Ne(t),Wc(t,n,e,a,l)),null;case 27:if(Zn(t),l=ne.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&tl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ne(t),null}e=V.current,va(t)?vr(t):(e=Zd(n,a,l),t.stateNode=e,tl(t))}return Ne(t),null;case 5:if(Zn(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&tl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ne(t),null}if(u=V.current,va(t))vr(t);else{var s=Wu(ne.current);switch(u){case 1:u=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=s.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}u[Qe]=t,u[et]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=u;e:switch(Je(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&&tl(t)}}return Ne(t),Wc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&tl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=ne.current,va(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[Qe]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||wd(e.nodeValue,l)),e||yl(t,!0)}else e=Wu(e).createTextNode(a),e[Qe]=t,t.stateNode=e}return Ne(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=va(t),l!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Qe]=t}else Ql(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),e=!1}else l=ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(yt(t),t):(yt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Ne(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=va(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Qe]=t}else Ql(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),n=!1}else n=ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(yt(t),t):(yt(t),null)}return yt(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),wu(t,t.updateQueue),Ne(t),null);case 4:return Me(),e===null&&gs(t.stateNode.containerInfo),Ne(t),null;case 10:return Ft(t.type),Ne(t),null;case 19:if(w(De),a=t.memoizedState,a===null)return Ne(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)xn(a,!1);else{if(Ae!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Eu(e),u!==null){for(t.flags|=128,xn(a,!1),e=u.updateQueue,t.updateQueue=e,wu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)dr(l,e),l=l.sibling;return G(De,De.current&1|2),oe&&$t(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&ot()>qu&&(t.flags|=128,n=!0,xn(a,!1),t.lanes=4194304)}else{if(!n)if(e=Eu(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,wu(t,e),xn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!oe)return Ne(t),null}else 2*ot()-a.renderingStartTime>qu&&l!==536870912&&(t.flags|=128,n=!0,xn(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)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=ot(),e.sibling=null,l=De.current,G(De,n?l&1|2:l&1),oe&&$t(t,a.treeForkCount),e):(Ne(t),null);case 22:case 23:return yt(t),bc(),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&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),l=t.updateQueue,l!==null&&wu(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&&w(Zl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Ft(He),Ne(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Py(e,t){switch(nc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ft(He),Me(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Zn(t),null;case 31:if(t.memoizedState!==null){if(yt(t),t.alternate===null)throw Error(o(340));Ql()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(yt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ql()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return w(De),null;case 4:return Me(),null;case 10:return Ft(t.type),null;case 22:case 23:return yt(t),bc(),e!==null&&w(Zl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ft(He),null;case 25:return null;default:return null}}function qf(e,t){switch(nc(t),t.tag){case 3:Ft(He),Me();break;case 26:case 27:case 5:Zn(t);break;case 4:Me();break;case 31:t.memoizedState!==null&&yt(t);break;case 13:yt(t);break;case 19:w(De);break;case 10:Ft(t.type);break;case 22:case 23:yt(t),bc(),e!==null&&w(Zl);break;case 24:Ft(He)}}function Sn(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,s=l.inst;a=u(),s.destroy=a}l=l.next}while(l!==n)}}catch(f){pe(t,t.return,f)}}function El(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 s=a.inst,f=s.destroy;if(f!==void 0){s.destroy=void 0,n=t;var g=l,C=f;try{C()}catch(A){pe(n,g,A)}}}a=a.next}while(a!==u)}}catch(A){pe(t,t.return,A)}}function Yf(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Ar(t,l)}catch(a){pe(e,e.return,a)}}}function Gf(e,t,l){l.props=Fl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){pe(e,t,a)}}function En(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:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){pe(e,t,n)}}function Gt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){pe(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){pe(e,t,n)}else l.current=null}function Qf(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){pe(e,e.return,n)}}function Fc(e,t,l){try{var a=e.stateNode;S0(a,e.type,l,t),a[et]=t}catch(n){pe(e,e.return,n)}}function Xf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Rl(e.type)||e.tag===4}function Ic(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xf(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&&Rl(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 Pc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Zt));else if(a!==4&&(a===27&&Rl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Pc(e,t,l),e=e.sibling;e!==null;)Pc(e,t,l),e=e.sibling}function Hu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Rl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Hu(e,t,l),e=e.sibling;e!==null;)Hu(e,t,l),e=e.sibling}function Vf(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Je(t,a,l),t[Qe]=e,t[et]=l}catch(u){pe(e,e.return,u)}}var ll=!1,Be=!1,es=!1,Zf=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function e0(e,t){if(e=e.containerInfo,Ss=ai,e=ar(e),Ji(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var s=0,f=-1,g=-1,C=0,A=0,D=e,j=null;t:for(;;){for(var R;D!==l||n!==0&&D.nodeType!==3||(f=s+n),D!==u||a!==0&&D.nodeType!==3||(g=s+a),D.nodeType===3&&(s+=D.nodeValue.length),(R=D.firstChild)!==null;)j=D,D=R;for(;;){if(D===e)break t;if(j===l&&++C===n&&(f=s),j===u&&++A===a&&(g=s),(R=D.nextSibling)!==null)break;D=j,j=D.parentNode}D=R}l=f===-1||g===-1?null:{start:f,end:g}}else l=null}l=l||{start:0,end:0}}else l=null;for(Es={focusedElem:e,selectionRange:l},ai=!1,Ge=t;Ge!==null;)if(t=Ge,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ge=e;else for(;Ge!==null;){switch(t=Ge,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)n=e[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var X=Fl(l.type,n);e=a.getSnapshotBeforeUpdate(X,u),a.__reactInternalSnapshotBeforeUpdate=e}catch($){pe(l,l.return,$)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)zs(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":zs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Ge=e;break}Ge=t.return}}function Jf(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:nl(e,l),a&4&&Sn(5,l);break;case 1:if(nl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(s){pe(l,l.return,s)}else{var n=Fl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){pe(l,l.return,s)}}a&64&&Yf(l),a&512&&En(l,l.return);break;case 3:if(nl(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{Ar(e,t)}catch(s){pe(l,l.return,s)}}break;case 27:t===null&&a&4&&Vf(l);case 26:case 5:nl(e,l),t===null&&a&4&&Qf(l),a&512&&En(l,l.return);break;case 12:nl(e,l);break;case 31:nl(e,l),a&4&&Wf(e,l);break;case 13:nl(e,l),a&4&&Ff(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=o0.bind(null,l),R0(e,l))));break;case 22:if(a=l.memoizedState!==null||ll,!a){t=t!==null&&t.memoizedState!==null||Be,n=ll;var u=Be;ll=a,(Be=t)&&!u?ul(e,l,(l.subtreeFlags&8772)!==0):nl(e,l),ll=n,Be=u}break;case 30:break;default:nl(e,l)}}function Kf(e){var t=e.alternate;t!==null&&(e.alternate=null,Kf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ai(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ce=null,lt=!1;function al(e,t,l){for(l=l.child;l!==null;)$f(e,t,l),l=l.sibling}function $f(e,t,l){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(Va,l)}catch{}switch(l.tag){case 26:Be||Gt(l,t),al(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Be||Gt(l,t);var a=Ce,n=lt;Rl(l.type)&&(Ce=l.stateNode,lt=!1),al(e,t,l),On(l.stateNode),Ce=a,lt=n;break;case 5:Be||Gt(l,t);case 6:if(a=Ce,n=lt,Ce=null,al(e,t,l),Ce=a,lt=n,Ce!==null)if(lt)try{(Ce.nodeType===9?Ce.body:Ce.nodeName==="HTML"?Ce.ownerDocument.body:Ce).removeChild(l.stateNode)}catch(u){pe(l,t,u)}else try{Ce.removeChild(l.stateNode)}catch(u){pe(l,t,u)}break;case 18:Ce!==null&&(lt?(e=Ce,Yd(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),La(e)):Yd(Ce,l.stateNode));break;case 4:a=Ce,n=lt,Ce=l.stateNode.containerInfo,lt=!0,al(e,t,l),Ce=a,lt=n;break;case 0:case 11:case 14:case 15:El(2,l,t),Be||El(4,l,t),al(e,t,l);break;case 1:Be||(Gt(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Gf(l,t,a)),al(e,t,l);break;case 21:al(e,t,l);break;case 22:Be=(a=Be)||l.memoizedState!==null,al(e,t,l),Be=a;break;default:al(e,t,l)}}function Wf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{La(e)}catch(l){pe(t,t.return,l)}}}function Ff(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{La(e)}catch(l){pe(t,t.return,l)}}function t0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Zf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Zf),t;default:throw Error(o(435,e.tag))}}function ku(e,t){var l=t0(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=r0.bind(null,e,a);a.then(n,n)}})}function at(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=e,s=t,f=s;e:for(;f!==null;){switch(f.tag){case 27:if(Rl(f.type)){Ce=f.stateNode,lt=!1;break e}break;case 5:Ce=f.stateNode,lt=!1;break e;case 3:case 4:Ce=f.stateNode.containerInfo,lt=!0;break e}f=f.return}if(Ce===null)throw Error(o(160));$f(u,s,n),Ce=null,lt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)If(t,e),t=t.sibling}var Ut=null;function If(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:at(t,e),nt(e),a&4&&(El(3,e,e.return),Sn(3,e),El(5,e,e.return));break;case 1:at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),a&64&&ll&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Ut;if(at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Ka]||u[Qe]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Je(u,a,l),u[Qe]=e,Ye(u),a=u;break e;case"link":var s=Id("link","href",n).get(a+(l.href||""));if(s){for(var f=0;f<s.length;f++)if(u=s[f],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(f,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;case"meta":if(s=Id("meta","content",n).get(a+(l.content||""))){for(f=0;f<s.length;f++)if(u=s[f],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(f,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Qe]=e,Ye(u),a=u}e.stateNode=a}else Pd(n,e.type,e.stateNode);else e.stateNode=Fd(n,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Pd(n,e.type,e.stateNode):Fd(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Fc(e,e.memoizedProps,l.memoizedProps)}break;case 27:at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),l!==null&&a&4&&Fc(e,e.memoizedProps,l.memoizedProps);break;case 5:if(at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),e.flags&32){n=e.stateNode;try{ca(n,"")}catch(X){pe(e,e.return,X)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,Fc(e,n,l!==null?l.memoizedProps:n)),a&1024&&(es=!0);break;case 6:if(at(t,e),nt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(X){pe(e,e.return,X)}}break;case 3:if(Pu=null,n=Ut,Ut=Fu(t.containerInfo),at(t,e),Ut=n,nt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{La(t.containerInfo)}catch(X){pe(e,e.return,X)}es&&(es=!1,Pf(e));break;case 4:a=Ut,Ut=Fu(e.stateNode.containerInfo),at(t,e),nt(e),Ut=a;break;case 12:at(t,e),nt(e);break;case 31:at(t,e),nt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 13:at(t,e),nt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Bu=ot()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 22:n=e.memoizedState!==null;var g=l!==null&&l.memoizedState!==null,C=ll,A=Be;if(ll=C||n,Be=A||g,at(t,e),Be=A,ll=C,nt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||g||ll||Be||Il(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){g=l=t;try{if(u=g.stateNode,n)s=u.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{f=g.stateNode;var D=g.memoizedProps.style,j=D!=null&&D.hasOwnProperty("display")?D.display:null;f.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(X){pe(g,g.return,X)}}}else if(t.tag===6){if(l===null){g=t;try{g.stateNode.nodeValue=n?"":g.memoizedProps}catch(X){pe(g,g.return,X)}}}else if(t.tag===18){if(l===null){g=t;try{var R=g.stateNode;n?Gd(R,!0):Gd(g.stateNode,!1)}catch(X){pe(g,g.return,X)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,ku(e,l))));break;case 19:at(t,e),nt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 30:break;case 21:break;default:at(t,e),nt(e)}}function nt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Xf(a)){l=a;break}a=a.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var n=l.stateNode,u=Ic(e);Hu(e,u,n);break;case 5:var s=l.stateNode;l.flags&32&&(ca(s,""),l.flags&=-33);var f=Ic(e);Hu(e,f,s);break;case 3:case 4:var g=l.stateNode.containerInfo,C=Ic(e);Pc(e,C,g);break;default:throw Error(o(161))}}catch(A){pe(e,e.return,A)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Pf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Pf(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function nl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Jf(e,t.alternate,t),t=t.sibling}function Il(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:El(4,t,t.return),Il(t);break;case 1:Gt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Gf(t,t.return,l),Il(t);break;case 27:On(t.stateNode);case 26:case 5:Gt(t,t.return),Il(t);break;case 22:t.memoizedState===null&&Il(t);break;case 30:Il(t);break;default:Il(t)}e=e.sibling}}function ul(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,s=u.flags;switch(u.tag){case 0:case 11:case 15:ul(n,u,l),Sn(4,u);break;case 1:if(ul(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(C){pe(a,a.return,C)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var g=n.shared.hiddenCallbacks;if(g!==null)for(n.shared.hiddenCallbacks=null,n=0;n<g.length;n++)Rr(g[n],f)}catch(C){pe(a,a.return,C)}}l&&s&64&&Yf(u),En(u,u.return);break;case 27:Vf(u);case 26:case 5:ul(n,u,l),l&&a===null&&s&4&&Qf(u),En(u,u.return);break;case 12:ul(n,u,l);break;case 31:ul(n,u,l),l&&s&4&&Wf(n,u);break;case 13:ul(n,u,l),l&&s&4&&Ff(n,u);break;case 22:u.memoizedState===null&&ul(n,u,l),En(u,u.return);break;case 30:break;default:ul(n,u,l)}t=t.sibling}}function ts(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&&sn(l))}function ls(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sn(e))}function wt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ed(e,t,l,a),t=t.sibling}function ed(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:wt(e,t,l,a),n&2048&&Sn(9,t);break;case 1:wt(e,t,l,a);break;case 3:wt(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sn(e)));break;case 12:if(n&2048){wt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,s=u.id,f=u.onPostCommit;typeof f=="function"&&f(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(g){pe(t,t.return,g)}}else wt(e,t,l,a);break;case 31:wt(e,t,l,a);break;case 13:wt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,s=t.alternate,t.memoizedState!==null?u._visibility&2?wt(e,t,l,a):_n(e,t):u._visibility&2?wt(e,t,l,a):(u._visibility|=2,Ca(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&ts(s,t);break;case 24:wt(e,t,l,a),n&2048&&ls(t.alternate,t);break;default:wt(e,t,l,a)}}function Ca(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,s=t,f=l,g=a,C=s.flags;switch(s.tag){case 0:case 11:case 15:Ca(u,s,f,g,n),Sn(8,s);break;case 23:break;case 22:var A=s.stateNode;s.memoizedState!==null?A._visibility&2?Ca(u,s,f,g,n):_n(u,s):(A._visibility|=2,Ca(u,s,f,g,n)),n&&C&2048&&ts(s.alternate,s);break;case 24:Ca(u,s,f,g,n),n&&C&2048&&ls(s.alternate,s);break;default:Ca(u,s,f,g,n)}t=t.sibling}}function _n(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:_n(l,a),n&2048&&ts(a.alternate,a);break;case 24:_n(l,a),n&2048&&ls(a.alternate,a);break;default:_n(l,a)}t=t.sibling}}var Tn=8192;function ja(e,t,l){if(e.subtreeFlags&Tn)for(e=e.child;e!==null;)td(e,t,l),e=e.sibling}function td(e,t,l){switch(e.tag){case 26:ja(e,t,l),e.flags&Tn&&e.memoizedState!==null&&Y0(l,Ut,e.memoizedState,e.memoizedProps);break;case 5:ja(e,t,l);break;case 3:case 4:var a=Ut;Ut=Fu(e.stateNode.containerInfo),ja(e,t,l),Ut=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Tn,Tn=16777216,ja(e,t,l),Tn=a):ja(e,t,l));break;default:ja(e,t,l)}}function ld(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 zn(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];Ge=a,nd(a,e)}ld(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ad(e),e=e.sibling}function ad(e){switch(e.tag){case 0:case 11:case 15:zn(e),e.flags&2048&&El(9,e,e.return);break;case 3:zn(e);break;case 12:zn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Lu(e)):zn(e);break;default:zn(e)}}function Lu(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];Ge=a,nd(a,e)}ld(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:El(8,t,t.return),Lu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Lu(t));break;default:Lu(t)}e=e.sibling}}function nd(e,t){for(;Ge!==null;){var l=Ge;switch(l.tag){case 0:case 11:case 15:El(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:sn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Ge=a;else e:for(l=e;Ge!==null;){a=Ge;var n=a.sibling,u=a.return;if(Kf(a),a===l){Ge=null;break e}if(n!==null){n.return=u,Ge=n;break e}Ge=u}}}var l0={getCacheForType:function(e){var t=Ve(He),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return Ve(He).controller.signal}},a0=typeof WeakMap=="function"?WeakMap:Map,de=0,_e=null,ue=null,ce=0,ye=0,pt=null,_l=!1,Ra=!1,as=!1,il=0,Ae=0,Tl=0,Pl=0,ns=0,vt=0,Aa=0,Nn=null,ut=null,us=!1,Bu=0,ud=0,qu=1/0,Yu=null,zl=null,qe=0,Nl=null,Oa=null,cl=0,is=0,cs=null,id=null,Cn=0,ss=null;function gt(){return(de&2)!==0&&ce!==0?ce&-ce:O.T!==null?ms():So()}function cd(){if(vt===0)if((ce&536870912)===0||oe){var e=$n;$n<<=1,($n&3932160)===0&&($n=262144),vt=e}else vt=536870912;return e=mt.current,e!==null&&(e.flags|=32),vt}function it(e,t,l){(e===_e&&(ye===2||ye===9)||e.cancelPendingCommit!==null)&&(Ma(e,0),Cl(e,ce,vt,!1)),Ja(e,l),((de&2)===0||e!==_e)&&(e===_e&&((de&2)===0&&(Pl|=l),Ae===4&&Cl(e,ce,vt,!1)),Qt(e))}function sd(e,t,l){if((de&6)!==0)throw Error(o(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Za(e,t),n=a?i0(e,t):rs(e,t,!0),u=a;do{if(n===0){Ra&&!a&&Cl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!n0(l)){n=rs(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var f=e;n=Nn;var g=f.current.memoizedState.isDehydrated;if(g&&(Ma(f,s).flags|=256),s=rs(f,s,!1),s!==2){if(as&&!g){f.errorRecoveryDisabledLanes|=u,Pl|=u,n=4;break e}u=ut,ut=n,u!==null&&(ut===null?ut=u:ut.push.apply(ut,u))}n=s}if(u=!1,n!==2)continue}}if(n===1){Ma(e,0),Cl(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Cl(a,t,vt,!_l);break e;case 2:ut=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=Bu+300-ot(),10<n)){if(Cl(a,t,vt,!_l),Fn(a,0,!0)!==0)break e;cl=t,a.timeoutHandle=Bd(od.bind(null,a,l,ut,Yu,us,t,vt,Pl,Aa,_l,u,"Throttled",-0,0),n);break e}od(a,l,ut,Yu,us,t,vt,Pl,Aa,_l,u,null,-0,0)}}break}while(!0);Qt(e)}function od(e,t,l,a,n,u,s,f,g,C,A,D,j,R){if(e.timeoutHandle=-1,D=t.subtreeFlags,D&8192||(D&16785408)===16785408){D={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Zt},td(t,u,D);var X=(u&62914560)===u?Bu-ot():(u&4194048)===u?ud-ot():0;if(X=G0(D,X),X!==null){cl=u,e.cancelPendingCommit=X(vd.bind(null,e,t,u,l,a,n,s,f,g,A,D,null,j,R)),Cl(e,u,s,!C);return}}vd(e,t,u,l,a,n,s,f,g)}function n0(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(!dt(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 Cl(e,t,l,a){t&=~ns,t&=~Pl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-ft(n),s=1<<u;a[u]=-1,n&=~s}l!==0&&go(e,l,t)}function Gu(){return(de&6)===0?(jn(0),!1):!0}function os(){if(ue!==null){if(ye===0)var e=ue.return;else e=ue,Wt=Xl=null,zc(e),Ea=null,rn=0,e=ue;for(;e!==null;)qf(e.alternate,e),e=e.return;ue=null}}function Ma(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,T0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),cl=0,os(),_e=e,ue=l=Kt(e.current,null),ce=t,ye=0,pt=null,_l=!1,Ra=Za(e,t),as=!1,Aa=vt=ns=Pl=Tl=Ae=0,ut=Nn=null,us=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-ft(a),u=1<<n;t|=e[n],a&=~u}return il=t,ou(),l}function rd(e,t){le=null,O.H=gn,t===Sa||t===vu?(t=zr(),ye=3):t===hc?(t=zr(),ye=4):ye=t===Yc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,pt=t,ue===null&&(Ae=1,Ou(e,zt(t,e.current)))}function fd(){var e=mt.current;return e===null?!0:(ce&4194048)===ce?Rt===null:(ce&62914560)===ce||(ce&536870912)!==0?e===Rt:!1}function dd(){var e=O.H;return O.H=gn,e===null?gn:e}function hd(){var e=O.A;return O.A=l0,e}function Qu(){Ae=4,_l||(ce&4194048)!==ce&&mt.current!==null||(Ra=!0),(Tl&134217727)===0&&(Pl&134217727)===0||_e===null||Cl(_e,ce,vt,!1)}function rs(e,t,l){var a=de;de|=2;var n=dd(),u=hd();(_e!==e||ce!==t)&&(Yu=null,Ma(e,t)),t=!1;var s=Ae;e:do try{if(ye!==0&&ue!==null){var f=ue,g=pt;switch(ye){case 8:os(),s=6;break e;case 3:case 2:case 9:case 6:mt.current===null&&(t=!0);var C=ye;if(ye=0,pt=null,Da(e,f,g,C),l&&Ra){s=0;break e}break;default:C=ye,ye=0,pt=null,Da(e,f,g,C)}}u0(),s=Ae;break}catch(A){rd(e,A)}while(!0);return t&&e.shellSuspendCounter++,Wt=Xl=null,de=a,O.H=n,O.A=u,ue===null&&(_e=null,ce=0,ou()),s}function u0(){for(;ue!==null;)md(ue)}function i0(e,t){var l=de;de|=2;var a=dd(),n=hd();_e!==e||ce!==t?(Yu=null,qu=ot()+500,Ma(e,t)):Ra=Za(e,t);e:do try{if(ye!==0&&ue!==null){t=ue;var u=pt;t:switch(ye){case 1:ye=0,pt=null,Da(e,t,u,1);break;case 2:case 9:if(_r(u)){ye=0,pt=null,yd(t);break}t=function(){ye!==2&&ye!==9||_e!==e||(ye=7),Qt(e)},u.then(t,t);break e;case 3:ye=7;break e;case 4:ye=5;break e;case 7:_r(u)?(ye=0,pt=null,yd(t)):(ye=0,pt=null,Da(e,t,u,7));break;case 5:var s=null;switch(ue.tag){case 26:s=ue.memoizedState;case 5:case 27:var f=ue;if(s?eh(s):f.stateNode.complete){ye=0,pt=null;var g=f.sibling;if(g!==null)ue=g;else{var C=f.return;C!==null?(ue=C,Xu(C)):ue=null}break t}}ye=0,pt=null,Da(e,t,u,5);break;case 6:ye=0,pt=null,Da(e,t,u,6);break;case 8:os(),Ae=6;break e;default:throw Error(o(462))}}c0();break}catch(A){rd(e,A)}while(!0);return Wt=Xl=null,O.H=a,O.A=n,de=l,ue!==null?0:(_e=null,ce=0,ou(),Ae)}function c0(){for(;ue!==null&&!Am();)md(ue)}function md(e){var t=Lf(e.alternate,e,il);e.memoizedProps=e.pendingProps,t===null?Xu(e):ue=t}function yd(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Mf(l,t,t.pendingProps,t.type,void 0,ce);break;case 11:t=Mf(l,t,t.pendingProps,t.type.render,t.ref,ce);break;case 5:zc(t);default:qf(l,t),t=ue=dr(t,il),t=Lf(l,t,il)}e.memoizedProps=e.pendingProps,t===null?Xu(e):ue=t}function Da(e,t,l,a){Wt=Xl=null,zc(t),Ea=null,rn=0;var n=t.return;try{if($y(e,n,t,l,ce)){Ae=1,Ou(e,zt(l,e.current)),ue=null;return}}catch(u){if(n!==null)throw ue=n,u;Ae=1,Ou(e,zt(l,e.current)),ue=null;return}t.flags&32768?(oe||a===1?e=!0:Ra||(ce&536870912)!==0?e=!1:(_l=e=!0,(a===2||a===9||a===3||a===6)&&(a=mt.current,a!==null&&a.tag===13&&(a.flags|=16384))),pd(t,e)):Xu(t)}function Xu(e){var t=e;do{if((t.flags&32768)!==0){pd(t,_l);return}e=t.return;var l=Iy(t.alternate,t,il);if(l!==null){ue=l;return}if(t=t.sibling,t!==null){ue=t;return}ue=t=e}while(t!==null);Ae===0&&(Ae=5)}function pd(e,t){do{var l=Py(e.alternate,e);if(l!==null){l.flags&=32767,ue=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){ue=e;return}ue=e=l}while(e!==null);Ae=6,ue=null}function vd(e,t,l,a,n,u,s,f,g){e.cancelPendingCommit=null;do Vu();while(qe!==0);if((de&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Ii,qm(e,l,u,s,f,g),e===_e&&(ue=_e=null,ce=0),Oa=t,Nl=e,cl=l,is=u,cs=n,id=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,f0(Jn,function(){return Ed(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null,n=Y.p,Y.p=2,s=de,de|=4;try{e0(e,t,l)}finally{de=s,Y.p=n,O.T=a}}qe=1,gd(),bd(),xd()}}function gd(){if(qe===1){qe=0;var e=Nl,t=Oa,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=O.T,O.T=null;var a=Y.p;Y.p=2;var n=de;de|=4;try{If(t,e);var u=Es,s=ar(e.containerInfo),f=u.focusedElem,g=u.selectionRange;if(s!==f&&f&&f.ownerDocument&&lr(f.ownerDocument.documentElement,f)){if(g!==null&&Ji(f)){var C=g.start,A=g.end;if(A===void 0&&(A=C),"selectionStart"in f)f.selectionStart=C,f.selectionEnd=Math.min(A,f.value.length);else{var D=f.ownerDocument||document,j=D&&D.defaultView||window;if(j.getSelection){var R=j.getSelection(),X=f.textContent.length,$=Math.min(g.start,X),Se=g.end===void 0?$:Math.min(g.end,X);!R.extend&&$>Se&&(s=Se,Se=$,$=s);var T=tr(f,$),b=tr(f,Se);if(T&&b&&(R.rangeCount!==1||R.anchorNode!==T.node||R.anchorOffset!==T.offset||R.focusNode!==b.node||R.focusOffset!==b.offset)){var N=D.createRange();N.setStart(T.node,T.offset),R.removeAllRanges(),$>Se?(R.addRange(N),R.extend(b.node,b.offset)):(N.setEnd(b.node,b.offset),R.addRange(N))}}}}for(D=[],R=f;R=R.parentNode;)R.nodeType===1&&D.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<D.length;f++){var M=D[f];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}ai=!!Ss,Es=Ss=null}finally{de=n,Y.p=a,O.T=l}}e.current=t,qe=2}}function bd(){if(qe===2){qe=0;var e=Nl,t=Oa,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=O.T,O.T=null;var a=Y.p;Y.p=2;var n=de;de|=4;try{Jf(e,t.alternate,t)}finally{de=n,Y.p=a,O.T=l}}qe=3}}function xd(){if(qe===4||qe===3){qe=0,Om();var e=Nl,t=Oa,l=cl,a=id;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?qe=5:(qe=0,Oa=Nl=null,Sd(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(zl=null),ji(l),t=t.stateNode,rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(Va,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=O.T,n=Y.p,Y.p=2,O.T=null;try{for(var u=e.onRecoverableError,s=0;s<a.length;s++){var f=a[s];u(f.value,{componentStack:f.stack})}}finally{O.T=t,Y.p=n}}(cl&3)!==0&&Vu(),Qt(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===ss?Cn++:(Cn=0,ss=e):Cn=0,jn(0)}}function Sd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sn(t)))}function Vu(){return gd(),bd(),xd(),Ed()}function Ed(){if(qe!==5)return!1;var e=Nl,t=is;is=0;var l=ji(cl),a=O.T,n=Y.p;try{Y.p=32>l?32:l,O.T=null,l=cs,cs=null;var u=Nl,s=cl;if(qe=0,Oa=Nl=null,cl=0,(de&6)!==0)throw Error(o(331));var f=de;if(de|=4,ad(u.current),ed(u,u.current,s,l),de=f,jn(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(Va,u)}catch{}return!0}finally{Y.p=n,O.T=a,Sd(e,t)}}function _d(e,t,l){t=zt(l,t),t=qc(e.stateNode,t,2),e=bl(e,t,2),e!==null&&(Ja(e,2),Qt(e))}function pe(e,t,l){if(e.tag===3)_d(e,e,l);else for(;t!==null;){if(t.tag===3){_d(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(zl===null||!zl.has(a))){e=zt(l,e),l=Tf(2),a=bl(t,l,2),a!==null&&(zf(l,a,t,e),Ja(a,2),Qt(a));break}}t=t.return}}function fs(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new a0;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)||(as=!0,n.add(l),e=s0.bind(null,e,t,l),t.then(e,e))}function s0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,_e===e&&(ce&l)===l&&(Ae===4||Ae===3&&(ce&62914560)===ce&&300>ot()-Bu?(de&2)===0&&Ma(e,0):ns|=l,Aa===ce&&(Aa=0)),Qt(e)}function Td(e,t){t===0&&(t=vo()),e=Yl(e,t),e!==null&&(Ja(e,t),Qt(e))}function o0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Td(e,l)}function r0(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(o(314))}a!==null&&a.delete(t),Td(e,l)}function f0(e,t){return Ti(e,t)}var Zu=null,Ua=null,ds=!1,Ju=!1,hs=!1,jl=0;function Qt(e){e!==Ua&&e.next===null&&(Ua===null?Zu=Ua=e:Ua=Ua.next=e),Ju=!0,ds||(ds=!0,h0())}function jn(e,t){if(!hs&&Ju){hs=!0;do for(var l=!1,a=Zu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var s=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-ft(42|e)+1)-1,u&=n&~(s&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,jd(a,u))}else u=ce,u=Fn(a,a===_e?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Za(a,u)||(l=!0,jd(a,u));a=a.next}while(l);hs=!1}}function d0(){zd()}function zd(){Ju=ds=!1;var e=0;jl!==0&&_0()&&(e=jl);for(var t=ot(),l=null,a=Zu;a!==null;){var n=a.next,u=Nd(a,t);u===0?(a.next=null,l===null?Zu=n:l.next=n,n===null&&(Ua=l)):(l=a,(e!==0||(u&3)!==0)&&(Ju=!0)),a=n}qe!==0&&qe!==5||jn(e),jl!==0&&(jl=0)}function Nd(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var s=31-ft(u),f=1<<s,g=n[s];g===-1?((f&l)===0||(f&a)!==0)&&(n[s]=Bm(f,t)):g<=t&&(e.expiredLanes|=f),u&=~f}if(t=_e,l=ce,l=Fn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(ye===2||ye===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&zi(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Za(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&zi(a),ji(l)){case 2:case 8:l=yo;break;case 32:l=Jn;break;case 268435456:l=po;break;default:l=Jn}return a=Cd.bind(null,e),l=Ti(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&zi(a),e.callbackPriority=2,e.callbackNode=null,2}function Cd(e,t){if(qe!==0&&qe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Vu()&&e.callbackNode!==l)return null;var a=ce;return a=Fn(e,e===_e?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(sd(e,a,t),Nd(e,ot()),e.callbackNode!=null&&e.callbackNode===l?Cd.bind(null,e):null)}function jd(e,t){if(Vu())return null;sd(e,t,!0)}function h0(){z0(function(){(de&6)!==0?Ti(mo,d0):zd()})}function ms(){if(jl===0){var e=ba;e===0&&(e=Kn,Kn<<=1,(Kn&261888)===0&&(Kn=256)),jl=e}return jl}function Rd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:tu(""+e)}function Ad(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function m0(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=Rd((n[et]||null).action),s=a.submitter;s&&(t=(t=s[et]||null)?Rd(t.formAction):s.getAttribute("formAction"),t!==null&&(u=t,s=null));var f=new uu("action","action",null,a,n);e.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(jl!==0){var g=s?Ad(n,s):new FormData(n);Uc(l,{pending:!0,data:g,method:n.method,action:u},null,g)}}else typeof u=="function"&&(f.preventDefault(),g=s?Ad(n,s):new FormData(n),Uc(l,{pending:!0,data:g,method:n.method,action:u},u,g))},currentTarget:n}]})}}for(var ys=0;ys<Fi.length;ys++){var ps=Fi[ys],y0=ps.toLowerCase(),p0=ps[0].toUpperCase()+ps.slice(1);Dt(y0,"on"+p0)}Dt(ir,"onAnimationEnd"),Dt(cr,"onAnimationIteration"),Dt(sr,"onAnimationStart"),Dt("dblclick","onDoubleClick"),Dt("focusin","onFocus"),Dt("focusout","onBlur"),Dt(My,"onTransitionRun"),Dt(Dy,"onTransitionStart"),Dt(Uy,"onTransitionCancel"),Dt(or,"onTransitionEnd"),ua("onMouseEnter",["mouseout","mouseover"]),ua("onMouseLeave",["mouseout","mouseover"]),ua("onPointerEnter",["pointerout","pointerover"]),ua("onPointerLeave",["pointerout","pointerover"]),kl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),kl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),kl("onBeforeInput",["compositionend","keypress","textInput","paste"]),kl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),kl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),kl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rn="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(" "),v0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Rn));function Od(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 s=a.length-1;0<=s;s--){var f=a[s],g=f.instance,C=f.currentTarget;if(f=f.listener,g!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=C;try{u(n)}catch(A){su(A)}n.currentTarget=null,u=g}else for(s=0;s<a.length;s++){if(f=a[s],g=f.instance,C=f.currentTarget,f=f.listener,g!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=C;try{u(n)}catch(A){su(A)}n.currentTarget=null,u=g}}}}function ie(e,t){var l=t[Ri];l===void 0&&(l=t[Ri]=new Set);var a=e+"__bubble";l.has(a)||(Md(t,e,2,!1),l.add(a))}function vs(e,t,l){var a=0;t&&(a|=4),Md(l,e,a,t)}var Ku="_reactListening"+Math.random().toString(36).slice(2);function gs(e){if(!e[Ku]){e[Ku]=!0,To.forEach(function(l){l!=="selectionchange"&&(v0.has(l)||vs(l,!1,e),vs(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ku]||(t[Ku]=!0,vs("selectionchange",!1,t))}}function Md(e,t,l,a){switch(ch(t)){case 2:var n=V0;break;case 8:n=Z0;break;default:n=Ds}l=n.bind(null,t,l,e),n=void 0,!Li||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 bs(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var s=a.tag;if(s===3||s===4){var f=a.stateNode.containerInfo;if(f===n)break;if(s===4)for(s=a.return;s!==null;){var g=s.tag;if((g===3||g===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;f!==null;){if(s=la(f),s===null)return;if(g=s.tag,g===5||g===6||g===26||g===27){a=u=s;continue e}f=f.parentNode}}a=a.return}Ho(function(){var C=u,A=Hi(l),D=[];e:{var j=rr.get(e);if(j!==void 0){var R=uu,X=e;switch(e){case"keypress":if(au(l)===0)break e;case"keydown":case"keyup":R=ry;break;case"focusin":X="focus",R=Gi;break;case"focusout":X="blur",R=Gi;break;case"beforeblur":case"afterblur":R=Gi;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":R=Bo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Im;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=hy;break;case ir:case cr:case sr:R=ty;break;case or:R=yy;break;case"scroll":case"scrollend":R=Wm;break;case"wheel":R=vy;break;case"copy":case"cut":case"paste":R=ay;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=Yo;break;case"toggle":case"beforetoggle":R=by}var $=(t&4)!==0,Se=!$&&(e==="scroll"||e==="scrollend"),T=$?j!==null?j+"Capture":null:j;$=[];for(var b=C,N;b!==null;){var M=b;if(N=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||N===null||T===null||(M=Wa(b,T),M!=null&&$.push(An(b,M,N))),Se)break;b=b.return}0<$.length&&(j=new R(j,X,null,l,A),D.push({event:j,listeners:$}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",R=e==="mouseout"||e==="pointerout",j&&l!==wi&&(X=l.relatedTarget||l.fromElement)&&(la(X)||X[ta]))break e;if((R||j)&&(j=A.window===A?A:(j=A.ownerDocument)?j.defaultView||j.parentWindow:window,R?(X=l.relatedTarget||l.toElement,R=C,X=X?la(X):null,X!==null&&(Se=m(X),$=X.tag,X!==Se||$!==5&&$!==27&&$!==6)&&(X=null)):(R=null,X=C),R!==X)){if($=Bo,M="onMouseLeave",T="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&($=Yo,M="onPointerLeave",T="onPointerEnter",b="pointer"),Se=R==null?j:$a(R),N=X==null?j:$a(X),j=new $(M,b+"leave",R,l,A),j.target=Se,j.relatedTarget=N,M=null,la(A)===C&&($=new $(T,b+"enter",X,l,A),$.target=N,$.relatedTarget=Se,M=$),Se=M,R&&X)t:{for($=g0,T=R,b=X,N=0,M=T;M;M=$(M))N++;M=0;for(var K=b;K;K=$(K))M++;for(;0<N-M;)T=$(T),N--;for(;0<M-N;)b=$(b),M--;for(;N--;){if(T===b||b!==null&&T===b.alternate){$=T;break t}T=$(T),b=$(b)}$=null}else $=null;R!==null&&Dd(D,j,R,$,!1),X!==null&&Se!==null&&Dd(D,Se,X,$,!0)}}e:{if(j=C?$a(C):window,R=j.nodeName&&j.nodeName.toLowerCase(),R==="select"||R==="input"&&j.type==="file")var re=$o;else if(Jo(j))if(Wo)re=Ry;else{re=Cy;var Z=Ny}else R=j.nodeName,!R||R.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?C&&Ui(C.elementType)&&(re=$o):re=jy;if(re&&(re=re(e,C))){Ko(D,re,l,A);break e}Z&&Z(e,j,C),e==="focusout"&&C&&j.type==="number"&&C.memoizedProps.value!=null&&Di(j,"number",j.value)}switch(Z=C?$a(C):window,e){case"focusin":(Jo(Z)||Z.contentEditable==="true")&&(fa=Z,Ki=C,nn=null);break;case"focusout":nn=Ki=fa=null;break;case"mousedown":$i=!0;break;case"contextmenu":case"mouseup":case"dragend":$i=!1,nr(D,l,A);break;case"selectionchange":if(Oy)break;case"keydown":case"keyup":nr(D,l,A)}var ae;if(Xi)e:{switch(e){case"compositionstart":var se="onCompositionStart";break e;case"compositionend":se="onCompositionEnd";break e;case"compositionupdate":se="onCompositionUpdate";break e}se=void 0}else ra?Vo(e,l)&&(se="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(se="onCompositionStart");se&&(Go&&l.locale!=="ko"&&(ra||se!=="onCompositionStart"?se==="onCompositionEnd"&&ra&&(ae=ko()):(dl=A,Bi="value"in dl?dl.value:dl.textContent,ra=!0)),Z=$u(C,se),0<Z.length&&(se=new qo(se,e,null,l,A),D.push({event:se,listeners:Z}),ae?se.data=ae:(ae=Zo(l),ae!==null&&(se.data=ae)))),(ae=Sy?Ey(e,l):_y(e,l))&&(se=$u(C,"onBeforeInput"),0<se.length&&(Z=new qo("onBeforeInput","beforeinput",null,l,A),D.push({event:Z,listeners:se}),Z.data=ae)),m0(D,e,C,l,A)}Od(D,t)})}function An(e,t,l){return{instance:e,listener:t,currentTarget:l}}function $u(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=Wa(e,l),n!=null&&a.unshift(An(e,n,u)),n=Wa(e,t),n!=null&&a.push(An(e,n,u))),e.tag===3)return a;e=e.return}return[]}function g0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Dd(e,t,l,a,n){for(var u=t._reactName,s=[];l!==null&&l!==a;){var f=l,g=f.alternate,C=f.stateNode;if(f=f.tag,g!==null&&g===a)break;f!==5&&f!==26&&f!==27||C===null||(g=C,n?(C=Wa(l,u),C!=null&&s.unshift(An(l,C,g))):n||(C=Wa(l,u),C!=null&&s.push(An(l,C,g)))),l=l.return}s.length!==0&&e.push({event:t,listeners:s})}var b0=/\r\n?/g,x0=/\u0000|\uFFFD/g;function Ud(e){return(typeof e=="string"?e:""+e).replace(b0,`
50
- `).replace(x0,"")}function wd(e,t){return t=Ud(t),Ud(e)===t}function xe(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ca(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ca(e,""+a);break;case"className":Pn(e,"class",a);break;case"tabIndex":Pn(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Pn(e,l,a);break;case"style":Uo(e,a,u);break;case"data":if(t!=="object"){Pn(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=tu(""+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"&&xe(e,t,"name",n.name,n,null),xe(e,t,"formEncType",n.formEncType,n,null),xe(e,t,"formMethod",n.formMethod,n,null),xe(e,t,"formTarget",n.formTarget,n,null)):(xe(e,t,"encType",n.encType,n,null),xe(e,t,"method",n.method,n,null),xe(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=tu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=Zt);break;case"onScroll":a!=null&&ie("scroll",e);break;case"onScrollEnd":a!=null&&ie("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));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=tu(""+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"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":ie("beforetoggle",e),ie("toggle",e),In(e,"popover",a);break;case"xlinkActuate":Vt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Vt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Vt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Vt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Vt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Vt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Vt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Vt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Vt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":In(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Km.get(l)||l,In(e,l,a))}}function xs(e,t,l,a,n,u){switch(l){case"style":Uo(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof a=="string"?ca(e,a):(typeof a=="number"||typeof a=="bigint")&&ca(e,""+a);break;case"onScroll":a!=null&&ie("scroll",e);break;case"onScrollEnd":a!=null&&ie("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Zt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!zo.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),u=e[et]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):In(e,l,a)}}}function Je(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ie("error",e),ie("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var s=l[u];if(s!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:xe(e,t,u,s,l,null)}}n&&xe(e,t,"srcSet",l.srcSet,l,null),a&&xe(e,t,"src",l.src,l,null);return;case"input":ie("invalid",e);var f=u=s=n=null,g=null,C=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":s=A;break;case"checked":g=A;break;case"defaultChecked":C=A;break;case"value":u=A;break;case"defaultValue":f=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:xe(e,t,a,A,l,null)}}Ao(e,u,f,g,C,s,n,!1);return;case"select":ie("invalid",e),a=s=u=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":s=f;break;case"multiple":a=f;default:xe(e,t,n,f,l,null)}t=u,l=s,e.multiple=!!a,t!=null?ia(e,!!a,t,!1):l!=null&&ia(e,!!a,l,!0);return;case"textarea":ie("invalid",e),u=n=a=null;for(s in l)if(l.hasOwnProperty(s)&&(f=l[s],f!=null))switch(s){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(o(91));break;default:xe(e,t,s,f,l,null)}Mo(e,a,n,u);return;case"option":for(g in l)if(l.hasOwnProperty(g)&&(a=l[g],a!=null))switch(g){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:xe(e,t,g,a,l,null)}return;case"dialog":ie("beforetoggle",e),ie("toggle",e),ie("cancel",e),ie("close",e);break;case"iframe":case"object":ie("load",e);break;case"video":case"audio":for(a=0;a<Rn.length;a++)ie(Rn[a],e);break;case"image":ie("error",e),ie("load",e);break;case"details":ie("toggle",e);break;case"embed":case"source":case"link":ie("error",e),ie("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(C in l)if(l.hasOwnProperty(C)&&(a=l[C],a!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:xe(e,t,C,a,l,null)}return;default:if(Ui(t)){for(A in l)l.hasOwnProperty(A)&&(a=l[A],a!==void 0&&xs(e,t,A,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&xe(e,t,f,a,l,null))}function S0(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,s=null,f=null,g=null,C=null,A=null;for(R in l){var D=l[R];if(l.hasOwnProperty(R)&&D!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":g=D;default:a.hasOwnProperty(R)||xe(e,t,R,null,a,D)}}for(var j in a){var R=a[j];if(D=l[j],a.hasOwnProperty(j)&&(R!=null||D!=null))switch(j){case"type":u=R;break;case"name":n=R;break;case"checked":C=R;break;case"defaultChecked":A=R;break;case"value":s=R;break;case"defaultValue":f=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,t));break;default:R!==D&&xe(e,t,j,R,a,D)}}Mi(e,s,f,g,C,A,u,n);return;case"select":R=s=f=j=null;for(u in l)if(g=l[u],l.hasOwnProperty(u)&&g!=null)switch(u){case"value":break;case"multiple":R=g;default:a.hasOwnProperty(u)||xe(e,t,u,null,a,g)}for(n in a)if(u=a[n],g=l[n],a.hasOwnProperty(n)&&(u!=null||g!=null))switch(n){case"value":j=u;break;case"defaultValue":f=u;break;case"multiple":s=u;default:u!==g&&xe(e,t,n,u,a,g)}t=f,l=s,a=R,j!=null?ia(e,!!l,j,!1):!!a!=!!l&&(t!=null?ia(e,!!l,t,!0):ia(e,!!l,l?[]:"",!1));return;case"textarea":R=j=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:xe(e,t,f,null,a,n)}for(s in a)if(n=a[s],u=l[s],a.hasOwnProperty(s)&&(n!=null||u!=null))switch(s){case"value":j=n;break;case"defaultValue":R=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&xe(e,t,s,n,a,u)}Oo(e,j,R);return;case"option":for(var X in l)if(j=l[X],l.hasOwnProperty(X)&&j!=null&&!a.hasOwnProperty(X))switch(X){case"selected":e.selected=!1;break;default:xe(e,t,X,null,a,j)}for(g in a)if(j=a[g],R=l[g],a.hasOwnProperty(g)&&j!==R&&(j!=null||R!=null))switch(g){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:xe(e,t,g,j,a,R)}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 $ in l)j=l[$],l.hasOwnProperty($)&&j!=null&&!a.hasOwnProperty($)&&xe(e,t,$,null,a,j);for(C in a)if(j=a[C],R=l[C],a.hasOwnProperty(C)&&j!==R&&(j!=null||R!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(137,t));break;default:xe(e,t,C,j,a,R)}return;default:if(Ui(t)){for(var Se in l)j=l[Se],l.hasOwnProperty(Se)&&j!==void 0&&!a.hasOwnProperty(Se)&&xs(e,t,Se,void 0,a,j);for(A in a)j=a[A],R=l[A],!a.hasOwnProperty(A)||j===R||j===void 0&&R===void 0||xs(e,t,A,j,a,R);return}}for(var T in l)j=l[T],l.hasOwnProperty(T)&&j!=null&&!a.hasOwnProperty(T)&&xe(e,t,T,null,a,j);for(D in a)j=a[D],R=l[D],!a.hasOwnProperty(D)||j===R||j==null&&R==null||xe(e,t,D,j,a,R)}function Hd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E0(){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,s=n.initiatorType,f=n.duration;if(u&&f&&Hd(s)){for(s=0,f=n.responseEnd,a+=1;a<l.length;a++){var g=l[a],C=g.startTime;if(C>f)break;var A=g.transferSize,D=g.initiatorType;A&&Hd(D)&&(g=g.responseEnd,s+=A*(g<f?1:(f-C)/(g-C)))}if(--a,t+=8*(u+s)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ss=null,Es=null;function Wu(e){return e.nodeType===9?e:e.ownerDocument}function kd(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 Ld(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 _s(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 Ts=null;function _0(){var e=window.event;return e&&e.type==="popstate"?e===Ts?!1:(Ts=e,!0):(Ts=null,!1)}var Bd=typeof setTimeout=="function"?setTimeout:void 0,T0=typeof clearTimeout=="function"?clearTimeout:void 0,qd=typeof Promise=="function"?Promise:void 0,z0=typeof queueMicrotask=="function"?queueMicrotask:typeof qd<"u"?function(e){return qd.resolve(null).then(e).catch(N0)}:Bd;function N0(e){setTimeout(function(){throw e})}function Rl(e){return e==="head"}function Yd(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),La(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")On(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,On(l);for(var u=l.firstChild;u;){var s=u.nextSibling,f=u.nodeName;u[Ka]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=s}}else l==="body"&&On(e.ownerDocument.body);l=n}while(l);La(t)}function Gd(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 zs(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":zs(l),Ai(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function C0(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[Ka])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=At(e.nextSibling),e===null)break}return null}function j0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=At(e.nextSibling),e===null))return null;return e}function Qd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=At(e.nextSibling),e===null))return null;return e}function Ns(e){return e.data==="$?"||e.data==="$~"}function Cs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function R0(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 At(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 js=null;function Xd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return At(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Vd(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 Zd(e,t,l){switch(t=Wu(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function On(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ai(e)}var Ot=new Map,Jd=new Set;function Fu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var sl=Y.d;Y.d={f:A0,r:O0,D:M0,C:D0,L:U0,m:w0,X:k0,S:H0,M:L0};function A0(){var e=sl.f(),t=Gu();return e||t}function O0(e){var t=aa(e);t!==null&&t.tag===5&&t.type==="form"?rf(t):sl.r(e)}var wa=typeof document>"u"?null:document;function Kd(e,t,l){var a=wa;if(a&&typeof t=="string"&&t){var n=_t(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Jd.has(n)||(Jd.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Je(t,"link",e),Ye(t),a.head.appendChild(t)))}}function M0(e){sl.D(e),Kd("dns-prefetch",e,null)}function D0(e,t){sl.C(e,t),Kd("preconnect",e,t)}function U0(e,t,l){sl.L(e,t,l);var a=wa;if(a&&e&&t){var n='link[rel="preload"][as="'+_t(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+_t(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+_t(l.imageSizes)+'"]')):n+='[href="'+_t(e)+'"]';var u=n;switch(t){case"style":u=Ha(e);break;case"script":u=ka(e)}Ot.has(u)||(e=_({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Ot.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(Mn(u))||t==="script"&&a.querySelector(Dn(u))||(t=a.createElement("link"),Je(t,"link",e),Ye(t),a.head.appendChild(t)))}}function w0(e,t){sl.m(e,t);var l=wa;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+_t(a)+'"][href="'+_t(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ka(e)}if(!Ot.has(u)&&(e=_({rel:"modulepreload",href:e},t),Ot.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Dn(u)))return}a=l.createElement("link"),Je(a,"link",e),Ye(a),l.head.appendChild(a)}}}function H0(e,t,l){sl.S(e,t,l);var a=wa;if(a&&e){var n=na(a).hoistableStyles,u=Ha(e);t=t||"default";var s=n.get(u);if(!s){var f={loading:0,preload:null};if(s=a.querySelector(Mn(u)))f.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Ot.get(u))&&Rs(e,l);var g=s=a.createElement("link");Ye(g),Je(g,"link",e),g._p=new Promise(function(C,A){g.onload=C,g.onerror=A}),g.addEventListener("load",function(){f.loading|=1}),g.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Iu(s,t,a)}s={type:"stylesheet",instance:s,count:1,state:f},n.set(u,s)}}}function k0(e,t){sl.X(e,t);var l=wa;if(l&&e){var a=na(l).hoistableScripts,n=ka(e),u=a.get(n);u||(u=l.querySelector(Dn(n)),u||(e=_({src:e,async:!0},t),(t=Ot.get(n))&&As(e,t),u=l.createElement("script"),Ye(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function L0(e,t){sl.M(e,t);var l=wa;if(l&&e){var a=na(l).hoistableScripts,n=ka(e),u=a.get(n);u||(u=l.querySelector(Dn(n)),u||(e=_({src:e,async:!0,type:"module"},t),(t=Ot.get(n))&&As(e,t),u=l.createElement("script"),Ye(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function $d(e,t,l,a){var n=(n=ne.current)?Fu(n):null;if(!n)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ha(l.href),l=na(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,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=Ha(l.href);var u=na(n).hoistableStyles,s=u.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,s),(u=n.querySelector(Mn(e)))&&!u._p&&(s.instance=u,s.state.loading=5),Ot.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ot.set(e,l),u||B0(n,e,l,s.state))),t&&a===null)throw Error(o(528,""));return s}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ka(l),l=na(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ha(e){return'href="'+_t(e)+'"'}function Mn(e){return'link[rel="stylesheet"]['+e+"]"}function Wd(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function B0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Je(t,"link",l),Ye(t),e.head.appendChild(t))}function ka(e){return'[src="'+_t(e)+'"]'}function Dn(e){return"script[async]"+e}function Fd(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+_t(l.href)+'"]');if(a)return t.instance=a,Ye(a),a;var n=_({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ye(a),Je(a,"style",n),Iu(a,l.precedence,e),t.instance=a;case"stylesheet":n=Ha(l.href);var u=e.querySelector(Mn(n));if(u)return t.state.loading|=4,t.instance=u,Ye(u),u;a=Wd(l),(n=Ot.get(n))&&Rs(a,n),u=(e.ownerDocument||e).createElement("link"),Ye(u);var s=u;return s._p=new Promise(function(f,g){s.onload=f,s.onerror=g}),Je(u,"link",a),t.state.loading|=4,Iu(u,l.precedence,e),t.instance=u;case"script":return u=ka(l.src),(n=e.querySelector(Dn(u)))?(t.instance=n,Ye(n),n):(a=l,(n=Ot.get(u))&&(a=_({},l),As(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ye(n),Je(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Iu(a,l.precedence,e));return t.instance}function Iu(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,s=0;s<a.length;s++){var f=a[s];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 Rs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function As(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Pu=null;function Id(e,t,l){if(Pu===null){var a=new Map,n=Pu=new Map;n.set(l,a)}else n=Pu,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[Ka]||u[Qe]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var s=u.getAttribute(t)||"";s=e+s;var f=a.get(s);f?f.push(u):a.set(s,[u])}}return a}function Pd(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function q0(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 eh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Y0(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=Ha(a.href),u=t.querySelector(Mn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ei.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Ye(u);return}u=t.ownerDocument||t,a=Wd(a),(n=Ot.get(n))&&Rs(a,n),u=u.createElement("link"),Ye(u);var s=u;s._p=new Promise(function(f,g){s.onload=f,s.onerror=g}),Je(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=ei.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Os=0;function G0(e,t){return e.stylesheets&&e.count===0&&li(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&li(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Os===0&&(Os=62500*E0());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&li(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Os?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ei(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)li(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ti=null;function li(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ti=new Map,t.forEach(Q0,e),ti=null,ei.call(e))}function Q0(e,t){if(!(t.state.loading&4)){var l=ti.get(e);if(l)var a=l.get(null);else{l=new Map,ti.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var s=n[u];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),a=s)}a&&l.set(null,a)}n=t.instance,s=n.getAttribute("data-precedence"),u=l.get(s)||a,u===a&&l.set(null,n),l.set(s,n),this.count++,a=ei.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 Un={$$typeof:J,Provider:null,Consumer:null,_currentValue:F,_currentValue2:F,_threadCount:0};function X0(e,t,l,a,n,u,s,f,g){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=Ni(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ni(0),this.hiddenUpdates=Ni(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function th(e,t,l,a,n,u,s,f,g,C,A,D){return e=new X0(e,t,l,s,g,C,A,D,f),t=1,u===!0&&(t|=24),u=ht(3,null,null,t),e.current=u,u.stateNode=e,t=rc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},mc(u),e}function lh(e){return e?(e=ma,e):ma}function ah(e,t,l,a,n,u){n=lh(n),a.context===null?a.context=n:a.pendingContext=n,a=gl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=bl(e,a,t),l!==null&&(it(l,e,t),dn(l,e,t))}function nh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Ms(e,t){nh(e,t),(e=e.alternate)&&nh(e,t)}function uh(e){if(e.tag===13||e.tag===31){var t=Yl(e,67108864);t!==null&&it(t,e,67108864),Ms(e,67108864)}}function ih(e){if(e.tag===13||e.tag===31){var t=gt();t=Ci(t);var l=Yl(e,t);l!==null&&it(l,e,t),Ms(e,t)}}var ai=!0;function V0(e,t,l,a){var n=O.T;O.T=null;var u=Y.p;try{Y.p=2,Ds(e,t,l,a)}finally{Y.p=u,O.T=n}}function Z0(e,t,l,a){var n=O.T;O.T=null;var u=Y.p;try{Y.p=8,Ds(e,t,l,a)}finally{Y.p=u,O.T=n}}function Ds(e,t,l,a){if(ai){var n=Us(a);if(n===null)bs(e,t,a,ni,l),sh(e,a);else if(K0(n,e,t,l,a))a.stopPropagation();else if(sh(e,a),t&4&&-1<J0.indexOf(e)){for(;n!==null;){var u=aa(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var s=Hl(u.pendingLanes);if(s!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;s;){var g=1<<31-ft(s);f.entanglements[1]|=g,s&=~g}Qt(u),(de&6)===0&&(qu=ot()+500,jn(0))}}break;case 31:case 13:f=Yl(u,2),f!==null&&it(f,u,2),Gu(),Ms(u,2)}if(u=Us(a),u===null&&bs(e,t,a,ni,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else bs(e,t,a,null,l)}}function Us(e){return e=Hi(e),ws(e)}var ni=null;function ws(e){if(ni=null,e=la(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=E(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 ni=e,null}function ch(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Mm()){case mo:return 2;case yo:return 8;case Jn:case Dm:return 32;case po:return 268435456;default:return 32}default:return 32}}var Hs=!1,Al=null,Ol=null,Ml=null,wn=new Map,Hn=new Map,Dl=[],J0="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 sh(e,t){switch(e){case"focusin":case"focusout":Al=null;break;case"dragenter":case"dragleave":Ol=null;break;case"mouseover":case"mouseout":Ml=null;break;case"pointerover":case"pointerout":wn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(t.pointerId)}}function kn(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=aa(t),t!==null&&uh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function K0(e,t,l,a,n){switch(t){case"focusin":return Al=kn(Al,e,t,l,a,n),!0;case"dragenter":return Ol=kn(Ol,e,t,l,a,n),!0;case"mouseover":return Ml=kn(Ml,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return wn.set(u,kn(wn.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Hn.set(u,kn(Hn.get(u)||null,e,t,l,a,n)),!0}return!1}function oh(e){var t=la(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,Eo(e.priority,function(){ih(l)});return}}else if(t===31){if(t=E(l),t!==null){e.blockedOn=t,Eo(e.priority,function(){ih(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 ui(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Us(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);wi=a,l.target.dispatchEvent(a),wi=null}else return t=aa(l),t!==null&&uh(t),e.blockedOn=l,!1;t.shift()}return!0}function rh(e,t,l){ui(e)&&l.delete(t)}function $0(){Hs=!1,Al!==null&&ui(Al)&&(Al=null),Ol!==null&&ui(Ol)&&(Ol=null),Ml!==null&&ui(Ml)&&(Ml=null),wn.forEach(rh),Hn.forEach(rh)}function ii(e,t){e.blockedOn===t&&(e.blockedOn=null,Hs||(Hs=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,$0)))}var ci=null;function fh(e){ci!==e&&(ci=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){ci===e&&(ci=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(ws(a||l)===null)continue;break}var u=aa(l);u!==null&&(e.splice(t,3),t-=3,Uc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function La(e){function t(g){return ii(g,e)}Al!==null&&ii(Al,e),Ol!==null&&ii(Ol,e),Ml!==null&&ii(Ml,e),wn.forEach(t),Hn.forEach(t);for(var l=0;l<Dl.length;l++){var a=Dl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Dl.length&&(l=Dl[0],l.blockedOn===null);)oh(l),l.blockedOn===null&&Dl.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],s=n[et]||null;if(typeof u=="function")s||fh(l);else if(s){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,s=u[et]||null)f=s.formAction;else if(ws(n)!==null)continue}else f=s.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),fh(l)}}}function dh(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(s){return n=s})},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 ks(e){this._internalRoot=e}si.prototype.render=ks.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,a=gt();ah(l,a,e,t,null,null)},si.prototype.unmount=ks.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ah(e.current,2,null,e,null,null),Gu(),t[ta]=null}};function si(e){this._internalRoot=e}si.prototype.unstable_scheduleHydration=function(e){if(e){var t=So();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Dl.length&&t!==0&&t<Dl[l].priority;l++);Dl.splice(l,0,e),l===0&&oh(e)}};var hh=c.version;if(hh!=="19.2.4")throw Error(o(527,hh,"19.2.4"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=y(t),e=e!==null?z(e):null,e=e===null?null:e.stateNode,e};var W0={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var oi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oi.isDisabled&&oi.supportsFiber)try{Va=oi.inject(W0),rt=oi}catch{}}return qn.createRoot=function(e,t){if(!d(e))throw Error(o(299));var l=!1,a="",n=xf,u=Sf,s=Ef;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&&(s=t.onRecoverableError)),t=th(e,1,!1,null,null,l,a,null,n,u,s,dh),e[ta]=t.current,gs(e),new ks(t)},qn.hydrateRoot=function(e,t,l){if(!d(e))throw Error(o(299));var a=!1,n="",u=xf,s=Sf,f=Ef,g=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&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.formState!==void 0&&(g=l.formState)),t=th(e,1,!0,t,l??null,a,n,g,u,s,f,dh),t.context=lh(null),l=t.current,a=gt(),a=Ci(a),n=gl(a),n.callback=null,bl(l,n,a),l=a,t.current.lanes=l,Ja(t,l),Qt(t),e[ta]=t.current,gs(e),new si(t)},qn.version="19.2.4",qn}var _h;function op(){if(_h)return qs.exports;_h=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(c){console.error(c)}}return i(),qs.exports=sp(),qs.exports}var rp=op();/**
49
+ `+a.stack}}var _i=Object.prototype.hasOwnProperty,Ti=i.unstable_scheduleCallback,zi=i.unstable_cancelCallback,Om=i.unstable_shouldYield,Mm=i.unstable_requestPaint,ot=i.unstable_now,Dm=i.unstable_getCurrentPriorityLevel,yo=i.unstable_ImmediatePriority,po=i.unstable_UserBlockingPriority,Jn=i.unstable_NormalPriority,Um=i.unstable_LowPriority,vo=i.unstable_IdlePriority,wm=i.log,Hm=i.unstable_setDisableYieldValue,Va=null,rt=null;function rl(e){if(typeof wm=="function"&&Hm(e),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode(Va,e)}catch{}}var ft=Math.clz32?Math.clz32:Bm,km=Math.log,Lm=Math.LN2;function Bm(e){return e>>>=0,e===0?32:31-(km(e)/Lm|0)|0}var Kn=256,$n=262144,Wn=4194304;function Hl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Fn(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=Hl(a):(s&=f,s!==0?n=Hl(s):l||(l=f&~e,l!==0&&(n=Hl(l))))):(f=a&~u,f!==0?n=Hl(f):s!==0?n=Hl(s):l||(l=a&~e,l!==0&&(n=Hl(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 Za(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function qm(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 go(){var e=Wn;return Wn<<=1,(Wn&62914560)===0&&(Wn=4194304),e}function Ni(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Ja(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ym(e,t,l,a,n,u){var s=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,g=e.expirationTimes,C=e.hiddenUpdates;for(l=s&~l;0<l;){var A=31-ft(l),D=1<<A;f[A]=0,g[A]=-1;var j=C[A];if(j!==null)for(C[A]=null,A=0;A<j.length;A++){var R=j[A];R!==null&&(R.lane&=-536870913)}l&=~D}a!==0&&bo(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(s&~t))}function bo(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ft(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function xo(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-ft(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function So(e,t){var l=t&-t;return l=(l&42)!==0?1:Ci(l),(l&(e.suspendedLanes|t))!==0?0:l}function Ci(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 ji(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Eo(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:sh(e.type))}function _o(e,t){var l=Y.p;try{return Y.p=e,t()}finally{Y.p=l}}var fl=Math.random().toString(36).slice(2),Qe="__reactFiber$"+fl,et="__reactProps$"+fl,ta="__reactContainer$"+fl,Ri="__reactEvents$"+fl,Gm="__reactListeners$"+fl,Qm="__reactHandles$"+fl,To="__reactResources$"+fl,Ka="__reactMarker$"+fl;function Ai(e){delete e[Qe],delete e[et],delete e[Ri],delete e[Gm],delete e[Qm]}function la(e){var t=e[Qe];if(t)return t;for(var l=e.parentNode;l;){if(t=l[ta]||l[Qe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Zd(e);e!==null;){if(l=e[Qe])return l;e=Zd(e)}return t}e=l,l=e.parentNode}return null}function aa(e){if(e=e[Qe]||e[ta]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function $a(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function na(e){var t=e[To];return t||(t=e[To]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ye(e){e[Ka]=!0}var zo=new Set,No={};function kl(e,t){ua(e,t),ua(e+"Capture",t)}function ua(e,t){for(No[e]=t,e=0;e<t.length;e++)zo.add(t[e])}var Xm=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]*$"),Co={},jo={};function Vm(e){return _i.call(jo,e)?!0:_i.call(Co,e)?!1:Xm.test(e)?jo[e]=!0:(Co[e]=!0,!1)}function In(e,t,l){if(Vm(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 Pn(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 Vt(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 Et(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ro(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zm(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(s){l=""+s,u.call(this,s)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oi(e){if(!e._valueTracker){var t=Ro(e)?"checked":"value";e._valueTracker=Zm(e,t,""+e[t])}}function Ao(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=Ro(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function eu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Jm=/[\n"\\]/g;function _t(e){return e.replace(Jm,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mi(e,t,l,a,n,u,s,f){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Et(t)):e.value!==""+Et(t)&&(e.value=""+Et(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?Di(e,s,Et(t)):l!=null?Di(e,s,Et(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=""+Et(f):e.removeAttribute("name")}function Oo(e,t,l,a,n,u,s,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)){Oi(e);return}l=l!=null?""+Et(l):"",t=t!=null?""+Et(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,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Oi(e)}function Di(e,t,l){t==="number"&&eu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ia(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=""+Et(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 Mo(e,t,l){if(t!=null&&(t=""+Et(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Et(l):""}function Do(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(o(92));if(we(a)){if(1<a.length)throw Error(o(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Et(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),Oi(e)}function ca(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Km=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 Uo(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||Km.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function wo(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(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]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&Uo(e,n,a)}else for(var u in t)t.hasOwnProperty(u)&&Uo(e,u,t[u])}function Ui(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 $m=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Wm=/^[\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 tu(e){return Wm.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Zt(){}var wi=null;function Hi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sa=null,oa=null;function Ho(e){var t=aa(e);if(t&&(e=t.stateNode)){var l=e[et]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mi(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="'+_t(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[et]||null;if(!n)throw Error(o(90));Mi(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&&Ao(a)}break e;case"textarea":Mo(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&ia(e,!!l.multiple,t,!1)}}}var ki=!1;function ko(e,t,l){if(ki)return e(t,l);ki=!0;try{var a=e(t);return a}finally{if(ki=!1,(sa!==null||oa!==null)&&(Gu(),sa&&(t=sa,e=oa,oa=sa=null,Ho(t),e)))for(t=0;t<e.length;t++)Ho(e[t])}}function Wa(e,t){var l=e.stateNode;if(l===null)return null;var a=l[et]||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(o(231,t,typeof l));return l}var Jt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Li=!1;if(Jt)try{var Fa={};Object.defineProperty(Fa,"passive",{get:function(){Li=!0}}),window.addEventListener("test",Fa,Fa),window.removeEventListener("test",Fa,Fa)}catch{Li=!1}var dl=null,Bi=null,lu=null;function Lo(){if(lu)return lu;var e,t=Bi,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 s=l-e;for(a=1;a<=s&&t[l-a]===n[u-a];a++);return lu=n.slice(e,1<a?1-a:void 0)}function au(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 nu(){return!0}function Bo(){return!1}function tt(e){function t(l,a,n,u,s){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=s,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)?nu:Bo,this.isPropagationStopped=Bo,this}return _(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=nu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=nu)},persist:function(){},isPersistent:nu}),t}var Ll={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uu=tt(Ll),Ia=_({},Ll,{view:0,detail:0}),Fm=tt(Ia),qi,Yi,Pa,iu=_({},Ia,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qi,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!==Pa&&(Pa&&e.type==="mousemove"?(qi=e.screenX-Pa.screenX,Yi=e.screenY-Pa.screenY):Yi=qi=0,Pa=e),qi)},movementY:function(e){return"movementY"in e?e.movementY:Yi}}),qo=tt(iu),Im=_({},iu,{dataTransfer:0}),Pm=tt(Im),ey=_({},Ia,{relatedTarget:0}),Gi=tt(ey),ty=_({},Ll,{animationName:0,elapsedTime:0,pseudoElement:0}),ly=tt(ty),ay=_({},Ll,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ny=tt(ay),uy=_({},Ll,{data:0}),Yo=tt(uy),iy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cy={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"},sy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=sy[e])?!!t[e]:!1}function Qi(){return oy}var ry=_({},Ia,{key:function(e){if(e.key){var t=iy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=au(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?cy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qi,charCode:function(e){return e.type==="keypress"?au(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?au(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fy=tt(ry),dy=_({},iu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Go=tt(dy),hy=_({},Ia,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qi}),my=tt(hy),yy=_({},Ll,{propertyName:0,elapsedTime:0,pseudoElement:0}),py=tt(yy),vy=_({},iu,{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}),gy=tt(vy),by=_({},Ll,{newState:0,oldState:0}),xy=tt(by),Sy=[9,13,27,32],Xi=Jt&&"CompositionEvent"in window,en=null;Jt&&"documentMode"in document&&(en=document.documentMode);var Ey=Jt&&"TextEvent"in window&&!en,Qo=Jt&&(!Xi||en&&8<en&&11>=en),Xo=" ",Vo=!1;function Zo(e,t){switch(e){case"keyup":return Sy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ra=!1;function _y(e,t){switch(e){case"compositionend":return Jo(t);case"keypress":return t.which!==32?null:(Vo=!0,Xo);case"textInput":return e=t.data,e===Xo&&Vo?null:e;default:return null}}function Ty(e,t){if(ra)return e==="compositionend"||!Xi&&Zo(e,t)?(e=Lo(),lu=Bi=dl=null,ra=!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 Qo&&t.locale!=="ko"?null:t.data;default:return null}}var zy={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 Ko(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zy[e.type]:t==="textarea"}function $o(e,t,l,a){sa?oa?oa.push(a):oa=[a]:sa=a,t=$u(t,"onChange"),0<t.length&&(l=new uu("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var tn=null,ln=null;function Ny(e){Md(e,0)}function cu(e){var t=$a(e);if(Ao(t))return e}function Wo(e,t){if(e==="change")return t}var Fo=!1;if(Jt){var Vi;if(Jt){var Zi="oninput"in document;if(!Zi){var Io=document.createElement("div");Io.setAttribute("oninput","return;"),Zi=typeof Io.oninput=="function"}Vi=Zi}else Vi=!1;Fo=Vi&&(!document.documentMode||9<document.documentMode)}function Po(){tn&&(tn.detachEvent("onpropertychange",er),ln=tn=null)}function er(e){if(e.propertyName==="value"&&cu(ln)){var t=[];$o(t,ln,e,Hi(e)),ko(Ny,t)}}function Cy(e,t,l){e==="focusin"?(Po(),tn=t,ln=l,tn.attachEvent("onpropertychange",er)):e==="focusout"&&Po()}function jy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return cu(ln)}function Ry(e,t){if(e==="click")return cu(t)}function Ay(e,t){if(e==="input"||e==="change")return cu(t)}function Oy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:Oy;function an(e,t){if(dt(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(!_i.call(t,n)||!dt(e[n],t[n]))return!1}return!0}function tr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var l=tr(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=tr(l)}}function ar(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ar(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=eu(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=eu(e.document)}return t}function Ji(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 My=Jt&&"documentMode"in document&&11>=document.documentMode,fa=null,Ki=null,nn=null,$i=!1;function ur(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;$i||fa==null||fa!==eu(a)||(a=fa,"selectionStart"in a&&Ji(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}),nn&&an(nn,a)||(nn=a,a=$u(Ki,"onSelect"),0<a.length&&(t=new uu("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=fa)))}function Bl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var da={animationend:Bl("Animation","AnimationEnd"),animationiteration:Bl("Animation","AnimationIteration"),animationstart:Bl("Animation","AnimationStart"),transitionrun:Bl("Transition","TransitionRun"),transitionstart:Bl("Transition","TransitionStart"),transitioncancel:Bl("Transition","TransitionCancel"),transitionend:Bl("Transition","TransitionEnd")},Wi={},ir={};Jt&&(ir=document.createElement("div").style,"AnimationEvent"in window||(delete da.animationend.animation,delete da.animationiteration.animation,delete da.animationstart.animation),"TransitionEvent"in window||delete da.transitionend.transition);function ql(e){if(Wi[e])return Wi[e];if(!da[e])return e;var t=da[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in ir)return Wi[e]=t[l];return e}var cr=ql("animationend"),sr=ql("animationiteration"),or=ql("animationstart"),Dy=ql("transitionrun"),Uy=ql("transitionstart"),wy=ql("transitioncancel"),rr=ql("transitionend"),fr=new Map,Fi="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Fi.push("scrollEnd");function Dt(e,t){fr.set(e,t),kl(t,[e])}var su=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)},Tt=[],ha=0,Ii=0;function ou(){for(var e=ha,t=Ii=ha=0;t<e;){var l=Tt[t];Tt[t++]=null;var a=Tt[t];Tt[t++]=null;var n=Tt[t];Tt[t++]=null;var u=Tt[t];if(Tt[t++]=null,a!==null&&n!==null){var s=a.pending;s===null?n.next=n:(n.next=s.next,s.next=n),a.pending=n}u!==0&&dr(l,n,u)}}function ru(e,t,l,a){Tt[ha++]=e,Tt[ha++]=t,Tt[ha++]=l,Tt[ha++]=a,Ii|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Pi(e,t,l,a){return ru(e,t,l,a),fu(e)}function Yl(e,t){return ru(e,null,null,t),fu(e)}function dr(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-ft(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function fu(e){if(50<Cn)throw Cn=0,ss=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ma={};function Hy(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 ht(e,t,l,a){return new Hy(e,t,l,a)}function ec(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kt(e,t){var l=e.alternate;return l===null?(l=ht(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&65011712,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 hr(e,t){e.flags&=65011714;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 du(e,t,l,a,n,u){var s=0;if(a=e,typeof e=="function")ec(e)&&(s=1);else if(typeof e=="string")s=Y0(e,l,V.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ke:return e=ht(31,l,t,n),e.elementType=Ke,e.lanes=u,e;case U:return Gl(l.children,n,u,t);case Q:s=8,n|=24;break;case q:return e=ht(12,l,t,n|2),e.elementType=q,e.lanes=u,e;case me:return e=ht(13,l,t,n),e.elementType=me,e.lanes=u,e;case Te:return e=ht(19,l,t,n),e.elementType=Te,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:s=10;break e;case I:s=9;break e;case ve:s=11;break e;case P:s=14;break e;case Oe:s=16,a=null;break e}s=29,l=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=ht(s,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function Gl(e,t,l,a){return e=ht(7,e,a,t),e.lanes=l,e}function tc(e,t,l){return e=ht(6,e,null,t),e.lanes=l,e}function mr(e){var t=ht(18,null,null,0);return t.stateNode=e,t}function lc(e,t,l){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var yr=new WeakMap;function zt(e,t){if(typeof e=="object"&&e!==null){var l=yr.get(e);return l!==void 0?l:(t={value:e,source:t,stack:mo(t)},yr.set(e,t),t)}return{value:e,source:t,stack:mo(t)}}var ya=[],pa=0,hu=null,un=0,Nt=[],Ct=0,hl=null,qt=1,Yt="";function $t(e,t){ya[pa++]=un,ya[pa++]=hu,hu=e,un=t}function pr(e,t,l){Nt[Ct++]=qt,Nt[Ct++]=Yt,Nt[Ct++]=hl,hl=e;var a=qt;e=Yt;var n=32-ft(a)-1;a&=~(1<<n),l+=1;var u=32-ft(t)+n;if(30<u){var s=n-n%5;u=(a&(1<<s)-1).toString(32),a>>=s,n-=s,qt=1<<32-ft(t)+n|l<<n|a,Yt=u+e}else qt=1<<u|l<<n|a,Yt=e}function ac(e){e.return!==null&&($t(e,1),pr(e,1,0))}function nc(e){for(;e===hu;)hu=ya[--pa],ya[pa]=null,un=ya[--pa],ya[pa]=null;for(;e===hl;)hl=Nt[--Ct],Nt[Ct]=null,Yt=Nt[--Ct],Nt[Ct]=null,qt=Nt[--Ct],Nt[Ct]=null}function vr(e,t){Nt[Ct++]=qt,Nt[Ct++]=Yt,Nt[Ct++]=hl,qt=t.id,Yt=t.overflow,hl=e}var Xe=null,ze=null,oe=!1,ml=null,jt=!1,uc=Error(o(519));function yl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw cn(zt(t,e)),uc}function gr(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[Qe]=e,t[et]=a,l){case"dialog":ie("cancel",t),ie("close",t);break;case"iframe":case"object":case"embed":ie("load",t);break;case"video":case"audio":for(l=0;l<Rn.length;l++)ie(Rn[l],t);break;case"source":ie("error",t);break;case"img":case"image":case"link":ie("error",t),ie("load",t);break;case"details":ie("toggle",t);break;case"input":ie("invalid",t),Oo(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ie("invalid",t);break;case"textarea":ie("invalid",t),Do(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||Hd(t.textContent,l)?(a.popover!=null&&(ie("beforetoggle",t),ie("toggle",t)),a.onScroll!=null&&ie("scroll",t),a.onScrollEnd!=null&&ie("scrollend",t),a.onClick!=null&&(t.onclick=Zt),t=!0):t=!1,t||yl(e,!0)}function br(e){for(Xe=e.return;Xe;)switch(Xe.tag){case 5:case 31:case 13:jt=!1;return;case 27:case 3:jt=!0;return;default:Xe=Xe.return}}function va(e){if(e!==Xe)return!1;if(!oe)return br(e),oe=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||_s(e.type,e.memoizedProps)),l=!l),l&&ze&&yl(e),br(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ze=Vd(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ze=Vd(e)}else t===27?(t=ze,Rl(e.type)?(e=js,js=null,ze=e):ze=t):ze=Xe?At(e.stateNode.nextSibling):null;return!0}function Ql(){ze=Xe=null,oe=!1}function ic(){var e=ml;return e!==null&&(ut===null?ut=e:ut.push.apply(ut,e),ml=null),e}function cn(e){ml===null?ml=[e]:ml.push(e)}var cc=S(null),Xl=null,Wt=null;function pl(e,t,l){G(cc,t._currentValue),t._currentValue=l}function Ft(e){e._currentValue=cc.current,w(cc)}function sc(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 oc(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var s=n.child;u=u.firstContext;e:for(;u!==null;){var f=u;u=n;for(var g=0;g<t.length;g++)if(f.context===t[g]){u.lanes|=l,f=u.alternate,f!==null&&(f.lanes|=l),sc(u.return,l,e),a||(s=null);break e}u=f.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(o(341));s.lanes|=l,u=s.alternate,u!==null&&(u.lanes|=l),sc(s,l,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function ga(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 s=n.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var f=n.type;dt(n.pendingProps.value,s.value)||(e!==null?e.push(f):e=[f])}}else if(n===he.current){if(s=n.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Un):e=[Un])}n=n.return}e!==null&&oc(t,e,l,a),t.flags|=262144}function mu(e){for(e=e.firstContext;e!==null;){if(!dt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Vl(e){Xl=e,Wt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ve(e){return xr(Xl,e)}function yu(e,t){return Xl===null&&Vl(e),xr(e,t)}function xr(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Wt===null){if(e===null)throw Error(o(308));Wt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Wt=Wt.next=t;return l}var ky=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()})}},Ly=i.unstable_scheduleCallback,By=i.unstable_NormalPriority,He={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function rc(){return{controller:new ky,data:new Map,refCount:0}}function sn(e){e.refCount--,e.refCount===0&&Ly(By,function(){e.controller.abort()})}var on=null,fc=0,ba=0,xa=null;function qy(e,t){if(on===null){var l=on=[];fc=0,ba=ms(),xa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return fc++,t.then(Sr,Sr),t}function Sr(){if(--fc===0&&on!==null){xa!==null&&(xa.status="fulfilled");var e=on;on=null,ba=0,xa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Yy(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 Er=O.S;O.S=function(e,t){id=ot(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&qy(e,t),Er!==null&&Er(e,t)};var Zl=S(null);function dc(){var e=Zl.current;return e!==null?e:_e.pooledCache}function pu(e,t){t===null?G(Zl,Zl.current):G(Zl,t.pool)}function _r(){var e=dc();return e===null?null:{parent:He._currentValue,pool:e}}var Sa=Error(o(460)),hc=Error(o(474)),vu=Error(o(542)),gu={then:function(){}};function Tr(e){return e=e.status,e==="fulfilled"||e==="rejected"}function zr(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Zt,Zt),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Cr(e),e;default:if(typeof t.status=="string")t.then(Zt,Zt);else{if(e=_e,e!==null&&100<e.shellSuspendCounter)throw Error(o(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,Cr(e),e}throw Kl=t,Sa}}function Jl(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Kl=l,Sa):l}}var Kl=null;function Nr(){if(Kl===null)throw Error(o(459));var e=Kl;return Kl=null,e}function Cr(e){if(e===Sa||e===vu)throw Error(o(483))}var Ea=null,rn=0;function bu(e){var t=rn;return rn+=1,Ea===null&&(Ea=[]),zr(Ea,e,t)}function fn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xu(e,t){throw t.$$typeof===H?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function jr(e){function t(T,b){if(e){var N=T.deletions;N===null?(T.deletions=[b],T.flags|=16):N.push(b)}}function l(T,b){if(!e)return null;for(;b!==null;)t(T,b),b=b.sibling;return null}function a(T){for(var b=new Map;T!==null;)T.key!==null?b.set(T.key,T):b.set(T.index,T),T=T.sibling;return b}function n(T,b){return T=Kt(T,b),T.index=0,T.sibling=null,T}function u(T,b,N){return T.index=N,e?(N=T.alternate,N!==null?(N=N.index,N<b?(T.flags|=67108866,b):N):(T.flags|=67108866,b)):(T.flags|=1048576,b)}function s(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function f(T,b,N,M){return b===null||b.tag!==6?(b=tc(N,T.mode,M),b.return=T,b):(b=n(b,N),b.return=T,b)}function g(T,b,N,M){var K=N.type;return K===U?A(T,b,N.props.children,M,N.key):b!==null&&(b.elementType===K||typeof K=="object"&&K!==null&&K.$$typeof===Oe&&Jl(K)===b.type)?(b=n(b,N.props),fn(b,N),b.return=T,b):(b=du(N.type,N.key,N.props,null,T.mode,M),fn(b,N),b.return=T,b)}function C(T,b,N,M){return b===null||b.tag!==4||b.stateNode.containerInfo!==N.containerInfo||b.stateNode.implementation!==N.implementation?(b=lc(N,T.mode,M),b.return=T,b):(b=n(b,N.children||[]),b.return=T,b)}function A(T,b,N,M,K){return b===null||b.tag!==7?(b=Gl(N,T.mode,M,K),b.return=T,b):(b=n(b,N),b.return=T,b)}function D(T,b,N){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=tc(""+b,T.mode,N),b.return=T,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case L:return N=du(b.type,b.key,b.props,null,T.mode,N),fn(N,b),N.return=T,N;case B:return b=lc(b,T.mode,N),b.return=T,b;case Oe:return b=Jl(b),D(T,b,N)}if(we(b)||$e(b))return b=Gl(b,T.mode,N,null),b.return=T,b;if(typeof b.then=="function")return D(T,bu(b),N);if(b.$$typeof===J)return D(T,yu(T,b),N);xu(T,b)}return null}function j(T,b,N,M){var K=b!==null?b.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return K!==null?null:f(T,b,""+N,M);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case L:return N.key===K?g(T,b,N,M):null;case B:return N.key===K?C(T,b,N,M):null;case Oe:return N=Jl(N),j(T,b,N,M)}if(we(N)||$e(N))return K!==null?null:A(T,b,N,M,null);if(typeof N.then=="function")return j(T,b,bu(N),M);if(N.$$typeof===J)return j(T,b,yu(T,N),M);xu(T,N)}return null}function R(T,b,N,M,K){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return T=T.get(N)||null,f(b,T,""+M,K);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case L:return T=T.get(M.key===null?N:M.key)||null,g(b,T,M,K);case B:return T=T.get(M.key===null?N:M.key)||null,C(b,T,M,K);case Oe:return M=Jl(M),R(T,b,N,M,K)}if(we(M)||$e(M))return T=T.get(N)||null,A(b,T,M,K,null);if(typeof M.then=="function")return R(T,b,N,bu(M),K);if(M.$$typeof===J)return R(T,b,N,yu(b,M),K);xu(b,M)}return null}function X(T,b,N,M){for(var K=null,re=null,Z=b,ae=b=0,se=null;Z!==null&&ae<N.length;ae++){Z.index>ae?(se=Z,Z=null):se=Z.sibling;var fe=j(T,Z,N[ae],M);if(fe===null){Z===null&&(Z=se);break}e&&Z&&fe.alternate===null&&t(T,Z),b=u(fe,b,ae),re===null?K=fe:re.sibling=fe,re=fe,Z=se}if(ae===N.length)return l(T,Z),oe&&$t(T,ae),K;if(Z===null){for(;ae<N.length;ae++)Z=D(T,N[ae],M),Z!==null&&(b=u(Z,b,ae),re===null?K=Z:re.sibling=Z,re=Z);return oe&&$t(T,ae),K}for(Z=a(Z);ae<N.length;ae++)se=R(Z,T,ae,N[ae],M),se!==null&&(e&&se.alternate!==null&&Z.delete(se.key===null?ae:se.key),b=u(se,b,ae),re===null?K=se:re.sibling=se,re=se);return e&&Z.forEach(function(Ul){return t(T,Ul)}),oe&&$t(T,ae),K}function $(T,b,N,M){if(N==null)throw Error(o(151));for(var K=null,re=null,Z=b,ae=b=0,se=null,fe=N.next();Z!==null&&!fe.done;ae++,fe=N.next()){Z.index>ae?(se=Z,Z=null):se=Z.sibling;var Ul=j(T,Z,fe.value,M);if(Ul===null){Z===null&&(Z=se);break}e&&Z&&Ul.alternate===null&&t(T,Z),b=u(Ul,b,ae),re===null?K=Ul:re.sibling=Ul,re=Ul,Z=se}if(fe.done)return l(T,Z),oe&&$t(T,ae),K;if(Z===null){for(;!fe.done;ae++,fe=N.next())fe=D(T,fe.value,M),fe!==null&&(b=u(fe,b,ae),re===null?K=fe:re.sibling=fe,re=fe);return oe&&$t(T,ae),K}for(Z=a(Z);!fe.done;ae++,fe=N.next())fe=R(Z,T,ae,fe.value,M),fe!==null&&(e&&fe.alternate!==null&&Z.delete(fe.key===null?ae:fe.key),b=u(fe,b,ae),re===null?K=fe:re.sibling=fe,re=fe);return e&&Z.forEach(function(I0){return t(T,I0)}),oe&&$t(T,ae),K}function Se(T,b,N,M){if(typeof N=="object"&&N!==null&&N.type===U&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case L:e:{for(var K=N.key;b!==null;){if(b.key===K){if(K=N.type,K===U){if(b.tag===7){l(T,b.sibling),M=n(b,N.props.children),M.return=T,T=M;break e}}else if(b.elementType===K||typeof K=="object"&&K!==null&&K.$$typeof===Oe&&Jl(K)===b.type){l(T,b.sibling),M=n(b,N.props),fn(M,N),M.return=T,T=M;break e}l(T,b);break}else t(T,b);b=b.sibling}N.type===U?(M=Gl(N.props.children,T.mode,M,N.key),M.return=T,T=M):(M=du(N.type,N.key,N.props,null,T.mode,M),fn(M,N),M.return=T,T=M)}return s(T);case B:e:{for(K=N.key;b!==null;){if(b.key===K)if(b.tag===4&&b.stateNode.containerInfo===N.containerInfo&&b.stateNode.implementation===N.implementation){l(T,b.sibling),M=n(b,N.children||[]),M.return=T,T=M;break e}else{l(T,b);break}else t(T,b);b=b.sibling}M=lc(N,T.mode,M),M.return=T,T=M}return s(T);case Oe:return N=Jl(N),Se(T,b,N,M)}if(we(N))return X(T,b,N,M);if($e(N)){if(K=$e(N),typeof K!="function")throw Error(o(150));return N=K.call(N),$(T,b,N,M)}if(typeof N.then=="function")return Se(T,b,bu(N),M);if(N.$$typeof===J)return Se(T,b,yu(T,N),M);xu(T,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(N=""+N,b!==null&&b.tag===6?(l(T,b.sibling),M=n(b,N),M.return=T,T=M):(l(T,b),M=tc(N,T.mode,M),M.return=T,T=M),s(T)):l(T,b)}return function(T,b,N,M){try{rn=0;var K=Se(T,b,N,M);return Ea=null,K}catch(Z){if(Z===Sa||Z===vu)throw Z;var re=ht(29,Z,null,T.mode);return re.lanes=M,re.return=T,re}finally{}}}var $l=jr(!0),Rr=jr(!1),vl=!1;function mc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yc(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 gl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(de&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=fu(e),dr(e,null,l),t}return ru(e,a,t,l),fu(e)}function dn(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,xo(e,l)}}function pc(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 s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=s:u=u.next=s,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 vc=!1;function hn(){if(vc){var e=xa;if(e!==null)throw e}}function mn(e,t,l,a){vc=!1;var n=e.updateQueue;vl=!1;var u=n.firstBaseUpdate,s=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var g=f,C=g.next;g.next=null,s===null?u=C:s.next=C,s=g;var A=e.alternate;A!==null&&(A=A.updateQueue,f=A.lastBaseUpdate,f!==s&&(f===null?A.firstBaseUpdate=C:f.next=C,A.lastBaseUpdate=g))}if(u!==null){var D=n.baseState;s=0,A=C=g=null,f=u;do{var j=f.lane&-536870913,R=j!==f.lane;if(R?(ce&j)===j:(a&j)===j){j!==0&&j===ba&&(vc=!0),A!==null&&(A=A.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{var X=e,$=f;j=t;var Se=l;switch($.tag){case 1:if(X=$.payload,typeof X=="function"){D=X.call(Se,D,j);break e}D=X;break e;case 3:X.flags=X.flags&-65537|128;case 0:if(X=$.payload,j=typeof X=="function"?X.call(Se,D,j):X,j==null)break e;D=_({},D,j);break e;case 2:vl=!0}}j=f.callback,j!==null&&(e.flags|=64,R&&(e.flags|=8192),R=n.callbacks,R===null?n.callbacks=[j]:R.push(j))}else R={lane:j,tag:f.tag,payload:f.payload,callback:f.callback,next:null},A===null?(C=A=R,g=D):A=A.next=R,s|=j;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;R=f,f=R.next,R.next=null,n.lastBaseUpdate=R,n.shared.pending=null}}while(!0);A===null&&(g=D),n.baseState=g,n.firstBaseUpdate=C,n.lastBaseUpdate=A,u===null&&(n.shared.lanes=0),Tl|=s,e.lanes=s,e.memoizedState=D}}function Ar(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Or(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Ar(l[e],t)}var _a=S(null),Su=S(0);function Mr(e,t){e=il,G(Su,e),G(_a,t),il=e|t.baseLanes}function gc(){G(Su,il),G(_a,_a.current)}function bc(){il=Su.current,w(_a),w(Su)}var mt=S(null),Rt=null;function xl(e){var t=e.alternate;G(De,De.current&1),G(mt,e),Rt===null&&(t===null||_a.current!==null||t.memoizedState!==null)&&(Rt=e)}function xc(e){G(De,De.current),G(mt,e),Rt===null&&(Rt=e)}function Dr(e){e.tag===22?(G(De,De.current),G(mt,e),Rt===null&&(Rt=e)):Sl()}function Sl(){G(De,De.current),G(mt,mt.current)}function yt(e){w(mt),Rt===e&&(Rt=null),w(De)}var De=S(0);function Eu(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ns(l)||Cs(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var It=0,le=null,be=null,ke=null,_u=!1,Ta=!1,Wl=!1,Tu=0,yn=0,za=null,Gy=0;function Re(){throw Error(o(321))}function Sc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!dt(e[l],t[l]))return!1;return!0}function Ec(e,t,l,a,n,u){return It=u,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?vf:kc,Wl=!1,u=l(a,n),Wl=!1,Ta&&(u=wr(t,l,a,n)),Ur(e),u}function Ur(e){O.H=gn;var t=be!==null&&be.next!==null;if(It=0,ke=be=le=null,_u=!1,yn=0,za=null,t)throw Error(o(300));e===null||Le||(e=e.dependencies,e!==null&&mu(e)&&(Le=!0))}function wr(e,t,l,a){le=e;var n=0;do{if(Ta&&(za=null),yn=0,Ta=!1,25<=n)throw Error(o(301));if(n+=1,ke=be=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=gf,u=t(l,a)}while(Ta);return u}function Qy(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?pn(t):t,e=e.useState()[0],(be!==null?be.memoizedState:null)!==e&&(le.flags|=1024),t}function _c(){var e=Tu!==0;return Tu=0,e}function Tc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function zc(e){if(_u){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}_u=!1}It=0,ke=be=le=null,Ta=!1,yn=Tu=0,za=null}function Pe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?le.memoizedState=ke=e:ke=ke.next=e,ke}function Ue(){if(be===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=be.next;var t=ke===null?le.memoizedState:ke.next;if(t!==null)ke=t,be=e;else{if(e===null)throw le.alternate===null?Error(o(467)):Error(o(310));be=e,e={memoizedState:be.memoizedState,baseState:be.baseState,baseQueue:be.baseQueue,queue:be.queue,next:null},ke===null?le.memoizedState=ke=e:ke=ke.next=e}return ke}function zu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function pn(e){var t=yn;return yn+=1,za===null&&(za=[]),e=zr(za,e,t),t=le,(ke===null?t.memoizedState:ke.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?vf:kc),e}function Nu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return pn(e);if(e.$$typeof===J)return Ve(e)}throw Error(o(438,String(e)))}function Nc(e){var t=null,l=le.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=le.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=zu(),le.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]=Lt;return t.index++,l}function Pt(e,t){return typeof t=="function"?t(e):t}function Cu(e){var t=Ue();return Cc(t,be,e)}function Cc(e,t,l){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var s=n.next;n.next=u.next,u.next=s}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var f=s=null,g=null,C=t,A=!1;do{var D=C.lane&-536870913;if(D!==C.lane?(ce&D)===D:(It&D)===D){var j=C.revertLane;if(j===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),D===ba&&(A=!0);else if((It&j)===j){C=C.next,j===ba&&(A=!0);continue}else D={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(f=g=D,s=u):g=g.next=D,le.lanes|=j,Tl|=j;D=C.action,Wl&&l(u,D),u=C.hasEagerState?C.eagerState:l(u,D)}else j={lane:D,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(f=g=j,s=u):g=g.next=j,le.lanes|=D,Tl|=D;C=C.next}while(C!==null&&C!==t);if(g===null?s=u:g.next=f,!dt(u,e.memoizedState)&&(Le=!0,A&&(l=xa,l!==null)))throw l;e.memoizedState=u,e.baseState=s,e.baseQueue=g,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function jc(e){var t=Ue(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var s=n=n.next;do u=e(u,s.action),s=s.next;while(s!==n);dt(u,t.memoizedState)||(Le=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function Hr(e,t,l){var a=le,n=Ue(),u=oe;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=t();var s=!dt((be||n).memoizedState,l);if(s&&(n.memoizedState=l,Le=!0),n=n.queue,Oc(Br.bind(null,a,n,e),[e]),n.getSnapshot!==t||s||ke!==null&&ke.memoizedState.tag&1){if(a.flags|=2048,Na(9,{destroy:void 0},Lr.bind(null,a,n,l,t),null),_e===null)throw Error(o(349));u||(It&127)!==0||kr(a,t,l)}return l}function kr(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=le.updateQueue,t===null?(t=zu(),le.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Lr(e,t,l,a){t.value=l,t.getSnapshot=a,qr(t)&&Yr(e)}function Br(e,t,l){return l(function(){qr(t)&&Yr(e)})}function qr(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!dt(e,l)}catch{return!0}}function Yr(e){var t=Yl(e,2);t!==null&&it(t,e,2)}function Rc(e){var t=Pe();if(typeof e=="function"){var l=e;if(e=l(),Wl){rl(!0);try{l()}finally{rl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:e},t}function Gr(e,t,l,a){return e.baseState=l,Cc(e,be,typeof a=="function"?a:Pt)}function Xy(e,t,l,a,n){if(Au(e))throw Error(o(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(s){u.listeners.push(s)}};O.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,Qr(t,u)):(u.next=l.next,t.pending=l.next=u)}}function Qr(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=O.T,s={};O.T=s;try{var f=l(n,a),g=O.S;g!==null&&g(s,f),Xr(e,t,f)}catch(C){Ac(e,t,C)}finally{u!==null&&s.types!==null&&(u.types=s.types),O.T=u}}else try{u=l(n,a),Xr(e,t,u)}catch(C){Ac(e,t,C)}}function Xr(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Vr(e,t,a)},function(a){return Ac(e,t,a)}):Vr(e,t,l)}function Vr(e,t,l){t.status="fulfilled",t.value=l,Zr(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Qr(e,l)))}function Ac(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Zr(t),t=t.next;while(t!==a)}e.action=null}function Zr(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jr(e,t){return t}function Kr(e,t){if(oe){var l=_e.formState;if(l!==null){e:{var a=le;if(oe){if(ze){t:{for(var n=ze,u=jt;n.nodeType!==8;){if(!u){n=null;break t}if(n=At(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){ze=At(n.nextSibling),a=n.data==="F!";break e}}yl(a)}a=!1}a&&(t=l[0])}}return l=Pe(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jr,lastRenderedState:t},l.queue=a,l=mf.bind(null,le,a),a.dispatch=l,a=Rc(!1),u=Hc.bind(null,le,!1,a.queue),a=Pe(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=Xy.bind(null,le,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function $r(e){var t=Ue();return Wr(t,be,e)}function Wr(e,t,l){if(t=Cc(e,t,Jr)[0],e=Cu(Pt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=pn(t)}catch(s){throw s===Sa?vu:s}else a=t;t=Ue();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(le.flags|=2048,Na(9,{destroy:void 0},Vy.bind(null,n,l),null)),[a,u,e]}function Vy(e,t){e.action=t}function Fr(e){var t=Ue(),l=be;if(l!==null)return Wr(t,l,e);Ue(),t=t.memoizedState,l=Ue();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Na(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=le.updateQueue,t===null&&(t=zu(),le.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 Ir(){return Ue().memoizedState}function ju(e,t,l,a){var n=Pe();le.flags|=e,n.memoizedState=Na(1|t,{destroy:void 0},l,a===void 0?null:a)}function Ru(e,t,l,a){var n=Ue();a=a===void 0?null:a;var u=n.memoizedState.inst;be!==null&&a!==null&&Sc(a,be.memoizedState.deps)?n.memoizedState=Na(t,u,l,a):(le.flags|=e,n.memoizedState=Na(1|t,u,l,a))}function Pr(e,t){ju(8390656,8,e,t)}function Oc(e,t){Ru(2048,8,e,t)}function Zy(e){le.flags|=4;var t=le.updateQueue;if(t===null)t=zu(),le.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function ef(e){var t=Ue().memoizedState;return Zy({ref:t,nextImpl:e}),function(){if((de&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function tf(e,t){return Ru(4,2,e,t)}function lf(e,t){return Ru(4,4,e,t)}function af(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 nf(e,t,l){l=l!=null?l.concat([e]):null,Ru(4,4,af.bind(null,t,e),l)}function Mc(){}function uf(e,t){var l=Ue();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Sc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function cf(e,t){var l=Ue();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Sc(t,a[1]))return a[0];if(a=e(),Wl){rl(!0);try{e()}finally{rl(!1)}}return l.memoizedState=[a,t],a}function Dc(e,t,l){return l===void 0||(It&1073741824)!==0&&(ce&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=sd(),le.lanes|=e,Tl|=e,l)}function sf(e,t,l,a){return dt(l,t)?l:_a.current!==null?(e=Dc(e,l,a),dt(e,t)||(Le=!0),e):(It&42)===0||(It&1073741824)!==0&&(ce&261930)===0?(Le=!0,e.memoizedState=l):(e=sd(),le.lanes|=e,Tl|=e,t)}function of(e,t,l,a,n){var u=Y.p;Y.p=u!==0&&8>u?u:8;var s=O.T,f={};O.T=f,Hc(e,!1,t,l);try{var g=n(),C=O.S;if(C!==null&&C(f,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var A=Yy(g,a);vn(e,t,A,gt(e))}else vn(e,t,a,gt(e))}catch(D){vn(e,t,{then:function(){},status:"rejected",reason:D},gt())}finally{Y.p=u,s!==null&&f.types!==null&&(s.types=f.types),O.T=s}}function Jy(){}function Uc(e,t,l,a){if(e.tag!==5)throw Error(o(476));var n=rf(e).queue;of(e,n,t,F,l===null?Jy:function(){return ff(e),l(a)})}function rf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:F},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ff(e){var t=rf(e);t.next===null&&(t=e.alternate.memoizedState),vn(e,t.next.queue,{},gt())}function wc(){return Ve(Un)}function df(){return Ue().memoizedState}function hf(){return Ue().memoizedState}function Ky(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=gt();e=gl(l);var a=bl(t,e,l);a!==null&&(it(a,t,l),dn(a,t,l)),t={cache:rc()},e.payload=t;return}t=t.return}}function $y(e,t,l){var a=gt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Au(e)?yf(t,l):(l=Pi(e,t,l,a),l!==null&&(it(l,e,a),pf(l,t,a)))}function mf(e,t,l){var a=gt();vn(e,t,l,a)}function vn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Au(e))yf(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var s=t.lastRenderedState,f=u(s,l);if(n.hasEagerState=!0,n.eagerState=f,dt(f,s))return ru(e,t,n,0),_e===null&&ou(),!1}catch{}finally{}if(l=Pi(e,t,n,a),l!==null)return it(l,e,a),pf(l,t,a),!0}return!1}function Hc(e,t,l,a){if(a={lane:2,revertLane:ms(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Au(e)){if(t)throw Error(o(479))}else t=Pi(e,l,a,2),t!==null&&it(t,e,2)}function Au(e){var t=e.alternate;return e===le||t!==null&&t===le}function yf(e,t){Ta=_u=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function pf(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,xo(e,l)}}var gn={readContext:Ve,use:Nu,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useLayoutEffect:Re,useInsertionEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useSyncExternalStore:Re,useId:Re,useHostTransitionStatus:Re,useFormState:Re,useActionState:Re,useOptimistic:Re,useMemoCache:Re,useCacheRefresh:Re};gn.useEffectEvent=Re;var vf={readContext:Ve,use:Nu,useCallback:function(e,t){return Pe().memoizedState=[e,t===void 0?null:t],e},useContext:Ve,useEffect:Pr,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ju(4194308,4,af.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ju(4194308,4,e,t)},useInsertionEffect:function(e,t){ju(4,2,e,t)},useMemo:function(e,t){var l=Pe();t=t===void 0?null:t;var a=e();if(Wl){rl(!0);try{e()}finally{rl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=Pe();if(l!==void 0){var n=l(t);if(Wl){rl(!0);try{l(t)}finally{rl(!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=$y.bind(null,le,e),[a.memoizedState,e]},useRef:function(e){var t=Pe();return e={current:e},t.memoizedState=e},useState:function(e){e=Rc(e);var t=e.queue,l=mf.bind(null,le,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Mc,useDeferredValue:function(e,t){var l=Pe();return Dc(l,e,t)},useTransition:function(){var e=Rc(!1);return e=of.bind(null,le,e.queue,!0,!1),Pe().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=le,n=Pe();if(oe){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),_e===null)throw Error(o(349));(ce&127)!==0||kr(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Pr(Br.bind(null,a,u,e),[e]),a.flags|=2048,Na(9,{destroy:void 0},Lr.bind(null,a,u,l,t),null),l},useId:function(){var e=Pe(),t=_e.identifierPrefix;if(oe){var l=Yt,a=qt;l=(a&~(1<<32-ft(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Tu++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=Gy++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:wc,useFormState:Kr,useActionState:Kr,useOptimistic:function(e){var t=Pe();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Hc.bind(null,le,!0,l),l.dispatch=t,[e,t]},useMemoCache:Nc,useCacheRefresh:function(){return Pe().memoizedState=Ky.bind(null,le)},useEffectEvent:function(e){var t=Pe(),l={impl:e};return t.memoizedState=l,function(){if((de&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},kc={readContext:Ve,use:Nu,useCallback:uf,useContext:Ve,useEffect:Oc,useImperativeHandle:nf,useInsertionEffect:tf,useLayoutEffect:lf,useMemo:cf,useReducer:Cu,useRef:Ir,useState:function(){return Cu(Pt)},useDebugValue:Mc,useDeferredValue:function(e,t){var l=Ue();return sf(l,be.memoizedState,e,t)},useTransition:function(){var e=Cu(Pt)[0],t=Ue().memoizedState;return[typeof e=="boolean"?e:pn(e),t]},useSyncExternalStore:Hr,useId:df,useHostTransitionStatus:wc,useFormState:$r,useActionState:$r,useOptimistic:function(e,t){var l=Ue();return Gr(l,be,e,t)},useMemoCache:Nc,useCacheRefresh:hf};kc.useEffectEvent=ef;var gf={readContext:Ve,use:Nu,useCallback:uf,useContext:Ve,useEffect:Oc,useImperativeHandle:nf,useInsertionEffect:tf,useLayoutEffect:lf,useMemo:cf,useReducer:jc,useRef:Ir,useState:function(){return jc(Pt)},useDebugValue:Mc,useDeferredValue:function(e,t){var l=Ue();return be===null?Dc(l,e,t):sf(l,be.memoizedState,e,t)},useTransition:function(){var e=jc(Pt)[0],t=Ue().memoizedState;return[typeof e=="boolean"?e:pn(e),t]},useSyncExternalStore:Hr,useId:df,useHostTransitionStatus:wc,useFormState:Fr,useActionState:Fr,useOptimistic:function(e,t){var l=Ue();return be!==null?Gr(l,be,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Nc,useCacheRefresh:hf};gf.useEffectEvent=ef;function Lc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:_({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Bc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=gt(),n=gl(a);n.payload=t,l!=null&&(n.callback=l),t=bl(e,n,a),t!==null&&(it(t,e,a),dn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=gt(),n=gl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=bl(e,n,a),t!==null&&(it(t,e,a),dn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=gt(),a=gl(l);a.tag=2,t!=null&&(a.callback=t),t=bl(e,a,l),t!==null&&(it(t,e,l),dn(t,e,l))}};function bf(e,t,l,a,n,u,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,s):t.prototype&&t.prototype.isPureReactComponent?!an(l,a)||!an(n,u):!0}function xf(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&&Bc.enqueueReplaceState(t,t.state,null)}function Fl(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=_({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function Sf(e){su(e)}function Ef(e){console.error(e)}function _f(e){su(e)}function Ou(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Tf(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 qc(e,t,l){return l=gl(l),l.tag=3,l.payload={element:null},l.callback=function(){Ou(e,t)},l}function zf(e){return e=gl(e),e.tag=3,e}function Nf(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(){Tf(t,l,a)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){Tf(t,l,a),typeof n!="function"&&(zl===null?zl=new Set([this]):zl.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function Wy(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&ga(t,l,n,!0),l=mt.current,l!==null){switch(l.tag){case 31:case 13:return Rt===null?Qu():l.alternate===null&&Ae===0&&(Ae=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===gu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),fs(e,a,n)),!1;case 22:return l.flags|=65536,a===gu?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)),fs(e,a,n)),!1}throw Error(o(435,l.tag))}return fs(e,a,n),Qu(),!1}if(oe)return t=mt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==uc&&(e=Error(o(422),{cause:a}),cn(zt(e,l)))):(a!==uc&&(t=Error(o(423),{cause:a}),cn(zt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=zt(a,l),n=qc(e.stateNode,a,n),pc(e,n),Ae!==4&&(Ae=2)),!1;var u=Error(o(520),{cause:a});if(u=zt(u,l),Nn===null?Nn=[u]:Nn.push(u),Ae!==4&&(Ae=2),t===null)return!0;a=zt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=qc(l.stateNode,a,e),pc(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"&&(zl===null||!zl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=zf(n),Nf(n,e,l,a),pc(l,n),!1}l=l.return}while(l!==null);return!1}var Yc=Error(o(461)),Le=!1;function Ze(e,t,l,a){t.child=e===null?Rr(t,null,l,a):$l(t,e.child,l,a)}function Cf(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var s={};for(var f in a)f!=="ref"&&(s[f]=a[f])}else s=a;return Vl(t),a=Ec(e,t,l,s,u,n),f=_c(),e!==null&&!Le?(Tc(e,t,n),el(e,t,n)):(oe&&f&&ac(t),t.flags|=1,Ze(e,t,a,n),t.child)}function jf(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!ec(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,Rf(e,t,u,a,n)):(e=du(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!$c(e,n)){var s=u.memoizedProps;if(l=l.compare,l=l!==null?l:an,l(s,a)&&e.ref===t.ref)return el(e,t,n)}return t.flags|=1,e=Kt(u,a),e.ref=t.ref,e.return=t,t.child=e}function Rf(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(an(u,a)&&e.ref===t.ref)if(Le=!1,t.pendingProps=a=u,$c(e,n))(e.flags&131072)!==0&&(Le=!0);else return t.lanes=e.lanes,el(e,t,n)}return Gc(e,t,l,a,n)}function Af(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 Of(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pu(t,u!==null?u.cachePool:null),u!==null?Mr(t,u):gc(),Dr(t);else return a=t.lanes=536870912,Of(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(pu(t,u.cachePool),Mr(t,u),Sl(),t.memoizedState=null):(e!==null&&pu(t,null),gc(),Sl());return Ze(e,t,n,l),t.child}function bn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Of(e,t,l,a,n){var u=dc();return u=u===null?null:{parent:He._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&pu(t,null),gc(),Dr(t),e!==null&&ga(e,t,a,!0),t.childLanes=n,null}function Mu(e,t){return t=Uu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Mf(e,t,l){return $l(t,e.child,null,l),e=Mu(t,t.pendingProps),e.flags|=2,yt(t),t.memoizedState=null,e}function Fy(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(oe){if(a.mode==="hidden")return e=Mu(t,a),t.lanes=536870912,bn(null,e);if(xc(t),(e=ze)?(e=Xd(e,jt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:hl!==null?{id:qt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},l=mr(e),l.return=t,t.child=l,Xe=t,ze=null)):e=null,e===null)throw yl(t);return t.lanes=536870912,null}return Mu(t,a)}var u=e.memoizedState;if(u!==null){var s=u.dehydrated;if(xc(t),n)if(t.flags&256)t.flags&=-257,t=Mf(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Le||ga(e,t,l,!1),n=(l&e.childLanes)!==0,Le||n){if(a=_e,a!==null&&(s=So(a,l),s!==0&&s!==u.retryLane))throw u.retryLane=s,Yl(e,s),it(a,e,s),Yc;Qu(),t=Mf(e,t,l)}else e=u.treeContext,ze=At(s.nextSibling),Xe=t,oe=!0,ml=null,jt=!1,e!==null&&vr(t,e),t=Mu(t,a),t.flags|=4096;return t}return e=Kt(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Du(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(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Gc(e,t,l,a,n){return Vl(t),l=Ec(e,t,l,a,void 0,n),a=_c(),e!==null&&!Le?(Tc(e,t,n),el(e,t,n)):(oe&&a&&ac(t),t.flags|=1,Ze(e,t,l,n),t.child)}function Df(e,t,l,a,n,u){return Vl(t),t.updateQueue=null,l=wr(t,a,l,n),Ur(e),a=_c(),e!==null&&!Le?(Tc(e,t,u),el(e,t,u)):(oe&&a&&ac(t),t.flags|=1,Ze(e,t,l,u),t.child)}function Uf(e,t,l,a,n){if(Vl(t),t.stateNode===null){var u=ma,s=l.contextType;typeof s=="object"&&s!==null&&(u=Ve(s)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Bc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},mc(t),s=l.contextType,u.context=typeof s=="object"&&s!==null?Ve(s):ma,u.state=t.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Lc(t,l,s,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(s=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),s!==u.state&&Bc.enqueueReplaceState(u,u.state,null),mn(t,a,u,n),hn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var f=t.memoizedProps,g=Fl(l,f);u.props=g;var C=u.context,A=l.contextType;s=ma,typeof A=="object"&&A!==null&&(s=Ve(A));var D=l.getDerivedStateFromProps;A=typeof D=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,A||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||C!==s)&&xf(t,u,a,s),vl=!1;var j=t.memoizedState;u.state=j,mn(t,a,u,n),hn(),C=t.memoizedState,f||j!==C||vl?(typeof D=="function"&&(Lc(t,l,D,a),C=t.memoizedState),(g=vl||bf(t,l,g,a,j,C,s))?(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=C),u.props=a,u.state=C,u.context=s,a=g):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,yc(e,t),s=t.memoizedProps,A=Fl(l,s),u.props=A,D=t.pendingProps,j=u.context,C=l.contextType,g=ma,typeof C=="object"&&C!==null&&(g=Ve(C)),f=l.getDerivedStateFromProps,(C=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s!==D||j!==g)&&xf(t,u,a,g),vl=!1,j=t.memoizedState,u.state=j,mn(t,a,u,n),hn();var R=t.memoizedState;s!==D||j!==R||vl||e!==null&&e.dependencies!==null&&mu(e.dependencies)?(typeof f=="function"&&(Lc(t,l,f,a),R=t.memoizedState),(A=vl||bf(t,l,A,a,j,R,g)||e!==null&&e.dependencies!==null&&mu(e.dependencies))?(C||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,R,g),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,R,g)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=R),u.props=a,u.state=R,u.context=g,a=A):(typeof u.componentDidUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,Du(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=$l(t,e.child,null,n),t.child=$l(t,null,l,n)):Ze(e,t,l,n),t.memoizedState=u.state,e=t.child):e=el(e,t,n),e}function wf(e,t,l,a){return Ql(),t.flags|=256,Ze(e,t,l,a),t.child}var Qc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xc(e){return{baseLanes:e,cachePool:_r()}}function Vc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=vt),e}function Hf(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,s;if((s=u)||(s=e!==null&&e.memoizedState===null?!1:(De.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(oe){if(n?xl(t):Sl(),(e=ze)?(e=Xd(e,jt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:hl!==null?{id:qt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},l=mr(e),l.return=t,t.child=l,Xe=t,ze=null)):e=null,e===null)throw yl(t);return Cs(e)?t.lanes=32:t.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Sl(),n=t.mode,f=Uu({mode:"hidden",children:f},n),a=Gl(a,n,l,null),f.return=t,a.return=t,f.sibling=a,t.child=f,a=t.child,a.memoizedState=Xc(l),a.childLanes=Vc(e,s,l),t.memoizedState=Qc,bn(null,a)):(xl(t),Zc(t,f))}var g=e.memoizedState;if(g!==null&&(f=g.dehydrated,f!==null)){if(u)t.flags&256?(xl(t),t.flags&=-257,t=Jc(e,t,l)):t.memoizedState!==null?(Sl(),t.child=e.child,t.flags|=128,t=null):(Sl(),f=a.fallback,n=t.mode,a=Uu({mode:"visible",children:a.children},n),f=Gl(f,n,l,null),f.flags|=2,a.return=t,f.return=t,a.sibling=f,t.child=a,$l(t,e.child,null,l),a=t.child,a.memoizedState=Xc(l),a.childLanes=Vc(e,s,l),t.memoizedState=Qc,t=bn(null,a));else if(xl(t),Cs(f)){if(s=f.nextSibling&&f.nextSibling.dataset,s)var C=s.dgst;s=C,a=Error(o(419)),a.stack="",a.digest=s,cn({value:a,source:null,stack:null}),t=Jc(e,t,l)}else if(Le||ga(e,t,l,!1),s=(l&e.childLanes)!==0,Le||s){if(s=_e,s!==null&&(a=So(s,l),a!==0&&a!==g.retryLane))throw g.retryLane=a,Yl(e,a),it(s,e,a),Yc;Ns(f)||Qu(),t=Jc(e,t,l)}else Ns(f)?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,ze=At(f.nextSibling),Xe=t,oe=!0,ml=null,jt=!1,e!==null&&vr(t,e),t=Zc(t,a.children),t.flags|=4096);return t}return n?(Sl(),f=a.fallback,n=t.mode,g=e.child,C=g.sibling,a=Kt(g,{mode:"hidden",children:a.children}),a.subtreeFlags=g.subtreeFlags&65011712,C!==null?f=Kt(C,f):(f=Gl(f,n,l,null),f.flags|=2),f.return=t,a.return=t,a.sibling=f,t.child=a,bn(null,a),a=t.child,f=e.child.memoizedState,f===null?f=Xc(l):(n=f.cachePool,n!==null?(g=He._currentValue,n=n.parent!==g?{parent:g,pool:g}:n):n=_r(),f={baseLanes:f.baseLanes|l,cachePool:n}),a.memoizedState=f,a.childLanes=Vc(e,s,l),t.memoizedState=Qc,bn(e.child,a)):(xl(t),l=e.child,e=l.sibling,l=Kt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=l,t.memoizedState=null,l)}function Zc(e,t){return t=Uu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Uu(e,t){return e=ht(22,e,null,t),e.lanes=0,e}function Jc(e,t,l){return $l(t,e.child,null,l),e=Zc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kf(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),sc(e.return,t,l)}function Kc(e,t,l,a,n,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=l,s.tailMode=n,s.treeForkCount=u)}function Lf(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var s=De.current,f=(s&2)!==0;if(f?(s=s&1|2,t.flags|=128):s&=1,G(De,s),Ze(e,t,a,l),a=oe?un:0,!f&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kf(e,l,t);else if(e.tag===19)kf(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"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&Eu(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Kc(t,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Eu(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Kc(t,!0,l,null,u,a);break;case"together":Kc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function el(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Tl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ga(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=Kt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Kt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function $c(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&mu(e)))}function Iy(e,t,l){switch(t.tag){case 3:Ie(t,t.stateNode.containerInfo),pl(t,He,e.memoizedState.cache),Ql();break;case 27:case 5:Xa(t);break;case 4:Ie(t,t.stateNode.containerInfo);break;case 10:pl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,xc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(xl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Hf(e,t,l):(xl(t),e=el(e,t,l),e!==null?e.sibling:null);xl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(ga(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Lf(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),G(De,De.current),a)break;return null;case 22:return t.lanes=0,Af(e,t,l,t.pendingProps);case 24:pl(t,He,e.memoizedState.cache)}return el(e,t,l)}function Bf(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Le=!0;else{if(!$c(e,l)&&(t.flags&128)===0)return Le=!1,Iy(e,t,l);Le=(e.flags&131072)!==0}else Le=!1,oe&&(t.flags&1048576)!==0&&pr(t,un,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Jl(t.elementType),t.type=e,typeof e=="function")ec(e)?(a=Fl(e,a),t.tag=1,t=Uf(null,t,e,a,l)):(t.tag=0,t=Gc(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===ve){t.tag=11,t=Cf(null,t,e,a,l);break e}else if(n===P){t.tag=14,t=jf(null,t,e,a,l);break e}}throw t=St(e)||e,Error(o(306,t,""))}}return t;case 0:return Gc(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Fl(a,t.pendingProps),Uf(e,t,a,n,l);case 3:e:{if(Ie(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,yc(e,t),mn(t,a,null,l);var s=t.memoizedState;if(a=s.cache,pl(t,He,a),a!==u.cache&&oc(t,[He],l,!0),hn(),a=s.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=wf(e,t,a,l);break e}else if(a!==n){n=zt(Error(o(424)),t),cn(n),t=wf(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(ze=At(e.firstChild),Xe=t,oe=!0,ml=null,jt=!0,l=Rr(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ql(),a===n){t=el(e,t,l);break e}Ze(e,t,a,l)}t=t.child}return t;case 26:return Du(e,t),e===null?(l=Wd(t.type,null,t.pendingProps,null))?t.memoizedState=l:oe||(l=t.type,e=t.pendingProps,a=Wu(ne.current).createElement(l),a[Qe]=t,a[et]=e,Je(a,l,e),Ye(a),t.stateNode=a):t.memoizedState=Wd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Xa(t),e===null&&oe&&(a=t.stateNode=Jd(t.type,t.pendingProps,ne.current),Xe=t,jt=!0,n=ze,Rl(t.type)?(js=n,ze=At(a.firstChild)):ze=n),Ze(e,t,t.pendingProps.children,l),Du(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&oe&&((n=a=ze)&&(a=j0(a,t.type,t.pendingProps,jt),a!==null?(t.stateNode=a,Xe=t,ze=At(a.firstChild),jt=!1,n=!0):n=!1),n||yl(t)),Xa(t),n=t.type,u=t.pendingProps,s=e!==null?e.memoizedProps:null,a=u.children,_s(n,u)?a=null:s!==null&&_s(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=Ec(e,t,Qy,null,null,l),Un._currentValue=n),Du(e,t),Ze(e,t,a,l),t.child;case 6:return e===null&&oe&&((e=l=ze)&&(l=R0(l,t.pendingProps,jt),l!==null?(t.stateNode=l,Xe=t,ze=null,e=!0):e=!1),e||yl(t)),null;case 13:return Hf(e,t,l);case 4:return Ie(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=$l(t,null,a,l):Ze(e,t,a,l),t.child;case 11:return Cf(e,t,t.type,t.pendingProps,l);case 7:return Ze(e,t,t.pendingProps,l),t.child;case 8:return Ze(e,t,t.pendingProps.children,l),t.child;case 12:return Ze(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,pl(t,t.type,a.value),Ze(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Vl(t),n=Ve(n),a=a(n),t.flags|=1,Ze(e,t,a,l),t.child;case 14:return jf(e,t,t.type,t.pendingProps,l);case 15:return Rf(e,t,t.type,t.pendingProps,l);case 19:return Lf(e,t,l);case 31:return Fy(e,t,l);case 22:return Af(e,t,l,t.pendingProps);case 24:return Vl(t),a=Ve(He),e===null?(n=dc(),n===null&&(n=_e,u=rc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},mc(t),pl(t,He,n)):((e.lanes&l)!==0&&(yc(e,t),mn(t,null,null,l),hn()),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),pl(t,He,a)):(a=u.cache,pl(t,He,a),a!==n.cache&&oc(t,[He],l,!0))),Ze(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function tl(e){e.flags|=4}function Wc(e,t,l,a,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(dd())e.flags|=8192;else throw Kl=gu,hc}else e.flags&=-16777217}function qf(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!th(t))if(dd())e.flags|=8192;else throw Kl=gu,hc}function wu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?go():536870912,e.lanes|=t,Aa|=t)}function xn(e,t){if(!oe)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var 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}}function Ne(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&65011712,a|=n.flags&65011712,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 Py(e,t,l){var a=t.pendingProps;switch(nc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return Ne(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ft(He),Me(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(va(t)?tl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ic())),Ne(t),null;case 26:var n=t.type,u=t.memoizedState;return e===null?(tl(t),u!==null?(Ne(t),qf(t,u)):(Ne(t),Wc(t,n,null,a,l))):u?u!==e.memoizedState?(tl(t),Ne(t),qf(t,u)):(Ne(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&tl(t),Ne(t),Wc(t,n,e,a,l)),null;case 27:if(Zn(t),l=ne.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&tl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ne(t),null}e=V.current,va(t)?gr(t):(e=Jd(n,a,l),t.stateNode=e,tl(t))}return Ne(t),null;case 5:if(Zn(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&tl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ne(t),null}if(u=V.current,va(t))gr(t);else{var s=Wu(ne.current);switch(u){case 1:u=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=s.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}u[Qe]=t,u[et]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=u;e:switch(Je(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&&tl(t)}}return Ne(t),Wc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&tl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=ne.current,va(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[Qe]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Hd(e.nodeValue,l)),e||yl(t,!0)}else e=Wu(e).createTextNode(a),e[Qe]=t,t.stateNode=e}return Ne(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=va(t),l!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Qe]=t}else Ql(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),e=!1}else l=ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(yt(t),t):(yt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Ne(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=va(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Qe]=t}else Ql(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),n=!1}else n=ic(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(yt(t),t):(yt(t),null)}return yt(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),wu(t,t.updateQueue),Ne(t),null);case 4:return Me(),e===null&&gs(t.stateNode.containerInfo),Ne(t),null;case 10:return Ft(t.type),Ne(t),null;case 19:if(w(De),a=t.memoizedState,a===null)return Ne(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)xn(a,!1);else{if(Ae!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Eu(e),u!==null){for(t.flags|=128,xn(a,!1),e=u.updateQueue,t.updateQueue=e,wu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)hr(l,e),l=l.sibling;return G(De,De.current&1|2),oe&&$t(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&ot()>qu&&(t.flags|=128,n=!0,xn(a,!1),t.lanes=4194304)}else{if(!n)if(e=Eu(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,wu(t,e),xn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!oe)return Ne(t),null}else 2*ot()-a.renderingStartTime>qu&&l!==536870912&&(t.flags|=128,n=!0,xn(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)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=ot(),e.sibling=null,l=De.current,G(De,n?l&1|2:l&1),oe&&$t(t,a.treeForkCount),e):(Ne(t),null);case 22:case 23:return yt(t),bc(),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&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),l=t.updateQueue,l!==null&&wu(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&&w(Zl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Ft(He),Ne(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function e0(e,t){switch(nc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ft(He),Me(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Zn(t),null;case 31:if(t.memoizedState!==null){if(yt(t),t.alternate===null)throw Error(o(340));Ql()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(yt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ql()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return w(De),null;case 4:return Me(),null;case 10:return Ft(t.type),null;case 22:case 23:return yt(t),bc(),e!==null&&w(Zl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ft(He),null;case 25:return null;default:return null}}function Yf(e,t){switch(nc(t),t.tag){case 3:Ft(He),Me();break;case 26:case 27:case 5:Zn(t);break;case 4:Me();break;case 31:t.memoizedState!==null&&yt(t);break;case 13:yt(t);break;case 19:w(De);break;case 10:Ft(t.type);break;case 22:case 23:yt(t),bc(),e!==null&&w(Zl);break;case 24:Ft(He)}}function Sn(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,s=l.inst;a=u(),s.destroy=a}l=l.next}while(l!==n)}}catch(f){pe(t,t.return,f)}}function El(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 s=a.inst,f=s.destroy;if(f!==void 0){s.destroy=void 0,n=t;var g=l,C=f;try{C()}catch(A){pe(n,g,A)}}}a=a.next}while(a!==u)}}catch(A){pe(t,t.return,A)}}function Gf(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Or(t,l)}catch(a){pe(e,e.return,a)}}}function Qf(e,t,l){l.props=Fl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){pe(e,t,a)}}function En(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:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){pe(e,t,n)}}function Gt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){pe(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){pe(e,t,n)}else l.current=null}function Xf(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){pe(e,e.return,n)}}function Fc(e,t,l){try{var a=e.stateNode;E0(a,e.type,l,t),a[et]=t}catch(n){pe(e,e.return,n)}}function Vf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Rl(e.type)||e.tag===4}function Ic(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vf(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&&Rl(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 Pc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Zt));else if(a!==4&&(a===27&&Rl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Pc(e,t,l),e=e.sibling;e!==null;)Pc(e,t,l),e=e.sibling}function Hu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Rl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Hu(e,t,l),e=e.sibling;e!==null;)Hu(e,t,l),e=e.sibling}function Zf(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Je(t,a,l),t[Qe]=e,t[et]=l}catch(u){pe(e,e.return,u)}}var ll=!1,Be=!1,es=!1,Jf=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function t0(e,t){if(e=e.containerInfo,Ss=ai,e=nr(e),Ji(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var s=0,f=-1,g=-1,C=0,A=0,D=e,j=null;t:for(;;){for(var R;D!==l||n!==0&&D.nodeType!==3||(f=s+n),D!==u||a!==0&&D.nodeType!==3||(g=s+a),D.nodeType===3&&(s+=D.nodeValue.length),(R=D.firstChild)!==null;)j=D,D=R;for(;;){if(D===e)break t;if(j===l&&++C===n&&(f=s),j===u&&++A===a&&(g=s),(R=D.nextSibling)!==null)break;D=j,j=D.parentNode}D=R}l=f===-1||g===-1?null:{start:f,end:g}}else l=null}l=l||{start:0,end:0}}else l=null;for(Es={focusedElem:e,selectionRange:l},ai=!1,Ge=t;Ge!==null;)if(t=Ge,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ge=e;else for(;Ge!==null;){switch(t=Ge,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)n=e[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var X=Fl(l.type,n);e=a.getSnapshotBeforeUpdate(X,u),a.__reactInternalSnapshotBeforeUpdate=e}catch($){pe(l,l.return,$)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)zs(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":zs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Ge=e;break}Ge=t.return}}function Kf(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:nl(e,l),a&4&&Sn(5,l);break;case 1:if(nl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(s){pe(l,l.return,s)}else{var n=Fl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){pe(l,l.return,s)}}a&64&&Gf(l),a&512&&En(l,l.return);break;case 3:if(nl(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{Or(e,t)}catch(s){pe(l,l.return,s)}}break;case 27:t===null&&a&4&&Zf(l);case 26:case 5:nl(e,l),t===null&&a&4&&Xf(l),a&512&&En(l,l.return);break;case 12:nl(e,l);break;case 31:nl(e,l),a&4&&Ff(e,l);break;case 13:nl(e,l),a&4&&If(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=r0.bind(null,l),A0(e,l))));break;case 22:if(a=l.memoizedState!==null||ll,!a){t=t!==null&&t.memoizedState!==null||Be,n=ll;var u=Be;ll=a,(Be=t)&&!u?ul(e,l,(l.subtreeFlags&8772)!==0):nl(e,l),ll=n,Be=u}break;case 30:break;default:nl(e,l)}}function $f(e){var t=e.alternate;t!==null&&(e.alternate=null,$f(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ai(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ce=null,lt=!1;function al(e,t,l){for(l=l.child;l!==null;)Wf(e,t,l),l=l.sibling}function Wf(e,t,l){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(Va,l)}catch{}switch(l.tag){case 26:Be||Gt(l,t),al(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Be||Gt(l,t);var a=Ce,n=lt;Rl(l.type)&&(Ce=l.stateNode,lt=!1),al(e,t,l),On(l.stateNode),Ce=a,lt=n;break;case 5:Be||Gt(l,t);case 6:if(a=Ce,n=lt,Ce=null,al(e,t,l),Ce=a,lt=n,Ce!==null)if(lt)try{(Ce.nodeType===9?Ce.body:Ce.nodeName==="HTML"?Ce.ownerDocument.body:Ce).removeChild(l.stateNode)}catch(u){pe(l,t,u)}else try{Ce.removeChild(l.stateNode)}catch(u){pe(l,t,u)}break;case 18:Ce!==null&&(lt?(e=Ce,Gd(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),La(e)):Gd(Ce,l.stateNode));break;case 4:a=Ce,n=lt,Ce=l.stateNode.containerInfo,lt=!0,al(e,t,l),Ce=a,lt=n;break;case 0:case 11:case 14:case 15:El(2,l,t),Be||El(4,l,t),al(e,t,l);break;case 1:Be||(Gt(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Qf(l,t,a)),al(e,t,l);break;case 21:al(e,t,l);break;case 22:Be=(a=Be)||l.memoizedState!==null,al(e,t,l),Be=a;break;default:al(e,t,l)}}function Ff(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{La(e)}catch(l){pe(t,t.return,l)}}}function If(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{La(e)}catch(l){pe(t,t.return,l)}}function l0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Jf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Jf),t;default:throw Error(o(435,e.tag))}}function ku(e,t){var l=l0(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=f0.bind(null,e,a);a.then(n,n)}})}function at(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=e,s=t,f=s;e:for(;f!==null;){switch(f.tag){case 27:if(Rl(f.type)){Ce=f.stateNode,lt=!1;break e}break;case 5:Ce=f.stateNode,lt=!1;break e;case 3:case 4:Ce=f.stateNode.containerInfo,lt=!0;break e}f=f.return}if(Ce===null)throw Error(o(160));Wf(u,s,n),Ce=null,lt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Pf(t,e),t=t.sibling}var Ut=null;function Pf(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:at(t,e),nt(e),a&4&&(El(3,e,e.return),Sn(3,e),El(5,e,e.return));break;case 1:at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),a&64&&ll&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Ut;if(at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Ka]||u[Qe]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Je(u,a,l),u[Qe]=e,Ye(u),a=u;break e;case"link":var s=Pd("link","href",n).get(a+(l.href||""));if(s){for(var f=0;f<s.length;f++)if(u=s[f],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(f,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;case"meta":if(s=Pd("meta","content",n).get(a+(l.content||""))){for(f=0;f<s.length;f++)if(u=s[f],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(f,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Qe]=e,Ye(u),a=u}e.stateNode=a}else eh(n,e.type,e.stateNode);else e.stateNode=Id(n,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?eh(n,e.type,e.stateNode):Id(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Fc(e,e.memoizedProps,l.memoizedProps)}break;case 27:at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),l!==null&&a&4&&Fc(e,e.memoizedProps,l.memoizedProps);break;case 5:if(at(t,e),nt(e),a&512&&(Be||l===null||Gt(l,l.return)),e.flags&32){n=e.stateNode;try{ca(n,"")}catch(X){pe(e,e.return,X)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,Fc(e,n,l!==null?l.memoizedProps:n)),a&1024&&(es=!0);break;case 6:if(at(t,e),nt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(X){pe(e,e.return,X)}}break;case 3:if(Pu=null,n=Ut,Ut=Fu(t.containerInfo),at(t,e),Ut=n,nt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{La(t.containerInfo)}catch(X){pe(e,e.return,X)}es&&(es=!1,ed(e));break;case 4:a=Ut,Ut=Fu(e.stateNode.containerInfo),at(t,e),nt(e),Ut=a;break;case 12:at(t,e),nt(e);break;case 31:at(t,e),nt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 13:at(t,e),nt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Bu=ot()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 22:n=e.memoizedState!==null;var g=l!==null&&l.memoizedState!==null,C=ll,A=Be;if(ll=C||n,Be=A||g,at(t,e),Be=A,ll=C,nt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||g||ll||Be||Il(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){g=l=t;try{if(u=g.stateNode,n)s=u.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{f=g.stateNode;var D=g.memoizedProps.style,j=D!=null&&D.hasOwnProperty("display")?D.display:null;f.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(X){pe(g,g.return,X)}}}else if(t.tag===6){if(l===null){g=t;try{g.stateNode.nodeValue=n?"":g.memoizedProps}catch(X){pe(g,g.return,X)}}}else if(t.tag===18){if(l===null){g=t;try{var R=g.stateNode;n?Qd(R,!0):Qd(g.stateNode,!1)}catch(X){pe(g,g.return,X)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,ku(e,l))));break;case 19:at(t,e),nt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ku(e,a)));break;case 30:break;case 21:break;default:at(t,e),nt(e)}}function nt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Vf(a)){l=a;break}a=a.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var n=l.stateNode,u=Ic(e);Hu(e,u,n);break;case 5:var s=l.stateNode;l.flags&32&&(ca(s,""),l.flags&=-33);var f=Ic(e);Hu(e,f,s);break;case 3:case 4:var g=l.stateNode.containerInfo,C=Ic(e);Pc(e,C,g);break;default:throw Error(o(161))}}catch(A){pe(e,e.return,A)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ed(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ed(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function nl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Kf(e,t.alternate,t),t=t.sibling}function Il(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:El(4,t,t.return),Il(t);break;case 1:Gt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Qf(t,t.return,l),Il(t);break;case 27:On(t.stateNode);case 26:case 5:Gt(t,t.return),Il(t);break;case 22:t.memoizedState===null&&Il(t);break;case 30:Il(t);break;default:Il(t)}e=e.sibling}}function ul(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,s=u.flags;switch(u.tag){case 0:case 11:case 15:ul(n,u,l),Sn(4,u);break;case 1:if(ul(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(C){pe(a,a.return,C)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var g=n.shared.hiddenCallbacks;if(g!==null)for(n.shared.hiddenCallbacks=null,n=0;n<g.length;n++)Ar(g[n],f)}catch(C){pe(a,a.return,C)}}l&&s&64&&Gf(u),En(u,u.return);break;case 27:Zf(u);case 26:case 5:ul(n,u,l),l&&a===null&&s&4&&Xf(u),En(u,u.return);break;case 12:ul(n,u,l);break;case 31:ul(n,u,l),l&&s&4&&Ff(n,u);break;case 13:ul(n,u,l),l&&s&4&&If(n,u);break;case 22:u.memoizedState===null&&ul(n,u,l),En(u,u.return);break;case 30:break;default:ul(n,u,l)}t=t.sibling}}function ts(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&&sn(l))}function ls(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sn(e))}function wt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)td(e,t,l,a),t=t.sibling}function td(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:wt(e,t,l,a),n&2048&&Sn(9,t);break;case 1:wt(e,t,l,a);break;case 3:wt(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sn(e)));break;case 12:if(n&2048){wt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,s=u.id,f=u.onPostCommit;typeof f=="function"&&f(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(g){pe(t,t.return,g)}}else wt(e,t,l,a);break;case 31:wt(e,t,l,a);break;case 13:wt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,s=t.alternate,t.memoizedState!==null?u._visibility&2?wt(e,t,l,a):_n(e,t):u._visibility&2?wt(e,t,l,a):(u._visibility|=2,Ca(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&ts(s,t);break;case 24:wt(e,t,l,a),n&2048&&ls(t.alternate,t);break;default:wt(e,t,l,a)}}function Ca(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,s=t,f=l,g=a,C=s.flags;switch(s.tag){case 0:case 11:case 15:Ca(u,s,f,g,n),Sn(8,s);break;case 23:break;case 22:var A=s.stateNode;s.memoizedState!==null?A._visibility&2?Ca(u,s,f,g,n):_n(u,s):(A._visibility|=2,Ca(u,s,f,g,n)),n&&C&2048&&ts(s.alternate,s);break;case 24:Ca(u,s,f,g,n),n&&C&2048&&ls(s.alternate,s);break;default:Ca(u,s,f,g,n)}t=t.sibling}}function _n(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:_n(l,a),n&2048&&ts(a.alternate,a);break;case 24:_n(l,a),n&2048&&ls(a.alternate,a);break;default:_n(l,a)}t=t.sibling}}var Tn=8192;function ja(e,t,l){if(e.subtreeFlags&Tn)for(e=e.child;e!==null;)ld(e,t,l),e=e.sibling}function ld(e,t,l){switch(e.tag){case 26:ja(e,t,l),e.flags&Tn&&e.memoizedState!==null&&G0(l,Ut,e.memoizedState,e.memoizedProps);break;case 5:ja(e,t,l);break;case 3:case 4:var a=Ut;Ut=Fu(e.stateNode.containerInfo),ja(e,t,l),Ut=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Tn,Tn=16777216,ja(e,t,l),Tn=a):ja(e,t,l));break;default:ja(e,t,l)}}function ad(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 zn(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];Ge=a,ud(a,e)}ad(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)nd(e),e=e.sibling}function nd(e){switch(e.tag){case 0:case 11:case 15:zn(e),e.flags&2048&&El(9,e,e.return);break;case 3:zn(e);break;case 12:zn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Lu(e)):zn(e);break;default:zn(e)}}function Lu(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];Ge=a,ud(a,e)}ad(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:El(8,t,t.return),Lu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Lu(t));break;default:Lu(t)}e=e.sibling}}function ud(e,t){for(;Ge!==null;){var l=Ge;switch(l.tag){case 0:case 11:case 15:El(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:sn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Ge=a;else e:for(l=e;Ge!==null;){a=Ge;var n=a.sibling,u=a.return;if($f(a),a===l){Ge=null;break e}if(n!==null){n.return=u,Ge=n;break e}Ge=u}}}var a0={getCacheForType:function(e){var t=Ve(He),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return Ve(He).controller.signal}},n0=typeof WeakMap=="function"?WeakMap:Map,de=0,_e=null,ue=null,ce=0,ye=0,pt=null,_l=!1,Ra=!1,as=!1,il=0,Ae=0,Tl=0,Pl=0,ns=0,vt=0,Aa=0,Nn=null,ut=null,us=!1,Bu=0,id=0,qu=1/0,Yu=null,zl=null,qe=0,Nl=null,Oa=null,cl=0,is=0,cs=null,cd=null,Cn=0,ss=null;function gt(){return(de&2)!==0&&ce!==0?ce&-ce:O.T!==null?ms():Eo()}function sd(){if(vt===0)if((ce&536870912)===0||oe){var e=$n;$n<<=1,($n&3932160)===0&&($n=262144),vt=e}else vt=536870912;return e=mt.current,e!==null&&(e.flags|=32),vt}function it(e,t,l){(e===_e&&(ye===2||ye===9)||e.cancelPendingCommit!==null)&&(Ma(e,0),Cl(e,ce,vt,!1)),Ja(e,l),((de&2)===0||e!==_e)&&(e===_e&&((de&2)===0&&(Pl|=l),Ae===4&&Cl(e,ce,vt,!1)),Qt(e))}function od(e,t,l){if((de&6)!==0)throw Error(o(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Za(e,t),n=a?c0(e,t):rs(e,t,!0),u=a;do{if(n===0){Ra&&!a&&Cl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!u0(l)){n=rs(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var f=e;n=Nn;var g=f.current.memoizedState.isDehydrated;if(g&&(Ma(f,s).flags|=256),s=rs(f,s,!1),s!==2){if(as&&!g){f.errorRecoveryDisabledLanes|=u,Pl|=u,n=4;break e}u=ut,ut=n,u!==null&&(ut===null?ut=u:ut.push.apply(ut,u))}n=s}if(u=!1,n!==2)continue}}if(n===1){Ma(e,0),Cl(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Cl(a,t,vt,!_l);break e;case 2:ut=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=Bu+300-ot(),10<n)){if(Cl(a,t,vt,!_l),Fn(a,0,!0)!==0)break e;cl=t,a.timeoutHandle=qd(rd.bind(null,a,l,ut,Yu,us,t,vt,Pl,Aa,_l,u,"Throttled",-0,0),n);break e}rd(a,l,ut,Yu,us,t,vt,Pl,Aa,_l,u,null,-0,0)}}break}while(!0);Qt(e)}function rd(e,t,l,a,n,u,s,f,g,C,A,D,j,R){if(e.timeoutHandle=-1,D=t.subtreeFlags,D&8192||(D&16785408)===16785408){D={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Zt},ld(t,u,D);var X=(u&62914560)===u?Bu-ot():(u&4194048)===u?id-ot():0;if(X=Q0(D,X),X!==null){cl=u,e.cancelPendingCommit=X(gd.bind(null,e,t,u,l,a,n,s,f,g,A,D,null,j,R)),Cl(e,u,s,!C);return}}gd(e,t,u,l,a,n,s,f,g)}function u0(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(!dt(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 Cl(e,t,l,a){t&=~ns,t&=~Pl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-ft(n),s=1<<u;a[u]=-1,n&=~s}l!==0&&bo(e,l,t)}function Gu(){return(de&6)===0?(jn(0),!1):!0}function os(){if(ue!==null){if(ye===0)var e=ue.return;else e=ue,Wt=Xl=null,zc(e),Ea=null,rn=0,e=ue;for(;e!==null;)Yf(e.alternate,e),e=e.return;ue=null}}function Ma(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,z0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),cl=0,os(),_e=e,ue=l=Kt(e.current,null),ce=t,ye=0,pt=null,_l=!1,Ra=Za(e,t),as=!1,Aa=vt=ns=Pl=Tl=Ae=0,ut=Nn=null,us=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-ft(a),u=1<<n;t|=e[n],a&=~u}return il=t,ou(),l}function fd(e,t){le=null,O.H=gn,t===Sa||t===vu?(t=Nr(),ye=3):t===hc?(t=Nr(),ye=4):ye=t===Yc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,pt=t,ue===null&&(Ae=1,Ou(e,zt(t,e.current)))}function dd(){var e=mt.current;return e===null?!0:(ce&4194048)===ce?Rt===null:(ce&62914560)===ce||(ce&536870912)!==0?e===Rt:!1}function hd(){var e=O.H;return O.H=gn,e===null?gn:e}function md(){var e=O.A;return O.A=a0,e}function Qu(){Ae=4,_l||(ce&4194048)!==ce&&mt.current!==null||(Ra=!0),(Tl&134217727)===0&&(Pl&134217727)===0||_e===null||Cl(_e,ce,vt,!1)}function rs(e,t,l){var a=de;de|=2;var n=hd(),u=md();(_e!==e||ce!==t)&&(Yu=null,Ma(e,t)),t=!1;var s=Ae;e:do try{if(ye!==0&&ue!==null){var f=ue,g=pt;switch(ye){case 8:os(),s=6;break e;case 3:case 2:case 9:case 6:mt.current===null&&(t=!0);var C=ye;if(ye=0,pt=null,Da(e,f,g,C),l&&Ra){s=0;break e}break;default:C=ye,ye=0,pt=null,Da(e,f,g,C)}}i0(),s=Ae;break}catch(A){fd(e,A)}while(!0);return t&&e.shellSuspendCounter++,Wt=Xl=null,de=a,O.H=n,O.A=u,ue===null&&(_e=null,ce=0,ou()),s}function i0(){for(;ue!==null;)yd(ue)}function c0(e,t){var l=de;de|=2;var a=hd(),n=md();_e!==e||ce!==t?(Yu=null,qu=ot()+500,Ma(e,t)):Ra=Za(e,t);e:do try{if(ye!==0&&ue!==null){t=ue;var u=pt;t:switch(ye){case 1:ye=0,pt=null,Da(e,t,u,1);break;case 2:case 9:if(Tr(u)){ye=0,pt=null,pd(t);break}t=function(){ye!==2&&ye!==9||_e!==e||(ye=7),Qt(e)},u.then(t,t);break e;case 3:ye=7;break e;case 4:ye=5;break e;case 7:Tr(u)?(ye=0,pt=null,pd(t)):(ye=0,pt=null,Da(e,t,u,7));break;case 5:var s=null;switch(ue.tag){case 26:s=ue.memoizedState;case 5:case 27:var f=ue;if(s?th(s):f.stateNode.complete){ye=0,pt=null;var g=f.sibling;if(g!==null)ue=g;else{var C=f.return;C!==null?(ue=C,Xu(C)):ue=null}break t}}ye=0,pt=null,Da(e,t,u,5);break;case 6:ye=0,pt=null,Da(e,t,u,6);break;case 8:os(),Ae=6;break e;default:throw Error(o(462))}}s0();break}catch(A){fd(e,A)}while(!0);return Wt=Xl=null,O.H=a,O.A=n,de=l,ue!==null?0:(_e=null,ce=0,ou(),Ae)}function s0(){for(;ue!==null&&!Om();)yd(ue)}function yd(e){var t=Bf(e.alternate,e,il);e.memoizedProps=e.pendingProps,t===null?Xu(e):ue=t}function pd(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Df(l,t,t.pendingProps,t.type,void 0,ce);break;case 11:t=Df(l,t,t.pendingProps,t.type.render,t.ref,ce);break;case 5:zc(t);default:Yf(l,t),t=ue=hr(t,il),t=Bf(l,t,il)}e.memoizedProps=e.pendingProps,t===null?Xu(e):ue=t}function Da(e,t,l,a){Wt=Xl=null,zc(t),Ea=null,rn=0;var n=t.return;try{if(Wy(e,n,t,l,ce)){Ae=1,Ou(e,zt(l,e.current)),ue=null;return}}catch(u){if(n!==null)throw ue=n,u;Ae=1,Ou(e,zt(l,e.current)),ue=null;return}t.flags&32768?(oe||a===1?e=!0:Ra||(ce&536870912)!==0?e=!1:(_l=e=!0,(a===2||a===9||a===3||a===6)&&(a=mt.current,a!==null&&a.tag===13&&(a.flags|=16384))),vd(t,e)):Xu(t)}function Xu(e){var t=e;do{if((t.flags&32768)!==0){vd(t,_l);return}e=t.return;var l=Py(t.alternate,t,il);if(l!==null){ue=l;return}if(t=t.sibling,t!==null){ue=t;return}ue=t=e}while(t!==null);Ae===0&&(Ae=5)}function vd(e,t){do{var l=e0(e.alternate,e);if(l!==null){l.flags&=32767,ue=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){ue=e;return}ue=e=l}while(e!==null);Ae=6,ue=null}function gd(e,t,l,a,n,u,s,f,g){e.cancelPendingCommit=null;do Vu();while(qe!==0);if((de&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Ii,Ym(e,l,u,s,f,g),e===_e&&(ue=_e=null,ce=0),Oa=t,Nl=e,cl=l,is=u,cs=n,cd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,d0(Jn,function(){return _d(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null,n=Y.p,Y.p=2,s=de,de|=4;try{t0(e,t,l)}finally{de=s,Y.p=n,O.T=a}}qe=1,bd(),xd(),Sd()}}function bd(){if(qe===1){qe=0;var e=Nl,t=Oa,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=O.T,O.T=null;var a=Y.p;Y.p=2;var n=de;de|=4;try{Pf(t,e);var u=Es,s=nr(e.containerInfo),f=u.focusedElem,g=u.selectionRange;if(s!==f&&f&&f.ownerDocument&&ar(f.ownerDocument.documentElement,f)){if(g!==null&&Ji(f)){var C=g.start,A=g.end;if(A===void 0&&(A=C),"selectionStart"in f)f.selectionStart=C,f.selectionEnd=Math.min(A,f.value.length);else{var D=f.ownerDocument||document,j=D&&D.defaultView||window;if(j.getSelection){var R=j.getSelection(),X=f.textContent.length,$=Math.min(g.start,X),Se=g.end===void 0?$:Math.min(g.end,X);!R.extend&&$>Se&&(s=Se,Se=$,$=s);var T=lr(f,$),b=lr(f,Se);if(T&&b&&(R.rangeCount!==1||R.anchorNode!==T.node||R.anchorOffset!==T.offset||R.focusNode!==b.node||R.focusOffset!==b.offset)){var N=D.createRange();N.setStart(T.node,T.offset),R.removeAllRanges(),$>Se?(R.addRange(N),R.extend(b.node,b.offset)):(N.setEnd(b.node,b.offset),R.addRange(N))}}}}for(D=[],R=f;R=R.parentNode;)R.nodeType===1&&D.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<D.length;f++){var M=D[f];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}ai=!!Ss,Es=Ss=null}finally{de=n,Y.p=a,O.T=l}}e.current=t,qe=2}}function xd(){if(qe===2){qe=0;var e=Nl,t=Oa,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=O.T,O.T=null;var a=Y.p;Y.p=2;var n=de;de|=4;try{Kf(e,t.alternate,t)}finally{de=n,Y.p=a,O.T=l}}qe=3}}function Sd(){if(qe===4||qe===3){qe=0,Mm();var e=Nl,t=Oa,l=cl,a=cd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?qe=5:(qe=0,Oa=Nl=null,Ed(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(zl=null),ji(l),t=t.stateNode,rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(Va,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=O.T,n=Y.p,Y.p=2,O.T=null;try{for(var u=e.onRecoverableError,s=0;s<a.length;s++){var f=a[s];u(f.value,{componentStack:f.stack})}}finally{O.T=t,Y.p=n}}(cl&3)!==0&&Vu(),Qt(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===ss?Cn++:(Cn=0,ss=e):Cn=0,jn(0)}}function Ed(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sn(t)))}function Vu(){return bd(),xd(),Sd(),_d()}function _d(){if(qe!==5)return!1;var e=Nl,t=is;is=0;var l=ji(cl),a=O.T,n=Y.p;try{Y.p=32>l?32:l,O.T=null,l=cs,cs=null;var u=Nl,s=cl;if(qe=0,Oa=Nl=null,cl=0,(de&6)!==0)throw Error(o(331));var f=de;if(de|=4,nd(u.current),td(u,u.current,s,l),de=f,jn(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(Va,u)}catch{}return!0}finally{Y.p=n,O.T=a,Ed(e,t)}}function Td(e,t,l){t=zt(l,t),t=qc(e.stateNode,t,2),e=bl(e,t,2),e!==null&&(Ja(e,2),Qt(e))}function pe(e,t,l){if(e.tag===3)Td(e,e,l);else for(;t!==null;){if(t.tag===3){Td(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(zl===null||!zl.has(a))){e=zt(l,e),l=zf(2),a=bl(t,l,2),a!==null&&(Nf(l,a,t,e),Ja(a,2),Qt(a));break}}t=t.return}}function fs(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new n0;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)||(as=!0,n.add(l),e=o0.bind(null,e,t,l),t.then(e,e))}function o0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,_e===e&&(ce&l)===l&&(Ae===4||Ae===3&&(ce&62914560)===ce&&300>ot()-Bu?(de&2)===0&&Ma(e,0):ns|=l,Aa===ce&&(Aa=0)),Qt(e)}function zd(e,t){t===0&&(t=go()),e=Yl(e,t),e!==null&&(Ja(e,t),Qt(e))}function r0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),zd(e,l)}function f0(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(o(314))}a!==null&&a.delete(t),zd(e,l)}function d0(e,t){return Ti(e,t)}var Zu=null,Ua=null,ds=!1,Ju=!1,hs=!1,jl=0;function Qt(e){e!==Ua&&e.next===null&&(Ua===null?Zu=Ua=e:Ua=Ua.next=e),Ju=!0,ds||(ds=!0,m0())}function jn(e,t){if(!hs&&Ju){hs=!0;do for(var l=!1,a=Zu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var s=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-ft(42|e)+1)-1,u&=n&~(s&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Rd(a,u))}else u=ce,u=Fn(a,a===_e?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Za(a,u)||(l=!0,Rd(a,u));a=a.next}while(l);hs=!1}}function h0(){Nd()}function Nd(){Ju=ds=!1;var e=0;jl!==0&&T0()&&(e=jl);for(var t=ot(),l=null,a=Zu;a!==null;){var n=a.next,u=Cd(a,t);u===0?(a.next=null,l===null?Zu=n:l.next=n,n===null&&(Ua=l)):(l=a,(e!==0||(u&3)!==0)&&(Ju=!0)),a=n}qe!==0&&qe!==5||jn(e),jl!==0&&(jl=0)}function Cd(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var s=31-ft(u),f=1<<s,g=n[s];g===-1?((f&l)===0||(f&a)!==0)&&(n[s]=qm(f,t)):g<=t&&(e.expiredLanes|=f),u&=~f}if(t=_e,l=ce,l=Fn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(ye===2||ye===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&zi(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Za(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&zi(a),ji(l)){case 2:case 8:l=po;break;case 32:l=Jn;break;case 268435456:l=vo;break;default:l=Jn}return a=jd.bind(null,e),l=Ti(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&zi(a),e.callbackPriority=2,e.callbackNode=null,2}function jd(e,t){if(qe!==0&&qe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Vu()&&e.callbackNode!==l)return null;var a=ce;return a=Fn(e,e===_e?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(od(e,a,t),Cd(e,ot()),e.callbackNode!=null&&e.callbackNode===l?jd.bind(null,e):null)}function Rd(e,t){if(Vu())return null;od(e,t,!0)}function m0(){N0(function(){(de&6)!==0?Ti(yo,h0):Nd()})}function ms(){if(jl===0){var e=ba;e===0&&(e=Kn,Kn<<=1,(Kn&261888)===0&&(Kn=256)),jl=e}return jl}function Ad(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:tu(""+e)}function Od(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function y0(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=Ad((n[et]||null).action),s=a.submitter;s&&(t=(t=s[et]||null)?Ad(t.formAction):s.getAttribute("formAction"),t!==null&&(u=t,s=null));var f=new uu("action","action",null,a,n);e.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(jl!==0){var g=s?Od(n,s):new FormData(n);Uc(l,{pending:!0,data:g,method:n.method,action:u},null,g)}}else typeof u=="function"&&(f.preventDefault(),g=s?Od(n,s):new FormData(n),Uc(l,{pending:!0,data:g,method:n.method,action:u},u,g))},currentTarget:n}]})}}for(var ys=0;ys<Fi.length;ys++){var ps=Fi[ys],p0=ps.toLowerCase(),v0=ps[0].toUpperCase()+ps.slice(1);Dt(p0,"on"+v0)}Dt(cr,"onAnimationEnd"),Dt(sr,"onAnimationIteration"),Dt(or,"onAnimationStart"),Dt("dblclick","onDoubleClick"),Dt("focusin","onFocus"),Dt("focusout","onBlur"),Dt(Dy,"onTransitionRun"),Dt(Uy,"onTransitionStart"),Dt(wy,"onTransitionCancel"),Dt(rr,"onTransitionEnd"),ua("onMouseEnter",["mouseout","mouseover"]),ua("onMouseLeave",["mouseout","mouseover"]),ua("onPointerEnter",["pointerout","pointerover"]),ua("onPointerLeave",["pointerout","pointerover"]),kl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),kl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),kl("onBeforeInput",["compositionend","keypress","textInput","paste"]),kl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),kl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),kl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rn="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(" "),g0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Rn));function Md(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 s=a.length-1;0<=s;s--){var f=a[s],g=f.instance,C=f.currentTarget;if(f=f.listener,g!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=C;try{u(n)}catch(A){su(A)}n.currentTarget=null,u=g}else for(s=0;s<a.length;s++){if(f=a[s],g=f.instance,C=f.currentTarget,f=f.listener,g!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=C;try{u(n)}catch(A){su(A)}n.currentTarget=null,u=g}}}}function ie(e,t){var l=t[Ri];l===void 0&&(l=t[Ri]=new Set);var a=e+"__bubble";l.has(a)||(Dd(t,e,2,!1),l.add(a))}function vs(e,t,l){var a=0;t&&(a|=4),Dd(l,e,a,t)}var Ku="_reactListening"+Math.random().toString(36).slice(2);function gs(e){if(!e[Ku]){e[Ku]=!0,zo.forEach(function(l){l!=="selectionchange"&&(g0.has(l)||vs(l,!1,e),vs(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ku]||(t[Ku]=!0,vs("selectionchange",!1,t))}}function Dd(e,t,l,a){switch(sh(t)){case 2:var n=Z0;break;case 8:n=J0;break;default:n=Ds}l=n.bind(null,t,l,e),n=void 0,!Li||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 bs(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var s=a.tag;if(s===3||s===4){var f=a.stateNode.containerInfo;if(f===n)break;if(s===4)for(s=a.return;s!==null;){var g=s.tag;if((g===3||g===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;f!==null;){if(s=la(f),s===null)return;if(g=s.tag,g===5||g===6||g===26||g===27){a=u=s;continue e}f=f.parentNode}}a=a.return}ko(function(){var C=u,A=Hi(l),D=[];e:{var j=fr.get(e);if(j!==void 0){var R=uu,X=e;switch(e){case"keypress":if(au(l)===0)break e;case"keydown":case"keyup":R=fy;break;case"focusin":X="focus",R=Gi;break;case"focusout":X="blur",R=Gi;break;case"beforeblur":case"afterblur":R=Gi;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":R=qo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Pm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=my;break;case cr:case sr:case or:R=ly;break;case rr:R=py;break;case"scroll":case"scrollend":R=Fm;break;case"wheel":R=gy;break;case"copy":case"cut":case"paste":R=ny;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=Go;break;case"toggle":case"beforetoggle":R=xy}var $=(t&4)!==0,Se=!$&&(e==="scroll"||e==="scrollend"),T=$?j!==null?j+"Capture":null:j;$=[];for(var b=C,N;b!==null;){var M=b;if(N=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||N===null||T===null||(M=Wa(b,T),M!=null&&$.push(An(b,M,N))),Se)break;b=b.return}0<$.length&&(j=new R(j,X,null,l,A),D.push({event:j,listeners:$}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",R=e==="mouseout"||e==="pointerout",j&&l!==wi&&(X=l.relatedTarget||l.fromElement)&&(la(X)||X[ta]))break e;if((R||j)&&(j=A.window===A?A:(j=A.ownerDocument)?j.defaultView||j.parentWindow:window,R?(X=l.relatedTarget||l.toElement,R=C,X=X?la(X):null,X!==null&&(Se=m(X),$=X.tag,X!==Se||$!==5&&$!==27&&$!==6)&&(X=null)):(R=null,X=C),R!==X)){if($=qo,M="onMouseLeave",T="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&($=Go,M="onPointerLeave",T="onPointerEnter",b="pointer"),Se=R==null?j:$a(R),N=X==null?j:$a(X),j=new $(M,b+"leave",R,l,A),j.target=Se,j.relatedTarget=N,M=null,la(A)===C&&($=new $(T,b+"enter",X,l,A),$.target=N,$.relatedTarget=Se,M=$),Se=M,R&&X)t:{for($=b0,T=R,b=X,N=0,M=T;M;M=$(M))N++;M=0;for(var K=b;K;K=$(K))M++;for(;0<N-M;)T=$(T),N--;for(;0<M-N;)b=$(b),M--;for(;N--;){if(T===b||b!==null&&T===b.alternate){$=T;break t}T=$(T),b=$(b)}$=null}else $=null;R!==null&&Ud(D,j,R,$,!1),X!==null&&Se!==null&&Ud(D,Se,X,$,!0)}}e:{if(j=C?$a(C):window,R=j.nodeName&&j.nodeName.toLowerCase(),R==="select"||R==="input"&&j.type==="file")var re=Wo;else if(Ko(j))if(Fo)re=Ay;else{re=jy;var Z=Cy}else R=j.nodeName,!R||R.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?C&&Ui(C.elementType)&&(re=Wo):re=Ry;if(re&&(re=re(e,C))){$o(D,re,l,A);break e}Z&&Z(e,j,C),e==="focusout"&&C&&j.type==="number"&&C.memoizedProps.value!=null&&Di(j,"number",j.value)}switch(Z=C?$a(C):window,e){case"focusin":(Ko(Z)||Z.contentEditable==="true")&&(fa=Z,Ki=C,nn=null);break;case"focusout":nn=Ki=fa=null;break;case"mousedown":$i=!0;break;case"contextmenu":case"mouseup":case"dragend":$i=!1,ur(D,l,A);break;case"selectionchange":if(My)break;case"keydown":case"keyup":ur(D,l,A)}var ae;if(Xi)e:{switch(e){case"compositionstart":var se="onCompositionStart";break e;case"compositionend":se="onCompositionEnd";break e;case"compositionupdate":se="onCompositionUpdate";break e}se=void 0}else ra?Zo(e,l)&&(se="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(se="onCompositionStart");se&&(Qo&&l.locale!=="ko"&&(ra||se!=="onCompositionStart"?se==="onCompositionEnd"&&ra&&(ae=Lo()):(dl=A,Bi="value"in dl?dl.value:dl.textContent,ra=!0)),Z=$u(C,se),0<Z.length&&(se=new Yo(se,e,null,l,A),D.push({event:se,listeners:Z}),ae?se.data=ae:(ae=Jo(l),ae!==null&&(se.data=ae)))),(ae=Ey?_y(e,l):Ty(e,l))&&(se=$u(C,"onBeforeInput"),0<se.length&&(Z=new Yo("onBeforeInput","beforeinput",null,l,A),D.push({event:Z,listeners:se}),Z.data=ae)),y0(D,e,C,l,A)}Md(D,t)})}function An(e,t,l){return{instance:e,listener:t,currentTarget:l}}function $u(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=Wa(e,l),n!=null&&a.unshift(An(e,n,u)),n=Wa(e,t),n!=null&&a.push(An(e,n,u))),e.tag===3)return a;e=e.return}return[]}function b0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ud(e,t,l,a,n){for(var u=t._reactName,s=[];l!==null&&l!==a;){var f=l,g=f.alternate,C=f.stateNode;if(f=f.tag,g!==null&&g===a)break;f!==5&&f!==26&&f!==27||C===null||(g=C,n?(C=Wa(l,u),C!=null&&s.unshift(An(l,C,g))):n||(C=Wa(l,u),C!=null&&s.push(An(l,C,g)))),l=l.return}s.length!==0&&e.push({event:t,listeners:s})}var x0=/\r\n?/g,S0=/\u0000|\uFFFD/g;function wd(e){return(typeof e=="string"?e:""+e).replace(x0,`
50
+ `).replace(S0,"")}function Hd(e,t){return t=wd(t),wd(e)===t}function xe(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ca(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ca(e,""+a);break;case"className":Pn(e,"class",a);break;case"tabIndex":Pn(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Pn(e,l,a);break;case"style":wo(e,a,u);break;case"data":if(t!=="object"){Pn(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=tu(""+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"&&xe(e,t,"name",n.name,n,null),xe(e,t,"formEncType",n.formEncType,n,null),xe(e,t,"formMethod",n.formMethod,n,null),xe(e,t,"formTarget",n.formTarget,n,null)):(xe(e,t,"encType",n.encType,n,null),xe(e,t,"method",n.method,n,null),xe(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=tu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=Zt);break;case"onScroll":a!=null&&ie("scroll",e);break;case"onScrollEnd":a!=null&&ie("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));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=tu(""+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"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":ie("beforetoggle",e),ie("toggle",e),In(e,"popover",a);break;case"xlinkActuate":Vt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Vt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Vt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Vt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Vt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Vt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Vt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Vt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Vt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":In(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=$m.get(l)||l,In(e,l,a))}}function xs(e,t,l,a,n,u){switch(l){case"style":wo(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof a=="string"?ca(e,a):(typeof a=="number"||typeof a=="bigint")&&ca(e,""+a);break;case"onScroll":a!=null&&ie("scroll",e);break;case"onScrollEnd":a!=null&&ie("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Zt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!No.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),u=e[et]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):In(e,l,a)}}}function Je(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ie("error",e),ie("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var s=l[u];if(s!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:xe(e,t,u,s,l,null)}}n&&xe(e,t,"srcSet",l.srcSet,l,null),a&&xe(e,t,"src",l.src,l,null);return;case"input":ie("invalid",e);var f=u=s=n=null,g=null,C=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":s=A;break;case"checked":g=A;break;case"defaultChecked":C=A;break;case"value":u=A;break;case"defaultValue":f=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:xe(e,t,a,A,l,null)}}Oo(e,u,f,g,C,s,n,!1);return;case"select":ie("invalid",e),a=s=u=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":s=f;break;case"multiple":a=f;default:xe(e,t,n,f,l,null)}t=u,l=s,e.multiple=!!a,t!=null?ia(e,!!a,t,!1):l!=null&&ia(e,!!a,l,!0);return;case"textarea":ie("invalid",e),u=n=a=null;for(s in l)if(l.hasOwnProperty(s)&&(f=l[s],f!=null))switch(s){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(o(91));break;default:xe(e,t,s,f,l,null)}Do(e,a,n,u);return;case"option":for(g in l)if(l.hasOwnProperty(g)&&(a=l[g],a!=null))switch(g){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:xe(e,t,g,a,l,null)}return;case"dialog":ie("beforetoggle",e),ie("toggle",e),ie("cancel",e),ie("close",e);break;case"iframe":case"object":ie("load",e);break;case"video":case"audio":for(a=0;a<Rn.length;a++)ie(Rn[a],e);break;case"image":ie("error",e),ie("load",e);break;case"details":ie("toggle",e);break;case"embed":case"source":case"link":ie("error",e),ie("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(C in l)if(l.hasOwnProperty(C)&&(a=l[C],a!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:xe(e,t,C,a,l,null)}return;default:if(Ui(t)){for(A in l)l.hasOwnProperty(A)&&(a=l[A],a!==void 0&&xs(e,t,A,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&xe(e,t,f,a,l,null))}function E0(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,s=null,f=null,g=null,C=null,A=null;for(R in l){var D=l[R];if(l.hasOwnProperty(R)&&D!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":g=D;default:a.hasOwnProperty(R)||xe(e,t,R,null,a,D)}}for(var j in a){var R=a[j];if(D=l[j],a.hasOwnProperty(j)&&(R!=null||D!=null))switch(j){case"type":u=R;break;case"name":n=R;break;case"checked":C=R;break;case"defaultChecked":A=R;break;case"value":s=R;break;case"defaultValue":f=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,t));break;default:R!==D&&xe(e,t,j,R,a,D)}}Mi(e,s,f,g,C,A,u,n);return;case"select":R=s=f=j=null;for(u in l)if(g=l[u],l.hasOwnProperty(u)&&g!=null)switch(u){case"value":break;case"multiple":R=g;default:a.hasOwnProperty(u)||xe(e,t,u,null,a,g)}for(n in a)if(u=a[n],g=l[n],a.hasOwnProperty(n)&&(u!=null||g!=null))switch(n){case"value":j=u;break;case"defaultValue":f=u;break;case"multiple":s=u;default:u!==g&&xe(e,t,n,u,a,g)}t=f,l=s,a=R,j!=null?ia(e,!!l,j,!1):!!a!=!!l&&(t!=null?ia(e,!!l,t,!0):ia(e,!!l,l?[]:"",!1));return;case"textarea":R=j=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:xe(e,t,f,null,a,n)}for(s in a)if(n=a[s],u=l[s],a.hasOwnProperty(s)&&(n!=null||u!=null))switch(s){case"value":j=n;break;case"defaultValue":R=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&xe(e,t,s,n,a,u)}Mo(e,j,R);return;case"option":for(var X in l)if(j=l[X],l.hasOwnProperty(X)&&j!=null&&!a.hasOwnProperty(X))switch(X){case"selected":e.selected=!1;break;default:xe(e,t,X,null,a,j)}for(g in a)if(j=a[g],R=l[g],a.hasOwnProperty(g)&&j!==R&&(j!=null||R!=null))switch(g){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:xe(e,t,g,j,a,R)}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 $ in l)j=l[$],l.hasOwnProperty($)&&j!=null&&!a.hasOwnProperty($)&&xe(e,t,$,null,a,j);for(C in a)if(j=a[C],R=l[C],a.hasOwnProperty(C)&&j!==R&&(j!=null||R!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(137,t));break;default:xe(e,t,C,j,a,R)}return;default:if(Ui(t)){for(var Se in l)j=l[Se],l.hasOwnProperty(Se)&&j!==void 0&&!a.hasOwnProperty(Se)&&xs(e,t,Se,void 0,a,j);for(A in a)j=a[A],R=l[A],!a.hasOwnProperty(A)||j===R||j===void 0&&R===void 0||xs(e,t,A,j,a,R);return}}for(var T in l)j=l[T],l.hasOwnProperty(T)&&j!=null&&!a.hasOwnProperty(T)&&xe(e,t,T,null,a,j);for(D in a)j=a[D],R=l[D],!a.hasOwnProperty(D)||j===R||j==null&&R==null||xe(e,t,D,j,a,R)}function kd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _0(){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,s=n.initiatorType,f=n.duration;if(u&&f&&kd(s)){for(s=0,f=n.responseEnd,a+=1;a<l.length;a++){var g=l[a],C=g.startTime;if(C>f)break;var A=g.transferSize,D=g.initiatorType;A&&kd(D)&&(g=g.responseEnd,s+=A*(g<f?1:(f-C)/(g-C)))}if(--a,t+=8*(u+s)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ss=null,Es=null;function Wu(e){return e.nodeType===9?e:e.ownerDocument}function Ld(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 Bd(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 _s(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 Ts=null;function T0(){var e=window.event;return e&&e.type==="popstate"?e===Ts?!1:(Ts=e,!0):(Ts=null,!1)}var qd=typeof setTimeout=="function"?setTimeout:void 0,z0=typeof clearTimeout=="function"?clearTimeout:void 0,Yd=typeof Promise=="function"?Promise:void 0,N0=typeof queueMicrotask=="function"?queueMicrotask:typeof Yd<"u"?function(e){return Yd.resolve(null).then(e).catch(C0)}:qd;function C0(e){setTimeout(function(){throw e})}function Rl(e){return e==="head"}function Gd(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),La(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")On(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,On(l);for(var u=l.firstChild;u;){var s=u.nextSibling,f=u.nodeName;u[Ka]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=s}}else l==="body"&&On(e.ownerDocument.body);l=n}while(l);La(t)}function Qd(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 zs(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":zs(l),Ai(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function j0(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[Ka])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=At(e.nextSibling),e===null)break}return null}function R0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=At(e.nextSibling),e===null))return null;return e}function Xd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=At(e.nextSibling),e===null))return null;return e}function Ns(e){return e.data==="$?"||e.data==="$~"}function Cs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function A0(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 At(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 js=null;function Vd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return At(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Zd(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 Jd(e,t,l){switch(t=Wu(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function On(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ai(e)}var Ot=new Map,Kd=new Set;function Fu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var sl=Y.d;Y.d={f:O0,r:M0,D:D0,C:U0,L:w0,m:H0,X:L0,S:k0,M:B0};function O0(){var e=sl.f(),t=Gu();return e||t}function M0(e){var t=aa(e);t!==null&&t.tag===5&&t.type==="form"?ff(t):sl.r(e)}var wa=typeof document>"u"?null:document;function $d(e,t,l){var a=wa;if(a&&typeof t=="string"&&t){var n=_t(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Kd.has(n)||(Kd.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Je(t,"link",e),Ye(t),a.head.appendChild(t)))}}function D0(e){sl.D(e),$d("dns-prefetch",e,null)}function U0(e,t){sl.C(e,t),$d("preconnect",e,t)}function w0(e,t,l){sl.L(e,t,l);var a=wa;if(a&&e&&t){var n='link[rel="preload"][as="'+_t(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+_t(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+_t(l.imageSizes)+'"]')):n+='[href="'+_t(e)+'"]';var u=n;switch(t){case"style":u=Ha(e);break;case"script":u=ka(e)}Ot.has(u)||(e=_({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Ot.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(Mn(u))||t==="script"&&a.querySelector(Dn(u))||(t=a.createElement("link"),Je(t,"link",e),Ye(t),a.head.appendChild(t)))}}function H0(e,t){sl.m(e,t);var l=wa;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+_t(a)+'"][href="'+_t(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ka(e)}if(!Ot.has(u)&&(e=_({rel:"modulepreload",href:e},t),Ot.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Dn(u)))return}a=l.createElement("link"),Je(a,"link",e),Ye(a),l.head.appendChild(a)}}}function k0(e,t,l){sl.S(e,t,l);var a=wa;if(a&&e){var n=na(a).hoistableStyles,u=Ha(e);t=t||"default";var s=n.get(u);if(!s){var f={loading:0,preload:null};if(s=a.querySelector(Mn(u)))f.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Ot.get(u))&&Rs(e,l);var g=s=a.createElement("link");Ye(g),Je(g,"link",e),g._p=new Promise(function(C,A){g.onload=C,g.onerror=A}),g.addEventListener("load",function(){f.loading|=1}),g.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Iu(s,t,a)}s={type:"stylesheet",instance:s,count:1,state:f},n.set(u,s)}}}function L0(e,t){sl.X(e,t);var l=wa;if(l&&e){var a=na(l).hoistableScripts,n=ka(e),u=a.get(n);u||(u=l.querySelector(Dn(n)),u||(e=_({src:e,async:!0},t),(t=Ot.get(n))&&As(e,t),u=l.createElement("script"),Ye(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function B0(e,t){sl.M(e,t);var l=wa;if(l&&e){var a=na(l).hoistableScripts,n=ka(e),u=a.get(n);u||(u=l.querySelector(Dn(n)),u||(e=_({src:e,async:!0,type:"module"},t),(t=Ot.get(n))&&As(e,t),u=l.createElement("script"),Ye(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Wd(e,t,l,a){var n=(n=ne.current)?Fu(n):null;if(!n)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ha(l.href),l=na(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,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=Ha(l.href);var u=na(n).hoistableStyles,s=u.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,s),(u=n.querySelector(Mn(e)))&&!u._p&&(s.instance=u,s.state.loading=5),Ot.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ot.set(e,l),u||q0(n,e,l,s.state))),t&&a===null)throw Error(o(528,""));return s}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ka(l),l=na(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ha(e){return'href="'+_t(e)+'"'}function Mn(e){return'link[rel="stylesheet"]['+e+"]"}function Fd(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function q0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Je(t,"link",l),Ye(t),e.head.appendChild(t))}function ka(e){return'[src="'+_t(e)+'"]'}function Dn(e){return"script[async]"+e}function Id(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+_t(l.href)+'"]');if(a)return t.instance=a,Ye(a),a;var n=_({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ye(a),Je(a,"style",n),Iu(a,l.precedence,e),t.instance=a;case"stylesheet":n=Ha(l.href);var u=e.querySelector(Mn(n));if(u)return t.state.loading|=4,t.instance=u,Ye(u),u;a=Fd(l),(n=Ot.get(n))&&Rs(a,n),u=(e.ownerDocument||e).createElement("link"),Ye(u);var s=u;return s._p=new Promise(function(f,g){s.onload=f,s.onerror=g}),Je(u,"link",a),t.state.loading|=4,Iu(u,l.precedence,e),t.instance=u;case"script":return u=ka(l.src),(n=e.querySelector(Dn(u)))?(t.instance=n,Ye(n),n):(a=l,(n=Ot.get(u))&&(a=_({},l),As(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ye(n),Je(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Iu(a,l.precedence,e));return t.instance}function Iu(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,s=0;s<a.length;s++){var f=a[s];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 Rs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function As(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Pu=null;function Pd(e,t,l){if(Pu===null){var a=new Map,n=Pu=new Map;n.set(l,a)}else n=Pu,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[Ka]||u[Qe]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var s=u.getAttribute(t)||"";s=e+s;var f=a.get(s);f?f.push(u):a.set(s,[u])}}return a}function eh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Y0(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 th(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function G0(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=Ha(a.href),u=t.querySelector(Mn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ei.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Ye(u);return}u=t.ownerDocument||t,a=Fd(a),(n=Ot.get(n))&&Rs(a,n),u=u.createElement("link"),Ye(u);var s=u;s._p=new Promise(function(f,g){s.onload=f,s.onerror=g}),Je(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=ei.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Os=0;function Q0(e,t){return e.stylesheets&&e.count===0&&li(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&li(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Os===0&&(Os=62500*_0());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&li(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Os?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ei(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)li(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ti=null;function li(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ti=new Map,t.forEach(X0,e),ti=null,ei.call(e))}function X0(e,t){if(!(t.state.loading&4)){var l=ti.get(e);if(l)var a=l.get(null);else{l=new Map,ti.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var s=n[u];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),a=s)}a&&l.set(null,a)}n=t.instance,s=n.getAttribute("data-precedence"),u=l.get(s)||a,u===a&&l.set(null,n),l.set(s,n),this.count++,a=ei.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 Un={$$typeof:J,Provider:null,Consumer:null,_currentValue:F,_currentValue2:F,_threadCount:0};function V0(e,t,l,a,n,u,s,f,g){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=Ni(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ni(0),this.hiddenUpdates=Ni(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function lh(e,t,l,a,n,u,s,f,g,C,A,D){return e=new V0(e,t,l,s,g,C,A,D,f),t=1,u===!0&&(t|=24),u=ht(3,null,null,t),e.current=u,u.stateNode=e,t=rc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},mc(u),e}function ah(e){return e?(e=ma,e):ma}function nh(e,t,l,a,n,u){n=ah(n),a.context===null?a.context=n:a.pendingContext=n,a=gl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=bl(e,a,t),l!==null&&(it(l,e,t),dn(l,e,t))}function uh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Ms(e,t){uh(e,t),(e=e.alternate)&&uh(e,t)}function ih(e){if(e.tag===13||e.tag===31){var t=Yl(e,67108864);t!==null&&it(t,e,67108864),Ms(e,67108864)}}function ch(e){if(e.tag===13||e.tag===31){var t=gt();t=Ci(t);var l=Yl(e,t);l!==null&&it(l,e,t),Ms(e,t)}}var ai=!0;function Z0(e,t,l,a){var n=O.T;O.T=null;var u=Y.p;try{Y.p=2,Ds(e,t,l,a)}finally{Y.p=u,O.T=n}}function J0(e,t,l,a){var n=O.T;O.T=null;var u=Y.p;try{Y.p=8,Ds(e,t,l,a)}finally{Y.p=u,O.T=n}}function Ds(e,t,l,a){if(ai){var n=Us(a);if(n===null)bs(e,t,a,ni,l),oh(e,a);else if($0(n,e,t,l,a))a.stopPropagation();else if(oh(e,a),t&4&&-1<K0.indexOf(e)){for(;n!==null;){var u=aa(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var s=Hl(u.pendingLanes);if(s!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;s;){var g=1<<31-ft(s);f.entanglements[1]|=g,s&=~g}Qt(u),(de&6)===0&&(qu=ot()+500,jn(0))}}break;case 31:case 13:f=Yl(u,2),f!==null&&it(f,u,2),Gu(),Ms(u,2)}if(u=Us(a),u===null&&bs(e,t,a,ni,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else bs(e,t,a,null,l)}}function Us(e){return e=Hi(e),ws(e)}var ni=null;function ws(e){if(ni=null,e=la(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=E(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 ni=e,null}function sh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Dm()){case yo:return 2;case po:return 8;case Jn:case Um:return 32;case vo:return 268435456;default:return 32}default:return 32}}var Hs=!1,Al=null,Ol=null,Ml=null,wn=new Map,Hn=new Map,Dl=[],K0="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 oh(e,t){switch(e){case"focusin":case"focusout":Al=null;break;case"dragenter":case"dragleave":Ol=null;break;case"mouseover":case"mouseout":Ml=null;break;case"pointerover":case"pointerout":wn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hn.delete(t.pointerId)}}function kn(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=aa(t),t!==null&&ih(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function $0(e,t,l,a,n){switch(t){case"focusin":return Al=kn(Al,e,t,l,a,n),!0;case"dragenter":return Ol=kn(Ol,e,t,l,a,n),!0;case"mouseover":return Ml=kn(Ml,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return wn.set(u,kn(wn.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Hn.set(u,kn(Hn.get(u)||null,e,t,l,a,n)),!0}return!1}function rh(e){var t=la(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,_o(e.priority,function(){ch(l)});return}}else if(t===31){if(t=E(l),t!==null){e.blockedOn=t,_o(e.priority,function(){ch(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 ui(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Us(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);wi=a,l.target.dispatchEvent(a),wi=null}else return t=aa(l),t!==null&&ih(t),e.blockedOn=l,!1;t.shift()}return!0}function fh(e,t,l){ui(e)&&l.delete(t)}function W0(){Hs=!1,Al!==null&&ui(Al)&&(Al=null),Ol!==null&&ui(Ol)&&(Ol=null),Ml!==null&&ui(Ml)&&(Ml=null),wn.forEach(fh),Hn.forEach(fh)}function ii(e,t){e.blockedOn===t&&(e.blockedOn=null,Hs||(Hs=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,W0)))}var ci=null;function dh(e){ci!==e&&(ci=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){ci===e&&(ci=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(ws(a||l)===null)continue;break}var u=aa(l);u!==null&&(e.splice(t,3),t-=3,Uc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function La(e){function t(g){return ii(g,e)}Al!==null&&ii(Al,e),Ol!==null&&ii(Ol,e),Ml!==null&&ii(Ml,e),wn.forEach(t),Hn.forEach(t);for(var l=0;l<Dl.length;l++){var a=Dl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Dl.length&&(l=Dl[0],l.blockedOn===null);)rh(l),l.blockedOn===null&&Dl.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],s=n[et]||null;if(typeof u=="function")s||dh(l);else if(s){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,s=u[et]||null)f=s.formAction;else if(ws(n)!==null)continue}else f=s.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),dh(l)}}}function hh(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(s){return n=s})},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 ks(e){this._internalRoot=e}si.prototype.render=ks.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,a=gt();nh(l,a,e,t,null,null)},si.prototype.unmount=ks.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nh(e.current,2,null,e,null,null),Gu(),t[ta]=null}};function si(e){this._internalRoot=e}si.prototype.unstable_scheduleHydration=function(e){if(e){var t=Eo();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Dl.length&&t!==0&&t<Dl[l].priority;l++);Dl.splice(l,0,e),l===0&&rh(e)}};var mh=c.version;if(mh!=="19.2.4")throw Error(o(527,mh,"19.2.4"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=y(t),e=e!==null?z(e):null,e=e===null?null:e.stateNode,e};var F0={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var oi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oi.isDisabled&&oi.supportsFiber)try{Va=oi.inject(F0),rt=oi}catch{}}return qn.createRoot=function(e,t){if(!d(e))throw Error(o(299));var l=!1,a="",n=Sf,u=Ef,s=_f;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&&(s=t.onRecoverableError)),t=lh(e,1,!1,null,null,l,a,null,n,u,s,hh),e[ta]=t.current,gs(e),new ks(t)},qn.hydrateRoot=function(e,t,l){if(!d(e))throw Error(o(299));var a=!1,n="",u=Sf,s=Ef,f=_f,g=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&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.formState!==void 0&&(g=l.formState)),t=lh(e,1,!0,t,l??null,a,n,g,u,s,f,hh),t.context=ah(null),l=t.current,a=gt(),a=Ci(a),n=gl(a),n.callback=null,bl(l,n,a),l=a,t.current.lanes=l,Ja(t,l),Qt(t),e[ta]=t.current,gs(e),new si(t)},qn.version="19.2.4",qn}var Th;function rp(){if(Th)return qs.exports;Th=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(c){console.error(c)}}return i(),qs.exports=op(),qs.exports}var fp=rp();/**
51
51
  * react-router v7.13.1
52
52
  *
53
53
  * Copyright (c) Remix Software Inc.
@@ -56,304 +56,304 @@ Error generating stack: `+a.message+`
56
56
  * LICENSE.md file in the root directory of this source tree.
57
57
  *
58
58
  * @license MIT
59
- */var Th="popstate";function zh(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function fp(i={}){function c(o,d){var y;let m=(y=d.state)==null?void 0:y.masked,{pathname:p,search:E,hash:x}=m||o.location;return Fs("",{pathname:p,search:E,hash:x},d.state&&d.state.usr||null,d.state&&d.state.key||"default",m?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function r(o,d){return typeof d=="string"?d:Qn(d)}return hp(c,r,null,i)}function je(i,c){if(i===!1||i===null||typeof i>"u")throw new Error(c)}function Ht(i,c){if(!i){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function dp(){return Math.random().toString(36).substring(2,10)}function Nh(i,c){return{usr:i.state,key:i.key,idx:c,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function Fs(i,c,r=null,o,d){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof c=="string"?Ya(c):c,state:r,key:c&&c.key||o||dp(),unstable_mask:d}}function Qn({pathname:i="/",search:c="",hash:r=""}){return c&&c!=="?"&&(i+=c.charAt(0)==="?"?c:"?"+c),r&&r!=="#"&&(i+=r.charAt(0)==="#"?r:"#"+r),i}function Ya(i){let c={};if(i){let r=i.indexOf("#");r>=0&&(c.hash=i.substring(r),i=i.substring(0,r));let o=i.indexOf("?");o>=0&&(c.search=i.substring(o),i=i.substring(0,o)),i&&(c.pathname=i)}return c}function hp(i,c,r,o={}){let{window:d=document.defaultView,v5Compat:m=!1}=o,p=d.history,E="POP",x=null,y=z();y==null&&(y=0,p.replaceState({...p.state,idx:y},""));function z(){return(p.state||{idx:null}).idx}function _(){E="POP";let Q=z(),q=Q==null?null:Q-y;y=Q,x&&x({action:E,location:U.location,delta:q})}function H(Q,q){E="PUSH";let I=zh(Q)?Q:Fs(U.location,Q,q);y=z()+1;let J=Nh(I,y),ve=U.createHref(I.unstable_mask||I);try{p.pushState(J,"",ve)}catch(me){if(me instanceof DOMException&&me.name==="DataCloneError")throw me;d.location.assign(ve)}m&&x&&x({action:E,location:U.location,delta:1})}function L(Q,q){E="REPLACE";let I=zh(Q)?Q:Fs(U.location,Q,q);y=z();let J=Nh(I,y),ve=U.createHref(I.unstable_mask||I);p.replaceState(J,"",ve),m&&x&&x({action:E,location:U.location,delta:0})}function B(Q){return mp(Q)}let U={get action(){return E},get location(){return i(d,p)},listen(Q){if(x)throw new Error("A history only accepts one active listener");return d.addEventListener(Th,_),x=Q,()=>{d.removeEventListener(Th,_),x=null}},createHref(Q){return c(d,Q)},createURL:B,encodeLocation(Q){let q=B(Q);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:H,replace:L,go(Q){return p.go(Q)}};return U}function mp(i,c=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),je(r,"No window.location.(origin|href) available to create URL");let o=typeof i=="string"?i:Qn(i);return o=o.replace(/ $/,"%20"),!c&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Vh(i,c,r="/"){return yp(i,c,r,!1)}function yp(i,c,r,o){let d=typeof c=="string"?Ya(c):c,m=ol(d.pathname||"/",r);if(m==null)return null;let p=Zh(i);pp(p);let E=null;for(let x=0;E==null&&x<p.length;++x){let y=Cp(m);E=zp(p[x],y,o)}return E}function Zh(i,c=[],r=[],o="",d=!1){let m=(p,E,x=d,y)=>{let z={relativePath:y===void 0?p.path||"":y,caseSensitive:p.caseSensitive===!0,childrenIndex:E,route:p};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(o)&&x)return;je(z.relativePath.startsWith(o),`Absolute route path "${z.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(o.length)}let _=Xt([o,z.relativePath]),H=r.concat(z);p.children&&p.children.length>0&&(je(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${_}".`),Zh(p.children,c,H,_,x)),!(p.path==null&&!p.index)&&c.push({path:_,score:_p(_,p.index),routesMeta:H})};return i.forEach((p,E)=>{var x;if(p.path===""||!((x=p.path)!=null&&x.includes("?")))m(p,E);else for(let y of Jh(p.path))m(p,E,!0,y)}),c}function Jh(i){let c=i.split("/");if(c.length===0)return[];let[r,...o]=c,d=r.endsWith("?"),m=r.replace(/\?$/,"");if(o.length===0)return d?[m,""]:[m];let p=Jh(o.join("/")),E=[];return E.push(...p.map(x=>x===""?m:[m,x].join("/"))),d&&E.push(...p),E.map(x=>i.startsWith("/")&&x===""?"/":x)}function pp(i){i.sort((c,r)=>c.score!==r.score?r.score-c.score:Tp(c.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var vp=/^:[\w-]+$/,gp=3,bp=2,xp=1,Sp=10,Ep=-2,Ch=i=>i==="*";function _p(i,c){let r=i.split("/"),o=r.length;return r.some(Ch)&&(o+=Ep),c&&(o+=bp),r.filter(d=>!Ch(d)).reduce((d,m)=>d+(vp.test(m)?gp:m===""?xp:Sp),o)}function Tp(i,c){return i.length===c.length&&i.slice(0,-1).every((o,d)=>o===c[d])?i[i.length-1]-c[c.length-1]:0}function zp(i,c,r=!1){let{routesMeta:o}=i,d={},m="/",p=[];for(let E=0;E<o.length;++E){let x=o[E],y=E===o.length-1,z=m==="/"?c:c.slice(m.length)||"/",_=mi({path:x.relativePath,caseSensitive:x.caseSensitive,end:y},z),H=x.route;if(!_&&y&&r&&!o[o.length-1].route.index&&(_=mi({path:x.relativePath,caseSensitive:x.caseSensitive,end:!1},z)),!_)return null;Object.assign(d,_.params),p.push({params:d,pathname:Xt([m,_.pathname]),pathnameBase:Op(Xt([m,_.pathnameBase])),route:H}),_.pathnameBase!=="/"&&(m=Xt([m,_.pathnameBase]))}return p}function mi(i,c){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[r,o]=Np(i.path,i.caseSensitive,i.end),d=c.match(r);if(!d)return null;let m=d[0],p=m.replace(/(.)\/+$/,"$1"),E=d.slice(1);return{params:o.reduce((y,{paramName:z,isOptional:_},H)=>{if(z==="*"){let B=E[H]||"";p=m.slice(0,m.length-B.length).replace(/(.)\/+$/,"$1")}const L=E[H];return _&&!L?y[z]=void 0:y[z]=(L||"").replace(/%2F/g,"/"),y},{}),pathname:m,pathnameBase:p,pattern:i}}function Np(i,c=!1,r=!0){Ht(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 o=[],d="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,E,x,y,z)=>{if(o.push({paramName:E,isOptional:x!=null}),x){let _=z.charAt(y+p.length);return _&&_!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(o.push({paramName:"*"}),d+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?d+="\\/*$":i!==""&&i!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,c?void 0:"i"),o]}function Cp(i){try{return i.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Ht(!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 (${c}).`),i}}function ol(i,c){if(c==="/")return i;if(!i.toLowerCase().startsWith(c.toLowerCase()))return null;let r=c.endsWith("/")?c.length-1:c.length,o=i.charAt(r);return o&&o!=="/"?null:i.slice(r)||"/"}var jp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Rp(i,c="/"){let{pathname:r,search:o="",hash:d=""}=typeof i=="string"?Ya(i):i,m;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?m=jh(r.substring(1),"/"):m=jh(r,c)):m=c,{pathname:m,search:Mp(o),hash:Dp(d)}}function jh(i,c){let r=c.replace(/\/+$/,"").split("/");return i.split("/").forEach(d=>{d===".."?r.length>1&&r.pop():d!=="."&&r.push(d)}),r.length>1?r.join("/"):"/"}function Xs(i,c,r,o){return`Cannot include a '${i}' character in a manually specified \`to.${c}\` field [${JSON.stringify(o)}]. 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 Ap(i){return i.filter((c,r)=>r===0||c.route.path&&c.route.path.length>0)}function eo(i){let c=Ap(i);return c.map((r,o)=>o===c.length-1?r.pathname:r.pathnameBase)}function vi(i,c,r,o=!1){let d;typeof i=="string"?d=Ya(i):(d={...i},je(!d.pathname||!d.pathname.includes("?"),Xs("?","pathname","search",d)),je(!d.pathname||!d.pathname.includes("#"),Xs("#","pathname","hash",d)),je(!d.search||!d.search.includes("#"),Xs("#","search","hash",d)));let m=i===""||d.pathname==="",p=m?"/":d.pathname,E;if(p==null)E=r;else{let _=c.length-1;if(!o&&p.startsWith("..")){let H=p.split("/");for(;H[0]==="..";)H.shift(),_-=1;d.pathname=H.join("/")}E=_>=0?c[_]:"/"}let x=Rp(d,E),y=p&&p!=="/"&&p.endsWith("/"),z=(m||p===".")&&r.endsWith("/");return!x.pathname.endsWith("/")&&(y||z)&&(x.pathname+="/"),x}var Xt=i=>i.join("/").replace(/\/\/+/g,"/"),Op=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),Mp=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,Dp=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,Up=class{constructor(i,c,r,o=!1){this.status=i,this.statusText=c||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function wp(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function Hp(i){return i.map(c=>c.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Kh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $h(i,c){let r=i;if(typeof r!="string"||!jp.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let o=r,d=!1;if(Kh)try{let m=new URL(window.location.href),p=r.startsWith("//")?new URL(m.protocol+r):new URL(r),E=ol(p.pathname,c);p.origin===m.origin&&E!=null?r=E+p.search+p.hash:d=!0}catch{Ht(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:d,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Wh=["POST","PUT","PATCH","DELETE"];new Set(Wh);var kp=["GET",...Wh];new Set(kp);var Ga=v.createContext(null);Ga.displayName="DataRouter";var gi=v.createContext(null);gi.displayName="DataRouterState";var Lp=v.createContext(!1),Fh=v.createContext({isTransitioning:!1});Fh.displayName="ViewTransition";var Bp=v.createContext(new Map);Bp.displayName="Fetchers";var qp=v.createContext(null);qp.displayName="Await";var bt=v.createContext(null);bt.displayName="Navigation";var Xn=v.createContext(null);Xn.displayName="Location";var Mt=v.createContext({outlet:null,matches:[],isDataRoute:!1});Mt.displayName="Route";var to=v.createContext(null);to.displayName="RouteError";var Ih="REACT_ROUTER_ERROR",Yp="REDIRECT",Gp="ROUTE_ERROR_RESPONSE";function Qp(i){if(i.startsWith(`${Ih}:${Yp}:{`))try{let c=JSON.parse(i.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Xp(i){if(i.startsWith(`${Ih}:${Gp}:{`))try{let c=JSON.parse(i.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new Up(c.status,c.statusText,c.data)}catch{}}function Vp(i,{relative:c}={}){je(Qa(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=v.useContext(bt),{hash:d,pathname:m,search:p}=Vn(i,{relative:c}),E=m;return r!=="/"&&(E=m==="/"?r:Xt([r,m])),o.createHref({pathname:E,search:p,hash:d})}function Qa(){return v.useContext(Xn)!=null}function kt(){return je(Qa(),"useLocation() may be used only in the context of a <Router> component."),v.useContext(Xn).location}var Ph="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function em(i){v.useContext(bt).static||v.useLayoutEffect(i)}function lo(){let{isDataRoute:i}=v.useContext(Mt);return i?i1():Zp()}function Zp(){je(Qa(),"useNavigate() may be used only in the context of a <Router> component.");let i=v.useContext(Ga),{basename:c,navigator:r}=v.useContext(bt),{matches:o}=v.useContext(Mt),{pathname:d}=kt(),m=JSON.stringify(eo(o)),p=v.useRef(!1);return em(()=>{p.current=!0}),v.useCallback((x,y={})=>{if(Ht(p.current,Ph),!p.current)return;if(typeof x=="number"){r.go(x);return}let z=vi(x,JSON.parse(m),d,y.relative==="path");i==null&&c!=="/"&&(z.pathname=z.pathname==="/"?c:Xt([c,z.pathname])),(y.replace?r.replace:r.push)(z,y.state,y)},[c,r,m,d,i])}var Jp=v.createContext(null);function Kp(i){let c=v.useContext(Mt).outlet;return v.useMemo(()=>c&&v.createElement(Jp.Provider,{value:i},c),[c,i])}function D2(){let{matches:i}=v.useContext(Mt),c=i[i.length-1];return c?c.params:{}}function Vn(i,{relative:c}={}){let{matches:r}=v.useContext(Mt),{pathname:o}=kt(),d=JSON.stringify(eo(r));return v.useMemo(()=>vi(i,JSON.parse(d),o,c==="path"),[i,d,o,c])}function $p(i,c){return tm(i,c)}function tm(i,c,r){var Q;je(Qa(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=v.useContext(bt),{matches:d}=v.useContext(Mt),m=d[d.length-1],p=m?m.params:{},E=m?m.pathname:"/",x=m?m.pathnameBase:"/",y=m&&m.route;{let q=y&&y.path||"";am(E,!y||q.endsWith("*")||q.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${E}" (under <Route path="${q}">) 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.
59
+ */var zh="popstate";function Nh(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function dp(i={}){function c(o,d){var y;let m=(y=d.state)==null?void 0:y.masked,{pathname:p,search:E,hash:x}=m||o.location;return Fs("",{pathname:p,search:E,hash:x},d.state&&d.state.usr||null,d.state&&d.state.key||"default",m?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function r(o,d){return typeof d=="string"?d:Qn(d)}return mp(c,r,null,i)}function je(i,c){if(i===!1||i===null||typeof i>"u")throw new Error(c)}function Ht(i,c){if(!i){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function hp(){return Math.random().toString(36).substring(2,10)}function Ch(i,c){return{usr:i.state,key:i.key,idx:c,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function Fs(i,c,r=null,o,d){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof c=="string"?Ya(c):c,state:r,key:c&&c.key||o||hp(),unstable_mask:d}}function Qn({pathname:i="/",search:c="",hash:r=""}){return c&&c!=="?"&&(i+=c.charAt(0)==="?"?c:"?"+c),r&&r!=="#"&&(i+=r.charAt(0)==="#"?r:"#"+r),i}function Ya(i){let c={};if(i){let r=i.indexOf("#");r>=0&&(c.hash=i.substring(r),i=i.substring(0,r));let o=i.indexOf("?");o>=0&&(c.search=i.substring(o),i=i.substring(0,o)),i&&(c.pathname=i)}return c}function mp(i,c,r,o={}){let{window:d=document.defaultView,v5Compat:m=!1}=o,p=d.history,E="POP",x=null,y=z();y==null&&(y=0,p.replaceState({...p.state,idx:y},""));function z(){return(p.state||{idx:null}).idx}function _(){E="POP";let Q=z(),q=Q==null?null:Q-y;y=Q,x&&x({action:E,location:U.location,delta:q})}function H(Q,q){E="PUSH";let I=Nh(Q)?Q:Fs(U.location,Q,q);y=z()+1;let J=Ch(I,y),ve=U.createHref(I.unstable_mask||I);try{p.pushState(J,"",ve)}catch(me){if(me instanceof DOMException&&me.name==="DataCloneError")throw me;d.location.assign(ve)}m&&x&&x({action:E,location:U.location,delta:1})}function L(Q,q){E="REPLACE";let I=Nh(Q)?Q:Fs(U.location,Q,q);y=z();let J=Ch(I,y),ve=U.createHref(I.unstable_mask||I);p.replaceState(J,"",ve),m&&x&&x({action:E,location:U.location,delta:0})}function B(Q){return yp(Q)}let U={get action(){return E},get location(){return i(d,p)},listen(Q){if(x)throw new Error("A history only accepts one active listener");return d.addEventListener(zh,_),x=Q,()=>{d.removeEventListener(zh,_),x=null}},createHref(Q){return c(d,Q)},createURL:B,encodeLocation(Q){let q=B(Q);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:H,replace:L,go(Q){return p.go(Q)}};return U}function yp(i,c=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),je(r,"No window.location.(origin|href) available to create URL");let o=typeof i=="string"?i:Qn(i);return o=o.replace(/ $/,"%20"),!c&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Zh(i,c,r="/"){return pp(i,c,r,!1)}function pp(i,c,r,o){let d=typeof c=="string"?Ya(c):c,m=ol(d.pathname||"/",r);if(m==null)return null;let p=Jh(i);vp(p);let E=null;for(let x=0;E==null&&x<p.length;++x){let y=jp(m);E=Np(p[x],y,o)}return E}function Jh(i,c=[],r=[],o="",d=!1){let m=(p,E,x=d,y)=>{let z={relativePath:y===void 0?p.path||"":y,caseSensitive:p.caseSensitive===!0,childrenIndex:E,route:p};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(o)&&x)return;je(z.relativePath.startsWith(o),`Absolute route path "${z.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(o.length)}let _=Xt([o,z.relativePath]),H=r.concat(z);p.children&&p.children.length>0&&(je(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${_}".`),Jh(p.children,c,H,_,x)),!(p.path==null&&!p.index)&&c.push({path:_,score:Tp(_,p.index),routesMeta:H})};return i.forEach((p,E)=>{var x;if(p.path===""||!((x=p.path)!=null&&x.includes("?")))m(p,E);else for(let y of Kh(p.path))m(p,E,!0,y)}),c}function Kh(i){let c=i.split("/");if(c.length===0)return[];let[r,...o]=c,d=r.endsWith("?"),m=r.replace(/\?$/,"");if(o.length===0)return d?[m,""]:[m];let p=Kh(o.join("/")),E=[];return E.push(...p.map(x=>x===""?m:[m,x].join("/"))),d&&E.push(...p),E.map(x=>i.startsWith("/")&&x===""?"/":x)}function vp(i){i.sort((c,r)=>c.score!==r.score?r.score-c.score:zp(c.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var gp=/^:[\w-]+$/,bp=3,xp=2,Sp=1,Ep=10,_p=-2,jh=i=>i==="*";function Tp(i,c){let r=i.split("/"),o=r.length;return r.some(jh)&&(o+=_p),c&&(o+=xp),r.filter(d=>!jh(d)).reduce((d,m)=>d+(gp.test(m)?bp:m===""?Sp:Ep),o)}function zp(i,c){return i.length===c.length&&i.slice(0,-1).every((o,d)=>o===c[d])?i[i.length-1]-c[c.length-1]:0}function Np(i,c,r=!1){let{routesMeta:o}=i,d={},m="/",p=[];for(let E=0;E<o.length;++E){let x=o[E],y=E===o.length-1,z=m==="/"?c:c.slice(m.length)||"/",_=mi({path:x.relativePath,caseSensitive:x.caseSensitive,end:y},z),H=x.route;if(!_&&y&&r&&!o[o.length-1].route.index&&(_=mi({path:x.relativePath,caseSensitive:x.caseSensitive,end:!1},z)),!_)return null;Object.assign(d,_.params),p.push({params:d,pathname:Xt([m,_.pathname]),pathnameBase:Mp(Xt([m,_.pathnameBase])),route:H}),_.pathnameBase!=="/"&&(m=Xt([m,_.pathnameBase]))}return p}function mi(i,c){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[r,o]=Cp(i.path,i.caseSensitive,i.end),d=c.match(r);if(!d)return null;let m=d[0],p=m.replace(/(.)\/+$/,"$1"),E=d.slice(1);return{params:o.reduce((y,{paramName:z,isOptional:_},H)=>{if(z==="*"){let B=E[H]||"";p=m.slice(0,m.length-B.length).replace(/(.)\/+$/,"$1")}const L=E[H];return _&&!L?y[z]=void 0:y[z]=(L||"").replace(/%2F/g,"/"),y},{}),pathname:m,pathnameBase:p,pattern:i}}function Cp(i,c=!1,r=!0){Ht(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 o=[],d="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,E,x,y,z)=>{if(o.push({paramName:E,isOptional:x!=null}),x){let _=z.charAt(y+p.length);return _&&_!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(o.push({paramName:"*"}),d+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?d+="\\/*$":i!==""&&i!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,c?void 0:"i"),o]}function jp(i){try{return i.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Ht(!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 (${c}).`),i}}function ol(i,c){if(c==="/")return i;if(!i.toLowerCase().startsWith(c.toLowerCase()))return null;let r=c.endsWith("/")?c.length-1:c.length,o=i.charAt(r);return o&&o!=="/"?null:i.slice(r)||"/"}var Rp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Ap(i,c="/"){let{pathname:r,search:o="",hash:d=""}=typeof i=="string"?Ya(i):i,m;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?m=Rh(r.substring(1),"/"):m=Rh(r,c)):m=c,{pathname:m,search:Dp(o),hash:Up(d)}}function Rh(i,c){let r=c.replace(/\/+$/,"").split("/");return i.split("/").forEach(d=>{d===".."?r.length>1&&r.pop():d!=="."&&r.push(d)}),r.length>1?r.join("/"):"/"}function Xs(i,c,r,o){return`Cannot include a '${i}' character in a manually specified \`to.${c}\` field [${JSON.stringify(o)}]. 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 Op(i){return i.filter((c,r)=>r===0||c.route.path&&c.route.path.length>0)}function eo(i){let c=Op(i);return c.map((r,o)=>o===c.length-1?r.pathname:r.pathnameBase)}function vi(i,c,r,o=!1){let d;typeof i=="string"?d=Ya(i):(d={...i},je(!d.pathname||!d.pathname.includes("?"),Xs("?","pathname","search",d)),je(!d.pathname||!d.pathname.includes("#"),Xs("#","pathname","hash",d)),je(!d.search||!d.search.includes("#"),Xs("#","search","hash",d)));let m=i===""||d.pathname==="",p=m?"/":d.pathname,E;if(p==null)E=r;else{let _=c.length-1;if(!o&&p.startsWith("..")){let H=p.split("/");for(;H[0]==="..";)H.shift(),_-=1;d.pathname=H.join("/")}E=_>=0?c[_]:"/"}let x=Ap(d,E),y=p&&p!=="/"&&p.endsWith("/"),z=(m||p===".")&&r.endsWith("/");return!x.pathname.endsWith("/")&&(y||z)&&(x.pathname+="/"),x}var Xt=i=>i.join("/").replace(/\/\/+/g,"/"),Mp=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),Dp=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,Up=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,wp=class{constructor(i,c,r,o=!1){this.status=i,this.statusText=c||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Hp(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function kp(i){return i.map(c=>c.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var $h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Wh(i,c){let r=i;if(typeof r!="string"||!Rp.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let o=r,d=!1;if($h)try{let m=new URL(window.location.href),p=r.startsWith("//")?new URL(m.protocol+r):new URL(r),E=ol(p.pathname,c);p.origin===m.origin&&E!=null?r=E+p.search+p.hash:d=!0}catch{Ht(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:d,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Fh=["POST","PUT","PATCH","DELETE"];new Set(Fh);var Lp=["GET",...Fh];new Set(Lp);var Ga=v.createContext(null);Ga.displayName="DataRouter";var gi=v.createContext(null);gi.displayName="DataRouterState";var Bp=v.createContext(!1),Ih=v.createContext({isTransitioning:!1});Ih.displayName="ViewTransition";var qp=v.createContext(new Map);qp.displayName="Fetchers";var Yp=v.createContext(null);Yp.displayName="Await";var bt=v.createContext(null);bt.displayName="Navigation";var Xn=v.createContext(null);Xn.displayName="Location";var Mt=v.createContext({outlet:null,matches:[],isDataRoute:!1});Mt.displayName="Route";var to=v.createContext(null);to.displayName="RouteError";var Ph="REACT_ROUTER_ERROR",Gp="REDIRECT",Qp="ROUTE_ERROR_RESPONSE";function Xp(i){if(i.startsWith(`${Ph}:${Gp}:{`))try{let c=JSON.parse(i.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Vp(i){if(i.startsWith(`${Ph}:${Qp}:{`))try{let c=JSON.parse(i.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new wp(c.status,c.statusText,c.data)}catch{}}function Zp(i,{relative:c}={}){je(Qa(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=v.useContext(bt),{hash:d,pathname:m,search:p}=Vn(i,{relative:c}),E=m;return r!=="/"&&(E=m==="/"?r:Xt([r,m])),o.createHref({pathname:E,search:p,hash:d})}function Qa(){return v.useContext(Xn)!=null}function kt(){return je(Qa(),"useLocation() may be used only in the context of a <Router> component."),v.useContext(Xn).location}var em="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tm(i){v.useContext(bt).static||v.useLayoutEffect(i)}function lo(){let{isDataRoute:i}=v.useContext(Mt);return i?c1():Jp()}function Jp(){je(Qa(),"useNavigate() may be used only in the context of a <Router> component.");let i=v.useContext(Ga),{basename:c,navigator:r}=v.useContext(bt),{matches:o}=v.useContext(Mt),{pathname:d}=kt(),m=JSON.stringify(eo(o)),p=v.useRef(!1);return tm(()=>{p.current=!0}),v.useCallback((x,y={})=>{if(Ht(p.current,em),!p.current)return;if(typeof x=="number"){r.go(x);return}let z=vi(x,JSON.parse(m),d,y.relative==="path");i==null&&c!=="/"&&(z.pathname=z.pathname==="/"?c:Xt([c,z.pathname])),(y.replace?r.replace:r.push)(z,y.state,y)},[c,r,m,d,i])}var Kp=v.createContext(null);function $p(i){let c=v.useContext(Mt).outlet;return v.useMemo(()=>c&&v.createElement(Kp.Provider,{value:i},c),[c,i])}function w2(){let{matches:i}=v.useContext(Mt),c=i[i.length-1];return c?c.params:{}}function Vn(i,{relative:c}={}){let{matches:r}=v.useContext(Mt),{pathname:o}=kt(),d=JSON.stringify(eo(r));return v.useMemo(()=>vi(i,JSON.parse(d),o,c==="path"),[i,d,o,c])}function Wp(i,c){return lm(i,c)}function lm(i,c,r){var Q;je(Qa(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=v.useContext(bt),{matches:d}=v.useContext(Mt),m=d[d.length-1],p=m?m.params:{},E=m?m.pathname:"/",x=m?m.pathnameBase:"/",y=m&&m.route;{let q=y&&y.path||"";nm(E,!y||q.endsWith("*")||q.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${E}" (under <Route path="${q}">) 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
60
 
61
- Please change the parent <Route path="${q}"> to <Route path="${q==="/"?"*":`${q}/*`}">.`)}let z=kt(),_;if(c){let q=typeof c=="string"?Ya(c):c;je(x==="/"||((Q=q.pathname)==null?void 0:Q.startsWith(x)),`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 "${x}" but pathname "${q.pathname}" was given in the \`location\` prop.`),_=q}else _=z;let H=_.pathname||"/",L=H;if(x!=="/"){let q=x.replace(/^\//,"").split("/");L="/"+H.replace(/^\//,"").split("/").slice(q.length).join("/")}let B=Vh(i,{pathname:L});Ht(y||B!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),Ht(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 "${_.pathname}${_.search}${_.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 U=e1(B&&B.map(q=>Object.assign({},q,{params:Object.assign({},p,q.params),pathname:Xt([x,o.encodeLocation?o.encodeLocation(q.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:q.pathname]),pathnameBase:q.pathnameBase==="/"?x:Xt([x,o.encodeLocation?o.encodeLocation(q.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:q.pathnameBase])})),d,r);return c&&U?v.createElement(Xn.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,..._},navigationType:"POP"}},U):U}function Wp(){let i=u1(),c=wp(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),r=i instanceof Error?i.stack:null,o="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:o},m={padding:"2px 4px",backgroundColor:o},p=null;return console.error("Error handled by React Router default ErrorBoundary:",i),p=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:m},"ErrorBoundary")," or"," ",v.createElement("code",{style:m},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},c),r?v.createElement("pre",{style:d},r):null,p)}var Fp=v.createElement(Wp,null),lm=class extends v.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,c){return c.location!==i.location||c.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:c.error,location:c.location,revalidation:i.revalidation||c.revalidation}}componentDidCatch(i,c){this.props.onError?this.props.onError(i,c):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=Xp(i.digest);r&&(i=r)}let c=i!==void 0?v.createElement(Mt.Provider,{value:this.props.routeContext},v.createElement(to.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?v.createElement(Ip,{error:i},c):c}};lm.contextType=Lp;var Vs=new WeakMap;function Ip({children:i,error:c}){let{basename:r}=v.useContext(bt);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let o=Qp(c.digest);if(o){let d=Vs.get(c);if(d)throw d;let m=$h(o.location,r);if(Kh&&!Vs.get(c))if(m.isExternal||o.reloadDocument)window.location.href=m.absoluteURL||m.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(m.to,{replace:o.replace}));throw Vs.set(c,p),p}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${m.absoluteURL||m.to}`})}}return i}function Pp({routeContext:i,match:c,children:r}){let o=v.useContext(Ga);return o&&o.static&&o.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=c.route.id),v.createElement(Mt.Provider,{value:i},r)}function e1(i,c=[],r){let o=r==null?void 0:r.state;if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(c.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let d=i,m=o==null?void 0:o.errors;if(m!=null){let z=d.findIndex(_=>_.route.id&&(m==null?void 0:m[_.route.id])!==void 0);je(z>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),d=d.slice(0,Math.min(d.length,z+1))}let p=!1,E=-1;if(r&&o){p=o.renderFallback;for(let z=0;z<d.length;z++){let _=d[z];if((_.route.HydrateFallback||_.route.hydrateFallbackElement)&&(E=z),_.route.id){let{loaderData:H,errors:L}=o,B=_.route.loader&&!H.hasOwnProperty(_.route.id)&&(!L||L[_.route.id]===void 0);if(_.route.lazy||B){r.isStatic&&(p=!0),E>=0?d=d.slice(0,E+1):d=[d[0]];break}}}}let x=r==null?void 0:r.onError,y=o&&x?(z,_)=>{var H,L;x(z,{location:o.location,params:((L=(H=o.matches)==null?void 0:H[0])==null?void 0:L.params)??{},unstable_pattern:Hp(o.matches),errorInfo:_})}:void 0;return d.reduceRight((z,_,H)=>{let L,B=!1,U=null,Q=null;o&&(L=m&&_.route.id?m[_.route.id]:void 0,U=_.route.errorElement||Fp,p&&(E<0&&H===0?(am("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,Q=null):E===H&&(B=!0,Q=_.route.hydrateFallbackElement||null)));let q=c.concat(d.slice(0,H+1)),I=()=>{let J;return L?J=U:B?J=Q:_.route.Component?J=v.createElement(_.route.Component,null):_.route.element?J=_.route.element:J=z,v.createElement(Pp,{match:_,routeContext:{outlet:z,matches:q,isDataRoute:o!=null},children:J})};return o&&(_.route.ErrorBoundary||_.route.errorElement||H===0)?v.createElement(lm,{location:o.location,revalidation:o.revalidation,component:U,error:L,children:I(),routeContext:{outlet:null,matches:q,isDataRoute:!0},onError:y}):I()},null)}function ao(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function t1(i){let c=v.useContext(Ga);return je(c,ao(i)),c}function l1(i){let c=v.useContext(gi);return je(c,ao(i)),c}function a1(i){let c=v.useContext(Mt);return je(c,ao(i)),c}function no(i){let c=a1(i),r=c.matches[c.matches.length-1];return je(r.route.id,`${i} can only be used on routes that contain a unique "id"`),r.route.id}function n1(){return no("useRouteId")}function u1(){var o;let i=v.useContext(to),c=l1("useRouteError"),r=no("useRouteError");return i!==void 0?i:(o=c.errors)==null?void 0:o[r]}function i1(){let{router:i}=t1("useNavigate"),c=no("useNavigate"),r=v.useRef(!1);return em(()=>{r.current=!0}),v.useCallback(async(d,m={})=>{Ht(r.current,Ph),r.current&&(typeof d=="number"?await i.navigate(d):await i.navigate(d,{fromRouteId:c,...m}))},[i,c])}var Rh={};function am(i,c,r){!c&&!Rh[i]&&(Rh[i]=!0,Ht(!1,r))}v.memo(c1);function c1({routes:i,future:c,state:r,isStatic:o,onError:d}){return tm(i,void 0,{state:r,isStatic:o,onError:d})}function s1({to:i,replace:c,state:r,relative:o}){je(Qa(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=v.useContext(bt);Ht(!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:m}=v.useContext(Mt),{pathname:p}=kt(),E=lo(),x=vi(i,eo(m),p,o==="path"),y=JSON.stringify(x);return v.useEffect(()=>{E(JSON.parse(y),{replace:c,state:r,relative:o})},[E,y,o,c,r]),null}function o1(i){return Kp(i.context)}function Fe(i){je(!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 r1({basename:i="/",children:c=null,location:r,navigationType:o="POP",navigator:d,static:m=!1,unstable_useTransitions:p}){je(!Qa(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let E=i.replace(/^\/*/,"/"),x=v.useMemo(()=>({basename:E,navigator:d,static:m,unstable_useTransitions:p,future:{}}),[E,d,m,p]);typeof r=="string"&&(r=Ya(r));let{pathname:y="/",search:z="",hash:_="",state:H=null,key:L="default",unstable_mask:B}=r,U=v.useMemo(()=>{let Q=ol(y,E);return Q==null?null:{location:{pathname:Q,search:z,hash:_,state:H,key:L,unstable_mask:B},navigationType:o}},[E,y,z,_,H,L,o,B]);return Ht(U!=null,`<Router basename="${E}"> is not able to match the URL "${y}${z}${_}" because it does not start with the basename, so the <Router> won't render anything.`),U==null?null:v.createElement(bt.Provider,{value:x},v.createElement(Xn.Provider,{children:c,value:U}))}function f1({children:i,location:c}){return $p(Is(i),c)}function Is(i,c=[]){let r=[];return v.Children.forEach(i,(o,d)=>{if(!v.isValidElement(o))return;let m=[...c,d];if(o.type===v.Fragment){r.push.apply(r,Is(o.props.children,m));return}je(o.type===Fe,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),je(!o.props.index||!o.props.children,"An index route cannot have child routes.");let p={id:o.props.id||m.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(p.children=Is(o.props.children,m)),r.push(p)}),r}var fi="get",di="application/x-www-form-urlencoded";function bi(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function d1(i){return bi(i)&&i.tagName.toLowerCase()==="button"}function h1(i){return bi(i)&&i.tagName.toLowerCase()==="form"}function m1(i){return bi(i)&&i.tagName.toLowerCase()==="input"}function y1(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function p1(i,c){return i.button===0&&(!c||c==="_self")&&!y1(i)}var ri=null;function v1(){if(ri===null)try{new FormData(document.createElement("form"),0),ri=!1}catch{ri=!0}return ri}var g1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zs(i){return i!=null&&!g1.has(i)?(Ht(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${di}"`),null):i}function b1(i,c){let r,o,d,m,p;if(h1(i)){let E=i.getAttribute("action");o=E?ol(E,c):null,r=i.getAttribute("method")||fi,d=Zs(i.getAttribute("enctype"))||di,m=new FormData(i)}else if(d1(i)||m1(i)&&(i.type==="submit"||i.type==="image")){let E=i.form;if(E==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let x=i.getAttribute("formaction")||E.getAttribute("action");if(o=x?ol(x,c):null,r=i.getAttribute("formmethod")||E.getAttribute("method")||fi,d=Zs(i.getAttribute("formenctype"))||Zs(E.getAttribute("enctype"))||di,m=new FormData(E,i),!v1()){let{name:y,type:z,value:_}=i;if(z==="image"){let H=y?`${y}.`:"";m.append(`${H}x`,"0"),m.append(`${H}y`,"0")}else y&&m.append(y,_)}}else{if(bi(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=fi,o=null,d=di,p=i}return m&&d==="text/plain"&&(p=m,m=void 0),{action:o,method:r.toLowerCase(),encType:d,formData:m,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function uo(i,c){if(i===!1||i===null||typeof i>"u")throw new Error(c)}function x1(i,c,r,o){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}_.${o}`:d.pathname=`${d.pathname}.${o}`:d.pathname==="/"?d.pathname=`_root.${o}`:c&&ol(d.pathname,c)==="/"?d.pathname=`${c.replace(/\/$/,"")}/_root.${o}`:d.pathname=`${d.pathname.replace(/\/$/,"")}.${o}`,d}async function S1(i,c){if(i.id in c)return c[i.id];try{let r=await import(i.module);return c[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 E1(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 _1(i,c,r){let o=await Promise.all(i.map(async d=>{let m=c.routes[d.route.id];if(m){let p=await S1(m,r);return p.links?p.links():[]}return[]}));return C1(o.flat(1).filter(E1).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Ah(i,c,r,o,d,m){let p=(x,y)=>r[y]?x.route.id!==r[y].route.id:!0,E=(x,y)=>{var z;return r[y].pathname!==x.pathname||((z=r[y].route.path)==null?void 0:z.endsWith("*"))&&r[y].params["*"]!==x.params["*"]};return m==="assets"?c.filter((x,y)=>p(x,y)||E(x,y)):m==="data"?c.filter((x,y)=>{var _;let z=o.routes[x.route.id];if(!z||!z.hasLoader)return!1;if(p(x,y)||E(x,y))return!0;if(x.route.shouldRevalidate){let H=x.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((_=r[0])==null?void 0:_.params)||{},nextUrl:new URL(i,window.origin),nextParams:x.params,defaultShouldRevalidate:!0});if(typeof H=="boolean")return H}return!0}):[]}function T1(i,c,{includeHydrateFallback:r}={}){return z1(i.map(o=>{let d=c.routes[o.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 z1(i){return[...new Set(i)]}function N1(i){let c={},r=Object.keys(i).sort();for(let o of r)c[o]=i[o];return c}function C1(i,c){let r=new Set;return new Set(c),i.reduce((o,d)=>{let m=JSON.stringify(N1(d));return r.has(m)||(r.add(m),o.push({key:m,link:d})),o},[])}function nm(){let i=v.useContext(Ga);return uo(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function j1(){let i=v.useContext(gi);return uo(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var io=v.createContext(void 0);io.displayName="FrameworkContext";function um(){let i=v.useContext(io);return uo(i,"You must render this element inside a <HydratedRouter> element"),i}function R1(i,c){let r=v.useContext(io),[o,d]=v.useState(!1),[m,p]=v.useState(!1),{onFocus:E,onBlur:x,onMouseEnter:y,onMouseLeave:z,onTouchStart:_}=c,H=v.useRef(null);v.useEffect(()=>{if(i==="render"&&p(!0),i==="viewport"){let U=q=>{q.forEach(I=>{p(I.isIntersecting)})},Q=new IntersectionObserver(U,{threshold:.5});return H.current&&Q.observe(H.current),()=>{Q.disconnect()}}},[i]),v.useEffect(()=>{if(o){let U=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(U)}}},[o]);let L=()=>{d(!0)},B=()=>{d(!1),p(!1)};return r?i!=="intent"?[m,H,{}]:[m,H,{onFocus:Yn(E,L),onBlur:Yn(x,B),onMouseEnter:Yn(y,L),onMouseLeave:Yn(z,B),onTouchStart:Yn(_,L)}]:[!1,H,{}]}function Yn(i,c){return r=>{i&&i(r),r.defaultPrevented||c(r)}}function A1({page:i,...c}){let{router:r}=nm(),o=v.useMemo(()=>Vh(r.routes,i,r.basename),[r.routes,i,r.basename]);return o?v.createElement(M1,{page:i,matches:o,...c}):null}function O1(i){let{manifest:c,routeModules:r}=um(),[o,d]=v.useState([]);return v.useEffect(()=>{let m=!1;return _1(i,c,r).then(p=>{m||d(p)}),()=>{m=!0}},[i,c,r]),o}function M1({page:i,matches:c,...r}){let o=kt(),{future:d,manifest:m,routeModules:p}=um(),{basename:E}=nm(),{loaderData:x,matches:y}=j1(),z=v.useMemo(()=>Ah(i,c,y,m,o,"data"),[i,c,y,m,o]),_=v.useMemo(()=>Ah(i,c,y,m,o,"assets"),[i,c,y,m,o]),H=v.useMemo(()=>{if(i===o.pathname+o.search+o.hash)return[];let U=new Set,Q=!1;if(c.forEach(I=>{var ve;let J=m.routes[I.route.id];!J||!J.hasLoader||(!z.some(me=>me.route.id===I.route.id)&&I.route.id in x&&((ve=p[I.route.id])!=null&&ve.shouldRevalidate)||J.hasClientLoader?Q=!0:U.add(I.route.id))}),U.size===0)return[];let q=x1(i,E,d.unstable_trailingSlashAwareDataRequests,"data");return Q&&U.size>0&&q.searchParams.set("_routes",c.filter(I=>U.has(I.route.id)).map(I=>I.route.id).join(",")),[q.pathname+q.search]},[E,d.unstable_trailingSlashAwareDataRequests,x,o,m,z,c,i,p]),L=v.useMemo(()=>T1(_,m),[_,m]),B=O1(_);return v.createElement(v.Fragment,null,H.map(U=>v.createElement("link",{key:U,rel:"prefetch",as:"fetch",href:U,...r})),L.map(U=>v.createElement("link",{key:U,rel:"modulepreload",href:U,...r})),B.map(({key:U,link:Q})=>v.createElement("link",{key:U,nonce:r.nonce,...Q,crossOrigin:Q.crossOrigin??r.crossOrigin})))}function D1(...i){return c=>{i.forEach(r=>{typeof r=="function"?r(c):r!=null&&(r.current=c)})}}var U1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{U1&&(window.__reactRouterVersion="7.13.1")}catch{}function w1({basename:i,children:c,unstable_useTransitions:r,window:o}){let d=v.useRef();d.current==null&&(d.current=fp({window:o,v5Compat:!0}));let m=d.current,[p,E]=v.useState({action:m.action,location:m.location}),x=v.useCallback(y=>{r===!1?E(y):v.startTransition(()=>E(y))},[r]);return v.useLayoutEffect(()=>m.listen(x),[m,x]),v.createElement(r1,{basename:i,children:c,location:p.location,navigationType:p.action,navigator:m,unstable_useTransitions:r})}var im=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cm=v.forwardRef(function({onClick:c,discover:r="render",prefetch:o="none",relative:d,reloadDocument:m,replace:p,unstable_mask:E,state:x,target:y,to:z,preventScrollReset:_,viewTransition:H,unstable_defaultShouldRevalidate:L,...B},U){let{basename:Q,navigator:q,unstable_useTransitions:I}=v.useContext(bt),J=typeof z=="string"&&im.test(z),ve=$h(z,Q);z=ve.to;let me=Vp(z,{relative:d}),Te=kt(),P=null;if(E){let we=vi(E,[],Te.unstable_mask?Te.unstable_mask.pathname:"/",!0);Q!=="/"&&(we.pathname=we.pathname==="/"?Q:Xt([Q,we.pathname])),P=q.createHref(we)}let[Oe,Ke,Lt]=R1(o,B),xt=L1(z,{replace:p,unstable_mask:E,state:x,target:y,preventScrollReset:_,relative:d,viewTransition:H,unstable_defaultShouldRevalidate:L,unstable_useTransitions:I});function $e(we){c&&c(we),we.defaultPrevented||xt(we)}let Bt=!(ve.isExternal||m),St=v.createElement("a",{...B,...Lt,href:(Bt?P:void 0)||ve.absoluteURL||me,onClick:Bt?$e:c,ref:D1(U,Ke),target:y,"data-discover":!J&&r==="render"?"true":void 0});return Oe&&!J?v.createElement(v.Fragment,null,St,v.createElement(A1,{page:me})):St});cm.displayName="Link";var yi=v.forwardRef(function({"aria-current":c="page",caseSensitive:r=!1,className:o="",end:d=!1,style:m,to:p,viewTransition:E,children:x,...y},z){let _=Vn(p,{relative:y.relative}),H=kt(),L=v.useContext(gi),{navigator:B,basename:U}=v.useContext(bt),Q=L!=null&&Q1(_)&&E===!0,q=B.encodeLocation?B.encodeLocation(_).pathname:_.pathname,I=H.pathname,J=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;r||(I=I.toLowerCase(),J=J?J.toLowerCase():null,q=q.toLowerCase()),J&&U&&(J=ol(J,U)||J);const ve=q!=="/"&&q.endsWith("/")?q.length-1:q.length;let me=I===q||!d&&I.startsWith(q)&&I.charAt(ve)==="/",Te=J!=null&&(J===q||!d&&J.startsWith(q)&&J.charAt(q.length)==="/"),P={isActive:me,isPending:Te,isTransitioning:Q},Oe=me?c:void 0,Ke;typeof o=="function"?Ke=o(P):Ke=[o,me?"active":null,Te?"pending":null,Q?"transitioning":null].filter(Boolean).join(" ");let Lt=typeof m=="function"?m(P):m;return v.createElement(cm,{...y,"aria-current":Oe,className:Ke,ref:z,style:Lt,to:p,viewTransition:E},typeof x=="function"?x(P):x)});yi.displayName="NavLink";var H1=v.forwardRef(({discover:i="render",fetcherKey:c,navigate:r,reloadDocument:o,replace:d,state:m,method:p=fi,action:E,onSubmit:x,relative:y,preventScrollReset:z,viewTransition:_,unstable_defaultShouldRevalidate:H,...L},B)=>{let{unstable_useTransitions:U}=v.useContext(bt),Q=Y1(),q=G1(E,{relative:y}),I=p.toLowerCase()==="get"?"get":"post",J=typeof E=="string"&&im.test(E),ve=me=>{if(x&&x(me),me.defaultPrevented)return;me.preventDefault();let Te=me.nativeEvent.submitter,P=(Te==null?void 0:Te.getAttribute("formmethod"))||p,Oe=()=>Q(Te||me.currentTarget,{fetcherKey:c,method:P,navigate:r,replace:d,state:m,relative:y,preventScrollReset:z,viewTransition:_,unstable_defaultShouldRevalidate:H});U&&r!==!1?v.startTransition(()=>Oe()):Oe()};return v.createElement("form",{ref:B,method:I,action:q,onSubmit:o?x:ve,...L,"data-discover":!J&&i==="render"?"true":void 0})});H1.displayName="Form";function k1(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sm(i){let c=v.useContext(Ga);return je(c,k1(i)),c}function L1(i,{target:c,replace:r,unstable_mask:o,state:d,preventScrollReset:m,relative:p,viewTransition:E,unstable_defaultShouldRevalidate:x,unstable_useTransitions:y}={}){let z=lo(),_=kt(),H=Vn(i,{relative:p});return v.useCallback(L=>{if(p1(L,c)){L.preventDefault();let B=r!==void 0?r:Qn(_)===Qn(H),U=()=>z(i,{replace:B,unstable_mask:o,state:d,preventScrollReset:m,relative:p,viewTransition:E,unstable_defaultShouldRevalidate:x});y?v.startTransition(()=>U()):U()}},[_,z,H,r,o,d,c,i,m,p,E,x,y])}var B1=0,q1=()=>`__${String(++B1)}__`;function Y1(){let{router:i}=sm("useSubmit"),{basename:c}=v.useContext(bt),r=n1(),o=i.fetch,d=i.navigate;return v.useCallback(async(m,p={})=>{let{action:E,method:x,encType:y,formData:z,body:_}=b1(m,c);if(p.navigate===!1){let H=p.fetcherKey||q1();await o(H,r,p.action||E,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:z,body:_,formMethod:p.method||x,formEncType:p.encType||y,flushSync:p.flushSync})}else await d(p.action||E,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:z,body:_,formMethod:p.method||x,formEncType:p.encType||y,replace:p.replace,state:p.state,fromRouteId:r,flushSync:p.flushSync,viewTransition:p.viewTransition})},[o,d,c,r])}function G1(i,{relative:c}={}){let{basename:r}=v.useContext(bt),o=v.useContext(Mt);je(o,"useFormAction must be used inside a RouteContext");let[d]=o.matches.slice(-1),m={...Vn(i||".",{relative:c})},p=kt();if(i==null){m.search=p.search;let E=new URLSearchParams(m.search),x=E.getAll("index");if(x.some(z=>z==="")){E.delete("index"),x.filter(_=>_).forEach(_=>E.append("index",_));let z=E.toString();m.search=z?`?${z}`:""}}return(!i||i===".")&&d.route.index&&(m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(m.pathname=m.pathname==="/"?r:Xt([r,m.pathname])),Qn(m)}function Q1(i,{relative:c}={}){let r=v.useContext(Fh);je(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=sm("useViewTransitionState"),d=Vn(i,{relative:c});if(!r.isTransitioning)return!1;let m=ol(r.currentLocation.pathname,o)||r.currentLocation.pathname,p=ol(r.nextLocation.pathname,o)||r.nextLocation.pathname;return mi(d.pathname,p)!=null||mi(d.pathname,m)!=null}const X1="modulepreload",V1=function(i){return"/"+i},Oh={},st=function(c,r,o){let d=Promise.resolve();if(r&&r.length>0){let p=function(y){return Promise.all(y.map(z=>Promise.resolve(z).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const E=document.querySelector("meta[property=csp-nonce]"),x=(E==null?void 0:E.nonce)||(E==null?void 0:E.getAttribute("nonce"));d=p(r.map(y=>{if(y=V1(y),y in Oh)return;Oh[y]=!0;const z=y.endsWith(".css"),_=z?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${_}`))return;const H=document.createElement("link");if(H.rel=z?"stylesheet":X1,z||(H.as="script"),H.crossOrigin="",H.href=y,x&&H.setAttribute("nonce",x),document.head.appendChild(H),z)return new Promise((L,B)=>{H.addEventListener("load",L),H.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${y}`)))})}))}function m(p){const E=new Event("vite:preloadError",{cancelable:!0});if(E.payload=p,window.dispatchEvent(E),!E.defaultPrevented)throw p}return d.then(p=>{for(const E of p||[])E.status==="rejected"&&m(E.reason);return c().catch(m)})};/**
61
+ Please change the parent <Route path="${q}"> to <Route path="${q==="/"?"*":`${q}/*`}">.`)}let z=kt(),_;if(c){let q=typeof c=="string"?Ya(c):c;je(x==="/"||((Q=q.pathname)==null?void 0:Q.startsWith(x)),`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 "${x}" but pathname "${q.pathname}" was given in the \`location\` prop.`),_=q}else _=z;let H=_.pathname||"/",L=H;if(x!=="/"){let q=x.replace(/^\//,"").split("/");L="/"+H.replace(/^\//,"").split("/").slice(q.length).join("/")}let B=Zh(i,{pathname:L});Ht(y||B!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),Ht(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 "${_.pathname}${_.search}${_.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 U=t1(B&&B.map(q=>Object.assign({},q,{params:Object.assign({},p,q.params),pathname:Xt([x,o.encodeLocation?o.encodeLocation(q.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:q.pathname]),pathnameBase:q.pathnameBase==="/"?x:Xt([x,o.encodeLocation?o.encodeLocation(q.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:q.pathnameBase])})),d,r);return c&&U?v.createElement(Xn.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,..._},navigationType:"POP"}},U):U}function Fp(){let i=i1(),c=Hp(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),r=i instanceof Error?i.stack:null,o="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:o},m={padding:"2px 4px",backgroundColor:o},p=null;return console.error("Error handled by React Router default ErrorBoundary:",i),p=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:m},"ErrorBoundary")," or"," ",v.createElement("code",{style:m},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},c),r?v.createElement("pre",{style:d},r):null,p)}var Ip=v.createElement(Fp,null),am=class extends v.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,c){return c.location!==i.location||c.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:c.error,location:c.location,revalidation:i.revalidation||c.revalidation}}componentDidCatch(i,c){this.props.onError?this.props.onError(i,c):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=Vp(i.digest);r&&(i=r)}let c=i!==void 0?v.createElement(Mt.Provider,{value:this.props.routeContext},v.createElement(to.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?v.createElement(Pp,{error:i},c):c}};am.contextType=Bp;var Vs=new WeakMap;function Pp({children:i,error:c}){let{basename:r}=v.useContext(bt);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let o=Xp(c.digest);if(o){let d=Vs.get(c);if(d)throw d;let m=Wh(o.location,r);if($h&&!Vs.get(c))if(m.isExternal||o.reloadDocument)window.location.href=m.absoluteURL||m.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(m.to,{replace:o.replace}));throw Vs.set(c,p),p}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${m.absoluteURL||m.to}`})}}return i}function e1({routeContext:i,match:c,children:r}){let o=v.useContext(Ga);return o&&o.static&&o.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=c.route.id),v.createElement(Mt.Provider,{value:i},r)}function t1(i,c=[],r){let o=r==null?void 0:r.state;if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(c.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let d=i,m=o==null?void 0:o.errors;if(m!=null){let z=d.findIndex(_=>_.route.id&&(m==null?void 0:m[_.route.id])!==void 0);je(z>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),d=d.slice(0,Math.min(d.length,z+1))}let p=!1,E=-1;if(r&&o){p=o.renderFallback;for(let z=0;z<d.length;z++){let _=d[z];if((_.route.HydrateFallback||_.route.hydrateFallbackElement)&&(E=z),_.route.id){let{loaderData:H,errors:L}=o,B=_.route.loader&&!H.hasOwnProperty(_.route.id)&&(!L||L[_.route.id]===void 0);if(_.route.lazy||B){r.isStatic&&(p=!0),E>=0?d=d.slice(0,E+1):d=[d[0]];break}}}}let x=r==null?void 0:r.onError,y=o&&x?(z,_)=>{var H,L;x(z,{location:o.location,params:((L=(H=o.matches)==null?void 0:H[0])==null?void 0:L.params)??{},unstable_pattern:kp(o.matches),errorInfo:_})}:void 0;return d.reduceRight((z,_,H)=>{let L,B=!1,U=null,Q=null;o&&(L=m&&_.route.id?m[_.route.id]:void 0,U=_.route.errorElement||Ip,p&&(E<0&&H===0?(nm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,Q=null):E===H&&(B=!0,Q=_.route.hydrateFallbackElement||null)));let q=c.concat(d.slice(0,H+1)),I=()=>{let J;return L?J=U:B?J=Q:_.route.Component?J=v.createElement(_.route.Component,null):_.route.element?J=_.route.element:J=z,v.createElement(e1,{match:_,routeContext:{outlet:z,matches:q,isDataRoute:o!=null},children:J})};return o&&(_.route.ErrorBoundary||_.route.errorElement||H===0)?v.createElement(am,{location:o.location,revalidation:o.revalidation,component:U,error:L,children:I(),routeContext:{outlet:null,matches:q,isDataRoute:!0},onError:y}):I()},null)}function ao(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function l1(i){let c=v.useContext(Ga);return je(c,ao(i)),c}function a1(i){let c=v.useContext(gi);return je(c,ao(i)),c}function n1(i){let c=v.useContext(Mt);return je(c,ao(i)),c}function no(i){let c=n1(i),r=c.matches[c.matches.length-1];return je(r.route.id,`${i} can only be used on routes that contain a unique "id"`),r.route.id}function u1(){return no("useRouteId")}function i1(){var o;let i=v.useContext(to),c=a1("useRouteError"),r=no("useRouteError");return i!==void 0?i:(o=c.errors)==null?void 0:o[r]}function c1(){let{router:i}=l1("useNavigate"),c=no("useNavigate"),r=v.useRef(!1);return tm(()=>{r.current=!0}),v.useCallback(async(d,m={})=>{Ht(r.current,em),r.current&&(typeof d=="number"?await i.navigate(d):await i.navigate(d,{fromRouteId:c,...m}))},[i,c])}var Ah={};function nm(i,c,r){!c&&!Ah[i]&&(Ah[i]=!0,Ht(!1,r))}v.memo(s1);function s1({routes:i,future:c,state:r,isStatic:o,onError:d}){return lm(i,void 0,{state:r,isStatic:o,onError:d})}function o1({to:i,replace:c,state:r,relative:o}){je(Qa(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=v.useContext(bt);Ht(!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:m}=v.useContext(Mt),{pathname:p}=kt(),E=lo(),x=vi(i,eo(m),p,o==="path"),y=JSON.stringify(x);return v.useEffect(()=>{E(JSON.parse(y),{replace:c,state:r,relative:o})},[E,y,o,c,r]),null}function r1(i){return $p(i.context)}function Fe(i){je(!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 f1({basename:i="/",children:c=null,location:r,navigationType:o="POP",navigator:d,static:m=!1,unstable_useTransitions:p}){je(!Qa(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let E=i.replace(/^\/*/,"/"),x=v.useMemo(()=>({basename:E,navigator:d,static:m,unstable_useTransitions:p,future:{}}),[E,d,m,p]);typeof r=="string"&&(r=Ya(r));let{pathname:y="/",search:z="",hash:_="",state:H=null,key:L="default",unstable_mask:B}=r,U=v.useMemo(()=>{let Q=ol(y,E);return Q==null?null:{location:{pathname:Q,search:z,hash:_,state:H,key:L,unstable_mask:B},navigationType:o}},[E,y,z,_,H,L,o,B]);return Ht(U!=null,`<Router basename="${E}"> is not able to match the URL "${y}${z}${_}" because it does not start with the basename, so the <Router> won't render anything.`),U==null?null:v.createElement(bt.Provider,{value:x},v.createElement(Xn.Provider,{children:c,value:U}))}function d1({children:i,location:c}){return Wp(Is(i),c)}function Is(i,c=[]){let r=[];return v.Children.forEach(i,(o,d)=>{if(!v.isValidElement(o))return;let m=[...c,d];if(o.type===v.Fragment){r.push.apply(r,Is(o.props.children,m));return}je(o.type===Fe,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),je(!o.props.index||!o.props.children,"An index route cannot have child routes.");let p={id:o.props.id||m.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(p.children=Is(o.props.children,m)),r.push(p)}),r}var fi="get",di="application/x-www-form-urlencoded";function bi(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function h1(i){return bi(i)&&i.tagName.toLowerCase()==="button"}function m1(i){return bi(i)&&i.tagName.toLowerCase()==="form"}function y1(i){return bi(i)&&i.tagName.toLowerCase()==="input"}function p1(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function v1(i,c){return i.button===0&&(!c||c==="_self")&&!p1(i)}var ri=null;function g1(){if(ri===null)try{new FormData(document.createElement("form"),0),ri=!1}catch{ri=!0}return ri}var b1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zs(i){return i!=null&&!b1.has(i)?(Ht(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${di}"`),null):i}function x1(i,c){let r,o,d,m,p;if(m1(i)){let E=i.getAttribute("action");o=E?ol(E,c):null,r=i.getAttribute("method")||fi,d=Zs(i.getAttribute("enctype"))||di,m=new FormData(i)}else if(h1(i)||y1(i)&&(i.type==="submit"||i.type==="image")){let E=i.form;if(E==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let x=i.getAttribute("formaction")||E.getAttribute("action");if(o=x?ol(x,c):null,r=i.getAttribute("formmethod")||E.getAttribute("method")||fi,d=Zs(i.getAttribute("formenctype"))||Zs(E.getAttribute("enctype"))||di,m=new FormData(E,i),!g1()){let{name:y,type:z,value:_}=i;if(z==="image"){let H=y?`${y}.`:"";m.append(`${H}x`,"0"),m.append(`${H}y`,"0")}else y&&m.append(y,_)}}else{if(bi(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=fi,o=null,d=di,p=i}return m&&d==="text/plain"&&(p=m,m=void 0),{action:o,method:r.toLowerCase(),encType:d,formData:m,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function uo(i,c){if(i===!1||i===null||typeof i>"u")throw new Error(c)}function S1(i,c,r,o){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}_.${o}`:d.pathname=`${d.pathname}.${o}`:d.pathname==="/"?d.pathname=`_root.${o}`:c&&ol(d.pathname,c)==="/"?d.pathname=`${c.replace(/\/$/,"")}/_root.${o}`:d.pathname=`${d.pathname.replace(/\/$/,"")}.${o}`,d}async function E1(i,c){if(i.id in c)return c[i.id];try{let r=await import(i.module);return c[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 _1(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 T1(i,c,r){let o=await Promise.all(i.map(async d=>{let m=c.routes[d.route.id];if(m){let p=await E1(m,r);return p.links?p.links():[]}return[]}));return j1(o.flat(1).filter(_1).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Oh(i,c,r,o,d,m){let p=(x,y)=>r[y]?x.route.id!==r[y].route.id:!0,E=(x,y)=>{var z;return r[y].pathname!==x.pathname||((z=r[y].route.path)==null?void 0:z.endsWith("*"))&&r[y].params["*"]!==x.params["*"]};return m==="assets"?c.filter((x,y)=>p(x,y)||E(x,y)):m==="data"?c.filter((x,y)=>{var _;let z=o.routes[x.route.id];if(!z||!z.hasLoader)return!1;if(p(x,y)||E(x,y))return!0;if(x.route.shouldRevalidate){let H=x.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((_=r[0])==null?void 0:_.params)||{},nextUrl:new URL(i,window.origin),nextParams:x.params,defaultShouldRevalidate:!0});if(typeof H=="boolean")return H}return!0}):[]}function z1(i,c,{includeHydrateFallback:r}={}){return N1(i.map(o=>{let d=c.routes[o.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 N1(i){return[...new Set(i)]}function C1(i){let c={},r=Object.keys(i).sort();for(let o of r)c[o]=i[o];return c}function j1(i,c){let r=new Set;return new Set(c),i.reduce((o,d)=>{let m=JSON.stringify(C1(d));return r.has(m)||(r.add(m),o.push({key:m,link:d})),o},[])}function um(){let i=v.useContext(Ga);return uo(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function R1(){let i=v.useContext(gi);return uo(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var io=v.createContext(void 0);io.displayName="FrameworkContext";function im(){let i=v.useContext(io);return uo(i,"You must render this element inside a <HydratedRouter> element"),i}function A1(i,c){let r=v.useContext(io),[o,d]=v.useState(!1),[m,p]=v.useState(!1),{onFocus:E,onBlur:x,onMouseEnter:y,onMouseLeave:z,onTouchStart:_}=c,H=v.useRef(null);v.useEffect(()=>{if(i==="render"&&p(!0),i==="viewport"){let U=q=>{q.forEach(I=>{p(I.isIntersecting)})},Q=new IntersectionObserver(U,{threshold:.5});return H.current&&Q.observe(H.current),()=>{Q.disconnect()}}},[i]),v.useEffect(()=>{if(o){let U=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(U)}}},[o]);let L=()=>{d(!0)},B=()=>{d(!1),p(!1)};return r?i!=="intent"?[m,H,{}]:[m,H,{onFocus:Yn(E,L),onBlur:Yn(x,B),onMouseEnter:Yn(y,L),onMouseLeave:Yn(z,B),onTouchStart:Yn(_,L)}]:[!1,H,{}]}function Yn(i,c){return r=>{i&&i(r),r.defaultPrevented||c(r)}}function O1({page:i,...c}){let{router:r}=um(),o=v.useMemo(()=>Zh(r.routes,i,r.basename),[r.routes,i,r.basename]);return o?v.createElement(D1,{page:i,matches:o,...c}):null}function M1(i){let{manifest:c,routeModules:r}=im(),[o,d]=v.useState([]);return v.useEffect(()=>{let m=!1;return T1(i,c,r).then(p=>{m||d(p)}),()=>{m=!0}},[i,c,r]),o}function D1({page:i,matches:c,...r}){let o=kt(),{future:d,manifest:m,routeModules:p}=im(),{basename:E}=um(),{loaderData:x,matches:y}=R1(),z=v.useMemo(()=>Oh(i,c,y,m,o,"data"),[i,c,y,m,o]),_=v.useMemo(()=>Oh(i,c,y,m,o,"assets"),[i,c,y,m,o]),H=v.useMemo(()=>{if(i===o.pathname+o.search+o.hash)return[];let U=new Set,Q=!1;if(c.forEach(I=>{var ve;let J=m.routes[I.route.id];!J||!J.hasLoader||(!z.some(me=>me.route.id===I.route.id)&&I.route.id in x&&((ve=p[I.route.id])!=null&&ve.shouldRevalidate)||J.hasClientLoader?Q=!0:U.add(I.route.id))}),U.size===0)return[];let q=S1(i,E,d.unstable_trailingSlashAwareDataRequests,"data");return Q&&U.size>0&&q.searchParams.set("_routes",c.filter(I=>U.has(I.route.id)).map(I=>I.route.id).join(",")),[q.pathname+q.search]},[E,d.unstable_trailingSlashAwareDataRequests,x,o,m,z,c,i,p]),L=v.useMemo(()=>z1(_,m),[_,m]),B=M1(_);return v.createElement(v.Fragment,null,H.map(U=>v.createElement("link",{key:U,rel:"prefetch",as:"fetch",href:U,...r})),L.map(U=>v.createElement("link",{key:U,rel:"modulepreload",href:U,...r})),B.map(({key:U,link:Q})=>v.createElement("link",{key:U,nonce:r.nonce,...Q,crossOrigin:Q.crossOrigin??r.crossOrigin})))}function U1(...i){return c=>{i.forEach(r=>{typeof r=="function"?r(c):r!=null&&(r.current=c)})}}var w1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{w1&&(window.__reactRouterVersion="7.13.1")}catch{}function H1({basename:i,children:c,unstable_useTransitions:r,window:o}){let d=v.useRef();d.current==null&&(d.current=dp({window:o,v5Compat:!0}));let m=d.current,[p,E]=v.useState({action:m.action,location:m.location}),x=v.useCallback(y=>{r===!1?E(y):v.startTransition(()=>E(y))},[r]);return v.useLayoutEffect(()=>m.listen(x),[m,x]),v.createElement(f1,{basename:i,children:c,location:p.location,navigationType:p.action,navigator:m,unstable_useTransitions:r})}var cm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sm=v.forwardRef(function({onClick:c,discover:r="render",prefetch:o="none",relative:d,reloadDocument:m,replace:p,unstable_mask:E,state:x,target:y,to:z,preventScrollReset:_,viewTransition:H,unstable_defaultShouldRevalidate:L,...B},U){let{basename:Q,navigator:q,unstable_useTransitions:I}=v.useContext(bt),J=typeof z=="string"&&cm.test(z),ve=Wh(z,Q);z=ve.to;let me=Zp(z,{relative:d}),Te=kt(),P=null;if(E){let we=vi(E,[],Te.unstable_mask?Te.unstable_mask.pathname:"/",!0);Q!=="/"&&(we.pathname=we.pathname==="/"?Q:Xt([Q,we.pathname])),P=q.createHref(we)}let[Oe,Ke,Lt]=A1(o,B),xt=B1(z,{replace:p,unstable_mask:E,state:x,target:y,preventScrollReset:_,relative:d,viewTransition:H,unstable_defaultShouldRevalidate:L,unstable_useTransitions:I});function $e(we){c&&c(we),we.defaultPrevented||xt(we)}let Bt=!(ve.isExternal||m),St=v.createElement("a",{...B,...Lt,href:(Bt?P:void 0)||ve.absoluteURL||me,onClick:Bt?$e:c,ref:U1(U,Ke),target:y,"data-discover":!J&&r==="render"?"true":void 0});return Oe&&!J?v.createElement(v.Fragment,null,St,v.createElement(O1,{page:me})):St});sm.displayName="Link";var yi=v.forwardRef(function({"aria-current":c="page",caseSensitive:r=!1,className:o="",end:d=!1,style:m,to:p,viewTransition:E,children:x,...y},z){let _=Vn(p,{relative:y.relative}),H=kt(),L=v.useContext(gi),{navigator:B,basename:U}=v.useContext(bt),Q=L!=null&&X1(_)&&E===!0,q=B.encodeLocation?B.encodeLocation(_).pathname:_.pathname,I=H.pathname,J=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;r||(I=I.toLowerCase(),J=J?J.toLowerCase():null,q=q.toLowerCase()),J&&U&&(J=ol(J,U)||J);const ve=q!=="/"&&q.endsWith("/")?q.length-1:q.length;let me=I===q||!d&&I.startsWith(q)&&I.charAt(ve)==="/",Te=J!=null&&(J===q||!d&&J.startsWith(q)&&J.charAt(q.length)==="/"),P={isActive:me,isPending:Te,isTransitioning:Q},Oe=me?c:void 0,Ke;typeof o=="function"?Ke=o(P):Ke=[o,me?"active":null,Te?"pending":null,Q?"transitioning":null].filter(Boolean).join(" ");let Lt=typeof m=="function"?m(P):m;return v.createElement(sm,{...y,"aria-current":Oe,className:Ke,ref:z,style:Lt,to:p,viewTransition:E},typeof x=="function"?x(P):x)});yi.displayName="NavLink";var k1=v.forwardRef(({discover:i="render",fetcherKey:c,navigate:r,reloadDocument:o,replace:d,state:m,method:p=fi,action:E,onSubmit:x,relative:y,preventScrollReset:z,viewTransition:_,unstable_defaultShouldRevalidate:H,...L},B)=>{let{unstable_useTransitions:U}=v.useContext(bt),Q=G1(),q=Q1(E,{relative:y}),I=p.toLowerCase()==="get"?"get":"post",J=typeof E=="string"&&cm.test(E),ve=me=>{if(x&&x(me),me.defaultPrevented)return;me.preventDefault();let Te=me.nativeEvent.submitter,P=(Te==null?void 0:Te.getAttribute("formmethod"))||p,Oe=()=>Q(Te||me.currentTarget,{fetcherKey:c,method:P,navigate:r,replace:d,state:m,relative:y,preventScrollReset:z,viewTransition:_,unstable_defaultShouldRevalidate:H});U&&r!==!1?v.startTransition(()=>Oe()):Oe()};return v.createElement("form",{ref:B,method:I,action:q,onSubmit:o?x:ve,...L,"data-discover":!J&&i==="render"?"true":void 0})});k1.displayName="Form";function L1(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function om(i){let c=v.useContext(Ga);return je(c,L1(i)),c}function B1(i,{target:c,replace:r,unstable_mask:o,state:d,preventScrollReset:m,relative:p,viewTransition:E,unstable_defaultShouldRevalidate:x,unstable_useTransitions:y}={}){let z=lo(),_=kt(),H=Vn(i,{relative:p});return v.useCallback(L=>{if(v1(L,c)){L.preventDefault();let B=r!==void 0?r:Qn(_)===Qn(H),U=()=>z(i,{replace:B,unstable_mask:o,state:d,preventScrollReset:m,relative:p,viewTransition:E,unstable_defaultShouldRevalidate:x});y?v.startTransition(()=>U()):U()}},[_,z,H,r,o,d,c,i,m,p,E,x,y])}var q1=0,Y1=()=>`__${String(++q1)}__`;function G1(){let{router:i}=om("useSubmit"),{basename:c}=v.useContext(bt),r=u1(),o=i.fetch,d=i.navigate;return v.useCallback(async(m,p={})=>{let{action:E,method:x,encType:y,formData:z,body:_}=x1(m,c);if(p.navigate===!1){let H=p.fetcherKey||Y1();await o(H,r,p.action||E,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:z,body:_,formMethod:p.method||x,formEncType:p.encType||y,flushSync:p.flushSync})}else await d(p.action||E,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:z,body:_,formMethod:p.method||x,formEncType:p.encType||y,replace:p.replace,state:p.state,fromRouteId:r,flushSync:p.flushSync,viewTransition:p.viewTransition})},[o,d,c,r])}function Q1(i,{relative:c}={}){let{basename:r}=v.useContext(bt),o=v.useContext(Mt);je(o,"useFormAction must be used inside a RouteContext");let[d]=o.matches.slice(-1),m={...Vn(i||".",{relative:c})},p=kt();if(i==null){m.search=p.search;let E=new URLSearchParams(m.search),x=E.getAll("index");if(x.some(z=>z==="")){E.delete("index"),x.filter(_=>_).forEach(_=>E.append("index",_));let z=E.toString();m.search=z?`?${z}`:""}}return(!i||i===".")&&d.route.index&&(m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(m.pathname=m.pathname==="/"?r:Xt([r,m.pathname])),Qn(m)}function X1(i,{relative:c}={}){let r=v.useContext(Ih);je(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=om("useViewTransitionState"),d=Vn(i,{relative:c});if(!r.isTransitioning)return!1;let m=ol(r.currentLocation.pathname,o)||r.currentLocation.pathname,p=ol(r.nextLocation.pathname,o)||r.nextLocation.pathname;return mi(d.pathname,p)!=null||mi(d.pathname,m)!=null}const V1="modulepreload",Z1=function(i){return"/lab/"+i},Mh={},st=function(c,r,o){let d=Promise.resolve();if(r&&r.length>0){let p=function(y){return Promise.all(y.map(z=>Promise.resolve(z).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const E=document.querySelector("meta[property=csp-nonce]"),x=(E==null?void 0:E.nonce)||(E==null?void 0:E.getAttribute("nonce"));d=p(r.map(y=>{if(y=Z1(y),y in Mh)return;Mh[y]=!0;const z=y.endsWith(".css"),_=z?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${_}`))return;const H=document.createElement("link");if(H.rel=z?"stylesheet":V1,z||(H.as="script"),H.crossOrigin="",H.href=y,x&&H.setAttribute("nonce",x),document.head.appendChild(H),z)return new Promise((L,B)=>{H.addEventListener("load",L),H.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${y}`)))})}))}function m(p){const E=new Event("vite:preloadError",{cancelable:!0});if(E.payload=p,window.dispatchEvent(E),!E.defaultPrevented)throw p}return d.then(p=>{for(const E of p||[])E.status==="rejected"&&m(E.reason);return c().catch(m)})};/**
62
62
  * @license lucide-react v0.577.0 - ISC
63
63
  *
64
64
  * This source code is licensed under the ISC license.
65
65
  * See the LICENSE file in the root directory of this source tree.
66
- */const om=(...i)=>i.filter((c,r,o)=>!!c&&c.trim()!==""&&o.indexOf(c)===r).join(" ").trim();/**
66
+ */const rm=(...i)=>i.filter((c,r,o)=>!!c&&c.trim()!==""&&o.indexOf(c)===r).join(" ").trim();/**
67
67
  * @license lucide-react v0.577.0 - ISC
68
68
  *
69
69
  * This source code is licensed under the ISC license.
70
70
  * See the LICENSE file in the root directory of this source tree.
71
- */const Z1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
71
+ */const J1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
72
72
  * @license lucide-react v0.577.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
- */const J1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,r,o)=>o?o.toUpperCase():r.toLowerCase());/**
76
+ */const K1=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(c,r,o)=>o?o.toUpperCase():r.toLowerCase());/**
77
77
  * @license lucide-react v0.577.0 - ISC
78
78
  *
79
79
  * This source code is licensed under the ISC license.
80
80
  * See the LICENSE file in the root directory of this source tree.
81
- */const Mh=i=>{const c=J1(i);return c.charAt(0).toUpperCase()+c.slice(1)};/**
81
+ */const Dh=i=>{const c=K1(i);return c.charAt(0).toUpperCase()+c.slice(1)};/**
82
82
  * @license lucide-react v0.577.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */var K1={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"};/**
86
+ */var $1={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
87
  * @license lucide-react v0.577.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */const $1=i=>{for(const c in i)if(c.startsWith("aria-")||c==="role"||c==="title")return!0;return!1};/**
91
+ */const W1=i=>{for(const c in i)if(c.startsWith("aria-")||c==="role"||c==="title")return!0;return!1};/**
92
92
  * @license lucide-react v0.577.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const W1=v.forwardRef(({color:i="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:d="",children:m,iconNode:p,...E},x)=>v.createElement("svg",{ref:x,...K1,width:c,height:c,stroke:i,strokeWidth:o?Number(r)*24/Number(c):r,className:om("lucide",d),...!m&&!$1(E)&&{"aria-hidden":"true"},...E},[...p.map(([y,z])=>v.createElement(y,z)),...Array.isArray(m)?m:[m]]));/**
96
+ */const F1=v.forwardRef(({color:i="currentColor",size:c=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:d="",children:m,iconNode:p,...E},x)=>v.createElement("svg",{ref:x,...$1,width:c,height:c,stroke:i,strokeWidth:o?Number(r)*24/Number(c):r,className:rm("lucide",d),...!m&&!W1(E)&&{"aria-hidden":"true"},...E},[...p.map(([y,z])=>v.createElement(y,z)),...Array.isArray(m)?m:[m]]));/**
97
97
  * @license lucide-react v0.577.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const W=(i,c)=>{const r=v.forwardRef(({className:o,...d},m)=>v.createElement(W1,{ref:m,iconNode:c,className:om(`lucide-${Z1(Mh(i))}`,`lucide-${i}`,o),...d}));return r.displayName=Mh(i),r};/**
101
+ */const W=(i,c)=>{const r=v.forwardRef(({className:o,...d},m)=>v.createElement(F1,{ref:m,iconNode:c,className:rm(`lucide-${J1(Dh(i))}`,`lucide-${i}`,o),...d}));return r.displayName=Dh(i),r};/**
102
102
  * @license lucide-react v0.577.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const F1=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],rm=W("arrow-left",F1);/**
106
+ */const I1=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],fm=W("arrow-left",I1);/**
107
107
  * @license lucide-react v0.577.0 - ISC
108
108
  *
109
109
  * This source code is licensed under the ISC license.
110
110
  * See the LICENSE file in the root directory of this source tree.
111
- */const I1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],fm=W("arrow-right",I1);/**
111
+ */const P1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],dm=W("arrow-right",P1);/**
112
112
  * @license lucide-react v0.577.0 - ISC
113
113
  *
114
114
  * This source code is licensed under the ISC license.
115
115
  * See the LICENSE file in the root directory of this source tree.
116
- */const P1=[["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"}]],dm=W("book-open",P1);/**
116
+ */const ev=[["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"}]],hm=W("book-open",ev);/**
117
117
  * @license lucide-react v0.577.0 - ISC
118
118
  *
119
119
  * This source code is licensed under the ISC license.
120
120
  * See the LICENSE file in the root directory of this source tree.
121
- */const ev=[["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"}]],tv=W("chart-column",ev);/**
121
+ */const tv=[["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"}]],lv=W("chart-column",tv);/**
122
122
  * @license lucide-react v0.577.0 - ISC
123
123
  *
124
124
  * This source code is licensed under the ISC license.
125
125
  * See the LICENSE file in the root directory of this source tree.
126
- */const lv=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],av=W("chevron-down",lv);/**
126
+ */const av=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],nv=W("chevron-down",av);/**
127
127
  * @license lucide-react v0.577.0 - ISC
128
128
  *
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
- */const nv=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Dh=W("chevron-right",nv);/**
131
+ */const uv=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Uh=W("chevron-right",uv);/**
132
132
  * @license lucide-react v0.577.0 - ISC
133
133
  *
134
134
  * This source code is licensed under the ISC license.
135
135
  * See the LICENSE file in the root directory of this source tree.
136
- */const uv=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],hm=W("chevron-up",uv);/**
136
+ */const iv=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],mm=W("chevron-up",iv);/**
137
137
  * @license lucide-react v0.577.0 - ISC
138
138
  *
139
139
  * This source code is licensed under the ISC license.
140
140
  * See the LICENSE file in the root directory of this source tree.
141
- */const iv=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],cv=W("circle-check-big",iv);/**
141
+ */const cv=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],sv=W("circle-check-big",cv);/**
142
142
  * @license lucide-react v0.577.0 - ISC
143
143
  *
144
144
  * This source code is licensed under the ISC license.
145
145
  * See the LICENSE file in the root directory of this source tree.
146
- */const sv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ov=W("circle-check",sv);/**
146
+ */const ov=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],rv=W("circle-check",ov);/**
147
147
  * @license lucide-react v0.577.0 - ISC
148
148
  *
149
149
  * This source code is licensed under the ISC license.
150
150
  * See the LICENSE file in the root directory of this source tree.
151
- */const rv=[["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"}]],mm=W("circle-question-mark",rv);/**
151
+ */const fv=[["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"}]],ym=W("circle-question-mark",fv);/**
152
152
  * @license lucide-react v0.577.0 - ISC
153
153
  *
154
154
  * This source code is licensed under the ISC license.
155
155
  * See the LICENSE file in the root directory of this source tree.
156
- */const fv=[["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"}]],dv=W("circle-x",fv);/**
156
+ */const dv=[["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"}]],hv=W("circle-x",dv);/**
157
157
  * @license lucide-react v0.577.0 - ISC
158
158
  *
159
159
  * This source code is licensed under the ISC license.
160
160
  * See the LICENSE file in the root directory of this source tree.
161
- */const hv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],mv=W("circle",hv);/**
161
+ */const mv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],yv=W("circle",mv);/**
162
162
  * @license lucide-react v0.577.0 - ISC
163
163
  *
164
164
  * This source code is licensed under the ISC license.
165
165
  * See the LICENSE file in the root directory of this source tree.
166
- */const yv=[["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"}]],pv=W("cpu",yv);/**
166
+ */const pv=[["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"}]],vv=W("cpu",pv);/**
167
167
  * @license lucide-react v0.577.0 - ISC
168
168
  *
169
169
  * This source code is licensed under the ISC license.
170
170
  * See the LICENSE file in the root directory of this source tree.
171
- */const vv=[["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"}]],gv=W("external-link",vv);/**
171
+ */const gv=[["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"}]],bv=W("external-link",gv);/**
172
172
  * @license lucide-react v0.577.0 - ISC
173
173
  *
174
174
  * This source code is licensed under the ISC license.
175
175
  * See the LICENSE file in the root directory of this source tree.
176
- */const bv=[["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"}]],ym=W("eye",bv);/**
176
+ */const xv=[["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"}]],pm=W("eye",xv);/**
177
177
  * @license lucide-react v0.577.0 - ISC
178
178
  *
179
179
  * This source code is licensed under the ISC license.
180
180
  * See the LICENSE file in the root directory of this source tree.
181
- */const xv=[["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"}]],pm=W("file-text",xv);/**
181
+ */const Sv=[["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"}]],vm=W("file-text",Sv);/**
182
182
  * @license lucide-react v0.577.0 - ISC
183
183
  *
184
184
  * This source code is licensed under the ISC license.
185
185
  * See the LICENSE file in the root directory of this source tree.
186
- */const Sv=[["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"}]],Ev=W("folder-kanban",Sv);/**
186
+ */const Ev=[["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"}]],_v=W("folder-kanban",Ev);/**
187
187
  * @license lucide-react v0.577.0 - ISC
188
188
  *
189
189
  * This source code is licensed under the ISC license.
190
190
  * See the LICENSE file in the root directory of this source tree.
191
- */const _v=[["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"}]],Tv=W("gift",_v);/**
191
+ */const Tv=[["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"}]],zv=W("gift",Tv);/**
192
192
  * @license lucide-react v0.577.0 - ISC
193
193
  *
194
194
  * This source code is licensed under the ISC license.
195
195
  * See the LICENSE file in the root directory of this source tree.
196
- */const zv=[["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"}]],Nv=W("git-branch",zv);/**
196
+ */const Nv=[["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"}]],Cv=W("git-branch",Nv);/**
197
197
  * @license lucide-react v0.577.0 - ISC
198
198
  *
199
199
  * This source code is licensed under the ISC license.
200
200
  * See the LICENSE file in the root directory of this source tree.
201
- */const Cv=[["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"}]],jv=W("git-compare",Cv);/**
201
+ */const jv=[["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"}]],Rv=W("git-compare",jv);/**
202
202
  * @license lucide-react v0.577.0 - ISC
203
203
  *
204
204
  * This source code is licensed under the ISC license.
205
205
  * See the LICENSE file in the root directory of this source tree.
206
- */const Rv=[["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"}]],Av=W("house",Rv);/**
206
+ */const Av=[["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"}]],Ov=W("house",Av);/**
207
207
  * @license lucide-react v0.577.0 - ISC
208
208
  *
209
209
  * This source code is licensed under the ISC license.
210
210
  * See the LICENSE file in the root directory of this source tree.
211
- */const Ov=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Mv=W("info",Ov);/**
211
+ */const Mv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Dv=W("info",Mv);/**
212
212
  * @license lucide-react v0.577.0 - ISC
213
213
  *
214
214
  * This source code is licensed under the ISC license.
215
215
  * See the LICENSE file in the root directory of this source tree.
216
- */const Dv=[["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"}]],vm=W("keyboard",Dv);/**
216
+ */const Uv=[["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"}]],gm=W("keyboard",Uv);/**
217
217
  * @license lucide-react v0.577.0 - ISC
218
218
  *
219
219
  * This source code is licensed under the ISC license.
220
220
  * See the LICENSE file in the root directory of this source tree.
221
- */const Uv=[["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"}]],co=W("layout-template",Uv);/**
221
+ */const wv=[["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"}]],co=W("layout-template",wv);/**
222
222
  * @license lucide-react v0.577.0 - ISC
223
223
  *
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
- */const wv=[["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"}]],Hv=W("list-checks",wv);/**
226
+ */const Hv=[["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"}]],kv=W("list-checks",Hv);/**
227
227
  * @license lucide-react v0.577.0 - ISC
228
228
  *
229
229
  * This source code is licensed under the ISC license.
230
230
  * See the LICENSE file in the root directory of this source tree.
231
- */const kv=[["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"}]],Lv=W("log-out",kv);/**
231
+ */const Lv=[["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"}]],Bv=W("log-out",Lv);/**
232
232
  * @license lucide-react v0.577.0 - ISC
233
233
  *
234
234
  * This source code is licensed under the ISC license.
235
235
  * See the LICENSE file in the root directory of this source tree.
236
- */const Bv=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],qv=W("menu",Bv);/**
236
+ */const qv=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Yv=W("menu",qv);/**
237
237
  * @license lucide-react v0.577.0 - ISC
238
238
  *
239
239
  * This source code is licensed under the ISC license.
240
240
  * See the LICENSE file in the root directory of this source tree.
241
- */const Yv=[["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"}]],so=W("message-square",Yv);/**
241
+ */const Gv=[["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"}]],so=W("message-square",Gv);/**
242
242
  * @license lucide-react v0.577.0 - ISC
243
243
  *
244
244
  * This source code is licensed under the ISC license.
245
245
  * See the LICENSE file in the root directory of this source tree.
246
- */const Gv=[["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"}]],Qv=W("monitor",Gv);/**
246
+ */const Qv=[["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"}]],Xv=W("monitor",Qv);/**
247
247
  * @license lucide-react v0.577.0 - ISC
248
248
  *
249
249
  * This source code is licensed under the ISC license.
250
250
  * See the LICENSE file in the root directory of this source tree.
251
- */const Xv=[["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"}]],Vv=W("moon",Xv);/**
251
+ */const Vv=[["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"}]],Zv=W("moon",Vv);/**
252
252
  * @license lucide-react v0.577.0 - ISC
253
253
  *
254
254
  * This source code is licensed under the ISC license.
255
255
  * See the LICENSE file in the root directory of this source tree.
256
- */const Zv=[["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"}]],Jv=W("palette",Zv);/**
256
+ */const Jv=[["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"}]],Kv=W("palette",Jv);/**
257
257
  * @license lucide-react v0.577.0 - ISC
258
258
  *
259
259
  * This source code is licensed under the ISC license.
260
260
  * See the LICENSE file in the root directory of this source tree.
261
- */const Kv=[["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"}]],$v=W("panel-left-close",Kv);/**
261
+ */const $v=[["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"}]],Wv=W("panel-left-close",$v);/**
262
262
  * @license lucide-react v0.577.0 - ISC
263
263
  *
264
264
  * This source code is licensed under the ISC license.
265
265
  * See the LICENSE file in the root directory of this source tree.
266
- */const Wv=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Fv=W("panel-left",Wv);/**
266
+ */const Fv=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Iv=W("panel-left",Fv);/**
267
267
  * @license lucide-react v0.577.0 - ISC
268
268
  *
269
269
  * This source code is licensed under the ISC license.
270
270
  * See the LICENSE file in the root directory of this source tree.
271
- */const Iv=[["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"}]],gm=W("play",Iv);/**
271
+ */const Pv=[["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"}]],bm=W("play",Pv);/**
272
272
  * @license lucide-react v0.577.0 - ISC
273
273
  *
274
274
  * This source code is licensed under the ISC license.
275
275
  * See the LICENSE file in the root directory of this source tree.
276
- */const Pv=[["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"}]],oo=W("rocket",Pv);/**
276
+ */const eg=[["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"}]],oo=W("rocket",eg);/**
277
277
  * @license lucide-react v0.577.0 - ISC
278
278
  *
279
279
  * This source code is licensed under the ISC license.
280
280
  * See the LICENSE file in the root directory of this source tree.
281
- */const eg=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],tg=W("search",eg);/**
281
+ */const tg=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],lg=W("search",tg);/**
282
282
  * @license lucide-react v0.577.0 - ISC
283
283
  *
284
284
  * This source code is licensed under the ISC license.
285
285
  * See the LICENSE file in the root directory of this source tree.
286
- */const lg=[["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"}]],bm=W("settings-2",lg);/**
286
+ */const ag=[["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"}]],xm=W("settings-2",ag);/**
287
287
  * @license lucide-react v0.577.0 - ISC
288
288
  *
289
289
  * This source code is licensed under the ISC license.
290
290
  * See the LICENSE file in the root directory of this source tree.
291
- */const ag=[["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"}]],ng=W("shield-check",ag);/**
291
+ */const ng=[["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"}]],ug=W("shield-check",ng);/**
292
292
  * @license lucide-react v0.577.0 - ISC
293
293
  *
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
- */const ug=[["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"}]],ig=W("shield",ug);/**
296
+ */const ig=[["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"}]],cg=W("shield",ig);/**
297
297
  * @license lucide-react v0.577.0 - ISC
298
298
  *
299
299
  * This source code is licensed under the ISC license.
300
300
  * See the LICENSE file in the root directory of this source tree.
301
- */const cg=[["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"}]],sg=W("skip-forward",cg);/**
301
+ */const sg=[["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"}]],og=W("skip-forward",sg);/**
302
302
  * @license lucide-react v0.577.0 - ISC
303
303
  *
304
304
  * This source code is licensed under the ISC license.
305
305
  * See the LICENSE file in the root directory of this source tree.
306
- */const og=[["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"}]],ro=W("sparkles",og);/**
306
+ */const rg=[["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"}]],ro=W("sparkles",rg);/**
307
307
  * @license lucide-react v0.577.0 - ISC
308
308
  *
309
309
  * This source code is licensed under the ISC license.
310
310
  * See the LICENSE file in the root directory of this source tree.
311
- */const rg=[["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"}]],fg=W("star",rg);/**
311
+ */const fg=[["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"}]],dg=W("star",fg);/**
312
312
  * @license lucide-react v0.577.0 - ISC
313
313
  *
314
314
  * This source code is licensed under the ISC license.
315
315
  * See the LICENSE file in the root directory of this source tree.
316
- */const dg=[["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"}]],hg=W("sun",dg);/**
316
+ */const hg=[["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"}]],mg=W("sun",hg);/**
317
317
  * @license lucide-react v0.577.0 - ISC
318
318
  *
319
319
  * This source code is licensed under the ISC license.
320
320
  * See the LICENSE file in the root directory of this source tree.
321
- */const mg=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],yg=W("terminal",mg);/**
321
+ */const yg=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],pg=W("terminal",yg);/**
322
322
  * @license lucide-react v0.577.0 - ISC
323
323
  *
324
324
  * This source code is licensed under the ISC license.
325
325
  * See the LICENSE file in the root directory of this source tree.
326
- */const pg=[["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"}]],vg=W("triangle-alert",pg);/**
326
+ */const vg=[["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"}]],gg=W("triangle-alert",vg);/**
327
327
  * @license lucide-react v0.577.0 - ISC
328
328
  *
329
329
  * This source code is licensed under the ISC license.
330
330
  * See the LICENSE file in the root directory of this source tree.
331
- */const gg=[["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"}]],bg=W("users",gg);/**
331
+ */const bg=[["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"}]],xg=W("users",bg);/**
332
332
  * @license lucide-react v0.577.0 - ISC
333
333
  *
334
334
  * This source code is licensed under the ISC license.
335
335
  * See the LICENSE file in the root directory of this source tree.
336
- */const xg=[["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"}]],Sg=W("video",xg);/**
336
+ */const Sg=[["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"}]],Eg=W("video",Sg);/**
337
337
  * @license lucide-react v0.577.0 - ISC
338
338
  *
339
339
  * This source code is licensed under the ISC license.
340
340
  * See the LICENSE file in the root directory of this source tree.
341
- */const Eg=[["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"}]],_g=W("wand-sparkles",Eg);/**
341
+ */const _g=[["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"}]],Tg=W("wand-sparkles",_g);/**
342
342
  * @license lucide-react v0.577.0 - ISC
343
343
  *
344
344
  * This source code is licensed under the ISC license.
345
345
  * See the LICENSE file in the root directory of this source tree.
346
- */const Tg=[["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"}]],zg=W("wrench",Tg);/**
346
+ */const zg=[["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"}]],Ng=W("wrench",zg);/**
347
347
  * @license lucide-react v0.577.0 - ISC
348
348
  *
349
349
  * This source code is licensed under the ISC license.
350
350
  * See the LICENSE file in the root directory of this source tree.
351
- */const Ng=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ea=W("x",Ng);/**
351
+ */const Cg=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ea=W("x",Cg);/**
352
352
  * @license lucide-react v0.577.0 - ISC
353
353
  *
354
354
  * This source code is licensed under the ISC license.
355
355
  * See the LICENSE file in the root directory of this source tree.
356
- */const Cg=[["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"}]],jg=W("zap",Cg),hi=`${window.location.origin}/api`,Rg=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`;function xm(){const i={"Content-Type":"application/json"};try{const c=localStorage.getItem("pl_auth_token");c&&(i.Authorization=`Bearer ${c}`)}catch{}return i}async function k(i,c){const r=await fetch(`${hi}${i}`,{...c,headers:{...xm(),...c==null?void 0:c.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 Ba={startSession:i=>k("/session/start",{method:"POST",body:JSON.stringify(i)}),quickStart:(i,c="claude")=>k("/session/quick-start",{method:"POST",body:JSON.stringify({prompt:i,provider:c})}),stopSession:()=>k("/session/stop",{method:"POST"}),pauseSession:()=>k("/session/pause",{method:"POST"}),resumeSession:()=>k("/session/resume",{method:"POST"}),getPrdPrefill:()=>k("/session/prd-prefill"),getStatus:()=>k("/session/status"),getAgents:()=>k("/session/agents"),getLogs:(i=200)=>k(`/session/logs?lines=${i}`),getMemorySummary:()=>k("/session/memory"),getChecklist:()=>k("/session/checklist"),getFiles:()=>k("/session/files"),getFileContent:i=>k(`/session/files/content?path=${encodeURIComponent(i)}`),getSessionFileContent:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/file?path=${encodeURIComponent(c)}`),getTemplates:()=>k("/templates"),getTemplateContent:i=>k(`/templates/${encodeURIComponent(i)}`),planSession:(i,c)=>k("/session/plan",{method:"POST",body:JSON.stringify({prd:i,provider:c})}),generateReport:(i="markdown")=>k("/session/report",{method:"POST",body:JSON.stringify({format:i})}),shareSession:()=>k("/session/share",{method:"POST"}),getCurrentProvider:()=>k("/provider/current"),setProvider:i=>k("/provider/set",{method:"POST",body:JSON.stringify({provider:i})}),getMetrics:()=>k("/session/metrics"),getSessionsHistory:()=>k("/sessions/history"),getSessionDetail:i=>k(`/sessions/${encodeURIComponent(i)}`),deleteSession:i=>k(`/sessions/${encodeURIComponent(i)}`,{method:"DELETE"}),onboardRepo:i=>k("/session/onboard",{method:"POST",body:JSON.stringify({path:i})}),saveSessionFile:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/file`,{method:"PUT",body:JSON.stringify({path:c,content:r})}),createSessionFile:(i,c,r="")=>k(`/sessions/${encodeURIComponent(i)}/file`,{method:"POST",body:JSON.stringify({path:c,content:r})}),deleteSessionFile:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/file`,{method:"DELETE",body:JSON.stringify({path:c})}),createSessionDirectory:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/directory`,{method:"POST",body:JSON.stringify({path:c})}),reviewProject:i=>k(`/sessions/${encodeURIComponent(i)}/review`,{method:"POST"}),testProject:i=>k(`/sessions/${encodeURIComponent(i)}/test`,{method:"POST"}),explainProject:i=>k(`/sessions/${encodeURIComponent(i)}/explain`,{method:"POST"}),exportProject:i=>k(`/sessions/${encodeURIComponent(i)}/export`,{method:"POST"}),fixProject:i=>k(`/sessions/${encodeURIComponent(i)}/fix`,{method:"POST"}),chatMessage:(i,c,r="quick")=>k(`/sessions/${encodeURIComponent(i)}/chat`,{method:"POST",body:JSON.stringify({message:c,mode:r})}),chatStart:(i,c,r="quick",o)=>k(`/sessions/${encodeURIComponent(i)}/chat`,{method:"POST",body:JSON.stringify({message:c,mode:r,history:o})}),chatPoll:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(c)}`),chatStreamUrl:(i,c)=>`${hi}/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(c)}/stream`,chatCancel:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(c)}/cancel`,{method:"POST"}),getPreviewInfo:i=>k(`/sessions/${encodeURIComponent(i)}/preview-info`),devserver:{start:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/devserver/start`,{method:"POST",body:JSON.stringify({command:c||null})}),stop:i=>k(`/sessions/${encodeURIComponent(i)}/devserver/stop`,{method:"POST"}),status:i=>k(`/sessions/${encodeURIComponent(i)}/devserver/status`)},getSecrets:()=>k("/secrets"),setSecret:(i,c)=>k("/secrets",{method:"POST",body:JSON.stringify({key:i,value:c})}),deleteSecret:i=>k(`/secrets/${encodeURIComponent(i)}`,{method:"DELETE"}),getServices:i=>k(`/sessions/${encodeURIComponent(i)}/services`),getTeams:()=>k("/teams"),createTeam:i=>k("/teams",{method:"POST",body:JSON.stringify({name:i})}),getTeamMembers:i=>k(`/teams/${encodeURIComponent(i)}/members`),addTeamMember:(i,c,r)=>k(`/teams/${encodeURIComponent(i)}/members`,{method:"POST",body:JSON.stringify({email:c,role:r})}),getAuditLog:()=>k("/audit-log"),getServiceLogs:(i,c,r=50)=>k(`/sessions/${encodeURIComponent(i)}/devserver/logs${c?`?service=${encodeURIComponent(c)}&tail=${r}`:`?tail=${r}`}`),getCheckpoints:i=>k(`/sessions/${encodeURIComponent(i)}/checkpoints`),restoreCheckpoint:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/checkpoints/${encodeURIComponent(c)}/restore`,{method:"POST"}),previewChanges:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/chat/preview`,{method:"POST",body:JSON.stringify({message:c})}),searchFiles:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/files/search?q=${encodeURIComponent(c)}`),restartService:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/devserver/restart-service`,{method:"POST",body:JSON.stringify({service:c})}),deployProject:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/deploy`,{method:"POST",body:JSON.stringify({platform:c})}),githubPush:i=>k(`/sessions/${encodeURIComponent(i)}/github/push`,{method:"POST"}),getGitHubIssues:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/issues?${new URLSearchParams({...c?{state:c}:{},...r?{limit:String(r)}:{}}).toString()}`),getGitHubIssue:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/issues/${c}`),fixGitHubIssue:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/issues/${c}/fix`,{method:"POST"}),getGitHubPRs:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/prs?${new URLSearchParams({...c?{state:c}:{},...r?{limit:String(r)}:{}}).toString()}`),getGitHubPR:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}`),getGitHubPRDiff:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}/diff`),reviewGitHubPR:(i,c,r,o)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}/review`,{method:"POST",body:JSON.stringify({action:r,body:o})}),mergeGitHubPR:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}/merge`,{method:"POST",body:JSON.stringify({method:r})}),getWorkflowRuns:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs?${new URLSearchParams({...c?{limit:String(c)}:{}}).toString()}`),getWorkflowRunDetail:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}`),getWorkflowRunLogs:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}/logs`),getWorkflows:i=>k(`/sessions/${encodeURIComponent(i)}/github/workflows`),dispatchWorkflow:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/workflows/dispatch`,{method:"POST",body:JSON.stringify({workflow:c,ref:r})}),rerunWorkflow:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}/rerun`,{method:"POST"}),cancelWorkflow:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}/cancel`,{method:"POST"}),importGitHubRepo:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/import`,{method:"POST",body:JSON.stringify({repo:c,...r?{branch:r}:{}})}),getDeployStatus:()=>k("/deploy/status"),connectVercel:i=>k("/deploy/vercel/connect",{method:"POST",body:JSON.stringify({token:i})}),connectNetlify:i=>k("/deploy/netlify/connect",{method:"POST",body:JSON.stringify({token:i})}),disconnectPlatform:i=>k(`/deploy/${encodeURIComponent(i)}/disconnect`,{method:"POST"}),getMe:()=>k("/auth/me"),getGitHubAuthUrl:()=>k("/auth/github/url"),getGoogleAuthUrl:()=>k("/auth/google/url"),githubCallback:(i,c)=>k("/auth/github/callback",{method:"POST",body:JSON.stringify({code:i,state:c})}),googleCallback:(i,c,r)=>k("/auth/google/callback",{method:"POST",body:JSON.stringify({code:i,state:c,redirect_uri:r||`${window.location.origin}${window.location.pathname}`})}),git:{status:i=>k(`/sessions/${encodeURIComponent(i)}/git/status`),log:(i,c=20)=>k(`/sessions/${encodeURIComponent(i)}/git/log?limit=${c}`),branches:i=>k(`/sessions/${encodeURIComponent(i)}/git/branches`),commit:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/git/commit`,{method:"POST",body:JSON.stringify({message:c,files:r})}),createBranch:(i,c,r=!0)=>k(`/sessions/${encodeURIComponent(i)}/git/branch`,{method:"POST",body:JSON.stringify({name:c,checkout:r})}),checkoutBranch:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/git/checkout`,{method:"POST",body:JSON.stringify({name:c})}),push:i=>k(`/sessions/${encodeURIComponent(i)}/git/push`,{method:"POST"}),pr:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/git/pr`,{method:"POST",body:JSON.stringify({title:c,body:r})})},generateDocs:i=>k(`/sessions/${encodeURIComponent(i)}/docs/generate`,{method:"POST"}),getDocsStatus:i=>k(`/sessions/${encodeURIComponent(i)}/docs/status`),getDocFiles:i=>k(`/sessions/${encodeURIComponent(i)}/docs/files`),getDocFileContent:async(i,c)=>{const r=await fetch(`${hi}/sessions/${encodeURIComponent(i)}/docs/files/${encodeURIComponent(c)}`,{headers:xm()});if(!r.ok)throw new Error(`API error ${r.status}: ${r.statusText}`);return r.text()},chatImageUpload:async(i,c)=>{const r=new FormData;r.append("image",c);const o=await fetch(`${hi}/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(!o.ok){const d=await o.text().catch(()=>"");throw new Error(`API error ${o.status}: ${o.statusText}${d?` - ${d}`:""}`)}return o.json()}};class Ag{constructor(c){Ln(this,"ws",null);Ln(this,"listeners",new Map);Ln(this,"reconnectTimer",null);Ln(this,"url");this.url=c||Rg}connect(){var c;((c=this.ws)==null?void 0:c.readyState)!==WebSocket.OPEN&&(this.ws=new WebSocket(this.url),this.ws.onopen=()=>{this.emit("connected",{message:"WebSocket connected"})},this.ws.onmessage=r=>{try{const o=JSON.parse(r.data);if(o.type==="ping"){this.send({type:"pong"});return}this.emit(o.type,o.data||o)}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(c,r){return this.listeners.has(c)||this.listeners.set(c,new Set),this.listeners.get(c).add(r),()=>{var o;return(o=this.listeners.get(c))==null?void 0:o.delete(r)}}emit(c,r){var o,d;(o=this.listeners.get(c))==null||o.forEach(m=>m(r)),(d=this.listeners.get("*"))==null||d.forEach(m=>m({type:c,data:r}))}send(c){var r;((r=this.ws)==null?void 0:r.readyState)===WebSocket.OPEN&&this.ws.send(JSON.stringify(c))}disconnect(){var c;this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),(c=this.ws)==null||c.close(),this.ws=null}}const Js="pl_auth_token",Sm=v.createContext({user:null,loading:!0,login:()=>{},logout:()=>{},isLocalMode:!0});function Og(i,c,r){c(!1),r({email:i.sub||i.email||"",name:i.name||"",avatar_url:i.avatar||"",authenticated:!0})}function Mg({children:i}){const[c,r]=v.useState(null),[o,d]=v.useState(!0),[m,p]=v.useState(!0),E=lo(),x=kt();v.useEffect(()=>{let H=!1;async function L(){const B=new URLSearchParams(window.location.search),U=B.get("token"),Q=B.get("code");if(U)localStorage.setItem(Js,U),window.history.replaceState({},"",window.location.pathname);else if(Q)try{const q=sessionStorage.getItem("pl_oauth_provider")||"github",I=sessionStorage.getItem("pl_oauth_state")||"";sessionStorage.removeItem("pl_oauth_state"),sessionStorage.removeItem("pl_oauth_provider");let J;if(q==="google"?J=await Ba.googleCallback(Q,I):J=await Ba.githubCallback(Q,I),!H){localStorage.setItem(Js,J.token),window.history.replaceState({},"",window.location.pathname),p(!1),r({email:J.user.email,name:J.user.name,avatar_url:J.user.avatar_url,authenticated:!0}),d(!1);return}}catch{window.history.replaceState({},"",window.location.pathname)}try{const q=await Ba.getMe();if(H)return;q.local_mode?(p(!0),r(null)):q.authenticated?Og(q,p,r):(p(!1),r(null))}catch{if(H)return;p(!0),r(null)}finally{H||d(!1)}}return L(),()=>{H=!0}},[]);const y=v.useCallback(H=>{H==="github"?Ba.getGitHubAuthUrl().then(L=>{try{const U=new URL(L.url).searchParams.get("state");U&&(sessionStorage.setItem("pl_oauth_state",U),sessionStorage.setItem("pl_oauth_provider","github"))}catch{}window.location.href=L.url}).catch(()=>{}):H==="google"&&Ba.getGoogleAuthUrl().then(L=>{try{const U=new URL(L.url).searchParams.get("state");U&&(sessionStorage.setItem("pl_oauth_state",U),sessionStorage.setItem("pl_oauth_provider","google"))}catch{}window.location.href=L.url}).catch(()=>{})},[]),z=v.useCallback(()=>{localStorage.removeItem(Js),r(null),x.pathname!=="/login"&&E("/login",{replace:!0})},[E,x.pathname]),_=v.useMemo(()=>({user:c,loading:o,login:y,logout:z,isLocalMode:m}),[c,o,y,z,m]);return h.jsx(Sm.Provider,{value:_,children:i})}function Em(){return v.useContext(Sm)}function Dg(){const[i,c]=v.useState(()=>typeof window>"u"?"light":localStorage.getItem("pl_theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"));v.useEffect(()=>{document.documentElement.classList.toggle("dark",i==="dark"),localStorage.setItem("pl_theme",i)},[i]);const r=v.useCallback(()=>{c(o=>o==="light"?"dark":"light")},[]);return{theme:i,toggleTheme:r,isDark:i==="dark"}}const _m="pl_discovered_features";function Tm(){try{const i=localStorage.getItem(_m);if(i)return new Set(JSON.parse(i))}catch{}return new Set}function Ug(i){try{localStorage.setItem(_m,JSON.stringify([...i]))}catch{}}function wg(i){const c=Tm();c.has(i)||(c.add(i),Ug(c),window.dispatchEvent(new CustomEvent("pl_feature_discovered",{detail:i})))}function Hg({feature:i,className:c=""}){const[r,o]=v.useState(!0);return v.useEffect(()=>{o(Tm().has(i))},[i]),v.useEffect(()=>{const d=m=>{m.detail===i&&o(!0)};return window.addEventListener("pl_feature_discovered",d),()=>window.removeEventListener("pl_feature_discovered",d)},[i]),r?null:h.jsxs("span",{className:`relative inline-flex ${c}`,"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 zm="pl_getting_started_steps",Uh="pl_getting_started_dismissed",wh="pl_getting_started_collapsed",Hh=[{id:"create_project",label:"Create your first project",description:"Describe what you want to build or pick a template to get started.",icon:pm},{id:"try_chat",label:"Try the AI chat",description:"Ask the AI to modify, explain, or improve your code.",icon:so},{id:"preview_app",label:"Preview your app",description:"Open the Preview tab to see your application running live.",icon:ym},{id:"explore_templates",label:"Explore templates",description:"Browse the template gallery for inspiration and quick starts.",icon:co},{id:"deploy_app",label:"Deploy your app",description:"Push your project live with one click using the Deploy tab.",icon:oo}];function kh(){try{const i=localStorage.getItem(zm);if(i)return new Set(JSON.parse(i))}catch{}return new Set}function kg(i){try{localStorage.setItem(zm,JSON.stringify([...i]))}catch{}}function Lg(){const[i,c]=v.useState(!1),[r,o]=v.useState(!1),[d,m]=v.useState(new Set);v.useEffect(()=>{try{if(localStorage.getItem(Uh)==="1"){c(!0);return}o(localStorage.getItem(wh)==="1")}catch{}m(kh())},[]),v.useEffect(()=>{const L=()=>m(kh());return window.addEventListener("pl_step_complete",L),()=>window.removeEventListener("pl_step_complete",L)},[]);const p=v.useCallback(L=>{m(B=>{const U=new Set(B);return U.has(L)?U.delete(L):U.add(L),kg(U),U})},[]),E=()=>{c(!0);try{localStorage.setItem(Uh,"1")}catch{}},x=()=>{o(L=>{const B=!L;try{localStorage.setItem(wh,B?"1":"0")}catch{}return B})};if(i)return null;const y=d.size,z=Hh.length,_=y/z*100,H=y===z;return h.jsxs("div",{className:"bg-card border border-border rounded-xl shadow-sm overflow-hidden",children:[h.jsxs("button",{onClick:x,className:"w-full flex items-center gap-3 px-4 py-3 text-left hover:bg-hover transition-colors",children:[h.jsx(Hv,{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:[y,"/",z]})]}),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:`${_}%`}})})]}),h.jsx("div",{className:"flex items-center gap-1",children:r?h.jsx(av,{size:14,className:"text-muted"}):h.jsx(hm,{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:Hh.map(L=>{const B=d.has(L.id),U=L.icon;return h.jsxs("button",{onClick:()=>p(L.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(ov,{size:16,className:"text-success"}):h.jsx(mv,{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:L.label}),!B&&h.jsx("p",{className:"text-[11px] text-muted-accessible mt-0.5 leading-relaxed",children:L.description})]}),h.jsx(U,{size:14,className:`flex-shrink-0 mt-0.5 ${B?"text-muted":"text-primary/50"}`})]},L.id)})}),h.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5 border-t border-border",children:[H?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:E,className:"flex items-center gap-1 text-[11px] text-muted hover:text-ink transition-colors",children:[h.jsx(ea,{size:11}),"Dismiss"]})]})]})]})}const Lh="pl_sidebar_collapsed",Bg=[{to:"/",label:"Home",icon:Av},{to:"/projects",label:"Projects",icon:Ev},{to:"/templates",label:"Templates",icon:co,discoveryFeature:"templates"},{to:"/showcase",label:"Showcase",icon:ro},{to:"/magic",label:"Magic",icon:_g},{to:"/metrics",label:"Metrics",icon:tv},{to:"/compare",label:"Compare",icon:jv},{to:"/teams",label:"Teams",icon:bg}],qg=[{to:"/settings",label:"Settings",icon:bm},{to:"/admin",label:"Admin",icon:ng},{to:"/admin/settings",label:"System",icon:zg}];function Yg(){const[i,c]=v.useState(typeof window<"u"?window.innerWidth<768:!1);return v.useEffect(()=>{const r=()=>c(window.innerWidth<768);return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),i}function Gg({wsConnected:i,version:c,onOpenDocs:r}){const o=Yg(),d=kt(),{theme:m,toggleTheme:p}=Dg(),[E,x]=v.useState(!1),[y,z]=v.useState(()=>{try{return localStorage.getItem(Lh)==="1"}catch{return!1}});v.useEffect(()=>{try{localStorage.setItem(Lh,y?"1":"0")}catch{}},[y]),v.useEffect(()=>{o&&x(!1)},[d.pathname,o]);const _=o?E:!y,H=_?240:64,L=U=>["flex items-center gap-3 px-3 py-2 text-sm transition-colors rounded-[5px]",!_&&"justify-center",U?"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:H,minWidth:H},children:[h.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-[#ECEAE3]",children:[_&&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"})]}),o?h.jsx("button",{type:"button","aria-label":E?"Close menu":"Open menu",title:E?"Close menu":"Open menu",onClick:()=>x(!E),className:"inline-flex items-center justify-center w-7 h-7 rounded-[3px] text-[#939084] hover:bg-[#F8F4F0] transition-colors",children:E?h.jsx(ea,{size:16}):h.jsx(qv,{size:16})}):h.jsx("button",{type:"button","aria-label":y?"Expand sidebar":"Collapse sidebar",title:y?"Expand sidebar":"Collapse sidebar",onClick:()=>z(!y),className:"inline-flex items-center justify-center w-7 h-7 rounded-[3px] text-[#939084] hover:bg-[#F8F4F0] transition-colors",children:y?h.jsx(Fv,{size:16}):h.jsx($v,{size:16})})]}),h.jsxs("nav",{className:"flex-1 px-2 py-3 flex flex-col gap-1","aria-label":"Main navigation",children:[Bg.map(U=>h.jsxs(yi,{to:U.to,end:U.to==="/",className:({isActive:Q})=>L(Q),title:_?void 0:U.label,onClick:()=>{U.discoveryFeature&&wg(U.discoveryFeature)},children:[h.jsxs("div",{className:"relative",children:[h.jsx(U.icon,{size:18}),U.discoveryFeature&&h.jsx(Hg,{feature:U.discoveryFeature,className:"absolute -top-1 -right-1"})]}),_&&h.jsx("span",{children:U.label})]},U.to)),h.jsx("div",{className:"my-2 border-t border-[#ECEAE3]"}),qg.map(U=>h.jsxs(yi,{to:U.to,className:({isActive:Q})=>L(Q),title:_?void 0:U.label,children:[h.jsx(U.icon,{size:18}),_&&h.jsx("span",{children:U.label})]},U.to)),_&&h.jsx("div",{className:"mt-3 px-1",children:h.jsx(Lg,{})})]}),h.jsxs("div",{className:"px-3 py-3 border-t border-[#ECEAE3] flex flex-col gap-2",children:[h.jsx(Qg,{collapsed:!_}),h.jsxs("div",{className:["flex items-center gap-2 text-xs",!_&&"justify-center"].filter(Boolean).join(" "),children:[h.jsx("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${i?"bg-[#1FC5A8]":"bg-[#C45B5B]"}`}),_&&h.jsx("span",{className:"text-[#6B6960]",children:i?"Connected":"Disconnected"})]}),_&&c&&h.jsxs("span",{className:"text-xs text-[#6B6960]",children:["v",c]}),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",!_&&"justify-center"].filter(Boolean).join(" "),children:[m==="dark"?h.jsx(hg,{size:14}):h.jsx(Vv,{size:14}),_&&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",!_&&"justify-center"].filter(Boolean).join(" "),title:_?void 0:"Help & Docs",children:[h.jsx(mm,{size:14}),_&&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",!_&&"justify-center"].filter(Boolean).join(" "),title:_?void 0:"Documentation",children:[h.jsx(dm,{size:14}),_&&h.jsx("span",{children:"Docs"})]})]})]});return o&&E?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"fixed inset-0 z-40 bg-ink/20",onClick:()=>x(!1)}),h.jsx("div",{className:"fixed inset-y-0 left-0 z-50",children:B})]}):B}function Qg({collapsed:i}){const{user:c,logout:r,isLocalMode:o}=Em(),[d,m]=v.useState(!1),p=v.useRef(null);return v.useEffect(()=>{function E(x){p.current&&!p.current.contains(x.target)&&m(!1)}if(d)return document.addEventListener("mousedown",E),()=>document.removeEventListener("mousedown",E)},[d]),o||!c?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(Qv,{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?c.name||c.email:void 0,children:[c.avatar_url?h.jsx("img",{src:c.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:(c.name||c.email||"?")[0].toUpperCase()}),!i&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"text-[#36342E] truncate flex-1",children:c.name||c.email}),h.jsx(hm,{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:c.name}),h.jsx("p",{className:"text-xs text-[#939084] truncate",children:c.email})]}),h.jsxs(yi,{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(bm,{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(Lv,{size:14}),"Sign out"]})]})]})}const qa=[];function Xg(i){if(i.key==="Escape"&&qa.length>0){i.preventDefault(),i.stopPropagation();const c=qa[qa.length-1];c()}}let Bh=!1;function Vg(){Bh||(document.addEventListener("keydown",Xg),Bh=!0)}function Zg(i,c){const r=v.useRef(c);r.current=c;const o=v.useCallback(()=>{r.current()},[]);v.useEffect(()=>{if(i)return Vg(),qa.push(o),()=>{const d=qa.indexOf(o);d!==-1&&qa.splice(d,1)}},[i,o])}const qh=["a[href]","button:not([disabled])","input:not([disabled])","textarea:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function Jg(i){const c=v.useRef(null),r=v.useRef(null);return v.useEffect(()=>{if(!i)return;r.current=document.activeElement;const o=c.current;if(!o)return;const d=o.querySelectorAll(qh);d.length>0&&requestAnimationFrame(()=>d[0].focus());const m=p=>{if(p.key!=="Tab")return;const E=o.querySelectorAll(qh);if(E.length===0)return;const x=E[0],y=E[E.length-1];p.shiftKey?document.activeElement===x&&(p.preventDefault(),y.focus()):document.activeElement===y&&(p.preventDefault(),x.focus())};return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m),r.current&&typeof r.current.focus=="function"&&r.current.focus()}},[i]),c}const Yh="pl_onboarding_complete",Gn=[{icon:pm,title:"Write your PRD",description:"Describe what you want to build, or choose a template to get started quickly."},{icon:yg,title:"Use the terminal",description:"Run commands directly in the integrated terminal to install dependencies or debug."},{icon:ym,title:"Preview in real-time",description:"Switch to the Preview tab to see your app running with live reload."},{icon:so,title:"Iterate with AI Chat",description:"Ask the AI to modify, fix, or explain your code in the chat panel."}];function Kg(){const[i,c]=v.useState(!1),[r,o]=v.useState(0),d=Jg(i);Zg(i,()=>{i&&m()}),v.useEffect(()=>{try{localStorage.getItem(Yh)!=="1"&&c(!0)}catch{}},[]);const m=()=>{c(!1);try{localStorage.setItem(Yh,"1")}catch{}},p=()=>{r<Gn.length-1?o(r+1):m()};if(!i)return null;const E=Gn[r],x=E.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," / ",Gn.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(ea,{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(x,{size:24,className:"text-primary"})}),h.jsx("h3",{className:"text-sm font-heading font-bold text-ink mb-1",children:E.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed",children:E.description})]}),h.jsx("div",{className:"flex items-center justify-center gap-1.5 pb-4",children:Gn.map((y,z)=>h.jsx("div",{className:`w-1.5 h-1.5 rounded-full transition-colors ${z===r?"bg-primary":"bg-border"}`},z))}),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<Gn.length-1?h.jsxs(h.Fragment,{children:["Next",h.jsx(fm,{size:12})]}):"Get Started"})]})]})})}const Gh="pl_product_tour_complete",$g=[{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 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, Railway, and more.",position:"bottom"}];function Wg(i){const c=document.querySelector(i);return c?c.getBoundingClientRect():null}function Fg(i,c){if(!i)return{top:"50%",left:"50%",transform:"translate(-50%, -50%)"};const r=16,o={position:"fixed",zIndex:60};switch(c){case"bottom":o.top=i.bottom+r,o.left=i.left+i.width/2,o.transform="translateX(-50%)";break;case"top":o.bottom=window.innerHeight-i.top+r,o.left=i.left+i.width/2,o.transform="translateX(-50%)";break;case"left":o.top=i.top+i.height/2,o.right=window.innerWidth-i.left+r,o.transform="translateY(-50%)";break;case"right":o.top=i.top+i.height/2,o.left=i.right+r,o.transform="translateY(-50%)";break}return o}function Ig({steps:i=$g,onComplete:c}){const[r,o]=v.useState(!1),[d,m]=v.useState(0),[p,E]=v.useState(null),x=v.useRef(0);v.useEffect(()=>{try{if(localStorage.getItem(Gh)!=="1"){const B=setTimeout(()=>o(!0),800);return()=>clearTimeout(B)}}catch{}},[]),v.useEffect(()=>{if(!r||!i[d])return;const B=()=>{const U=Wg(i[d].target);E(U),x.current=requestAnimationFrame(B)};return B(),()=>cancelAnimationFrame(x.current)},[r,d,i]);const y=v.useCallback(()=>{o(!1);try{localStorage.setItem(Gh,"1")}catch{}c==null||c()},[c]),z=v.useCallback(()=>{d<i.length-1?m(B=>B+1):y()},[d,i.length,y]),_=v.useCallback(()=>{m(B=>Math.max(0,B-1))},[]);if(v.useEffect(()=>{if(!r)return;const B=U=>{U.key==="Escape"&&y(),U.key==="ArrowRight"&&z(),U.key==="ArrowLeft"&&_()};return window.addEventListener("keydown",B),()=>window.removeEventListener("keydown",B)},[r,y,z,_]),!r||!i[d])return null;const H=i[d],L=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:y,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-L,y:p.top-L,width:p.width+L*2,height:p.height+L*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-L,top:p.top-L,width:p.width+L*2,height:p.height+L*2,zIndex:56}}),h.jsxs("div",{className:"w-80 bg-card rounded-xl shadow-2xl border border-border p-0 overflow-hidden",style:{...Fg(p,H.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(ro,{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:y,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",title:"Skip tour",children:h.jsx(ea,{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:H.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed",children:H.description})]}),h.jsx("div",{className:"flex items-center justify-center gap-1.5 pb-3",children:i.map((B,U)=>h.jsx("button",{onClick:()=>m(U),className:`w-2 h-2 rounded-full transition-all ${U===d?"bg-primary scale-110":U<d?"bg-primary/40":"bg-border"}`,"aria-label":`Go to step ${U+1}`},U))}),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:y,className:"flex items-center gap-1 text-xs text-muted hover:text-ink transition-colors",children:[h.jsx(sg,{size:12}),"Skip tour"]}),h.jsxs("div",{className:"flex items-center gap-2",children:[d>0&&h.jsxs("button",{onClick:_,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(rm,{size:12}),"Back"]}),h.jsx("button",{onClick:z,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(fm,{size:12})]}):"Let's go!"})]})]})]})]})}const Qh="pl_whats_new_version",Ks="6.73.1",Pg=[{icon:ro,title:"Product Tour",description:"New step-by-step guided tour for first-time users. Highlights key UI areas so you never feel lost."},{icon:Jv,title:"Contextual Help Tooltips",description:"Hover over the help icons next to complex features to learn what they do without leaving the page."},{icon:vm,title:"Enhanced Keyboard Shortcuts",description:'Press "?" to open the shortcuts overlay. Shortcuts are now grouped by category with search and filtering.'},{icon:jg,title:"Getting Started Checklist",description:"A friendly checklist guides you through your first project, from writing a PRD to deploying your app."},{icon:ig,title:"In-App Documentation",description:"Browse Quick Start guides, FAQ, and template docs right inside Purple Lab, no context switching required."}];function e2(){const[i,c]=v.useState(!1);v.useEffect(()=>{try{if(localStorage.getItem(Qh)!==Ks){const d=setTimeout(()=>c(!0),1200);return()=>clearTimeout(d)}}catch{}},[]);const r=()=>{c(!1);try{localStorage.setItem(Qh,Ks)}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:o=>o.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(ea,{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(Tv,{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",Ks]})]}),h.jsx("div",{className:"px-4 py-4 space-y-3 max-h-[320px] overflow-y-auto terminal-scroll",children:Pg.map(o=>{const d=o.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:o.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed mt-0.5",children:o.description})]})]},o.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(gv,{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 $s=[{id:"quick-start",title:"Quick Start",icon:oo,content:`# Quick Start
356
+ */const jg=[["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"}]],Rg=W("zap",jg),fo="/lab/".replace(/\/$/,""),hi=`${window.location.origin}${fo}/api`,Ag=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}${fo}/ws`,H2=fo;function Sm(){const i={"Content-Type":"application/json"};try{const c=localStorage.getItem("pl_auth_token");c&&(i.Authorization=`Bearer ${c}`)}catch{}return i}async function k(i,c){const r=await fetch(`${hi}${i}`,{...c,headers:{...Sm(),...c==null?void 0:c.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 Ba={startSession:i=>k("/session/start",{method:"POST",body:JSON.stringify(i)}),quickStart:(i,c="claude")=>k("/session/quick-start",{method:"POST",body:JSON.stringify({prompt:i,provider:c})}),stopSession:()=>k("/session/stop",{method:"POST"}),pauseSession:()=>k("/session/pause",{method:"POST"}),resumeSession:()=>k("/session/resume",{method:"POST"}),getPrdPrefill:()=>k("/session/prd-prefill"),getStatus:()=>k("/session/status"),getAgents:()=>k("/session/agents"),getLogs:(i=200)=>k(`/session/logs?lines=${i}`),getMemorySummary:()=>k("/session/memory"),getChecklist:()=>k("/session/checklist"),getFiles:()=>k("/session/files"),getFileContent:i=>k(`/session/files/content?path=${encodeURIComponent(i)}`),getSessionFileContent:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/file?path=${encodeURIComponent(c)}`),getTemplates:()=>k("/templates"),getTemplateContent:i=>k(`/templates/${encodeURIComponent(i)}`),planSession:(i,c)=>k("/session/plan",{method:"POST",body:JSON.stringify({prd:i,provider:c})}),generateReport:(i="markdown")=>k("/session/report",{method:"POST",body:JSON.stringify({format:i})}),shareSession:()=>k("/session/share",{method:"POST"}),getCurrentProvider:()=>k("/provider/current"),setProvider:i=>k("/provider/set",{method:"POST",body:JSON.stringify({provider:i})}),getMetrics:()=>k("/session/metrics"),getSessionsHistory:()=>k("/sessions/history"),getSessionDetail:i=>k(`/sessions/${encodeURIComponent(i)}`),deleteSession:i=>k(`/sessions/${encodeURIComponent(i)}`,{method:"DELETE"}),onboardRepo:i=>k("/session/onboard",{method:"POST",body:JSON.stringify({path:i})}),saveSessionFile:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/file`,{method:"PUT",body:JSON.stringify({path:c,content:r})}),createSessionFile:(i,c,r="")=>k(`/sessions/${encodeURIComponent(i)}/file`,{method:"POST",body:JSON.stringify({path:c,content:r})}),deleteSessionFile:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/file`,{method:"DELETE",body:JSON.stringify({path:c})}),createSessionDirectory:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/directory`,{method:"POST",body:JSON.stringify({path:c})}),reviewProject:i=>k(`/sessions/${encodeURIComponent(i)}/review`,{method:"POST"}),testProject:i=>k(`/sessions/${encodeURIComponent(i)}/test`,{method:"POST"}),explainProject:i=>k(`/sessions/${encodeURIComponent(i)}/explain`,{method:"POST"}),exportProject:i=>k(`/sessions/${encodeURIComponent(i)}/export`,{method:"POST"}),fixProject:i=>k(`/sessions/${encodeURIComponent(i)}/fix`,{method:"POST"}),chatMessage:(i,c,r="quick")=>k(`/sessions/${encodeURIComponent(i)}/chat`,{method:"POST",body:JSON.stringify({message:c,mode:r})}),chatStart:(i,c,r="quick",o)=>k(`/sessions/${encodeURIComponent(i)}/chat`,{method:"POST",body:JSON.stringify({message:c,mode:r,history:o})}),chatPoll:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(c)}`),chatStreamUrl:(i,c)=>`${hi}/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(c)}/stream`,chatCancel:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/chat/${encodeURIComponent(c)}/cancel`,{method:"POST"}),getPreviewInfo:i=>k(`/sessions/${encodeURIComponent(i)}/preview-info`),devserver:{start:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/devserver/start`,{method:"POST",body:JSON.stringify({command:c||null})}),stop:i=>k(`/sessions/${encodeURIComponent(i)}/devserver/stop`,{method:"POST"}),status:i=>k(`/sessions/${encodeURIComponent(i)}/devserver/status`)},getSecrets:()=>k("/secrets"),setSecret:(i,c)=>k("/secrets",{method:"POST",body:JSON.stringify({key:i,value:c})}),deleteSecret:i=>k(`/secrets/${encodeURIComponent(i)}`,{method:"DELETE"}),getServices:i=>k(`/sessions/${encodeURIComponent(i)}/services`),getTeams:()=>k("/teams"),createTeam:i=>k("/teams",{method:"POST",body:JSON.stringify({name:i})}),getTeamMembers:i=>k(`/teams/${encodeURIComponent(i)}/members`),addTeamMember:(i,c,r)=>k(`/teams/${encodeURIComponent(i)}/members`,{method:"POST",body:JSON.stringify({email:c,role:r})}),getAuditLog:()=>k("/audit-log"),getServiceLogs:(i,c,r=50)=>k(`/sessions/${encodeURIComponent(i)}/devserver/logs${c?`?service=${encodeURIComponent(c)}&tail=${r}`:`?tail=${r}`}`),getCheckpoints:i=>k(`/sessions/${encodeURIComponent(i)}/checkpoints`),restoreCheckpoint:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/checkpoints/${encodeURIComponent(c)}/restore`,{method:"POST"}),previewChanges:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/chat/preview`,{method:"POST",body:JSON.stringify({message:c})}),searchFiles:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/files/search?q=${encodeURIComponent(c)}`),restartService:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/devserver/restart-service`,{method:"POST",body:JSON.stringify({service:c})}),deployProject:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/deploy`,{method:"POST",body:JSON.stringify({platform:c})}),githubPush:i=>k(`/sessions/${encodeURIComponent(i)}/github/push`,{method:"POST"}),getGitHubIssues:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/issues?${new URLSearchParams({...c?{state:c}:{},...r?{limit:String(r)}:{}}).toString()}`),getGitHubIssue:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/issues/${c}`),fixGitHubIssue:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/issues/${c}/fix`,{method:"POST"}),getGitHubPRs:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/prs?${new URLSearchParams({...c?{state:c}:{},...r?{limit:String(r)}:{}}).toString()}`),getGitHubPR:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}`),getGitHubPRDiff:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}/diff`),reviewGitHubPR:(i,c,r,o)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}/review`,{method:"POST",body:JSON.stringify({action:r,body:o})}),mergeGitHubPR:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/prs/${c}/merge`,{method:"POST",body:JSON.stringify({method:r})}),getWorkflowRuns:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs?${new URLSearchParams({...c?{limit:String(c)}:{}}).toString()}`),getWorkflowRunDetail:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}`),getWorkflowRunLogs:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}/logs`),getWorkflows:i=>k(`/sessions/${encodeURIComponent(i)}/github/workflows`),dispatchWorkflow:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/workflows/dispatch`,{method:"POST",body:JSON.stringify({workflow:c,ref:r})}),rerunWorkflow:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}/rerun`,{method:"POST"}),cancelWorkflow:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/github/runs/${c}/cancel`,{method:"POST"}),importGitHubRepo:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/github/import`,{method:"POST",body:JSON.stringify({repo:c,...r?{branch:r}:{}})}),getDeployStatus:()=>k("/deploy/status"),connectVercel:i=>k("/deploy/vercel/connect",{method:"POST",body:JSON.stringify({token:i})}),connectNetlify:i=>k("/deploy/netlify/connect",{method:"POST",body:JSON.stringify({token:i})}),disconnectPlatform:i=>k(`/deploy/${encodeURIComponent(i)}/disconnect`,{method:"POST"}),getMe:()=>k("/auth/me"),getGitHubAuthUrl:()=>k("/auth/github/url"),getGoogleAuthUrl:()=>k("/auth/google/url"),githubCallback:(i,c)=>k("/auth/github/callback",{method:"POST",body:JSON.stringify({code:i,state:c})}),googleCallback:(i,c,r)=>k("/auth/google/callback",{method:"POST",body:JSON.stringify({code:i,state:c,redirect_uri:r||`${window.location.origin}${window.location.pathname}`})}),git:{status:i=>k(`/sessions/${encodeURIComponent(i)}/git/status`),log:(i,c=20)=>k(`/sessions/${encodeURIComponent(i)}/git/log?limit=${c}`),branches:i=>k(`/sessions/${encodeURIComponent(i)}/git/branches`),commit:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/git/commit`,{method:"POST",body:JSON.stringify({message:c,files:r})}),createBranch:(i,c,r=!0)=>k(`/sessions/${encodeURIComponent(i)}/git/branch`,{method:"POST",body:JSON.stringify({name:c,checkout:r})}),checkoutBranch:(i,c)=>k(`/sessions/${encodeURIComponent(i)}/git/checkout`,{method:"POST",body:JSON.stringify({name:c})}),push:i=>k(`/sessions/${encodeURIComponent(i)}/git/push`,{method:"POST"}),pr:(i,c,r)=>k(`/sessions/${encodeURIComponent(i)}/git/pr`,{method:"POST",body:JSON.stringify({title:c,body:r})})},generateDocs:i=>k(`/sessions/${encodeURIComponent(i)}/docs/generate`,{method:"POST"}),getDocsStatus:i=>k(`/sessions/${encodeURIComponent(i)}/docs/status`),getDocFiles:i=>k(`/sessions/${encodeURIComponent(i)}/docs/files`),getDocFileContent:async(i,c)=>{const r=await fetch(`${hi}/sessions/${encodeURIComponent(i)}/docs/files/${encodeURIComponent(c)}`,{headers:Sm()});if(!r.ok)throw new Error(`API error ${r.status}: ${r.statusText}`);return r.text()},chatImageUpload:async(i,c)=>{const r=new FormData;r.append("image",c);const o=await fetch(`${hi}/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(!o.ok){const d=await o.text().catch(()=>"");throw new Error(`API error ${o.status}: ${o.statusText}${d?` - ${d}`:""}`)}return o.json()}};class Og{constructor(c){Ln(this,"ws",null);Ln(this,"listeners",new Map);Ln(this,"reconnectTimer",null);Ln(this,"url");this.url=c||Ag}connect(){var c;((c=this.ws)==null?void 0:c.readyState)!==WebSocket.OPEN&&(this.ws=new WebSocket(this.url),this.ws.onopen=()=>{this.emit("connected",{message:"WebSocket connected"})},this.ws.onmessage=r=>{try{const o=JSON.parse(r.data);if(o.type==="ping"){this.send({type:"pong"});return}this.emit(o.type,o.data||o)}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(c,r){return this.listeners.has(c)||this.listeners.set(c,new Set),this.listeners.get(c).add(r),()=>{var o;return(o=this.listeners.get(c))==null?void 0:o.delete(r)}}emit(c,r){var o,d;(o=this.listeners.get(c))==null||o.forEach(m=>m(r)),(d=this.listeners.get("*"))==null||d.forEach(m=>m({type:c,data:r}))}send(c){var r;((r=this.ws)==null?void 0:r.readyState)===WebSocket.OPEN&&this.ws.send(JSON.stringify(c))}disconnect(){var c;this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),(c=this.ws)==null||c.close(),this.ws=null}}const Js="pl_auth_token",Em=v.createContext({user:null,loading:!0,login:()=>{},logout:()=>{},isLocalMode:!0});function Mg(i,c,r){c(!1),r({email:i.sub||i.email||"",name:i.name||"",avatar_url:i.avatar||"",authenticated:!0})}function Dg({children:i}){const[c,r]=v.useState(null),[o,d]=v.useState(!0),[m,p]=v.useState(!0),E=lo(),x=kt();v.useEffect(()=>{let H=!1;async function L(){const B=new URLSearchParams(window.location.search),U=B.get("token"),Q=B.get("code");if(U)localStorage.setItem(Js,U),window.history.replaceState({},"",window.location.pathname);else if(Q)try{const q=sessionStorage.getItem("pl_oauth_provider")||"github",I=sessionStorage.getItem("pl_oauth_state")||"";sessionStorage.removeItem("pl_oauth_state"),sessionStorage.removeItem("pl_oauth_provider");let J;if(q==="google"?J=await Ba.googleCallback(Q,I):J=await Ba.githubCallback(Q,I),!H){localStorage.setItem(Js,J.token),window.history.replaceState({},"",window.location.pathname),p(!1),r({email:J.user.email,name:J.user.name,avatar_url:J.user.avatar_url,authenticated:!0}),d(!1);return}}catch{window.history.replaceState({},"",window.location.pathname)}try{const q=await Ba.getMe();if(H)return;q.local_mode?(p(!0),r(null)):q.authenticated?Mg(q,p,r):(p(!1),r(null))}catch{if(H)return;p(!0),r(null)}finally{H||d(!1)}}return L(),()=>{H=!0}},[]);const y=v.useCallback(H=>{H==="github"?Ba.getGitHubAuthUrl().then(L=>{try{const U=new URL(L.url).searchParams.get("state");U&&(sessionStorage.setItem("pl_oauth_state",U),sessionStorage.setItem("pl_oauth_provider","github"))}catch{}window.location.href=L.url}).catch(()=>{}):H==="google"&&Ba.getGoogleAuthUrl().then(L=>{try{const U=new URL(L.url).searchParams.get("state");U&&(sessionStorage.setItem("pl_oauth_state",U),sessionStorage.setItem("pl_oauth_provider","google"))}catch{}window.location.href=L.url}).catch(()=>{})},[]),z=v.useCallback(()=>{localStorage.removeItem(Js),r(null),x.pathname!=="/login"&&E("/login",{replace:!0})},[E,x.pathname]),_=v.useMemo(()=>({user:c,loading:o,login:y,logout:z,isLocalMode:m}),[c,o,y,z,m]);return h.jsx(Em.Provider,{value:_,children:i})}function _m(){return v.useContext(Em)}function Ug(){const[i,c]=v.useState(()=>typeof window>"u"?"light":localStorage.getItem("pl_theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"));v.useEffect(()=>{document.documentElement.classList.toggle("dark",i==="dark"),localStorage.setItem("pl_theme",i)},[i]);const r=v.useCallback(()=>{c(o=>o==="light"?"dark":"light")},[]);return{theme:i,toggleTheme:r,isDark:i==="dark"}}const Tm="pl_discovered_features";function zm(){try{const i=localStorage.getItem(Tm);if(i)return new Set(JSON.parse(i))}catch{}return new Set}function wg(i){try{localStorage.setItem(Tm,JSON.stringify([...i]))}catch{}}function Hg(i){const c=zm();c.has(i)||(c.add(i),wg(c),window.dispatchEvent(new CustomEvent("pl_feature_discovered",{detail:i})))}function kg({feature:i,className:c=""}){const[r,o]=v.useState(!0);return v.useEffect(()=>{o(zm().has(i))},[i]),v.useEffect(()=>{const d=m=>{m.detail===i&&o(!0)};return window.addEventListener("pl_feature_discovered",d),()=>window.removeEventListener("pl_feature_discovered",d)},[i]),r?null:h.jsxs("span",{className:`relative inline-flex ${c}`,"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 Nm="pl_getting_started_steps",wh="pl_getting_started_dismissed",Hh="pl_getting_started_collapsed",kh=[{id:"create_project",label:"Create your first project",description:"Describe what you want to build or pick a template to get started.",icon:vm},{id:"try_chat",label:"Try the AI chat",description:"Ask the AI to modify, explain, or improve your code.",icon:so},{id:"preview_app",label:"Preview your app",description:"Open the Preview tab to see your application running live.",icon:pm},{id:"explore_templates",label:"Explore templates",description:"Browse the template gallery for inspiration and quick starts.",icon:co},{id:"deploy_app",label:"Deploy your app",description:"Push your project live with one click using the Deploy tab.",icon:oo}];function Lh(){try{const i=localStorage.getItem(Nm);if(i)return new Set(JSON.parse(i))}catch{}return new Set}function Lg(i){try{localStorage.setItem(Nm,JSON.stringify([...i]))}catch{}}function Bg(){const[i,c]=v.useState(!1),[r,o]=v.useState(!1),[d,m]=v.useState(new Set);v.useEffect(()=>{try{if(localStorage.getItem(wh)==="1"){c(!0);return}o(localStorage.getItem(Hh)==="1")}catch{}m(Lh())},[]),v.useEffect(()=>{const L=()=>m(Lh());return window.addEventListener("pl_step_complete",L),()=>window.removeEventListener("pl_step_complete",L)},[]);const p=v.useCallback(L=>{m(B=>{const U=new Set(B);return U.has(L)?U.delete(L):U.add(L),Lg(U),U})},[]),E=()=>{c(!0);try{localStorage.setItem(wh,"1")}catch{}},x=()=>{o(L=>{const B=!L;try{localStorage.setItem(Hh,B?"1":"0")}catch{}return B})};if(i)return null;const y=d.size,z=kh.length,_=y/z*100,H=y===z;return h.jsxs("div",{className:"bg-card border border-border rounded-xl shadow-sm overflow-hidden",children:[h.jsxs("button",{onClick:x,className:"w-full flex items-center gap-3 px-4 py-3 text-left hover:bg-hover transition-colors",children:[h.jsx(kv,{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:[y,"/",z]})]}),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:`${_}%`}})})]}),h.jsx("div",{className:"flex items-center gap-1",children:r?h.jsx(nv,{size:14,className:"text-muted"}):h.jsx(mm,{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:kh.map(L=>{const B=d.has(L.id),U=L.icon;return h.jsxs("button",{onClick:()=>p(L.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(rv,{size:16,className:"text-success"}):h.jsx(yv,{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:L.label}),!B&&h.jsx("p",{className:"text-[11px] text-muted-accessible mt-0.5 leading-relaxed",children:L.description})]}),h.jsx(U,{size:14,className:`flex-shrink-0 mt-0.5 ${B?"text-muted":"text-primary/50"}`})]},L.id)})}),h.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5 border-t border-border",children:[H?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:E,className:"flex items-center gap-1 text-[11px] text-muted hover:text-ink transition-colors",children:[h.jsx(ea,{size:11}),"Dismiss"]})]})]})]})}const Bh="pl_sidebar_collapsed",qg=[{to:"/",label:"Home",icon:Ov},{to:"/projects",label:"Projects",icon:_v},{to:"/templates",label:"Templates",icon:co,discoveryFeature:"templates"},{to:"/showcase",label:"Showcase",icon:ro},{to:"/magic",label:"Magic",icon:Tg},{to:"/metrics",label:"Metrics",icon:lv},{to:"/compare",label:"Compare",icon:Rv},{to:"/teams",label:"Teams",icon:xg}],Yg=[{to:"/settings",label:"Settings",icon:xm},{to:"/admin",label:"Admin",icon:ug},{to:"/admin/settings",label:"System",icon:Ng}];function Gg(){const[i,c]=v.useState(typeof window<"u"?window.innerWidth<768:!1);return v.useEffect(()=>{const r=()=>c(window.innerWidth<768);return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),i}function Qg({wsConnected:i,version:c,onOpenDocs:r}){const o=Gg(),d=kt(),{theme:m,toggleTheme:p}=Ug(),[E,x]=v.useState(!1),[y,z]=v.useState(()=>{try{return localStorage.getItem(Bh)==="1"}catch{return!1}});v.useEffect(()=>{try{localStorage.setItem(Bh,y?"1":"0")}catch{}},[y]),v.useEffect(()=>{o&&x(!1)},[d.pathname,o]);const _=o?E:!y,H=_?240:64,L=U=>["flex items-center gap-3 px-3 py-2 text-sm transition-colors rounded-[5px]",!_&&"justify-center",U?"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:H,minWidth:H},children:[h.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-[#ECEAE3]",children:[_&&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"})]}),o?h.jsx("button",{type:"button","aria-label":E?"Close menu":"Open menu",title:E?"Close menu":"Open menu",onClick:()=>x(!E),className:"inline-flex items-center justify-center w-7 h-7 rounded-[3px] text-[#939084] hover:bg-[#F8F4F0] transition-colors",children:E?h.jsx(ea,{size:16}):h.jsx(Yv,{size:16})}):h.jsx("button",{type:"button","aria-label":y?"Expand sidebar":"Collapse sidebar",title:y?"Expand sidebar":"Collapse sidebar",onClick:()=>z(!y),className:"inline-flex items-center justify-center w-7 h-7 rounded-[3px] text-[#939084] hover:bg-[#F8F4F0] transition-colors",children:y?h.jsx(Iv,{size:16}):h.jsx(Wv,{size:16})})]}),h.jsxs("nav",{className:"flex-1 px-2 py-3 flex flex-col gap-1","aria-label":"Main navigation",children:[qg.map(U=>h.jsxs(yi,{to:U.to,end:U.to==="/",className:({isActive:Q})=>L(Q),title:_?void 0:U.label,onClick:()=>{U.discoveryFeature&&Hg(U.discoveryFeature)},children:[h.jsxs("div",{className:"relative",children:[h.jsx(U.icon,{size:18}),U.discoveryFeature&&h.jsx(kg,{feature:U.discoveryFeature,className:"absolute -top-1 -right-1"})]}),_&&h.jsx("span",{children:U.label})]},U.to)),h.jsx("div",{className:"my-2 border-t border-[#ECEAE3]"}),Yg.map(U=>h.jsxs(yi,{to:U.to,className:({isActive:Q})=>L(Q),title:_?void 0:U.label,children:[h.jsx(U.icon,{size:18}),_&&h.jsx("span",{children:U.label})]},U.to)),_&&h.jsx("div",{className:"mt-3 px-1",children:h.jsx(Bg,{})})]}),h.jsxs("div",{className:"px-3 py-3 border-t border-[#ECEAE3] flex flex-col gap-2",children:[h.jsx(Xg,{collapsed:!_}),h.jsxs("div",{className:["flex items-center gap-2 text-xs",!_&&"justify-center"].filter(Boolean).join(" "),children:[h.jsx("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${i?"bg-[#1FC5A8]":"bg-[#C45B5B]"}`}),_&&h.jsx("span",{className:"text-[#6B6960]",children:i?"Connected":"Disconnected"})]}),_&&c&&h.jsxs("span",{className:"text-xs text-[#6B6960]",children:["v",c]}),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",!_&&"justify-center"].filter(Boolean).join(" "),children:[m==="dark"?h.jsx(mg,{size:14}):h.jsx(Zv,{size:14}),_&&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",!_&&"justify-center"].filter(Boolean).join(" "),title:_?void 0:"Help & Docs",children:[h.jsx(ym,{size:14}),_&&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",!_&&"justify-center"].filter(Boolean).join(" "),title:_?void 0:"Documentation",children:[h.jsx(hm,{size:14}),_&&h.jsx("span",{children:"Docs"})]})]})]});return o&&E?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"fixed inset-0 z-40 bg-ink/20",onClick:()=>x(!1)}),h.jsx("div",{className:"fixed inset-y-0 left-0 z-50",children:B})]}):B}function Xg({collapsed:i}){const{user:c,logout:r,isLocalMode:o}=_m(),[d,m]=v.useState(!1),p=v.useRef(null);return v.useEffect(()=>{function E(x){p.current&&!p.current.contains(x.target)&&m(!1)}if(d)return document.addEventListener("mousedown",E),()=>document.removeEventListener("mousedown",E)},[d]),o||!c?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(Xv,{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?c.name||c.email:void 0,children:[c.avatar_url?h.jsx("img",{src:c.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:(c.name||c.email||"?")[0].toUpperCase()}),!i&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"text-[#36342E] truncate flex-1",children:c.name||c.email}),h.jsx(mm,{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:c.name}),h.jsx("p",{className:"text-xs text-[#939084] truncate",children:c.email})]}),h.jsxs(yi,{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(xm,{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(Bv,{size:14}),"Sign out"]})]})]})}const qa=[];function Vg(i){if(i.key==="Escape"&&qa.length>0){i.preventDefault(),i.stopPropagation();const c=qa[qa.length-1];c()}}let qh=!1;function Zg(){qh||(document.addEventListener("keydown",Vg),qh=!0)}function Jg(i,c){const r=v.useRef(c);r.current=c;const o=v.useCallback(()=>{r.current()},[]);v.useEffect(()=>{if(i)return Zg(),qa.push(o),()=>{const d=qa.indexOf(o);d!==-1&&qa.splice(d,1)}},[i,o])}const Yh=["a[href]","button:not([disabled])","input:not([disabled])","textarea:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function Kg(i){const c=v.useRef(null),r=v.useRef(null);return v.useEffect(()=>{if(!i)return;r.current=document.activeElement;const o=c.current;if(!o)return;const d=o.querySelectorAll(Yh);d.length>0&&requestAnimationFrame(()=>d[0].focus());const m=p=>{if(p.key!=="Tab")return;const E=o.querySelectorAll(Yh);if(E.length===0)return;const x=E[0],y=E[E.length-1];p.shiftKey?document.activeElement===x&&(p.preventDefault(),y.focus()):document.activeElement===y&&(p.preventDefault(),x.focus())};return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m),r.current&&typeof r.current.focus=="function"&&r.current.focus()}},[i]),c}const Gh="pl_onboarding_complete",Gn=[{icon:vm,title:"Write your spec",description:"Describe what you want to build, or choose a template to get started quickly."},{icon:pg,title:"Use the terminal",description:"Run commands directly in the integrated terminal to install dependencies or debug."},{icon:pm,title:"Preview in real-time",description:"Switch to the Preview tab to see your app running with live reload."},{icon:so,title:"Iterate with AI Chat",description:"Ask the AI to modify, fix, or explain your code in the chat panel."}];function $g(){const[i,c]=v.useState(!1),[r,o]=v.useState(0),d=Kg(i);Jg(i,()=>{i&&m()}),v.useEffect(()=>{try{localStorage.getItem(Gh)!=="1"&&c(!0)}catch{}},[]);const m=()=>{c(!1);try{localStorage.setItem(Gh,"1")}catch{}},p=()=>{r<Gn.length-1?o(r+1):m()};if(!i)return null;const E=Gn[r],x=E.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," / ",Gn.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(ea,{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(x,{size:24,className:"text-primary"})}),h.jsx("h3",{className:"text-sm font-heading font-bold text-ink mb-1",children:E.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed",children:E.description})]}),h.jsx("div",{className:"flex items-center justify-center gap-1.5 pb-4",children:Gn.map((y,z)=>h.jsx("div",{className:`w-1.5 h-1.5 rounded-full transition-colors ${z===r?"bg-primary":"bg-border"}`},z))}),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<Gn.length-1?h.jsxs(h.Fragment,{children:["Next",h.jsx(dm,{size:12})]}):"Get Started"})]})]})})}const Qh="pl_product_tour_complete",Wg=[{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, Railway, and more.",position:"bottom"}];function Fg(i){const c=document.querySelector(i);return c?c.getBoundingClientRect():null}function Ig(i,c){if(!i)return{top:"50%",left:"50%",transform:"translate(-50%, -50%)"};const r=16,o={position:"fixed",zIndex:60};switch(c){case"bottom":o.top=i.bottom+r,o.left=i.left+i.width/2,o.transform="translateX(-50%)";break;case"top":o.bottom=window.innerHeight-i.top+r,o.left=i.left+i.width/2,o.transform="translateX(-50%)";break;case"left":o.top=i.top+i.height/2,o.right=window.innerWidth-i.left+r,o.transform="translateY(-50%)";break;case"right":o.top=i.top+i.height/2,o.left=i.right+r,o.transform="translateY(-50%)";break}return o}function Pg({steps:i=Wg,onComplete:c}){const[r,o]=v.useState(!1),[d,m]=v.useState(0),[p,E]=v.useState(null),x=v.useRef(0);v.useEffect(()=>{try{if(localStorage.getItem(Qh)!=="1"){const B=setTimeout(()=>o(!0),800);return()=>clearTimeout(B)}}catch{}},[]),v.useEffect(()=>{if(!r||!i[d])return;const B=()=>{const U=Fg(i[d].target);E(U),x.current=requestAnimationFrame(B)};return B(),()=>cancelAnimationFrame(x.current)},[r,d,i]);const y=v.useCallback(()=>{o(!1);try{localStorage.setItem(Qh,"1")}catch{}c==null||c()},[c]),z=v.useCallback(()=>{d<i.length-1?m(B=>B+1):y()},[d,i.length,y]),_=v.useCallback(()=>{m(B=>Math.max(0,B-1))},[]);if(v.useEffect(()=>{if(!r)return;const B=U=>{U.key==="Escape"&&y(),U.key==="ArrowRight"&&z(),U.key==="ArrowLeft"&&_()};return window.addEventListener("keydown",B),()=>window.removeEventListener("keydown",B)},[r,y,z,_]),!r||!i[d])return null;const H=i[d],L=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:y,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-L,y:p.top-L,width:p.width+L*2,height:p.height+L*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-L,top:p.top-L,width:p.width+L*2,height:p.height+L*2,zIndex:56}}),h.jsxs("div",{className:"w-80 bg-card rounded-xl shadow-2xl border border-border p-0 overflow-hidden",style:{...Ig(p,H.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(ro,{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:y,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",title:"Skip tour",children:h.jsx(ea,{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:H.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed",children:H.description})]}),h.jsx("div",{className:"flex items-center justify-center gap-1.5 pb-3",children:i.map((B,U)=>h.jsx("button",{onClick:()=>m(U),className:`w-2 h-2 rounded-full transition-all ${U===d?"bg-primary scale-110":U<d?"bg-primary/40":"bg-border"}`,"aria-label":`Go to step ${U+1}`},U))}),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:y,className:"flex items-center gap-1 text-xs text-muted hover:text-ink transition-colors",children:[h.jsx(og,{size:12}),"Skip tour"]}),h.jsxs("div",{className:"flex items-center gap-2",children:[d>0&&h.jsxs("button",{onClick:_,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(fm,{size:12}),"Back"]}),h.jsx("button",{onClick:z,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(dm,{size:12})]}):"Let's go!"})]})]})]})]})}const Xh="pl_whats_new_version",Ks="6.73.1",e2=[{icon:ro,title:"Product Tour",description:"New step-by-step guided tour for first-time users. Highlights key UI areas so you never feel lost."},{icon:Kv,title:"Contextual Help Tooltips",description:"Hover over the help icons next to complex features to learn what they do without leaving the page."},{icon:gm,title:"Enhanced Keyboard Shortcuts",description:'Press "?" to open the shortcuts overlay. Shortcuts are now grouped by category with search and filtering.'},{icon:Rg,title:"Getting Started Checklist",description:"A friendly checklist guides you through your first project, from writing a spec to deploying your app."},{icon:cg,title:"In-App Documentation",description:"Browse Quick Start guides, FAQ, and template docs right inside Purple Lab, no context switching required."}];function t2(){const[i,c]=v.useState(!1);v.useEffect(()=>{try{if(localStorage.getItem(Xh)!==Ks){const d=setTimeout(()=>c(!0),1200);return()=>clearTimeout(d)}}catch{}},[]);const r=()=>{c(!1);try{localStorage.setItem(Xh,Ks)}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:o=>o.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(ea,{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(zv,{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",Ks]})]}),h.jsx("div",{className:"px-4 py-4 space-y-3 max-h-[320px] overflow-y-auto terminal-scroll",children:e2.map(o=>{const d=o.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:o.title}),h.jsx("p",{className:"text-xs text-muted-accessible leading-relaxed mt-0.5",children:o.description})]})]},o.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(bv,{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 $s=[{id:"quick-start",title:"Quick Start",icon:oo,content:`# Quick Start
357
357
 
358
358
  **1. Create a project**
359
359
  Click "New Project" on the home page, or type a description in the input box and press Enter.
@@ -385,7 +385,7 @@ Purple Lab includes ready-made templates to help you start fast:
385
385
  - **Mobile App** -- React Native app with navigation and screens
386
386
  - **Dashboard** -- Data visualization with charts and metrics
387
387
 
388
- Browse templates from the sidebar or the home page. Each template includes a pre-written PRD that you can customize before building.`},{id:"providers",title:"AI Providers",icon:pv,content:`# AI Providers
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:vv,content:`# AI Providers
389
389
 
390
390
  Purple Lab supports multiple AI providers for building your projects:
391
391
 
@@ -398,7 +398,7 @@ OpenAI's code-specialized model. Runs in degraded mode (sequential only, no Task
398
398
  **Gemini**
399
399
  Google's model. Runs in degraded mode (sequential only). Suitable for general-purpose development.
400
400
 
401
- You can select a provider from the settings or specify it per-build in the project configuration.`},{id:"shortcuts",title:"Keyboard Shortcuts",icon:vm,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:mm,content:`# Frequently Asked Questions
401
+ You can select a provider from the settings or specify it per-build in the project configuration.`},{id:"shortcuts",title:"Keyboard Shortcuts",icon:gm,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:ym,content:`# Frequently Asked Questions
402
402
 
403
403
  **How does Purple Lab build my project?**
404
404
  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.
@@ -419,8 +419,8 @@ Your code stays in your project workspace. In local mode, everything runs on you
419
419
  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.
420
420
 
421
421
  **What is the RARV cycle?**
422
- 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).`}],t2=[{title:"Your First Build",description:"Learn how to create a project from scratch and watch the AI build it step by step.",icon:oo,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:so,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:gm,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:Nv,gradient:"from-orange-500/20 to-orange-500/5",url:"#"}];function l2(i){const c=i.split(`
423
- `),r=[];let o=[];const d=()=>{o.length>0&&(r.push(h.jsx("ul",{className:"list-disc list-inside space-y-1 text-xs text-ink leading-relaxed",children:o.map((m,p)=>h.jsx("li",{children:Ws(m)},p))},`ul-${r.length}`)),o=[])};for(let m=0;m<c.length;m++){const p=c[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:Ws(p.slice(2))},m));continue}if(p.startsWith("- ")){o.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:Ws(p)},m))}return d(),r}function Ws(i){const c=[],r=/(\*\*(.+?)\*\*)|(`(.+?)`)/g;let o=0,d;for(;(d=r.exec(i))!==null;)d.index>o&&c.push(i.slice(o,d.index)),d[2]?c.push(h.jsx("strong",{className:"font-semibold text-ink",children:d[2]},d.index)):d[4]&&c.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)),o=d.index+d[0].length;return o<i.length&&c.push(i.slice(o)),c.length===1?c[0]:h.jsx(h.Fragment,{children:c})}function a2({open:i,onClose:c}){const[r,o]=v.useState(""),[d,m]=v.useState(null),[p,E]=v.useState(!1);v.useEffect(()=>{i&&(o(""),m(null),E(!1))},[i]),v.useEffect(()=>{if(!i)return;const z=_=>{_.key==="Escape"&&c()};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[i,c]);const x=v.useMemo(()=>{if(!r.trim())return $s;const z=r.toLowerCase();return $s.filter(_=>_.title.toLowerCase().includes(z)||_.content.toLowerCase().includes(z))},[r]),y=d?$s.find(z=>z.id===d):null;return i?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"fixed inset-0 z-40 bg-ink/10",onClick:c}),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:[y||p?h.jsx("button",{onClick:()=>{m(null),E(!1)},className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",children:h.jsx(rm,{size:16})}):h.jsx(dm,{size:16,className:"text-primary"}),h.jsx("h2",{className:"text-sm font-heading font-bold text-ink",children:y?y.title:p?"Video Tutorials":"Documentation"})]}),h.jsx("button",{onClick:c,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",children:h.jsx(ea,{size:16})})]}),!y&&!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(tg,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted"}),h.jsx("input",{type:"text",value:r,onChange:z=>o(z.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:y?h.jsx("div",{className:"px-5 py-4",children:l2(y.content)}):p?h.jsxs("div",{className:"px-4 py-4 space-y-3",children:[t2.map(z=>{const _=z.icon;return h.jsxs("a",{href:z.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 ${z.gradient} flex items-center justify-center`,children:[h.jsx(_,{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(gm,{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:z.title}),h.jsx("p",{className:"text-xs text-muted-accessible mt-0.5 leading-relaxed",children:z.description})]})]},z.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:[x.map(z=>{const _=z.icon;return h.jsxs("button",{onClick:()=>m(z.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(_,{size:16,className:"text-primary"})}),h.jsx("span",{className:"flex-1 text-sm text-ink font-medium",children:z.title}),h.jsx(Dh,{size:14,className:"text-muted group-hover:text-ink transition-colors"})]},z.id)}),h.jsxs("button",{onClick:()=>E(!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(Sg,{size:16,className:"text-primary"})}),h.jsx("span",{className:"flex-1 text-sm text-ink font-medium",children:"Video Tutorials"}),h.jsx(Dh,{size:14,className:"text-muted group-hover:text-ink transition-colors"})]}),x.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 n2=[{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."}],Nm="purple-lab-achievements";function Cm(){try{const i=localStorage.getItem(Nm);return i?JSON.parse(i):[]}catch{return[]}}function u2(i){const c=Cm();c.includes(i)||(c.push(i),localStorage.setItem(Nm,JSON.stringify(c)))}function i2(){const[i,c]=v.useState([]),r=v.useCallback(d=>{if(Cm().includes(d))return;const p=n2.find(E=>E.id===d);p&&(u2(d),c(E=>[...E,p]))},[]),o=v.useCallback(()=>{c(d=>d.slice(1))},[]);return{unlock:r,toastQueue:i,dismissCurrent:o}}function c2({achievement:i,onDismiss:c}){const[r,o]=v.useState(!1);return v.useEffect(()=>{const d=setTimeout(()=>{o(!0)},3500),m=setTimeout(()=>{c()},4e3);return()=>{clearTimeout(d),clearTimeout(m)}},[c]),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(fg,{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 s2({toastQueue:i,onDismiss:c}){return i.length===0?null:h.jsx(c2,{achievement:i[0],onDismiss:c})}function o2(i){const[c,r]=v.useState(!1),o=v.useRef(null),d=v.useRef(i);v.useEffect(()=>{d.current=i},[i]),v.useEffect(()=>{const p=new Ag;return o.current=p,p.on("connected",()=>r(!0)),p.on("disconnected",()=>{r(!1),d.current&&d.current(null)}),p.on("state_update",E=>{d.current&&E&&typeof E=="object"&&d.current(E)}),p.connect(),()=>{p.disconnect(),o.current=null}},[]);const m=v.useCallback((p,E)=>{var x;return((x=o.current)==null?void 0:x.on(p,E))||(()=>{})},[]);return{connected:c,subscribe:m}}function r2(){const[i,c]=v.useState(""),[r,o]=v.useState(!1),{toastQueue:d,dismissCurrent:m}=i2(),{connected:p}=o2(()=>{});return v.useEffect(()=>{Ba.getStatus().then(E=>{c(E.version||"")}).catch(()=>{})},[]),h.jsxs("div",{className:"flex h-screen bg-[#FAF9F6]",children:[h.jsx(s2,{toastQueue:d,onDismiss:m}),h.jsx(Kg,{}),h.jsx(Ig,{}),h.jsx(e2,{}),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(Gg,{wsConnected:p,version:i,onOpenDocs:()=>o(!0)}),h.jsx("main",{id:"main-content",className:"flex-1 overflow-auto",children:h.jsx(o1,{})}),h.jsx(a2,{open:r,onClose:()=>o(!1)})]})}const f2={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:cv},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:dv},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:vg},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:Mv}};function d2({notification:i,onDismiss:c}){const{type:r,title:o,message:d,duration:m=5e3}=i,p=f2[r],E=v.useRef(null),x=v.useCallback(()=>{c(i.id)},[c,i.id]);return v.useEffect(()=>{if(m>0)return E.current=setTimeout(x,m),()=>{E.current&&clearTimeout(E.current)}},[m,x]),h.jsxs("div",{className:`
422
+ 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).`}],l2=[{title:"Your First Build",description:"Learn how to create a project from scratch and watch the AI build it step by step.",icon:oo,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:so,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:bm,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:Cv,gradient:"from-orange-500/20 to-orange-500/5",url:"#"}];function a2(i){const c=i.split(`
423
+ `),r=[];let o=[];const d=()=>{o.length>0&&(r.push(h.jsx("ul",{className:"list-disc list-inside space-y-1 text-xs text-ink leading-relaxed",children:o.map((m,p)=>h.jsx("li",{children:Ws(m)},p))},`ul-${r.length}`)),o=[])};for(let m=0;m<c.length;m++){const p=c[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:Ws(p.slice(2))},m));continue}if(p.startsWith("- ")){o.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:Ws(p)},m))}return d(),r}function Ws(i){const c=[],r=/(\*\*(.+?)\*\*)|(`(.+?)`)/g;let o=0,d;for(;(d=r.exec(i))!==null;)d.index>o&&c.push(i.slice(o,d.index)),d[2]?c.push(h.jsx("strong",{className:"font-semibold text-ink",children:d[2]},d.index)):d[4]&&c.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)),o=d.index+d[0].length;return o<i.length&&c.push(i.slice(o)),c.length===1?c[0]:h.jsx(h.Fragment,{children:c})}function n2({open:i,onClose:c}){const[r,o]=v.useState(""),[d,m]=v.useState(null),[p,E]=v.useState(!1);v.useEffect(()=>{i&&(o(""),m(null),E(!1))},[i]),v.useEffect(()=>{if(!i)return;const z=_=>{_.key==="Escape"&&c()};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[i,c]);const x=v.useMemo(()=>{if(!r.trim())return $s;const z=r.toLowerCase();return $s.filter(_=>_.title.toLowerCase().includes(z)||_.content.toLowerCase().includes(z))},[r]),y=d?$s.find(z=>z.id===d):null;return i?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"fixed inset-0 z-40 bg-ink/10",onClick:c}),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:[y||p?h.jsx("button",{onClick:()=>{m(null),E(!1)},className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",children:h.jsx(fm,{size:16})}):h.jsx(hm,{size:16,className:"text-primary"}),h.jsx("h2",{className:"text-sm font-heading font-bold text-ink",children:y?y.title:p?"Video Tutorials":"Documentation"})]}),h.jsx("button",{onClick:c,className:"text-muted hover:text-ink transition-colors p-1 rounded-btn hover:bg-hover",children:h.jsx(ea,{size:16})})]}),!y&&!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(lg,{size:14,className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted"}),h.jsx("input",{type:"text",value:r,onChange:z=>o(z.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:y?h.jsx("div",{className:"px-5 py-4",children:a2(y.content)}):p?h.jsxs("div",{className:"px-4 py-4 space-y-3",children:[l2.map(z=>{const _=z.icon;return h.jsxs("a",{href:z.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 ${z.gradient} flex items-center justify-center`,children:[h.jsx(_,{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(bm,{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:z.title}),h.jsx("p",{className:"text-xs text-muted-accessible mt-0.5 leading-relaxed",children:z.description})]})]},z.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:[x.map(z=>{const _=z.icon;return h.jsxs("button",{onClick:()=>m(z.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(_,{size:16,className:"text-primary"})}),h.jsx("span",{className:"flex-1 text-sm text-ink font-medium",children:z.title}),h.jsx(Uh,{size:14,className:"text-muted group-hover:text-ink transition-colors"})]},z.id)}),h.jsxs("button",{onClick:()=>E(!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(Eg,{size:16,className:"text-primary"})}),h.jsx("span",{className:"flex-1 text-sm text-ink font-medium",children:"Video Tutorials"}),h.jsx(Uh,{size:14,className:"text-muted group-hover:text-ink transition-colors"})]}),x.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 u2=[{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."}],Cm="purple-lab-achievements";function jm(){try{const i=localStorage.getItem(Cm);return i?JSON.parse(i):[]}catch{return[]}}function i2(i){const c=jm();c.includes(i)||(c.push(i),localStorage.setItem(Cm,JSON.stringify(c)))}function c2(){const[i,c]=v.useState([]),r=v.useCallback(d=>{if(jm().includes(d))return;const p=u2.find(E=>E.id===d);p&&(i2(d),c(E=>[...E,p]))},[]),o=v.useCallback(()=>{c(d=>d.slice(1))},[]);return{unlock:r,toastQueue:i,dismissCurrent:o}}function s2({achievement:i,onDismiss:c}){const[r,o]=v.useState(!1);return v.useEffect(()=>{const d=setTimeout(()=>{o(!0)},3500),m=setTimeout(()=>{c()},4e3);return()=>{clearTimeout(d),clearTimeout(m)}},[c]),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(dg,{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 o2({toastQueue:i,onDismiss:c}){return i.length===0?null:h.jsx(s2,{achievement:i[0],onDismiss:c})}function r2(i){const[c,r]=v.useState(!1),o=v.useRef(null),d=v.useRef(i);v.useEffect(()=>{d.current=i},[i]),v.useEffect(()=>{const p=new Og;return o.current=p,p.on("connected",()=>r(!0)),p.on("disconnected",()=>{r(!1),d.current&&d.current(null)}),p.on("state_update",E=>{d.current&&E&&typeof E=="object"&&d.current(E)}),p.connect(),()=>{p.disconnect(),o.current=null}},[]);const m=v.useCallback((p,E)=>{var x;return((x=o.current)==null?void 0:x.on(p,E))||(()=>{})},[]);return{connected:c,subscribe:m}}function f2(){const[i,c]=v.useState(""),[r,o]=v.useState(!1),{toastQueue:d,dismissCurrent:m}=c2(),{connected:p}=r2(()=>{});return v.useEffect(()=>{Ba.getStatus().then(E=>{c(E.version||"")}).catch(()=>{})},[]),h.jsxs("div",{className:"flex h-screen bg-[#FAF9F6]",children:[h.jsx(o2,{toastQueue:d,onDismiss:m}),h.jsx($g,{}),h.jsx(Pg,{}),h.jsx(t2,{}),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(Qg,{wsConnected:p,version:i,onOpenDocs:()=>o(!0)}),h.jsx("main",{id:"main-content",className:"flex-1 overflow-auto",children:h.jsx(r1,{})}),h.jsx(n2,{open:r,onClose:()=>o(!1)})]})}const d2={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:sv},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:hv},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:gg},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:Dv}};function h2({notification:i,onDismiss:c}){const{type:r,title:o,message:d,duration:m=5e3}=i,p=d2[r],E=v.useRef(null),x=v.useCallback(()=>{c(i.id)},[c,i.id]);return v.useEffect(()=>{if(m>0)return E.current=setTimeout(x,m),()=>{E.current&&clearTimeout(E.current)}},[m,x]),h.jsxs("div",{className:`
424
424
  flex items-start gap-3 p-4 rounded-lg border shadow-lg
425
425
  max-w-sm w-full pointer-events-auto
426
426
  animate-[slideIn_0.3s_ease-out]
@@ -435,4 +435,4 @@ Reason, Act, Reflect, Verify -- the AI's thinking process. It plans what to do (
435
435
  from { opacity: 0; transform: translateX(100%); }
436
436
  to { opacity: 1; transform: translateX(0); }
437
437
  }
438
- `}),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:o}),d&&h.jsx("p",{className:"text-xs text-[#6B6960] dark:text-[#8A8880] mt-0.5",children:d})]}),h.jsx("button",{onClick:x,className:"flex-shrink-0 text-[#939084] hover:text-[#36342E] dark:hover:text-[#E8E6E3] transition-colors","aria-label":"Dismiss notification",children:h.jsx(ea,{size:14})})]})}function h2({notifications:i,onDismiss:c}){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(d2,{notification:r,onDismiss:c},r.id))})}const jm=v.createContext({notify:()=>"",dismiss:()=>{},dismissAll:()=>{}});let m2=0;function y2({children:i}){const[c,r]=v.useState([]),o=v.useCallback(E=>{const x=`notif-${++m2}-${Date.now()}`,y={...E,id:x};if(r(z=>[...z,y]),document.hidden&&"Notification"in window)if(Notification.permission==="granted")try{new Notification(E.title,{body:E.message||""})}catch{}else Notification.permission!=="denied"&&Notification.requestPermission().then(z=>{if(z==="granted")try{new Notification(E.title,{body:E.message||""})}catch{}});return x},[]),d=v.useCallback(E=>{r(x=>x.filter(y=>y.id!==E))},[]),m=v.useCallback(()=>{r([])},[]),p=v.useMemo(()=>({notify:o,dismiss:d,dismissAll:m}),[o,d,m]);return h.jsxs(jm.Provider,{value:p,children:[i,h.jsx(h2,{notifications:c,onDismiss:d})]})}function U2(){return v.useContext(jm)}function Xh({children:i}){const{user:c,loading:r,isLocalMode:o}=Em();return r?h.jsx("div",{className:"h-screen bg-[#FAF9F6] flex items-center justify-center text-[#6B6960] text-sm",children:"Loading..."}):o?h.jsx(h.Fragment,{children:i}):c?h.jsx(h.Fragment,{children:i}):h.jsx(s1,{to:"/login",replace:!0})}function pi({variant:i="text",width:c,height:r,className:o=""}){const d="animate-pulse bg-[#ECEAE3]/60 rounded";if(i==="circle"){const m=c||"2rem";return h.jsx("div",{className:`${d} rounded-full flex-shrink-0 ${o}`,style:{width:m,height:m}})}return i==="block"?h.jsx("div",{className:`${d} rounded-btn ${o}`,style:{width:c||"100%",height:r||"4rem"}}):h.jsx("div",{className:`${d} rounded-btn ${o}`,style:{width:c||"100%",height:r||"0.75rem"}})}function w2(){return h.jsx("div",{className:"p-4 space-y-3",children:[...Array(12)].map((i,c)=>h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx(pi,{variant:"text",width:"1.5rem",height:"10px",className:"flex-shrink-0 opacity-40"}),h.jsx(pi,{variant:"text",width:`${20+Math.random()*60}%`,height:"10px"})]},c))})}typeof window<"u"&&window.addEventListener("beforeunload",i=>{delete i.returnValue});const p2=v.lazy(()=>st(()=>import("./HomePage-CzeoS2V_.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]))),v2=v.lazy(()=>st(()=>import("./ProjectPage-DNujSl6j.js").then(i=>i.P),__vite__mapDeps([17,2,3,18,8,16,19,5,20,21,7,22,11,23,24,6,25,26,27,28,29,30,31,32,33,10,34,13,35,36,37]))),g2=v.lazy(()=>st(()=>import("./ProjectsPage-uHG7kxB-.js"),__vite__mapDeps([38,18,4,5,6,7,39,34,32,1,24,29,35,26,30]))),b2=v.lazy(()=>st(()=>import("./TemplatesPage-Ty72hILN.js"),__vite__mapDeps([40,18,1,12,5,39,13,7,8,25,36,21,41,29]))),x2=v.lazy(()=>st(()=>import("./SettingsPage-BaQJbOgL.js"),__vite__mapDeps([42,31,11,9,22,7,6]))),S2=v.lazy(()=>st(()=>import("./LoginPage-DqCzxsfx.js"),[])),E2=v.lazy(()=>st(()=>import("./TeamsPage-DOFErDqX.js"),__vite__mapDeps([43,18,44,14,3,20,29,33,30,45,5,16,19,11]))),_2=v.lazy(()=>st(()=>import("./AdminPage-DwVUK4v9.js"),__vite__mapDeps([46,18,34,5,44,20,24,25,12,14,7,23,45,41,3,11,47,36]))),T2=v.lazy(()=>st(()=>import("./SystemSettingsPage-C_Q_1WK4.js"),__vite__mapDeps([48,18,29,7,26,24,31,5,30,36,11,15,41,47,33]))),z2=v.lazy(()=>st(()=>import("./MetricsPage-CPYQR0zr.js"),__vite__mapDeps([49,27,12,16,29,32,5,23,13,34]))),N2=v.lazy(()=>st(()=>import("./ShowcasePage-DQR_e-kg.js"),[])),C2=v.lazy(()=>st(()=>import("./MagicPage-CBLqpa55.js"),__vite__mapDeps([50,28,6,22,10]))),j2=v.lazy(()=>st(()=>import("./ComparePage-B0JQMhKG.js"),[])),R2=v.lazy(()=>st(()=>import("./NotFoundPage-B62u4iCs.js"),[]));function ct(){return h.jsxs("div",{className:"h-screen bg-[#FAF9F6] flex flex-col items-center justify-center gap-3",children:[h.jsx(pi,{variant:"block",width:"200px",height:"24px"}),h.jsx(pi,{variant:"text",width:"140px",height:"12px",className:"opacity-50"})]})}function A2(){return h.jsx(Mg,{children:h.jsx(y2,{children:h.jsxs(f1,{children:[h.jsx(Fe,{path:"/login",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(S2,{})})}),h.jsx(Fe,{path:"/project/:sessionId",element:h.jsx(Xh,{children:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(v2,{})})})}),h.jsxs(Fe,{element:h.jsx(Xh,{children:h.jsx(r2,{})}),children:[h.jsx(Fe,{path:"/",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(p2,{})})}),h.jsx(Fe,{path:"/projects",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(g2,{})})}),h.jsx(Fe,{path:"/templates",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(b2,{})})}),h.jsx(Fe,{path:"/settings",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(x2,{})})}),h.jsx(Fe,{path:"/teams",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(E2,{})})}),h.jsx(Fe,{path:"/metrics",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(z2,{})})}),h.jsx(Fe,{path:"/showcase",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(N2,{})})}),h.jsx(Fe,{path:"/magic",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(C2,{})})}),h.jsx(Fe,{path:"/compare",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(j2,{})})}),h.jsx(Fe,{path:"/admin",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(_2,{})})}),h.jsx(Fe,{path:"/admin/settings",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(T2,{})})}),h.jsx(Fe,{path:"*",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(R2,{})})})]})]})})})}rp.createRoot(document.getElementById("root")).render(h.jsx(v.StrictMode,{children:h.jsx(w1,{children:h.jsx(A2,{})})}));export{cm as $,fm as A,dm as B,mm as C,w2 as D,gv as E,pm as F,Nv as G,rm as H,Mv as I,pi as J,vm as K,co as L,so as M,D2 as N,Jv as O,gm as P,Em as Q,oo as R,ng as S,vg as T,bg as U,U2 as V,M2 as W,ea as X,Ev as Y,jg as Z,st as _,Ba as a,Av as a0,_g as a1,Dh as b,W as c,fg as d,o2 as e,zg as f,hm as g,av as h,yg as i,h as j,dv as k,ov as l,tg as m,Jg as n,Zg as o,cv as p,sg as q,v as r,Qv as s,ro as t,lo as u,tv as v,ig as w,ym as x,bm as y,$v as z};
438
+ `}),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:o}),d&&h.jsx("p",{className:"text-xs text-[#6B6960] dark:text-[#8A8880] mt-0.5",children:d})]}),h.jsx("button",{onClick:x,className:"flex-shrink-0 text-[#939084] hover:text-[#36342E] dark:hover:text-[#E8E6E3] transition-colors","aria-label":"Dismiss notification",children:h.jsx(ea,{size:14})})]})}function m2({notifications:i,onDismiss:c}){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(h2,{notification:r,onDismiss:c},r.id))})}const Rm=v.createContext({notify:()=>"",dismiss:()=>{},dismissAll:()=>{}});let y2=0;function p2({children:i}){const[c,r]=v.useState([]),o=v.useCallback(E=>{const x=`notif-${++y2}-${Date.now()}`,y={...E,id:x};if(r(z=>[...z,y]),document.hidden&&"Notification"in window)if(Notification.permission==="granted")try{new Notification(E.title,{body:E.message||""})}catch{}else Notification.permission!=="denied"&&Notification.requestPermission().then(z=>{if(z==="granted")try{new Notification(E.title,{body:E.message||""})}catch{}});return x},[]),d=v.useCallback(E=>{r(x=>x.filter(y=>y.id!==E))},[]),m=v.useCallback(()=>{r([])},[]),p=v.useMemo(()=>({notify:o,dismiss:d,dismissAll:m}),[o,d,m]);return h.jsxs(Rm.Provider,{value:p,children:[i,h.jsx(m2,{notifications:c,onDismiss:d})]})}function k2(){return v.useContext(Rm)}function Vh({children:i}){const{user:c,loading:r,isLocalMode:o}=_m();return r?h.jsx("div",{className:"h-screen bg-[#FAF9F6] flex items-center justify-center text-[#6B6960] text-sm",children:"Loading..."}):o?h.jsx(h.Fragment,{children:i}):c?h.jsx(h.Fragment,{children:i}):h.jsx(o1,{to:"/login",replace:!0})}function pi({variant:i="text",width:c,height:r,className:o=""}){const d="animate-pulse bg-[#ECEAE3]/60 rounded";if(i==="circle"){const m=c||"2rem";return h.jsx("div",{className:`${d} rounded-full flex-shrink-0 ${o}`,style:{width:m,height:m}})}return i==="block"?h.jsx("div",{className:`${d} rounded-btn ${o}`,style:{width:c||"100%",height:r||"4rem"}}):h.jsx("div",{className:`${d} rounded-btn ${o}`,style:{width:c||"100%",height:r||"0.75rem"}})}function L2(){return h.jsx("div",{className:"p-4 space-y-3",children:[...Array(12)].map((i,c)=>h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx(pi,{variant:"text",width:"1.5rem",height:"10px",className:"flex-shrink-0 opacity-40"}),h.jsx(pi,{variant:"text",width:`${20+Math.random()*60}%`,height:"10px"})]},c))})}typeof window<"u"&&window.addEventListener("beforeunload",i=>{delete i.returnValue});const v2=v.lazy(()=>st(()=>import("./HomePage-pU_0fGny.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]))),g2=v.lazy(()=>st(()=>import("./ProjectPage-CiCavQ8n.js").then(i=>i.P),__vite__mapDeps([17,2,3,18,8,16,19,5,20,21,7,22,11,23,24,6,25,26,27,28,29,30,31,32,33,10,34,13,35,36,37]))),b2=v.lazy(()=>st(()=>import("./ProjectsPage-BLCXQwwC.js"),__vite__mapDeps([38,18,4,5,6,7,39,34,32,1,24,29,35,26,30]))),x2=v.lazy(()=>st(()=>import("./TemplatesPage-Bk0QzlPt.js"),__vite__mapDeps([40,18,1,12,5,39,13,7,8,25,36,21,41,29]))),S2=v.lazy(()=>st(()=>import("./SettingsPage-PkxtaMyg.js"),__vite__mapDeps([42,31,11,9,22,7,6]))),E2=v.lazy(()=>st(()=>import("./LoginPage-DTZtt2Yb.js"),[])),_2=v.lazy(()=>st(()=>import("./TeamsPage-ls6h6bNL.js"),__vite__mapDeps([43,18,44,14,3,20,29,33,30,45,5,16,19,11]))),T2=v.lazy(()=>st(()=>import("./AdminPage-CKUOsWZW.js"),__vite__mapDeps([46,18,34,5,44,20,24,25,12,14,7,23,45,41,3,11,47,36]))),z2=v.lazy(()=>st(()=>import("./SystemSettingsPage-DS6Anno1.js"),__vite__mapDeps([48,18,29,7,26,24,31,5,30,36,11,15,41,47,33]))),N2=v.lazy(()=>st(()=>import("./MetricsPage-C-wiKUkv.js"),__vite__mapDeps([49,27,12,16,29,32,5,23,13,34]))),C2=v.lazy(()=>st(()=>import("./ShowcasePage-iECp8Tha.js"),[])),j2=v.lazy(()=>st(()=>import("./MagicPage-10zfra8o.js"),__vite__mapDeps([50,28,6,22,10]))),R2=v.lazy(()=>st(()=>import("./ComparePage-Dg0UdZAk.js"),[])),A2=v.lazy(()=>st(()=>import("./NotFoundPage-BDkcmhYe.js"),[]));function ct(){return h.jsxs("div",{className:"h-screen bg-[#FAF9F6] flex flex-col items-center justify-center gap-3",children:[h.jsx(pi,{variant:"block",width:"200px",height:"24px"}),h.jsx(pi,{variant:"text",width:"140px",height:"12px",className:"opacity-50"})]})}function O2(){return h.jsx(Dg,{children:h.jsx(p2,{children:h.jsxs(d1,{children:[h.jsx(Fe,{path:"/login",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(E2,{})})}),h.jsx(Fe,{path:"/project/:sessionId",element:h.jsx(Vh,{children:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(g2,{})})})}),h.jsxs(Fe,{element:h.jsx(Vh,{children:h.jsx(f2,{})}),children:[h.jsx(Fe,{path:"/",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(v2,{})})}),h.jsx(Fe,{path:"/projects",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(b2,{})})}),h.jsx(Fe,{path:"/templates",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(x2,{})})}),h.jsx(Fe,{path:"/settings",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(S2,{})})}),h.jsx(Fe,{path:"/teams",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(_2,{})})}),h.jsx(Fe,{path:"/metrics",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(N2,{})})}),h.jsx(Fe,{path:"/showcase",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(C2,{})})}),h.jsx(Fe,{path:"/magic",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(j2,{})})}),h.jsx(Fe,{path:"/compare",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(R2,{})})}),h.jsx(Fe,{path:"/admin",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(T2,{})})}),h.jsx(Fe,{path:"/admin/settings",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(z2,{})})}),h.jsx(Fe,{path:"*",element:h.jsx(v.Suspense,{fallback:h.jsx(ct,{}),children:h.jsx(A2,{})})})]})]})})})}const M2="/lab/".replace(/\/$/,"")||"/";fp.createRoot(document.getElementById("root")).render(h.jsx(v.StrictMode,{children:h.jsx(H1,{basename:M2,children:h.jsx(O2,{})})}));export{_v as $,dm as A,hm as B,ym as C,Wv as D,bv as E,vm as F,Cv as G,L2 as H,Dv as I,fm as J,gm as K,co as L,so as M,pi as N,w2 as O,bm as P,Kv as Q,oo as R,ug as S,gg as T,xg as U,_m as V,U2 as W,ea as X,k2 as Y,Rg as Z,st as _,Ba as a,sm as a0,Ov as a1,Tg as a2,Uh as b,W as c,dg as d,r2 as e,H2 as f,Ng as g,mm as h,nv as i,h as j,pg as k,hv as l,rv as m,lg as n,Kg as o,Jg as p,sv as q,v as r,og as s,Xv as t,lo as u,ro as v,lv as w,cg as x,pm as y,xm as z};