@acedatacloud/nexior 3.20.0 → 3.20.1
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/{Auth-Dp5SxRsQ.js → Auth-DOHlOCpp.js} +1 -1
- package/dist/assets/{BotPlaceholder-C-r3HBsb.js → BotPlaceholder-6rksUZSI.js} +1 -1
- package/dist/assets/{Callback-CMbVwekp.js → Callback-D-v3hKrJ.js} +1 -1
- package/dist/assets/{Console-sgqybV9e.js → Console-CrfUOjRg.js} +1 -1
- package/dist/assets/{Conversation-C47wQMzC.js → Conversation-XjUVydTy.js} +2 -2
- package/dist/assets/{CopyToClipboard-D10YM_7m.js → CopyToClipboard-CuCD6yxS.js} +1 -1
- package/dist/assets/{Detail-nFXkCo1c.js → Detail-CxUCYXrK.js} +1 -1
- package/dist/assets/{EditArray-DSLzgbUV.js → EditArray-DaAQ3MHX.js} +1 -1
- package/dist/assets/{Extra-DuTFCrI1.js → Extra-CLOABQjS.js} +1 -1
- package/dist/assets/{FilePreview-_imIFzEr.js → FilePreview-CMrAVI3v.js} +1 -1
- package/dist/assets/{History-Cfq_nM0O.js → History-9Wg3k27E.js} +1 -1
- package/dist/assets/{ImagePreview-DpKPZpzN.js → ImagePreview-BvPOSpDB.js} +1 -1
- package/dist/assets/{ImageWrapper-CJTWD-PJ.js → ImageWrapper-BChXhEi0.js} +1 -1
- package/dist/assets/{Index-BpS5nKKm.js → Index--bZdH1SJ.js} +1 -1
- package/dist/assets/Index-7uD3N-hm.js +1 -0
- package/dist/assets/{Index-r8HFp0Fa.js → Index-8uOMoloz.js} +1 -1
- package/dist/assets/{Index-Dh1XasMQ.js → Index-B4I-9GbD.js} +1 -1
- package/dist/assets/{Index-BfXX3_X5.js → Index-B6HCk_-Z.js} +1 -1
- package/dist/assets/{Index-BBA2fb8p.js → Index-BwBHSzg_.js} +1 -1
- package/dist/assets/{Index-Bj3l491h.js → Index-CHOFYqOJ.js} +1 -1
- package/dist/assets/{Index-CPso7j9R.js → Index-CNCj6VmF.js} +1 -1
- package/dist/assets/{Index-Und3gfGe.css → Index-Cj_OO_Dg.css} +1 -1
- package/dist/assets/{Index-C66oDpzY.js → Index-DB7xg-db.js} +1 -1
- package/dist/assets/{Index-DNCwSGrb.js → Index-DEJ1F06G.js} +1 -1
- package/dist/assets/{Index-B6VOYE6t.js → Index-DFfkrcKD.js} +1 -1
- package/dist/assets/{Index-aibBgpds.js → Index-DOZ1CpUV.js} +1 -1
- package/dist/assets/{Index--HrzVZr-.js → Index-DXy4uUZ0.js} +1 -1
- package/dist/assets/{Index-B9G3QABi.js → Index-DgcbnuJl.js} +1 -1
- package/dist/assets/{Index-5q6HTX0d.js → Index-DpXxZAQT.js} +1 -1
- package/dist/assets/{Index-CKUhP8Wa.js → Index-DwVMjgEx.js} +1 -1
- package/dist/assets/{InfoIcon-DJgGdcM4.js → InfoIcon-DhMpzlKc.js} +1 -1
- package/dist/assets/{Invitees-KgSZx4Uj.js → Invitees-CbKt6RsF.js} +1 -1
- package/dist/assets/{List-B-AP-_iP.js → List-D0u8ApAR.js} +1 -1
- package/dist/assets/{List-DYVn4yzw.js → List-DPJxF9Uq.js} +1 -1
- package/dist/assets/{List-C_U16Ogh.js → List-Dzt1AZ5s.js} +1 -1
- package/dist/assets/{Login-BDLFzWKY.js → Login-BiY_rvx8.js} +1 -1
- package/dist/assets/{Main-w_kAoQvr.js → Main-DzlsxIsf.js} +1 -1
- package/dist/assets/{Navigator-Cir0Tory.js → Navigator-DHP0Z5BQ.js} +1 -1
- package/dist/assets/{NoTasks-BAFsp5y-.js → NoTasks-DmNkmZBC.js} +1 -1
- package/dist/assets/{Pagination-yeTIoBfb.js → Pagination-CTJgfb9h.js} +1 -1
- package/dist/assets/{Status-C1VcHGOO.js → Status-BdMCij8k.js} +1 -1
- package/dist/assets/{Subscribe-D4gyA5GB.js → Subscribe-RBtMq5Tr.js} +1 -1
- package/dist/assets/{VideoPlayer-DAFte4NK.js → VideoPlayer-D-xD0k0W.js} +1 -1
- package/dist/assets/{_baseClone-DfZip4NQ.js → _baseClone-CyEUgRjr.js} +1 -1
- package/dist/assets/{_baseIteratee-DVuly0os.js → _baseIteratee-LzESfPbZ.js} +1 -1
- package/dist/assets/{_initCloneObject-BNJJfRAs.js → _initCloneObject-DL2KWEpg.js} +1 -1
- package/dist/assets/{castArray-F6UtPTG2.js → castArray-BeCWKAC7.js} +1 -1
- package/dist/assets/{debounce-DUU4g0Vw.js → debounce-kw1MDyXj.js} +1 -1
- package/dist/assets/{distribution-B-aGOgvr.js → distribution-D-fO2s3O.js} +1 -1
- package/dist/assets/{dropdown-Dk5TLA40.js → dropdown-C8jclX96.js} +1 -1
- package/dist/assets/{index-CcIQaw9t.js → index-1UJz5zRY.js} +1 -1
- package/dist/assets/{index-v3LBqa1e.js → index-B0EB6NMl.js} +1 -1
- package/dist/assets/{index-dSqsT--9.js → index-BC4WNM6T.js} +1 -1
- package/dist/assets/{index-1fW-uAwf.js → index-BDYxvVsV.js} +1 -1
- package/dist/assets/{index-BXh5SszT.js → index-BKJPB7EB.js} +1 -1
- package/dist/assets/{index-fKcIRqyn.js → index-BNbrEyG8.js} +1 -1
- package/dist/assets/{index-778MgwIZ.js → index-BQcaFqGZ.js} +1 -1
- package/dist/assets/{index-IUOnFE33.js → index-BZbKTMK3.js} +2 -2
- package/dist/assets/{index-2wYQGjlL.js → index-BxILNqsr.js} +1 -1
- package/dist/assets/{index-ZR2WC3y6.js → index-C1h2SbZU.js} +1 -1
- package/dist/assets/{index-ayOK3esB.js → index-CGS5ltjA.js} +1 -1
- package/dist/assets/{index-Dun7_PXv.js → index-CNEDsR9Z.js} +1 -1
- package/dist/assets/{index-Br08pmUn.js → index-CSXTF63q.js} +1 -1
- package/dist/assets/{index-aLPamwRW.js → index-CZi_rDaW.js} +1 -1
- package/dist/assets/{index-CkSqGmwg.js → index-CbPHeT3X.js} +1 -1
- package/dist/assets/{index-CkGfGBH1.js → index-CgzNR6Br.js} +1 -1
- package/dist/assets/{index-3NDJx6NE.js → index-CjhBlm5C.js} +1 -1
- package/dist/assets/{index-DSNMx2cO.js → index-Cu3La3dR.js} +1 -1
- package/dist/assets/{index-CF5Kx3lT.js → index-D0cZ5BM8.js} +1 -1
- package/dist/assets/{index-BlfhaCBe.js → index-DSYfQpVb.js} +1 -1
- package/dist/assets/{index-DyhtTOcR.js → index-N5_Xerc6.js} +1 -1
- package/dist/assets/{index-CwsOuzih.js → index-Rl2p1NyF.js} +1 -1
- package/dist/assets/{index-D_GDwTBQ.js → index-Tp13-pBQ.js} +1 -1
- package/dist/assets/{index-IPLndquX.js → index-bAhdShMo.js} +1 -1
- package/dist/assets/{index-yLAe503u.js → index-hbRYKLdf.js} +1 -1
- package/dist/assets/{index-Dgon4P8g.js → index-hrpdMjUu.js} +1 -1
- package/dist/assets/{index-C6pJT5Z8.js → index-jqOaitfg.js} +1 -1
- package/dist/assets/{index-D9ZkPdjT.js → index-oeBw24Ll.js} +1 -1
- package/dist/assets/{index-DLEpULvj.js → index-yxRIEND6.js} +1 -1
- package/dist/assets/{index.es-CcpVHvSx.js → index.es-B92faSi8.js} +1 -1
- package/dist/assets/{isEqual-DT9q1wUz.js → isEqual-DIgYivsv.js} +1 -1
- package/dist/assets/{isPlainObject-_HKxhcoH.js → isPlainObject-DCVZiiY1.js} +1 -1
- package/dist/assets/{order-DohWanVo.js → order-C2E-v9oK.js} +1 -1
- package/dist/assets/{price-BmpkejfA.js → price-B8COZ-j4.js} +1 -1
- package/dist/assets/{strings-ByIYpJrS.js → strings-BQbdUIFn.js} +1 -1
- package/dist/assets/{typescript-CrbS__OB.js → typescript-CkR2OWnN.js} +1 -1
- package/dist/assets/{use-form-item-DNI3l--g.js → use-form-item-9EKLSUpL.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index-r39yB5QH.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Callback-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Callback-D-v3hKrJ.js","assets/Callback-BOWlkJeC.css","assets/Console-CrfUOjRg.js","assets/Navigator-DHP0Z5BQ.js","assets/index.es-B92faSi8.js","assets/index-CSXTF63q.js","assets/index-CgzNR6Br.js","assets/use-form-item-9EKLSUpL.js","assets/index-r5W6hzzQ.js","assets/index-BDYxvVsV.js","assets/index-CZi_rDaW.js","assets/typescript-CkR2OWnN.js","assets/index-BKJPB7EB.js","assets/dropdown-C8jclX96.js","assets/castArray-BeCWKAC7.js","assets/EditArray-DaAQ3MHX.js","assets/index-DSYfQpVb.js","assets/index-CjhBlm5C.js","assets/index-yxRIEND6.js","assets/index-oeBw24Ll.js","assets/_baseClone-CyEUgRjr.js","assets/_initCloneObject-DL2KWEpg.js","assets/isEqual-DIgYivsv.js","assets/index-hrpdMjUu.js","assets/EditArray--cNGtcL5.css","assets/index-hbRYKLdf.js","assets/index-Cu3La3dR.js","assets/debounce-kw1MDyXj.js","assets/index-BxILNqsr.js","assets/index-CbPHeT3X.js","assets/index-N5_Xerc6.js","assets/index-Tp13-pBQ.js","assets/Navigator-De_Hn2Tg.css","assets/Console-CtzDEiv9.css","assets/List-D0u8ApAR.js","assets/order-C2E-v9oK.js","assets/Pagination-CTJgfb9h.js","assets/index-BNbrEyG8.js","assets/strings-BQbdUIFn.js","assets/_baseIteratee-LzESfPbZ.js","assets/Pagination-CnOUH4Ut.css","assets/CopyToClipboard-CuCD6yxS.js","assets/CopyToClipboard-D6Bl8XZW.css","assets/order-CWHwECRB.js","assets/price-B8COZ-j4.js","assets/index-BQcaFqGZ.js","assets/index-CNEDsR9Z.js","assets/isPlainObject-DCVZiiY1.js","assets/index-BC4WNM6T.js","assets/Detail-CxUCYXrK.js","assets/index-D0cZ5BM8.js","assets/index-Rl2p1NyF.js","assets/Detail-B7sD3rtq.css","assets/List-DPJxF9Uq.js","assets/credential-DWyZQ5lE.js","assets/Extra-CLOABQjS.js","assets/api-Ch0ZHArw.js","assets/index-bAhdShMo.js","assets/Extra-BWQZ0rxR.css","assets/Subscribe-RBtMq5Tr.js","assets/Subscribe-CRhapGtL.css","assets/List-Dzt1AZ5s.js","assets/Main-DzlsxIsf.js","assets/Status-BdMCij8k.js","assets/Status-61u7CQ2x.css","assets/Main-CqaRC_rT.css","assets/Conversation-XjUVydTy.js","assets/FilePreview-CMrAVI3v.js","assets/ImagePreview-BvPOSpDB.js","assets/index-C1h2SbZU.js","assets/Conversation-CjRJo_oi.css","assets/Index-DOZ1CpUV.js","assets/InfoIcon-DhMpzlKc.js","assets/index-jqOaitfg.js","assets/VideoPlayer-D-xD0k0W.js","assets/vue-plyr-QZFBikSk.js","assets/vue-plyr-BqJN4-Iw.css","assets/index-CGS5ltjA.js","assets/NoTasks-DmNkmZBC.js","assets/ImageWrapper-BChXhEi0.js","assets/ImageWrapper-DEadO_7m.css","assets/BotPlaceholder-6rksUZSI.js","assets/Index-iMvcjizb.css","assets/Index-CNCj6VmF.js","assets/distribution-D-fO2s3O.js","assets/Index-cOOQ1_jY.css","assets/History-9Wg3k27E.js","assets/History-DCa2CRRX.css","assets/Invitees-CbKt6RsF.js","assets/Invitees-G_3SLFJA.css","assets/Index-DwVMjgEx.js","assets/Index-BIleXhAP.css","assets/Index-DpXxZAQT.js","assets/Index-Cmh5PQ4o.css","assets/Index-DXy4uUZ0.js","assets/Index-CKGUdObo.css","assets/Index-CHOFYqOJ.js","assets/Index-CPRjinBb.css","assets/Index-DEJ1F06G.js","assets/Index-DNIkVrSE.css","assets/Index-B6HCk_-Z.js","assets/Index-m5GlW6Tw.css","assets/Index-DB7xg-db.js","assets/Index-dIHinIPb.css","assets/Index-7uD3N-hm.js","assets/Index-Cj_OO_Dg.css","assets/Index--bZdH1SJ.js","assets/Index-BudoEJZI.css","assets/Index-DgcbnuJl.js","assets/Index-BPXoskz4.css","assets/Index-8uOMoloz.js","assets/index-B0EB6NMl.js","assets/Index-C0iuxLwS.css","assets/Index-BwBHSzg_.js","assets/Index-3hzmS3eW.css","assets/Index-B4I-9GbD.js","assets/Index-CZVUVmvo.css","assets/Index-DFfkrcKD.js","assets/Index-PQerfBmJ.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/**
|
|
3
3
|
* @vue/shared v3.5.18
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -64,7 +64,7 @@ Minimum version required to store current data is: `+R+`.
|
|
|
64
64
|
* vue-router v4.5.1
|
|
65
65
|
* (c) 2025 Eduardo San Martin Morote
|
|
66
66
|
* @license MIT
|
|
67
|
-
*/const mo=typeof document<"u";function Db(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function N$(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Db(e.default)}const He=Object.assign;function cu(e,t){const n={};for(const a in t){const o=t[a];n[a]=fn(o)?o.map(e):e(o)}return n}const mr=()=>{},fn=Array.isArray,Nb=/#/g,M$=/&/g,$$=/\//g,V$=/=/g,F$=/\?/g,Mb=/\+/g,U$=/%5B/g,B$=/%5D/g,$b=/%5E/g,H$=/%60/g,Vb=/%7B/g,q$=/%7C/g,Fb=/%7D/g,W$=/%20/g;function Zd(e){return encodeURI(""+e).replace(q$,"|").replace(U$,"[").replace(B$,"]")}function G$(e){return Zd(e).replace(Vb,"{").replace(Fb,"}").replace($b,"^")}function cp(e){return Zd(e).replace(Mb,"%2B").replace(W$,"+").replace(Nb,"%23").replace(M$,"%26").replace(H$,"`").replace(Vb,"{").replace(Fb,"}").replace($b,"^")}function Y$(e){return cp(e).replace(V$,"%3D")}function K$(e){return Zd(e).replace(Nb,"%23").replace(F$,"%3F")}function X$(e){return e==null?"":K$(e).replace($$,"%2F")}function Mr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const J$=/\/$/,Z$=e=>e.replace(J$,"");function lu(e,t,n="/"){let a,o={},r="",s="";const i=t.indexOf("#");let c=t.indexOf("?");return i<c&&i>=0&&(c=-1),c>-1&&(a=t.slice(0,c),r=t.slice(c+1,i>-1?i:t.length),o=e(r)),i>-1&&(a=a||t.slice(0,i),s=t.slice(i,t.length)),a=nV(a??t,n),{fullPath:a+(r&&"?")+r+s,path:a,query:o,hash:Mr(s)}}function Q$(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function R0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function eV(e,t,n){const a=t.matched.length-1,o=n.matched.length-1;return a>-1&&a===o&&Po(t.matched[a],n.matched[o])&&Ub(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Po(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ub(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!tV(e[n],t[n]))return!1;return!0}function tV(e,t){return fn(e)?C0(e,t):fn(t)?C0(t,e):e===t}function C0(e,t){return fn(t)?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function nV(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),a=e.split("/"),o=a[a.length-1];(o===".."||o===".")&&a.push("");let r=n.length-1,s,i;for(s=0;s<a.length;s++)if(i=a[s],i!==".")if(i==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+a.slice(s).join("/")}const oa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var $r;(function(e){e.pop="pop",e.push="push"})($r||($r={}));var hr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(hr||(hr={}));function aV(e){if(!e)if(mo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Z$(e)}const oV=/^[^#]+#/;function rV(e,t){return e.replace(oV,"#")+t}function sV(e,t){const n=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-n.left-(t.left||0),top:a.top-n.top-(t.top||0)}}const oc=()=>({left:window.scrollX,top:window.scrollY});function iV(e){let t;if("el"in e){const n=e.el,a=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=sV(o,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 P0(e,t){return(history.state?history.state.position-t:-1)+e}const lp=new Map;function cV(e,t){lp.set(e,t)}function lV(e){const t=lp.get(e);return lp.delete(e),t}let uV=()=>location.protocol+"//"+location.host;function Bb(e,t){const{pathname:n,search:a,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(i);return c[0]!=="/"&&(c="/"+c),R0(c,"")}return R0(n,e)+a+o}function pV(e,t,n,a){let o=[],r=[],s=null;const i=({state:d})=>{const f=Bb(e,location),h=n.value,v=t.value;let _=0;if(d){if(n.value=f,t.value=d,s&&s===h){s=null;return}_=v?d.position-v.position:0}else a(f);o.forEach(g=>{g(n.value,h,{delta:_,type:$r.pop,direction:_?_>0?hr.forward:hr.back:hr.unknown})})};function c(){s=n.value}function l(d){o.push(d);const f=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return r.push(f),f}function u(){const{history:d}=window;d.state&&d.replaceState(He({},d.state,{scroll:oc()}),"")}function p(){for(const d of r)d();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:p}}function x0(e,t,n,a=!1,o=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:o?oc():null}}function dV(e){const{history:t,location:n}=window,a={value:Bb(e,n)},o={value:t.state};o.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,l,u){const p=e.indexOf("#"),d=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:uV()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(f){console.error(f),n[u?"replace":"assign"](d)}}function s(c,l){const u=He({},t.state,x0(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});r(c,u,!0),a.value=c}function i(c,l){const u=He({},o.value,t.state,{forward:c,scroll:oc()});r(u.current,u,!0);const p=He({},x0(a.value,c,null),{position:u.position+1},l);r(c,p,!1),a.value=c}return{location:a,state:o,push:i,replace:s}}function fV(e){e=aV(e);const t=dV(e),n=pV(e,t.state,t.location,t.replace);function a(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=He({location:"",base:e,go:a,createHref:rV.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function mV(e){return typeof e=="string"||e&&typeof e=="object"}function Hb(e){return typeof e=="string"||typeof e=="symbol"}const qb=Symbol("");var z0;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(z0||(z0={}));function xo(e,t){return He(new Error,{type:e,[qb]:!0},t)}function Dn(e,t){return e instanceof Error&&qb in e&&(t==null||!!(e.type&t))}const D0="[^/]+?",hV={sensitive:!1,strict:!1,start:!0,end:!0},gV=/[.+*?^${}()[\]/\\]/g;function vV(e,t){const n=He({},hV,t),a=[];let o=n.start?"^":"";const r=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let p=0;p<l.length;p++){const d=l[p];let f=40+(n.sensitive?.25:0);if(d.type===0)p||(o+="/"),o+=d.value.replace(gV,"\\$&"),f+=40;else if(d.type===1){const{value:h,repeatable:v,optional:_,regexp:g}=d;r.push({name:h,repeatable:v,optional:_});const y=g||D0;if(y!==D0){f+=10;try{new RegExp(`(${y})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+b.message)}}let k=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;p||(k=_&&l.length<2?`(?:/${k})`:"/"+k),_&&(k+="?"),o+=k,f+=20,_&&(f+=-8),v&&(f+=-20),y===".*"&&(f+=-50)}u.push(f)}a.push(u)}if(n.strict&&n.end){const l=a.length-1;a[l][a[l].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function i(l){const u=l.match(s),p={};if(!u)return null;for(let d=1;d<u.length;d++){const f=u[d]||"",h=r[d-1];p[h.name]=f&&h.repeatable?f.split("/"):f}return p}function c(l){let u="",p=!1;for(const d of e){(!p||!u.endsWith("/"))&&(u+="/"),p=!1;for(const f of d)if(f.type===0)u+=f.value;else if(f.type===1){const{value:h,repeatable:v,optional:_}=f,g=h in l?l[h]:"";if(fn(g)&&!v)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=fn(g)?g.join("/"):g;if(!y)if(_)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):p=!0);else throw new Error(`Missing required param "${h}"`);u+=y}}return u||"/"}return{re:s,score:a,keys:r,parse:i,stringify:c}}function _V(e,t){let n=0;for(;n<e.length&&n<t.length;){const a=t[n]-e[n];if(a)return a;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Wb(e,t){let n=0;const a=e.score,o=t.score;for(;n<a.length&&n<o.length;){const r=_V(a[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-a.length)===1){if(N0(a))return 1;if(N0(o))return-1}return o.length-a.length}function N0(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yV={type:0,value:""},bV=/[a-zA-Z0-9_]/;function kV(e){if(!e)return[[]];if(e==="/")return[[yV]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${l}": ${f}`)}let n=0,a=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let i=0,c,l="",u="";function p(){l&&(n===0?r.push({type:0,value:l}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;i<e.length;){if(c=e[i++],c==="\\"&&n!==2){a=n,n=4;continue}switch(n){case 0:c==="/"?(l&&p(),s()):c===":"?(p(),n=1):d();break;case 4:d(),n=a;break;case 1:c==="("?n=2:bV.test(c)?d():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&i--);break;case 2:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&i--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),p(),s(),o}function wV(e,t,n){const a=vV(kV(e.path),n),o=He(a,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function jV(e,t){const n=[],a=new Map;t=F0({strict:!1,end:!0,sensitive:!1},t);function o(p){return a.get(p)}function r(p,d,f){const h=!f,v=$0(p);v.aliasOf=f&&f.record;const _=F0(t,p),g=[v];if("alias"in p){const b=typeof p.alias=="string"?[p.alias]:p.alias;for(const O of b)g.push($0(He({},v,{components:f?f.record.components:v.components,path:O,aliasOf:f?f.record:v})))}let y,k;for(const b of g){const{path:O}=b;if(d&&O[0]!=="/"){const A=d.record.path,T=A[A.length-1]==="/"?"":"/";b.path=d.record.path+(O&&T+O)}if(y=wV(b,d,_),f?f.alias.push(y):(k=k||y,k!==y&&k.alias.push(y),h&&p.name&&!V0(y)&&s(p.name)),Gb(y)&&c(y),v.children){const A=v.children;for(let T=0;T<A.length;T++)r(A[T],y,f&&f.children[T])}f=f||y}return k?()=>{s(k)}:mr}function s(p){if(Hb(p)){const d=a.get(p);d&&(a.delete(p),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(p);d>-1&&(n.splice(d,1),p.record.name&&a.delete(p.record.name),p.children.forEach(s),p.alias.forEach(s))}}function i(){return n}function c(p){const d=TV(p,n);n.splice(d,0,p),p.record.name&&!V0(p)&&a.set(p.record.name,p)}function l(p,d){let f,h={},v,_;if("name"in p&&p.name){if(f=a.get(p.name),!f)throw xo(1,{location:p});_=f.record.name,h=He(M0(d.params,f.keys.filter(k=>!k.optional).concat(f.parent?f.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),p.params&&M0(p.params,f.keys.map(k=>k.name))),v=f.stringify(h)}else if(p.path!=null)v=p.path,f=n.find(k=>k.re.test(v)),f&&(h=f.parse(v),_=f.record.name);else{if(f=d.name?a.get(d.name):n.find(k=>k.re.test(d.path)),!f)throw xo(1,{location:p,currentLocation:d});_=f.record.name,h=He({},d.params,p.params),v=f.stringify(h)}const g=[];let y=f;for(;y;)g.unshift(y.record),y=y.parent;return{name:_,path:v,params:h,matched:g,meta:AV(g)}}e.forEach(p=>r(p));function u(){n.length=0,a.clear()}return{addRoute:r,resolve:l,removeRoute:s,clearRoutes:u,getRoutes:i,getRecordMatcher:o}}function M0(e,t){const n={};for(const a of t)a in e&&(n[a]=e[a]);return n}function $0(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:EV(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 EV(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const a in e.components)t[a]=typeof n=="object"?n[a]:n;return t}function V0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function AV(e){return e.reduce((t,n)=>He(t,n.meta),{})}function F0(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}function TV(e,t){let n=0,a=t.length;for(;n!==a;){const r=n+a>>1;Wb(e,t[r])<0?a=r:n=r+1}const o=OV(e);return o&&(a=t.lastIndexOf(o,a-1)),a}function OV(e){let t=e;for(;t=t.parent;)if(Gb(t)&&Wb(e,t)===0)return t}function Gb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function LV(e){const t={};if(e===""||e==="?")return t;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<a.length;++o){const r=a[o].replace(Mb," "),s=r.indexOf("="),i=Mr(s<0?r:r.slice(0,s)),c=s<0?null:Mr(r.slice(s+1));if(i in t){let l=t[i];fn(l)||(l=t[i]=[l]),l.push(c)}else t[i]=c}return t}function U0(e){let t="";for(let n in e){const a=e[n];if(n=Y$(n),a==null){a!==void 0&&(t+=(t.length?"&":"")+n);continue}(fn(a)?a.map(r=>r&&cp(r)):[a&&cp(a)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function SV(e){const t={};for(const n in e){const a=e[n];a!==void 0&&(t[n]=fn(a)?a.map(o=>o==null?null:""+o):a==null?a:""+a)}return t}const IV=Symbol(""),B0=Symbol(""),Qd=Symbol(""),Yb=Symbol(""),up=Symbol("");function Qo(){let e=[];function t(a){return e.push(a),()=>{const o=e.indexOf(a);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pa(e,t,n,a,o,r=s=>s()){const s=a&&(a.enterCallbacks[o]=a.enterCallbacks[o]||[]);return()=>new Promise((i,c)=>{const l=d=>{d===!1?c(xo(4,{from:n,to:t})):d instanceof Error?c(d):mV(d)?c(xo(2,{from:t,to:d})):(s&&a.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),i())},u=r(()=>e.call(a&&a.instances[o],t,n,l));let p=Promise.resolve(u);e.length<3&&(p=p.then(l)),p.catch(d=>c(d))})}function uu(e,t,n,a,o=r=>r()){const r=[];for(const s of e)for(const i in s.components){let c=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Db(c)){const u=(c.__vccOpts||c)[t];u&&r.push(pa(u,n,a,s,i,o))}else{let l=c();r.push(()=>l.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${s.path}"`);const p=N$(u)?u.default:u;s.mods[i]=u,s.components[i]=p;const f=(p.__vccOpts||p)[t];return f&&pa(f,n,a,s,i,o)()}))}}return r}function H0(e){const t=Qe(Qd),n=Qe(Yb),a=he(()=>{const c=re(e.to);return t.resolve(c)}),o=he(()=>{const{matched:c}=a.value,{length:l}=c,u=c[l-1],p=n.matched;if(!u||!p.length)return-1;const d=p.findIndex(Po.bind(null,u));if(d>-1)return d;const f=q0(c[l-2]);return l>1&&q0(u)===f&&p[p.length-1].path!==f?p.findIndex(Po.bind(null,c[l-2])):d}),r=he(()=>o.value>-1&&zV(n.params,a.value.params)),s=he(()=>o.value>-1&&o.value===n.matched.length-1&&Ub(n.params,a.value.params));function i(c={}){if(xV(c)){const l=t[re(e.replace)?"replace":"push"](re(e.to)).catch(mr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:a,href:he(()=>a.value.href),isActive:r,isExactActive:s,navigate:i}}function RV(e){return e.length===1?e[0]:e}const CV=_e({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:H0,setup(e,{slots:t}){const n=In(H0(e)),{options:a}=Qe(Qd),o=he(()=>({[W0(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[W0(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&RV(t.default(n));return e.custom?r:Mt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),PV=CV;function xV(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 zV(e,t){for(const n in t){const a=t[n],o=e[n];if(typeof a=="string"){if(a!==o)return!1}else if(!fn(o)||o.length!==a.length||a.some((r,s)=>r!==o[s]))return!1}return!0}function q0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const W0=(e,t,n)=>e??t??n,DV=_e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const a=Qe(up),o=he(()=>e.route||a.value),r=Qe(B0,0),s=he(()=>{let l=re(r);const{matched:u}=o.value;let p;for(;(p=u[l])&&!p.components;)l++;return l}),i=he(()=>o.value.matched[s.value]);Ba(B0,he(()=>s.value+1)),Ba(IV,i),Ba(up,o);const c=ze();return Ve(()=>[c.value,i.value,e.name],([l,u,p],[d,f,h])=>{u&&(u.instances[p]=l,f&&f!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),l&&u&&(!f||!Po(u,f)||!d)&&(u.enterCallbacks[p]||[]).forEach(v=>v(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,p=i.value,d=p&&p.components[u];if(!d)return G0(n.default,{Component:d,route:l});const f=p.props[u],h=f?f===!0?l.params:typeof f=="function"?f(l):f:null,_=Mt(d,He({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(p.instances[u]=null)},ref:c}));return G0(n.default,{Component:_,route:l})||_}}});function G0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const NV=DV;function MV(e){const t=jV(e.routes,e),n=e.parseQuery||LV,a=e.stringifyQuery||U0,o=e.history,r=Qo(),s=Qo(),i=Qo(),c=qr(oa);let l=oa;mo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=cu.bind(null,B=>""+B),p=cu.bind(null,X$),d=cu.bind(null,Mr);function f(B,ne){let te,Q;return Hb(B)?(te=t.getRecordMatcher(B),Q=ne):Q=B,t.addRoute(Q,te)}function h(B){const ne=t.getRecordMatcher(B);ne&&t.removeRoute(ne)}function v(){return t.getRoutes().map(B=>B.record)}function _(B){return!!t.getRecordMatcher(B)}function g(B,ne){if(ne=He({},ne||c.value),typeof B=="string"){const D=lu(n,B,ne.path),K=t.resolve({path:D.path},ne),J=o.createHref(D.fullPath);return He(D,K,{params:d(K.params),hash:Mr(D.hash),redirectedFrom:void 0,href:J})}let te;if(B.path!=null)te=He({},B,{path:lu(n,B.path,ne.path).path});else{const D=He({},B.params);for(const K in D)D[K]==null&&delete D[K];te=He({},B,{params:p(D)}),ne.params=p(ne.params)}const Q=t.resolve(te,ne),me=B.hash||"";Q.params=u(d(Q.params));const j=Q$(a,He({},B,{hash:G$(me),path:Q.path})),L=o.createHref(j);return He({fullPath:j,hash:me,query:a===U0?SV(B.query):B.query||{}},Q,{redirectedFrom:void 0,href:L})}function y(B){return typeof B=="string"?lu(n,B,c.value.path):He({},B)}function k(B,ne){if(l!==B)return xo(8,{from:ne,to:B})}function b(B){return T(B)}function O(B){return b(He(y(B),{replace:!0}))}function A(B){const ne=B.matched[B.matched.length-1];if(ne&&ne.redirect){const{redirect:te}=ne;let Q=typeof te=="function"?te(B):te;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=y(Q):{path:Q},Q.params={}),He({query:B.query,hash:B.hash,params:Q.path!=null?{}:B.params},Q)}}function T(B,ne){const te=l=g(B),Q=c.value,me=B.state,j=B.force,L=B.replace===!0,D=A(te);if(D)return T(He(y(D),{state:typeof D=="object"?He({},me,D.state):me,force:j,replace:L}),ne||te);const K=te;K.redirectedFrom=ne;let J;return!j&&eV(a,Q,te)&&(J=xo(16,{to:K,from:Q}),pe(Q,Q,!0,!1)),(J?Promise.resolve(J):S(K,Q)).catch(X=>Dn(X)?Dn(X,2)?X:ie(X):V(X,K,Q)).then(X=>{if(X){if(Dn(X,2))return T(He({replace:L},y(X.to),{state:typeof X.to=="object"?He({},me,X.to.state):me,force:j}),ne||K)}else X=I(K,Q,!0,L,me);return R(K,Q,X),X})}function C(B,ne){const te=k(B,ne);return te?Promise.reject(te):Promise.resolve()}function P(B){const ne=Te.values().next().value;return ne&&typeof ne.runWithContext=="function"?ne.runWithContext(B):B()}function S(B,ne){let te;const[Q,me,j]=$V(B,ne);te=uu(Q.reverse(),"beforeRouteLeave",B,ne);for(const D of Q)D.leaveGuards.forEach(K=>{te.push(pa(K,B,ne))});const L=C.bind(null,B,ne);return te.push(L),Ie(te).then(()=>{te=[];for(const D of r.list())te.push(pa(D,B,ne));return te.push(L),Ie(te)}).then(()=>{te=uu(me,"beforeRouteUpdate",B,ne);for(const D of me)D.updateGuards.forEach(K=>{te.push(pa(K,B,ne))});return te.push(L),Ie(te)}).then(()=>{te=[];for(const D of j)if(D.beforeEnter)if(fn(D.beforeEnter))for(const K of D.beforeEnter)te.push(pa(K,B,ne));else te.push(pa(D.beforeEnter,B,ne));return te.push(L),Ie(te)}).then(()=>(B.matched.forEach(D=>D.enterCallbacks={}),te=uu(j,"beforeRouteEnter",B,ne,P),te.push(L),Ie(te))).then(()=>{te=[];for(const D of s.list())te.push(pa(D,B,ne));return te.push(L),Ie(te)}).catch(D=>Dn(D,8)?D:Promise.reject(D))}function R(B,ne,te){i.list().forEach(Q=>P(()=>Q(B,ne,te)))}function I(B,ne,te,Q,me){const j=k(B,ne);if(j)return j;const L=ne===oa,D=mo?history.state:{};te&&(Q||L?o.replace(B.fullPath,He({scroll:L&&D&&D.scroll},me)):o.push(B.fullPath,me)),c.value=B,pe(B,ne,te,L),ie()}let F;function $(){F||(F=o.listen((B,ne,te)=>{if(!Pe.listening)return;const Q=g(B),me=A(Q);if(me){T(He(me,{replace:!0,force:!0}),Q).catch(mr);return}l=Q;const j=c.value;mo&&cV(P0(j.fullPath,te.delta),oc()),S(Q,j).catch(L=>Dn(L,12)?L:Dn(L,2)?(T(He(y(L.to),{force:!0}),Q).then(D=>{Dn(D,20)&&!te.delta&&te.type===$r.pop&&o.go(-1,!1)}).catch(mr),Promise.reject()):(te.delta&&o.go(-te.delta,!1),V(L,Q,j))).then(L=>{L=L||I(Q,j,!1),L&&(te.delta&&!Dn(L,8)?o.go(-te.delta,!1):te.type===$r.pop&&Dn(L,20)&&o.go(-1,!1)),R(Q,j,L)}).catch(mr)}))}let H=Qo(),G=Qo(),ee;function V(B,ne,te){ie(B);const Q=G.list();return Q.length?Q.forEach(me=>me(B,ne,te)):console.error(B),Promise.reject(B)}function oe(){return ee&&c.value!==oa?Promise.resolve():new Promise((B,ne)=>{H.add([B,ne])})}function ie(B){return ee||(ee=!B,$(),H.list().forEach(([ne,te])=>B?te(B):ne()),H.reset()),B}function pe(B,ne,te,Q){const{scrollBehavior:me}=e;if(!mo||!me)return Promise.resolve();const j=!te&&lV(P0(B.fullPath,0))||(Q||!te)&&history.state&&history.state.scroll||null;return Wn().then(()=>me(B,ne,j)).then(L=>L&&iV(L)).catch(L=>V(L,B,ne))}const fe=B=>o.go(B);let ke;const Te=new Set,Pe={currentRoute:c,listening:!0,addRoute:f,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:v,resolve:g,options:e,push:b,replace:O,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:r.add,beforeResolve:s.add,afterEach:i.add,onError:G.add,isReady:oe,install(B){const ne=this;B.component("RouterLink",PV),B.component("RouterView",NV),B.config.globalProperties.$router=ne,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>re(c)}),mo&&!ke&&c.value===oa&&(ke=!0,b(o.location).catch(me=>{}));const te={};for(const me in oa)Object.defineProperty(te,me,{get:()=>c.value[me],enumerable:!0});B.provide(Qd,ne),B.provide(Yb,sv(te)),B.provide(up,c);const Q=B.unmount;Te.add(B),B.unmount=function(){Te.delete(B),Te.size<1&&(l=oa,F&&F(),F=null,c.value=oa,ke=!1,ee=!1),Q()}}};function Ie(B){return B.reduce((ne,te)=>ne.then(()=>P(te)),Promise.resolve())}return Pe}function $V(e,t){const n=[],a=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;s<r;s++){const i=t.matched[s];i&&(e.matched.find(l=>Po(l,i))?a.push(i):n.push(i));const c=e.matched[s];c&&(t.matched.find(l=>Po(l,c))||o.push(c))}return[n,a,o]}const uJ="index",VV="auth-login",FV="auth-callback",Kb="site-index",UV="chatgpt-conversation",pp="chatgpt-conversation-new",BV="deepseek-conversation",Y0="deepseek-conversation-new",HV="grok-conversation",K0="grok-conversation-new",qV="midjourney-index",WV="qrart-index",GV="luma-index",pJ="luma-history",YV="pika-index",KV="kling-index",dJ="kling-history",XV="veo-index",fJ="veo-history",JV="sora-index",mJ="sora-history",ZV="pixverse-index",hJ="pixverse-history",QV="flux-index",eF="hailuo-index",gJ="hailuo-history",tF="headshots-index",nF="suno-index",vJ="suno-history",aF="nanobanana-index",oF="profile-index",rF="console-root",sF="console-order-list",iF="console-order-detail",X0="console-application-list",cF="console-application-extra",lF="console-application-subscribe",uF="distribution-index",pF="distribution-history",dF="distribution-invitees",fF="console-usage-list",mF={path:"/auth",component:()=>m(()=>import("./Auth-Dp5SxRsQ.js"),[]),children:[{path:"login",name:VV,component:()=>m(()=>import("./Login-BDLFzWKY.js"),[])},{path:"callback",name:FV,component:()=>m(()=>import("./Callback-CMbVwekp.js"),__vite__mapDeps([0,1]))}]},hF={path:"/console",meta:{auth:!0},component:()=>m(()=>import("./Console-sgqybV9e.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33])),children:[{path:"",name:rF,redirect:{name:X0}},{path:"orders",name:sF,component:()=>m(()=>import("./List-B-AP-_iP.js"),__vite__mapDeps([34,35,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,43,44,45,6,8,46,47,48]))},{path:"orders/:id",name:iF,component:()=>m(()=>import("./Detail-nFXkCo1c.js"),__vite__mapDeps([49,35,43,45,11,44,41,4,9,10,42,50,28,51,6,7,8,52]))},{path:"applications",name:X0,component:()=>m(()=>import("./List-DYVn4yzw.js"),__vite__mapDeps([53,54,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,45,46,47,48,6,8]))},{path:"applications/:id/extra",name:cF,component:()=>m(()=>import("./Extra-DuTFCrI1.js"),__vite__mapDeps([55,56,44,35,57,10,7,28,6,8,25,14,11,20,21,45,51,23,58]))},{path:"applications/:id/subscribe",name:lF,component:()=>m(()=>import("./Subscribe-D4gyA5GB.js"),__vite__mapDeps([59,56,35,44,4,6,7,8,45,11,51,23,60]))},{path:"usages",name:fF,component:()=>m(()=>import("./List-C_U16Ogh.js"),__vite__mapDeps([61,54,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,45,46,47,48]))}]},gF={path:"/grok",meta:{modelGroup:fy,appName:"chat"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",redirect:{name:K0}},{path:"conversations",name:K0,component:()=>m(()=>import("./Conversation-C47wQMzC.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))},{path:"conversations/:id",name:HV,component:()=>m(()=>import("./Conversation-C47wQMzC.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))}]},vF={path:"/deepseek",meta:{modelGroup:dy,appName:"chat"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",redirect:{name:Y0}},{path:"conversations/:id",name:BV,component:()=>m(()=>import("./Conversation-C47wQMzC.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))},{path:"conversations",name:Y0,component:()=>m(()=>import("./Conversation-C47wQMzC.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))}]},_F={path:"/chatgpt",meta:{modelGroup:Nd,appName:"chat"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",redirect:{name:pp}},{path:"conversations",name:pp,component:()=>m(()=>import("./Conversation-C47wQMzC.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))},{path:"conversations/:id",name:UV,component:()=>m(()=>import("./Conversation-C47wQMzC.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))}]},yF={path:"/midjourney",meta:{auth:!0,appName:"midjourney"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:qV,component:()=>m(()=>import("./Index-aibBgpds.js"),__vite__mapDeps([71,4,6,7,8,69,29,10,72,9,11,37,12,38,14,22,21,16,17,27,39,31,68,19,18,20,23,73,26,57,74,75,76,77,47,5,13,78,44,41,42,79,80,50,81,51,82]))}]},bF={path:"/distribution",meta:{auth:!0},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:uF,component:()=>m(()=>import("./Index-CPso7j9R.js"),__vite__mapDeps([83,41,4,9,10,11,42,84,44,51,46,12,21,47,39,22,14,27,48,7,31,45,28,6,8,19,85]))},{path:"history",name:pF,component:()=>m(()=>import("./History-Cfq_nM0O.js"),__vite__mapDeps([86,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,84,44,45,46,47,48,87]))},{path:"invitees",name:dF,component:()=>m(()=>import("./Invitees-KgSZx4Uj.js"),__vite__mapDeps([88,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,45,46,47,48,89]))}]},kF={path:"/qrart",meta:{auth:!0,appName:"qrart"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:WV,component:()=>m(()=>import("./Index-CKUhP8Wa.js"),__vite__mapDeps([90,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,73,29,26,68,19,57,18,20,23,78,44,63,64,41,42,79,80,50,81,51,91]))}]},wF={path:"/luma",meta:{auth:!0,appName:"luma"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:GV,component:()=>m(()=>import("./Index-5q6HTX0d.js"),__vite__mapDeps([92,4,6,7,8,69,72,9,10,11,29,68,19,18,20,21,22,23,67,16,17,74,75,76,78,44,41,42,50,26,27,81,51,93]))}]},jF={path:"/pika",meta:{auth:!0,appName:"pika"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:YV,component:()=>m(()=>import("./Index--HrzVZr-.js"),__vite__mapDeps([94,4,6,7,8,69,72,9,10,11,29,37,12,38,14,22,21,16,17,27,39,31,57,68,19,18,20,23,78,44,41,42,75,76,50,26,81,51,95]))}]},EF={path:"/kling",meta:{auth:!0,appName:"kling"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:KV,component:()=>m(()=>import("./Index-Bj3l491h.js"),__vite__mapDeps([96,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,73,44,41,42,74,75,76,50,26,81,51,97]))}]},AF={path:"/veo",meta:{auth:!0,appName:"veo"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:XV,component:()=>m(()=>import("./Index-DNCwSGrb.js"),__vite__mapDeps([98,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,29,74,75,76,68,19,18,20,23,78,44,41,42,50,26,81,51,99]))}]},TF={path:"/sora",meta:{auth:!0,appName:"sora"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:JV,component:()=>m(()=>import("./Index-BfXX3_X5.js"),__vite__mapDeps([100,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,44,41,42,74,75,76,50,26,81,51,101]))}]},OF={path:"/pixverse",meta:{auth:!0,appName:"pixverse"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:ZV,component:()=>m(()=>import("./Index-C66oDpzY.js"),__vite__mapDeps([102,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,73,68,19,18,20,23,78,44,41,42,74,75,76,50,26,81,51,103]))}]},LF={path:"/flux",meta:{auth:!0,appName:"flux"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:QV,component:()=>m(()=>import("./Index-r39yB5QH.js"),__vite__mapDeps([104,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,73,68,19,18,20,23,78,44,41,42,79,80,50,26,81,51,105]))}]},SF={path:"/hailuo",meta:{auth:!0,appName:"hailuo"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:eF,component:()=>m(()=>import("./Index-BpS5nKKm.js"),__vite__mapDeps([106,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,44,41,42,74,75,76,50,26,81,51,107]))}]},IF={path:"/headshots",meta:{auth:!0,appName:"headshots"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:tF,component:()=>m(()=>import("./Index-B9G3QABi.js"),__vite__mapDeps([108,4,6,7,8,69,72,9,10,11,68,19,18,20,21,22,23,57,26,27,17,77,38,47,63,64,41,42,50,51,109]))}]},RF={path:"/suno",meta:{auth:!0,appName:"suno"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:nF,component:()=>m(()=>import("./Index-r8HFp0Fa.js"),__vite__mapDeps([110,4,6,7,8,69,29,10,37,9,11,12,38,14,22,21,16,17,27,39,31,72,18,19,20,23,73,26,78,44,5,13,111,51,112]))}]},CF={path:"/nanobanana",meta:{auth:!0,appName:"nanobanana"},component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:aF,component:()=>m(()=>import("./Index-BBA2fb8p.js"),__vite__mapDeps([113,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,44,41,42,79,80,50,26,81,51,114]))}]},PF={path:"/site",component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:Kb,component:()=>m(()=>import("./Index-Dh1XasMQ.js"),__vite__mapDeps([115,15,6,7,8,16,11,10,17,4,18,19,20,21,22,23,24,25,14,29,45,26,27,28,116]))}]},xF={path:"/profile",component:()=>m(()=>import("./Main-w_kAoQvr.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:oF,component:()=>m(()=>import("./Index-B6VOYE6t.js"),__vite__mapDeps([117,4,30,11,9,10,8,31,111,13,26,27,17,118]))}]},zF=[{path:"/",redirect:{name:pp}},hF,mF,_F,gF,vF,kF,wF,jF,EF,AF,TF,OF,LF,SF,IF,RF,CF,yF,bF,PF,xF],Xb=MV({history:fV(),routes:zF});Xb.beforeEach(async(e,t,n)=>{const a=bi(Sn("LOCALE")||E2);return await qO(a),n()});const DF=_e({name:"AuthPanel",components:{ElDialog:J8,QrCode:D$},data(){return{showQR:!1,qrLink:""}},computed:{iframeUrl(){return`${zr()}/auth/login?inviter_id=${this.inviterId}`},inviterId(){return this.$store?.state?.site?.distribution?.force_inviter_id?this.$store?.state?.site?.distribution?.force_inviter_id:this.$route.query.inviter_id?.toString()||Sn("INVITER_ID")||this.$store?.state?.site?.distribution?.default_inviter_id},authenticated(){return!!this.$store.state.token.access}},mounted(){window.addEventListener("message",async e=>{if(e.origin===zr()){if(console.debug("received from child page",e),e.data.name==="login"){const t=e.data.data,n={access:t.access_token,refresh:t.refresh_token,expiration:t.expires_in};await this.$store.dispatch("setToken",n),await this.$store.dispatch("getUser"),this.$store.state.site?.origin||(await this.$store.dispatch("initializeSite"),await this.$router.push({name:Kb})),window.location.reload()}if(e.data.name==="show_qr"){const t=e.data.data;this.qrLink=t.qrLink,this.showQR=!0}}})}}),Jb=(e,t)=>{const n=e.__vccOpts||e;for(const[a,o]of t)n[a]=o;return n},NF=["src"];function MF(e,t,n,a,o,r){const s=ho("el-dialog"),i=ho("qr-code");return ye(),Se(ht,null,[Xe(s,{"model-value":!e.authenticated,"modal-class":"dialog",width:"400px","show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1},{default:vt(()=>[Ee("iframe",{width:"360",height:"560",src:e.iframeUrl,frameborder:"0"},null,8,NF)]),_:1},8,["model-value"]),Xe(s,{modelValue:e.showQR,"onUpdate:modelValue":t[0]||(t[0]=c=>e.showQR=c),width:"400px","show-close":!0},{default:vt(()=>[e.qrLink?(ye(),$t(i,{key:0,value:e.qrLink,width:230,height:230,class:"qrcode w-[320px] h-[320px] block mx-auto mb-[20px]",type:"image/jpeg",color:{dark:"#000000ff",light:"#ffffffff"}},null,8,["value"])):_a("",!0)]),_:1},8,["modelValue"])],64)}const $F=Jb(DF,[["render",MF],["__scopeId","data-v-2f9f80d0"]]),VF={en:()=>m(()=>Promise.resolve().then(()=>HE),void 0),de:()=>m(()=>import("./de-BZu7ZZ9y.js"),[]),pt:()=>m(()=>import("./pt-iBE8V_rF.js"),[]),es:()=>m(()=>import("./es-Idilhmtq.js"),[]),fr:()=>m(()=>import("./fr-fyTGkfid.js"),[]),"zh-CN":()=>m(()=>import("./zh-cn-CnyULPxw.js"),[]),"zh-TW":()=>m(()=>import("./zh-tw-ZQmLUxJy.js"),[]),it:()=>m(()=>import("./it-CLf6lrMi.js"),[]),ko:()=>m(()=>import("./ko-DUrUYy0R.js"),[]),ja:()=>m(()=>import("./ja-DFyNu3tl.js"),[]),ru:()=>m(()=>import("./ru-a9O4dLvt.js"),[]),pl:()=>m(()=>import("./pl-By8ttK5W.js"),[]),fi:()=>m(()=>import("./fi-BhhlDzr_.js"),[]),sv:()=>m(()=>import("./sv-CiSSmJ4h.js"),[]),el:()=>m(()=>import("./el-DJ93mLwP.js"),[]),uk:()=>m(()=>import("./uk-Ci2KIGcW.js"),[]),ar:()=>m(()=>import("./ar-D1hnTQ2h.js"),[]),sr:()=>m(()=>import("./sr-BuqPpavQ.js"),[])},FF=_e({name:"App",components:{ElConfigProvider:C8,ElTag:L8,AuthPanel:$F},data(){return{isTest:Jr,epLocale:null}},computed:{authPopup(){return this.$store.state.auth.flow==="popup"&&this.$store.state.auth.visible},currentLocale(){return bi(this.$i18n.locale)}},watch:{currentLocale:{immediate:!0,handler(){this.loadElementPlusLocale()}}},mounted(){const e=!!this.$store.state.token.access&&!!this.$store.state.user?.id;console.debug("App mounted, authenticated:",e),e||(this.$store.dispatch("logout"),this.$store.dispatch("login"))},methods:{async loadElementPlusLocale(){const e=this.currentLocale;console.debug(`[i18n] Loading Element Plus locale for: ${e}`);const t=VF[e];if(!t){console.warn(`[i18n] No Element Plus locale found for: ${e}`);return}try{const n=await t();this.epLocale=n.default,console.debug(`[i18n] Loaded Element Plus locale: ${e}`)}catch(n){console.error(`[i18n] Failed to load Element Plus locale for: ${e}`,n)}}}});function UF(e,t,n,a,o,r){const s=ho("auth-panel"),i=ho("router-view"),c=ho("el-tag"),l=ho("el-config-provider");return ye(),$t(l,{locale:e.epLocale},{default:vt(()=>[e.authPopup?(ye(),$t(s,{key:0})):_a("",!0),Xe(i),e.isTest?(ye(),$t(c,{key:1,size:"large",class:"fixed bottom-4 right-4 z-50",type:"warning"},{default:vt(()=>[Kv(Bp(e.$t("index.button.testEnv")),1)]),_:1})):_a("",!0)]),_:1},8,["locale"])}const BF=Jb(FF,[["render",UF]]),HF={install:(e,t)=>{e.config.globalProperties.$dayjs={format(n,a){return n?w8(n).format(a||t.formatString):""}}}};/*!
|
|
67
|
+
*/const mo=typeof document<"u";function Db(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function N$(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Db(e.default)}const He=Object.assign;function cu(e,t){const n={};for(const a in t){const o=t[a];n[a]=fn(o)?o.map(e):e(o)}return n}const mr=()=>{},fn=Array.isArray,Nb=/#/g,M$=/&/g,$$=/\//g,V$=/=/g,F$=/\?/g,Mb=/\+/g,U$=/%5B/g,B$=/%5D/g,$b=/%5E/g,H$=/%60/g,Vb=/%7B/g,q$=/%7C/g,Fb=/%7D/g,W$=/%20/g;function Zd(e){return encodeURI(""+e).replace(q$,"|").replace(U$,"[").replace(B$,"]")}function G$(e){return Zd(e).replace(Vb,"{").replace(Fb,"}").replace($b,"^")}function cp(e){return Zd(e).replace(Mb,"%2B").replace(W$,"+").replace(Nb,"%23").replace(M$,"%26").replace(H$,"`").replace(Vb,"{").replace(Fb,"}").replace($b,"^")}function Y$(e){return cp(e).replace(V$,"%3D")}function K$(e){return Zd(e).replace(Nb,"%23").replace(F$,"%3F")}function X$(e){return e==null?"":K$(e).replace($$,"%2F")}function Mr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const J$=/\/$/,Z$=e=>e.replace(J$,"");function lu(e,t,n="/"){let a,o={},r="",s="";const i=t.indexOf("#");let c=t.indexOf("?");return i<c&&i>=0&&(c=-1),c>-1&&(a=t.slice(0,c),r=t.slice(c+1,i>-1?i:t.length),o=e(r)),i>-1&&(a=a||t.slice(0,i),s=t.slice(i,t.length)),a=nV(a??t,n),{fullPath:a+(r&&"?")+r+s,path:a,query:o,hash:Mr(s)}}function Q$(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function R0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function eV(e,t,n){const a=t.matched.length-1,o=n.matched.length-1;return a>-1&&a===o&&Po(t.matched[a],n.matched[o])&&Ub(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Po(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ub(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!tV(e[n],t[n]))return!1;return!0}function tV(e,t){return fn(e)?C0(e,t):fn(t)?C0(t,e):e===t}function C0(e,t){return fn(t)?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function nV(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),a=e.split("/"),o=a[a.length-1];(o===".."||o===".")&&a.push("");let r=n.length-1,s,i;for(s=0;s<a.length;s++)if(i=a[s],i!==".")if(i==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+a.slice(s).join("/")}const oa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var $r;(function(e){e.pop="pop",e.push="push"})($r||($r={}));var hr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(hr||(hr={}));function aV(e){if(!e)if(mo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Z$(e)}const oV=/^[^#]+#/;function rV(e,t){return e.replace(oV,"#")+t}function sV(e,t){const n=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-n.left-(t.left||0),top:a.top-n.top-(t.top||0)}}const oc=()=>({left:window.scrollX,top:window.scrollY});function iV(e){let t;if("el"in e){const n=e.el,a=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=sV(o,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 P0(e,t){return(history.state?history.state.position-t:-1)+e}const lp=new Map;function cV(e,t){lp.set(e,t)}function lV(e){const t=lp.get(e);return lp.delete(e),t}let uV=()=>location.protocol+"//"+location.host;function Bb(e,t){const{pathname:n,search:a,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(i);return c[0]!=="/"&&(c="/"+c),R0(c,"")}return R0(n,e)+a+o}function pV(e,t,n,a){let o=[],r=[],s=null;const i=({state:d})=>{const f=Bb(e,location),h=n.value,v=t.value;let _=0;if(d){if(n.value=f,t.value=d,s&&s===h){s=null;return}_=v?d.position-v.position:0}else a(f);o.forEach(g=>{g(n.value,h,{delta:_,type:$r.pop,direction:_?_>0?hr.forward:hr.back:hr.unknown})})};function c(){s=n.value}function l(d){o.push(d);const f=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return r.push(f),f}function u(){const{history:d}=window;d.state&&d.replaceState(He({},d.state,{scroll:oc()}),"")}function p(){for(const d of r)d();r=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:p}}function x0(e,t,n,a=!1,o=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:o?oc():null}}function dV(e){const{history:t,location:n}=window,a={value:Bb(e,n)},o={value:t.state};o.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,l,u){const p=e.indexOf("#"),d=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:uV()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(f){console.error(f),n[u?"replace":"assign"](d)}}function s(c,l){const u=He({},t.state,x0(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});r(c,u,!0),a.value=c}function i(c,l){const u=He({},o.value,t.state,{forward:c,scroll:oc()});r(u.current,u,!0);const p=He({},x0(a.value,c,null),{position:u.position+1},l);r(c,p,!1),a.value=c}return{location:a,state:o,push:i,replace:s}}function fV(e){e=aV(e);const t=dV(e),n=pV(e,t.state,t.location,t.replace);function a(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=He({location:"",base:e,go:a,createHref:rV.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function mV(e){return typeof e=="string"||e&&typeof e=="object"}function Hb(e){return typeof e=="string"||typeof e=="symbol"}const qb=Symbol("");var z0;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(z0||(z0={}));function xo(e,t){return He(new Error,{type:e,[qb]:!0},t)}function Dn(e,t){return e instanceof Error&&qb in e&&(t==null||!!(e.type&t))}const D0="[^/]+?",hV={sensitive:!1,strict:!1,start:!0,end:!0},gV=/[.+*?^${}()[\]/\\]/g;function vV(e,t){const n=He({},hV,t),a=[];let o=n.start?"^":"";const r=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let p=0;p<l.length;p++){const d=l[p];let f=40+(n.sensitive?.25:0);if(d.type===0)p||(o+="/"),o+=d.value.replace(gV,"\\$&"),f+=40;else if(d.type===1){const{value:h,repeatable:v,optional:_,regexp:g}=d;r.push({name:h,repeatable:v,optional:_});const y=g||D0;if(y!==D0){f+=10;try{new RegExp(`(${y})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+b.message)}}let k=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;p||(k=_&&l.length<2?`(?:/${k})`:"/"+k),_&&(k+="?"),o+=k,f+=20,_&&(f+=-8),v&&(f+=-20),y===".*"&&(f+=-50)}u.push(f)}a.push(u)}if(n.strict&&n.end){const l=a.length-1;a[l][a[l].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function i(l){const u=l.match(s),p={};if(!u)return null;for(let d=1;d<u.length;d++){const f=u[d]||"",h=r[d-1];p[h.name]=f&&h.repeatable?f.split("/"):f}return p}function c(l){let u="",p=!1;for(const d of e){(!p||!u.endsWith("/"))&&(u+="/"),p=!1;for(const f of d)if(f.type===0)u+=f.value;else if(f.type===1){const{value:h,repeatable:v,optional:_}=f,g=h in l?l[h]:"";if(fn(g)&&!v)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=fn(g)?g.join("/"):g;if(!y)if(_)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):p=!0);else throw new Error(`Missing required param "${h}"`);u+=y}}return u||"/"}return{re:s,score:a,keys:r,parse:i,stringify:c}}function _V(e,t){let n=0;for(;n<e.length&&n<t.length;){const a=t[n]-e[n];if(a)return a;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Wb(e,t){let n=0;const a=e.score,o=t.score;for(;n<a.length&&n<o.length;){const r=_V(a[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-a.length)===1){if(N0(a))return 1;if(N0(o))return-1}return o.length-a.length}function N0(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yV={type:0,value:""},bV=/[a-zA-Z0-9_]/;function kV(e){if(!e)return[[]];if(e==="/")return[[yV]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${l}": ${f}`)}let n=0,a=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let i=0,c,l="",u="";function p(){l&&(n===0?r.push({type:0,value:l}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;i<e.length;){if(c=e[i++],c==="\\"&&n!==2){a=n,n=4;continue}switch(n){case 0:c==="/"?(l&&p(),s()):c===":"?(p(),n=1):d();break;case 4:d(),n=a;break;case 1:c==="("?n=2:bV.test(c)?d():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&i--);break;case 2:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&i--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),p(),s(),o}function wV(e,t,n){const a=vV(kV(e.path),n),o=He(a,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function jV(e,t){const n=[],a=new Map;t=F0({strict:!1,end:!0,sensitive:!1},t);function o(p){return a.get(p)}function r(p,d,f){const h=!f,v=$0(p);v.aliasOf=f&&f.record;const _=F0(t,p),g=[v];if("alias"in p){const b=typeof p.alias=="string"?[p.alias]:p.alias;for(const O of b)g.push($0(He({},v,{components:f?f.record.components:v.components,path:O,aliasOf:f?f.record:v})))}let y,k;for(const b of g){const{path:O}=b;if(d&&O[0]!=="/"){const A=d.record.path,T=A[A.length-1]==="/"?"":"/";b.path=d.record.path+(O&&T+O)}if(y=wV(b,d,_),f?f.alias.push(y):(k=k||y,k!==y&&k.alias.push(y),h&&p.name&&!V0(y)&&s(p.name)),Gb(y)&&c(y),v.children){const A=v.children;for(let T=0;T<A.length;T++)r(A[T],y,f&&f.children[T])}f=f||y}return k?()=>{s(k)}:mr}function s(p){if(Hb(p)){const d=a.get(p);d&&(a.delete(p),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(p);d>-1&&(n.splice(d,1),p.record.name&&a.delete(p.record.name),p.children.forEach(s),p.alias.forEach(s))}}function i(){return n}function c(p){const d=TV(p,n);n.splice(d,0,p),p.record.name&&!V0(p)&&a.set(p.record.name,p)}function l(p,d){let f,h={},v,_;if("name"in p&&p.name){if(f=a.get(p.name),!f)throw xo(1,{location:p});_=f.record.name,h=He(M0(d.params,f.keys.filter(k=>!k.optional).concat(f.parent?f.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),p.params&&M0(p.params,f.keys.map(k=>k.name))),v=f.stringify(h)}else if(p.path!=null)v=p.path,f=n.find(k=>k.re.test(v)),f&&(h=f.parse(v),_=f.record.name);else{if(f=d.name?a.get(d.name):n.find(k=>k.re.test(d.path)),!f)throw xo(1,{location:p,currentLocation:d});_=f.record.name,h=He({},d.params,p.params),v=f.stringify(h)}const g=[];let y=f;for(;y;)g.unshift(y.record),y=y.parent;return{name:_,path:v,params:h,matched:g,meta:AV(g)}}e.forEach(p=>r(p));function u(){n.length=0,a.clear()}return{addRoute:r,resolve:l,removeRoute:s,clearRoutes:u,getRoutes:i,getRecordMatcher:o}}function M0(e,t){const n={};for(const a of t)a in e&&(n[a]=e[a]);return n}function $0(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:EV(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 EV(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const a in e.components)t[a]=typeof n=="object"?n[a]:n;return t}function V0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function AV(e){return e.reduce((t,n)=>He(t,n.meta),{})}function F0(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}function TV(e,t){let n=0,a=t.length;for(;n!==a;){const r=n+a>>1;Wb(e,t[r])<0?a=r:n=r+1}const o=OV(e);return o&&(a=t.lastIndexOf(o,a-1)),a}function OV(e){let t=e;for(;t=t.parent;)if(Gb(t)&&Wb(e,t)===0)return t}function Gb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function LV(e){const t={};if(e===""||e==="?")return t;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<a.length;++o){const r=a[o].replace(Mb," "),s=r.indexOf("="),i=Mr(s<0?r:r.slice(0,s)),c=s<0?null:Mr(r.slice(s+1));if(i in t){let l=t[i];fn(l)||(l=t[i]=[l]),l.push(c)}else t[i]=c}return t}function U0(e){let t="";for(let n in e){const a=e[n];if(n=Y$(n),a==null){a!==void 0&&(t+=(t.length?"&":"")+n);continue}(fn(a)?a.map(r=>r&&cp(r)):[a&&cp(a)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function SV(e){const t={};for(const n in e){const a=e[n];a!==void 0&&(t[n]=fn(a)?a.map(o=>o==null?null:""+o):a==null?a:""+a)}return t}const IV=Symbol(""),B0=Symbol(""),Qd=Symbol(""),Yb=Symbol(""),up=Symbol("");function Qo(){let e=[];function t(a){return e.push(a),()=>{const o=e.indexOf(a);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pa(e,t,n,a,o,r=s=>s()){const s=a&&(a.enterCallbacks[o]=a.enterCallbacks[o]||[]);return()=>new Promise((i,c)=>{const l=d=>{d===!1?c(xo(4,{from:n,to:t})):d instanceof Error?c(d):mV(d)?c(xo(2,{from:t,to:d})):(s&&a.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),i())},u=r(()=>e.call(a&&a.instances[o],t,n,l));let p=Promise.resolve(u);e.length<3&&(p=p.then(l)),p.catch(d=>c(d))})}function uu(e,t,n,a,o=r=>r()){const r=[];for(const s of e)for(const i in s.components){let c=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Db(c)){const u=(c.__vccOpts||c)[t];u&&r.push(pa(u,n,a,s,i,o))}else{let l=c();r.push(()=>l.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${i}" at "${s.path}"`);const p=N$(u)?u.default:u;s.mods[i]=u,s.components[i]=p;const f=(p.__vccOpts||p)[t];return f&&pa(f,n,a,s,i,o)()}))}}return r}function H0(e){const t=Qe(Qd),n=Qe(Yb),a=he(()=>{const c=re(e.to);return t.resolve(c)}),o=he(()=>{const{matched:c}=a.value,{length:l}=c,u=c[l-1],p=n.matched;if(!u||!p.length)return-1;const d=p.findIndex(Po.bind(null,u));if(d>-1)return d;const f=q0(c[l-2]);return l>1&&q0(u)===f&&p[p.length-1].path!==f?p.findIndex(Po.bind(null,c[l-2])):d}),r=he(()=>o.value>-1&&zV(n.params,a.value.params)),s=he(()=>o.value>-1&&o.value===n.matched.length-1&&Ub(n.params,a.value.params));function i(c={}){if(xV(c)){const l=t[re(e.replace)?"replace":"push"](re(e.to)).catch(mr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:a,href:he(()=>a.value.href),isActive:r,isExactActive:s,navigate:i}}function RV(e){return e.length===1?e[0]:e}const CV=_e({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:H0,setup(e,{slots:t}){const n=In(H0(e)),{options:a}=Qe(Qd),o=he(()=>({[W0(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[W0(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&RV(t.default(n));return e.custom?r:Mt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),PV=CV;function xV(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 zV(e,t){for(const n in t){const a=t[n],o=e[n];if(typeof a=="string"){if(a!==o)return!1}else if(!fn(o)||o.length!==a.length||a.some((r,s)=>r!==o[s]))return!1}return!0}function q0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const W0=(e,t,n)=>e??t??n,DV=_e({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const a=Qe(up),o=he(()=>e.route||a.value),r=Qe(B0,0),s=he(()=>{let l=re(r);const{matched:u}=o.value;let p;for(;(p=u[l])&&!p.components;)l++;return l}),i=he(()=>o.value.matched[s.value]);Ba(B0,he(()=>s.value+1)),Ba(IV,i),Ba(up,o);const c=ze();return Ve(()=>[c.value,i.value,e.name],([l,u,p],[d,f,h])=>{u&&(u.instances[p]=l,f&&f!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),l&&u&&(!f||!Po(u,f)||!d)&&(u.enterCallbacks[p]||[]).forEach(v=>v(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,p=i.value,d=p&&p.components[u];if(!d)return G0(n.default,{Component:d,route:l});const f=p.props[u],h=f?f===!0?l.params:typeof f=="function"?f(l):f:null,_=Mt(d,He({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(p.instances[u]=null)},ref:c}));return G0(n.default,{Component:_,route:l})||_}}});function G0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const NV=DV;function MV(e){const t=jV(e.routes,e),n=e.parseQuery||LV,a=e.stringifyQuery||U0,o=e.history,r=Qo(),s=Qo(),i=Qo(),c=qr(oa);let l=oa;mo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=cu.bind(null,B=>""+B),p=cu.bind(null,X$),d=cu.bind(null,Mr);function f(B,ne){let te,Q;return Hb(B)?(te=t.getRecordMatcher(B),Q=ne):Q=B,t.addRoute(Q,te)}function h(B){const ne=t.getRecordMatcher(B);ne&&t.removeRoute(ne)}function v(){return t.getRoutes().map(B=>B.record)}function _(B){return!!t.getRecordMatcher(B)}function g(B,ne){if(ne=He({},ne||c.value),typeof B=="string"){const D=lu(n,B,ne.path),K=t.resolve({path:D.path},ne),J=o.createHref(D.fullPath);return He(D,K,{params:d(K.params),hash:Mr(D.hash),redirectedFrom:void 0,href:J})}let te;if(B.path!=null)te=He({},B,{path:lu(n,B.path,ne.path).path});else{const D=He({},B.params);for(const K in D)D[K]==null&&delete D[K];te=He({},B,{params:p(D)}),ne.params=p(ne.params)}const Q=t.resolve(te,ne),me=B.hash||"";Q.params=u(d(Q.params));const j=Q$(a,He({},B,{hash:G$(me),path:Q.path})),L=o.createHref(j);return He({fullPath:j,hash:me,query:a===U0?SV(B.query):B.query||{}},Q,{redirectedFrom:void 0,href:L})}function y(B){return typeof B=="string"?lu(n,B,c.value.path):He({},B)}function k(B,ne){if(l!==B)return xo(8,{from:ne,to:B})}function b(B){return T(B)}function O(B){return b(He(y(B),{replace:!0}))}function A(B){const ne=B.matched[B.matched.length-1];if(ne&&ne.redirect){const{redirect:te}=ne;let Q=typeof te=="function"?te(B):te;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=y(Q):{path:Q},Q.params={}),He({query:B.query,hash:B.hash,params:Q.path!=null?{}:B.params},Q)}}function T(B,ne){const te=l=g(B),Q=c.value,me=B.state,j=B.force,L=B.replace===!0,D=A(te);if(D)return T(He(y(D),{state:typeof D=="object"?He({},me,D.state):me,force:j,replace:L}),ne||te);const K=te;K.redirectedFrom=ne;let J;return!j&&eV(a,Q,te)&&(J=xo(16,{to:K,from:Q}),pe(Q,Q,!0,!1)),(J?Promise.resolve(J):S(K,Q)).catch(X=>Dn(X)?Dn(X,2)?X:ie(X):V(X,K,Q)).then(X=>{if(X){if(Dn(X,2))return T(He({replace:L},y(X.to),{state:typeof X.to=="object"?He({},me,X.to.state):me,force:j}),ne||K)}else X=I(K,Q,!0,L,me);return R(K,Q,X),X})}function C(B,ne){const te=k(B,ne);return te?Promise.reject(te):Promise.resolve()}function P(B){const ne=Te.values().next().value;return ne&&typeof ne.runWithContext=="function"?ne.runWithContext(B):B()}function S(B,ne){let te;const[Q,me,j]=$V(B,ne);te=uu(Q.reverse(),"beforeRouteLeave",B,ne);for(const D of Q)D.leaveGuards.forEach(K=>{te.push(pa(K,B,ne))});const L=C.bind(null,B,ne);return te.push(L),Ie(te).then(()=>{te=[];for(const D of r.list())te.push(pa(D,B,ne));return te.push(L),Ie(te)}).then(()=>{te=uu(me,"beforeRouteUpdate",B,ne);for(const D of me)D.updateGuards.forEach(K=>{te.push(pa(K,B,ne))});return te.push(L),Ie(te)}).then(()=>{te=[];for(const D of j)if(D.beforeEnter)if(fn(D.beforeEnter))for(const K of D.beforeEnter)te.push(pa(K,B,ne));else te.push(pa(D.beforeEnter,B,ne));return te.push(L),Ie(te)}).then(()=>(B.matched.forEach(D=>D.enterCallbacks={}),te=uu(j,"beforeRouteEnter",B,ne,P),te.push(L),Ie(te))).then(()=>{te=[];for(const D of s.list())te.push(pa(D,B,ne));return te.push(L),Ie(te)}).catch(D=>Dn(D,8)?D:Promise.reject(D))}function R(B,ne,te){i.list().forEach(Q=>P(()=>Q(B,ne,te)))}function I(B,ne,te,Q,me){const j=k(B,ne);if(j)return j;const L=ne===oa,D=mo?history.state:{};te&&(Q||L?o.replace(B.fullPath,He({scroll:L&&D&&D.scroll},me)):o.push(B.fullPath,me)),c.value=B,pe(B,ne,te,L),ie()}let F;function $(){F||(F=o.listen((B,ne,te)=>{if(!Pe.listening)return;const Q=g(B),me=A(Q);if(me){T(He(me,{replace:!0,force:!0}),Q).catch(mr);return}l=Q;const j=c.value;mo&&cV(P0(j.fullPath,te.delta),oc()),S(Q,j).catch(L=>Dn(L,12)?L:Dn(L,2)?(T(He(y(L.to),{force:!0}),Q).then(D=>{Dn(D,20)&&!te.delta&&te.type===$r.pop&&o.go(-1,!1)}).catch(mr),Promise.reject()):(te.delta&&o.go(-te.delta,!1),V(L,Q,j))).then(L=>{L=L||I(Q,j,!1),L&&(te.delta&&!Dn(L,8)?o.go(-te.delta,!1):te.type===$r.pop&&Dn(L,20)&&o.go(-1,!1)),R(Q,j,L)}).catch(mr)}))}let H=Qo(),G=Qo(),ee;function V(B,ne,te){ie(B);const Q=G.list();return Q.length?Q.forEach(me=>me(B,ne,te)):console.error(B),Promise.reject(B)}function oe(){return ee&&c.value!==oa?Promise.resolve():new Promise((B,ne)=>{H.add([B,ne])})}function ie(B){return ee||(ee=!B,$(),H.list().forEach(([ne,te])=>B?te(B):ne()),H.reset()),B}function pe(B,ne,te,Q){const{scrollBehavior:me}=e;if(!mo||!me)return Promise.resolve();const j=!te&&lV(P0(B.fullPath,0))||(Q||!te)&&history.state&&history.state.scroll||null;return Wn().then(()=>me(B,ne,j)).then(L=>L&&iV(L)).catch(L=>V(L,B,ne))}const fe=B=>o.go(B);let ke;const Te=new Set,Pe={currentRoute:c,listening:!0,addRoute:f,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:v,resolve:g,options:e,push:b,replace:O,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:r.add,beforeResolve:s.add,afterEach:i.add,onError:G.add,isReady:oe,install(B){const ne=this;B.component("RouterLink",PV),B.component("RouterView",NV),B.config.globalProperties.$router=ne,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>re(c)}),mo&&!ke&&c.value===oa&&(ke=!0,b(o.location).catch(me=>{}));const te={};for(const me in oa)Object.defineProperty(te,me,{get:()=>c.value[me],enumerable:!0});B.provide(Qd,ne),B.provide(Yb,sv(te)),B.provide(up,c);const Q=B.unmount;Te.add(B),B.unmount=function(){Te.delete(B),Te.size<1&&(l=oa,F&&F(),F=null,c.value=oa,ke=!1,ee=!1),Q()}}};function Ie(B){return B.reduce((ne,te)=>ne.then(()=>P(te)),Promise.resolve())}return Pe}function $V(e,t){const n=[],a=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;s<r;s++){const i=t.matched[s];i&&(e.matched.find(l=>Po(l,i))?a.push(i):n.push(i));const c=e.matched[s];c&&(t.matched.find(l=>Po(l,c))||o.push(c))}return[n,a,o]}const uJ="index",VV="auth-login",FV="auth-callback",Kb="site-index",UV="chatgpt-conversation",pp="chatgpt-conversation-new",BV="deepseek-conversation",Y0="deepseek-conversation-new",HV="grok-conversation",K0="grok-conversation-new",qV="midjourney-index",WV="qrart-index",GV="luma-index",pJ="luma-history",YV="pika-index",KV="kling-index",dJ="kling-history",XV="veo-index",fJ="veo-history",JV="sora-index",mJ="sora-history",ZV="pixverse-index",hJ="pixverse-history",QV="flux-index",eF="hailuo-index",gJ="hailuo-history",tF="headshots-index",nF="suno-index",vJ="suno-history",aF="nanobanana-index",oF="profile-index",rF="console-root",sF="console-order-list",iF="console-order-detail",X0="console-application-list",cF="console-application-extra",lF="console-application-subscribe",uF="distribution-index",pF="distribution-history",dF="distribution-invitees",fF="console-usage-list",mF={path:"/auth",component:()=>m(()=>import("./Auth-DOHlOCpp.js"),[]),children:[{path:"login",name:VV,component:()=>m(()=>import("./Login-BiY_rvx8.js"),[])},{path:"callback",name:FV,component:()=>m(()=>import("./Callback-D-v3hKrJ.js"),__vite__mapDeps([0,1]))}]},hF={path:"/console",meta:{auth:!0},component:()=>m(()=>import("./Console-CrfUOjRg.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33])),children:[{path:"",name:rF,redirect:{name:X0}},{path:"orders",name:sF,component:()=>m(()=>import("./List-D0u8ApAR.js"),__vite__mapDeps([34,35,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,43,44,45,6,8,46,47,48]))},{path:"orders/:id",name:iF,component:()=>m(()=>import("./Detail-CxUCYXrK.js"),__vite__mapDeps([49,35,43,45,11,44,41,4,9,10,42,50,28,51,6,7,8,52]))},{path:"applications",name:X0,component:()=>m(()=>import("./List-DPJxF9Uq.js"),__vite__mapDeps([53,54,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,45,46,47,48,6,8]))},{path:"applications/:id/extra",name:cF,component:()=>m(()=>import("./Extra-CLOABQjS.js"),__vite__mapDeps([55,56,44,35,57,10,7,28,6,8,25,14,11,20,21,45,51,23,58]))},{path:"applications/:id/subscribe",name:lF,component:()=>m(()=>import("./Subscribe-RBtMq5Tr.js"),__vite__mapDeps([59,56,35,44,4,6,7,8,45,11,51,23,60]))},{path:"usages",name:fF,component:()=>m(()=>import("./List-Dzt1AZ5s.js"),__vite__mapDeps([61,54,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,45,46,47,48]))}]},gF={path:"/grok",meta:{modelGroup:fy,appName:"chat"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",redirect:{name:K0}},{path:"conversations",name:K0,component:()=>m(()=>import("./Conversation-XjUVydTy.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))},{path:"conversations/:id",name:HV,component:()=>m(()=>import("./Conversation-XjUVydTy.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))}]},vF={path:"/deepseek",meta:{modelGroup:dy,appName:"chat"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",redirect:{name:Y0}},{path:"conversations/:id",name:BV,component:()=>m(()=>import("./Conversation-XjUVydTy.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))},{path:"conversations",name:Y0,component:()=>m(()=>import("./Conversation-XjUVydTy.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))}]},_F={path:"/chatgpt",meta:{modelGroup:Nd,appName:"chat"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",redirect:{name:pp}},{path:"conversations",name:pp,component:()=>m(()=>import("./Conversation-XjUVydTy.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))},{path:"conversations/:id",name:UV,component:()=>m(()=>import("./Conversation-XjUVydTy.js"),__vite__mapDeps([66,41,4,9,10,11,42,67,19,16,17,7,26,27,6,8,50,68,18,20,21,22,23,5,12,13,14,51,69,70]))}]},yF={path:"/midjourney",meta:{auth:!0,appName:"midjourney"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:qV,component:()=>m(()=>import("./Index-DOZ1CpUV.js"),__vite__mapDeps([71,4,6,7,8,69,29,10,72,9,11,37,12,38,14,22,21,16,17,27,39,31,68,19,18,20,23,73,26,57,74,75,76,77,47,5,13,78,44,41,42,79,80,50,81,51,82]))}]},bF={path:"/distribution",meta:{auth:!0},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:uF,component:()=>m(()=>import("./Index-CNCj6VmF.js"),__vite__mapDeps([83,41,4,9,10,11,42,84,44,51,46,12,21,47,39,22,14,27,48,7,31,45,28,6,8,19,85]))},{path:"history",name:pF,component:()=>m(()=>import("./History-9Wg3k27E.js"),__vite__mapDeps([86,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,84,44,45,46,47,48,87]))},{path:"invitees",name:dF,component:()=>m(()=>import("./Invitees-CbKt6RsF.js"),__vite__mapDeps([88,36,37,9,10,11,12,38,14,22,21,7,16,17,27,39,31,40,41,4,42,45,46,47,48,89]))}]},kF={path:"/qrart",meta:{auth:!0,appName:"qrart"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:WV,component:()=>m(()=>import("./Index-DwVMjgEx.js"),__vite__mapDeps([90,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,73,29,26,68,19,57,18,20,23,78,44,63,64,41,42,79,80,50,81,51,91]))}]},wF={path:"/luma",meta:{auth:!0,appName:"luma"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:GV,component:()=>m(()=>import("./Index-DpXxZAQT.js"),__vite__mapDeps([92,4,6,7,8,69,72,9,10,11,29,68,19,18,20,21,22,23,67,16,17,74,75,76,78,44,41,42,50,26,27,81,51,93]))}]},jF={path:"/pika",meta:{auth:!0,appName:"pika"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:YV,component:()=>m(()=>import("./Index-DXy4uUZ0.js"),__vite__mapDeps([94,4,6,7,8,69,72,9,10,11,29,37,12,38,14,22,21,16,17,27,39,31,57,68,19,18,20,23,78,44,41,42,75,76,50,26,81,51,95]))}]},EF={path:"/kling",meta:{auth:!0,appName:"kling"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:KV,component:()=>m(()=>import("./Index-CHOFYqOJ.js"),__vite__mapDeps([96,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,73,44,41,42,74,75,76,50,26,81,51,97]))}]},AF={path:"/veo",meta:{auth:!0,appName:"veo"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:XV,component:()=>m(()=>import("./Index-DEJ1F06G.js"),__vite__mapDeps([98,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,29,74,75,76,68,19,18,20,23,78,44,41,42,50,26,81,51,99]))}]},TF={path:"/sora",meta:{auth:!0,appName:"sora"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:JV,component:()=>m(()=>import("./Index-B6HCk_-Z.js"),__vite__mapDeps([100,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,44,41,42,74,75,76,50,26,81,51,101]))}]},OF={path:"/pixverse",meta:{auth:!0,appName:"pixverse"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:ZV,component:()=>m(()=>import("./Index-DB7xg-db.js"),__vite__mapDeps([102,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,73,68,19,18,20,23,78,44,41,42,74,75,76,50,26,81,51,103]))}]},LF={path:"/flux",meta:{auth:!0,appName:"flux"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:QV,component:()=>m(()=>import("./Index-7uD3N-hm.js"),__vite__mapDeps([104,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,73,68,19,18,20,23,78,44,41,42,79,80,50,26,81,51,105]))}]},SF={path:"/hailuo",meta:{auth:!0,appName:"hailuo"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:eF,component:()=>m(()=>import("./Index--bZdH1SJ.js"),__vite__mapDeps([106,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,44,41,42,74,75,76,50,26,81,51,107]))}]},IF={path:"/headshots",meta:{auth:!0,appName:"headshots"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:tF,component:()=>m(()=>import("./Index-DgcbnuJl.js"),__vite__mapDeps([108,4,6,7,8,69,72,9,10,11,68,19,18,20,21,22,23,57,26,27,17,77,38,47,63,64,41,42,50,51,109]))}]},RF={path:"/suno",meta:{auth:!0,appName:"suno"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:nF,component:()=>m(()=>import("./Index-8uOMoloz.js"),__vite__mapDeps([110,4,6,7,8,69,29,10,37,9,11,12,38,14,22,21,16,17,27,39,31,72,18,19,20,23,73,26,78,44,5,13,111,51,112]))}]},CF={path:"/nanobanana",meta:{auth:!0,appName:"nanobanana"},component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:aF,component:()=>m(()=>import("./Index-BwBHSzg_.js"),__vite__mapDeps([113,4,6,7,8,69,37,9,10,11,12,38,14,22,21,16,17,27,39,31,72,68,19,18,20,23,78,44,41,42,79,80,50,26,81,51,114]))}]},PF={path:"/site",component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:Kb,component:()=>m(()=>import("./Index-B4I-9GbD.js"),__vite__mapDeps([115,15,6,7,8,16,11,10,17,4,18,19,20,21,22,23,24,25,14,29,45,26,27,28,116]))}]},xF={path:"/profile",component:()=>m(()=>import("./Main-DzlsxIsf.js"),__vite__mapDeps([62,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,63,64,48,65])),children:[{path:"",name:oF,component:()=>m(()=>import("./Index-DFfkrcKD.js"),__vite__mapDeps([117,4,30,11,9,10,8,31,111,13,26,27,17,118]))}]},zF=[{path:"/",redirect:{name:pp}},hF,mF,_F,gF,vF,kF,wF,jF,EF,AF,TF,OF,LF,SF,IF,RF,CF,yF,bF,PF,xF],Xb=MV({history:fV(),routes:zF});Xb.beforeEach(async(e,t,n)=>{const a=bi(Sn("LOCALE")||E2);return await qO(a),n()});const DF=_e({name:"AuthPanel",components:{ElDialog:J8,QrCode:D$},data(){return{showQR:!1,qrLink:""}},computed:{iframeUrl(){return`${zr()}/auth/login?inviter_id=${this.inviterId}`},inviterId(){return this.$store?.state?.site?.distribution?.force_inviter_id?this.$store?.state?.site?.distribution?.force_inviter_id:this.$route.query.inviter_id?.toString()||Sn("INVITER_ID")||this.$store?.state?.site?.distribution?.default_inviter_id},authenticated(){return!!this.$store.state.token.access}},mounted(){window.addEventListener("message",async e=>{if(e.origin===zr()){if(console.debug("received from child page",e),e.data.name==="login"){const t=e.data.data,n={access:t.access_token,refresh:t.refresh_token,expiration:t.expires_in};await this.$store.dispatch("setToken",n),await this.$store.dispatch("getUser"),this.$store.state.site?.origin||(await this.$store.dispatch("initializeSite"),await this.$router.push({name:Kb})),window.location.reload()}if(e.data.name==="show_qr"){const t=e.data.data;this.qrLink=t.qrLink,this.showQR=!0}}})}}),Jb=(e,t)=>{const n=e.__vccOpts||e;for(const[a,o]of t)n[a]=o;return n},NF=["src"];function MF(e,t,n,a,o,r){const s=ho("el-dialog"),i=ho("qr-code");return ye(),Se(ht,null,[Xe(s,{"model-value":!e.authenticated,"modal-class":"dialog",width:"400px","show-close":!1,"close-on-press-escape":!1,"close-on-click-modal":!1},{default:vt(()=>[Ee("iframe",{width:"360",height:"560",src:e.iframeUrl,frameborder:"0"},null,8,NF)]),_:1},8,["model-value"]),Xe(s,{modelValue:e.showQR,"onUpdate:modelValue":t[0]||(t[0]=c=>e.showQR=c),width:"400px","show-close":!0},{default:vt(()=>[e.qrLink?(ye(),$t(i,{key:0,value:e.qrLink,width:230,height:230,class:"qrcode w-[320px] h-[320px] block mx-auto mb-[20px]",type:"image/jpeg",color:{dark:"#000000ff",light:"#ffffffff"}},null,8,["value"])):_a("",!0)]),_:1},8,["modelValue"])],64)}const $F=Jb(DF,[["render",MF],["__scopeId","data-v-2f9f80d0"]]),VF={en:()=>m(()=>Promise.resolve().then(()=>HE),void 0),de:()=>m(()=>import("./de-BZu7ZZ9y.js"),[]),pt:()=>m(()=>import("./pt-iBE8V_rF.js"),[]),es:()=>m(()=>import("./es-Idilhmtq.js"),[]),fr:()=>m(()=>import("./fr-fyTGkfid.js"),[]),"zh-CN":()=>m(()=>import("./zh-cn-CnyULPxw.js"),[]),"zh-TW":()=>m(()=>import("./zh-tw-ZQmLUxJy.js"),[]),it:()=>m(()=>import("./it-CLf6lrMi.js"),[]),ko:()=>m(()=>import("./ko-DUrUYy0R.js"),[]),ja:()=>m(()=>import("./ja-DFyNu3tl.js"),[]),ru:()=>m(()=>import("./ru-a9O4dLvt.js"),[]),pl:()=>m(()=>import("./pl-By8ttK5W.js"),[]),fi:()=>m(()=>import("./fi-BhhlDzr_.js"),[]),sv:()=>m(()=>import("./sv-CiSSmJ4h.js"),[]),el:()=>m(()=>import("./el-DJ93mLwP.js"),[]),uk:()=>m(()=>import("./uk-Ci2KIGcW.js"),[]),ar:()=>m(()=>import("./ar-D1hnTQ2h.js"),[]),sr:()=>m(()=>import("./sr-BuqPpavQ.js"),[])},FF=_e({name:"App",components:{ElConfigProvider:C8,ElTag:L8,AuthPanel:$F},data(){return{isTest:Jr,epLocale:null}},computed:{authPopup(){return this.$store.state.auth.flow==="popup"&&this.$store.state.auth.visible},currentLocale(){return bi(this.$i18n.locale)}},watch:{currentLocale:{immediate:!0,handler(){this.loadElementPlusLocale()}}},mounted(){const e=!!this.$store.state.token.access&&!!this.$store.state.user?.id;console.debug("App mounted, authenticated:",e),e||(this.$store.dispatch("logout"),this.$store.dispatch("login"))},methods:{async loadElementPlusLocale(){const e=this.currentLocale;console.debug(`[i18n] Loading Element Plus locale for: ${e}`);const t=VF[e];if(!t){console.warn(`[i18n] No Element Plus locale found for: ${e}`);return}try{const n=await t();this.epLocale=n.default,console.debug(`[i18n] Loaded Element Plus locale: ${e}`)}catch(n){console.error(`[i18n] Failed to load Element Plus locale for: ${e}`,n)}}}});function UF(e,t,n,a,o,r){const s=ho("auth-panel"),i=ho("router-view"),c=ho("el-tag"),l=ho("el-config-provider");return ye(),$t(l,{locale:e.epLocale},{default:vt(()=>[e.authPopup?(ye(),$t(s,{key:0})):_a("",!0),Xe(i),e.isTest?(ye(),$t(c,{key:1,size:"large",class:"fixed bottom-4 right-4 z-50",type:"warning"},{default:vt(()=>[Kv(Bp(e.$t("index.button.testEnv")),1)]),_:1})):_a("",!0)]),_:1},8,["locale"])}const BF=Jb(FF,[["render",UF]]),HF={install:(e,t)=>{e.config.globalProperties.$dayjs={format(n,a){return n?w8(n).format(a||t.formatString):""}}}};/*!
|
|
68
68
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
69
69
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
70
70
|
* Copyright 2024 Fonticons, Inc.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{am as c,as as p,_ as u,d as i,a as f,c as v,b as s,o,y as m,n as a,e as r,r as y,f as S,g as _}from"./index-
|
|
1
|
+
import{am as c,as as p,_ as u,d as i,a as f,c as v,b as s,o,y as m,n as a,e as r,r as y,f as S,g as _}from"./index-BZbKTMK3.js";const b=c({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:p(String),default:"solid"}}),g=i({name:"ElDivider"}),h=i({...g,props:b,setup(n){const l=n,e=f("divider"),d=v(()=>e.cssVar({"border-style":l.borderStyle}));return(t,z)=>(o(),s("div",{class:a([r(e).b(),r(e).m(t.direction)]),style:S(r(d)),role:"separator"},[t.$slots.default&&t.direction!=="vertical"?(o(),s("div",{key:0,class:a([r(e).e("text"),r(e).is(t.contentPosition)])},[y(t.$slots,"default")],2)):m("v-if",!0)],6))}});var P=u(h,[["__file","divider.vue"]]);const k=_(P);export{k as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{dP as q,am as H,dQ as O,_ as V,d as A,u as J,bR as M,c as v,ao as C,a as U,b4 as j,dR as K,bq as Q,i as W,o,j as l,k as d,aW as X,e,J as G,dS as Y,aJ as Z,t as E,aB as _,ak as x,b as i,y as r,n as t,r as u,x as ee,E as ae,b6 as se,K as te,aX as oe,g as re}from"./index-
|
|
1
|
+
import{dP as q,am as H,dQ as O,_ as V,d as A,u as J,bR as M,c as v,ao as C,a as U,b4 as j,dR as K,bq as Q,i as W,o,j as l,k as d,aW as X,e,J as G,dS as Y,aJ as Z,t as E,aB as _,ak as x,b as i,y as r,n as t,r as u,x as ee,E as ae,b6 as se,K as te,aX as oe,g as re}from"./index-BZbKTMK3.js";const le=H({...O,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),de=q,ie=A({name:"ElDrawer",inheritAttrs:!1}),ne=A({...ie,props:le,emits:de,setup(R,{expose:g}){const n=R,S=J();M({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},v(()=>!!S.title));const f=C(),m=C(),s=U("drawer"),{t:F}=j(),{afterEnter:y,afterLeave:h,beforeLeave:B,visible:c,rendered:L,titleId:p,bodyId:k,zIndex:T,onModalClick:D,onOpenAutoFocus:P,onCloseAutoFocus:z,onFocusoutPrevented:$,onCloseRequested:I,handleClose:b}=K(n,f),N=v(()=>n.direction==="rtl"||n.direction==="ltr"),w=v(()=>Q(n.size));return g({handleClose:b,afterEnter:y,afterLeave:h}),(a,fe)=>(o(),W(e(oe),{to:a.appendTo,disabled:a.appendTo!=="body"?!1:!a.appendToBody},{default:l(()=>[d(X,{name:e(s).b("fade"),onAfterEnter:e(y),onAfterLeave:e(h),onBeforeLeave:e(B),persisted:""},{default:l(()=>[G(d(e(Y),{mask:a.modal,"overlay-class":a.modalClass,"z-index":e(T),onClick:e(D)},{default:l(()=>[d(e(Z),{loop:"",trapped:e(c),"focus-trap-el":f.value,"focus-start-el":m.value,onFocusAfterTrapped:e(P),onFocusAfterReleased:e(z),onFocusoutPrevented:e($),onReleaseRequested:e(I)},{default:l(()=>[E("div",_({ref_key:"drawerRef",ref:f,"aria-modal":"true","aria-label":a.title||void 0,"aria-labelledby":a.title?void 0:e(p),"aria-describedby":e(k)},a.$attrs,{class:[e(s).b(),a.direction,e(c)&&"open"],style:e(N)?"width: "+e(w):"height: "+e(w),role:"dialog",onClick:x(()=>{},["stop"])}),[E("span",{ref_key:"focusStartRef",ref:m,class:t(e(s).e("sr-focus")),tabindex:"-1"},null,2),a.withHeader?(o(),i("header",{key:0,class:t([e(s).e("header"),a.headerClass])},[a.$slots.title?u(a.$slots,"title",{key:1},()=>[r(" DEPRECATED SLOT ")]):u(a.$slots,"header",{key:0,close:e(b),titleId:e(p),titleClass:e(s).e("title")},()=>[a.$slots.title?r("v-if",!0):(o(),i("span",{key:0,id:e(p),role:"heading","aria-level":a.headerAriaLevel,class:t(e(s).e("title"))},ee(a.title),11,["id","aria-level"]))]),a.showClose?(o(),i("button",{key:2,"aria-label":e(F)("el.drawer.close"),class:t(e(s).e("close-btn")),type:"button",onClick:e(b)},[d(e(ae),{class:t(e(s).e("close"))},{default:l(()=>[d(e(se))]),_:1},8,["class"])],10,["aria-label","onClick"])):r("v-if",!0)],2)):r("v-if",!0),e(L)?(o(),i("div",{key:1,id:e(k),class:t([e(s).e("body"),a.bodyClass])},[u(a.$slots,"default")],10,["id"])):r("v-if",!0),a.$slots.footer?(o(),i("div",{key:2,class:t([e(s).e("footer"),a.footerClass])},[u(a.$slots,"footer")],2)):r("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[te,e(c)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var ue=V(ne,[["__file","drawer.vue"]]);const pe=re(ue);export{pe as E};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c4 as Se,c1 as de,c2 as Re,c_ as Oe,aF as ae,d as V,bp as $e,e1 as H,ay as fe,bN as xe,cC as Be,am as X,as as q,_ as be,aq as re,bH as ie,a as Y,ao as T,az as D,ar as ve,b as me,o as pe,f as ke,n as he,e as B,bI as ne,bf as J,c as K,bX as Ae,k as m,E as W,b7 as Fe,b8 as Le,aL as F,b6 as ze,bk as Me,an as Ve,r as se,e2 as Ie,ck as ge,aN as _e,ap as De,u as Ke,aV as ce,bJ as Ue,e3 as Ge,J as He,y as We,K as qe,w as Je,g as Xe}from"./index-IUOnFE33.js";import{m as le,b as oe,e as Ye,f as Qe}from"./typescript-CrbS__OB.js";import{c as L}from"./strings-ByIYpJrS.js";import{g as Ze,b as je}from"./_baseClone-DfZip4NQ.js";import{c as et}from"./_initCloneObject-BNJJfRAs.js";import{i as tt}from"./isPlainObject-_HKxhcoH.js";import{f as at}from"./index-aLPamwRW.js";function nt(e,t,s){var u=-1,a=e.length;t<0&&(t=-t>a?0:a+t),s=s>a?a:s,s<0&&(s+=a),a=t>s?0:s-t>>>0,t>>>=0;for(var l=Array(a);++u<a;)l[u]=e[u+t];return l}function st(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function lt(e,t){return t.length<2?e:Se(e,nt(t,0,-1))}function ot(e,t){return t=de(t,e),e=lt(e,t),e==null||delete e[Re(st(t))]}function rt(e){return tt(e)?void 0:e}var it=1,ct=2,ut=4,dt=at(function(e,t){var s={};if(e==null)return s;var u=!1;t=Oe(t,function(l){return l=de(l,e),u||(u=l.length>1),l}),et(e,Ze(e),s),u&&(s=je(s,it|ct|ut,rt));for(var a=t.length;a--;)ot(s,t[a]);return s});const ft=(e,t,s)=>xe(e.subTree).filter(l=>{var P;return Be(l)&&((P=l.type)==null?void 0:P.name)===t&&!!l.component}).map(l=>l.component.uid).map(l=>s[l]).filter(l=>!!l),bt=(e,t)=>{const s=ae({}),u=ae([]),a=new WeakMap,l=v=>{s.value[v.uid]=v,H(s),fe(()=>{const d=v.getVnode().el,n=d.parentNode;if(!a.has(n)){a.set(n,[]);const f=n.insertBefore.bind(n);n.insertBefore=(_,c)=>(a.get(n).some(N=>_===N||c===N)&&H(s),f(_,c))}a.get(n).push(d)})},P=v=>{delete s.value[v.uid],H(s);const d=v.getVnode().el,n=d.parentNode,f=a.get(n),_=f.indexOf(d);f.splice(_,1)},p=()=>{u.value=ft(e,t,s.value)},g=v=>v.render(),h=V({setup(v,{slots:d}){return()=>(p(),d.default?$e(g,{render:d.default}):null)}});return{children:u,addChild:l,removeChild:P,ChildrenSorter:h}},Q=Symbol("tabsRootContextKey"),vt=X({tabs:{type:q(Array),default:()=>le([])},tabRefs:{type:q(Object),default:()=>le({})}}),ye="ElTabBar",mt=V({name:ye}),pt=V({...mt,props:vt,setup(e,{expose:t}){const s=e,u=re(Q);u||ie(ye,"<el-tabs><el-tab-bar /></el-tabs>");const a=Y("tabs"),l=T(),P=T(),p=()=>{let n=0,f=0;const _=["top","bottom"].includes(u.props.tabPosition)?"width":"height",c=_==="width"?"x":"y",R=c==="x"?"left":"top";return s.tabs.every(N=>{if(ne(N.paneName))return!1;const r=s.tabRefs[N.paneName];if(!r)return!1;if(!N.active)return!0;n=r[`offset${L(R)}`],f=r[`client${L(_)}`];const C=window.getComputedStyle(r);return _==="width"&&(f-=Number.parseFloat(C.paddingLeft)+Number.parseFloat(C.paddingRight),n+=Number.parseFloat(C.paddingLeft)),!1}),{[_]:`${f}px`,transform:`translate${L(c)}(${n}px)`}},g=()=>P.value=p(),h=[],v=()=>{h.forEach(n=>n.stop()),h.length=0,Object.values(s.tabRefs).forEach(n=>{h.push(oe(n,g))})};D(()=>s.tabs,async()=>{await J(),g(),v()},{immediate:!0});const d=oe(l,()=>g());return ve(()=>{h.forEach(n=>n.stop()),h.length=0,d.stop()}),t({ref:l,update:g}),(n,f)=>(pe(),me("div",{ref_key:"barRef",ref:l,class:he([B(a).e("active-bar"),B(a).is(B(u).props.tabPosition)]),style:ke(P.value)},null,6))}});var ht=be(pt,[["__file","tab-bar.vue"]]);const gt=X({panes:{type:q(Array),default:()=>le([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),_t={tabClick:(e,t,s)=>s instanceof Event,tabRemove:(e,t)=>t instanceof Event},ue="ElTabNav",yt=V({name:ue,props:gt,emits:_t,setup(e,{expose:t,emit:s}){const u=re(Q);u||ie(ue,"<el-tabs><tab-nav /></el-tabs>");const a=Y("tabs"),l=Ye(),P=Qe(),p=T(),g=T(),h=T(),v=T({}),d=T(),n=T(!1),f=T(0),_=T(!1),c=T(!0),R=ae(),N=K(()=>["top","bottom"].includes(u.props.tabPosition)?"width":"height"),r=K(()=>({transform:`translate${N.value==="width"?"X":"Y"}(-${f.value}px)`})),C=()=>{if(!p.value)return;const i=p.value[`offset${L(N.value)}`],b=f.value;if(!b)return;const o=b>i?b-i:0;f.value=o},S=()=>{if(!p.value||!g.value)return;const i=g.value[`offset${L(N.value)}`],b=p.value[`offset${L(N.value)}`],o=f.value;if(i-o<=b)return;const E=i-o>b*2?o+b:i-b;f.value=E},k=async()=>{const i=g.value;if(!n.value||!h.value||!p.value||!i)return;await J();const b=v.value[e.currentName];if(!b)return;const o=p.value,E=["top","bottom"].includes(u.props.tabPosition),y=b.getBoundingClientRect(),w=o.getBoundingClientRect(),U=E?i.offsetWidth-w.width:i.offsetHeight-w.height,A=f.value;let $=A;E?(y.left<w.left&&($=A-(w.left-y.left)),y.right>w.right&&($=A+y.right-w.right)):(y.top<w.top&&($=A-(w.top-y.top)),y.bottom>w.bottom&&($=A+(y.bottom-w.bottom))),$=Math.max($,0),f.value=Math.min($,U)},z=()=>{var i;if(!g.value||!p.value)return;e.stretch&&((i=d.value)==null||i.update());const b=g.value[`offset${L(N.value)}`],o=p.value[`offset${L(N.value)}`],E=f.value;o<b?(n.value=n.value||{},n.value.prev=E,n.value.next=E+o<b,b-E<o&&(f.value=b-o)):(n.value=!1,E>0&&(f.value=0))},I=i=>{let b=0;switch(i.code){case F.left:case F.up:b=-1;break;case F.right:case F.down:b=1;break;default:return}const o=Array.from(i.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let y=o.indexOf(i.target)+b;y<0?y=o.length-1:y>=o.length&&(y=0),o[y].focus({preventScroll:!0}),o[y].click(),M()},M=()=>{c.value&&(_.value=!0)},O=()=>_.value=!1,Z=(i,b)=>{v.value[b]=i},Te=async()=>{await J();const i=v.value[e.currentName];i?.focus({preventScroll:!0})};return D(l,i=>{i==="hidden"?c.value=!1:i==="visible"&&setTimeout(()=>c.value=!0,50)}),D(P,i=>{i?setTimeout(()=>c.value=!0,50):c.value=!1}),oe(h,z),fe(()=>setTimeout(()=>k(),0)),Ae(()=>z()),t({scrollToActiveTab:k,removeFocus:O,focusActiveTab:Te,tabListRef:g,tabBarRef:d,scheduleRender:()=>H(R)}),()=>{const i=n.value?[m("span",{class:[a.e("nav-prev"),a.is("disabled",!n.value.prev)],onClick:C},[m(W,null,{default:()=>[m(Fe,null,null)]})]),m("span",{class:[a.e("nav-next"),a.is("disabled",!n.value.next)],onClick:S},[m(W,null,{default:()=>[m(Le,null,null)]})])]:null,b=e.panes.map((o,E)=>{var y,w,U,A;const $=o.uid,j=o.props.disabled,G=(w=(y=o.props.name)!=null?y:o.index)!=null?w:`${E}`,ee=!j&&(o.isClosable||e.editable);o.index=`${E}`;const Pe=ee?m(W,{class:"is-icon-close",onClick:x=>s("tabRemove",o,x)},{default:()=>[m(ze,null,null)]}):null,Ee=((A=(U=o.slots).label)==null?void 0:A.call(U))||o.props.label,we=!j&&o.active?0:-1;return m("div",{ref:x=>Z(x,G),class:[a.e("item"),a.is(u.props.tabPosition),a.is("active",o.active),a.is("disabled",j),a.is("closable",ee),a.is("focus",_.value)],id:`tab-${G}`,key:`tab-${$}`,"aria-controls":`pane-${G}`,role:"tab","aria-selected":o.active,tabindex:we,onFocus:()=>M(),onBlur:()=>O(),onClick:x=>{O(),s("tabClick",o,G,x)},onKeydown:x=>{ee&&(x.code===F.delete||x.code===F.backspace)&&s("tabRemove",o,x)}},[Ee,Pe])});return R.value,m("div",{ref:h,class:[a.e("nav-wrap"),a.is("scrollable",!!n.value),a.is(u.props.tabPosition)]},[i,m("div",{class:a.e("nav-scroll"),ref:p},[e.panes.length>0?m("div",{class:[a.e("nav"),a.is(u.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(u.props.tabPosition))],ref:g,style:r.value,role:"tablist",onKeydown:I},[e.type?null:m(ht,{ref:d,tabs:[...e.panes],tabRefs:v.value},null),b]):null])])}}}),Nt=X({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:q(Function),default:()=>!0},stretch:Boolean}),te=e=>Me(e)||Ve(e),Ct={[ge]:e=>te(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>te(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>te(e),tabAdd:()=>!0},Tt=V({name:"ElTabs",props:Nt,emits:Ct,setup(e,{emit:t,slots:s,expose:u}){var a;const l=Y("tabs"),P=K(()=>["left","right"].includes(e.tabPosition)),{children:p,addChild:g,removeChild:h,ChildrenSorter:v}=bt(_e(),"ElTabPane"),d=T(),n=T((a=e.modelValue)!=null?a:"0"),f=async(r,C=!1)=>{var S,k,z,I;if(!(n.value===r||ne(r)))try{let M;if(e.beforeLeave){const O=e.beforeLeave(r,n.value);M=O instanceof Promise?await O:O}else M=!0;if(M!==!1){const O=(S=p.value.find(Z=>Z.paneName===n.value))==null?void 0:S.isFocusInsidePane();n.value=r,C&&(t(ge,r),t("tabChange",r)),(z=(k=d.value)==null?void 0:k.removeFocus)==null||z.call(k),O&&((I=d.value)==null||I.focusActiveTab())}}catch{}},_=(r,C,S)=>{r.props.disabled||(t("tabClick",r,S),f(C,!0))},c=(r,C)=>{r.props.disabled||ne(r.props.name)||(C.stopPropagation(),t("edit",r.props.name,"remove"),t("tabRemove",r.props.name))},R=()=>{t("edit",void 0,"add"),t("tabAdd")},N=r=>{const C=r.el.firstChild,S=["bottom","right"].includes(e.tabPosition)?r.children[0].el:r.children[1].el;C!==S&&C.before(S)};return D(()=>e.modelValue,r=>f(r)),D(n,async()=>{var r;await J(),(r=d.value)==null||r.scrollToActiveTab()}),De(Q,{props:e,currentName:n,registerPane:g,unregisterPane:h,nav$:d}),u({currentName:n,get tabNavRef(){return dt(d.value,["scheduleRender"])}}),()=>{const r=s["add-icon"],C=e.editable||e.addable?m("div",{class:[l.e("new-tab"),P.value&&l.e("new-tab-vertical")],tabindex:"0",onClick:R,onKeydown:I=>{[F.enter,F.numpadEnter].includes(I.code)&&R()}},[r?se(s,"add-icon"):m(W,{class:l.is("icon-plus")},{default:()=>[m(Ie,null,null)]})]):null,S=()=>m(yt,{ref:d,currentName:n.value,editable:e.editable,type:e.type,panes:p.value,stretch:e.stretch,onTabClick:_,onTabRemove:c},null),k=m("div",{class:[l.e("header"),P.value&&l.e("header-vertical"),l.is(e.tabPosition)]},[m(v,null,{default:S,$stable:!0}),C]),z=m("div",{class:l.e("content")},[se(s,"default")]);return m("div",{class:[l.b(),l.m(e.tabPosition),{[l.m("card")]:e.type==="card",[l.m("border-card")]:e.type==="border-card"}],onVnodeMounted:N,onVnodeUpdated:N},[z,k])}}});var Pt=Tt;const Et=X({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),Ne="ElTabPane",wt=V({name:Ne}),St=V({...wt,props:Et,setup(e){const t=e,s=_e(),u=Ke(),a=re(Q);a||ie(Ne,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const l=Y("tab-pane"),P=T(),p=T(),g=K(()=>t.closable||a.props.closable),h=ce(()=>{var c;return a.currentName.value===((c=t.name)!=null?c:p.value)}),v=T(h.value),d=K(()=>{var c;return(c=t.name)!=null?c:p.value}),n=ce(()=>!t.lazy||v.value||h.value),f=()=>{var c;return(c=P.value)==null?void 0:c.contains(document.activeElement)};D(h,c=>{c&&(v.value=!0)});const _=Ue({uid:s.uid,getVnode:()=>s.vnode,slots:u,props:t,paneName:d,active:h,index:p,isClosable:g,isFocusInsidePane:f});return a.registerPane(_),ve(()=>{a.unregisterPane(_)}),Ge(()=>{var c;u.label&&((c=a.nav$.value)==null||c.scheduleRender())}),(c,R)=>B(n)?He((pe(),me("div",{key:0,id:`pane-${B(d)}`,ref_key:"paneRef",ref:P,class:he(B(l).b()),role:"tabpanel","aria-hidden":!B(h),"aria-labelledby":`tab-${B(d)}`},[se(c.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[qe,B(h)]]):We("v-if",!0)}});var Ce=be(St,[["__file","tab-pane.vue"]]);const Ft=Xe(Pt,{TabPane:Ce}),Lt=Je(Ce);export{Lt as E,Ft as a};
|
|
1
|
+
import{c4 as Se,c1 as de,c2 as Re,c_ as Oe,aF as ae,d as V,bp as $e,e1 as H,ay as fe,bN as xe,cC as Be,am as X,as as q,_ as be,aq as re,bH as ie,a as Y,ao as T,az as D,ar as ve,b as me,o as pe,f as ke,n as he,e as B,bI as ne,bf as J,c as K,bX as Ae,k as m,E as W,b7 as Fe,b8 as Le,aL as F,b6 as ze,bk as Me,an as Ve,r as se,e2 as Ie,ck as ge,aN as _e,ap as De,u as Ke,aV as ce,bJ as Ue,e3 as Ge,J as He,y as We,K as qe,w as Je,g as Xe}from"./index-BZbKTMK3.js";import{m as le,b as oe,e as Ye,f as Qe}from"./typescript-CkR2OWnN.js";import{c as L}from"./strings-BQbdUIFn.js";import{g as Ze,b as je}from"./_baseClone-CyEUgRjr.js";import{c as et}from"./_initCloneObject-DL2KWEpg.js";import{i as tt}from"./isPlainObject-DCVZiiY1.js";import{f as at}from"./index-CZi_rDaW.js";function nt(e,t,s){var u=-1,a=e.length;t<0&&(t=-t>a?0:a+t),s=s>a?a:s,s<0&&(s+=a),a=t>s?0:s-t>>>0,t>>>=0;for(var l=Array(a);++u<a;)l[u]=e[u+t];return l}function st(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function lt(e,t){return t.length<2?e:Se(e,nt(t,0,-1))}function ot(e,t){return t=de(t,e),e=lt(e,t),e==null||delete e[Re(st(t))]}function rt(e){return tt(e)?void 0:e}var it=1,ct=2,ut=4,dt=at(function(e,t){var s={};if(e==null)return s;var u=!1;t=Oe(t,function(l){return l=de(l,e),u||(u=l.length>1),l}),et(e,Ze(e),s),u&&(s=je(s,it|ct|ut,rt));for(var a=t.length;a--;)ot(s,t[a]);return s});const ft=(e,t,s)=>xe(e.subTree).filter(l=>{var P;return Be(l)&&((P=l.type)==null?void 0:P.name)===t&&!!l.component}).map(l=>l.component.uid).map(l=>s[l]).filter(l=>!!l),bt=(e,t)=>{const s=ae({}),u=ae([]),a=new WeakMap,l=v=>{s.value[v.uid]=v,H(s),fe(()=>{const d=v.getVnode().el,n=d.parentNode;if(!a.has(n)){a.set(n,[]);const f=n.insertBefore.bind(n);n.insertBefore=(_,c)=>(a.get(n).some(N=>_===N||c===N)&&H(s),f(_,c))}a.get(n).push(d)})},P=v=>{delete s.value[v.uid],H(s);const d=v.getVnode().el,n=d.parentNode,f=a.get(n),_=f.indexOf(d);f.splice(_,1)},p=()=>{u.value=ft(e,t,s.value)},g=v=>v.render(),h=V({setup(v,{slots:d}){return()=>(p(),d.default?$e(g,{render:d.default}):null)}});return{children:u,addChild:l,removeChild:P,ChildrenSorter:h}},Q=Symbol("tabsRootContextKey"),vt=X({tabs:{type:q(Array),default:()=>le([])},tabRefs:{type:q(Object),default:()=>le({})}}),ye="ElTabBar",mt=V({name:ye}),pt=V({...mt,props:vt,setup(e,{expose:t}){const s=e,u=re(Q);u||ie(ye,"<el-tabs><el-tab-bar /></el-tabs>");const a=Y("tabs"),l=T(),P=T(),p=()=>{let n=0,f=0;const _=["top","bottom"].includes(u.props.tabPosition)?"width":"height",c=_==="width"?"x":"y",R=c==="x"?"left":"top";return s.tabs.every(N=>{if(ne(N.paneName))return!1;const r=s.tabRefs[N.paneName];if(!r)return!1;if(!N.active)return!0;n=r[`offset${L(R)}`],f=r[`client${L(_)}`];const C=window.getComputedStyle(r);return _==="width"&&(f-=Number.parseFloat(C.paddingLeft)+Number.parseFloat(C.paddingRight),n+=Number.parseFloat(C.paddingLeft)),!1}),{[_]:`${f}px`,transform:`translate${L(c)}(${n}px)`}},g=()=>P.value=p(),h=[],v=()=>{h.forEach(n=>n.stop()),h.length=0,Object.values(s.tabRefs).forEach(n=>{h.push(oe(n,g))})};D(()=>s.tabs,async()=>{await J(),g(),v()},{immediate:!0});const d=oe(l,()=>g());return ve(()=>{h.forEach(n=>n.stop()),h.length=0,d.stop()}),t({ref:l,update:g}),(n,f)=>(pe(),me("div",{ref_key:"barRef",ref:l,class:he([B(a).e("active-bar"),B(a).is(B(u).props.tabPosition)]),style:ke(P.value)},null,6))}});var ht=be(pt,[["__file","tab-bar.vue"]]);const gt=X({panes:{type:q(Array),default:()=>le([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),_t={tabClick:(e,t,s)=>s instanceof Event,tabRemove:(e,t)=>t instanceof Event},ue="ElTabNav",yt=V({name:ue,props:gt,emits:_t,setup(e,{expose:t,emit:s}){const u=re(Q);u||ie(ue,"<el-tabs><tab-nav /></el-tabs>");const a=Y("tabs"),l=Ye(),P=Qe(),p=T(),g=T(),h=T(),v=T({}),d=T(),n=T(!1),f=T(0),_=T(!1),c=T(!0),R=ae(),N=K(()=>["top","bottom"].includes(u.props.tabPosition)?"width":"height"),r=K(()=>({transform:`translate${N.value==="width"?"X":"Y"}(-${f.value}px)`})),C=()=>{if(!p.value)return;const i=p.value[`offset${L(N.value)}`],b=f.value;if(!b)return;const o=b>i?b-i:0;f.value=o},S=()=>{if(!p.value||!g.value)return;const i=g.value[`offset${L(N.value)}`],b=p.value[`offset${L(N.value)}`],o=f.value;if(i-o<=b)return;const E=i-o>b*2?o+b:i-b;f.value=E},k=async()=>{const i=g.value;if(!n.value||!h.value||!p.value||!i)return;await J();const b=v.value[e.currentName];if(!b)return;const o=p.value,E=["top","bottom"].includes(u.props.tabPosition),y=b.getBoundingClientRect(),w=o.getBoundingClientRect(),U=E?i.offsetWidth-w.width:i.offsetHeight-w.height,A=f.value;let $=A;E?(y.left<w.left&&($=A-(w.left-y.left)),y.right>w.right&&($=A+y.right-w.right)):(y.top<w.top&&($=A-(w.top-y.top)),y.bottom>w.bottom&&($=A+(y.bottom-w.bottom))),$=Math.max($,0),f.value=Math.min($,U)},z=()=>{var i;if(!g.value||!p.value)return;e.stretch&&((i=d.value)==null||i.update());const b=g.value[`offset${L(N.value)}`],o=p.value[`offset${L(N.value)}`],E=f.value;o<b?(n.value=n.value||{},n.value.prev=E,n.value.next=E+o<b,b-E<o&&(f.value=b-o)):(n.value=!1,E>0&&(f.value=0))},I=i=>{let b=0;switch(i.code){case F.left:case F.up:b=-1;break;case F.right:case F.down:b=1;break;default:return}const o=Array.from(i.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let y=o.indexOf(i.target)+b;y<0?y=o.length-1:y>=o.length&&(y=0),o[y].focus({preventScroll:!0}),o[y].click(),M()},M=()=>{c.value&&(_.value=!0)},O=()=>_.value=!1,Z=(i,b)=>{v.value[b]=i},Te=async()=>{await J();const i=v.value[e.currentName];i?.focus({preventScroll:!0})};return D(l,i=>{i==="hidden"?c.value=!1:i==="visible"&&setTimeout(()=>c.value=!0,50)}),D(P,i=>{i?setTimeout(()=>c.value=!0,50):c.value=!1}),oe(h,z),fe(()=>setTimeout(()=>k(),0)),Ae(()=>z()),t({scrollToActiveTab:k,removeFocus:O,focusActiveTab:Te,tabListRef:g,tabBarRef:d,scheduleRender:()=>H(R)}),()=>{const i=n.value?[m("span",{class:[a.e("nav-prev"),a.is("disabled",!n.value.prev)],onClick:C},[m(W,null,{default:()=>[m(Fe,null,null)]})]),m("span",{class:[a.e("nav-next"),a.is("disabled",!n.value.next)],onClick:S},[m(W,null,{default:()=>[m(Le,null,null)]})])]:null,b=e.panes.map((o,E)=>{var y,w,U,A;const $=o.uid,j=o.props.disabled,G=(w=(y=o.props.name)!=null?y:o.index)!=null?w:`${E}`,ee=!j&&(o.isClosable||e.editable);o.index=`${E}`;const Pe=ee?m(W,{class:"is-icon-close",onClick:x=>s("tabRemove",o,x)},{default:()=>[m(ze,null,null)]}):null,Ee=((A=(U=o.slots).label)==null?void 0:A.call(U))||o.props.label,we=!j&&o.active?0:-1;return m("div",{ref:x=>Z(x,G),class:[a.e("item"),a.is(u.props.tabPosition),a.is("active",o.active),a.is("disabled",j),a.is("closable",ee),a.is("focus",_.value)],id:`tab-${G}`,key:`tab-${$}`,"aria-controls":`pane-${G}`,role:"tab","aria-selected":o.active,tabindex:we,onFocus:()=>M(),onBlur:()=>O(),onClick:x=>{O(),s("tabClick",o,G,x)},onKeydown:x=>{ee&&(x.code===F.delete||x.code===F.backspace)&&s("tabRemove",o,x)}},[Ee,Pe])});return R.value,m("div",{ref:h,class:[a.e("nav-wrap"),a.is("scrollable",!!n.value),a.is(u.props.tabPosition)]},[i,m("div",{class:a.e("nav-scroll"),ref:p},[e.panes.length>0?m("div",{class:[a.e("nav"),a.is(u.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(u.props.tabPosition))],ref:g,style:r.value,role:"tablist",onKeydown:I},[e.type?null:m(ht,{ref:d,tabs:[...e.panes],tabRefs:v.value},null),b]):null])])}}}),Nt=X({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:q(Function),default:()=>!0},stretch:Boolean}),te=e=>Me(e)||Ve(e),Ct={[ge]:e=>te(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>te(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>te(e),tabAdd:()=>!0},Tt=V({name:"ElTabs",props:Nt,emits:Ct,setup(e,{emit:t,slots:s,expose:u}){var a;const l=Y("tabs"),P=K(()=>["left","right"].includes(e.tabPosition)),{children:p,addChild:g,removeChild:h,ChildrenSorter:v}=bt(_e(),"ElTabPane"),d=T(),n=T((a=e.modelValue)!=null?a:"0"),f=async(r,C=!1)=>{var S,k,z,I;if(!(n.value===r||ne(r)))try{let M;if(e.beforeLeave){const O=e.beforeLeave(r,n.value);M=O instanceof Promise?await O:O}else M=!0;if(M!==!1){const O=(S=p.value.find(Z=>Z.paneName===n.value))==null?void 0:S.isFocusInsidePane();n.value=r,C&&(t(ge,r),t("tabChange",r)),(z=(k=d.value)==null?void 0:k.removeFocus)==null||z.call(k),O&&((I=d.value)==null||I.focusActiveTab())}}catch{}},_=(r,C,S)=>{r.props.disabled||(t("tabClick",r,S),f(C,!0))},c=(r,C)=>{r.props.disabled||ne(r.props.name)||(C.stopPropagation(),t("edit",r.props.name,"remove"),t("tabRemove",r.props.name))},R=()=>{t("edit",void 0,"add"),t("tabAdd")},N=r=>{const C=r.el.firstChild,S=["bottom","right"].includes(e.tabPosition)?r.children[0].el:r.children[1].el;C!==S&&C.before(S)};return D(()=>e.modelValue,r=>f(r)),D(n,async()=>{var r;await J(),(r=d.value)==null||r.scrollToActiveTab()}),De(Q,{props:e,currentName:n,registerPane:g,unregisterPane:h,nav$:d}),u({currentName:n,get tabNavRef(){return dt(d.value,["scheduleRender"])}}),()=>{const r=s["add-icon"],C=e.editable||e.addable?m("div",{class:[l.e("new-tab"),P.value&&l.e("new-tab-vertical")],tabindex:"0",onClick:R,onKeydown:I=>{[F.enter,F.numpadEnter].includes(I.code)&&R()}},[r?se(s,"add-icon"):m(W,{class:l.is("icon-plus")},{default:()=>[m(Ie,null,null)]})]):null,S=()=>m(yt,{ref:d,currentName:n.value,editable:e.editable,type:e.type,panes:p.value,stretch:e.stretch,onTabClick:_,onTabRemove:c},null),k=m("div",{class:[l.e("header"),P.value&&l.e("header-vertical"),l.is(e.tabPosition)]},[m(v,null,{default:S,$stable:!0}),C]),z=m("div",{class:l.e("content")},[se(s,"default")]);return m("div",{class:[l.b(),l.m(e.tabPosition),{[l.m("card")]:e.type==="card",[l.m("border-card")]:e.type==="border-card"}],onVnodeMounted:N,onVnodeUpdated:N},[z,k])}}});var Pt=Tt;const Et=X({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),Ne="ElTabPane",wt=V({name:Ne}),St=V({...wt,props:Et,setup(e){const t=e,s=_e(),u=Ke(),a=re(Q);a||ie(Ne,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const l=Y("tab-pane"),P=T(),p=T(),g=K(()=>t.closable||a.props.closable),h=ce(()=>{var c;return a.currentName.value===((c=t.name)!=null?c:p.value)}),v=T(h.value),d=K(()=>{var c;return(c=t.name)!=null?c:p.value}),n=ce(()=>!t.lazy||v.value||h.value),f=()=>{var c;return(c=P.value)==null?void 0:c.contains(document.activeElement)};D(h,c=>{c&&(v.value=!0)});const _=Ue({uid:s.uid,getVnode:()=>s.vnode,slots:u,props:t,paneName:d,active:h,index:p,isClosable:g,isFocusInsidePane:f});return a.registerPane(_),ve(()=>{a.unregisterPane(_)}),Ge(()=>{var c;u.label&&((c=a.nav$.value)==null||c.scheduleRender())}),(c,R)=>B(n)?He((pe(),me("div",{key:0,id:`pane-${B(d)}`,ref_key:"paneRef",ref:P,class:he(B(l).b()),role:"tabpanel","aria-hidden":!B(h),"aria-labelledby":`tab-${B(d)}`},[se(c.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[qe,B(h)]]):We("v-if",!0)}});var Ce=be(St,[["__file","tab-pane.vue"]]);const Ft=Xe(Pt,{TabPane:Ce}),Lt=Je(Ce);export{Lt as E,Ft as a};
|