@samyx/preview-stacks-ui 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ActionButton.vue_vue_type_script_setup_true_lang-D8Xlp6c9.js +2 -0
- package/dist/assets/{ActionButton.vue_vue_type_script_setup_true_lang-CxT4O7XN.js.map → ActionButton.vue_vue_type_script_setup_true_lang-D8Xlp6c9.js.map} +1 -1
- package/dist/assets/{AxesTab-BJZ9B5js.js → AxesTab-BWzsbFAx.js} +2 -2
- package/dist/assets/{AxesTab-BJZ9B5js.js.map → AxesTab-BWzsbFAx.js.map} +1 -1
- package/dist/assets/ConfigTab-ucr87rD6.js +2 -0
- package/dist/assets/{ConfigTab-CKjpaZmg.js.map → ConfigTab-ucr87rD6.js.map} +1 -1
- package/dist/assets/ConfigView-BbRYGyvZ.js +2 -0
- package/dist/assets/ConfigView-BbRYGyvZ.js.map +1 -0
- package/dist/assets/ConflictNote.vue_vue_type_script_setup_true_lang-DDt6qe65.js +2 -0
- package/dist/assets/ConflictNote.vue_vue_type_script_setup_true_lang-DDt6qe65.js.map +1 -0
- package/dist/assets/DangerTab-BimKNJab.js +2 -0
- package/dist/assets/DangerTab-BimKNJab.js.map +1 -0
- package/dist/assets/DashboardView-DK0qDo-f.js +2 -0
- package/dist/assets/{DashboardView-DqIE-Aof.js.map → DashboardView-DK0qDo-f.js.map} +1 -1
- package/dist/assets/DeploymentDetailView-BcImKApM.js +2 -0
- package/dist/assets/{DeploymentDetailView-nFBQCzq0.js.map → DeploymentDetailView-BcImKApM.js.map} +1 -1
- package/dist/assets/DeploymentsView-Cx9BqQ8Q.js +2 -0
- package/dist/assets/DeploymentsView-Cx9BqQ8Q.js.map +1 -0
- package/dist/assets/DialogTrigger-nWkfUj3N.js +2 -0
- package/dist/assets/DialogTrigger-nWkfUj3N.js.map +1 -0
- package/dist/assets/{EquivalentCommand-BjlPIrt9.js → EquivalentCommand-D92xDU0_.js} +3 -3
- package/dist/assets/{EquivalentCommand-BjlPIrt9.js.map → EquivalentCommand-D92xDU0_.js.map} +1 -1
- package/dist/assets/{ErrorNote.vue_vue_type_script_setup_true_lang-B5-EJpIO.js → ErrorNote.vue_vue_type_script_setup_true_lang-DVbGiVTB.js} +2 -2
- package/dist/assets/{ErrorNote.vue_vue_type_script_setup_true_lang-B5-EJpIO.js.map → ErrorNote.vue_vue_type_script_setup_true_lang-DVbGiVTB.js.map} +1 -1
- package/dist/assets/HelpModal.vue_vue_type_script_setup_true_lang-CSOdBT2E.js +2 -0
- package/dist/assets/HelpModal.vue_vue_type_script_setup_true_lang-CSOdBT2E.js.map +1 -0
- package/dist/assets/JobDetailView-B1sXXVJ5.js +2 -0
- package/dist/assets/JobDetailView-B1sXXVJ5.js.map +1 -0
- package/dist/assets/JobsView-CC7lre3Q.css +1 -0
- package/dist/assets/JobsView-DjP5lXHk.js +2 -0
- package/dist/assets/JobsView-DjP5lXHk.js.map +1 -0
- package/dist/assets/LogViewer.vue_vue_type_script_setup_true_lang-Bhy_5cyC.js +3 -0
- package/dist/assets/{LogViewer.vue_vue_type_script_setup_true_lang-BNqCyGeQ.js.map → LogViewer.vue_vue_type_script_setup_true_lang-Bhy_5cyC.js.map} +1 -1
- package/dist/assets/LoginView-C90w1dZ2.css +1 -0
- package/dist/assets/LoginView-CIkI9Qm_.js +2 -0
- package/dist/assets/LoginView-CIkI9Qm_.js.map +1 -0
- package/dist/assets/LogsTab-D8zhR7Eb.js +6 -0
- package/dist/assets/{LogsTab-CKNkR_07.js.map → LogsTab-D8zhR7Eb.js.map} +1 -1
- package/dist/assets/{NotFoundView-B3377DMC.js → NotFoundView-aUtqh2Qi.js} +2 -2
- package/dist/assets/{NotFoundView-B3377DMC.js.map → NotFoundView-aUtqh2Qi.js.map} +1 -1
- package/dist/assets/NotifiersView-aRHInxVx.js +2 -0
- package/dist/assets/{NotifiersView-BrPpuf5o.js.map → NotifiersView-aRHInxVx.js.map} +1 -1
- package/dist/assets/OverviewTab-ChCj5LAj.js +2 -0
- package/dist/assets/{OverviewTab-DY-d5Ia3.js.map → OverviewTab-ChCj5LAj.js.map} +1 -1
- package/dist/assets/PublicLogsView-DIWJH7qL.js +4 -0
- package/dist/assets/{PublicLogsView-HBPDlV47.js.map → PublicLogsView-DIWJH7qL.js.map} +1 -1
- package/dist/assets/{RefreshButton.vue_vue_type_script_setup_true_lang-C7qymrfD.js → RefreshButton.vue_vue_type_script_setup_true_lang-P7VwWcRa.js} +2 -2
- package/dist/assets/{RefreshButton.vue_vue_type_script_setup_true_lang-C7qymrfD.js.map → RefreshButton.vue_vue_type_script_setup_true_lang-P7VwWcRa.js.map} +1 -1
- package/dist/assets/RegistriesView-D2aCsYIu.js +2 -0
- package/dist/assets/{RegistriesView-B0XRfL2L.js.map → RegistriesView-D2aCsYIu.js.map} +1 -1
- package/dist/assets/RelativeTime.vue_vue_type_script_setup_true_lang-NGvUfuKC.js +2 -0
- package/dist/assets/RelativeTime.vue_vue_type_script_setup_true_lang-NGvUfuKC.js.map +1 -0
- package/dist/assets/{RequiresTab-CwaFcz5T.js → RequiresTab-3BhU5BHd.js} +2 -2
- package/dist/assets/{RequiresTab-CwaFcz5T.js.map → RequiresTab-3BhU5BHd.js.map} +1 -1
- package/dist/assets/RouteTarget.vue_vue_type_script_setup_true_lang-Caee0wEB.js +2 -0
- package/dist/assets/RouteTarget.vue_vue_type_script_setup_true_lang-Caee0wEB.js.map +1 -0
- package/dist/assets/RoutingView-T9afX8_M.js +9 -0
- package/dist/assets/RoutingView-T9afX8_M.js.map +1 -0
- package/dist/assets/RoutingView-tn0RQdqM.css +0 -0
- package/dist/assets/RuntimeTab-Bh2gGuhj.js +2 -0
- package/dist/assets/RuntimeTab-Bh2gGuhj.js.map +1 -0
- package/dist/assets/RuntimeTab-By55qdsQ.css +1 -0
- package/dist/assets/SelectMenu.vue_vue_type_script_setup_true_lang-BtHqT6G1.js +2 -0
- package/dist/assets/{SelectMenu.vue_vue_type_script_setup_true_lang-VAye0ofl.js.map → SelectMenu.vue_vue_type_script_setup_true_lang-BtHqT6G1.js.map} +1 -1
- package/dist/assets/{SettingsView-cuiExi3-.js → SettingsView-DIKjdBdy.js} +2 -2
- package/dist/assets/{SettingsView-cuiExi3-.js.map → SettingsView-DIKjdBdy.js.map} +1 -1
- package/dist/assets/SkeletonList.vue_vue_type_script_setup_true_lang-BmeRGmxf.js +2 -0
- package/dist/assets/{SkeletonList.vue_vue_type_script_setup_true_lang-DMdwApyt.js.map → SkeletonList.vue_vue_type_script_setup_true_lang-BmeRGmxf.js.map} +1 -1
- package/dist/assets/SpecDetailView-Bd4Hx-bI.js +2 -0
- package/dist/assets/{SpecDetailView-Da_PDlft.js.map → SpecDetailView-Bd4Hx-bI.js.map} +1 -1
- package/dist/assets/SpecsView-B9qQPzkG.js +2 -0
- package/dist/assets/{SpecsView-CQHYfu01.js.map → SpecsView-B9qQPzkG.js.map} +1 -1
- package/dist/assets/SsoMark.vue_vue_type_script_setup_true_lang-BBiCq_4w.js +2 -0
- package/dist/assets/SsoMark.vue_vue_type_script_setup_true_lang-BBiCq_4w.js.map +1 -0
- package/dist/assets/SsoView-CltdTdwt.js +2 -0
- package/dist/assets/SsoView-CltdTdwt.js.map +1 -0
- package/dist/assets/SsoView-JmlPQGWM.css +1 -0
- package/dist/assets/StateBadge.vue_vue_type_script_setup_true_lang-nD6Zdx0q.js +2 -0
- package/dist/assets/StateBadge.vue_vue_type_script_setup_true_lang-nD6Zdx0q.js.map +1 -0
- package/dist/assets/{SubmitView-DsR4Rud8.js → SubmitView-D-jg5Wxy.js} +5 -5
- package/dist/assets/{SubmitView-DsR4Rud8.js.map → SubmitView-D-jg5Wxy.js.map} +1 -1
- package/dist/assets/SwarmView-CqFndUrV.js +2 -0
- package/dist/assets/{SwarmView-B-ESSXnj.js.map → SwarmView-CqFndUrV.js.map} +1 -1
- package/dist/assets/Teleport-I0XiM19H.js +4 -0
- package/dist/assets/{Teleport-DTF2H_ia.js.map → Teleport-I0XiM19H.js.map} +1 -1
- package/dist/assets/TerminalTab-Dleba0ru.js +3 -0
- package/dist/assets/{TerminalTab-BboWRxwq.js.map → TerminalTab-Dleba0ru.js.map} +1 -1
- package/dist/assets/UsersView-Bd8B9pLD.css +1 -0
- package/dist/assets/UsersView-BrZbuuOg.js +2 -0
- package/dist/assets/UsersView-BrZbuuOg.js.map +1 -0
- package/dist/assets/VarEditor.vue_vue_type_script_setup_true_lang-uPHU_Ugp.js +2 -0
- package/dist/assets/VarEditor.vue_vue_type_script_setup_true_lang-uPHU_Ugp.js.map +1 -0
- package/dist/assets/VarIO-BVE8A4Ur.css +1 -0
- package/dist/assets/VarIO-BldCQ6Xx.js +15 -0
- package/dist/assets/VarIO-BldCQ6Xx.js.map +1 -0
- package/dist/assets/VariablesView-CQp0T7Q6.js +3 -0
- package/dist/assets/VariablesView-CQp0T7Q6.js.map +1 -0
- package/dist/assets/VariablesView-Ck3IyRCN.css +1 -0
- package/dist/assets/index-B1ONXQzZ.css +1 -0
- package/dist/assets/index-Cqe_7QZw.js +154 -0
- package/dist/assets/index-Cqe_7QZw.js.map +1 -0
- package/dist/assets/useDeployment-BDbkdxpo.js +2 -0
- package/dist/assets/{useDeployment-BDHMCIYu.js.map → useDeployment-BDbkdxpo.js.map} +1 -1
- package/dist/assets/useJobQueue-D5JkRJNX.js +2 -0
- package/dist/assets/useJobQueue-D5JkRJNX.js.map +1 -0
- package/dist/index.html +2 -2
- package/package.json +2 -1
- package/dist/assets/ActionButton.vue_vue_type_script_setup_true_lang-CxT4O7XN.js +0 -2
- package/dist/assets/ConfigTab-CKjpaZmg.js +0 -2
- package/dist/assets/ConflictNote.vue_vue_type_script_setup_true_lang-cZYd7gRK.js +0 -2
- package/dist/assets/ConflictNote.vue_vue_type_script_setup_true_lang-cZYd7gRK.js.map +0 -1
- package/dist/assets/DangerTab-XshYLxAZ.js +0 -2
- package/dist/assets/DangerTab-XshYLxAZ.js.map +0 -1
- package/dist/assets/DashboardView-DqIE-Aof.js +0 -2
- package/dist/assets/DeploymentDetailView-nFBQCzq0.js +0 -2
- package/dist/assets/DeploymentsView-CalAGK0U.js +0 -2
- package/dist/assets/DeploymentsView-CalAGK0U.js.map +0 -1
- package/dist/assets/HelpModal.vue_vue_type_script_setup_true_lang-DWDQ-wIa.js +0 -2
- package/dist/assets/HelpModal.vue_vue_type_script_setup_true_lang-DWDQ-wIa.js.map +0 -1
- package/dist/assets/JobDetailView-BExTkW8o.js +0 -2
- package/dist/assets/JobDetailView-BExTkW8o.js.map +0 -1
- package/dist/assets/JobsView-h0PuFN8o.js +0 -2
- package/dist/assets/JobsView-h0PuFN8o.js.map +0 -1
- package/dist/assets/LogViewer.vue_vue_type_script_setup_true_lang-BNqCyGeQ.js +0 -3
- package/dist/assets/LoginView-CSY6YIsK.js +0 -2
- package/dist/assets/LoginView-CSY6YIsK.js.map +0 -1
- package/dist/assets/LoginView-Djedwklv.css +0 -1
- package/dist/assets/LogsTab-CKNkR_07.js +0 -6
- package/dist/assets/NotifiersView-BrPpuf5o.js +0 -2
- package/dist/assets/OverviewTab-DY-d5Ia3.js +0 -2
- package/dist/assets/PublicLogsView-HBPDlV47.js +0 -4
- package/dist/assets/RegistriesView-B0XRfL2L.js +0 -2
- package/dist/assets/RelativeTime.vue_vue_type_script_setup_true_lang-BoNYQAdk.js +0 -2
- package/dist/assets/RelativeTime.vue_vue_type_script_setup_true_lang-BoNYQAdk.js.map +0 -1
- package/dist/assets/RoutingView-D-qgRSDy.js +0 -9
- package/dist/assets/RoutingView-D-qgRSDy.js.map +0 -1
- package/dist/assets/RuntimeTab-7GuemvVX.js +0 -2
- package/dist/assets/RuntimeTab-7GuemvVX.js.map +0 -1
- package/dist/assets/RuntimeTab-RB6kjod2.css +0 -1
- package/dist/assets/SelectMenu.vue_vue_type_script_setup_true_lang-VAye0ofl.js +0 -2
- package/dist/assets/SkeletonList.vue_vue_type_script_setup_true_lang-DMdwApyt.js +0 -2
- package/dist/assets/SpecDetailView-Da_PDlft.js +0 -2
- package/dist/assets/SpecsView-CQHYfu01.js +0 -2
- package/dist/assets/SsoView-5Kk12W1K.js +0 -2
- package/dist/assets/SsoView-5Kk12W1K.js.map +0 -1
- package/dist/assets/StateBadge.vue_vue_type_script_setup_true_lang-m8_cteEx.js +0 -2
- package/dist/assets/StateBadge.vue_vue_type_script_setup_true_lang-m8_cteEx.js.map +0 -1
- package/dist/assets/SwarmView-B-ESSXnj.js +0 -2
- package/dist/assets/Teleport-DTF2H_ia.js +0 -4
- package/dist/assets/TerminalTab-BboWRxwq.js +0 -3
- package/dist/assets/UsersView-BBn3F_YM.js +0 -2
- package/dist/assets/UsersView-BBn3F_YM.js.map +0 -1
- package/dist/assets/UsersView-Be77zCYE.css +0 -1
- package/dist/assets/VarEditor.vue_vue_type_script_setup_true_lang-D7QFvEED.js +0 -2
- package/dist/assets/VarEditor.vue_vue_type_script_setup_true_lang-D7QFvEED.js.map +0 -1
- package/dist/assets/VariablesView-BAajBPNO.js +0 -2
- package/dist/assets/VariablesView-BAajBPNO.js.map +0 -1
- package/dist/assets/VariablesView-ByeOvDGJ.css +0 -1
- package/dist/assets/index-BXPaPWhH.js +0 -149
- package/dist/assets/index-BXPaPWhH.js.map +0 -1
- package/dist/assets/index-B_k9b7xG.css +0 -1
- package/dist/assets/useDeployment-BDHMCIYu.js +0 -2
- package/dist/assets/useFormat-DIlTY5Dl.js +0 -2
- package/dist/assets/useFormat-DIlTY5Dl.js.map +0 -1
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-CSY6YIsK.js","assets/ActionButton.vue_vue_type_script_setup_true_lang-CxT4O7XN.js","assets/EquivalentCommand-BjlPIrt9.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/EquivalentCommand-BFnZRfDg.css","assets/LoginView-Djedwklv.css","assets/DashboardView-DqIE-Aof.js","assets/useFormat-DIlTY5Dl.js","assets/StateBadge.vue_vue_type_script_setup_true_lang-m8_cteEx.js","assets/SkeletonList.vue_vue_type_script_setup_true_lang-DMdwApyt.js","assets/RefreshButton.vue_vue_type_script_setup_true_lang-C7qymrfD.js","assets/DeploymentsView-CalAGK0U.js","assets/RelativeTime.vue_vue_type_script_setup_true_lang-BoNYQAdk.js","assets/SelectMenu.vue_vue_type_script_setup_true_lang-VAye0ofl.js","assets/Teleport-DTF2H_ia.js","assets/PublicLogsView-HBPDlV47.js","assets/LogViewer.vue_vue_type_script_setup_true_lang-BNqCyGeQ.js","assets/PublicLogsView-BAe90EbI.css","assets/DeploymentDetailView-nFBQCzq0.js","assets/useDeployment-BDHMCIYu.js","assets/useVars-VN9gYdR6.js","assets/ConflictNote.vue_vue_type_script_setup_true_lang-cZYd7gRK.js","assets/ErrorNote.vue_vue_type_script_setup_true_lang-B5-EJpIO.js","assets/OverviewTab-DY-d5Ia3.js","assets/ConfigTab-CKjpaZmg.js","assets/VarEditor.vue_vue_type_script_setup_true_lang-D7QFvEED.js","assets/HelpModal.vue_vue_type_script_setup_true_lang-DWDQ-wIa.js","assets/RuntimeTab-7GuemvVX.js","assets/RuntimeTab-RB6kjod2.css","assets/AxesTab-BJZ9B5js.js","assets/RequiresTab-CwaFcz5T.js","assets/LogsTab-CKNkR_07.js","assets/TerminalTab-BboWRxwq.js","assets/TerminalTab-DbjRludT.css","assets/DangerTab-XshYLxAZ.js","assets/RoutingView-D-qgRSDy.js","assets/SwarmView-B-ESSXnj.js","assets/RegistriesView-B0XRfL2L.js","assets/NotifiersView-BrPpuf5o.js","assets/SpecsView-CQHYfu01.js","assets/SpecDetailView-Da_PDlft.js","assets/SubmitView-DsR4Rud8.js","assets/JobsView-h0PuFN8o.js","assets/JobDetailView-BExTkW8o.js","assets/UsersView-BBn3F_YM.js","assets/UsersView-Be77zCYE.css","assets/SsoView-5Kk12W1K.js","assets/VariablesView-BAajBPNO.js","assets/VariablesView-ByeOvDGJ.css","assets/SettingsView-cuiExi3-.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
3
|
-
* @vue/shared v3.5.40
|
|
4
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
-
* @license MIT
|
|
6
|
-
**/function Ir(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},fn=[],pt=()=>{},fi=()=>!1,Ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rs=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Mr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zl=Object.prototype.hasOwnProperty,le=(e,t)=>Zl.call(e,t),j=Array.isArray,dn=e=>Qn(e)==="[object Map]",xn=e=>Qn(e)==="[object Set]",Zr=e=>Qn(e)==="[object Date]",K=e=>typeof e=="function",pe=e=>typeof e=="string",ze=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",di=e=>(re(e)||K(e))&&K(e.then)&&K(e.catch),hi=Object.prototype.toString,Qn=e=>hi.call(e),ea=e=>Qn(e).slice(8,-1),pi=e=>Qn(e)==="[object Object]",Ts=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Dn=Ir(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ks=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ta=/-\w/g,De=ks(e=>e.replace(ta,t=>t.slice(1).toUpperCase())),na=/\B([A-Z])/g,kt=ks(e=>e.replace(na,"-$1").toLowerCase()),Ps=ks(e=>e.charAt(0).toUpperCase()+e.slice(1)),zs=ks(e=>e?`on${Ps(e)}`:""),Te=(e,t)=>!Object.is(e,t),as=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},gi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Os=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sa=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let eo;const Is=()=>eo||(eo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ms(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=pe(s)?la(s):Ms(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(pe(e)||re(e))return e}const ra=/;(?![^(]*\))/g,oa=/:([^]+)/,ia=/\/\*[^]*?\*\//g;function la(e){const t={};return e.replace(ia,"").split(ra).forEach(n=>{if(n){const s=n.split(oa);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ft(e){let t="";if(pe(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=Ft(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function eh(e){if(!e)return null;let{class:t,style:n}=e;return t&&!pe(t)&&(e.class=Ft(t)),n&&(e.style=Ms(n)),e}const aa="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ca=Ir(aa);function mi(e){return!!e||e===""}function ua(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Bt(e[s],t[s]);return n}function Bt(e,t){if(e===t)return!0;let n=Zr(e),s=Zr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ze(e),s=ze(t),n||s)return e===t;if(n=j(e),s=j(t),n||s)return n&&s?ua(e,t):!1;if(n=re(e),s=re(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Bt(e[i],t[i]))return!1}}return String(e)===String(t)}function Nr(e,t){return e.findIndex(n=>Bt(n,t))}const yi=e=>!!(e&&e.__v_isRef===!0),Ie=e=>pe(e)?e:e==null?"":j(e)||re(e)&&(e.toString===hi||!K(e.toString))?yi(e)?Ie(e.value):JSON.stringify(e,_i,2):String(e),_i=(e,t)=>yi(t)?_i(e,t.value):dn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Js(s,o)+" =>"]=r,n),{})}:xn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Js(n))}:ze(t)?Js(t):re(t)&&!j(t)&&!pi(t)?String(t):t,Js=(e,t="")=>{var n;return ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
-
* @vue/reactivity v3.5.40
|
|
8
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
-
* @license MIT
|
|
10
|
-
**/let xe;class vi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&xe&&(xe.active?(this.parent=xe,this.index=(xe.scopes||(xe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=xe;try{return xe=this,t()}finally{xe=n}}}on(){++this._on===1&&(this.prevScope=xe,xe=this)}off(){if(this._on>0&&--this._on===0){if(xe===this)xe=this.prevScope;else{let t=xe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function th(e){return new vi(e)}function fa(){return xe}function nh(e,t=!1){xe&&xe.cleanups.push(e)}let he;const Ys=new WeakSet;class bi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xe&&(xe.active?xe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ys.has(this)&&(Ys.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,to(this),Ai(this);const t=he,n=tt;he=this,tt=!0;try{return this.fn()}finally{Ci(this),he=t,tt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vr(t);this.deps=this.depsTail=void 0,to(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ys.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fr(this)&&this.run()}get dirty(){return fr(this)}}let Ei=0,Vn,jn;function wi(e,t=!1){if(e.flags|=8,t){e.next=jn,jn=e;return}e.next=Vn,Vn=e}function Lr(){Ei++}function Dr(){if(--Ei>0)return;if(jn){let t=jn;for(jn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vn;){let t=Vn;for(Vn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ai(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ci(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Vr(s),da(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function fr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$n)||(e.globalVersion=$n,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fr(e))))return;e.flags|=2;const t=e.dep,n=he,s=tt;he=e,tt=!0;try{Ai(e);const r=e.fn(e._value);(t.version===0||Te(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{he=n,tt=s,Ci(e),e.flags&=-3}}function Vr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Vr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function da(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tt=!0;const Si=[];function St(){Si.push(tt),tt=!1}function Rt(){const e=Si.pop();tt=e===void 0?!0:e}function to(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let $n=0;class ha{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ns{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!he||!tt||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new ha(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Ri(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=s)}return n}trigger(t){this.version++,$n++,this.notify(t)}notify(t){Lr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dr()}}}function Ri(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ri(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const hs=new WeakMap,en=Symbol(""),dr=Symbol(""),Un=Symbol("");function Me(e,t,n){if(tt&&he){let s=hs.get(e);s||hs.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ns),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=hs.get(e);if(!i){$n++;return}const a=l=>{l&&l.trigger()};if(Lr(),t==="clear")i.forEach(a);else{const l=j(e),c=l&&Ts(n);if(l&&n==="length"){const u=Number(s);i.forEach((f,p)=>{(p==="length"||p===Un||!ze(p)&&p>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Un)),t){case"add":l?c&&a(i.get("length")):(a(i.get(en)),dn(e)&&a(i.get(dr)));break;case"delete":l||(a(i.get(en)),dn(e)&&a(i.get(dr)));break;case"set":dn(e)&&a(i.get(en));break}}Dr()}function pa(e,t){const n=hs.get(e);return n&&n.get(t)}function ln(e){const t=X(e);return t===e?t:(Me(t,"iterate",Un),qe(e)?t:t.map(st))}function Ls(e){return Me(e=X(e),"iterate",Un),e}function dt(e,t){return Tt(e)?yn(tn(e)?st(t):t):st(t)}const ga={__proto__:null,[Symbol.iterator](){return Qs(this,Symbol.iterator,e=>dt(this,e))},concat(...e){return ln(this).concat(...e.map(t=>j(t)?ln(t):t))},entries(){return Qs(this,"entries",e=>(e[1]=dt(this,e[1]),e))},every(e,t){return yt(this,"every",e,t,void 0,arguments)},filter(e,t){return yt(this,"filter",e,t,n=>n.map(s=>dt(this,s)),arguments)},find(e,t){return yt(this,"find",e,t,n=>dt(this,n),arguments)},findIndex(e,t){return yt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yt(this,"findLast",e,t,n=>dt(this,n),arguments)},findLastIndex(e,t){return yt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xs(this,"includes",e)},indexOf(...e){return Xs(this,"indexOf",e)},join(e){return ln(this).join(e)},lastIndexOf(...e){return Xs(this,"lastIndexOf",e)},map(e,t){return yt(this,"map",e,t,void 0,arguments)},pop(){return Tn(this,"pop")},push(...e){return Tn(this,"push",e)},reduce(e,...t){return no(this,"reduce",e,t)},reduceRight(e,...t){return no(this,"reduceRight",e,t)},shift(){return Tn(this,"shift")},some(e,t){return yt(this,"some",e,t,void 0,arguments)},splice(...e){return Tn(this,"splice",e)},toReversed(){return ln(this).toReversed()},toSorted(e){return ln(this).toSorted(e)},toSpliced(...e){return ln(this).toSpliced(...e)},unshift(...e){return Tn(this,"unshift",e)},values(){return Qs(this,"values",e=>dt(this,e))}};function Qs(e,t,n){const s=Ls(e),r=s[t]();return s!==e&&!qe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const ma=Array.prototype;function yt(e,t,n,s,r,o){const i=Ls(e),a=i!==e&&!qe(e),l=i[t];if(l!==ma[t]){const f=l.apply(e,o);return a?st(f):f}let c=n;i!==e&&(a?c=function(f,p){return n.call(this,dt(e,f),p,e)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,e)}));const u=l.call(i,c,s);return a&&r?r(u):u}function no(e,t,n,s){const r=Ls(e),o=r!==e&&!qe(e);let i=n,a=!1;r!==e&&(o?(a=s.length===0,i=function(c,u,f){return a&&(a=!1,c=dt(e,c)),n.call(this,c,dt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=r[t](i,...s);return a?dt(e,l):l}function Xs(e,t,n){const s=X(e);Me(s,"iterate",Un);const r=s[t](...n);return(r===-1||r===!1)&&js(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function Tn(e,t,n=[]){St(),Lr();const s=X(e)[t].apply(e,n);return Dr(),Rt(),s}const ya=Ir("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ze));function _a(e){ze(e)||(e=String(e));const t=X(this);return Me(t,"has",e),t.hasOwnProperty(e)}class ki{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Li:Ni:o?Mi:Ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=j(t);if(!r){let l;if(i&&(l=ga[n]))return l;if(n==="hasOwnProperty")return _a}const a=Reflect.get(t,n,Se(t)?t:s);if((ze(n)?Ti.has(n):ya(n))||(r||Me(t,"get",n),o))return a;if(Se(a)){const l=i&&Ts(n)?a:a.value;return r&&re(l)?pr(l):l}return re(a)?r?pr(a):Kt(a):a}}class Pi extends ki{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=j(t)&&Ts(n);if(!this._isShallow){const c=Tt(o);if(!qe(s)&&!Tt(s)&&(o=X(o),s=X(s)),!i&&Se(o)&&!Se(s))return c||(o.value=s),!0}const a=i?Number(n)<t.length:le(t,n),l=Reflect.set(t,n,s,Se(t)?t:r);return t===X(r)&&l&&(a?Te(s,o)&&Et(t,"set",n,s):Et(t,"add",n,s)),l}deleteProperty(t,n){const s=le(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Et(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!ze(n)||!Ti.has(n))&&Me(t,"has",n),s}ownKeys(t){return Me(t,"iterate",j(t)?"length":en),Reflect.ownKeys(t)}}class Oi extends ki{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const va=new Pi,ba=new Oi,Ea=new Pi(!0),wa=new Oi(!0),hr=e=>e,ss=e=>Reflect.getPrototypeOf(e);function Aa(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=dn(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...s),u=n?hr:t?yn:st;return!t&&Me(o,"iterate",l?dr:en),Ee(Object.create(c),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:a?[u(f[0]),u(f[1])]:u(f),done:p}}})}}function rs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ca(e,t){const n={get(r){const o=this.__v_raw,i=X(o),a=X(r);e||(Te(r,a)&&Me(i,"get",r),Me(i,"get",a));const{has:l}=ss(i),c=t?hr:e?yn:st;if(l.call(i,r))return c(o.get(r));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Me(X(r),"iterate",en),r.size},has(r){const o=this.__v_raw,i=X(o),a=X(r);return e||(Te(r,a)&&Me(i,"has",r),Me(i,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)},forEach(r,o){const i=this,a=i.__v_raw,l=X(a),c=t?hr:e?yn:st;return!e&&Me(l,"iterate",en),a.forEach((u,f)=>r.call(o,c(u),c(f),i))}};return Ee(n,e?{add:rs("add"),set:rs("set"),delete:rs("delete"),clear:rs("clear")}:{add(r){const o=X(this),i=ss(o),a=X(r),l=!t&&!qe(r)&&!Tt(r)?a:r;return i.has.call(o,l)||Te(r,l)&&i.has.call(o,r)||Te(a,l)&&i.has.call(o,a)||(o.add(l),Et(o,"add",l,l)),this},set(r,o){!t&&!qe(o)&&!Tt(o)&&(o=X(o));const i=X(this),{has:a,get:l}=ss(i);let c=a.call(i,r);c||(r=X(r),c=a.call(i,r));const u=l.call(i,r);return i.set(r,o),c?Te(o,u)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=X(this),{has:i,get:a}=ss(o);let l=i.call(o,r);l||(r=X(r),l=i.call(o,r)),a&&a.call(o,r);const c=o.delete(r);return l&&Et(o,"delete",r,void 0),c},clear(){const r=X(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Aa(r,e,t)}),n}function Ds(e,t){const n=Ca(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(le(n,r)&&r in s?n:s,r,o)}const xa={get:Ds(!1,!1)},Sa={get:Ds(!1,!0)},Ra={get:Ds(!0,!1)},Ta={get:Ds(!0,!0)},Ii=new WeakMap,Mi=new WeakMap,Ni=new WeakMap,Li=new WeakMap;function ka(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kt(e){return Tt(e)?e:Vs(e,!1,va,xa,Ii)}function Di(e){return Vs(e,!1,Ea,Sa,Mi)}function pr(e){return Vs(e,!0,ba,Ra,Ni)}function sh(e){return Vs(e,!0,wa,Ta,Li)}function Vs(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=ka(ea(e));if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function tn(e){return Tt(e)?tn(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function qe(e){return!!(e&&e.__v_isShallow)}function js(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Pa(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&gi(e,"__v_skip",!0),e}const st=e=>re(e)?Kt(e):e,yn=e=>re(e)?pr(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function Xe(e){return Vi(e,!1)}function Oa(e){return Vi(e,!0)}function Vi(e,t){return Se(e)?e:new Ia(e,t)}class Ia{constructor(t,n){this.dep=new Ns,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:st(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||qe(t)||Tt(t);t=s?t:X(t),Te(t,n)&&(this._rawValue=t,this._value=s?t:st(t),this.dep.trigger())}}function rh(e){e.dep&&e.dep.trigger()}function q(e){return Se(e)?e.value:e}function oh(e){return K(e)?e():q(e)}const Ma={get:(e,t,n)=>t==="__v_raw"?e:q(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Se(r)&&!Se(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ji(e){return tn(e)?e:new Proxy(e,Ma)}class Na{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ns,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function La(e){return new Na(e)}function ih(e){const t=j(e)?new Array(e.length):{};for(const n in e)t[n]=Fi(e,n);return t}class Da{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=ze(n)?n:String(n),this._raw=X(t);let r=!0,o=t;if(!j(t)||ze(this._key)||!Ts(this._key))do r=!js(o)||qe(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=q(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Se(this._raw[this._key])){const n=this._object[this._key];if(Se(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return pa(this._raw,this._key)}}class Va{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function lh(e,t,n){return Se(e)?e:K(e)?new Va(e):re(e)&&arguments.length>1?Fi(e,t,n):Xe(e)}function Fi(e,t,n){return new Da(e,t,n)}class ja{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ns(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$n-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return wi(this,!0),!0}get value(){const t=this.dep.track();return xi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fa(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new ja(s,r,n)}const os={},ps=new WeakMap;let Yt;function Ba(e,t=!1,n=Yt){if(n){let s=ps.get(n);s||ps.set(n,s=[]),s.push(e)}}function Ha(e,t,n=ne){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:a,call:l}=n,c=S=>r?S:qe(S)||r===!1||r===0?wt(S,1):wt(S);let u,f,p,g,C=!1,w=!1;if(Se(e)?(f=()=>e.value,C=qe(e)):tn(e)?(f=()=>c(e),C=!0):j(e)?(w=!0,C=e.some(S=>tn(S)||qe(S)),f=()=>e.map(S=>{if(Se(S))return S.value;if(tn(S))return c(S);if(K(S))return l?l(S,2):S()})):K(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){St();try{p()}finally{Rt()}}const S=Yt;Yt=u;try{return l?l(e,3,[g]):e(g)}finally{Yt=S}}:f=pt,t&&r){const S=f,U=r===!0?1/0:r;f=()=>wt(S(),U)}const I=fa(),x=()=>{u.stop(),I&&I.active&&Mr(I.effects,u)};if(o&&t){const S=t;t=(...U)=>{const z=S(...U);return x(),z}}let v=w?new Array(e.length).fill(os):os;const k=S=>{if(!(!(u.flags&1)||!u.dirty&&!S))if(t){const U=u.run();if(S||r||C||(w?U.some((z,V)=>Te(z,v[V])):Te(U,v))){p&&p();const z=Yt;Yt=u;try{const V=[U,v===os?void 0:w&&v[0]===os?[]:v,g];v=U,l?l(t,3,V):t(...V)}finally{Yt=z}}}else u.run()};return a&&a(k),u=new bi(f),u.scheduler=i?()=>i(k,!1):k,g=S=>Ba(S,!1,u),p=u.onStop=()=>{const S=ps.get(u);if(S){if(l)l(S,4);else for(const U of S)U();ps.delete(u)}},t?s?k(!0):v=u.run():i?i(k.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function wt(e,t=1/0,n){if(t<=0||!re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Se(e))wt(e.value,t,n);else if(j(e))for(let s=0;s<e.length;s++)wt(e[s],t,n);else if(xn(e)||dn(e))e.forEach(s=>{wt(s,t,n)});else if(pi(e)){for(const s in e)wt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&wt(e[s],t,n)}return e}/**
|
|
11
|
-
* @vue/runtime-core v3.5.40
|
|
12
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
-
* @license MIT
|
|
14
|
-
**/function Xn(e,t,n,s){try{return s?e(...s):e()}catch(r){Fs(r,t,n)}}function et(e,t,n,s){if(K(e)){const r=Xn(e,t,n,s);return r&&di(r)&&r.catch(o=>{Fs(o,t,n)}),r}if(j(e)){const r=[];for(let o=0;o<e.length;o++)r.push(et(e[o],t,n,s));return r}}function Fs(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ne;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(o){St(),Xn(o,null,10,[e,l,c]),Rt();return}}$a(e,n,r,s,i)}function $a(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Be=[];let ft=-1;const hn=[];let Dt=null,cn=0;const Bi=Promise.resolve();let gs=null;function _n(e){const t=gs||Bi;return e?t.then(this?e.bind(this):e):t}function Ua(e){let t=ft+1,n=Be.length;for(;t<n;){const s=t+n>>>1,r=Be[s],o=Gn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function jr(e){if(!(e.flags&1)){const t=Gn(e),n=Be[Be.length-1];!n||!(e.flags&2)&&t>=Gn(n)?Be.push(e):Be.splice(Ua(t),0,e),e.flags|=1,Hi()}}function Hi(){gs||(gs=Bi.then(Ui))}function Ga(e){j(e)?hn.push(...e):Dt&&e.id===-1?Dt.splice(cn+1,0,e):e.flags&1||(hn.push(e),e.flags|=1),Hi()}function so(e,t,n=ft+1){for(;n<Be.length;n++){const s=Be[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Be.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function $i(e){if(hn.length){const t=[...new Set(hn)].sort((n,s)=>Gn(n)-Gn(s));if(hn.length=0,Dt){Dt.push(...t);return}for(Dt=t,cn=0;cn<Dt.length;cn++){const n=Dt[cn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Dt=null,cn=0}}const Gn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ui(e){try{for(ft=0;ft<Be.length;ft++){const t=Be[ft];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Xn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ft<Be.length;ft++){const t=Be[ft];t&&(t.flags&=-2)}ft=-1,Be.length=0,$i(),gs=null,(Be.length||hn.length)&&Ui()}}let Oe=null,Gi=null;function ms(e){const t=Oe;return Oe=e,Gi=e&&e.type.__scopeId||null,t}function me(e,t=Oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&bs(-1);const o=ms(t),i=Ct.length;let a;try{a=e(...r)}finally{for(let l=Ct.length;l>i;l--)Gr();ms(o),s._d&&bs(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Ka(e,t){if(Oe===null)return e;const n=Gs(Oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,a,l=ne]=t[r];o&&(K(o)&&(o={mounted:o,updated:o}),o.deep&&wt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function qt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let l=a.dir[s];l&&(St(),et(l,n,8,[e.el,a,e,t]),Rt())}}function cs(e,t){if(Le){let n=Le.provides;const s=Le.parent&&Le.parent.provides;s===n&&(n=Le.provides=Object.create(s)),n[e]=t}}function nt(e,t,n=!1){const s=ts();if(s||gn){let r=gn?gn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&K(t)?t.call(s&&s.proxy):t}}const Wa=Symbol.for("v-scx"),qa=()=>nt(Wa);function ah(e,t){return Zn(e,null,t)}function ch(e,t){return Zn(e,null,{flush:"post"})}function za(e,t){return Zn(e,null,{flush:"sync"})}function gt(e,t,n){return Zn(e,t,n)}function Zn(e,t,n=ne){const{immediate:s,deep:r,flush:o,once:i}=n,a=Ee({},n),l=t&&s||!t&&o!=="post";let c;if(Jn){if(o==="sync"){const g=qa();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=pt,g.resume=pt,g.pause=pt,g}}const u=Le;a.call=(g,C,w)=>et(g,u,C,w);let f=!1;o==="post"?a.scheduler=g=>{je(g,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(g,C)=>{C?g():jr(g)}),a.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=Ha(e,t,a);return Jn&&(c?c.push(p):l&&p()),p}function Ja(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?Ki(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=ns(this),a=Zn(r,o.bind(s),n);return i(),a}function Ki(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Nt=new WeakMap,Wi=Symbol("_vte"),qi=e=>e.__isTeleport,Qt=e=>e&&(e.disabled||e.disabled===""),Ya=e=>e&&(e.defer||e.defer===""),ro=e=>typeof SVGElement<"u"&&e instanceof SVGElement,oo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,gr=(e,t)=>{const n=e&&e.to;return pe(n)?t?t(n):null:n},Qa={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,a,l,c){const{mc:u,pc:f,pbc:p,o:{insert:g,querySelector:C,createText:w,createComment:I,parentNode:x}}=c,v=Qt(t.props);let{dynamicChildren:k}=t;const S=(V,ee,L)=>{V.shapeFlag&16&&u(V.children,ee,L,r,o,i,a,l)},U=(V=t)=>{const ee=Qt(V.props),L=V.target=gr(V.props,C),J=mr(L,V,w,g);L&&(i!=="svg"&&ro(L)?i="svg":i!=="mathml"&&oo(L)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(L),ee||(S(V,L,J),Mn(V,!1)))},z=V=>{const ee=()=>{if(Nt.get(V)===ee){if(Nt.delete(V),Qt(V.props)){const L=x(V.el)||n;S(V,L,V.anchor),Mn(V,!0)}U(V)}};Nt.set(V,ee),je(ee,o)};if(e==null){const V=t.el=w(""),ee=t.anchor=w("");if(g(V,n,s),g(ee,n,s),Ya(t.props)||o&&o.pendingBranch){z(t);return}v&&(S(t,n,ee),Mn(t,!0)),U()}else{t.el=e.el;const V=t.anchor=e.anchor,ee=Nt.get(e);if(ee){ee.flags|=8,Nt.delete(e),z(t);return}t.targetStart=e.targetStart;const L=t.target=e.target,J=t.targetAnchor=e.targetAnchor,se=Qt(e.props),N=se?n:L,te=se?V:J;if(i==="svg"||ro(L)?i="svg":(i==="mathml"||oo(L))&&(i="mathml"),k?(p(e.dynamicChildren,k,N,r,o,i,a),Ur(e,t,!0)):l||f(e,t,N,te,r,o,i,a,!1),v)se?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):is(t,n,V,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const _e=gr(t.props,C);_e&&(t.target=_e,is(t,_e,null,c,0))}else se&&is(t,L,J,c,1);Mn(t,v)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:p}=e,g=Qt(p),C=o||!g,w=Nt.get(e);if(w&&(w.flags|=8,Nt.delete(e)),f&&(r(c),r(u)),o&&r(l),!w&&(g||f)&&i&16)for(let I=0;I<a.length;I++){const x=a[I];s(x,t,n,C,!!x.dynamicChildren)}},move:is,hydrate:Xa};function is(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=o===2;if(f&&s(i,t,n),!Nt.has(e)&&(!f||Qt(u))&&l&16)for(let p=0;p<c.length;p++)r(c[p],t,n,2);f&&s(a,t,n)}function Xa(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){function p(I,x){let v=x;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,I._lpa=t.targetAnchor&&i(t.targetAnchor);break}}v=i(v)}}function g(I,x){x.anchor=f(i(I),x,a(I),n,s,r,o)}const C=t.target=gr(t.props,l),w=Qt(t.props);if(C){const I=C._lpa||C.firstChild;t.shapeFlag&16&&(w?(g(e,t),p(C,I),t.targetAnchor||mr(C,t,u,c,a(e)===C?e:null)):(t.anchor=i(e),p(C,I),t.targetAnchor||mr(C,t,u,c),f(I&&i(I),t,C,n,s,r,o))),Mn(t,w)}else w&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const uh=Qa;function Mn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function mr(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Wi]=i,e&&(s(o,e,r),s(i,e,r)),i}const Qe=Symbol("_leaveCb"),kn=Symbol("_enterCb");function zi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Sn(()=>{e.isMounted=!0}),Br(()=>{e.isUnmounting=!0}),e}const Ye=[Function,Array],Ji={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ye,onEnter:Ye,onAfterEnter:Ye,onEnterCancelled:Ye,onBeforeLeave:Ye,onLeave:Ye,onAfterLeave:Ye,onLeaveCancelled:Ye,onBeforeAppear:Ye,onAppear:Ye,onAfterAppear:Ye,onAppearCancelled:Ye},Yi=e=>{const t=e.subTree;return t.component?Yi(t.component):t},Za={name:"BaseTransition",props:Ji,setup(e,{slots:t}){const n=ts(),s=zi();return()=>{const r=t.default&&Fr(t.default(),!0),o=r&&r.length?Qi(r):n.subTree?Ke():void 0;if(!o)return;const i=X(e),{mode:a}=i;if(s.isLeaving)return Zs(o);const l=io(o);if(!l)return Zs(o);let c=Kn(l,i,s,n,f=>c=f);l.type!==Ne&&nn(l,c);let u=n.subTree&&io(n.subTree);if(u&&u.type!==Ne&&!Xt(u,l)&&Yi(n).type!==Ne){let f=Kn(u,i,s,n);if(nn(u,f),a==="out-in"&&l.type!==Ne)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Zs(o);a==="in-out"&&l.type!==Ne?f.delayLeave=(p,g,C)=>{const w=Xi(s,u);w[String(u.key)]=u,p[Qe]=()=>{g(),p[Qe]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{C(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Qi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ne){t=n;break}}return t}const ec=Za;function Xi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Kn(e,t,n,s,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:g,onAfterLeave:C,onLeaveCancelled:w,onBeforeAppear:I,onAppear:x,onAfterAppear:v,onAppearCancelled:k}=t,S=String(e.key),U=Xi(n,e),z=(L,J)=>{L&&et(L,s,9,J)},V=(L,J)=>{const se=J[1];z(L,J),j(L)?L.every(N=>N.length<=1)&&se():L.length<=1&&se()},ee={mode:i,persisted:a,beforeEnter(L){let J=l;if(!n.isMounted)if(o)J=I||l;else return;L[Qe]&&L[Qe](!0);const se=U[S];se&&Xt(e,se)&&se.el[Qe]&&se.el[Qe](),z(J,[L])},enter(L){if(U[S]===e)return;let J=c,se=u,N=f;if(!n.isMounted)if(o)J=x||c,se=v||u,N=k||f;else return;let te=!1;L[kn]=Ue=>{te||(te=!0,Ue?z(N,[L]):z(se,[L]),ee.delayedLeave&&ee.delayedLeave(),L[kn]=void 0)};const _e=L[kn].bind(null,!1);J?V(J,[L,_e]):_e()},leave(L,J){const se=String(e.key);if(L[kn]&&L[kn](!0),n.isUnmounting)return J();z(p,[L]);let N=!1;L[Qe]=_e=>{N||(N=!0,J(),_e?z(w,[L]):z(C,[L]),L[Qe]=void 0,U[se]===e&&delete U[se])};const te=L[Qe].bind(null,!1);U[se]=e,g?V(g,[L,te]):te()},clone(L){const J=Kn(L,t,n,s,r);return r&&r(J),J}};return ee}function Zs(e){if(Bs(e))return e=Ht(e),e.children=null,e}function io(e){if(!Bs(e))return qi(e.type)&&e.children?Qi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function nn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,nn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fr(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===be?(i.patchFlag&128&&r++,s=s.concat(Fr(i.children,t,a))):(t||i.type!==Ne)&&s.push(a!=null?Ht(i,{key:a}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function sn(e,t){return K(e)?Ee({name:e.name},t,{setup:e}):e}function fh(){const e=ts();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Zi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function lo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ys=new WeakMap;function Fn(e,t,n,s,r=!1){if(j(e)){e.forEach((w,I)=>Fn(w,t&&(j(t)?t[I]:t),n,s,r));return}if(pn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Fn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Gs(s.component):s.el,i=r?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ne?a.refs={}:a.refs,f=a.setupState,p=X(f),g=f===ne?fi:w=>lo(u,w)?!1:le(p,w),C=(w,I)=>!(I&&lo(u,I));if(c!=null&&c!==l){if(ao(t),pe(c))u[c]=null,g(c)&&(f[c]=null);else if(Se(c)){const w=t;C(c,w.k)&&(c.value=null),w.k&&(u[w.k]=null)}}if(K(l))Xn(l,a,12,[i,u]);else{const w=pe(l),I=Se(l);if(w||I){const x=()=>{if(e.f){const v=w?g(l)?f[l]:u[l]:C()||!e.k?l.value:u[e.k];if(r)j(v)&&Mr(v,o);else if(j(v))v.includes(o)||v.push(o);else if(w)u[l]=[o],g(l)&&(f[l]=u[l]);else{const k=[o];C(l,e.k)&&(l.value=k),e.k&&(u[e.k]=k)}}else w?(u[l]=i,g(l)&&(f[l]=i)):I&&(C(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const v=()=>{x(),ys.delete(e)};v.id=-1,ys.set(e,v),je(v,n)}else ao(e),x()}}}function ao(e){const t=ys.get(e);t&&(t.flags|=8,ys.delete(e))}Is().requestIdleCallback;Is().cancelIdleCallback;const pn=e=>!!e.type.__asyncLoader,Bs=e=>e.type.__isKeepAlive;function tc(e,t){el(e,"a",t)}function nc(e,t){el(e,"da",t)}function el(e,t,n=Le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Hs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bs(r.parent.vnode)&&sc(s,t,n,r),r=r.parent}}function sc(e,t,n,s){const r=Hs(t,e,s,!0);es(()=>{Mr(s[t],r)},n)}function Hs(e,t,n=Le,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{St();const a=ns(n),l=et(t,n,e,i);return a(),Rt(),l});return s?r.unshift(o):r.push(o),o}}const Pt=e=>(t,n=Le)=>{(!Jn||e==="sp")&&Hs(e,(...s)=>t(...s),n)},rc=Pt("bm"),Sn=Pt("m"),oc=Pt("bu"),tl=Pt("u"),Br=Pt("bum"),es=Pt("um"),ic=Pt("sp"),lc=Pt("rtg"),ac=Pt("rtc");function cc(e,t=Le){Hs("ec",e,t)}const nl="components";function yr(e,t){return rl(nl,e,!0,t)||e}const sl=Symbol.for("v-ndc");function co(e){return pe(e)?rl(nl,e,!1)||e:e||sl}function rl(e,t,n=!0,s=!1){const r=Oe||Le;if(r){const o=r.type;{const a=Wc(o,!1);if(a&&(a===t||a===De(t)||a===Ps(De(t))))return o}const i=uo(r[e]||o[e],t)||uo(r.appContext[e],t);return!i&&s?o:i}}function uo(e,t){return e&&(e[t]||e[De(t)]||e[Ps(De(t))])}function _s(e,t,n,s){let r;const o=n,i=j(e);if(i||pe(e)){const a=i&&tn(e);let l=!1,c=!1;a&&(l=!qe(e),c=Tt(e),e=Ls(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(l?c?yn(st(e[u])):st(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,o)}else if(re(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];r[l]=t(e[u],u,l,o)}}else r=[];return r}function uc(e,t,n={},s,r,o){if(Oe.ce||Oe.parent&&pn(Oe.parent)&&Oe.parent.ce){const c=o!=null&&n.key==null?Ee({},n,{key:o}):n,u=Object.keys(c).length>0;return t!=="default"&&(c.name=t),Z(),xt(be,null,[$("slot",c,s)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const a=Ct.length;Z();let l;try{const c=i&&ol(i(n)),u=n.key||o||c&&c.key;l=xt(be,{key:(u&&!ze(u)?u:`_${t}`)+(!c&&s?"_fb":"")},c||(s?s():[]),c&&e._===1?64:-2)}catch(c){for(let u=Ct.length;u>a;u--)Gr();throw c}finally{i&&i._c&&(i._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function ol(e){return e.some(t=>zn(t)?!(t.type===Ne||t.type===be&&!ol(t.children)):!0)?e:null}const _r=e=>e?xl(e)?Gs(e):_r(e.parent):null,Bn=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_r(e.parent),$root:e=>_r(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ll(e),$forceUpdate:e=>e.f||(e.f=()=>{jr(e.update)}),$nextTick:e=>e.n||(e.n=_n.bind(e.proxy)),$watch:e=>Ja.bind(e)}),er=(e,t)=>e!==ne&&!e.__isScriptSetup&&le(e,t),fc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(er(s,t))return i[t]=1,s[t];if(r!==ne&&le(r,t))return i[t]=2,r[t];if(le(o,t))return i[t]=3,o[t];if(n!==ne&&le(n,t))return i[t]=4,n[t];vr&&(i[t]=0)}}const c=Bn[t];let u,f;if(c)return t==="$attrs"&&Me(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==ne&&le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,le(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return er(r,t)?(r[t]=n,!0):s!==ne&&le(s,t)?(s[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},a){let l;return!!(n[a]||e!==ne&&a[0]!=="$"&&le(e,a)||er(t,a)||le(o,a)||le(s,a)||le(Bn,a)||le(r.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wn(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function dh(e,t){const n=Wn(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?j(r)||K(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function hh(e,t){return!e||!t?e||t:j(e)&&j(t)?e.concat(t):Ee({},Wn(e),Wn(t))}let vr=!0;function dc(e){const t=ll(e),n=e.proxy,s=e.ctx;vr=!1,t.beforeCreate&&fo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:g,updated:C,activated:w,deactivated:I,beforeDestroy:x,beforeUnmount:v,destroyed:k,unmounted:S,render:U,renderTracked:z,renderTriggered:V,errorCaptured:ee,serverPrefetch:L,expose:J,inheritAttrs:se,components:N,directives:te,filters:_e}=t;if(c&&hc(c,s,null),i)for(const ce in i){const oe=i[ce];K(oe)&&(s[ce]=oe.bind(n))}if(r){const ce=r.call(n,n);re(ce)&&(e.data=Kt(ce))}if(vr=!0,o)for(const ce in o){const oe=o[ce],mt=K(oe)?oe.bind(n,n):K(oe.get)?oe.get.bind(n,n):pt,Ot=!K(oe)&&K(oe.set)?oe.set.bind(n):pt,ot=Pe({get:mt,set:Ot});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>ot.value,set:$e=>ot.value=$e})}if(a)for(const ce in a)il(a[ce],s,n,ce);if(l){const ce=K(l)?l.call(n):l;Reflect.ownKeys(ce).forEach(oe=>{cs(oe,ce[oe])})}u&&fo(u,e,"c");function we(ce,oe){j(oe)?oe.forEach(mt=>ce(mt.bind(n))):oe&&ce(oe.bind(n))}if(we(rc,f),we(Sn,p),we(oc,g),we(tl,C),we(tc,w),we(nc,I),we(cc,ee),we(ac,z),we(lc,V),we(Br,v),we(es,S),we(ic,L),j(J))if(J.length){const ce=e.exposed||(e.exposed={});J.forEach(oe=>{Object.defineProperty(ce,oe,{get:()=>n[oe],set:mt=>n[oe]=mt,enumerable:!0})})}else e.exposed||(e.exposed={});U&&e.render===pt&&(e.render=U),se!=null&&(e.inheritAttrs=se),N&&(e.components=N),te&&(e.directives=te),L&&Zi(e)}function hc(e,t,n=pt){j(e)&&(e=br(e));for(const s in e){const r=e[s];let o;re(r)?"default"in r?o=nt(r.from||s,r.default,!0):o=nt(r.from||s):o=nt(r),Se(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function fo(e,t,n){et(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function il(e,t,n,s){let r=s.includes(".")?Ki(n,s):()=>n[s];if(pe(e)){const o=t[e];K(o)&>(r,o)}else if(K(e))gt(r,e.bind(n));else if(re(e))if(j(e))e.forEach(o=>il(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&>(r,o,e)}}function ll(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>vs(l,c,i,!0)),vs(l,t,i)),re(t)&&o.set(t,l),l}function vs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&vs(e,o,n,!0),r&&r.forEach(i=>vs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=pc[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const pc={data:ho,props:po,emits:po,methods:Nn,computed:Nn,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:Nn,directives:Nn,watch:mc,provide:ho,inject:gc};function ho(e,t){return t?e?function(){return Ee(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function gc(e,t){return Nn(br(e),br(t))}function br(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ve(e,t){return e?[...new Set([].concat(e,t))]:t}function Nn(e,t){return e?Ee(Object.create(null),e,t):t}function po(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Wn(e),Wn(t??{})):t}function mc(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const s in t)n[s]=Ve(e[s],t[s]);return n}function al(){return{app:null,config:{isNativeTag:fi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let yc=0;function _c(e,t){return function(s,r=null){K(s)||(s=Ee({},s)),r!=null&&!re(r)&&(r=null);const o=al(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:yc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:zc,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&K(u.install)?(i.add(u),u.install(c,...f)):K(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,p){if(!l){const g=c._ceVNode||$(s,r);return g.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(g,u,p),l=!0,c._container=u,u.__vue_app__=c,Gs(g.component)}},onUnmount(u){a.push(u)},unmount(){l&&(et(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=gn;gn=c;try{return u()}finally{gn=f}}};return c}}let gn=null;function ph(e,t,n=ne){const s=ts(),r=De(t),o=kt(t),i=cl(e,r),a=La((l,c)=>{let u,f=ne,p;return za(()=>{const g=e[r];Te(u,g)&&(u=g,c())}),{get(){return l(),n.get?n.get(u):u},set(g){const C=n.set?n.set(g):g;if(!Te(C,u)&&!(f!==ne&&Te(g,f)))return;const w=s.vnode.props,I=!!(w&&(t in w||r in w||o in w)&&(`onUpdate:${t}`in w||`onUpdate:${r}`in w||`onUpdate:${o}`in w));I||(u=g,c()),s.emit(`update:${t}`,C),Te(g,f)&&(Te(g,C)&&!Te(C,p)||I&&f!==ne&&!Te(C,u))&&c(),f=g,p=C}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||ne:a,done:!1}:{done:!0}}}},a}const cl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function vc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const o=t.startsWith("update:"),i=o&&cl(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>pe(u)?u.trim():u)),i.number&&(r=n.map(Os)));let a,l=s[a=zs(t)]||s[a=zs(De(t))];!l&&o&&(l=s[a=zs(kt(t))]),l&&et(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,et(c,e,6,r)}}const bc=new WeakMap;function ul(e,t,n=!1){const s=n?bc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!K(e)){const l=c=>{const u=ul(c,t,!0);u&&(a=!0,Ee(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(re(e)&&s.set(e,null),null):(j(o)?o.forEach(l=>i[l]=null):Ee(i,o),re(e)&&s.set(e,i),i)}function $s(e,t){return!e||!Ss(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,kt(t))||le(e,t))}function go(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:p,setupState:g,ctx:C,inheritAttrs:w}=e,I=ms(e);let x,v;try{if(n.shapeFlag&4){const S=r||s,U=S;x=ht(c.call(U,S,u,f,g,p,C)),v=a}else{const S=t;x=ht(S.length>1?S(f,{attrs:a,slots:i,emit:l}):S(f,null)),v=t.props?a:Ec(a)}}catch(S){Ct.length=0,Fs(S,e,1),x=$(Ne)}let k=x;if(v&&w!==!1){const S=Object.keys(v),{shapeFlag:U}=k;S.length&&U&7&&(o&&S.some(Rs)&&(v=wc(v,o)),k=Ht(k,v,!1,!0))}return n.dirs&&(k=Ht(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&nn(k,n.transition),x=k,ms(I),x}const Ec=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ss(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const s in e)(!Rs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ac(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?mo(s,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(fl(i,s,p)&&!$s(c,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?mo(s,i,c):!0:!!i;return!1}function mo(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(fl(t,e,o)&&!$s(n,o))return!0}return!1}function fl(e,t,n){const s=e[n],r=t[n];return n==="style"&&re(s)&&re(r)?!Bt(s,r):s!==r}function Cc({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const dl={},hl=()=>Object.create(dl),pl=e=>Object.getPrototypeOf(e)===dl;function xc(e,t,n,s=!1){const r={},o=hl();e.propsDefaults=Object.create(null),gl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Di(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Sc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=X(r),[l]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if($s(e.emitsOptions,p))continue;const g=t[p];if(l)if(le(o,p))g!==o[p]&&(o[p]=g,c=!0);else{const C=De(p);r[C]=Er(l,a,C,g,e,!1)}else g!==o[p]&&(o[p]=g,c=!0)}}}else{gl(e,t,r,o)&&(c=!0);let u;for(const f in a)(!t||!le(t,f)&&((u=kt(f))===f||!le(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=Er(l,a,f,void 0,e,!0)):delete r[f]);if(o!==a)for(const f in o)(!t||!le(t,f))&&(delete o[f],c=!0)}c&&Et(e.attrs,"set","")}function gl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Dn(l))continue;const c=t[l];let u;r&&le(r,u=De(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:$s(e.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(o){const l=X(n),c=a||ne;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Er(r,l,f,c[f],e,!le(c,f))}}return i}function Er(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=le(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&K(l)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=ns(r);s=c[n]=l.call(null,t),u()}}else s=l;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===kt(n))&&(s=!0))}return s}const Rc=new WeakMap;function ml(e,t,n=!1){const s=n?Rc:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let l=!1;if(!K(e)){const u=f=>{l=!0;const[p,g]=ml(f,t,!0);Ee(i,p),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return re(e)&&s.set(e,fn),fn;if(j(o))for(let u=0;u<o.length;u++){const f=De(o[u]);yo(f)&&(i[f]=ne)}else if(o)for(const u in o){const f=De(u);if(yo(f)){const p=o[u],g=i[f]=j(p)||K(p)?{type:p}:Ee({},p),C=g.type;let w=!1,I=!0;if(j(C))for(let x=0;x<C.length;++x){const v=C[x],k=K(v)&&v.name;if(k==="Boolean"){w=!0;break}else k==="String"&&(I=!1)}else w=K(C)&&C.name==="Boolean";g[0]=w,g[1]=I,(w||le(g,"default"))&&a.push(f)}}const c=[i,a];return re(e)&&s.set(e,c),c}function yo(e){return e[0]!=="$"&&!Dn(e)}const Hr=e=>e==="_"||e==="_ctx"||e==="$stable",$r=e=>j(e)?e.map(ht):[ht(e)],Tc=(e,t,n)=>{if(t._n)return t;const s=me((...r)=>$r(t(...r)),n);return s._c=!1,s},yl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Hr(r))continue;const o=e[r];if(K(o))t[r]=Tc(r,o,s);else if(o!=null){const i=$r(o);t[r]=()=>i}}},_l=(e,t)=>{const n=$r(t);e.slots.default=()=>n},vl=(e,t,n)=>{for(const s in t)(n||!Hr(s))&&(e[s]=t[s])},kc=(e,t,n)=>{const s=e.slots=hl();if(e.vnode.shapeFlag&32){const r=t._;r?(vl(s,t,n),n&&gi(s,"_",r,!0)):yl(t,s)}else t&&_l(e,t)},Pc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ne;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:vl(r,t,n):(o=!t.$stable,yl(t,r)),i=t}else t&&(_l(e,t),i={default:1});if(o)for(const a in r)!Hr(a)&&i[a]==null&&delete r[a]},je=Lc;function Oc(e){return Ic(e)}function Ic(e,t){const n=Is();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:g=pt,insertStaticContent:C}=e,w=(d,h,m,_=null,E=null,y=null,P=void 0,T=null,R=!!h.dynamicChildren)=>{if(d===h)return;d&&!Xt(d,h)&&(_=b(d),$e(d,E,y,!0),d=null),h.patchFlag===-2&&(R=!1,h.dynamicChildren=null);const{type:A,ref:G,shapeFlag:M}=h;switch(A){case Us:I(d,h,m,_);break;case Ne:x(d,h,m,_);break;case us:d==null&&v(h,m,_,P);break;case be:N(d,h,m,_,E,y,P,T,R);break;default:M&1?U(d,h,m,_,E,y,P,T,R):M&6?te(d,h,m,_,E,y,P,T,R):(M&64||M&128)&&A.process(d,h,m,_,E,y,P,T,R,B)}G!=null&&E?Fn(G,d&&d.ref,y,h||d,!h):G==null&&d&&d.ref!=null&&Fn(d.ref,null,y,d,!0)},I=(d,h,m,_)=>{if(d==null)s(h.el=a(h.children),m,_);else{const E=h.el=d.el;h.children!==d.children&&c(E,h.children)}},x=(d,h,m,_)=>{d==null?s(h.el=l(h.children||""),m,_):h.el=d.el},v=(d,h,m,_)=>{[d.el,d.anchor]=C(d.children,h,m,_,d.el,d.anchor)},k=({el:d,anchor:h},m,_)=>{let E;for(;d&&d!==h;)E=p(d),s(d,m,_),d=E;s(h,m,_)},S=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),r(d),d=m;r(h)},U=(d,h,m,_,E,y,P,T,R)=>{if(h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),d==null)z(h,m,_,E,y,P,T,R);else{const A=d.el&&d.el._isVueCE?d.el:null;try{A&&A._beginPatch(),L(d,h,E,y,P,T,R)}finally{A&&A._endPatch()}}},z=(d,h,m,_,E,y,P,T)=>{let R,A;const{props:G,shapeFlag:M,transition:H,dirs:W}=d;if(R=d.el=i(d.type,y,G&&G.is,G),M&8?u(R,d.children):M&16&&ee(d.children,R,null,_,E,tr(d,y),P,T),W&&qt(d,null,_,"created"),V(R,d,d.scopeId,P,_),G){for(const de in G)de!=="value"&&!Dn(de)&&o(R,de,null,G[de],y,_);"value"in G&&o(R,"value",null,G.value,y),(A=G.onVnodeBeforeMount)&&ct(A,_,d)}W&&qt(d,null,_,"beforeMount");const Q=Mc(E,H);Q&&H.beforeEnter(R),s(R,h,m),((A=G&&G.onVnodeMounted)||Q||W)&&je(()=>{try{A&&ct(A,_,d),Q&&H.enter(R),W&&qt(d,null,_,"mounted")}finally{}},E)},V=(d,h,m,_,E)=>{if(m&&g(d,m),_)for(let y=0;y<_.length;y++)g(d,_[y]);if(E){let y=E.subTree;if(h===y||wl(y.type)&&(y.ssContent===h||y.ssFallback===h)){const P=E.vnode;V(d,P,P.scopeId,P.slotScopeIds,E.parent)}}},ee=(d,h,m,_,E,y,P,T,R=0)=>{for(let A=R;A<d.length;A++){const G=d[A]=T?bt(d[A]):ht(d[A]);w(null,G,h,m,_,E,y,P,T)}},L=(d,h,m,_,E,y,P)=>{const T=h.el=d.el;let{patchFlag:R,dynamicChildren:A,dirs:G}=h;R|=d.patchFlag&16;const M=d.props||ne,H=h.props||ne;let W;if(m&&zt(m,!1),(W=H.onVnodeBeforeUpdate)&&ct(W,m,h,d),G&&qt(h,d,m,"beforeUpdate"),m&&zt(m,!0),A&&(!d.dynamicChildren||d.dynamicChildren.length!==A.length)&&(R=0,P=!1,A=null),(M.innerHTML&&H.innerHTML==null||M.textContent&&H.textContent==null)&&u(T,""),A?J(d.dynamicChildren,A,T,m,_,tr(h,E),y):P||oe(d,h,T,null,m,_,tr(h,E),y,!1),R>0){if(R&16)se(T,M,H,m,E);else if(R&2&&M.class!==H.class&&o(T,"class",null,H.class,E),R&4&&o(T,"style",M.style,H.style,E),R&8){const Q=h.dynamicProps;for(let de=0;de<Q.length;de++){const ue=Q[de],Ae=M[ue],Re=H[ue];(Re!==Ae||ue==="value")&&o(T,ue,Ae,Re,E,m)}}R&1&&d.children!==h.children&&u(T,h.children)}else!P&&A==null&&se(T,M,H,m,E);((W=H.onVnodeUpdated)||G)&&je(()=>{W&&ct(W,m,h,d),G&&qt(h,d,m,"updated")},_)},J=(d,h,m,_,E,y,P)=>{for(let T=0;T<h.length;T++){const R=d[T],A=h[T],G=R.el&&(R.type===be||!Xt(R,A)||R.shapeFlag&198)?f(R.el):m;w(R,A,G,null,_,E,y,P,!0)}},se=(d,h,m,_,E)=>{if(h!==m){if(h!==ne)for(const y in h)!Dn(y)&&!(y in m)&&o(d,y,h[y],null,E,_);for(const y in m){if(Dn(y))continue;const P=m[y],T=h[y];P!==T&&y!=="value"&&o(d,y,T,P,E,_)}"value"in m&&o(d,"value",h.value,m.value,E)}},N=(d,h,m,_,E,y,P,T,R)=>{const A=h.el=d?d.el:a(""),G=h.anchor=d?d.anchor:a("");let{patchFlag:M,dynamicChildren:H,slotScopeIds:W}=h;W&&(T=T?T.concat(W):W),d==null?(s(A,m,_),s(G,m,_),ee(h.children||[],m,G,E,y,P,T,R)):M>0&&M&64&&H&&d.dynamicChildren&&d.dynamicChildren.length===H.length?(J(d.dynamicChildren,H,m,E,y,P,T),(h.key!=null||E&&h===E.subTree)&&Ur(d,h,!0)):oe(d,h,m,G,E,y,P,T,R)},te=(d,h,m,_,E,y,P,T,R)=>{h.slotScopeIds=T,d==null?h.shapeFlag&512?E.ctx.activate(h,m,_,P,R):_e(h,m,_,E,y,P,R):Ue(d,h,R)},_e=(d,h,m,_,E,y,P)=>{const T=d.component=Hc(d,_,E);if(Bs(d)&&(T.ctx.renderer=B),$c(T,!1,P),T.asyncDep){if(E&&E.registerDep(T,we,P),!d.el){const R=T.subTree=$(Ne);x(null,R,h,m),d.placeholder=R.el}}else we(T,d,h,m,E,y,P)},Ue=(d,h,m)=>{const _=h.component=d.component;if(Ac(d,h,m))if(_.asyncDep&&!_.asyncResolved){ce(_,h,m);return}else _.next=h,_.update();else h.el=d.el,_.vnode=h},we=(d,h,m,_,E,y,P)=>{const T=()=>{if(d.isMounted){let{next:M,bu:H,u:W,parent:Q,vnode:de}=d;{const lt=bl(d);if(lt){M&&(M.el=de.el,ce(d,M,P)),lt.asyncDep.then(()=>{je(()=>{d.isUnmounted||A()},E)});return}}let ue=M,Ae;zt(d,!1),M?(M.el=de.el,ce(d,M,P)):M=de,H&&as(H),(Ae=M.props&&M.props.onVnodeBeforeUpdate)&&ct(Ae,Q,M,de),zt(d,!0);const Re=go(d),it=d.subTree;d.subTree=Re,w(it,Re,f(it.el),b(it),d,E,y),M.el=Re.el,ue===null&&Cc(d,Re.el),W&&je(W,E),(Ae=M.props&&M.props.onVnodeUpdated)&&je(()=>ct(Ae,Q,M,de),E)}else{let M;const{el:H,props:W}=h,{bm:Q,m:de,parent:ue,root:Ae,type:Re}=d,it=pn(h);zt(d,!1),Q&&as(Q),!it&&(M=W&&W.onVnodeBeforeMount)&&ct(M,ue,h),zt(d,!0);{Ae.ce&&Ae.ce._hasShadowRoot()&&Ae.ce._injectChildStyle(Re,d.parent?d.parent.type:void 0);const lt=d.subTree=go(d);w(null,lt,m,_,d,E,y),h.el=lt.el}if(de&&je(de,E),!it&&(M=W&&W.onVnodeMounted)){const lt=h;je(()=>ct(M,ue,lt),E)}(h.shapeFlag&256||ue&&pn(ue.vnode)&&ue.vnode.shapeFlag&256)&&d.a&&je(d.a,E),d.isMounted=!0,h=m=_=null}};d.scope.on();const R=d.effect=new bi(T);d.scope.off();const A=d.update=R.run.bind(R),G=d.job=R.runIfDirty.bind(R);G.i=d,G.id=d.uid,R.scheduler=()=>jr(G),zt(d,!0),A()},ce=(d,h,m)=>{h.component=d;const _=d.vnode.props;d.vnode=h,d.next=null,Sc(d,h.props,_,m),Pc(d,h.children,m),St(),so(d),Rt()},oe=(d,h,m,_,E,y,P,T,R=!1)=>{const A=d&&d.children,G=d?d.shapeFlag:0,M=h.children,{patchFlag:H,shapeFlag:W}=h;if(H>0){if(H&128){Ot(A,M,m,_,E,y,P,T,R);return}else if(H&256){mt(A,M,m,_,E,y,P,T,R);return}}W&8?(G&16&&Je(A,E,y),M!==A&&u(m,M)):G&16?W&16?Ot(A,M,m,_,E,y,P,T,R):Je(A,E,y,!0):(G&8&&u(m,""),W&16&&ee(M,m,_,E,y,P,T,R))},mt=(d,h,m,_,E,y,P,T,R)=>{d=d||fn,h=h||fn;const A=d.length,G=h.length,M=Math.min(A,G);let H;for(H=0;H<M;H++){const W=h[H]=R?bt(h[H]):ht(h[H]);w(d[H],W,m,null,E,y,P,T,R)}A>G?Je(d,E,y,!0,!1,M):ee(h,m,_,E,y,P,T,R,M)},Ot=(d,h,m,_,E,y,P,T,R)=>{let A=0;const G=h.length;let M=d.length-1,H=G-1;for(;A<=M&&A<=H;){const W=d[A],Q=h[A]=R?bt(h[A]):ht(h[A]);if(Xt(W,Q))w(W,Q,m,null,E,y,P,T,R);else break;A++}for(;A<=M&&A<=H;){const W=d[M],Q=h[H]=R?bt(h[H]):ht(h[H]);if(Xt(W,Q))w(W,Q,m,null,E,y,P,T,R);else break;M--,H--}if(A>M){if(A<=H){const W=H+1,Q=W<G?h[W].el:_;for(;A<=H;)w(null,h[A]=R?bt(h[A]):ht(h[A]),m,Q,E,y,P,T,R),A++}}else if(A>H)for(;A<=M;)$e(d[A],E,y,!0),A++;else{const W=A,Q=A,de=new Map;for(A=Q;A<=H;A++){const Ge=h[A]=R?bt(h[A]):ht(h[A]);Ge.key!=null&&de.set(Ge.key,A)}let ue,Ae=0;const Re=H-Q+1;let it=!1,lt=0;const Rn=new Array(Re);for(A=0;A<Re;A++)Rn[A]=0;for(A=W;A<=M;A++){const Ge=d[A];if(Ae>=Re){$e(Ge,E,y,!0);continue}let at;if(Ge.key!=null)at=de.get(Ge.key);else for(ue=Q;ue<=H;ue++)if(Rn[ue-Q]===0&&Xt(Ge,h[ue])){at=ue;break}at===void 0?$e(Ge,E,y,!0):(Rn[at-Q]=A+1,at>=lt?lt=at:it=!0,w(Ge,h[at],m,null,E,y,P,T,R),Ae++)}const Yr=it?Nc(Rn):fn;for(ue=Yr.length-1,A=Re-1;A>=0;A--){const Ge=Q+A,at=h[Ge],Qr=h[Ge+1],Xr=Ge+1<G?Qr.el||El(Qr):_;Rn[A]===0?w(null,at,m,Xr,E,y,P,T,R):it&&(ue<0||A!==Yr[ue]?ot(at,m,Xr,2):ue--)}}},ot=(d,h,m,_,E=null)=>{const{el:y,type:P,transition:T,children:R,shapeFlag:A}=d;if(A&6){ot(d.component.subTree,h,m,_);return}if(A&128){d.suspense.move(h,m,_);return}if(A&64){P.move(d,h,m,B);return}if(P===be){s(y,h,m);for(let M=0;M<R.length;M++)ot(R[M],h,m,_);s(d.anchor,h,m);return}if(P===us){k(d,h,m);return}if(_!==2&&A&1&&T)if(_===0)T.persisted&&!y[Qe]?s(y,h,m):(T.beforeEnter(y),s(y,h,m),je(()=>T.enter(y),E));else{const{leave:M,delayLeave:H,afterLeave:W}=T,Q=()=>{d.ctx.isUnmounted?r(y):s(y,h,m)},de=()=>{const ue=y._isLeaving||!!y[Qe];y._isLeaving&&y[Qe](!0),T.persisted&&!ue?Q():M(y,()=>{Q(),W&&W()})};H?H(y,Q,de):de()}else s(y,h,m)},$e=(d,h,m,_=!1,E=!1)=>{const{type:y,props:P,ref:T,children:R,dynamicChildren:A,shapeFlag:G,patchFlag:M,dirs:H,cacheIndex:W,memo:Q}=d;if(M===-2&&(E=!1),T!=null&&(St(),Fn(T,null,m,d,!0),Rt()),W!=null&&(h.renderCache[W]=void 0),G&256){h.ctx.deactivate(d);return}const de=G&1&&H,ue=!pn(d);let Ae;if(ue&&(Ae=P&&P.onVnodeBeforeUnmount)&&ct(Ae,h,d),G&6)Wt(d.component,m,_);else{if(G&128){d.suspense.unmount(m,_);return}de&&qt(d,null,h,"beforeUnmount"),G&64?d.type.remove(d,h,m,B,_):A&&!A.hasOnce&&(y!==be||M>0&&M&64)?Je(A,h,m,!1,!0):(y===be&&M&384||!E&&G&16)&&Je(R,h,m),_&&rn(d)}const Re=Q!=null&&W==null;(ue&&(Ae=P&&P.onVnodeUnmounted)||de||Re)&&je(()=>{Ae&&ct(Ae,h,d),de&&qt(d,null,h,"unmounted"),Re&&(d.el=null)},m)},rn=d=>{const{type:h,el:m,anchor:_,transition:E}=d;if(h===be){on(m,_);return}if(h===us){S(d);return}const y=()=>{r(m),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:P,delayLeave:T}=E,R=()=>P(m,y);T?T(d.el,y,R):R()}else y()},on=(d,h)=>{let m;for(;d!==h;)m=p(d),r(d),d=m;r(h)},Wt=(d,h,m)=>{const{bum:_,scope:E,job:y,subTree:P,um:T,m:R,a:A}=d;_o(R),_o(A),_&&as(_),E.stop(),y&&(y.flags|=8,$e(P,d,h,m)),T&&je(T,h),je(()=>{d.isUnmounted=!0},h)},Je=(d,h,m,_=!1,E=!1,y=0)=>{for(let P=y;P<d.length;P++)$e(d[P],h,m,_,E)},b=d=>{if(d.shapeFlag&6)return b(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[Wi];return m?p(m):h};let D=!1;const O=(d,h,m)=>{let _;d==null?h._vnode&&($e(h._vnode,null,null,!0),_=h._vnode.component):w(h._vnode||null,d,h,null,null,null,m),h._vnode=d,D||(D=!0,so(_),$i(),D=!1)},B={p:w,um:$e,m:ot,r:rn,mt:_e,mc:ee,pc:oe,pbc:J,n:b,o:e};return{render:O,hydrate:void 0,createApp:_c(O)}}function tr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function zt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=bt(r[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Ur(i,a)),a.type===Us&&(a.patchFlag===-1&&(a=r[o]=bt(a)),a.el=i.el),a.type===Ne&&!a.el&&(a.el=i.el)}}function Nc(e){const t=e.slice(),n=[0];let s,r,o,i,a;const l=e.length;for(s=0;s<l;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function bl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bl(t)}function _o(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function El(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?El(t.subTree):null}const wl=e=>e.__isSuspense;function Lc(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Ga(e)}const be=Symbol.for("v-fgt"),Us=Symbol.for("v-txt"),Ne=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),Ct=[];let We=null;function Z(e=!1){Ct.push(We=e?null:[])}function Gr(){Ct.pop(),We=Ct[Ct.length-1]||null}let qn=1;function bs(e,t=!1){qn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function Al(e){return e.dynamicChildren=qn>0?We||fn:null,Gr(),qn>0&&We&&We.push(e),e}function ge(e,t,n,s,r,o){return Al(F(e,t,n,s,r,o,!0))}function xt(e,t,n,s,r){return Al($(e,t,n,s,r,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function Xt(e,t){return e.type===t.type&&e.key===t.key}const Cl=({key:e})=>e??null,fs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||Se(e)||K(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,s=0,r=null,o=e===be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cl(t),ref:t&&fs(t),scopeId:Gi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return a?(Es(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=pe(n)?8:16),qn>0&&!i&&We&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&We.push(l),l}const $=Dc;function Dc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===sl)&&(e=Ne),zn(e)){const a=Ht(e,t,!0);return n&&Es(a,n),qn>0&&!o&&We&&(a.shapeFlag&6?We[We.indexOf(e)]=a:We.push(a)),a.patchFlag=-2,a}if(qc(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:a,style:l}=t;a&&!pe(a)&&(t.class=Ft(a)),re(l)&&(js(l)&&!j(l)&&(l=Ee({},l)),t.style=Ms(l))}const i=pe(e)?1:wl(e)?128:qi(e)?64:re(e)?4:K(e)?2:0;return F(e,t,n,s,r,i,o,!0)}function Vc(e){return e?js(e)||pl(e)?Ee({},e):e:null}function Ht(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?jc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Cl(c),ref:t&&t.ref?n&&o?j(o)?o.concat(fs(t)):[o,fs(t)]:fs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ht(e.ssContent),ssFallback:e.ssFallback&&Ht(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&nn(u,l.clone(u)),u}function jt(e=" ",t=0){return $(Us,null,e,t)}function gh(e,t){const n=$(us,null,e);return n.staticCount=t,n}function Ke(e="",t=!1){return t?(Z(),xt(Ne,null,e)):$(Ne,null,e)}function ht(e){return e==null||typeof e=="boolean"?$(Ne):j(e)?$(be,null,e.slice()):zn(e)?bt(e):$(Us,null,String(e))}function bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ht(e)}function Es(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Es(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!pl(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(K(t)){if(s&65){Es(e,{default:t});return}t={default:t,_ctx:Oe},n=32}else t=String(t),s&64?(n=16,t=[jt(t)]):n=8;e.children=t,e.shapeFlag|=n}function jc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ft([t.class,s.class]));else if(r==="style")t.style=Ms([t.style,s.style]);else if(Ss(r)){const o=t[r],i=s[r];i&&o!==i&&!(j(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Rs(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function ct(e,t,n,s=null){et(e,t,7,[n,s])}const Fc=al();let Bc=0;function Hc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Fc,o={uid:Bc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new vi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ml(s,r),emitsOptions:ul(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=vc.bind(null,o),e.ce&&e.ce(o),o}let Le=null;const ts=()=>Le||Oe;let ws,wr;{const e=Is(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};ws=t("__VUE_INSTANCE_SETTERS__",n=>Le=n),wr=t("__VUE_SSR_SETTERS__",n=>Jn=n)}const ns=e=>{const t=Le;return ws(e),e.scope.on(),()=>{e.scope.off(),ws(t)}},vo=()=>{Le&&Le.scope.off(),ws(null)};function xl(e){return e.vnode.shapeFlag&4}let Jn=!1;function $c(e,t=!1,n=!1){t&&wr(t);const{props:s,children:r}=e.vnode,o=xl(e);xc(e,s,o,t),kc(e,r,n||t);const i=o?Uc(e,t):void 0;return t&&wr(!1),i}function Uc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fc);const{setup:s}=n;if(s){St();const r=e.setupContext=s.length>1?Kc(e):null,o=ns(e),i=Xn(s,e,0,[e.props,r]),a=di(i);if(Rt(),o(),(a||e.sp)&&!pn(e)&&Zi(e),a){if(i.then(vo,vo),t)return i.then(l=>{bo(e,l)}).catch(l=>{Fs(l,e,0)});e.asyncDep=i}else bo(e,i)}else Sl(e)}function bo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=ji(t)),Sl(e)}function Sl(e,t,n){const s=e.type;e.render||(e.render=s.render||pt);{const r=ns(e);St();try{dc(e)}finally{Rt(),r()}}}const Gc={get(e,t){return Me(e,"get",""),e[t]}};function Kc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Gc),slots:e.slots,emit:e.emit,expose:t}}function Gs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(Pa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bn)return Bn[n](e)},has(t,n){return n in t||n in Bn}})):e.proxy}function Wc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function qc(e){return K(e)&&"__vccOpts"in e}const Pe=(e,t)=>Fa(e,t,Jn);function vn(e,t,n){try{bs(-1);const s=arguments.length;return s===2?re(t)&&!j(t)?zn(t)?$(e,null,[t]):$(e,t):$(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&zn(n)&&(n=[n]),$(e,t,n))}finally{bs(1)}}const zc="3.5.40";/**
|
|
15
|
-
* @vue/runtime-dom v3.5.40
|
|
16
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
-
* @license MIT
|
|
18
|
-
**/let Ar;const Eo=typeof window<"u"&&window.trustedTypes;if(Eo)try{Ar=Eo.createPolicy("vue",{createHTML:e=>e})}catch{}const Rl=Ar?e=>Ar.createHTML(e):e=>e,Jc="http://www.w3.org/2000/svg",Yc="http://www.w3.org/1998/Math/MathML",vt=typeof document<"u"?document:null,wo=vt&&vt.createElement("template"),Qc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?vt.createElementNS(Jc,e):t==="mathml"?vt.createElementNS(Yc,e):n?vt.createElement(e,{is:n}):vt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>vt.createTextNode(e),createComment:e=>vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{wo.innerHTML=Rl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=wo.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},It="transition",Pn="animation",bn=Symbol("_vtc"),Tl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kl=Ee({},Ji,Tl),Xc=e=>(e.displayName="Transition",e.props=kl,e),Ks=Xc((e,{slots:t})=>vn(ec,Pl(e),t)),Jt=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ao=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function Pl(e){const t={};for(const N in e)N in Tl||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,C=Zc(r),w=C&&C[0],I=C&&C[1],{onBeforeEnter:x,onEnter:v,onEnterCancelled:k,onLeave:S,onLeaveCancelled:U,onBeforeAppear:z=x,onAppear:V=v,onAppearCancelled:ee=k}=t,L=(N,te,_e,Ue)=>{N._enterCancelled=Ue,Lt(N,te?u:a),Lt(N,te?c:i),_e&&_e()},J=(N,te)=>{N._isLeaving=!1,Lt(N,f),Lt(N,g),Lt(N,p),te&&te()},se=N=>(te,_e)=>{const Ue=N?V:v,we=()=>L(te,N,_e);Jt(Ue,[te,we]),Co(()=>{Lt(te,N?l:o),ut(te,N?u:a),Ao(Ue)||xo(te,s,w,we)})};return Ee(t,{onBeforeEnter(N){Jt(x,[N]),ut(N,o),ut(N,i)},onBeforeAppear(N){Jt(z,[N]),ut(N,l),ut(N,c)},onEnter:se(!1),onAppear:se(!0),onLeave(N,te){N._isLeaving=!0;const _e=()=>J(N,te);ut(N,f),N._enterCancelled?(ut(N,p),Cr(N)):(Cr(N),ut(N,p)),Co(()=>{N._isLeaving&&(Lt(N,f),ut(N,g),Ao(S)||xo(N,s,I,_e))}),Jt(S,[N,_e])},onEnterCancelled(N){L(N,!1,void 0,!0),Jt(k,[N])},onAppearCancelled(N){L(N,!0,void 0,!0),Jt(ee,[N])},onLeaveCancelled(N){J(N),Jt(U,[N])}})}function Zc(e){if(e==null)return null;if(re(e))return[nr(e.enter),nr(e.leave)];{const t=nr(e);return[t,t]}}function nr(e){return sa(e)}function ut(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[bn]||(e[bn]=new Set)).add(t)}function Lt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[bn];n&&(n.delete(t),n.size||(e[bn]=void 0))}function Co(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let eu=0;function xo(e,t,n,s){const r=e._endId=++eu,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ol(e,t);if(!i)return s();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,p),o()},p=g=>{g.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,p)}function Ol(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${It}Delay`),o=s(`${It}Duration`),i=So(r,o),a=s(`${Pn}Delay`),l=s(`${Pn}Duration`),c=So(a,l);let u=null,f=0,p=0;t===It?i>0&&(u=It,f=i,p=o.length):t===Pn?c>0&&(u=Pn,f=c,p=l.length):(f=Math.max(i,c),u=f>0?i>c?It:Pn:null,p=u?u===It?o.length:l.length:0);const g=u===It&&/\b(?:transform|all)(?:,|$)/.test(s(`${It}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:g}}function So(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ro(n)+Ro(e[s])))}function Ro(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Cr(e){return(e?e.ownerDocument:document).body.offsetHeight}function tu(e,t,n){const s=e[bn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const To=Symbol("_vod"),Il=Symbol("_vsh"),nu=Symbol(""),su=/(?:^|;)\s*display\s*:/;function ru(e,t,n){const s=e.style,r=pe(n);let o=!1;if(n&&!r){if(t)if(pe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ln(s,a,"")}else for(const i in t)n[i]==null&&Ln(s,i,"");for(const i in n){i==="display"&&(o=!0);const a=n[i];a!=null?iu(e,i,!pe(t)&&t?t[i]:void 0,a)||Ln(s,i,a):Ln(s,i,"")}}else if(r){if(t!==n){const i=s[nu];i&&(n+=";"+i),s.cssText=n,o=su.test(n)}}else t&&e.removeAttribute("style");To in e&&(e[To]=o?s.display:"",e[Il]&&(s.display="none"))}const ko=/\s*!important$/;function Ln(e,t,n){if(j(n))n.forEach(s=>Ln(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ou(e,t);ko.test(n)?e.setProperty(kt(s),n.replace(ko,""),"important"):e[s]=n}}const Po=["Webkit","Moz","ms"],sr={};function ou(e,t){const n=sr[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return sr[t]=s;s=Ps(s);for(let r=0;r<Po.length;r++){const o=Po[r]+s;if(o in e)return sr[t]=o}return t}function iu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&pe(s)&&n===s}const Oo="http://www.w3.org/1999/xlink";function Io(e,t,n,s,r,o=ca(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Oo,t.slice(6,t.length)):e.setAttributeNS(Oo,t,n):n==null||o&&!mi(n)?e.removeAttribute(t):e.setAttribute(t,o?"":ze(n)?String(n):n)}function Mo(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Rl(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=mi(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function At(e,t,n,s){e.addEventListener(t,n,s)}function lu(e,t,n,s){e.removeEventListener(t,n,s)}const No=Symbol("_vei");function au(e,t,n,s,r=null){const o=e[No]||(e[No]={}),i=o[t];if(s&&i)i.value=s;else{const[a,l]=fu(t);if(s){const c=o[t]=pu(s,r);At(e,a,c,l)}else i&&(lu(e,a,i,l),o[t]=void 0)}}const cu=/(Once|Passive|Capture)$/,uu=/^on:?(?:Once|Passive|Capture)$/;function fu(e){let t,n;for(;(n=e.match(cu))&&!uu.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let rr=0;const du=Promise.resolve(),hu=()=>rr||(du.then(()=>rr=0),rr=Date.now());function pu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(j(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),a=[s];for(let l=0;l<i.length&&!s._stopped;l++){const c=i[l];c&&et(c,t,5,a)}}else et(r,t,5,[s])};return n.value=e,n.attached=hu(),n}const Lo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?tu(e,s,i):t==="style"?ru(e,n,s):Ss(t)?Rs(t)||au(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mu(e,t,s,i))?(Mo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,s,i,o,t!=="value")):e._isVueCE&&(yu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!pe(s)))?Mo(e,De(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Io(e,t,s,i))};function mu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lo(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Lo(t)&&pe(n)?!1:t in e}function yu(e,t){const n=e._def.props;if(!n)return!1;const s=De(t);return Array.isArray(n)?n.some(r=>De(r)===s):Object.keys(n).some(r=>De(r)===s)}const Ml=new WeakMap,Nl=new WeakMap,As=Symbol("_moveCb"),Do=Symbol("_enterCb"),_u=e=>(delete e.props.mode,e),vu=_u({name:"TransitionGroup",props:Ee({},kl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ts(),s=zi();let r,o;return tl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Cu(r[0].el,n.vnode.el,i)){r=[];return}r.forEach(Eu),r.forEach(wu);const a=r.filter(Au);Cr(n.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;ut(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[As]=p=>{p&&p.target!==c||(!p||p.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[As]=null,Lt(c,i))};c.addEventListener("transitionend",f)}),r=[]}),()=>{const i=X(e),a=Pl(i);let l=i.tag||be;if(r=[],o)for(let c=0;c<o.length;c++){const u=o[c];u.el&&u.el instanceof Element&&!u.el[Il]&&(r.push(u),nn(u,Kn(u,a,s,n)),Ml.set(u,Ll(u.el)))}o=t.default?Fr(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&nn(u,Kn(u,a,s,n))}return $(l,null,o)}}}),bu=vu;function Eu(e){const t=e.el;t[As]&&t[As](),t[Do]&&t[Do]()}function wu(e){Nl.set(e,Ll(e.el))}function Au(e){const t=Ml.get(e),n=Nl.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el,i=o.style,a=o.getBoundingClientRect();let l=1,c=1;return o.offsetWidth&&(l=a.width/o.offsetWidth),o.offsetHeight&&(c=a.height/o.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(l-1)<.01&&(l=1),Math.abs(c-1)<.01&&(c=1),i.transform=i.webkitTransform=`translate(${s/l}px,${r/c}px)`,i.transitionDuration="0s",e}}function Ll(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Cu(e,t,n){const s=e.cloneNode(),r=e[bn];r&&r.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Ol(s);return o.removeChild(s),i}const $t=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>as(t,n):t};function xu(e){e.target.composing=!0}function Vo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ze=Symbol("_assign");function jo(e,t,n){return t&&(e=e.trim()),n&&(e=Os(e)),e}const xr={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ze]=$t(r);const o=s||r.props&&r.props.type==="number";At(e,t?"change":"input",i=>{i.target.composing||e[Ze](jo(e.value,n,o))}),(n||o)&&At(e,"change",()=>{e.value=jo(e.value,n,o)}),t||(At(e,"compositionstart",xu),At(e,"compositionend",Vo),At(e,"change",Vo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Ze]=$t(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Os(e.value):e.value,l=t??"";if(a===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l)}},Su={deep:!0,created(e,t,n){e[Ze]=$t(n),At(e,"change",()=>{const s=e._modelValue,r=En(e),o=e.checked,i=e[Ze];if(j(s)){const a=Nr(s,r),l=a!==-1;if(o&&!l)i(s.concat(r));else if(!o&&l){const c=[...s];c.splice(a,1),i(c)}}else if(xn(s)){const a=new Set(s);o?a.add(r):a.delete(r),i(a)}else i(Dl(e,o))})},mounted:Fo,beforeUpdate(e,t,n){e[Ze]=$t(n),Fo(e,t,n)}};function Fo(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(j(t))r=Nr(t,s.props.value)>-1;else if(xn(t))r=t.has(s.props.value);else{if(t===n)return;r=Bt(t,Dl(e,!0))}e.checked!==r&&(e.checked=r)}const Ru={created(e,{value:t},n){e.checked=Bt(t,n.props.value),e[Ze]=$t(n),At(e,"change",()=>{e[Ze](En(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ze]=$t(s),t!==n&&(e.checked=Bt(t,s.props.value))}},Tu={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,At(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Os(En(o)):En(o));e[Ze](e.multiple?xn(e._modelValue)?new Set(r):r:r[0]),e._assigning=!0,_n(()=>{e._assigning=!1})}),e[Ze]=$t(s)},mounted(e,{value:t}){Bo(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Ze]=$t(n)},updated(e,{value:t}){e._assigning||Bo(e,t)}};function Bo(e,t){const n=e.multiple,s=j(t);if(!(n&&!s&&!xn(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],a=En(i);if(n)if(s){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(c=>String(c)===String(a)):i.selected=Nr(t,a)>-1}else i.selected=t.has(a);else if(Bt(En(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function En(e){return"_value"in e?e._value:e.value}function Dl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const mh={created(e,t,n){ls(e,t,n,null,"created")},mounted(e,t,n){ls(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){ls(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){ls(e,t,n,s,"updated")}};function ku(e,t){switch(e){case"SELECT":return Tu;case"TEXTAREA":return xr;default:switch(t){case"checkbox":return Su;case"radio":return Ru;default:return xr}}}function ls(e,t,n,s,r){const i=ku(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,s)}const Pu=["ctrl","shift","alt","meta"],Ou={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Pu.some(n=>e[`${n}Key`]&&!t.includes(n))},Vl=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const a=Ou[t[i]];if(a&&a(r,t))return}return e(r,...o)}))},Iu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},yh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=kt(r.key);if(t.some(i=>i===o||Iu[i]===o))return e(r)}))},Mu=Ee({patchProp:gu},Qc);let Ho;function Nu(){return Ho||(Ho=Oc(Mu))}const Lu=((...e)=>{const t=Nu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Vu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Du(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Du(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vu(e){return pe(e)?document.querySelector(e):e}const ju="modulepreload",Fu=function(e){return"/"+e},$o={},fe=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=i(n.map(c=>{if(c=Fu(c),c in $o)return;$o[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":ju,u||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),u)return new Promise((g,C)=>{p.addEventListener("load",g),p.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return r.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};/*!
|
|
19
|
-
* vue-router v4.6.4
|
|
20
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
21
|
-
* @license MIT
|
|
22
|
-
*/const un=typeof document<"u";function jl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&jl(e.default)}const ie=Object.assign;function or(e,t){const n={};for(const s in t){const r=t[s];n[s]=rt(r)?r.map(e):e(r)}return n}const Hn=()=>{},rt=Array.isArray;function Uo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Fl=/#/g,Hu=/&/g,$u=/\//g,Uu=/=/g,Gu=/\?/g,Bl=/\+/g,Ku=/%5B/g,Wu=/%5D/g,Hl=/%5E/g,qu=/%60/g,$l=/%7B/g,zu=/%7C/g,Ul=/%7D/g,Ju=/%20/g;function Kr(e){return e==null?"":encodeURI(""+e).replace(zu,"|").replace(Ku,"[").replace(Wu,"]")}function Yu(e){return Kr(e).replace($l,"{").replace(Ul,"}").replace(Hl,"^")}function Sr(e){return Kr(e).replace(Bl,"%2B").replace(Ju,"+").replace(Fl,"%23").replace(Hu,"%26").replace(qu,"`").replace($l,"{").replace(Ul,"}").replace(Hl,"^")}function Qu(e){return Sr(e).replace(Uu,"%3D")}function Xu(e){return Kr(e).replace(Fl,"%23").replace(Gu,"%3F")}function Zu(e){return Xu(e).replace($u,"%2F")}function Yn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const ef=/\/$/,tf=e=>e.replace(ef,"");function ir(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),o=t.slice(l,a>0?a:t.length),r=e(o.slice(1))),a>=0&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=of(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Yn(i)}}function nf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Go(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&wn(t.matched[s],n.matched[r])&&Gl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function wn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!rf(e[n],t[n]))return!1;return!0}function rf(e,t){return rt(e)?Ko(e,t):rt(t)?Ko(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ko(e,t){return rt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function of(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Mt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Rr=(function(e){return e.pop="pop",e.push="push",e})({}),lr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function lf(e){if(!e)if(un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tf(e)}const af=/^[^#]+#/;function cf(e,t){return e.replace(af,"#")+t}function uf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ws=()=>({left:window.scrollX,top:window.scrollY});function ff(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=uf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Wo(e,t){return(history.state?history.state.position-t:-1)+e}const Tr=new Map;function df(e,t){Tr.set(e,t)}function hf(e){const t=Tr.get(e);return Tr.delete(e),t}function pf(e){return typeof e=="string"||e&&typeof e=="object"}function Kl(e){return typeof e=="string"||typeof e=="symbol"}let ve=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Wl=Symbol("");ve.MATCHER_NOT_FOUND+"",ve.NAVIGATION_GUARD_REDIRECT+"",ve.NAVIGATION_ABORTED+"",ve.NAVIGATION_CANCELLED+"",ve.NAVIGATION_DUPLICATED+"";function An(e,t){return ie(new Error,{type:e,[Wl]:!0},t)}function _t(e,t){return e instanceof Error&&Wl in e&&(t==null||!!(e.type&t))}const gf=["params","query","hash"];function mf(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of gf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function yf(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Bl," "),o=r.indexOf("="),i=Yn(o<0?r:r.slice(0,o)),a=o<0?null:Yn(r.slice(o+1));if(i in t){let l=t[i];rt(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function qo(e){let t="";for(let n in e){const s=e[n];if(n=Qu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(rt(s)?s.map(r=>r&&Sr(r)):[s&&Sr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function _f(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=rt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const vf=Symbol(""),zo=Symbol(""),qs=Symbol(""),Wr=Symbol(""),kr=Symbol("");function On(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=p=>{p===!1?l(An(ve.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):pf(p)?l(An(ve.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),a())},u=o(()=>e.call(s&&s.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(p=>l(p))})}function ar(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(jl(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Vt(c,n,s,i,a,r))}else{let c=l();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Bu(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Vt(p,n,s,i,a,r)()}))}}return o}function bf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>wn(c,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>wn(c,l))||r.push(l))}return[n,s,r]}/*!
|
|
23
|
-
* vue-router v4.6.4
|
|
24
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
25
|
-
* @license MIT
|
|
26
|
-
*/let Ef=()=>location.protocol+"//"+location.host;function ql(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(i);return a[0]!=="/"&&(a="/"+a),Go(a,"")}return Go(n,e)+s+r}function wf(e,t,n,s){let r=[],o=[],i=null;const a=({state:p})=>{const g=ql(e,location),C=n.value,w=t.value;let I=0;if(p){if(n.value=g,t.value=p,i&&i===C){i=null;return}I=w?p.position-w.position:0}else s(g);r.forEach(x=>{x(n.value,C,{delta:I,type:Rr.pop,direction:I?I>0?lr.forward:lr.back:lr.unknown})})};function l(){i=n.value}function c(p){r.push(p);const g=()=>{const C=r.indexOf(p);C>-1&&r.splice(C,1)};return o.push(g),g}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ie({},p.state,{scroll:Ws()}),"")}}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function Jo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ws():null}}function Af(e){const{history:t,location:n}=window,s={value:ql(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Ef()+e+l;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(l,c){o(l,ie({},t.state,Jo(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=l}function a(l,c){const u=ie({},r.value,t.state,{forward:l,scroll:Ws()});o(u.current,u,!0),o(l,ie({},Jo(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:r,push:a,replace:i}}function Cf(e){e=lf(e);const t=Af(e),n=wf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:cf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Zt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ce=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Ce||{});const xf={type:Zt.Static,value:""},Sf=/[a-zA-Z0-9_]/;function Rf(e){if(!e)return[[]];if(e==="/")return[[xf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=Ce.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===Ce.Static?o.push({type:Zt.Static,value:c}):n===Ce.Param||n===Ce.ParamRegExp||n===Ce.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Zt.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Ce.ParamRegExp){s=n,n=Ce.EscapeNext;continue}switch(n){case Ce.Static:l==="/"?(c&&f(),i()):l===":"?(f(),n=Ce.Param):p();break;case Ce.EscapeNext:p(),n=s;break;case Ce.Param:l==="("?n=Ce.ParamRegExp:Sf.test(l)?p():(f(),n=Ce.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Ce.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Ce.ParamRegExpEnd:u+=l;break;case Ce.ParamRegExpEnd:f(),n=Ce.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Ce.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}const Yo="[^/]+?",Tf={sensitive:!1,strict:!1,start:!0,end:!0};var Fe=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Fe||{});const kf=/[.+*?^${}()[\]/\\]/g;function Pf(e,t){const n=ie({},Tf,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[Fe.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const p=c[f];let g=Fe.Segment+(n.sensitive?Fe.BonusCaseSensitive:0);if(p.type===Zt.Static)f||(r+="/"),r+=p.value.replace(kf,"\\$&"),g+=Fe.Static;else if(p.type===Zt.Param){const{value:C,repeatable:w,optional:I,regexp:x}=p;o.push({name:C,repeatable:w,optional:I});const v=x||Yo;if(v!==Yo){g+=Fe.BonusCustomRegExp;try{`${v}`}catch(S){throw new Error(`Invalid custom RegExp for param "${C}" (${v}): `+S.message)}}let k=w?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(k=I&&c.length<2?`(?:/${k})`:"/"+k),I&&(k+="?"),r+=k,g+=Fe.Dynamic,I&&(g+=Fe.BonusOptional),w&&(g+=Fe.BonusRepeatable),v===".*"&&(g+=Fe.BonusWildcard)}u.push(g)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Fe.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let p=1;p<u.length;p++){const g=u[p]||"",C=o[p-1];f[C.name]=g&&C.repeatable?g.split("/"):g}return f}function l(c){let u="",f=!1;for(const p of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of p)if(g.type===Zt.Static)u+=g.value;else if(g.type===Zt.Param){const{value:C,repeatable:w,optional:I}=g,x=C in c?c[C]:"";if(rt(x)&&!w)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const v=rt(x)?x.join("/"):x;if(!v)if(I)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${C}"`);u+=v}}return u||"/"}return{re:i,score:s,keys:o,parse:a,stringify:l}}function Of(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Fe.Static+Fe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Fe.Static+Fe.Segment?1:-1:0}function zl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Of(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Qo(s))return 1;if(Qo(r))return-1}return r.length-s.length}function Qo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const If={strict:!1,end:!0,sensitive:!1};function Mf(e,t,n){const s=Pf(Rf(e.path),n),r=ie(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Nf(e,t){const n=[],s=new Map;t=Uo(If,t);function r(f){return s.get(f)}function o(f,p,g){const C=!g,w=Zo(f);w.aliasOf=g&&g.record;const I=Uo(t,f),x=[w];if("alias"in f){const S=typeof f.alias=="string"?[f.alias]:f.alias;for(const U of S)x.push(Zo(ie({},w,{components:g?g.record.components:w.components,path:U,aliasOf:g?g.record:w})))}let v,k;for(const S of x){const{path:U}=S;if(p&&U[0]!=="/"){const z=p.record.path,V=z[z.length-1]==="/"?"":"/";S.path=p.record.path+(U&&V+U)}if(v=Mf(S,p,I),g?g.alias.push(v):(k=k||v,k!==v&&k.alias.push(v),C&&f.name&&!ei(v)&&i(f.name)),Jl(v)&&l(v),w.children){const z=w.children;for(let V=0;V<z.length;V++)o(z[V],v,g&&g.children[V])}g=g||v}return k?()=>{i(k)}:Hn}function i(f){if(Kl(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const p=Vf(f,n);n.splice(p,0,f),f.record.name&&!ei(f)&&s.set(f.record.name,f)}function c(f,p){let g,C={},w,I;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw An(ve.MATCHER_NOT_FOUND,{location:f});I=g.record.name,C=ie(Xo(p.params,g.keys.filter(k=>!k.optional).concat(g.parent?g.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),f.params&&Xo(f.params,g.keys.map(k=>k.name))),w=g.stringify(C)}else if(f.path!=null)w=f.path,g=n.find(k=>k.re.test(w)),g&&(C=g.parse(w),I=g.record.name);else{if(g=p.name?s.get(p.name):n.find(k=>k.re.test(p.path)),!g)throw An(ve.MATCHER_NOT_FOUND,{location:f,currentLocation:p});I=g.record.name,C=ie({},p.params,f.params),w=g.stringify(C)}const x=[];let v=g;for(;v;)x.unshift(v.record),v=v.parent;return{name:I,path:w,params:C,matched:x,meta:Df(x)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Xo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Lf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Lf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ei(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Df(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Vf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;zl(e,t[o])<0?s=o:n=o+1}const r=jf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function jf(e){let t=e;for(;t=t.parent;)if(Jl(t)&&zl(e,t)===0)return t}function Jl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ti(e){const t=nt(qs),n=nt(Wr),s=Pe(()=>{const l=q(e.to);return t.resolve(l)}),r=Pe(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(wn.bind(null,u));if(p>-1)return p;const g=ni(l[c-2]);return c>1&&ni(u)===g&&f[f.length-1].path!==g?f.findIndex(wn.bind(null,l[c-2])):p}),o=Pe(()=>r.value>-1&&Uf(n.params,s.value.params)),i=Pe(()=>r.value>-1&&r.value===n.matched.length-1&&Gl(n.params,s.value.params));function a(l={}){if($f(l)){const c=t[q(e.replace)?"replace":"push"](q(e.to)).catch(Hn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}function Ff(e){return e.length===1?e[0]:e}const Bf=sn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:ti,setup(e,{slots:t}){const n=Kt(ti(e)),{options:s}=nt(qs),r=Pe(()=>({[si(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[si(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Ff(t.default(n));return e.custom?o:vn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Hf=Bf;function $f(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Uf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!rt(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function ni(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const si=(e,t,n)=>e??t??n,Gf=sn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(kr),r=Pe(()=>e.route||s.value),o=nt(zo,0),i=Pe(()=>{let c=q(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Pe(()=>r.value.matched[i.value]);cs(zo,Pe(()=>i.value+1)),cs(vf,a),cs(kr,r);const l=Xe();return gt(()=>[l.value,a.value,e.name],([c,u,f],[p,g,C])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!wn(u,g)||!p)&&(u.enterCallbacks[f]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=a.value,p=f&&f.components[u];if(!p)return ri(n.default,{Component:p,route:c});const g=f.props[u],C=g?g===!0?c.params:typeof g=="function"?g(c):g:null,I=vn(p,ie({},C,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return ri(n.default,{Component:I,route:c})||I}}});function ri(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kf=Gf;function Wf(e){const t=Nf(e.routes,e),n=e.parseQuery||yf,s=e.stringifyQuery||qo,r=e.history,o=On(),i=On(),a=On(),l=Oa(Mt);let c=Mt;un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=or.bind(null,b=>""+b),f=or.bind(null,Zu),p=or.bind(null,Yn);function g(b,D){let O,B;return Kl(b)?(O=t.getRecordMatcher(b),B=D):B=b,t.addRoute(B,O)}function C(b){const D=t.getRecordMatcher(b);D&&t.removeRoute(D)}function w(){return t.getRoutes().map(b=>b.record)}function I(b){return!!t.getRecordMatcher(b)}function x(b,D){if(D=ie({},D||l.value),typeof b=="string"){const m=ir(n,b,D.path),_=t.resolve({path:m.path},D),E=r.createHref(m.fullPath);return ie(m,_,{params:p(_.params),hash:Yn(m.hash),redirectedFrom:void 0,href:E})}let O;if(b.path!=null)O=ie({},b,{path:ir(n,b.path,D.path).path});else{const m=ie({},b.params);for(const _ in m)m[_]==null&&delete m[_];O=ie({},b,{params:f(m)}),D.params=f(D.params)}const B=t.resolve(O,D),Y=b.hash||"";B.params=u(p(B.params));const d=nf(s,ie({},b,{hash:Yu(Y),path:B.path})),h=r.createHref(d);return ie({fullPath:d,hash:Y,query:s===qo?_f(b.query):b.query||{}},B,{redirectedFrom:void 0,href:h})}function v(b){return typeof b=="string"?ir(n,b,l.value.path):ie({},b)}function k(b,D){if(c!==b)return An(ve.NAVIGATION_CANCELLED,{from:D,to:b})}function S(b){return V(b)}function U(b){return S(ie(v(b),{replace:!0}))}function z(b,D){const O=b.matched[b.matched.length-1];if(O&&O.redirect){const{redirect:B}=O;let Y=typeof B=="function"?B(b,D):B;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=v(Y):{path:Y},Y.params={}),ie({query:b.query,hash:b.hash,params:Y.path!=null?{}:b.params},Y)}}function V(b,D){const O=c=x(b),B=l.value,Y=b.state,d=b.force,h=b.replace===!0,m=z(O,B);if(m)return V(ie(v(m),{state:typeof m=="object"?ie({},Y,m.state):Y,force:d,replace:h}),D||O);const _=O;_.redirectedFrom=D;let E;return!d&&sf(s,B,O)&&(E=An(ve.NAVIGATION_DUPLICATED,{to:_,from:B}),ot(B,B,!0,!1)),(E?Promise.resolve(E):J(_,B)).catch(y=>_t(y)?_t(y,ve.NAVIGATION_GUARD_REDIRECT)?y:Ot(y):oe(y,_,B)).then(y=>{if(y){if(_t(y,ve.NAVIGATION_GUARD_REDIRECT))return V(ie({replace:h},v(y.to),{state:typeof y.to=="object"?ie({},Y,y.to.state):Y,force:d}),D||_)}else y=N(_,B,!0,h,Y);return se(_,B,y),y})}function ee(b,D){const O=k(b,D);return O?Promise.reject(O):Promise.resolve()}function L(b){const D=on.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(b):b()}function J(b,D){let O;const[B,Y,d]=bf(b,D);O=ar(B.reverse(),"beforeRouteLeave",b,D);for(const m of B)m.leaveGuards.forEach(_=>{O.push(Vt(_,b,D))});const h=ee.bind(null,b,D);return O.push(h),Je(O).then(()=>{O=[];for(const m of o.list())O.push(Vt(m,b,D));return O.push(h),Je(O)}).then(()=>{O=ar(Y,"beforeRouteUpdate",b,D);for(const m of Y)m.updateGuards.forEach(_=>{O.push(Vt(_,b,D))});return O.push(h),Je(O)}).then(()=>{O=[];for(const m of d)if(m.beforeEnter)if(rt(m.beforeEnter))for(const _ of m.beforeEnter)O.push(Vt(_,b,D));else O.push(Vt(m.beforeEnter,b,D));return O.push(h),Je(O)}).then(()=>(b.matched.forEach(m=>m.enterCallbacks={}),O=ar(d,"beforeRouteEnter",b,D,L),O.push(h),Je(O))).then(()=>{O=[];for(const m of i.list())O.push(Vt(m,b,D));return O.push(h),Je(O)}).catch(m=>_t(m,ve.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function se(b,D,O){a.list().forEach(B=>L(()=>B(b,D,O)))}function N(b,D,O,B,Y){const d=k(b,D);if(d)return d;const h=D===Mt,m=un?history.state:{};O&&(B||h?r.replace(b.fullPath,ie({scroll:h&&m&&m.scroll},Y)):r.push(b.fullPath,Y)),l.value=b,ot(b,D,O,h),Ot()}let te;function _e(){te||(te=r.listen((b,D,O)=>{if(!Wt.listening)return;const B=x(b),Y=z(B,Wt.currentRoute.value);if(Y){V(ie(Y,{replace:!0,force:!0}),B).catch(Hn);return}c=B;const d=l.value;un&&df(Wo(d.fullPath,O.delta),Ws()),J(B,d).catch(h=>_t(h,ve.NAVIGATION_ABORTED|ve.NAVIGATION_CANCELLED)?h:_t(h,ve.NAVIGATION_GUARD_REDIRECT)?(V(ie(v(h.to),{force:!0}),B).then(m=>{_t(m,ve.NAVIGATION_ABORTED|ve.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===Rr.pop&&r.go(-1,!1)}).catch(Hn),Promise.reject()):(O.delta&&r.go(-O.delta,!1),oe(h,B,d))).then(h=>{h=h||N(B,d,!1),h&&(O.delta&&!_t(h,ve.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===Rr.pop&&_t(h,ve.NAVIGATION_ABORTED|ve.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),se(B,d,h)}).catch(Hn)}))}let Ue=On(),we=On(),ce;function oe(b,D,O){Ot(b);const B=we.list();return B.length?B.forEach(Y=>Y(b,D,O)):console.error(b),Promise.reject(b)}function mt(){return ce&&l.value!==Mt?Promise.resolve():new Promise((b,D)=>{Ue.add([b,D])})}function Ot(b){return ce||(ce=!b,_e(),Ue.list().forEach(([D,O])=>b?O(b):D()),Ue.reset()),b}function ot(b,D,O,B){const{scrollBehavior:Y}=e;if(!un||!Y)return Promise.resolve();const d=!O&&hf(Wo(b.fullPath,0))||(B||!O)&&history.state&&history.state.scroll||null;return _n().then(()=>Y(b,D,d)).then(h=>h&&ff(h)).catch(h=>oe(h,b,D))}const $e=b=>r.go(b);let rn;const on=new Set,Wt={currentRoute:l,listening:!0,addRoute:g,removeRoute:C,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:w,resolve:x,options:e,push:S,replace:U,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:we.add,isReady:mt,install(b){b.component("RouterLink",Hf),b.component("RouterView",Kf),b.config.globalProperties.$router=Wt,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>q(l)}),un&&!rn&&l.value===Mt&&(rn=!0,S(r.location).catch(B=>{}));const D={};for(const B in Mt)Object.defineProperty(D,B,{get:()=>l.value[B],enumerable:!0});b.provide(qs,Wt),b.provide(Wr,Di(D)),b.provide(kr,l);const O=b.unmount;on.add(b),b.unmount=function(){on.delete(b),on.size<1&&(c=Mt,te&&te(),te=null,l.value=Mt,rn=!1,ce=!1),O()}}};function Je(b){return b.reduce((D,O)=>D.then(()=>L(O)),Promise.resolve())}return Wt}function qr(){return nt(qs)}function qf(e){return nt(Wr)}const zf=[{path:"/login",name:"login",component:()=>fe(()=>import("./LoginView-CSY6YIsK.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/",name:"dashboard",component:()=>fe(()=>import("./DashboardView-DqIE-Aof.js"),__vite__mapDeps([6,7,8,9,10]))},{path:"/deployments",name:"deployments",component:()=>fe(()=>import("./DeploymentsView-CalAGK0U.js"),__vite__mapDeps([11,7,9,12,13,14,10]))},{path:"/deployments/:id/public-logs-view",name:"public-logs",component:()=>fe(()=>import("./PublicLogsView-HBPDlV47.js"),__vite__mapDeps([15,7,16,13,14,3,17])),props:!0,meta:{public:!0}},{path:"/deployments/:id",component:()=>fe(()=>import("./DeploymentDetailView-nFBQCzq0.js"),__vite__mapDeps([18,7,19,20,21,1,22,10])),props:!0,children:[{path:"",name:"deployment",redirect:e=>`/deployments/${e.params.id}/overview`},{path:"overview",name:"d.overview",component:()=>fe(()=>import("./OverviewTab-DY-d5Ia3.js"),__vite__mapDeps([23,19,20,7,9]))},{path:"config",name:"d.config",component:()=>fe(()=>import("./ConfigTab-CKjpaZmg.js"),__vite__mapDeps([24,7,19,20,25,26,14]))},{path:"runtime",name:"d.runtime",component:()=>fe(()=>import("./RuntimeTab-7GuemvVX.js"),__vite__mapDeps([27,7,19,20,9,1,22,10,3,28]))},{path:"axes",name:"d.axes",component:()=>fe(()=>import("./AxesTab-BJZ9B5js.js"),__vite__mapDeps([29,19,20]))},{path:"requires",name:"d.requires",component:()=>fe(()=>import("./RequiresTab-CwaFcz5T.js"),__vite__mapDeps([30,19,20]))},{path:"logs",name:"d.logs",component:()=>fe(()=>import("./LogsTab-CKNkR_07.js"),__vite__mapDeps([31,19,20,7,13,14,16]))},{path:"terminal",name:"d.terminal",component:()=>fe(()=>import("./TerminalTab-BboWRxwq.js"),__vite__mapDeps([32,22,13,14,3,33]))},{path:"danger",name:"d.danger",component:()=>fe(()=>import("./DangerTab-XshYLxAZ.js"),__vite__mapDeps([34,19,20,21,7,1,22,2,3,4,13,14]))}]},{path:"/routing",name:"routing",component:()=>fe(()=>import("./RoutingView-D-qgRSDy.js"),__vite__mapDeps([35,7,1,22,9,26,14,10]))},{path:"/swarm",name:"swarm",component:()=>fe(()=>import("./SwarmView-B-ESSXnj.js"),__vite__mapDeps([36,7,1,22,26,14,10,13,9]))},{path:"/registries",name:"registries",component:()=>fe(()=>import("./RegistriesView-B0XRfL2L.js"),__vite__mapDeps([37,1,22,9,26,14,10]))},{path:"/notifiers",name:"notifiers",component:()=>fe(()=>import("./NotifiersView-BrPpuf5o.js"),__vite__mapDeps([38,7,1,22,9,12,13,14,10]))},{path:"/specs",name:"specs",component:()=>fe(()=>import("./SpecsView-CQHYfu01.js"),__vite__mapDeps([39,7,9,22,12,2,3,4,10]))},{path:"/specs/:name",name:"spec",component:()=>fe(()=>import("./SpecDetailView-Da_PDlft.js"),__vite__mapDeps([40,7,9,22])),props:!0},{path:"/submit/:id?",name:"submit",component:()=>fe(()=>import("./SubmitView-DsR4Rud8.js"),__vite__mapDeps([41,20,1,22,25,13,14])),props:!0},{path:"/jobs",name:"jobs",component:()=>fe(()=>import("./JobsView-h0PuFN8o.js"),__vite__mapDeps([42,7,8,9,12,13,14,10]))},{path:"/jobs/:jobId",name:"job",component:()=>fe(()=>import("./JobDetailView-BExTkW8o.js"),__vite__mapDeps([43,7,16,8,1,22])),props:!0},{path:"/users",name:"users",component:()=>fe(()=>import("./UsersView-BBn3F_YM.js"),__vite__mapDeps([44,1,2,3,4,22,12,7,9,10,45]))},{path:"/sso",name:"sso",component:()=>fe(()=>import("./SsoView-5Kk12W1K.js"),__vite__mapDeps([46,1,22,26,14,13,9]))},{path:"/variables",name:"variables",component:()=>fe(()=>import("./VariablesView-BAajBPNO.js"),__vite__mapDeps([47,1,2,3,4,22,12,7,9,10,48]))},{path:"/settings",name:"settings",component:()=>fe(()=>import("./SettingsView-cuiExi3-.js"),__vite__mapDeps([49,1,13,14]))},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>fe(()=>import("./NotFoundView-B3377DMC.js"),[])}],Cn=Wf({history:Cf(),routes:zf,scrollBehavior:(e,t,n)=>n??{top:0}});Cn.beforeEach(async e=>{if(e.meta.public)return!0;const{authState:t,checkAuth:n}=await fe(async()=>{const{authState:s,checkAuth:r}=await Promise.resolve().then(()=>_d);return{authState:s,checkAuth:r}},void 0);return t.checked||await n(),e.name==="login"?t.authed?{path:"/"}:!0:t.authed?!0:{name:"login",query:e.fullPath!=="/"?{next:e.fullPath}:{}}});const zr=typeof document<"u"&&typeof document.startViewTransition=="function";zr&&(document.documentElement.dataset.vt="on");if(zr){let e=null;Cn.beforeResolve(()=>new Promise(t=>{document.startViewTransition(()=>(t(),new Promise(n=>{e=n,setTimeout(()=>{e==null||e(),e=null},400)})))})),Cn.afterEach(async()=>{await _n(),e==null||e(),e=null})}let Jf=0;const mn=Kt([]);function Yl(e){const t=mn.findIndex(n=>n.id===e);t>=0&&mn.splice(t,1)}function _h(e,t,n={}){const s=++Jf;mn.push({id:s,kind:e,text:t,to:n.to,toLabel:n.toLabel});const r=n.ms??(e==="error"?0:6e3);for(r>0&&setTimeout(()=>Yl(s),r);mn.length>5;)mn.shift();return s}const Yf={class:"toasts","aria-live":"polite","aria-atomic":"false"},Qf=["aria-label","onClick"],Xf=sn({__name:"ToastHost",setup(e){return(t,n)=>{const s=yr("RouterLink");return Z(),ge("div",Yf,[$(bu,{name:"toast"},{default:me(()=>[(Z(!0),ge(be,null,_s(q(mn),r=>(Z(),ge("div",{key:r.id,class:Ft(["toast",r.kind])},[F("div",null,[F("div",null,Ie(r.text),1),r.to?(Z(),xt(s,{key:0,to:r.to},{default:me(()=>[jt(Ie(r.toLabel??"Open")+" →",1)]),_:2},1032,["to"])):Ke("",!0)]),F("button",{class:"x","aria-label":`dismiss: ${r.text}`,onClick:o=>q(Yl)(r.id)},"✕",8,Qf)],2))),128))]),_:1})])}}}),Zf=900;function oi(e){const t=e;if(!t)return!1;const n=t.tagName;return n==="INPUT"||n==="TEXTAREA"||n==="SELECT"||t.isContentEditable===!0}function ed(){const e=qr(),t=Xe(!1);let n=0,s="";const r=o=>{if(o.key==="Escape"){t.value&&(t.value=!1,o.preventDefault()),oi(o.target)&&o.target.blur();return}if(o.metaKey||o.ctrlKey||o.altKey||oi(o.target))return;const i=Date.now();if(s==="g"&&i-n<Zf){s="";const a={d:"/deployments",j:"/jobs",h:"/",s:"/settings",n:"/submit"}[o.key];a&&(o.preventDefault(),e.push(a));return}if(o.key==="g"){s="g",n=i;return}if(s="",o.key==="?"){o.preventDefault(),t.value=!t.value;return}if(o.key==="/"){const a=document.querySelector("[data-search]");a&&(o.preventDefault(),a.focus(),a.select())}};return Sn(()=>document.addEventListener("keydown",r)),es(()=>document.removeEventListener("keydown",r)),{sheetOpen:t}}const td=[{keys:"⌘K / Ctrl-K",what:"Open the command palette — jump to any deployment or page"},{keys:"?",what:"Open or close this sheet"},{keys:"g h",what:"Go to the dashboard"},{keys:"g d",what:"Go to deployments"},{keys:"g j",what:"Go to jobs"},{keys:"g n",what:"Go to submit"},{keys:"g s",what:"Go to settings"},{keys:"/",what:"Focus the search box on this view"},{keys:"Esc",what:"Close this sheet, or leave the field you are typing in"}],nd={class:"sheet"},sd={class:"row"},rd=sn({__name:"ShortcutSheet",props:{open:{type:Boolean}},emits:["close"],setup(e,{emit:t}){const n=t;return(s,r)=>(Z(),xt(Ks,{name:"fade"},{default:me(()=>[e.open?(Z(),ge("div",{key:0,class:"scrim",role:"dialog","aria-modal":"true","aria-label":"Keyboard shortcuts",onClick:r[1]||(r[1]=Vl(o=>n("close"),["self"]))},[F("div",nd,[F("div",sd,[r[2]||(r[2]=F("h2",{style:{"font-size":"var(--t-lg)","font-weight":"650"}},"Keyboard shortcuts",-1)),r[3]||(r[3]=F("span",{class:"grow"},null,-1)),F("button",{class:"ghost sm",onClick:r[0]||(r[0]=o=>n("close"))},"Close")]),F("dl",null,[(Z(!0),ge(be,null,_s(q(td),o=>(Z(),ge(be,{key:o.keys},[F("dt",null,[(Z(!0),ge(be,null,_s(o.keys.split(" "),i=>(Z(),ge("kbd",{key:i,style:{"margin-left":"4px"}},Ie(i),1))),128))]),F("dd",null,Ie(o.what),1)],64))),128))])])])):Ke("",!0)]),_:1}))}}),Ut={token:"pstack.ui.token",apiBase:"pstack.ui.apiBase",theme:"pstack.ui.theme",motion:"pstack.ui.motion"};function Cs(e,t){try{return localStorage.getItem(e)??t}catch{return t}}function xs(e,t){try{t?localStorage.setItem(e,t):localStorage.removeItem(e)}catch{}}const cr=Cs(Ut.theme,"system"),ur=Cs(Ut.motion,"system"),ke=Kt({token:Cs(Ut.token,""),apiBase:Cs(Ut.apiBase,""),theme:cr==="dark"||cr==="light"?cr:"system",motion:ur==="full"||ur==="none"?ur:"system"});function Ql(){const e=document.documentElement;ke.theme==="system"?delete e.dataset.theme:e.dataset.theme=ke.theme,ke.motion==="system"?delete e.dataset.motion:e.dataset.motion=ke.motion}gt(()=>ke.token,e=>xs(Ut.token,e));gt(()=>ke.apiBase,e=>xs(Ut.apiBase,e));gt(()=>[ke.theme,ke.motion],()=>{xs(Ut.theme,ke.theme==="system"?"":ke.theme),xs(Ut.motion,ke.motion==="system"?"":ke.motion),Ql()});Ql();function vh(e,t={}){const n=new URLSearchParams;for(const r of e)r.k&&n.set(r.k,r.v??"");for(const[r,o]of Object.entries(t))n.set(r,String(o));const s=n.toString();return s?`?${s}`:""}function Pr(e){const t=ke.apiBase.replace(/\/$/,""),n=t?t+e:e;return Or?`${n}${n.includes("?")?"&":"?"}token=${encodeURIComponent(Or)}`:n}let Or="";function bh(e){Or=e}let ds=null;function od(e){ds=e}async function an(e,t,n,s=!1){const r={};e!=="GET"&&(r["content-type"]="application/json"),ke.token&&(r.authorization=`Bearer ${ke.token}`);try{const o=await fetch(Pr(t),{method:e,headers:r,body:n===void 0?void 0:JSON.stringify(n)}),i=await o.text();let a=null;try{a=i?JSON.parse(i):null}catch{}return o.status===401&&!t.startsWith("/api/auth/")&&(ds==null||ds()),a===null&&i?{status:o.status,ok:o.ok,body:{},raw:i,notJson:!0}:{status:o.status,ok:o.ok,body:a??{},raw:i,notJson:!1}}catch(o){return{status:0,ok:!1,body:{error:`unreachable: ${o.message}`},raw:"",notJson:!1}}}const Gt={get:e=>an("GET",e),getAuthed:e=>an("GET",e,void 0,!0),post:(e,t)=>an("POST",e,t??{}),put:(e,t)=>an("PUT",e,t),patch:(e,t)=>an("PATCH",e,t),del:e=>an("DELETE",e),getText:async e=>{const t={};ke.token&&(t.authorization=`Bearer ${ke.token}`);try{const n=await fetch(Pr(e),{headers:t});return{status:n.status,ok:n.ok,text:await n.text()}}catch(n){return{status:0,ok:!1,text:`unreachable: ${n.message}`}}},url:Pr};function Jr(e,t){if(e.status===0)return e.body.error??"unreachable";if(e.status===401)return`${t}: 401 unauthorized — set the bearer token in Settings.`;if(e.notJson)return`${t}: HTTP ${e.status}, and the response was not JSON. Something other than the pstack API answered — a proxy, or an error page.
|
|
27
|
-
|
|
28
|
-
${e.raw.slice(0,400)}`;const n=e.body.error;return e.status===404&&(!n||n==="not found")?`${t}: 404 — no such resource, or this build of the API has no such route yet.`:n?`${t}: ${n}`:`${t}: HTTP ${e.status}`}function Eh(e){const t=e.error??"HTTP 409 (no message)",n=e.stack??"";return e.kind?{kind:"shared",text:t,stack:n,deployments:[]}:e.containers!==void 0?{kind:"containers",text:t,stack:n,deployments:[]}:e.deployments?{kind:"referenced",text:t,stack:n,deployments:e.deployments}:{kind:"other",text:t,stack:n,deployments:[]}}const id={class:"palette",role:"dialog","aria-modal":"true","aria-label":"Command palette"},ld={class:"palette-q"},ad={key:0,class:"palette-empty"},cd={key:0,class:"palette-group"},ud=["data-on","onClick","onMousemove"],fd={class:"palette-label"},dd={key:0,class:"palette-hint"},hd={class:"palette-foot"},pd=sn({__name:"CommandPalette",setup(e,{expose:t}){const n=qr(),s=Xe(!1),r=Xe(""),o=Xe(0),i=Xe([]),a=Xe(null),l=Xe(null),c=[{id:"p.dash",label:"Dashboard",hint:"g h",group:"Go to",to:"/",base:9},{id:"p.dep",label:"Deployments",hint:"g d",group:"Go to",to:"/deployments",base:8},{id:"p.jobs",label:"Jobs",hint:"g j",group:"Go to",to:"/jobs",base:7},{id:"p.specs",label:"Specs",group:"Go to",to:"/specs",base:6},{id:"p.routing",label:"Routing",group:"Go to",to:"/routing",base:5},{id:"p.swarm",label:"Swarm",group:"Go to",to:"/swarm",base:4.5},{id:"p.reg",label:"Registries",group:"Go to",to:"/registries",base:4},{id:"p.notif",label:"Notifiers",group:"Go to",to:"/notifiers",base:3},{id:"p.hostvars",label:"Variables & secrets",group:"Go to",to:"/variables",base:2.7},{id:"p.users",label:"Users & access",group:"Go to",to:"/users",base:2.5},{id:"p.set",label:"Settings",hint:"g s",group:"Go to",to:"/settings",base:2},{id:"a.submit",label:"Submit a spec",hint:"g n",group:"Actions",to:"/submit",base:1}];function u(x,v){if(!v)return 0;const k=x.toLowerCase(),S=v.toLowerCase();let U=0,z=0,V=0;for(const ee of S){const L=k.indexOf(ee,U);if(L===-1)return null;V=L===U&&U>0?V+1:0,z+=10+V*12-Math.min(L-U,8),L===0&&(z+=25),U=L+1}return z-k.length*.4}const f=Pe(()=>{const x=i.value.map(S=>({id:`d.${S.id}`,label:S.id,hint:S.stack??void 0,group:"Deployments",to:`/deployments/${encodeURIComponent(S.id)}/overview`,base:0})),v=[...c,...x],k=r.value.trim();return k?v.map(S=>({it:S,s:u(`${S.label} ${S.hint??""}`,k)})).filter(S=>S.s!==null).sort((S,U)=>U.s-S.s||U.it.base-S.it.base).map(S=>S.it):v.slice().sort((S,U)=>U.base-S.base)}),p=Pe(()=>f.value.map((x,v)=>({it:x,head:v===0||f.value[v-1].group!==x.group})));async function g(){var v;s.value=!0,r.value="",o.value=0,await _n(),(v=a.value)==null||v.focus();const x=await Gt.get("/api/deployments");x.ok&&(i.value=x.body.deployments)}function C(){s.value=!1}function w(x){x&&(C(),n.push(x.to))}gt(o,async()=>{var x,v;await _n(),(v=(x=l.value)==null?void 0:x.querySelector('[data-on="true"]'))==null||v.scrollIntoView({block:"nearest"})}),gt(r,()=>o.value=0);function I(x){if((x.metaKey||x.ctrlKey)&&x.key.toLowerCase()==="k"){x.preventDefault(),s.value?C():g();return}s.value&&(x.key==="Escape"?(x.preventDefault(),C()):x.key==="ArrowDown"||x.key==="n"&&x.ctrlKey?(x.preventDefault(),o.value=Math.min(o.value+1,f.value.length-1)):x.key==="ArrowUp"||x.key==="p"&&x.ctrlKey?(x.preventDefault(),o.value=Math.max(o.value-1,0)):x.key==="Enter"&&(x.preventDefault(),w(f.value[o.value])))}return Sn(()=>document.addEventListener("keydown",I)),es(()=>document.removeEventListener("keydown",I)),t({show:g}),(x,v)=>(Z(),xt(Ks,{name:"fade"},{default:me(()=>[s.value?(Z(),ge("div",{key:0,class:"scrim palette-scrim",onClick:Vl(C,["self"])},[F("div",id,[F("div",ld,[v[1]||(v[1]=F("svg",{viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":"true"},[F("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),F("path",{d:"M16.5 16.5 21 21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),Ka(F("input",{ref_key:"input",ref:a,"onUpdate:modelValue":v[0]||(v[0]=k=>r.value=k),type:"text",placeholder:"Go to a deployment, a page, an action…","aria-label":"Search",autocomplete:"off",spellcheck:"false"},null,512),[[xr,r.value]]),v[2]||(v[2]=F("kbd",null,"esc",-1))]),F("div",{ref_key:"listEl",ref:l,class:"palette-list"},[p.value.length?Ke("",!0):(Z(),ge("p",ad," Nothing matches “"+Ie(r.value)+"”. ",1)),(Z(!0),ge(be,null,_s(p.value,(k,S)=>(Z(),ge(be,{key:k.it.id},[k.head?(Z(),ge("div",cd,Ie(k.it.group),1)):Ke("",!0),F("button",{class:"palette-row","data-on":S===o.value,onClick:U=>w(k.it),onMousemove:U=>o.value=S},[F("span",fd,Ie(k.it.label),1),k.it.hint?(Z(),ge("span",dd,Ie(k.it.hint),1)):Ke("",!0)],40,ud)],64))),128))],512),F("div",hd,[v[3]||(v[3]=F("span",null,[F("kbd",null,"↑"),F("kbd",null,"↓"),jt(" move")],-1)),v[4]||(v[4]=F("span",null,[F("kbd",null,"↵"),jt(" open")],-1)),v[5]||(v[5]=F("span",{class:"grow"},null,-1)),F("span",null,Ie(f.value.length)+" result"+Ie(f.value.length===1?"":"s"),1)])])])):Ke("",!0)]),_:1}))}});function gd(e,t=6e3){let n;const s=()=>{n!==void 0&&clearInterval(n),n=void 0},r=()=>{s(),n=setInterval(e,t)},o=()=>{document.visibilityState==="visible"?(e(),r()):s()};Sn(()=>{e(),document.visibilityState==="visible"&&r(),document.addEventListener("visibilitychange",o)}),es(()=>{s(),document.removeEventListener("visibilitychange",o)})}const ye=Kt({health:null,healthError:"",deployments:[],deploymentsError:"",deploymentsLoaded:!1,jobs:[],jobsError:"",jobsLoaded:!1});async function ii(){const e=await Gt.get("/api/health");e.ok?(ye.health=e.body,ye.healthError=""):(ye.health=null,ye.healthError=Jr(e,"GET /api/health"))}async function li(){const e=await Gt.get("/api/deployments");if(ye.deploymentsLoaded=!0,!e.ok){ye.deploymentsError=Jr(e,"GET /api/deployments");return}ye.deploymentsError="",ye.deployments=(e.body.deployments??[]).map(t=>({...t,kind:t.kind==="shared"?"shared":"isolated",busy:t.busy??null,running:t.running??null,stack:t.stack??null,asleep:t.asleep??null,orchestrator:t.orchestrator??null}))}async function ai(){const e=await Gt.get("/api/jobs");if(ye.jobsLoaded=!0,!e.ok){ye.jobsError=Jr(e,"GET /api/jobs");return}ye.jobsError="",ye.jobs=e.body.jobs??[]}const wh=Pe(()=>{const e={total:0,isolated:0,shared:0,running:0,busy:0,asleep:0,unknown:0,unresolved:0};for(const t of ye.deployments)e.total++,t.kind==="shared"?e.shared++:e.isolated++,t.busy===!0&&e.busy++,t.asleep&&e.asleep++,t.running===!0&&e.running++,(t.busy===null||t.running===null)&&e.unknown++,t.unresolved&&e.unresolved++;return e}),Ah=Pe(()=>ye.jobs.filter(e=>e.state==="leaked"));function Ch(e){return ye.deployments.find(t=>t.id===e)}const ae=Kt({checked:!1,authed:!1,root:!1,user:null,hasUsers:null,sso:null});async function md(){const e=await Gt.get("/api/health");e.ok&&(ae.hasUsers=e.body.hasUsers??null,ae.sso=e.body.sso??null);const t=await Gt.getAuthed("/api/auth/me");t.status!==0&&(ae.checked=!0,t.ok?(ae.authed=!0,ae.root=t.body.root===!0,ae.user=t.body.user??null):(ae.authed=!1,ae.root=!1,ae.user=null))}async function yd(e,t){const n=await Gt.post("/api/auth/login",{username:e,password:t});return n.ok?(ae.authed=!0,ae.root=!1,ae.user=n.body.user,null):n.body.error??"login failed"}async function Xl(){await Gt.post("/api/auth/logout",{}),ae.authed=!1,ae.root=!1,ae.user=null}od(()=>{if(!ae.checked)return;const e=ae.authed;ae.authed=!1,ae.user=null,ae.root=!1;const t=Cn.currentRoute.value;e&&t.name!=="login"&&Cn.replace({name:"login",query:t.fullPath!=="/"?{next:t.fullPath}:{}})});const _d=Object.freeze(Object.defineProperty({__proto__:null,authState:ae,checkAuth:md,login:yd,logout:Xl},Symbol.toStringTag,{value:"Module"}));/**
|
|
29
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the ISC license.
|
|
32
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/const vd=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
|
|
34
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
35
|
-
*
|
|
36
|
-
* This source code is licensed under the ISC license.
|
|
37
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/const ci=e=>e==="";/**
|
|
39
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the ISC license.
|
|
42
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/const bd=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
|
|
44
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the ISC license.
|
|
47
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/const ui=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
49
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
50
|
-
*
|
|
51
|
-
* This source code is licensed under the ISC license.
|
|
52
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/const Ed=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase());/**
|
|
54
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
55
|
-
*
|
|
56
|
-
* This source code is licensed under the ISC license.
|
|
57
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/const wd=e=>{const t=Ed(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
|
|
59
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
60
|
-
*
|
|
61
|
-
* This source code is licensed under the ISC license.
|
|
62
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/var In={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
64
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
65
|
-
*
|
|
66
|
-
* This source code is licensed under the ISC license.
|
|
67
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/const Ad=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":s,strokeWidth:r,"stroke-width":o,size:i=In.width,color:a=In.stroke,...l},{slots:c})=>vn("svg",{...In,...l,width:i,height:i,stroke:a,"stroke-width":ci(n)||ci(s)||n===!0||s===!0?Number(r||o||In["stroke-width"])*24/Number(i):r||o||In["stroke-width"],class:bd("lucide",l.class,...e?[`lucide-${ui(wd(e))}-icon`,`lucide-${ui(e)}`]:["lucide-icon"]),...!c.default&&!vd(l)&&{"aria-hidden":"true"}},[...t.map(u=>vn(...u)),...c.default?[c.default()]:[]]);/**
|
|
69
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the ISC license.
|
|
72
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/const He=(e,t)=>(n,{slots:s,attrs:r})=>vn(Ad,{...r,...n,iconNode:t,name:e},s);/**
|
|
74
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
75
|
-
*
|
|
76
|
-
* This source code is licensed under the ISC license.
|
|
77
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/const Cd=He("bell-ring",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]]);/**
|
|
79
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
80
|
-
*
|
|
81
|
-
* This source code is licensed under the ISC license.
|
|
82
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/const xd=He("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
|
|
84
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
85
|
-
*
|
|
86
|
-
* This source code is licensed under the ISC license.
|
|
87
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/const Sd=He("clock-fading",[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]]);/**
|
|
89
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
90
|
-
*
|
|
91
|
-
* This source code is licensed under the ISC license.
|
|
92
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
-
*/const Rd=He("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]]);/**
|
|
94
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
95
|
-
*
|
|
96
|
-
* This source code is licensed under the ISC license.
|
|
97
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const Td=He("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
99
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
100
|
-
*
|
|
101
|
-
* This source code is licensed under the ISC license.
|
|
102
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/const kd=He("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
104
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
105
|
-
*
|
|
106
|
-
* This source code is licensed under the ISC license.
|
|
107
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const Pd=He("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
109
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the ISC license.
|
|
112
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const Od=He("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/**
|
|
114
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
115
|
-
*
|
|
116
|
-
* This source code is licensed under the ISC license.
|
|
117
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const Id=He("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
|
|
119
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
120
|
-
*
|
|
121
|
-
* This source code is licensed under the ISC license.
|
|
122
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const Md=He("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
124
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
125
|
-
*
|
|
126
|
-
* This source code is licensed under the ISC license.
|
|
127
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/const Nd=He("settings-2",[["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"}]]);/**
|
|
129
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
130
|
-
*
|
|
131
|
-
* This source code is licensed under the ISC license.
|
|
132
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
-
*/const Ld=He("shield-check",[["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"}]]);/**
|
|
134
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
135
|
-
*
|
|
136
|
-
* This source code is licensed under the ISC license.
|
|
137
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*/const Dd=He("users",[["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"}]]);/**
|
|
139
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
140
|
-
*
|
|
141
|
-
* This source code is licensed under the ISC license.
|
|
142
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
-
*/const Vd=He("variable",[["path",{d:"M8 21s-4-3-4-9 4-9 4-9",key:"uto9ud"}],["path",{d:"M16 3s4 3 4 9-4 9-4 9",key:"4w2vsq"}],["line",{x1:"15",x2:"9",y1:"9",y2:"15",key:"f7djnv"}],["line",{x1:"9",x2:"15",y1:"9",y2:"15",key:"1shsy8"}]]);/**
|
|
144
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
145
|
-
*
|
|
146
|
-
* This source code is licensed under the ISC license.
|
|
147
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
148
|
-
*/const jd=He("waypoints",[["path",{d:"m10.586 5.414-5.172 5.172",key:"4mc350"}],["path",{d:"m18.586 13.414-5.172 5.172",key:"8c96vv"}],["path",{d:"M6 12h12",key:"8npq4p"}],["circle",{cx:"12",cy:"20",r:"2",key:"144qzu"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["circle",{cx:"20",cy:"12",r:"2",key:"1xzzfp"}],["circle",{cx:"4",cy:"12",r:"2",key:"1hvhnz"}]]),Fd=["aria-label","aria-expanded"],Bd=sn({__name:"InfoHint",props:{label:{},align:{},side:{}},setup(e){const t=e,n=Xe(!1),s=Xe(!1),r=Xe(null);function o(a){n.value&&r.value&&!r.value.contains(a.target)&&(n.value=!1)}function i(a){a.key==="Escape"&&n.value&&(n.value=!1)}return Sn(()=>{document.addEventListener("pointerdown",o),document.addEventListener("keydown",i)}),Br(()=>{document.removeEventListener("pointerdown",o),document.removeEventListener("keydown",i)}),(a,l)=>(Z(),ge("span",{ref_key:"root",ref:r,class:"hint-wrap"},[F("button",{type:"button",class:Ft(["hint-btn",{on:n.value}]),"aria-label":t.label??"More information","aria-expanded":n.value||s.value,onClick:l[0]||(l[0]=c=>n.value=!n.value),onPointerenter:l[1]||(l[1]=c=>s.value=!0),onPointerleave:l[2]||(l[2]=c=>s.value=!1),onFocus:l[3]||(l[3]=c=>s.value=!0),onBlur:l[4]||(l[4]=c=>s.value=!1)},[$(q(Td),{size:15,"stroke-width":2,"aria-hidden":"true"})],42,Fd),$(Ks,{name:"hint"},{default:me(()=>[n.value||s.value?(Z(),ge("span",{key:0,class:Ft(["hint-bub",[t.align==="end"?"to-end":"to-start",t.side==="top"?"above":"below"]]),role:"tooltip"},[uc(a.$slots,"default")],2)):Ke("",!0)]),_:3})],512))}}),Hd={key:0,class:"rail"},$d={"aria-label":"Sections"},Ud={class:"count"},Gd={class:"count"},Kd={class:"foot"},Wd={key:0,class:"s-failed"},qd={key:1,class:"row",style:{gap:"4px"}},zd={key:0,class:"foot-who"},Jd={key:1,class:"foot-who"},Yd={class:"mute"},Qd={class:"row",style:{gap:"var(--s1)"}},Xd={id:"main",class:"view"},Zd=sn({__name:"App",setup(e){const{sheetOpen:t}=ed();gd(()=>{ae.authed&&(li(),ai())},7e3),gt(()=>ae.authed,a=>{a&&(li(),ai(),ii())});const n=qr(),s=qf(),r=Pe(()=>s.meta.public===!0);async function o(){await Xl(),n.push("/login")}ii();const i=Pe(()=>ye.jobs.filter(a=>a.state==="running").length);return(a,l)=>{const c=yr("RouterLink"),u=yr("RouterView");return Z(),ge(be,null,[l[18]||(l[18]=F("a",{class:"skip",href:"#main"},"Skip to content",-1)),F("div",{class:Ft(["shell",{"no-rail":!q(ae).authed,public:r.value}])},[q(ae).authed?(Z(),ge("aside",Hd,[$(c,{to:"/",class:"brand"},{default:me(()=>[$(q(Id),{size:20,"aria-hidden":"true"}),l[2]||(l[2]=jt(" pstack ",-1))]),_:1}),F("nav",$d,[$(c,{to:"/",class:"navlink",title:"g h"},{default:me(()=>[$(q(Pd),{size:17,"aria-hidden":"true"}),l[3]||(l[3]=F("span",null,"Dashboard",-1))]),_:1}),$(c,{to:"/deployments",class:"navlink",title:"g d"},{default:me(()=>[$(q(xd),{size:17,"aria-hidden":"true"}),l[4]||(l[4]=F("span",null,"Deployments",-1)),F("span",Ud,Ie(q(ye).deployments.length),1)]),_:1}),$(c,{to:"/specs",class:"navlink"},{default:me(()=>[$(q(Rd),{size:17,"aria-hidden":"true"}),l[5]||(l[5]=F("span",null,"Specs",-1))]),_:1}),$(c,{to:"/routing",class:"navlink"},{default:me(()=>[$(q(jd),{size:17,"aria-hidden":"true"}),l[6]||(l[6]=F("span",null,"Routing",-1))]),_:1}),$(c,{to:"/swarm",class:"navlink"},{default:me(()=>[$(q(Od),{size:17,"aria-hidden":"true"}),l[7]||(l[7]=F("span",null,"Swarm",-1))]),_:1}),$(c,{to:"/registries",class:"navlink"},{default:me(()=>[$(q(kd),{size:17,"aria-hidden":"true"}),l[8]||(l[8]=F("span",null,"Registries",-1))]),_:1}),$(c,{to:"/notifiers",class:"navlink"},{default:me(()=>[$(q(Cd),{size:17,"aria-hidden":"true"}),l[9]||(l[9]=F("span",null,"Notifiers",-1))]),_:1}),$(c,{to:"/jobs",class:"navlink",title:"g j"},{default:me(()=>[$(q(Sd),{size:17,"aria-hidden":"true"}),l[10]||(l[10]=F("span",null,"Jobs",-1)),F("span",Gd,Ie(i.value?`${i.value}▸`:q(ye).jobs.length),1)]),_:1}),$(c,{to:"/submit",class:"navlink",title:"g n"},{default:me(()=>[$(q(Md),{size:17,"aria-hidden":"true"}),l[11]||(l[11]=F("span",null,"Submit",-1))]),_:1}),$(c,{to:"/variables",class:"navlink"},{default:me(()=>[$(q(Vd),{size:17,"aria-hidden":"true"}),l[12]||(l[12]=F("span",null,"Variables",-1))]),_:1}),$(c,{to:"/users",class:"navlink"},{default:me(()=>[$(q(Dd),{size:17,"aria-hidden":"true"}),l[13]||(l[13]=F("span",null,"Users",-1))]),_:1}),$(c,{to:"/sso",class:"navlink"},{default:me(()=>[$(q(Ld),{size:17,"aria-hidden":"true"}),l[14]||(l[14]=F("span",null,"Sign-on",-1))]),_:1}),$(c,{to:"/settings",class:"navlink",title:"g s"},{default:me(()=>[$(q(Nd),{size:17,"aria-hidden":"true"}),l[15]||(l[15]=F("span",null,"Settings",-1))]),_:1})]),F("div",Kd,[q(ye).healthError?(Z(),ge("div",Wd,"Can't reach the server")):q(ye).health?(Z(),ge("div",qd,[q(ae).user?(Z(),ge("span",zd,Ie(q(ae).user.username),1)):q(ae).root&&q(ae).checked?(Z(),ge("span",Jd,"token access")):Ke("",!0),F("span",Yd,"· v"+Ie(q(ye).health.version),1),$(Bd,{label:"server details",side:"top"},{default:me(()=>[l[16]||(l[16]=jt(" Data is stored in ",-1)),F("code",null,Ie(q(ye).health.dataDir),1),l[17]||(l[17]=jt(" on the host. ",-1)),q(ye).health.authEnforced===!1?(Z(),ge(be,{key:0},[jt(" This server accepts connections from this machine only, so it does not ask for a token. ")],64)):Ke("",!0)]),_:1})])):Ke("",!0),F("div",Qd,[F("button",{class:"ghost sm",onClick:l[0]||(l[0]=f=>t.value=!0)},"Shortcuts"),q(ae).user?(Z(),ge("button",{key:0,class:"ghost sm",onClick:o},"Sign out")):Ke("",!0)])])])):Ke("",!0),F("main",Xd,[$(u,null,{default:me(({Component:f})=>[q(zr)?(Z(),xt(co(f),{key:0})):(Z(),xt(Ks,{key:1,name:"view",mode:"out-in"},{default:me(()=>[(Z(),xt(co(f)))]),_:2},1024))]),_:1})])],2),$(Xf),$(pd),$(rd,{open:q(t),onClose:l[1]||(l[1]=f=>t.value=!1)},null,8,["open"])],64)}}});Lu(Zd).use(Cn).mount("#app");export{uc as $,ye as A,wh as B,Jr as C,Ms as D,Ft as E,be as F,li as G,ai as H,Su as I,gt as J,Sn as K,bh as L,Br as M,co as N,_h as O,vh as P,fe as Q,Oa as R,Cn as S,Ks as T,Eh as U,ke as V,Kt as W,Ch as X,Ru as Y,gh as Z,Bd as _,F as a,_n as a0,ih as a1,jc as a2,eh as a3,Vc as a4,mh as a5,es as a6,ii as a7,ah as a8,oh as a9,ts as aa,De as ab,lh as ac,nt as ad,vn as ae,Pa as af,cs as ag,ch as ah,sh as ai,fa as aj,nh as ak,dh as al,uh as am,ph as an,hh as ao,La as ap,th as aq,pr as ar,zs as as,tl as at,rh as au,fh as av,Ne as aw,Ht as ax,yh as ay,ae as b,ge as c,sn as d,$ as e,jt as f,Ke as g,Vl as h,Ka as i,Pe as j,yr as k,qr as l,qf as m,Gt as n,Z as o,yd as p,md as q,Xe as r,gd as s,Ie as t,q as u,xr as v,me as w,Ah as x,_s as y,xt as z};
|
|
149
|
-
//# sourceMappingURL=index-BXPaPWhH.js.map
|