comp-hub 0.27.18 → 0.27.20
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/README.md +147 -147
- package/bin/cli.js +85 -84
- package/dist/index.js +1 -1
- package/dist/website/container/assets/index-BE50zrUP.css +1 -0
- package/dist/website/container/assets/{index-CdaB9oWd.js → index-Cmi2NYAU.js} +1 -1
- package/dist/website/container/index.html +34 -34
- package/dist/website/container/js/vue2-sfc-loader.js +260 -260
- package/dist/website/container/js/vue3-sfc-loader.js +289 -289
- package/dist/website/item/assets/{index-B0s1uwsa.js → index-D1z-Gulp.js} +3 -3
- package/dist/website/item/assets/index-DMrYn9mD.css +1 -0
- package/dist/website/item/index.html +32 -32
- package/dist/website/main/assets/{AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CfufrKbA.js → AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-bvKbrkpk.js} +1 -1
- package/dist/website/main/assets/{BaseDialog.vue_vue_type_script_setup_true_lang-B6WkXWm7.js → BaseDialog.vue_vue_type_script_setup_true_lang-CPKWysZj.js} +1 -1
- package/dist/website/main/assets/{BaseSegmented.vue_vue_type_script_setup_true_lang-D5yw_wF0.js → BaseSegmented.vue_vue_type_script_setup_true_lang-CIcujGT8.js} +1 -1
- package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-BwtYEYU5.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-Z_wBEKCl.js} +1 -1
- package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-DIgE9MGd.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-C8xBMnWg.js} +1 -1
- package/dist/website/main/assets/{core-DE5-zGKf.js → core-DCZ-eL8G.js} +1 -1
- package/dist/website/main/assets/{el-table-column-BiqynxkD.js → el-table-column-Cx9gMgrN.js} +1 -1
- package/dist/website/main/assets/{index-BIGvC1SM.js → index-4acODfuo.js} +1 -1
- package/dist/website/main/assets/index-B2BmYIO5.js +1 -0
- package/dist/website/main/assets/index-B37e-H6y.js +1 -0
- package/dist/website/main/assets/index-B63tZaB2.css +1 -0
- package/dist/website/main/assets/{index-gOTpUrNM.js → index-BGTVNDSV.js} +1 -1
- package/dist/website/main/assets/{index-DvyE3TrH.js → index-BaX-1N8K.js} +2 -2
- package/dist/website/main/assets/{index-BGLjC3BV.js → index-BngP265n.js} +1 -1
- package/dist/website/main/assets/index-BnpZ3Duk.js +25 -0
- package/dist/website/main/assets/{index-BQWeT5qu.js → index-Bw7t67yK.js} +1 -1
- package/dist/website/main/assets/{index-CGgS1tZ0.js → index-C7kV7E5j.js} +1 -1
- package/dist/website/main/assets/index-C9r8rR8o.js +1 -0
- package/dist/website/main/assets/index-CfMcBFhz.js +1 -0
- package/dist/website/main/assets/{index-Dl-mwEbG.js → index-CqcYb_O4.js} +1 -1
- package/dist/website/main/assets/{index-BfPdLll-.js → index-CvRT9IhX.js} +1 -1
- package/dist/website/main/assets/{index-D7eOWAPr.js → index-Cy6hrNNt.js} +1 -1
- package/dist/website/main/assets/index-Czj4Va_p.js +1 -0
- package/dist/website/main/assets/{index-DBM1x91X.js → index-D4mf-9oL.js} +1 -1
- package/dist/website/main/assets/index-DBDOcdx3.js +2 -0
- package/dist/website/main/assets/{index-D8WDrGkh.js → index-DGdf8eP2.js} +1 -1
- package/dist/website/main/assets/{index-ctwb4cB7.js → index-DMAX-M2Q.js} +1 -1
- package/dist/website/main/assets/{index-CFH_ugiT.js → index-DNszuV9Y.js} +1 -1
- package/dist/website/main/assets/index-DlO1wWqO.js +1 -0
- package/dist/website/main/assets/{index-q4Z3Q7p4.js → index-DsYCIdsq.js} +1 -1
- package/dist/website/main/assets/{index-Cu1YAWdz.js → index-DxYo8MHB.js} +1 -1
- package/dist/website/main/assets/{index-Cl0SK7oa.css → index-DxyEzkir.css} +1 -1
- package/dist/website/main/assets/{index-Oo11MKfd.js → index-Dz7Dj_1u.js} +1 -1
- package/dist/website/main/assets/index-FHO37hxp.css +1 -0
- package/dist/website/main/assets/{index-uu5oSUvx.js → index-GnkbPU1i.js} +1 -1
- package/dist/website/main/assets/{index-C9t3Yhe9.js → index-IUKgsvZv.js} +1 -1
- package/dist/website/main/assets/{index-DmO0JQ56.css → index-JFePecD_.css} +1 -1
- package/dist/website/main/assets/{index-CTLlcQoM.js → index-O6EResxn.js} +1 -1
- package/dist/website/main/assets/index-Pry-PAul.css +1 -0
- package/dist/website/main/assets/{index-vnzmxexj.js → index-WuHE7xfi.js} +1 -1
- package/dist/website/main/assets/index-ZwxrucVt.js +1 -0
- package/dist/website/main/assets/{index-cFhtMyBi.js → index-x3kqy62K.js} +2 -2
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BDhf8t5D.js → index.vue_vue_type_script_setup_true_lang-C5L_ugEm.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-aO0L9Tak.js → index.vue_vue_type_script_setup_true_lang-CmisVeEC.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-D_7jZ1zo.js → index.vue_vue_type_script_setup_true_lang-CwhJTB8k.js} +2 -2
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B4echric.js → index.vue_vue_type_script_setup_true_lang-DRlqnxVM.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-COryHg9c.js → index.vue_vue_type_script_setup_true_lang-SLaqY8P4.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Dtuk2wrA.js → index.vue_vue_type_script_setup_true_lang-Y8sQYcwy.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C4fELX8m.js → index.vue_vue_type_style_index_0_lang-BygWE3Ob.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-D_eT-tA_.js → index.vue_vue_type_style_index_0_lang-TY8hdvSG.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C3U7f9Ma.js → index.vue_vue_type_style_index_0_lang-vmUTBf-P.js} +1 -1
- package/dist/website/main/assets/{md5-BZr8xhBN.js → md5-CDR0X4F9.js} +1 -1
- package/dist/website/main/assets/{useCompEditStore-B7KaUbOi.js → useCompEditStore-BaMFNGpl.js} +2 -2
- package/dist/website/main/assets/{useCompEditStore-Du_-rNtX.css → useCompEditStore-DdbvUh5w.css} +1 -1
- package/dist/website/main/assets/{useKeyword-D1qu8Tz-.js → useKeyword-BMG9y3e4.js} +1 -1
- package/dist/website/main/assets/{useMessage-D7WAp245.js → useMessage-CNq7TVBk.js} +1 -1
- package/dist/website/main/assets/{useVscodeOpen-DIYbcP1e.js → useVscodeOpen-B7qurnVy.js} +1 -1
- package/dist/website/main/assets/{vendor-ui-D6wVBlls.js → vendor-ui-CmoKJ_4A.js} +3 -3
- package/dist/website/main/index.html +3 -3
- package/package.json +39 -39
- package/dist/website/container/assets/index-BnbvpvZL.css +0 -1
- package/dist/website/item/assets/index-BIcNxYiU.css +0 -1
- package/dist/website/main/assets/index-B6f_06zP.js +0 -1
- package/dist/website/main/assets/index-BkUBwon5.css +0 -1
- package/dist/website/main/assets/index-CCFHORqg.js +0 -1
- package/dist/website/main/assets/index-CWW1M_cy.js +0 -1
- package/dist/website/main/assets/index-Cf69_nzt.js +0 -23
- package/dist/website/main/assets/index-CuHNNhtE.js +0 -1
- package/dist/website/main/assets/index-D6Fz5rH9.css +0 -1
- package/dist/website/main/assets/index-DC94GyXj.js +0 -1
- package/dist/website/main/assets/index-DrUAgWBX.js +0 -1
- package/dist/website/main/assets/index-YUZjR2Eq.js +0 -2
- package/dist/website/main/assets/index-tEU6GnSH.js +0 -1
- package/dist/website/main/assets/index-y8GEzH-z.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Ac(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Re={},Yr=[],xn=()=>{},dh=()=>!1,Mi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Di=e=>e.startsWith("onUpdate:"),pt=Object.assign,Oc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k_=Object.prototype.hasOwnProperty,Te=(e,t)=>k_.call(e,t),ae=Array.isArray,Xr=e=>po(e)==="[object Map]",ph=e=>po(e)==="[object Set]",Ru=e=>po(e)==="[object Date]",x_=e=>po(e)==="[object RegExp]",ce=e=>typeof e=="function",je=e=>typeof e=="string",Vt=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",hh=e=>(Ae(e)||ce(e))&&ce(e.then)&&ce(e.catch),mh=Object.prototype.toString,po=e=>mh.call(e),T_=e=>po(e).slice(8,-1),gh=e=>po(e)==="[object Object]",Fi=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$o=Ac(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$i=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},A_=/-\w/g,Ot=$i(e=>e.replace(A_,t=>t.slice(1).toUpperCase())),O_=/\B([A-Z])/g,Pr=$i(e=>e.replace(O_,"-$1").toLowerCase()),Ui=$i(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gs=$i(e=>e?`on${Ui(e)}`:""),Sn=(e,t)=>!Object.is(e,t),Uo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},yh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},I_=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Nu;const ji=()=>Nu||(Nu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function At(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=je(r)?N_(r):At(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(je(e)||Ae(e))return e}const L_=/;(?![^(]*\))/g,P_=/:([^]+)/,R_=/\/\*[^]*?\*\//g;function N_(e){const t={};return e.replace(R_,"").split(L_).forEach(n=>{if(n){const r=n.split(P_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function He(e){let t="";if(je(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const r=He(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ds(e){if(!e)return null;let{class:t,style:n}=e;return t&&!je(t)&&(e.class=He(t)),n&&(e.style=At(n)),e}const M_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",D_=Ac(M_);function bh(e){return!!e||e===""}function F_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ic(e[r],t[r]);return n}function Ic(e,t){if(e===t)return!0;let n=Ru(e),r=Ru(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Vt(e),r=Vt(t),n||r)return e===t;if(n=ae(e),r=ae(t),n||r)return n&&r?F_(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Ic(e[i],t[i]))return!1}}return String(e)===String(t)}const _h=e=>!!(e&&e.__v_isRef===!0),Ar=e=>je(e)?e:e==null?"":ae(e)||Ae(e)&&(e.toString===mh||!ce(e.toString))?_h(e)?Ar(e.value):JSON.stringify(e,vh,2):String(e),vh=(e,t)=>_h(t)?vh(e,t.value):Xr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Sa(r,s)+" =>"]=o,n),{})}:ph(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Sa(n))}:Vt(t)?Sa(t):Ae(t)&&!ae(t)&&!gh(t)?String(t):t,Sa=(e,t="")=>{var n;return Vt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let st;class wh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&st&&(st.active?(this.parent=st,this.index=(st.scopes||(st.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){++this._on===1&&(this.prevScope=st,st=this)}off(){if(this._on>0&&--this._on===0){if(st===this)st=this.prevScope;else{let t=st;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Lc(e){return new wh(e)}function zi(){return st}function Eh(e,t=!1){st&&st.cleanups.push(e)}let Fe;const Ca=new WeakSet;class Sh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,st&&(st.active?st.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ca.has(this)&&(Ca.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mu(this),xh(this);const t=Fe,n=cn;Fe=this,cn=!0;try{return this.fn()}finally{Th(this),Fe=t,cn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Nc(t);this.deps=this.depsTail=void 0,Mu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ca.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xl(this)&&this.run()}get dirty(){return xl(this)}}let Ch=0,jo,zo;function kh(e,t=!1){if(e.flags|=8,t){e.next=zo,zo=e;return}e.next=jo,jo=e}function Pc(){Ch++}function Rc(){if(--Ch>0)return;if(zo){let t=zo;for(zo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jo;){let t=jo;for(jo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Th(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Nc(r),$_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function xl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ah(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ah(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jo)||(e.globalVersion=Jo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xl(e))))return;e.flags|=2;const t=e.dep,n=Fe,r=cn;Fe=e,cn=!0;try{xh(e);const o=e.fn(e._value);(t.version===0||Sn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Fe=n,cn=r,Th(e),e.flags&=-3}}function Nc(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Nc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let cn=!0;const Oh=[];function Gn(){Oh.push(cn),cn=!1}function Kn(){const e=Oh.pop();cn=e===void 0?!0:e}function Mu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Fe;Fe=void 0;try{t()}finally{Fe=n}}}let Jo=0;class U_{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Bi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Fe||!cn||Fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Fe)n=this.activeLink=new U_(Fe,this),Fe.deps?(n.prevDep=Fe.depsTail,Fe.depsTail.nextDep=n,Fe.depsTail=n):Fe.deps=Fe.depsTail=n,Ih(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Fe.depsTail,n.nextDep=void 0,Fe.depsTail.nextDep=n,Fe.depsTail=n,Fe.deps===n&&(Fe.deps=r)}return n}trigger(t){this.version++,Jo++,this.notify(t)}notify(t){Pc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rc()}}}function Ih(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ih(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ii=new WeakMap,Cr=Symbol(""),Tl=Symbol(""),Qo=Symbol("");function bt(e,t,n){if(cn&&Fe){let r=ii.get(e);r||ii.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Bi),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ii.get(e);if(!i){Jo++;return}const a=l=>{l&&l.trigger()};if(Pc(),t==="clear")i.forEach(a);else{const l=ae(e),c=l&&Fi(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Qo||!Vt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Qo)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Cr)),Xr(e)&&a(i.get(Tl)));break;case"delete":l||(a(i.get(Cr)),Xr(e)&&a(i.get(Tl)));break;case"set":Xr(e)&&a(i.get(Cr));break}}Rc()}function j_(e,t){const n=ii.get(e);return n&&n.get(t)}function Rr(e){const t=be(e);return t===e?t:(bt(t,"iterate",Qo),Bt(e)?t:t.map(fn))}function Hi(e){return bt(e=be(e),"iterate",Qo),e}function wn(e,t){return qn(e)?eo(Wn(e)?fn(t):t):fn(t)}const z_={__proto__:null,[Symbol.iterator](){return ka(this,Symbol.iterator,e=>wn(this,e))},concat(...e){return Rr(this).concat(...e.map(t=>ae(t)?Rr(t):t))},entries(){return ka(this,"entries",e=>(e[1]=wn(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,n=>n.map(r=>wn(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>wn(this,n),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,n=>wn(this,n),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return xa(this,"includes",e)},indexOf(...e){return xa(this,"indexOf",e)},join(e){return Rr(this).join(e)},lastIndexOf(...e){return xa(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return vo(this,"pop")},push(...e){return vo(this,"push",e)},reduce(e,...t){return Du(this,"reduce",e,t)},reduceRight(e,...t){return Du(this,"reduceRight",e,t)},shift(){return vo(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return vo(this,"splice",e)},toReversed(){return Rr(this).toReversed()},toSorted(e){return Rr(this).toSorted(e)},toSpliced(...e){return Rr(this).toSpliced(...e)},unshift(...e){return vo(this,"unshift",e)},values(){return ka(this,"values",e=>wn(this,e))}};function ka(e,t,n){const r=Hi(e),o=r[t]();return r!==e&&!Bt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const B_=Array.prototype;function Nn(e,t,n,r,o,s){const i=Hi(e),a=i!==e&&!Bt(e),l=i[t];if(l!==B_[t]){const f=l.apply(e,s);return a?fn(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,wn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function Du(e,t,n,r){const o=Hi(e),s=o!==e&&!Bt(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=wn(e,c)),n.call(this,c,wn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?wn(e,l):l}function xa(e,t,n){const r=be(e);bt(r,"iterate",Qo);const o=r[t](...n);return(o===-1||o===!1)&&Gi(n[0])?(n[0]=be(n[0]),r[t](...n)):o}function vo(e,t,n=[]){Gn(),Pc();const r=be(e)[t].apply(e,n);return Rc(),Kn(),r}const H_=Ac("__proto__,__v_isRef,__isVue"),Lh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vt));function V_(e){Vt(e)||(e=String(e));const t=be(this);return bt(t,"has",e),t.hasOwnProperty(e)}class Ph{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?$h:Fh:s?Dh:Mh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=z_[n]))return l;if(n==="hasOwnProperty")return V_}const a=Reflect.get(t,n,ze(t)?t:r);if((Vt(n)?Lh.has(n):H_(n))||(o||bt(t,"get",n),s))return a;if(ze(a)){const l=i&&Fi(n)?a:a.value;return o&&Ae(l)?ai(l):l}return Ae(a)?o?ai(a):ps(a):a}}class Rh extends Ph{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ae(t)&&Fi(n);if(!this._isShallow){const c=qn(s);if(!Bt(r)&&!qn(r)&&(s=be(s),r=be(r)),!i&&ze(s)&&!ze(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Te(t,n),l=Reflect.set(t,n,r,ze(t)?t:o);return t===be(o)&&(a?Sn(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Te(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&zn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Vt(n)||!Lh.has(n))&&bt(t,"has",n),r}ownKeys(t){return bt(t,"iterate",ae(t)?"length":Cr),Reflect.ownKeys(t)}}class Nh extends Ph{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const W_=new Rh,G_=new Nh,K_=new Rh(!0),q_=new Nh(!0),Al=e=>e,Cs=e=>Reflect.getPrototypeOf(e);function Y_(e,t,n){return function(...r){const o=this.__v_raw,s=be(o),i=Xr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Al:t?eo:fn;return!t&&bt(s,"iterate",l?Tl:Cr),pt(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function ks(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function X_(e,t){const n={get(o){const s=this.__v_raw,i=be(s),a=be(o);e||(Sn(o,a)&&bt(i,"get",o),bt(i,"get",a));const{has:l}=Cs(i),c=t?Al:e?eo:fn;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&bt(be(o),"iterate",Cr),o.size},has(o){const s=this.__v_raw,i=be(s),a=be(o);return e||(Sn(o,a)&&bt(i,"has",o),bt(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=be(a),c=t?Al:e?eo:fn;return!e&&bt(l,"iterate",Cr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return pt(n,e?{add:ks("add"),set:ks("set"),delete:ks("delete"),clear:ks("clear")}:{add(o){const s=be(this),i=Cs(s),a=be(o),l=!t&&!Bt(o)&&!qn(o)?a:o;return i.has.call(s,l)||Sn(o,l)&&i.has.call(s,o)||Sn(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Bt(s)&&!qn(s)&&(s=be(s));const i=be(this),{has:a,get:l}=Cs(i);let c=a.call(i,o);c||(o=be(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Sn(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=be(this),{has:i,get:a}=Cs(s);let l=i.call(s,o);l||(o=be(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&zn(s,"delete",o,void 0),c},clear(){const o=be(this),s=o.size!==0,i=o.clear();return s&&zn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Y_(o,e,t)}),n}function Vi(e,t){const n=X_(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Te(n,o)&&o in r?n:r,o,s)}const J_={get:Vi(!1,!1)},Q_={get:Vi(!1,!0)},Z_={get:Vi(!0,!1)},ev={get:Vi(!0,!0)},Mh=new WeakMap,Dh=new WeakMap,Fh=new WeakMap,$h=new WeakMap;function tv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nv(e){return e.__v_skip||!Object.isExtensible(e)?0:tv(T_(e))}function ps(e){return qn(e)?e:Wi(e,!1,W_,J_,Mh)}function Uh(e){return Wi(e,!1,K_,Q_,Dh)}function ai(e){return Wi(e,!0,G_,Z_,Fh)}function rv(e){return Wi(e,!0,q_,ev,$h)}function Wi(e,t,n,r,o){if(!Ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=nv(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function Wn(e){return qn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function qn(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function Gi(e){return e?!!e.__v_raw:!1}function be(e){const t=e&&e.__v_raw;return t?be(t):e}function Mc(e){return!Te(e,"__v_skip")&&Object.isExtensible(e)&&yh(e,"__v_skip",!0),e}const fn=e=>Ae(e)?ps(e):e,eo=e=>Ae(e)?ai(e):e;function ze(e){return e?e.__v_isRef===!0:!1}function de(e){return jh(e,!1)}function Tn(e){return jh(e,!0)}function jh(e,t){return ze(e)?e:new ov(e,t)}class ov{constructor(t,n){this.dep=new Bi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:be(t),this._value=n?t:fn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Bt(t)||qn(t);t=r?t:be(t),Sn(t,n)&&(this._rawValue=t,this._value=r?t:fn(t),this.dep.trigger())}}function Ve(e){return ze(e)?e.value:e}function An(e){return ce(e)?e():Ve(e)}const sv={get:(e,t,n)=>t==="__v_raw"?e:Ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ze(o)&&!ze(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function zh(e){return Wn(e)?e:new Proxy(e,sv)}class iv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Bi,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function av(e){return new iv(e)}function lv(e){const t=ae(e)?new Array(e.length):{};for(const n in e)t[n]=Bh(e,n);return t}class cv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Vt(n)?n:String(n),this._raw=be(t);let o=!0,s=t;if(!ae(t)||Vt(this._key)||!Fi(this._key))do o=!Gi(s)||Bt(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Ve(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ze(this._raw[this._key])){const n=this._object[this._key];if(ze(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return j_(this._raw,this._key)}}class uv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function fv(e,t,n){return ze(e)?e:ce(e)?new uv(e):Ae(e)&&arguments.length>1?Bh(e,t,n):de(e)}function Bh(e,t,n){return new cv(e,t,n)}class dv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Bi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Fe!==this)return kh(this,!0),!0}get value(){const t=this.dep.track();return Ah(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pv(e,t,n=!1){let r,o;return ce(e)?r=e:(r=e.get,o=e.set),new dv(r,o,n)}const xs={},li=new WeakMap;let br;function hv(e,t=!1,n=br){if(n){let r=li.get(n);r||li.set(n,r=[]),r.push(e)}}function mv(e,t,n=Re){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=m=>o?m:Bt(m)||o===!1||o===0?Bn(m,1):Bn(m);let u,f,d,p,g=!1,h=!1;if(ze(e)?(f=()=>e.value,g=Bt(e)):Wn(e)?(f=()=>c(e),g=!0):ae(e)?(h=!0,g=e.some(m=>Wn(m)||Bt(m)),f=()=>e.map(m=>{if(ze(m))return m.value;if(Wn(m))return c(m);if(ce(m))return l?l(m,2):m()})):ce(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Gn();try{d()}finally{Kn()}}const m=br;br=u;try{return l?l(e,3,[p]):e(p)}finally{br=m}}:f=xn,t&&o){const m=f,O=o===!0?1/0:o;f=()=>Bn(m(),O)}const _=zi(),y=()=>{u.stop(),_&&_.active&&Oc(_.effects,u)};if(s&&t){const m=t;t=(...O)=>{m(...O),y()}}let b=h?new Array(e.length).fill(xs):xs;const E=m=>{if(!(!(u.flags&1)||!u.dirty&&!m))if(t){const O=u.run();if(o||g||(h?O.some((C,x)=>Sn(C,b[x])):Sn(O,b))){d&&d();const C=br;br=u;try{const x=[O,b===xs?void 0:h&&b[0]===xs?[]:b,p];b=O,l?l(t,3,x):t(...x)}finally{br=C}}}else u.run()};return a&&a(E),u=new Sh(f),u.scheduler=i?()=>i(E,!1):E,p=m=>hv(m,!1,u),d=u.onStop=()=>{const m=li.get(u);if(m){if(l)l(m,4);else for(const O of m)O();li.delete(u)}},t?r?E(!0):b=u.run():i?i(E.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Bn(e,t=1/0,n){if(t<=0||!Ae(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ze(e))Bn(e.value,t,n);else if(ae(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(ph(e)||Xr(e))e.forEach(r=>{Bn(r,t,n)});else if(gh(e)){for(const r in e)Bn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Bn(e[r],t,n)}return e}function hs(e,t,n,r){try{return r?e(...r):e()}catch(o){Ki(o,t,n)}}function In(e,t,n,r){if(ce(e)){const o=hs(e,t,n,r);return o&&hh(o)&&o.catch(s=>{Ki(s,t,n)}),o}if(ae(e)){const o=[];for(let s=0;s<e.length;s++)o.push(In(e[s],t,n,r));return o}}function Ki(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Re;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){Gn(),hs(s,null,10,[e,l,c]),Kn();return}}gv(e,n,o,r,i)}function gv(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Tt=[];let _n=-1;const Jr=[];let rr=null,zr=0;const Hh=Promise.resolve();let ci=null;function fr(e){const t=ci||Hh;return e?t.then(this?e.bind(this):e):t}function yv(e){let t=_n+1,n=Tt.length;for(;t<n;){const r=t+n>>>1,o=Tt[r],s=Zo(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Dc(e){if(!(e.flags&1)){const t=Zo(e),n=Tt[Tt.length-1];!n||!(e.flags&2)&&t>=Zo(n)?Tt.push(e):Tt.splice(yv(t),0,e),e.flags|=1,Vh()}}function Vh(){ci||(ci=Hh.then(Gh))}function bv(e){ae(e)?Jr.push(...e):rr&&e.id===-1?rr.splice(zr+1,0,e):e.flags&1||(Jr.push(e),e.flags|=1),Vh()}function Fu(e,t,n=_n+1){for(;n<Tt.length;n++){const r=Tt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Tt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Wh(e){if(Jr.length){const t=[...new Set(Jr)].sort((n,r)=>Zo(n)-Zo(r));if(Jr.length=0,rr){rr.push(...t);return}for(rr=t,zr=0;zr<rr.length;zr++){const n=rr[zr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}rr=null,zr=0}}const Zo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gh(e){try{for(_n=0;_n<Tt.length;_n++){const t=Tt[_n];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_n<Tt.length;_n++){const t=Tt[_n];t&&(t.flags&=-2)}_n=-1,Tt.length=0,Wh(),ci=null,(Tt.length||Jr.length)&&Gh()}}let ut=null,Kh=null;function ui(e){const t=ut;return ut=e,Kh=e&&e.type.__scopeId||null,t}function to(e,t=ut,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&mi(-1);const s=ui(t);let i;try{i=e(...o)}finally{ui(s),r._d&&mi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function qh(e,t){if(ut===null)return e;const n=Qi(ut),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Re]=t[o];s&&(ce(s)&&(s={mounted:s,updated:s}),s.deep&&Bn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function mr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Gn(),In(l,n,8,[e.el,a,e,t]),Kn())}}function Bo(e,t){if(_t){let n=_t.provides;const r=_t.parent&&_t.parent.provides;r===n&&(n=_t.provides=Object.create(r)),n[e]=t}}function Ht(e,t,n=!1){const r=Rn();if(r||kr){let o=kr?kr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ce(t)?t.call(r&&r.proxy):t}}function Fc(){return!!(Rn()||kr)}const _v=Symbol.for("v-scx"),vv=()=>Ht(_v);function wv(e,t){return $c(e,null,t)}function Ge(e,t,n){return $c(e,t,n)}function $c(e,t,n=Re){const{immediate:r,deep:o,flush:s,once:i}=n,a=pt({},n),l=t&&r||!t&&s!=="post";let c;if(ns){if(s==="sync"){const p=vv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=xn,p.resume=xn,p.pause=xn,p}}const u=_t;a.call=(p,g,h)=>In(p,u,g,h);let f=!1;s==="post"?a.scheduler=p=>{at(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,g)=>{g?p():Dc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=mv(e,t,a);return ns&&(c?c.push(d):l&&d()),d}function Ev(e,t,n){const r=this.proxy,o=je(e)?e.includes(".")?Yh(r,e):()=>r[e]:e.bind(r,r);let s;ce(t)?s=t:(s=t.handler,n=t);const i=gs(this),a=$c(o,s.bind(r),n);return i(),a}function Yh(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Sv=Symbol("_vte"),Cv=e=>e.__isTeleport,kv=Symbol("_leaveCb");function qi(e,t){e.shapeFlag&6&&e.component?(e.transition=t,qi(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function et(e,t){return ce(e)?pt({name:e.name},t,{setup:e}):e}function Xh(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Jh(e){const t=Rn(),n=Tn(null);if(t){const o=t.refs===Re?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function $u(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const fi=new WeakMap;function Ho(e,t,n,r,o=!1){if(ae(e)){e.forEach((h,_)=>Ho(h,t&&(ae(t)?t[_]:t),n,r,o));return}if(ar(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ho(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Qi(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Re?a.refs={}:a.refs,f=a.setupState,d=be(f),p=f===Re?dh:h=>$u(u,h)?!1:Te(d,h),g=(h,_)=>!(_&&$u(u,_));if(c!=null&&c!==l){if(Uu(t),je(c))u[c]=null,p(c)&&(f[c]=null);else if(ze(c)){const h=t;g(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(ce(l))hs(l,a,12,[i,u]);else{const h=je(l),_=ze(l);if(h||_){const y=()=>{if(e.f){const b=h?p(l)?f[l]:u[l]:g()||!e.k?l.value:u[e.k];if(o)ae(b)&&Oc(b,s);else if(ae(b))b.includes(s)||b.push(s);else if(h)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];g(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else h?(u[l]=i,p(l)&&(f[l]=i)):_&&(g(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const b=()=>{y(),fi.delete(e)};b.id=-1,fi.set(e,b),at(b,n)}else Uu(e),y()}}}function Uu(e){const t=fi.get(e);t&&(t.flags|=8,fi.delete(e))}ji().requestIdleCallback;ji().cancelIdleCallback;const ar=e=>!!e.type.__asyncLoader,Qh=e=>e.type.__isKeepAlive,xv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(b,E,m,O,C)=>{const x=b.component;c(b,E,m,0,a),l(x.vnode,b,E,m,x,a,O,b.slotScopeIds,C),at(()=>{x.isDeactivated=!1,x.a&&Uo(x.a);const v=b.props&&b.props.onVnodeMounted;v&&Yt(v,x.parent,b)},a)},r.deactivate=b=>{const E=b.component;pi(E.m),pi(E.a),c(b,d,null,1,a),at(()=>{E.da&&Uo(E.da);const m=b.props&&b.props.onVnodeUnmounted;m&&Yt(m,E.parent,b),E.isDeactivated=!0},a)};function p(b){Ta(b),u(b,n,a,!0)}function g(b){o.forEach((E,m)=>{const O=Nl(ar(E)?E.type.__asyncResolved||{}:E.type);O&&!b(O)&&h(m)})}function h(b){const E=o.get(b);E&&(!i||!Br(E,i))?p(E):i&&Ta(i),o.delete(b),s.delete(b)}Ge(()=>[e.include,e.exclude],([b,E])=>{b&&g(m=>Oo(b,m)),E&&g(m=>!Oo(E,m))},{flush:"post",deep:!0});let _=null;const y=()=>{_!=null&&(hi(n.subTree.type)?at(()=>{o.set(_,Ts(n.subTree))},n.subTree.suspense):o.set(_,Ts(n.subTree)))};return pn(y),em(y),Xi(()=>{o.forEach(b=>{const{subTree:E,suspense:m}=n,O=Ts(E);if(b.type===O.type&&b.key===O.key){Ta(O);const C=O.component.da;C&&at(C,m);return}p(b)})}),()=>{if(_=null,!t.default)return i=null;const b=t.default(),E=b[0];if(b.length>1)return i=null,b;if(!ro(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let m=Ts(E);if(m.type===Ln)return i=null,m;const O=m.type,C=Nl(ar(m)?m.type.__asyncResolved||{}:O),{include:x,exclude:v,max:T}=e;if(x&&(!C||!Oo(x,C))||v&&C&&Oo(v,C))return m.shapeFlag&=-257,i=m,E;const N=m.key==null?O:m.key,M=o.get(N);return m.el&&(m=Or(m),E.shapeFlag&128&&(E.ssContent=m)),_=N,M?(m.el=M.el,m.component=M.component,m.transition&&qi(m,m.transition),m.shapeFlag|=512,s.delete(N),s.add(N)):(s.add(N),T&&s.size>parseInt(T,10)&&h(s.values().next().value)),m.shapeFlag|=256,i=m,hi(E.type)?E:m}}},Tv=xv;function Oo(e,t){return ae(e)?e.some(n=>Oo(n,t)):je(e)?e.split(",").includes(t):x_(e)?(e.lastIndex=0,e.test(t)):!1}function Av(e,t){Zh(e,"a",t)}function Ov(e,t){Zh(e,"da",t)}function Zh(e,t,n=_t){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Yi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Qh(o.parent.vnode)&&Iv(r,t,n,o),o=o.parent}}function Iv(e,t,n,r){const o=Yi(t,e,r,!0);ho(()=>{Oc(r[t],o)},n)}function Ta(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ts(e){return e.shapeFlag&128?e.ssContent:e}function Yi(e,t,n=_t,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{Gn();const a=gs(n),l=In(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Xn=e=>(t,n=_t)=>{(!ns||e==="sp")&&Yi(e,(...r)=>t(...r),n)},Lv=Xn("bm"),pn=Xn("m"),Pv=Xn("bu"),em=Xn("u"),Xi=Xn("bum"),ho=Xn("um"),Rv=Xn("sp"),Nv=Xn("rtg"),Mv=Xn("rtc");function Dv(e,t=_t){Yi("ec",e,t)}const Uc="components",Fv="directives";function tm(e,t){return jc(Uc,e,!0,t)||e}const nm=Symbol.for("v-ndc");function $v(e){return je(e)?jc(Uc,e,!1)||e:e||nm}function Uv(e){return jc(Fv,e)}function jc(e,t,n=!0,r=!1){const o=ut||_t;if(o){const s=o.type;if(e===Uc){const a=Nl(s,!1);if(a&&(a===t||a===Ot(t)||a===Ui(Ot(t))))return s}const i=ju(o[e]||s[e],t)||ju(o.appContext[e],t);return!i&&r?s:i}}function ju(e,t){return e&&(e[t]||e[Ot(t)]||e[Ui(Ot(t))])}function no(e,t,n,r){let o;const s=n&&n[r],i=ae(e);if(i||je(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Bt(e),c=qn(e),e=Hi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?eo(fn(e[u])):fn(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(Ae(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function lr(e,t,n={},r,o){if(ut.ce||ut.parent&&ar(ut.parent)&&ut.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ue(),Zt(nt,null,[qe("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ue();const i=s&&rm(s(n)),a=n.key||i&&i.key,l=Zt(nt,{key:(a&&!Vt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function rm(e){return e.some(t=>ro(t)?!(t.type===Ln||t.type===nt&&!rm(t.children)):!0)?e:null}const Ol=e=>e?Em(e)?Qi(e):Ol(e.parent):null,Vo=pt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ol(e.parent),$root:e=>Ol(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sm(e),$forceUpdate:e=>e.f||(e.f=()=>{Dc(e.update)}),$nextTick:e=>e.n||(e.n=fr.bind(e.proxy)),$watch:e=>Ev.bind(e)}),Aa=(e,t)=>e!==Re&&!e.__isScriptSetup&&Te(e,t),jv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Aa(r,t))return i[t]=1,r[t];if(o!==Re&&Te(o,t))return i[t]=2,o[t];if(Te(s,t))return i[t]=3,s[t];if(n!==Re&&Te(n,t))return i[t]=4,n[t];Il&&(i[t]=0)}}const c=Vo[t];let u,f;if(c)return t==="$attrs"&&bt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Re&&Te(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Te(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Aa(o,t)?(o[t]=n,!0):r!==Re&&Te(r,t)?(r[t]=n,!0):Te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==Re&&a[0]!=="$"&&Te(e,a)||Aa(t,a)||Te(s,a)||Te(r,a)||Te(Vo,a)||Te(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zv(){return Bv().attrs}function Bv(e){const t=Rn();return t.setupContext||(t.setupContext=Cm(t))}function zu(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Il=!0;function Hv(e){const t=sm(e),n=e.proxy,r=e.ctx;Il=!1,t.beforeCreate&&Bu(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:g,activated:h,deactivated:_,beforeDestroy:y,beforeUnmount:b,destroyed:E,unmounted:m,render:O,renderTracked:C,renderTriggered:x,errorCaptured:v,serverPrefetch:T,expose:N,inheritAttrs:M,components:W,directives:Z,filters:H}=t;if(c&&Vv(c,r,null),i)for(const ee in i){const ie=i[ee];ce(ie)&&(r[ee]=ie.bind(n))}if(o){const ee=o.call(n,n);Ae(ee)&&(e.data=ps(ee))}if(Il=!0,s)for(const ee in s){const ie=s[ee],Xe=ce(ie)?ie.bind(n,n):ce(ie.get)?ie.get.bind(n,n):xn,St=!ce(ie)&&ce(ie.set)?ie.set.bind(n):xn,Oe=X({get:Xe,set:St});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:Ue=>Oe.value=Ue})}if(a)for(const ee in a)om(a[ee],r,n,ee);if(l){const ee=ce(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(ie=>{Bo(ie,ee[ie])})}u&&Bu(u,e,"c");function V(ee,ie){ae(ie)?ie.forEach(Xe=>ee(Xe.bind(n))):ie&&ee(ie.bind(n))}if(V(Lv,f),V(pn,d),V(Pv,p),V(em,g),V(Av,h),V(Ov,_),V(Dv,v),V(Mv,C),V(Nv,x),V(Xi,b),V(ho,m),V(Rv,T),ae(N))if(N.length){const ee=e.exposed||(e.exposed={});N.forEach(ie=>{Object.defineProperty(ee,ie,{get:()=>n[ie],set:Xe=>n[ie]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});O&&e.render===xn&&(e.render=O),M!=null&&(e.inheritAttrs=M),W&&(e.components=W),Z&&(e.directives=Z),T&&Xh(e)}function Vv(e,t,n=xn){ae(e)&&(e=Ll(e));for(const r in e){const o=e[r];let s;Ae(o)?"default"in o?s=Ht(o.from||r,o.default,!0):s=Ht(o.from||r):s=Ht(o),ze(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Bu(e,t,n){In(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function om(e,t,n,r){let o=r.includes(".")?Yh(n,r):()=>n[r];if(je(e)){const s=t[e];ce(s)&&Ge(o,s)}else if(ce(e))Ge(o,e.bind(n));else if(Ae(e))if(ae(e))e.forEach(s=>om(s,t,n,r));else{const s=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(s)&&Ge(o,s,e)}}function sm(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>di(l,c,i,!0)),di(l,t,i)),Ae(t)&&s.set(t,l),l}function di(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&di(e,s,n,!0),o&&o.forEach(i=>di(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Wv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Wv={data:Hu,props:Vu,emits:Vu,methods:Io,computed:Io,beforeCreate:kt,created:kt,beforeMount:kt,mounted:kt,beforeUpdate:kt,updated:kt,beforeDestroy:kt,beforeUnmount:kt,destroyed:kt,unmounted:kt,activated:kt,deactivated:kt,errorCaptured:kt,serverPrefetch:kt,components:Io,directives:Io,watch:Kv,provide:Hu,inject:Gv};function Hu(e,t){return t?e?function(){return pt(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function Gv(e,t){return Io(Ll(e),Ll(t))}function Ll(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function kt(e,t){return e?[...new Set([].concat(e,t))]:t}function Io(e,t){return e?pt(Object.create(null),e,t):t}function Vu(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:pt(Object.create(null),zu(e),zu(t??{})):t}function Kv(e,t){if(!e)return t;if(!t)return e;const n=pt(Object.create(null),e);for(const r in t)n[r]=kt(e[r],t[r]);return n}function im(){return{app:null,config:{isNativeTag:dh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qv=0;function Yv(e,t){return function(r,o=null){ce(r)||(r=pt({},r)),o!=null&&!Ae(o)&&(o=null);const s=im(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:qv++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Sw,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&ce(u.install)?(i.add(u),u.install(c,...f)):ce(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||qe(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,Qi(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(In(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=kr;kr=c;try{return u()}finally{kr=f}}};return c}}let kr=null;const Xv=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ot(t)}Modifiers`]||e[`${Pr(t)}Modifiers`];function Jv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Re;let o=n;const s=t.startsWith("update:"),i=s&&Xv(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>je(u)?u.trim():u)),i.number&&(o=n.map(I_)));let a,l=r[a=Gs(t)]||r[a=Gs(Ot(t))];!l&&s&&(l=r[a=Gs(Pr(t))]),l&&In(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,In(c,e,6,o)}}const Qv=new WeakMap;function am(e,t,n=!1){const r=n?Qv:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ce(e)){const l=c=>{const u=am(c,t,!0);u&&(a=!0,pt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ae(e)&&r.set(e,null),null):(ae(s)?s.forEach(l=>i[l]=null):pt(i,s),Ae(e)&&r.set(e,i),i)}function Ji(e,t){return!e||!Mi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Te(e,t[0].toLowerCase()+t.slice(1))||Te(e,Pr(t))||Te(e,t))}function Wu(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:g,inheritAttrs:h}=e,_=ui(e);let y,b;try{if(n.shapeFlag&4){const m=o||r,O=m;y=En(c.call(O,m,u,f,p,d,g)),b=a}else{const m=t;y=En(m.length>1?m(f,{attrs:a,slots:i,emit:l}):m(f,null)),b=t.props?a:Zv(a)}}catch(m){Wo.length=0,Ki(m,e,1),y=qe(Ln)}let E=y;if(b&&h!==!1){const m=Object.keys(b),{shapeFlag:O}=E;m.length&&O&7&&(s&&m.some(Di)&&(b=ew(b,s)),E=Or(E,b,!1,!0))}return n.dirs&&(E=Or(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&qi(E,n.transition),y=E,ui(_),y}const Zv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Mi(n))&&((t||(t={}))[n]=e[n]);return t},ew=(e,t)=>{const n={};for(const r in e)(!Di(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tw(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Gu(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(lm(i,r,d)&&!Ji(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Gu(r,i,c):!0:!!i;return!1}function Gu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(lm(t,e,s)&&!Ji(n,s))return!0}return!1}function lm(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ae(r)&&Ae(o)?!Ic(r,o):r!==o}function nw({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const cm={},um=()=>Object.create(cm),fm=e=>Object.getPrototypeOf(e)===cm;function rw(e,t,n,r=!1){const o={},s=um();e.propsDefaults=Object.create(null),dm(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Uh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ow(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=be(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ji(e.emitsOptions,d))continue;const p=t[d];if(l)if(Te(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const g=Ot(d);o[g]=Pl(l,a,g,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{dm(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Te(t,f)&&((u=Pr(f))===f||!Te(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Pl(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Te(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function dm(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if($o(l))continue;const c=t[l];let u;o&&Te(o,u=Ot(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Ji(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=be(n),c=a||Re;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Pl(o,l,f,c[f],e,!Te(c,f))}}return i}function Pl(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Te(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ce(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=gs(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Pr(n))&&(r=!0))}return r}const sw=new WeakMap;function pm(e,t,n=!1){const r=n?sw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!ce(e)){const u=f=>{l=!0;const[d,p]=pm(f,t,!0);pt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ae(e)&&r.set(e,Yr),Yr;if(ae(s))for(let u=0;u<s.length;u++){const f=Ot(s[u]);Ku(f)&&(i[f]=Re)}else if(s)for(const u in s){const f=Ot(u);if(Ku(f)){const d=s[u],p=i[f]=ae(d)||ce(d)?{type:d}:pt({},d),g=p.type;let h=!1,_=!0;if(ae(g))for(let y=0;y<g.length;++y){const b=g[y],E=ce(b)&&b.name;if(E==="Boolean"){h=!0;break}else E==="String"&&(_=!1)}else h=ce(g)&&g.name==="Boolean";p[0]=h,p[1]=_,(h||Te(p,"default"))&&a.push(f)}}const c=[i,a];return Ae(e)&&r.set(e,c),c}function Ku(e){return e[0]!=="$"&&!$o(e)}const zc=e=>e==="_"||e==="_ctx"||e==="$stable",Bc=e=>ae(e)?e.map(En):[En(e)],iw=(e,t,n)=>{if(t._n)return t;const r=to((...o)=>Bc(t(...o)),n);return r._c=!1,r},hm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zc(o))continue;const s=e[o];if(ce(s))t[o]=iw(o,s,r);else if(s!=null){const i=Bc(s);t[o]=()=>i}}},mm=(e,t)=>{const n=Bc(t);e.slots.default=()=>n},gm=(e,t,n)=>{for(const r in t)(n||!zc(r))&&(e[r]=t[r])},aw=(e,t,n)=>{const r=e.slots=um();if(e.vnode.shapeFlag&32){const o=t._;o?(gm(r,t,n),n&&yh(r,"_",o,!0)):hm(t,r)}else t&&mm(e,t)},lw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Re;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:gm(o,t,n):(s=!t.$stable,hm(t,o)),i=t}else t&&(mm(e,t),i={default:1});if(s)for(const a in o)!zc(a)&&i[a]==null&&delete o[a]},at=pw;function cw(e){return uw(e)}function uw(e,t){const n=ji();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=xn,insertStaticContent:g}=e,h=(k,A,P,$=null,z=null,U=null,w=void 0,S=null,I=!!A.dynamicChildren)=>{if(k===A)return;k&&!Br(k,A)&&($=j(k),Ue(k,z,U,!0),k=null),A.patchFlag===-2&&(I=!1,A.dynamicChildren=null);const{type:R,ref:Y,shapeFlag:B}=A;switch(R){case ms:_(k,A,P,$);break;case Ln:y(k,A,P,$);break;case Ia:k==null&&b(A,P,$,w);break;case nt:W(k,A,P,$,z,U,w,S,I);break;default:B&1?O(k,A,P,$,z,U,w,S,I):B&6?Z(k,A,P,$,z,U,w,S,I):(B&64||B&128)&&R.process(k,A,P,$,z,U,w,S,I,ne)}Y!=null&&z?Ho(Y,k&&k.ref,U,A||k,!A):Y==null&&k&&k.ref!=null&&Ho(k.ref,null,U,k,!0)},_=(k,A,P,$)=>{if(k==null)r(A.el=a(A.children),P,$);else{const z=A.el=k.el;A.children!==k.children&&c(z,A.children)}},y=(k,A,P,$)=>{k==null?r(A.el=l(A.children||""),P,$):A.el=k.el},b=(k,A,P,$)=>{[k.el,k.anchor]=g(k.children,A,P,$,k.el,k.anchor)},E=({el:k,anchor:A},P,$)=>{let z;for(;k&&k!==A;)z=d(k),r(k,P,$),k=z;r(A,P,$)},m=({el:k,anchor:A})=>{let P;for(;k&&k!==A;)P=d(k),o(k),k=P;o(A)},O=(k,A,P,$,z,U,w,S,I)=>{if(A.type==="svg"?w="svg":A.type==="math"&&(w="mathml"),k==null)C(A,P,$,z,U,w,S,I);else{const R=k.el&&k.el._isVueCE?k.el:null;try{R&&R._beginPatch(),T(k,A,z,U,w,S,I)}finally{R&&R._endPatch()}}},C=(k,A,P,$,z,U,w,S)=>{let I,R;const{props:Y,shapeFlag:B,transition:L,dirs:F}=k;if(I=k.el=i(k.type,U,Y&&Y.is,Y),B&8?u(I,k.children):B&16&&v(k.children,I,null,$,z,Oa(k,U),w,S),F&&mr(k,null,$,"created"),x(I,k,k.scopeId,w,$),Y){for(const oe in Y)oe!=="value"&&!$o(oe)&&s(I,oe,null,Y[oe],U,$);"value"in Y&&s(I,"value",null,Y.value,U),(R=Y.onVnodeBeforeMount)&&Yt(R,$,k)}F&&mr(k,null,$,"beforeMount");const te=fw(z,L);te&&L.beforeEnter(I),r(I,A,P),((R=Y&&Y.onVnodeMounted)||te||F)&&at(()=>{R&&Yt(R,$,k),te&&L.enter(I),F&&mr(k,null,$,"mounted")},z)},x=(k,A,P,$,z)=>{if(P&&p(k,P),$)for(let U=0;U<$.length;U++)p(k,$[U]);if(z){let U=z.subTree;if(A===U||hi(U.type)&&(U.ssContent===A||U.ssFallback===A)){const w=z.vnode;x(k,w,w.scopeId,w.slotScopeIds,z.parent)}}},v=(k,A,P,$,z,U,w,S,I=0)=>{for(let R=I;R<k.length;R++){const Y=k[R]=S?jn(k[R]):En(k[R]);h(null,Y,A,P,$,z,U,w,S)}},T=(k,A,P,$,z,U,w)=>{const S=A.el=k.el;let{patchFlag:I,dynamicChildren:R,dirs:Y}=A;I|=k.patchFlag&16;const B=k.props||Re,L=A.props||Re;let F;if(P&&gr(P,!1),(F=L.onVnodeBeforeUpdate)&&Yt(F,P,A,k),Y&&mr(A,k,P,"beforeUpdate"),P&&gr(P,!0),(B.innerHTML&&L.innerHTML==null||B.textContent&&L.textContent==null)&&u(S,""),R?N(k.dynamicChildren,R,S,P,$,Oa(A,z),U):w||ie(k,A,S,null,P,$,Oa(A,z),U,!1),I>0){if(I&16)M(S,B,L,P,z);else if(I&2&&B.class!==L.class&&s(S,"class",null,L.class,z),I&4&&s(S,"style",B.style,L.style,z),I&8){const te=A.dynamicProps;for(let oe=0;oe<te.length;oe++){const ge=te[oe],Ie=B[ge],Ce=L[ge];(Ce!==Ie||ge==="value")&&s(S,ge,Ie,Ce,z,P)}}I&1&&k.children!==A.children&&u(S,A.children)}else!w&&R==null&&M(S,B,L,P,z);((F=L.onVnodeUpdated)||Y)&&at(()=>{F&&Yt(F,P,A,k),Y&&mr(A,k,P,"updated")},$)},N=(k,A,P,$,z,U,w)=>{for(let S=0;S<A.length;S++){const I=k[S],R=A[S],Y=I.el&&(I.type===nt||!Br(I,R)||I.shapeFlag&198)?f(I.el):P;h(I,R,Y,null,$,z,U,w,!0)}},M=(k,A,P,$,z)=>{if(A!==P){if(A!==Re)for(const U in A)!$o(U)&&!(U in P)&&s(k,U,A[U],null,z,$);for(const U in P){if($o(U))continue;const w=P[U],S=A[U];w!==S&&U!=="value"&&s(k,U,S,w,z,$)}"value"in P&&s(k,"value",A.value,P.value,z)}},W=(k,A,P,$,z,U,w,S,I)=>{const R=A.el=k?k.el:a(""),Y=A.anchor=k?k.anchor:a("");let{patchFlag:B,dynamicChildren:L,slotScopeIds:F}=A;F&&(S=S?S.concat(F):F),k==null?(r(R,P,$),r(Y,P,$),v(A.children||[],P,Y,z,U,w,S,I)):B>0&&B&64&&L&&k.dynamicChildren&&k.dynamicChildren.length===L.length?(N(k.dynamicChildren,L,P,z,U,w,S),(A.key!=null||z&&A===z.subTree)&&ym(k,A,!0)):ie(k,A,P,Y,z,U,w,S,I)},Z=(k,A,P,$,z,U,w,S,I)=>{A.slotScopeIds=S,k==null?A.shapeFlag&512?z.ctx.activate(A,P,$,w,I):H(A,P,$,z,U,w,I):K(k,A,I)},H=(k,A,P,$,z,U,w)=>{const S=k.component=bw(k,$,z);if(Qh(k)&&(S.ctx.renderer=ne),_w(S,!1,w),S.asyncDep){if(z&&z.registerDep(S,V,w),!k.el){const I=S.subTree=qe(Ln);y(null,I,A,P),k.placeholder=I.el}}else V(S,k,A,P,z,U,w)},K=(k,A,P)=>{const $=A.component=k.component;if(tw(k,A,P))if($.asyncDep&&!$.asyncResolved){ee($,A,P);return}else $.next=A,$.update();else A.el=k.el,$.vnode=A},V=(k,A,P,$,z,U,w)=>{const S=()=>{if(k.isMounted){let{next:B,bu:L,u:F,parent:te,vnode:oe}=k;{const rn=bm(k);if(rn){B&&(B.el=oe.el,ee(k,B,w)),rn.asyncDep.then(()=>{at(()=>{k.isUnmounted||R()},z)});return}}let ge=B,Ie;gr(k,!1),B?(B.el=oe.el,ee(k,B,w)):B=oe,L&&Uo(L),(Ie=B.props&&B.props.onVnodeBeforeUpdate)&&Yt(Ie,te,B,oe),gr(k,!0);const Ce=Wu(k),Kt=k.subTree;k.subTree=Ce,h(Kt,Ce,f(Kt.el),j(Kt),k,z,U),B.el=Ce.el,ge===null&&nw(k,Ce.el),F&&at(F,z),(Ie=B.props&&B.props.onVnodeUpdated)&&at(()=>Yt(Ie,te,B,oe),z)}else{let B;const{el:L,props:F}=A,{bm:te,m:oe,parent:ge,root:Ie,type:Ce}=k,Kt=ar(A);gr(k,!1),te&&Uo(te),!Kt&&(B=F&&F.onVnodeBeforeMount)&&Yt(B,ge,A),gr(k,!0);{Ie.ce&&Ie.ce._hasShadowRoot()&&Ie.ce._injectChildStyle(Ce,k.parent?k.parent.type:void 0);const rn=k.subTree=Wu(k);h(null,rn,P,$,k,z,U),A.el=rn.el}if(oe&&at(oe,z),!Kt&&(B=F&&F.onVnodeMounted)){const rn=A;at(()=>Yt(B,ge,rn),z)}(A.shapeFlag&256||ge&&ar(ge.vnode)&&ge.vnode.shapeFlag&256)&&k.a&&at(k.a,z),k.isMounted=!0,A=P=$=null}};k.scope.on();const I=k.effect=new Sh(S);k.scope.off();const R=k.update=I.run.bind(I),Y=k.job=I.runIfDirty.bind(I);Y.i=k,Y.id=k.uid,I.scheduler=()=>Dc(Y),gr(k,!0),R()},ee=(k,A,P)=>{A.component=k;const $=k.vnode.props;k.vnode=A,k.next=null,ow(k,A.props,$,P),lw(k,A.children,P),Gn(),Fu(k),Kn()},ie=(k,A,P,$,z,U,w,S,I=!1)=>{const R=k&&k.children,Y=k?k.shapeFlag:0,B=A.children,{patchFlag:L,shapeFlag:F}=A;if(L>0){if(L&128){St(R,B,P,$,z,U,w,S,I);return}else if(L&256){Xe(R,B,P,$,z,U,w,S,I);return}}F&8?(Y&16&&ht(R,z,U),B!==R&&u(P,B)):Y&16?F&16?St(R,B,P,$,z,U,w,S,I):ht(R,z,U,!0):(Y&8&&u(P,""),F&16&&v(B,P,$,z,U,w,S,I))},Xe=(k,A,P,$,z,U,w,S,I)=>{k=k||Yr,A=A||Yr;const R=k.length,Y=A.length,B=Math.min(R,Y);let L;for(L=0;L<B;L++){const F=A[L]=I?jn(A[L]):En(A[L]);h(k[L],F,P,null,z,U,w,S,I)}R>Y?ht(k,z,U,!0,!1,B):v(A,P,$,z,U,w,S,I,B)},St=(k,A,P,$,z,U,w,S,I)=>{let R=0;const Y=A.length;let B=k.length-1,L=Y-1;for(;R<=B&&R<=L;){const F=k[R],te=A[R]=I?jn(A[R]):En(A[R]);if(Br(F,te))h(F,te,P,null,z,U,w,S,I);else break;R++}for(;R<=B&&R<=L;){const F=k[B],te=A[L]=I?jn(A[L]):En(A[L]);if(Br(F,te))h(F,te,P,null,z,U,w,S,I);else break;B--,L--}if(R>B){if(R<=L){const F=L+1,te=F<Y?A[F].el:$;for(;R<=L;)h(null,A[R]=I?jn(A[R]):En(A[R]),P,te,z,U,w,S,I),R++}}else if(R>L)for(;R<=B;)Ue(k[R],z,U,!0),R++;else{const F=R,te=R,oe=new Map;for(R=te;R<=L;R++){const Ut=A[R]=I?jn(A[R]):En(A[R]);Ut.key!=null&&oe.set(Ut.key,R)}let ge,Ie=0;const Ce=L-te+1;let Kt=!1,rn=0;const _o=new Array(Ce);for(R=0;R<Ce;R++)_o[R]=0;for(R=F;R<=B;R++){const Ut=k[R];if(Ie>=Ce){Ue(Ut,z,U,!0);continue}let gn;if(Ut.key!=null)gn=oe.get(Ut.key);else for(ge=te;ge<=L;ge++)if(_o[ge-te]===0&&Br(Ut,A[ge])){gn=ge;break}gn===void 0?Ue(Ut,z,U,!0):(_o[gn-te]=R+1,gn>=rn?rn=gn:Kt=!0,h(Ut,A[gn],P,null,z,U,w,S,I),Ie++)}const Iu=Kt?dw(_o):Yr;for(ge=Iu.length-1,R=Ce-1;R>=0;R--){const Ut=te+R,gn=A[Ut],Lu=A[Ut+1],Pu=Ut+1<Y?Lu.el||_m(Lu):$;_o[R]===0?h(null,gn,P,Pu,z,U,w,S,I):Kt&&(ge<0||R!==Iu[ge]?Oe(gn,P,Pu,2):ge--)}}},Oe=(k,A,P,$,z=null)=>{const{el:U,type:w,transition:S,children:I,shapeFlag:R}=k;if(R&6){Oe(k.component.subTree,A,P,$);return}if(R&128){k.suspense.move(A,P,$);return}if(R&64){w.move(k,A,P,ne);return}if(w===nt){r(U,A,P);for(let B=0;B<I.length;B++)Oe(I[B],A,P,$);r(k.anchor,A,P);return}if(w===Ia){E(k,A,P);return}if($!==2&&R&1&&S)if($===0)S.beforeEnter(U),r(U,A,P),at(()=>S.enter(U),z);else{const{leave:B,delayLeave:L,afterLeave:F}=S,te=()=>{k.ctx.isUnmounted?o(U):r(U,A,P)},oe=()=>{U._isLeaving&&U[kv](!0),B(U,()=>{te(),F&&F()})};L?L(U,te,oe):oe()}else r(U,A,P)},Ue=(k,A,P,$=!1,z=!1)=>{const{type:U,props:w,ref:S,children:I,dynamicChildren:R,shapeFlag:Y,patchFlag:B,dirs:L,cacheIndex:F,memo:te}=k;if(B===-2&&(z=!1),S!=null&&(Gn(),Ho(S,null,P,k,!0),Kn()),F!=null&&(A.renderCache[F]=void 0),Y&256){A.ctx.deactivate(k);return}const oe=Y&1&&L,ge=!ar(k);let Ie;if(ge&&(Ie=w&&w.onVnodeBeforeUnmount)&&Yt(Ie,A,k),Y&6)$t(k.component,P,$);else{if(Y&128){k.suspense.unmount(P,$);return}oe&&mr(k,null,A,"beforeUnmount"),Y&64?k.type.remove(k,A,P,ne,$):R&&!R.hasOnce&&(U!==nt||B>0&&B&64)?ht(R,A,P,!1,!0):(U===nt&&B&384||!z&&Y&16)&&ht(I,A,P),$&&Lt(k)}const Ce=te!=null&&F==null;(ge&&(Ie=w&&w.onVnodeUnmounted)||oe||Ce)&&at(()=>{Ie&&Yt(Ie,A,k),oe&&mr(k,null,A,"unmounted"),Ce&&(k.el=null)},P)},Lt=k=>{const{type:A,el:P,anchor:$,transition:z}=k;if(A===nt){Ct(P,$);return}if(A===Ia){m(k);return}const U=()=>{o(P),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(k.shapeFlag&1&&z&&!z.persisted){const{leave:w,delayLeave:S}=z,I=()=>w(P,U);S?S(k.el,U,I):I()}else U()},Ct=(k,A)=>{let P;for(;k!==A;)P=d(k),o(k),k=P;o(A)},$t=(k,A,P)=>{const{bum:$,scope:z,job:U,subTree:w,um:S,m:I,a:R}=k;pi(I),pi(R),$&&Uo($),z.stop(),U&&(U.flags|=8,Ue(w,k,A,P)),S&&at(S,A),at(()=>{k.isUnmounted=!0},A)},ht=(k,A,P,$=!1,z=!1,U=0)=>{for(let w=U;w<k.length;w++)Ue(k[w],A,P,$,z)},j=k=>{if(k.shapeFlag&6)return j(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const A=d(k.anchor||k.el),P=A&&A[Sv];return P?d(P):A};let J=!1;const q=(k,A,P)=>{let $;k==null?A._vnode&&(Ue(A._vnode,null,null,!0),$=A._vnode.component):h(A._vnode||null,k,A,null,null,null,P),A._vnode=k,J||(J=!0,Fu($),Wh(),J=!1)},ne={p:h,um:Ue,m:Oe,r:Lt,mt:H,mc:v,pc:ie,pbc:N,n:j,o:e};return{render:q,hydrate:void 0,createApp:Yv(q)}}function Oa({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ym(e,t,n=!1){const r=e.children,o=t.children;if(ae(r)&&ae(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&ym(i,a)),a.type===ms&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===Ln&&!a.el&&(a.el=i.el)}}function dw(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function bm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bm(t)}function pi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function _m(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?_m(t.subTree):null}const hi=e=>e.__isSuspense;function pw(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):bv(e)}const nt=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),Ln=Symbol.for("v-cmt"),Ia=Symbol.for("v-stc"),Wo=[];let zt=null;function ue(e=!1){Wo.push(zt=e?null:[])}function hw(){Wo.pop(),zt=Wo[Wo.length-1]||null}let es=1;function mi(e,t=!1){es+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function vm(e){return e.dynamicChildren=es>0?zt||Yr:null,hw(),es>0&&zt&&zt.push(e),e}function _e(e,t,n,r,o,s){return vm(We(e,t,n,r,o,s,!0))}function Zt(e,t,n,r,o){return vm(qe(e,t,n,r,o,!0))}function ro(e){return e?e.__v_isVNode===!0:!1}function Br(e,t){return e.type===t.type&&e.key===t.key}const wm=({key:e})=>e??null,Ks=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?je(e)||ze(e)||ce(e)?{i:ut,r:e,k:t,f:!!n}:e:null);function We(e,t=null,n=null,r=0,o=null,s=e===nt?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wm(t),ref:t&&Ks(t),scopeId:Kh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ut};return a?(Hc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=je(n)?8:16),es>0&&!i&&zt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&zt.push(l),l}const qe=mw;function mw(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===nm)&&(e=Ln),ro(e)){const a=Or(e,t,!0);return n&&Hc(a,n),es>0&&!s&&zt&&(a.shapeFlag&6?zt[zt.indexOf(e)]=a:zt.push(a)),a.patchFlag=-2,a}if(Ew(e)&&(e=e.__vccOpts),t){t=mo(t);let{class:a,style:l}=t;a&&!je(a)&&(t.class=He(a)),Ae(l)&&(Gi(l)&&!ae(l)&&(l=pt({},l)),t.style=At(l))}const i=je(e)?1:hi(e)?128:Cv(e)?64:Ae(e)?4:ce(e)?2:0;return We(e,t,n,r,o,i,s,!0)}function mo(e){return e?Gi(e)||fm(e)?pt({},e):e:null}function Or(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?ts(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&wm(c),ref:t&&t.ref?n&&s?ae(s)?s.concat(Ks(t)):[s,Ks(t)]:Ks(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==nt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Or(e.ssContent),ssFallback:e.ssFallback&&Or(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&qi(u,l.clone(u)),u}function gi(e=" ",t=0){return qe(ms,null,e,t)}function en(e="",t=!1){return t?(ue(),Zt(Ln,null,e)):qe(Ln,null,e)}function En(e){return e==null||typeof e=="boolean"?qe(Ln):ae(e)?qe(nt,null,e.slice()):ro(e)?jn(e):qe(ms,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Or(e)}function Hc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Hc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!fm(t)?t._ctx=ut:o===3&&ut&&(ut.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:ut},n=32):(t=String(t),r&64?(n=16,t=[gi(t)]):n=8);e.children=t,e.shapeFlag|=n}function ts(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=He([t.class,r.class]));else if(o==="style")t.style=At([t.style,r.style]);else if(Mi(o)){const s=t[o],i=r[o];i&&s!==i&&!(ae(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Di(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Yt(e,t,n,r=null){In(e,t,7,[n,r])}const gw=im();let yw=0;function bw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||gw,s={uid:yw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pm(r,o),emitsOptions:am(r,o),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:r.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Jv.bind(null,s),e.ce&&e.ce(s),s}let _t=null;const Rn=()=>_t||ut;let yi,Rl;{const e=ji(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};yi=t("__VUE_INSTANCE_SETTERS__",n=>_t=n),Rl=t("__VUE_SSR_SETTERS__",n=>ns=n)}const gs=e=>{const t=_t;return yi(e),e.scope.on(),()=>{e.scope.off(),yi(t)}},qu=()=>{_t&&_t.scope.off(),yi(null)};function Em(e){return e.vnode.shapeFlag&4}let ns=!1;function _w(e,t=!1,n=!1){t&&Rl(t);const{props:r,children:o}=e.vnode,s=Em(e);rw(e,r,s,t),aw(e,o,n||t);const i=s?vw(e,t):void 0;return t&&Rl(!1),i}function vw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jv);const{setup:r}=n;if(r){Gn();const o=e.setupContext=r.length>1?Cm(e):null,s=gs(e),i=hs(r,e,0,[e.props,o]),a=hh(i);if(Kn(),s(),(a||e.sp)&&!ar(e)&&Xh(e),a){if(i.then(qu,qu),t)return i.then(l=>{Yu(e,l)}).catch(l=>{Ki(l,e,0)});e.asyncDep=i}else Yu(e,i)}else Sm(e)}function Yu(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ae(t)&&(e.setupState=zh(t)),Sm(e)}function Sm(e,t,n){const r=e.type;e.render||(e.render=r.render||xn);{const o=gs(e);Gn();try{Hv(e)}finally{Kn(),o()}}}const ww={get(e,t){return bt(e,"get",""),e[t]}};function Cm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ww),slots:e.slots,emit:e.emit,expose:t}}function Qi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zh(Mc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vo)return Vo[n](e)},has(t,n){return n in t||n in Vo}})):e.proxy}function Nl(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function Ew(e){return ce(e)&&"__vccOpts"in e}const X=(e,t)=>pv(e,t,ns);function cr(e,t,n){try{mi(-1);const r=arguments.length;return r===2?Ae(t)&&!ae(t)?ro(t)?qe(e,null,[t]):qe(e,t):qe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ro(n)&&(n=[n]),qe(e,t,n))}finally{mi(1)}}const Sw="3.5.34";let Ml;const Xu=typeof window<"u"&&window.trustedTypes;if(Xu)try{Ml=Xu.createPolicy("vue",{createHTML:e=>e})}catch{}const km=Ml?e=>Ml.createHTML(e):e=>e,Cw="http://www.w3.org/2000/svg",kw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,Ju=Un&&Un.createElement("template"),xw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Un.createElementNS(Cw,e):t==="mathml"?Un.createElementNS(kw,e):n?Un.createElement(e,{is:n}):Un.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ju.innerHTML=km(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Ju.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tw=Symbol("_vtc");function Aw(e,t,n){const r=e[Tw];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const bi=Symbol("_vod"),xm=Symbol("_vsh"),Ow={name:"show",beforeMount(e,{value:t},{transition:n}){e[bi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wo(e,!0),r.enter(e)):r.leave(e,()=>{wo(e,!1)}):wo(e,t))},beforeUnmount(e,{value:t}){wo(e,t)}};function wo(e,t){e.style.display=t?e[bi]:"none",e[xm]=!t}const Iw=Symbol(""),Lw=/(?:^|;)\s*display\s*:/;function Pw(e,t,n){const r=e.style,o=je(n);let s=!1;if(n&&!o){if(t)if(je(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Lo(r,a,"")}else for(const i in t)n[i]==null&&Lo(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?Nw(e,i,!je(t)&&t?t[i]:void 0,a)||Lo(r,i,a):Lo(r,i,"")}}else if(o){if(t!==n){const i=r[Iw];i&&(n+=";"+i),r.cssText=n,s=Lw.test(n)}}else t&&e.removeAttribute("style");bi in e&&(e[bi]=s?r.display:"",e[xm]&&(r.display="none"))}const Qu=/\s*!important$/;function Lo(e,t,n){if(ae(n))n.forEach(r=>Lo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Rw(e,t);Qu.test(n)?e.setProperty(Pr(r),n.replace(Qu,""),"important"):e[r]=n}}const Zu=["Webkit","Moz","ms"],La={};function Rw(e,t){const n=La[t];if(n)return n;let r=Ot(t);if(r!=="filter"&&r in e)return La[t]=r;r=Ui(r);for(let o=0;o<Zu.length;o++){const s=Zu[o]+r;if(s in e)return La[t]=s}return t}function Nw(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&je(r)&&n===r}const ef="http://www.w3.org/1999/xlink";function tf(e,t,n,r,o,s=D_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ef,t.slice(6,t.length)):e.setAttributeNS(ef,t,n):n==null||s&&!bh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Vt(n)?String(n):n)}function nf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?km(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=bh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Mw(e,t,n,r){e.addEventListener(t,n,r)}function Dw(e,t,n,r){e.removeEventListener(t,n,r)}const rf=Symbol("_vei");function Fw(e,t,n,r,o=null){const s=e[rf]||(e[rf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=$w(t);if(r){const c=s[t]=zw(r,o);Mw(e,a,c,l)}else i&&(Dw(e,a,i,l),s[t]=void 0)}}const of=/(?:Once|Passive|Capture)$/;function $w(e){let t;if(of.test(e)){t={};let r;for(;r=e.match(of);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Pr(e.slice(2)),t]}let Pa=0;const Uw=Promise.resolve(),jw=()=>Pa||(Uw.then(()=>Pa=0),Pa=Date.now());function zw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;In(Bw(r,n.value),t,5,[r])};return n.value=e,n.attached=jw(),n}function Bw(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const sf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hw=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Aw(e,r,i):t==="style"?Pw(e,n,r):Mi(t)?Di(t)||Fw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vw(e,t,r,i))?(nf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tf(e,t,r,i,s,t!=="value")):e._isVueCE&&(Ww(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!je(r)))?nf(e,Ot(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),tf(e,t,r,i))};function Vw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&sf(t)&&ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return sf(t)&&je(n)?!1:t in e}function Ww(e,t){const n=e._def.props;if(!n)return!1;const r=Ot(t);return Array.isArray(n)?n.some(o=>Ot(o)===r):Object.keys(n).some(o=>Ot(o)===r)}const Gw=["ctrl","shift","alt","meta"],Kw={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Gw.some(n=>e[`${n}Key`]&&!t.includes(n))},af=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=Kw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},qw=pt({patchProp:Hw},xw);let lf;function Yw(){return lf||(lf=cw(qw))}const Xw=((...e)=>{const t=Yw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Qw(r);if(!o)return;const s=t._component;!ce(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Jw(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function Jw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qw(e){return je(e)?document.querySelector(e):e}const Ra=new WeakMap,Zw=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??zi();if(o==null&&!Fc())throw new Error("injectLocal must be called in setup");return o&&Ra.has(o)&&n in Ra.get(o)?Ra.get(o)[n]:Ht(...e)},eE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tE=Object.prototype.toString,nE=e=>tE.call(e)==="[object Object]",rE=()=>{};function Tm(...e){if(e.length!==1)return fv(...e);const t=e[0];return typeof t=="function"?ai(av(()=>({get:t,set:rE}))):de(t)}function oE(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Am=e=>e();function sE(e=Am,t={}){const{initialState:n="active"}=t,r=Tm(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:rv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function cf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Na(e){return Array.isArray(e)?e:[e]}function iE(e){return Rn()}function aE(e,t,n={}){const{eventFilter:r=Am,...o}=n;return Ge(e,oE(r,t),o)}function lE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=sE(r,{initialState:o});return{stop:aE(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Om(e,t=!0,n){iE()?pn(e,n):t?e():fr(e)}function cE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=ze(e),s=Tn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=An(n);return s.value=s.value===l?An(r):l,s.value}}return o?i:[s,i]}function uE(e,t,n){return Ge(e,t,{...n,immediate:!0})}const vr=eE?window:void 0;function Im(e){var t;const n=An(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Dl(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=X(()=>{const r=Na(An(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return uE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Im(s)))!==null&&r!==void 0?r:[vr].filter(s=>s!=null),Na(An(n.value?e[1]:e[0])),Na(Ve(n.value?e[2]:e[1])),An(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=nE(i)?{...i}:i,u=r.flatMap(f=>o.flatMap(d=>s.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}function fE(){const e=Tn(!1),t=Rn();return t&&pn(()=>{e.value=!0},t),e}function dE(e){const t=fE();return X(()=>(t.value,!!e()))}const pE=Symbol("vueuse-ssr-width");function hE(){const e=Fc()?Zw(pE,null):null;return typeof e=="number"?e:void 0}function mE(e,t={}){const{window:n=vr,ssrWidth:r=hE()}=t,o=dE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Tn(typeof r=="number"),i=Tn(),a=Tn(!1),l=c=>{a.value=c.matches};return wv(()=>{if(s.value){s.value=!o.value,a.value=An(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=cf(f[1])),d&&p&&(p=r<=cf(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(An(e)),a.value=i.value.matches)}),Dl(i,"change",l,{passive:!0}),X(()=>a.value)}const As=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Os="__vueuse_ssr_handlers__",gE=yE();function yE(){return Os in As||(As[Os]=As[Os]||{}),As[Os]}function Lm(e,t){return gE[e]||t}function bE(e){return mE("(prefers-color-scheme: dark)",e)}function _E(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const vE={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},uf="vueuse-storage";function wE(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=vr,eventFilter:d,onError:p=H=>{console.error(H)},initOnMounted:g}=r,h=(u?Tn:de)(typeof t=="function"?t():t),_=X(()=>An(e));if(!n)try{n=Lm("getDefaultStorage",()=>vr?.localStorage)()}catch(H){p(H)}if(!n)return h;const y=An(t),b=_E(y),E=(o=r.serializer)!==null&&o!==void 0?o:vE[b],{pause:m,resume:O}=lE(h,H=>N(H),{flush:s,deep:i,eventFilter:d});Ge(_,()=>W(),{flush:s});let C=!1;const x=H=>{g&&!C||W(H)},v=H=>{g&&!C||Z(H)};f&&a&&(n instanceof Storage?Dl(f,"storage",x,{passive:!0}):Dl(f,uf,v)),g?Om(()=>{C=!0,W()}):W();function T(H,K){if(f){const V={key:_.value,oldValue:H,newValue:K,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",V):new CustomEvent(uf,{detail:V}))}}function N(H){try{const K=n.getItem(_.value);if(H==null)T(K,null),n.removeItem(_.value);else{const V=E.write(H);K!==V&&(n.setItem(_.value,V),T(K,V))}}catch(K){p(K)}}function M(H){const K=H?H.newValue:n.getItem(_.value);if(K==null)return l&&y!=null&&n.setItem(_.value,E.write(y)),y;if(!H&&c){const V=E.read(K);return typeof c=="function"?c(V,y):b==="object"&&!Array.isArray(V)?{...y,...V}:V}else return typeof K!="string"?K:E.read(K)}function W(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){h.value=y;return}if(!(H&&H.key!==_.value)){m();try{const K=E.write(h.value);(H===void 0||H?.newValue!==K)&&(h.value=M(H))}catch(K){p(K)}finally{H?fr(O):O()}}}}function Z(H){W(H.detail)}return h}const EE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function SE(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=vr,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=bE({window:o}),p=X(()=>d.value?"dark":"light"),g=l||(i==null?Tm(r):wE(i,r,s,{window:o,listenToStorageChanges:a})),h=X(()=>g.value==="auto"?p.value:g.value),_=Lm("updateHTMLAttrs",(m,O,C)=>{const x=typeof m=="string"?o?.document.querySelector(m):Im(m);if(!x)return;const v=new Set,T=new Set;let N=null;if(O==="class"){const W=C.split(/\s/g);Object.values(f).flatMap(Z=>(Z||"").split(/\s/g)).filter(Boolean).forEach(Z=>{W.includes(Z)?v.add(Z):T.add(Z)})}else N={key:O,value:C};if(v.size===0&&T.size===0&&N===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(EE)),o.document.head.appendChild(M));for(const W of v)x.classList.add(W);for(const W of T)x.classList.remove(W);N&&x.setAttribute(N.key,N.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(m){var O;_(t,n,(O=f[m])!==null&&O!==void 0?O:m)}function b(m){e.onChanged?e.onChanged(m,y):y(m)}Ge(h,b,{flush:"post",immediate:!0}),Om(()=>b(h.value));const E=X({get(){return c?g.value:h.value},set(m){g.value=m}});return Object.assign(E,{store:g,system:p,state:h})}function Pm(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=SE({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=X(()=>r.system.value);return X({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const CE="local://",kE="main",xE="container",TE="item",AE="/__global_config__",OE="/node_modules/.prebuild_module",IE="_metadata.json",LE="/_module_load_prefix_",PE="/_node_modules_load_prefix_",RE="/_comp_preview_prefix_local_",NE="/__proxy__",ME="__remote__",DE="__local__",FE="https://api.comphub.cn:5696",$E="http://localhost:7002",UE="http://localhost:5000",jE="http://localhost:5001",zE="Comp Hub",BE="csrfToken",HE="authorization",VE="x-refresh-token",WE="x-csrf-token",GE="accept-language",KE="isGuestLogin",qE="comp-hub-db",YE="file-compiled",XE="https://oss.comphub.cn",JE="oss:sts:token",QE="oss:sts:expire",ZE="comp.json",eS="README.md",tS="/.comp_hub_temp",nS="main.js",rS="index.vue",Rm="list_local",Nm="list_remote",oS={COMP_LIST_TYPE_LOCAL:Rm,COMP_LIST_TYPE_REMOTE:Nm},Mm="config",Dm="error",Fm="dir",$m="preview",Um="extra",jm="deps",zm="upgradeLog",Bm="readme",sS={TAB_TYPE_CONFIG:Mm,TAB_TYPE_ERROR:Dm,TAB_TYPE_DIR:Fm,TAB_TYPE_PREVIEW:$m,TAB_TYPE_EXTRA:Um,TAB_TYPE_DEPS:jm,TAB_TYPE_UPGRADE_LOG:zm,TAB_TYPE_README:Bm},Hm="mini",Vm="full",iS={COMP_EDIT_TAB_TYPE_MINI:Hm,COMP_EDIT_TAB_TYPE_FULL:Vm},Wm="EDIT",Gm="ADD",aS={DIALOG_TYPE_EDIT:Wm,DIALOG_TYPE_ADD:Gm},Km="ONLY_INSTALL",qm="MAJOR_VERSION",Ym="MINOR_VERSION",Xm="EXACT_VERSION",lS={COMP_MATCH_TYPE_ONLY_INSTALL:Km,COMP_MATCH_TYPE_MAJOR_VERSION:qm,COMP_MATCH_TYPE_MINOR_VERSION:Ym,COMP_MATCH_TYPE_EXACT_VERSION:Xm},Jm="online",Qm="offline",cS={COMP_UPDATE_TYPE_ONLINE:Jm,COMP_UPDATE_TYPE_OFFLINE:Qm},uS=0,fS=1,dS=-1,Zm="checkPreviewListForm",eg="checkExtraInfoForm",tg="checkCompConfig",ng="afterCompDel",rg="openCompTerminal",og="afterCompCancelCollect",sg="afterCompRenderRetry",ig="getCompError",ag="checkUpgradeLogForm",pS={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:Zm,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:eg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:tg,COMP_METHOD_KEY_AFTER_COMP_DEL:ng,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:rg,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:og,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:sg,COMP_METHOD_KEY_GET_COMP_ERROR:ig,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ag},hS={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},mS="http://127.0.0.1",gS="http://localhost:8095",yS="http://localhost:8096",bS="http://localhost:5198",_S="/item",vS="/container",wS="CREATE",ES="JOIN",SS="EXIT",CS="teamAddMyComp",kS="teamCompList",xS="teamCompGroupList",TS="teamMyCompList",AS="teamMyCompUpdate",OS="vue/dist/vue.esm-bundler.js",IS="__v__",LS="compListStore",PS="compEditStore",RS="callbacks",NS="comphubConfig",MS="local",DS="prod",FS="local",$S="prod",US="http://localhost:5173/en/",jS="https://docs.comphub.cn/en/",zS=20,BS=20,Ne=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:GE,AUTHORIZATION_HEADER_NAME:HE,CACHE_KEY_STS_EXPIRE_TIME:QE,CACHE_KEY_STS_TOKEN:JE,COMPHUB_CONFIG_KEY:NS,COMP_ACTION_ICON_HEIGHT:BS,COMP_ACTION_ICON_WIDTH:zS,COMP_CONFIG_FILENAME:ZE,COMP_EDIT_TAB_TYPES:iS,COMP_EDIT_TAB_TYPE_FULL:Vm,COMP_EDIT_TAB_TYPE_MINI:Hm,COMP_ENTRY_FILE:nS,COMP_HUB_DEV_DOCS_URL:US,COMP_HUB_PROD_DOCS_URL:jS,COMP_LIST_TYPES:oS,COMP_LIST_TYPE_LOCAL:Rm,COMP_LIST_TYPE_REMOTE:Nm,COMP_MATCH_TYPES:lS,COMP_MATCH_TYPE_EXACT_VERSION:Xm,COMP_MATCH_TYPE_MAJOR_VERSION:qm,COMP_MATCH_TYPE_MINOR_VERSION:Ym,COMP_MATCH_TYPE_ONLY_INSTALL:Km,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:og,COMP_METHOD_KEY_AFTER_COMP_DEL:ng,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:sg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:tg,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:eg,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:Zm,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ag,COMP_METHOD_KEY_GET_COMP_ERROR:ig,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:rg,COMP_PREVIEW_PREFIX_LOCAL:RE,COMP_README_FILENAME:eS,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:tS,COMP_UPDATE_TYPES:cS,COMP_UPDATE_TYPE_OFFLINE:Qm,COMP_UPDATE_TYPE_ONLINE:Jm,COMP_USE_ENTRY_FILE:rS,CSRF_KEY:BE,CSRF_TOKEN_HEADER_NAME:WE,DIALOG_TYPES:aS,DIALOG_TYPE_ADD:Gm,DIALOG_TYPE_EDIT:Wm,FILE_MANAGER_DIRNAME:CE,GLOBAL_CONFIG_PATH:AE,IFRAME_CONTAINER_WEBSITE_PATH:vS,IFRAME_HOST:mS,IFRAME_ITEM_WEBSITE_PATH:_S,IFRAME_ROUTES:hS,INDEX_DB_NAME:qE,INDEX_DB_TABLE_NAME:YE,IS_GUEST_LOGIN:KE,LOCAL_CHILD_IFRAME_URL:gS,LOCAL_LEAF_IFRAME_URL:yS,LOCAL_MIDWAY_ENV_LOCAL:MS,LOCAL_MIDWAY_ENV_PROD:DS,LOCAL_SERVICE_PREFIX:DE,LOCAL_SERVICE_URL_DEV:UE,LOCAL_SERVICE_URL_DEV_SUB:jE,LOCAL_TOP_IFRAME_URL:bS,META_FILE_NAME:IE,MODULE_LOAD_PREFIX:LE,NODE_MODULES_LOAD_PREFIX:PE,OSS_CUSTOM_DOMAIN:XE,PREBUILD_MODULE_DIR:OE,PROVIDE_KEYS:pS,PROVIDE_KEY_CALLBACKS:RS,PROVIDE_KEY_COMP_EDIT_STORE:PS,PROVIDE_KEY_COMP_LIST_STORE:LS,PROXY_PATH_PREFIX:NE,REFRESH_TOKEN_HEADER_NAME:VE,REMOTE_MIDWAY_ENV_LOCAL:FS,REMOTE_MIDWAY_ENV_PROD:$S,REMOTE_SERVICE_PREFIX:ME,REMOTE_SERVICE_URL_DEV:$E,REMOTE_SERVICE_URL_PROD:FE,ROUTE_STATE_KEY_VERSION:IS,SCOPE_ID_TEAM_ADD_MY_COMP:CS,SCOPE_ID_TEAM_COMP_GROUP_LIST:xS,SCOPE_ID_TEAM_COMP_LIST:kS,SCOPE_ID_TEAM_MY_COMP_LIST:TS,SCOPE_ID_TEAM_MY_COMP_UPDATE:AS,SITE_TITLE:zE,TAB_TYPES:sS,TAB_TYPE_CONFIG:Mm,TAB_TYPE_DEPS:jm,TAB_TYPE_DIR:Fm,TAB_TYPE_ERROR:Dm,TAB_TYPE_EXTRA:Um,TAB_TYPE_PREVIEW:$m,TAB_TYPE_README:Bm,TAB_TYPE_UPGRADE_LOG:zm,TEAM_OPERATE_TYPE_CREATE:wS,TEAM_OPERATE_TYPE_EXIT:SS,TEAM_OPERATE_TYPE_JOIN:ES,VERSION_COMPARE_GREATER:fS,VERSION_COMPARE_LESS:dS,VERSION_COMPARE_SAME:uS,VUE_ESM_BUNDLER:OS,WEBSITE_PATH_CONTAINER:xE,WEBSITE_PATH_ITEM:TE,WEBSITE_PATH_MAIN:kE},Symbol.toStringTag,{value:"Module"})),HS=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],VS=[".css"],WS=[{name:"__id__",label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],lg=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:WS,DEFAULT_TAG_GROUP:HS,PREBUILD_MODULE_SKIP_EXT:VS},Symbol.toStringTag,{value:"Module"})),GS="comp-hub-locale",KS=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:GS},Symbol.toStringTag,{value:"Module"}));function qS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ma={exports:{}},ff;function YS(){return ff||(ff=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function i(l,c){if(!s[l]){s[l]={};for(var u=0;u<l.length;u++)s[l][l.charAt(u)]=u}return s[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return r.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return i(r,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(n(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return i(o,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return n(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},g={},h="",_="",y="",b=2,E=3,m=2,O=[],C=0,x=0,v;for(v=0;v<l.length;v+=1)if(h=l.charAt(v),Object.prototype.hasOwnProperty.call(p,h)||(p[h]=E++,g[h]=!0),_=y+h,Object.prototype.hasOwnProperty.call(p,_))y=_;else{if(Object.prototype.hasOwnProperty.call(g,y)){if(y.charCodeAt(0)<256){for(f=0;f<m;f++)C=C<<1,x==c-1?(x=0,O.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<m;f++)C=C<<1|d,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}b--,b==0&&(b=Math.pow(2,m),m++),delete g[y]}else for(d=p[y],f=0;f<m;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1;b--,b==0&&(b=Math.pow(2,m),m++),p[_]=E++,y=String(h)}if(y!==""){if(Object.prototype.hasOwnProperty.call(g,y)){if(y.charCodeAt(0)<256){for(f=0;f<m;f++)C=C<<1,x==c-1?(x=0,O.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<m;f++)C=C<<1|d,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}b--,b==0&&(b=Math.pow(2,m),m++),delete g[y]}else for(d=p[y],f=0;f<m;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1;b--,b==0&&(b=Math.pow(2,m),m++)}for(d=2,f=0;f<m;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1;for(;;)if(C=C<<1,x==c-1){O.push(u(C));break}else x++;return O.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,g=3,h="",_=[],y,b,E,m,O,C,x,v={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,O=Math.pow(2,2),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;switch(E){case 0:for(E=0,O=Math.pow(2,8),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;x=n(E);break;case 1:for(E=0,O=Math.pow(2,16),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;x=n(E);break;case 2:return""}for(f[3]=x,b=x,_.push(x);;){if(v.index>l)return"";for(E=0,O=Math.pow(2,g),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;switch(x=E){case 0:for(E=0,O=Math.pow(2,8),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,O=Math.pow(2,16),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return _.join("")}if(d==0&&(d=Math.pow(2,g),g++),f[x])h=f[x];else if(x===p)h=b+b.charAt(0);else return null;_.push(h),f[p++]=b+h.charAt(0),d--,b=h,d==0&&(d=Math.pow(2,g),g++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Ma)),Ma.exports}var XS=YS();const df=qS(XS),pf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],go=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!pf.includes(l)).length)throw new Error(`iframe参数键名只能包含${pf.join(", ")}`);return df.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=df.decompressFromEncodedURIComponent(i);return JSON.parse(a)}function r(){const a=new URLSearchParams(window.location.search).get("params")??"";return n(a)}function o(i){const a={...e,...i};return t(a)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},Zi=e=>{const{params:{topOrigin:t}}=go();return t},Le={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function ea(){const e=Rn();return{sendMessageToParent:(s,i,a)=>{window.parent.postMessage({type:s,payload:JSON.stringify(i)},a)},sendMessageToTop:(s,i,a,l)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:s,payload:JSON.stringify(i),instanceUid:l},a)},sendMessageToTargetIframe:(s,i,a,l)=>{s.postMessage({type:i,payload:JSON.stringify(a)},l)},messageListener:()=>{const s=new Map,i=a=>{const{type:l,payload:c,instanceUid:u}=a.data??{},f=a.source===window.parent||a.source===window.top,d=u?.split(",").some(g=>g===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),ho(()=>{window.removeEventListener("message",i),s.clear()}),{addListener:(a,l)=>{s.set(a,c=>{l(c)})},removeListener:a=>{a?s.delete(a):(s.clear(),window.removeEventListener("message",i))}}},instanceUid:X(()=>e?.uid?.toString()??"")}}function JS(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _i=typeof window<"u",dr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),QS=(e,t,n)=>ZS({l:e,k:t,s:n}),ZS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),rt=e=>typeof e=="number"&&isFinite(e),cg=e=>Vc(e)==="[object Date]",oo=e=>Vc(e)==="[object RegExp]",ta=e=>ye(e)&&Object.keys(e).length===0,ot=Object.assign,eC=Object.create,Me=(e=null)=>eC(e);let hf;const wr=()=>hf||(hf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Me());function mf(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function gf(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function tC(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,s)=>`${o}="${gf(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,s)=>`${o}='${gf(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const nC=Object.prototype.hasOwnProperty;function Qt(e,t){return nC.call(e,t)}const Qe=Array.isArray,Be=e=>typeof e=="function",Q=e=>typeof e=="string",ve=e=>typeof e=="boolean",we=e=>e!==null&&typeof e=="object",rC=e=>we(e)&&Be(e.then)&&Be(e.catch),ug=Object.prototype.toString,Vc=e=>ug.call(e),ye=e=>Vc(e)==="[object Object]",oC=e=>e==null?"":Qe(e)||ye(e)&&e.toString===ug?JSON.stringify(e,null,2):String(e);function Wc(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Is=e=>!we(e)||Qe(e);function qs(e,t){if(Is(e)||Is(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(we(r[s])&&!we(o[s])&&(o[s]=Array.isArray(r[s])?[]:Me()),Is(o[s])||Is(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function sC(e,t,n){return{line:e,column:t,offset:n}}function Fl(e,t,n){return{start:e,end:t}}const xe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},iC=17;function na(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function aC(e){throw e}const yn=" ",lC="\r",mt=`
|
|
2
2
|
`,cC="\u2028",uC="\u2029";function fC(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===lC&&t[x+1]===mt,a=x=>t[x]===mt,l=x=>t[x]===uC,c=x=>t[x]===cC,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,g=()=>s,h=x=>i(x)||l(x)||c(x)?mt:t[x],_=()=>h(n),y=()=>h(n+s);function b(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function m(){n=0,r=1,o=1,s=0}function O(x=0){s=x}function C(){const x=n+s;for(;x!==n;)b();s=0}return{index:f,line:d,column:p,peekOffset:g,charAt:h,currentChar:_,currentPeek:y,next:b,peek:E,reset:m,resetPeek:O,skipToPeek:C}}const Mn=void 0,dC=".",yf="'",pC="tokenizer";function hC(e,t={}){const n=t.location!==!1,r=fC(e),o=()=>r.index(),s=()=>sC(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(w,S,I,...R){const Y=c();if(S.column+=I,S.offset+=I,u){const B=n?Fl(Y.startLoc,S):null,L=na(w,B,{domain:pC,args:R});u(L)}}function d(w,S,I){w.endLoc=s(),w.currentType=S;const R={type:S};return n&&(R.loc=Fl(w.startLoc,w.endLoc)),I!=null&&(R.value=I),R}const p=w=>d(w,13);function g(w,S){return w.currentChar()===S?(w.next(),S):(f(xe.EXPECTED_TOKEN,s(),0,S),"")}function h(w){let S="";for(;w.currentPeek()===yn||w.currentPeek()===mt;)S+=w.currentPeek(),w.peek();return S}function _(w){const S=h(w);return w.skipToPeek(),S}function y(w){if(w===Mn)return!1;const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function b(w){if(w===Mn)return!1;const S=w.charCodeAt(0);return S>=48&&S<=57}function E(w,S){const{currentType:I}=S;if(I!==2)return!1;h(w);const R=y(w.currentPeek());return w.resetPeek(),R}function m(w,S){const{currentType:I}=S;if(I!==2)return!1;h(w);const R=w.currentPeek()==="-"?w.peek():w.currentPeek(),Y=b(R);return w.resetPeek(),Y}function O(w,S){const{currentType:I}=S;if(I!==2)return!1;h(w);const R=w.currentPeek()===yf;return w.resetPeek(),R}function C(w,S){const{currentType:I}=S;if(I!==7)return!1;h(w);const R=w.currentPeek()===".";return w.resetPeek(),R}function x(w,S){const{currentType:I}=S;if(I!==8)return!1;h(w);const R=y(w.currentPeek());return w.resetPeek(),R}function v(w,S){const{currentType:I}=S;if(!(I===7||I===11))return!1;h(w);const R=w.currentPeek()===":";return w.resetPeek(),R}function T(w,S){const{currentType:I}=S;if(I!==9)return!1;const R=()=>{const B=w.currentPeek();return B==="{"?y(w.peek()):B==="@"||B==="|"||B===":"||B==="."||B===yn||!B?!1:B===mt?(w.peek(),R()):M(w,!1)},Y=R();return w.resetPeek(),Y}function N(w){h(w);const S=w.currentPeek()==="|";return w.resetPeek(),S}function M(w,S=!0){const I=(Y=!1,B="")=>{const L=w.currentPeek();return L==="{"||L==="@"||!L?Y:L==="|"?!(B===yn||B===mt):L===yn?(w.peek(),I(!0,yn)):L===mt?(w.peek(),I(!0,mt)):!0},R=I();return S&&w.resetPeek(),R}function W(w,S){const I=w.currentChar();return I===Mn?Mn:S(I)?(w.next(),I):null}function Z(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function H(w){return W(w,Z)}function K(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function V(w){return W(w,K)}function ee(w){const S=w.charCodeAt(0);return S>=48&&S<=57}function ie(w){return W(w,ee)}function Xe(w){const S=w.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function St(w){return W(w,Xe)}function Oe(w){let S="",I="";for(;S=ie(w);)I+=S;return I}function Ue(w){let S="";for(;;){const I=w.currentChar();if(I==="\\"){const R=w.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=I+R,w.next(),w.next()):(w.resetPeek(),S+=I,w.next())}else{if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===yn||I===mt)if(M(w))S+=I,w.next();else{if(N(w))break;S+=I,w.next()}else S+=I,w.next()}}return S}function Lt(w){_(w);let S="",I="";for(;S=V(w);)I+=S;const R=w.currentChar();if(R&&R!=="}"&&R!==Mn&&R!==yn&&R!==mt&&R!==" "){const Y=ne(w);return f(xe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I+Y),I+Y}return w.currentChar()===Mn&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),I}function Ct(w){_(w);let S="";return w.currentChar()==="-"?(w.next(),S+=`-${Oe(w)}`):S+=Oe(w),w.currentChar()===Mn&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),S}function $t(w){return w!==yf&&w!==mt}function ht(w){_(w),g(w,"'");let S="",I="";for(;S=W(w,$t);)S==="\\"?I+=j(w):I+=S;const R=w.currentChar();return R===mt||R===Mn?(f(xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===mt&&(w.next(),g(w,"'")),I):(g(w,"'"),I)}function j(w){const S=w.currentChar();switch(S){case"\\":case"'":return w.next(),`\\${S}`;case"u":return J(w,S,4);case"U":return J(w,S,6);default:return f(xe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function J(w,S,I){g(w,S);let R="";for(let Y=0;Y<I;Y++){const B=St(w);if(!B){f(xe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${w.currentChar()}`);break}R+=B}return`\\${S}${R}`}function q(w){return w!=="{"&&w!=="}"&&w!==yn&&w!==mt}function ne(w){_(w);let S="",I="";for(;S=W(w,q);)I+=S;return I}function pe(w){let S="",I="";for(;S=H(w);)I+=S;return I}function k(w){const S=I=>{const R=w.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===yn?I:(I+=R,w.next(),S(I))};return S("")}function A(w){_(w);const S=g(w,"|");return _(w),S}function P(w,S){let I=null;switch(w.currentChar()){case"{":return S.braceNest>=1&&f(xe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),w.next(),I=d(S,2,"{"),_(w),S.braceNest++,I;case"}":return S.braceNest>0&&S.currentType===2&&f(xe.EMPTY_PLACEHOLDER,s(),0),w.next(),I=d(S,3,"}"),S.braceNest--,S.braceNest>0&&_(w),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),I;case"@":return S.braceNest>0&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),I=$(w,S)||p(S),S.braceNest=0,I;default:{let Y=!0,B=!0,L=!0;if(N(w))return S.braceNest>0&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(S,1,A(w)),S.braceNest=0,S.inLinked=!1,I;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(w,S);if(Y=E(w,S))return I=d(S,4,Lt(w)),_(w),I;if(B=m(w,S))return I=d(S,5,Ct(w)),_(w),I;if(L=O(w,S))return I=d(S,6,ht(w)),_(w),I;if(!Y&&!B&&!L)return I=d(S,12,ne(w)),f(xe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),_(w),I;break}}return I}function $(w,S){const{currentType:I}=S;let R=null;const Y=w.currentChar();switch((I===7||I===8||I===11||I===9)&&(Y===mt||Y===yn)&&f(xe.INVALID_LINKED_FORMAT,s(),0),Y){case"@":return w.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return _(w),w.next(),d(S,8,".");case":":return _(w),w.next(),d(S,9,":");default:return N(w)?(R=d(S,1,A(w)),S.braceNest=0,S.inLinked=!1,R):C(w,S)||v(w,S)?(_(w),$(w,S)):x(w,S)?(_(w),d(S,11,pe(w))):T(w,S)?(_(w),Y==="{"?P(w,S)||R:d(S,10,k(w))):(I===7&&f(xe.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(w,S))}}function z(w,S){let I={type:13};if(S.braceNest>0)return P(w,S)||p(S);if(S.inLinked)return $(w,S)||p(S);switch(w.currentChar()){case"{":return P(w,S)||p(S);case"}":return f(xe.UNBALANCED_CLOSING_BRACE,s(),0),w.next(),d(S,3,"}");case"@":return $(w,S)||p(S);default:{if(N(w))return I=d(S,1,A(w)),S.braceNest=0,S.inLinked=!1,I;if(M(w))return d(S,0,Ue(w));break}}return I}function U(){const{currentType:w,offset:S,startLoc:I,endLoc:R}=l;return l.lastType=w,l.lastOffset=S,l.lastStartLoc=I,l.lastEndLoc=R,l.offset=o(),l.startLoc=s(),r.currentChar()===Mn?d(l,13):z(r,l)}return{nextToken:U,currentOffset:o,currentPosition:s,context:c}}const mC="parser",gC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,yC=/\\([\\@{}|])/g;function bC(e,t){return t}function _C(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function vC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,b,E,m,...O){const C=y.currentPosition();if(C.offset+=m,C.column+=m,n){const x=t?Fl(E,C):null,v=na(b,x,{domain:mC,args:O});n(v)}}function o(y,b,E){const m={type:y};return t&&(m.start=b,m.end=b,m.loc={start:E,end:E}),m}function s(y,b,E,m){t&&(y.end=b,y.loc&&(y.loc.end=E))}function i(y,b){const E=y.context(),m=o(3,E.offset,E.startLoc);return m.value=b.replace(yC,bC),s(m,y.currentOffset(),y.currentPosition()),m}function a(y,b){const E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(5,m,O);return C.index=parseInt(b,10),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function l(y,b){const E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(4,m,O);return C.key=b,y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function c(y,b){const E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(9,m,O);return C.value=b.replace(gC,_C),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function u(y){const b=y.nextToken(),E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(8,m,O);return b.type!==11?(r(y,xe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),C.value="",s(C,m,O),{nextConsumeToken:b,node:C}):(b.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,bn(b)),C.value=b.value||"",s(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,b){const E=y.context(),m=o(7,E.offset,E.startLoc);return m.value=b,s(m,y.currentOffset(),y.currentPosition()),m}function d(y){const b=y.context(),E=o(6,b.offset,b.startLoc);let m=y.nextToken();if(m.type===8){const O=u(y);E.modifier=O.node,m=O.nextConsumeToken||y.nextToken()}switch(m.type!==9&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),m=y.nextToken(),m.type===2&&(m=y.nextToken()),m.type){case 10:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=f(y,m.value||"");break;case 4:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=l(y,m.value||"");break;case 5:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=a(y,m.value||"");break;case 6:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=c(y,m.value||"");break;default:{r(y,xe.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const O=y.context(),C=o(7,O.offset,O.startLoc);return C.value="",s(C,O.offset,O.startLoc),E.key=C,s(E,O.offset,O.startLoc),{nextConsumeToken:m,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const b=y.context(),E=b.currentType===1?y.currentOffset():b.offset,m=b.currentType===1?b.endLoc:b.startLoc,O=o(2,E,m);O.items=[];let C=null;do{const T=C||y.nextToken();switch(C=null,T.type){case 0:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(i(y,T.value||""));break;case 5:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(a(y,T.value||""));break;case 4:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(l(y,T.value||""));break;case 6:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(c(y,T.value||""));break;case 7:{const N=d(y);O.items.push(N.node),C=N.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const x=b.currentType===1?b.lastOffset:y.currentOffset(),v=b.currentType===1?b.lastEndLoc:y.currentPosition();return s(O,x,v),O}function g(y,b,E,m){const O=y.context();let C=m.items.length===0;const x=o(1,b,E);x.cases=[],x.cases.push(m);do{const v=p(y);C||(C=v.items.length===0),x.cases.push(v)}while(O.currentType!==13);return C&&r(y,xe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function h(y){const b=y.context(),{offset:E,startLoc:m}=b,O=p(y);return b.currentType===13?O:g(y,E,m,O)}function _(y){const b=hC(y,ot({},e)),E=b.context(),m=o(0,E.offset,E.startLoc);return t&&m.loc&&(m.loc.source=y),m.body=h(b),e.onCacheKey&&(m.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(b,xe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(m,b.currentOffset(),b.currentPosition()),m}return{parse:_}}function bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function wC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function bf(e,t){for(let n=0;n<e.length;n++)Gc(e[n],t)}function Gc(e,t){switch(e.type){case 1:bf(e.cases,t),t.helper("plural");break;case 2:bf(e.items,t);break;case 6:{Gc(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function EC(e,t={}){const n=wC(e);n.helper("normalize"),e.body&&Gc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function SC(e){const t=e.body;return t.type===2?_f(t):t.cases.forEach(n=>_f(n)),e}function _f(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Wc(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Hr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Hr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Hr(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Hr(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Hr(t.key),t.k=t.key,delete t.key,t.modifier&&(Hr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function CC(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(h,_){i.code+=h}function c(h,_=!0){const y=_?r:"";l(o?y+" ".repeat(h):y)}function u(h=!0){const _=++i.indentLevel;h&&c(_)}function f(h=!0){const _=--i.indentLevel;h&&c(_)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:h=>`_${h}`,needIndent:()=>i.needIndent}}function kC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),so(e,t.key),t.modifier?(e.push(", "),so(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xC(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(so(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function TC(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(so(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function AC(e,t){t.body?so(e,t.body):e.push("null")}function so(e,t){const{helper:n}=e;switch(t.type){case 0:AC(e,t);break;case 1:TC(e,t);break;case 2:xC(e,t);break;case 6:kC(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const OC=(e,t={})=>{const n=Q(t.mode)?t.mode:"normal",r=Q(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
-
`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=CC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Wc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),so(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function IC(e,t={}){const n=ot({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=vC(n).parse(e);return r?(s&&SC(a),o&&Hr(a),{ast:a,code:""}):(EC(a,n),OC(a,n))}function LC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function On(e){return we(e)&&Kc(e)===0&&(Qt(e,"b")||Qt(e,"body"))}const fg=["b","body"];function PC(e){return pr(e,fg)}const dg=["c","cases"];function RC(e){return pr(e,dg,[])}const pg=["s","static"];function NC(e){return pr(e,pg)}const hg=["i","items"];function MC(e){return pr(e,hg,[])}const mg=["t","type"];function Kc(e){return pr(e,mg)}const gg=["v","value"];function Ls(e,t){const n=pr(e,gg);if(n!=null)return n;throw rs(t)}const yg=["m","modifier"];function DC(e){return pr(e,yg)}const bg=["k","key"];function FC(e){const t=pr(e,bg);if(t)return t;throw rs(6)}function pr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Qt(e,o)&&e[o]!=null)return e[o]}return n}const _g=[...fg,...dg,...pg,...hg,...bg,...yg,...gg,...mg];function rs(e){return new Error(`unhandled node type: ${e}`)}function Da(e){return n=>$C(n,e)}function $C(e,t){const n=PC(t);if(n==null)throw rs(0);if(Kc(n)===1){const s=RC(n);return e.plural(s.reduce((i,a)=>[...i,vf(e,a)],[]))}else return vf(e,n)}function vf(e,t){const n=NC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=MC(t).reduce((o,s)=>[...o,$l(e,s)],[]);return e.normalize(r)}}function $l(e,t){const n=Kc(t);switch(n){case 3:return Ls(t,n);case 9:return Ls(t,n);case 4:{const r=t;if(Qt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Qt(r,"i")&&rt(r.i))return e.interpolate(e.list(r.i));if(Qt(r,"index")&&rt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=DC(r),s=FC(r);return e.linked($l(e,s),o?$l(e,o):void 0,e.type)}case 7:return Ls(t,n);case 8:return Ls(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const UC=e=>e;let Ps=Me();function jC(e,t={}){let n=!1;const r=t.onError||aC;return t.onError=o=>{n=!0,r(o)},{...IC(e,t),detectError:n}}function zC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Q(e)){ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||UC)(e),o=Ps[r];if(o)return o;const{ast:s,detectError:i}=jC(e,{...t,location:!1,jit:!0}),a=Da(s);return i?a:Ps[r]=a}else{const n=e.cacheKey;if(n){const r=Ps[n];return r||(Ps[n]=Da(e))}else return Da(e)}}let os=null;function BC(e){os=e}function HC(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const VC=WC("function:translate");function WC(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:iC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},GC=24;function Vn(e){return na(e,null,void 0)}function qc(e,t){return t.locale!=null?wf(t.locale):wf(e.locale)}let Fa;function wf(e){if(Q(e))return e;if(Be(e)){if(e.resolvedOnce&&Fa!=null)return Fa;if(e.constructor.name==="Function"){const t=e();if(rC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Fa=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function KC(e,t,n){return[...new Set([n,...Qe(t)?t:we(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Ul(e,t,n){const r=Q(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Qe(i);)i=Ef(s,i,t);const a=Qe(t)||!ye(t)?t:t.default?t.default:null;i=Q(a)?[a]:a,Qe(i)&&Ef(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Ef(e,t,n){let r=!0;for(let o=0;o<t.length&&ve(r);o++){const s=t[o];Q(s)&&(r=qC(e,t[o],n))}return r}function qC(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=YC(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function YC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Qe(n)||ye(n))&&n[o]&&(r=n[o])}return r}const hr=[];hr[0]={w:[0],i:[3,0],"[":[4],o:[7]};hr[1]={w:[1],".":[2],"[":[4],o:[7]};hr[2]={w:[2],i:[3,0],0:[3,0]};hr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};hr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};hr[5]={"'":[4,0],o:8,l:[5,0]};hr[6]={'"':[4,0],o:8,l:[6,0]};const XC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JC(e){return XC.test(e)}function QC(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function ZC(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function e0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:JC(t)?QC(t):"*"+t}function t0(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=e0(i),i===!1))return!1;d[1]()}};function p(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=ZC(s),f=hr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Sf=new Map;function n0(e,t){return we(e)?e[t]:null}function r0(e,t){if(!we(e))return null;let n=Sf.get(t);if(n||(n=t0(t),n&&Sf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(_g.includes(i)&&On(o)||!we(o)||!Qt(o,i))return null;const a=o[i];if(a===void 0||Be(o))return null;o=a,s++}return o}const o0="11.4.2",ra=-1,ss="en-US",vi="",Cf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function s0(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Cf(e):t==="vnode"&&we(e)&&"__v_isVNode"in e?Cf(e.children):e}}let vg;function i0(e){vg=e}let wg;function a0(e){wg=e}let Eg;function l0(e){Eg=e}let Sg=null;const c0=e=>{Sg=e},u0=()=>Sg;let Cg=null;const kf=e=>{Cg=e},f0=()=>Cg;let xf=0;function d0(e={}){const t=Be(e.onWarn)?e.onWarn:JS,n=Q(e.version)?e.version:o0,r=Q(e.locale)||Be(e.locale)?e.locale:ss,o=Be(r)?ss:r,s=Qe(e.fallbackLocale)||ye(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ye(e.messages)?e.messages:$a(o),a=ye(e.datetimeFormats)?e.datetimeFormats:$a(o),l=ye(e.numberFormats)?e.numberFormats:$a(o),c=ot(Me(),e.modifiers,s0()),u=e.pluralRules||Me(),f=Be(e.missing)?e.missing:null,d=ve(e.missingWarn)||oo(e.missingWarn)?e.missingWarn:!0,p=ve(e.fallbackWarn)||oo(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,h=!!e.unresolving,_=Be(e.postTranslation)?e.postTranslation:null,y=ye(e.processor)?e.processor:null,b=ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,m=Be(e.messageCompiler)?e.messageCompiler:vg,O=Be(e.messageResolver)?e.messageResolver:wg||n0,C=Be(e.localeFallbacker)?e.localeFallbacker:Eg||KC,x=we(e.fallbackContext)?e.fallbackContext:void 0,v=e,T=we(v.__datetimeFormatters)?v.__datetimeFormatters:new Map,N=we(v.__numberFormatters)?v.__numberFormatters:new Map,M=we(v.__meta)?v.__meta:{};xf++;const W={version:n,cid:xf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:h,postTranslation:_,processor:y,warnHtmlMessage:b,escapeParameter:E,messageCompiler:m,messageResolver:O,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return W.datetimeFormats=a,W.numberFormats=l,W.__datetimeFormatters=T,W.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&HC(W,n,M),W}const $a=e=>({[e]:Me()});function Yc(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Q(a)?a:t}else return t}function Eo(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function p0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function h0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(p0(e,t[r]))return!0;return!1}function Tf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!Q(t[0])&&!cg(t[0])&&!rt(t[0]))return vi;const[l,c,u,f]=jl(...t),d=ve(u.missingWarn)?u.missingWarn:e.missingWarn;ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=qc(e,u),h=i(e,o,g);if(!Q(l)||l==="")return new Intl.DateTimeFormat(g.replace(/!/g,""),f).format(c);let _={},y,b=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],_=n[y]||{},b=_[l],!ye(b));C++)Yc(e,l,y,d,E);if(!ye(b)||!Q(y))return r?ra:l;let m=`${y}__${l}`;ta(f)||(m=`${m}__${JSON.stringify(f)}`);let O=a.get(m);return O||(O=new Intl.DateTimeFormat(y,ot({},b,f)),a.set(m,O)),p?O.formatToParts(c):O.format(c)}const kg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jl(...e){const[t,n,r,o]=e,s=Me();let i=Me(),a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT)}}else if(cg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(rt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return Q(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{kg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:ye(r)&&(i=r),ye(o)&&(i=o),[s.key||"",a,s,i]}function Af(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Of(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!rt(t[0]))return vi;const[l,c,u,f]=zl(...t),d=ve(u.missingWarn)?u.missingWarn:e.missingWarn;ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=qc(e,u),h=i(e,o,g);if(!Q(l)||l==="")return new Intl.NumberFormat(g.replace(/!/g,""),f).format(c);let _={},y,b=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],_=n[y]||{},b=_[l],!ye(b));C++)Yc(e,l,y,d,E);if(!ye(b)||!Q(y))return r?ra:l;let m=`${y}__${l}`;ta(f)||(m=`${m}__${JSON.stringify(f)}`);let O=a.get(m);return O||(O=new Intl.NumberFormat(y,ot({},b,f)),a.set(m,O)),p?O.formatToParts(c):O.format(c)}const xg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function zl(...e){const[t,n,r,o]=e,s=Me();let i=Me();if(!rt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return Q(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{xg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:ye(r)&&(i=r),ye(o)&&(i=o),[s.key||"",a,s,i]}function If(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const m0=e=>e,g0=e=>"",y0="text",b0=e=>e.length===0?"":Wc(e),_0=oC;function Ua(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function v0(e){const t=rt(e.pluralIndex)?e.pluralIndex:-1;return rt(e.named?.count)?e.named.count:rt(e.named?.n)?e.named.n:t}function w0(e={}){const t=e.locale,n=v0(e),r=Q(t)&&Be(e.pluralRules?.[t])?e.pluralRules[t]:Ua,o=r===Ua?void 0:Ua,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Me();rt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,b){const E=Be(e.messages)?e.messages(y,!!b):we(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):g0)}const f=y=>e.modifiers?e.modifiers[y]:m0,d=Be(e.processor?.normalize)?e.processor.normalize:b0,p=Be(e.processor?.interpolate)?e.processor.interpolate:_0,g=Q(e.processor?.type)?e.processor.type:y0,_={list:a,named:c,plural:s,linked:(y,...b)=>{const[E,m]=b;let O="text",C="";b.length===1?we(E)?(C=E.modifier||C,O=E.type||O):Q(E)&&(C=E||C):b.length===2&&(Q(E)&&(C=E||C),Q(m)&&(O=m||O));const x=u(y,!0)(_),v=x===""||x===void 0?y:x,T=O==="vnode"&&Qe(v)&&C?v[0]:v;return C?f(C)(T,O):T},message:u,type:g,interpolate:p,normalize:d,values:ot(Me(),i,l)};return _}const Lf=()=>"",Jt=e=>Be(e);function Pf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Bl(...t),u=ve(c.missingWarn)?c.missingWarn:e.missingWarn,f=ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,g=Q(c.default)||ve(c.default)?ve(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||g!=null&&(Q(g)||Be(g)),_=qc(e,c);d&&E0(c);let[y,b,E]=p?[l,_,a[_]||Me()]:Tg(e,l,_,i,f,u),m=y,O=l;if(!p&&!(Q(m)||On(m)||Jt(m))&&h&&(m=g,O=m),!p&&(!(Q(m)||On(m)||Jt(m))||!Q(b)))return o?ra:l;let C=!1;const x=()=>{C=!0},v=Jt(m)?m:Ag(e,l,b,m,O,x);if(C)return m;const T=k0(e,b,E,c),N=w0(T),M=S0(e,v,N);let W=r?r(M,l):M;if(d&&Q(W)&&(W=tC(W)),__INTLIFY_PROD_DEVTOOLS__){const Z={timestamp:Date.now(),key:Q(l)?l:Jt(m)?m.key:"",locale:b||(Jt(m)?m.locale:""),format:Q(m)?m:Jt(m)?m.source:"",message:W};Z.meta=ot({},e.__meta,u0()||{}),VC(Z)}return W}function E0(e){Qe(e.list)?e.list=e.list.map(t=>Q(t)?mf(t):t):we(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=mf(e.named[t]))})}function Tg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Me(),d,p=null;const g="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Me(),(p=l(f,t))===null&&(p=f[t]),!(Q(p)||On(p)||Jt(p)));h++)if(!h0(d,u)){const _=Yc(e,t,d,s,g);_!==t&&(p=_)}return[p,d,f]}function Ag(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Jt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,C0(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function S0(e,t,n){return t(n)}function Bl(...e){const[t,n,r]=e,o=Me();if(!Q(t)&&!rt(t)&&!Jt(t)&&!On(t))throw Vn(Hn.INVALID_ARGUMENT);const s=rt(t)?String(t):(Jt(t),t);return rt(n)?o.plural=n:Q(n)?o.default=n:ye(n)&&!ta(n)?o.named=n:Qe(n)&&(o.list=n),rt(r)?o.plural=r:Q(r)?o.default=r:ye(r)&&ot(o,r),[s,o]}function C0(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>QS(t,n,i)}}function k0(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,g)=>{let h=i(n,p);if(h==null&&(u||g)){const[_,,y]=Tg(u||e,p,t,a,l,c);h=_??i(y,p)}if(Q(h)||On(h)){let _=!1;const b=Ag(e,p,t,h,p,()=>{_=!0});return _?Lf:b}else return Jt(h)?h:Lf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),rt(r.plural)&&(d.pluralIndex=r.plural),d}LC();const x0="11.4.2";function T0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wr().__INTLIFY_PROD_DEVTOOLS__=!1)}const It={UNEXPECTED_RETURN_TYPE:GC,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Nt(e,...t){return na(e,null,void 0)}const Hl=dr("__translateVNode"),Vl=dr("__datetimeParts"),Wl=dr("__numberParts"),Og=dr("__setPluralRules"),Ig=dr("__injectWithOption"),Gr=dr("__dispose");function is(e){if(!we(e)||On(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))we(e[t])&&is(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Me()),!we(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?_g.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];we(i)&&is(i)}}return e}function Xc(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=ye(n)?n:Qe(r)?Me():{[e]:Me()};if(Qe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Me(),qs(c,i[l])):qs(c,i)}else Q(a)&&qs(JSON.parse(a),i)}),o==null&&s)for(const a in i)Qt(i,a)&&is(i[a]);return i}function Lg(e){return e.type}function Pg(e,t,n){let r=we(t.messages)?t.messages:Me();"__i18nGlobal"in n&&(r=Xc(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(we(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(we(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Rf(e){return qe(ms,null,e,0)}function as(){return Rn()}const Nf="__INTLIFY_META__",Mf=()=>[],A0=()=>!1;let Df=0;function Ff(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const O0=()=>{const e=as();let t=null;return e&&(t=Lg(e)[Nf])?{[Nf]:t}:null};function wi(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=_i?de:Tn;let i=ve(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:Q(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:Q(e.fallbackLocale)||Qe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(Xc(a.value,e)),u=s(ye(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(ye(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ve(e.missingWarn)||oo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ve(e.fallbackWarn)||oo(e.fallbackWarn)?e.fallbackWarn:!0,g=t?t.fallbackRoot:ve(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,_=Be(e.missing)?e.missing:null,y=Be(e.missing)?Ff(e.missing):null,b=Be(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const O=t?t.modifiers:ye(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&kf(null);const L={version:x0,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:O,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=f.value,L.__datetimeFormatters=ye(x)?x.__datetimeFormatters:void 0,L.__numberFormatters=ye(x)?x.__numberFormatters:void 0;const F=d0(L);return r&&kf(F),F})(),Eo(x,a.value,l.value);function T(){return[a.value,l.value,c.value,u.value,f.value]}const N=X({get:()=>a.value,set:L=>{x.locale=L,a.value=L}}),M=X({get:()=>l.value,set:L=>{x.fallbackLocale=L,l.value=L,Eo(x,a.value,L)}}),W=X(()=>c.value),Z=X(()=>u.value),H=X(()=>f.value);function K(){return Be(b)?b:null}function V(L){b=L,x.postTranslation=L}function ee(){return _}function ie(L){L!==null&&(y=Ff(L)),_=L,x.missing=y}const Xe=(L,F,te,oe,ge,Ie)=>{T();let Ce;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?f0():void 0),Ce=L(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(te!=="translate exists"&&rt(Ce)&&Ce===ra||te==="translate exists"&&!Ce){const[Kt,rn]=F();return t&&g?oe(t):ge(Kt)}else{if(Ie(Ce))return Ce;throw Nt(It.UNEXPECTED_RETURN_TYPE)}};function St(...L){return Xe(F=>Reflect.apply(Pf,null,[F,...L]),()=>Bl(...L),"translate",F=>Reflect.apply(F.t,F,[...L]),F=>F,F=>Q(F))}function Oe(...L){const[F,te,oe]=L;if(oe&&!we(oe))throw Nt(It.INVALID_ARGUMENT);return St(F,te,ot({resolvedMessage:!0},oe||{}))}function Ue(...L){return Xe(F=>Reflect.apply(Tf,null,[F,...L]),()=>jl(...L),"datetime format",F=>Reflect.apply(F.d,F,[...L]),()=>vi,F=>Q(F)||Qe(F))}function Lt(...L){return Xe(F=>Reflect.apply(Of,null,[F,...L]),()=>zl(...L),"number format",F=>Reflect.apply(F.n,F,[...L]),()=>vi,F=>Q(F)||Qe(F))}function Ct(L){return L.map(F=>Q(F)||rt(F)||ve(F)?Rf(String(F)):F)}const ht={normalize:Ct,interpolate:L=>L,type:"vnode"};function j(...L){return Xe(F=>{let te;const oe=F;try{oe.processor=ht,te=Reflect.apply(Pf,null,[oe,...L])}finally{oe.processor=null}return te},()=>Bl(...L),"translate",F=>F[Hl](...L),F=>[Rf(F)],F=>Qe(F))}function J(...L){return Xe(F=>Reflect.apply(Of,null,[F,...L]),()=>zl(...L),"number format",F=>F[Wl](...L),Mf,F=>Q(F)||Qe(F))}function q(...L){return Xe(F=>Reflect.apply(Tf,null,[F,...L]),()=>jl(...L),"datetime format",F=>F[Vl](...L),Mf,F=>Q(F)||Qe(F))}function ne(L){C=L,x.pluralRules=C}function pe(L,F){return Xe(()=>{if(!L)return!1;const te=Q(F)?F:a.value,oe=Q(F)?[te]:Ul(x,l.value,te);for(let ge=0;ge<oe.length;ge++){const Ie=P(oe[ge]);let Ce=x.messageResolver(Ie,L);if(Ce===null&&(Ce=Ie[L]),On(Ce)||Jt(Ce)||Q(Ce))return!0}return!1},()=>[L],"translate exists",te=>Reflect.apply(te.te,te,[L,F]),A0,te=>ve(te))}function k(L){let F=null;const te=Ul(x,l.value,a.value);for(let oe=0;oe<te.length;oe++){const ge=c.value[te[oe]]||{},Ie=x.messageResolver(ge,L);if(Ie!=null){F=Ie;break}}return F}function A(L){const F=k(L);return F??(t?t.tm(L)||{}:{})}function P(L){return c.value[L]||{}}function $(L,F){if(o){const te={[L]:F};for(const oe in te)Qt(te,oe)&&is(te[oe]);F=te[L]}c.value[L]=F,x.messages=c.value}function z(L,F){c.value[L]=c.value[L]||{};const te={[L]:F};if(o)for(const oe in te)Qt(te,oe)&&is(te[oe]);F=te[L],qs(F,c.value[L]),x.messages=c.value}function U(L){return u.value[L]||{}}function w(L,F){u.value[L]=F,x.datetimeFormats=u.value,Af(x,L,F)}function S(L,F){u.value[L]=ot(u.value[L]||{},F),x.datetimeFormats=u.value,Af(x,L,F)}function I(L){return f.value[L]||{}}function R(L,F){f.value[L]=F,x.numberFormats=f.value,If(x,L,F)}function Y(L,F){f.value[L]=ot(f.value[L]||{},F),x.numberFormats=f.value,If(x,L,F)}Df++,t&&_i&&(Ge(t.locale,L=>{i&&(a.value=L,x.locale=L,Eo(x,a.value,l.value))}),Ge(t.fallbackLocale,L=>{i&&(l.value=L,x.fallbackLocale=L,Eo(x,a.value,l.value))}));const B={id:Df,locale:N,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(L){i=L,L&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Eo(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:W,get modifiers(){return O},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(L){d=L,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(L){p=L,x.fallbackWarn=p},get fallbackRoot(){return g},set fallbackRoot(L){g=L},get fallbackFormat(){return h},set fallbackFormat(L){h=L,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(L){E=L,x.warnHtmlMessage=L},get escapeParameter(){return m},set escapeParameter(L){m=L,x.escapeParameter=L},t:St,getLocaleMessage:P,setLocaleMessage:$,mergeLocaleMessage:z,getPostTranslationHandler:K,setPostTranslationHandler:V,getMissingHandler:ee,setMissingHandler:ie,[Og]:ne};return B.datetimeFormats=Z,B.numberFormats=H,B.rt=Oe,B.te=pe,B.tm=A,B.d=Ue,B.n=Lt,B.getDateTimeFormat=U,B.setDateTimeFormat=w,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=Y,B[Ig]=n,B[Hl]=j,B[Vl]=q,B[Wl]=J,B}function I0(e){const t=Q(e.locale)?e.locale:ss,n=Q(e.fallbackLocale)||Qe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Be(e.missing)?e.missing:void 0,o=ve(e.silentTranslationWarn)||oo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ve(e.silentFallbackWarn)||oo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ve(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=ye(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Be(e.postTranslation)?e.postTranslation:void 0,f=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ve(e.sync)?e.sync:!0;let g=e.messages;if(ye(e.sharedMessages)){const O=e.sharedMessages;g=Object.keys(O).reduce((x,v)=>{const T=x[v]||(x[v]={});return ot(T,O[v]),x},g||{})}const{__i18n:h,__root:_,__injectWithOption:y}=e,b=e.datetimeFormats,E=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:m,datetimeFormats:b,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:_,__injectWithOption:y}}function Gl(e={}){const t=wi(I0(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ve(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ve(o)?!o:o},get silentFallbackWarn(){return ve(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ve(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function L0(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Nt(It.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=$f(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Gl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=$f(e,o);else{this.$i18n=Gl({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Pg(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=as();if(!r)throw Nt(It.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function $f(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Og](t.pluralizationRules||e.pluralizationRules);const n=Xc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Jc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function P0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===nt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Me())}function Rg(){return nt}const R0=et({name:"i18n-t",props:ot({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>rt(e)||!isNaN(e)}},Jc),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||yo({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Me();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=Q(e.plural)?+e.plural:e.plural);const u=P0(t,l);return o[Hl](e.keypath,u,c)},i=ot(Me(),r),a=Q(e.tag)||we(e.tag)?e.tag:Rg();return we(a)?cr(a,i,{default:s}):cr(a,i,s())}}}),Uf=R0;function N0(e){return Qe(e)&&!Q(e[0])}function Ng(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Me();e.locale&&(c.locale=e.locale),Q(e.format)?c.key=e.format:we(e.format)&&(Q(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,g)=>n.includes(g)?ot(Me(),p,{[g]:e.format[g]}):p,Me()));const f=r(e.value,c,u);let d=[c.key];return Qe(f)?d=f.map((p,g)=>{const h=o[p.type],_=h?h({[p.type]:p.value,index:g,parts:f}):[p.value];return N0(_)&&(_[0].key=`${p.type}-${g}`),_}):Q(f)&&(d=[f]),d},a=ot(Me(),s),l=Q(e.tag)||we(e.tag)?e.tag:Rg();return we(l)?cr(l,a,{default:i}):cr(l,a,i())}}const M0=et({name:"i18n-n",props:ot({value:{type:Number,required:!0},format:{type:[String,Object]}},Jc),setup(e,t){const n=e.i18n||yo({useScope:e.scope,__useComponent:!0});return Ng(e,t,xg,(...r)=>n[Wl](...r))}}),jf=M0;function D0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function F0(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Nt(It.UNEXPECTED_ERROR);const c=D0(e,a.$),u=zf(l);return[Reflect.apply(c.t,c,[...Bf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);_i&&(i.__i18nWatcher=Ge(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{_i&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=zf(a);i.textContent=Reflect.apply(l.t,l,[...Bf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function zf(e){if(Q(e))return{path:e};if(ye(e)){if(!("path"in e))throw Nt(It.REQUIRED_VALUE,"path");return e}else throw Nt(It.INVALID_VALUE)}function Bf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Q(n)&&(i.locale=n),rt(o)&&(i.plural=o),rt(s)&&(i.plural=s),[t,a,i]}function $0(e,t,...n){const r=ye(n[0])?n[0]:{};(!ve(r.globalInstall)||r.globalInstall)&&([Uf.name,"I18nT"].forEach(s=>e.component(s,Uf)),[jf.name,"I18nN"].forEach(s=>e.component(s,jf)),[Wf.name,"I18nD"].forEach(s=>e.component(s,Wf))),e.directive("t",F0(t))}const U0=dr("global-vue-i18n");function j0(e={}){const t=__VUE_I18N_LEGACY_API__&&ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ve(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=z0(e,t),i=dr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),ye(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=q0(f,u.global)),__VUE_I18N_FULL_INSTALL__&&$0(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(L0(s,s.__composer,u));const g=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),g()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function yo(e={}){const t=as();if(t==null)throw Nt(It.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Nt(It.NOT_INSTALLED);const n=B0(t),r=V0(n),o=Lg(t),s=H0(e,o);if(s==="global")return Pg(r,e,o),r;if(s==="parent"){let l=Hf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Nt(It.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ot({},e),u=Hf(n,t);c.__root=u||r;const f=wi(c);return l.__composerExtend&&(f[Gr]=l.__composerExtend(f)),zi()&&Eh(()=>{const p=f[Gr];p&&(p(),delete f[Gr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ot({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=wi(l),i.__composerExtend&&(a[Gr]=i.__composerExtend(a)),G0(i,t,a),i.__setInstance(t,a)}return a}function z0(e,t){const n=Lc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Gl(e)):n.run(()=>wi(e));if(r==null)throw Nt(It.UNEXPECTED_ERROR);return[n,r]}function B0(e){const t=Ht(e.isCE?U0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Nt(e.isCE?It.NOT_INSTALLED_WITH_PROVIDE:It.UNEXPECTED_ERROR);return t}function H0(e,t){return ta(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function V0(e){return e.mode==="composition"?e.global:e.global.__composer}function Hf(e,t,n=!1){let r=null;const o=t.root;let s=W0(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ig]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function W0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function G0(e,t,n){pn(()=>{},t),ho(()=>{const r=n;e.__deleteInstance(t);const o=r[Gr];o&&(o(),delete r[Gr])},t)}const K0=["locale","fallbackLocale","availableLocales"],Vf=["t","rt","d","n","tm","te"];function q0(e,t){const n=Object.create(null);return K0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Nt(It.UNEXPECTED_ERROR);const i=ze(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Vf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Nt(It.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Vf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Y0=et({name:"i18n-d",props:ot({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jc),setup(e,t){const n=e.i18n||yo({useScope:e.scope,__useComponent:!0});return Ng(e,t,kg,(...r)=>n[Vl](...r))}}),Wf=Y0;T0();i0(zC);a0(r0);l0(Ul);if(__INTLIFY_PROD_DEVTOOLS__){const e=wr();e.__INTLIFY__=!0,BC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const X0={class:"app-container"},J0=et({__name:"App",setup(e){const{locale:t}=yo(),n=Pm(),r=cE(n),{params:{compId:o="",instanceUid:s}}=go(),{messageListener:i,sendMessageToTop:a}=ea(),{addListener:l}=i(),c=Zi();return l(Le.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Le.LOCALE_SET,u=>{t.value=u}),a(Le.LOCALE_GET,o,c,s),a(Le.THEME_CHANGE_GET,o,c,s),pn(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=tm("router-view");return ue(),_e("div",X0,[qe(d)])}}}),nn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Q0=nn(J0,[["__scopeId","data-v-61ee6775"]]),Rs=window.parent,Z0=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];Object.defineProperty(window,"parent",{get(){return new Proxy(Rs,{get(e,t){if(Z0.includes(String(t)))return t==="postMessage"?Rs.postMessage.bind(Rs):Reflect.get(Rs,t);console.warn(`🛡️ 阻止访问 parent.${String(t)}`)},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return console.warn(`🛡️ 阻止检测 parent.${String(t)} 是否存在`),!1},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}})},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const ek={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loading:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},tk={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},nk={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},rk={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",guestLogin:"游客访问",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",guest:"游客",notLoggedIn:"未登录",goLogin:"去登录"},ok={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},sk={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},ik={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},ak={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},lk={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},ck={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},uk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},fk={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},dk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},pk={submit:"提交"},hk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},mk={common:ek,comp:tk,team:nk,user:rk,file:ok,message:sk,route:ik,markdown:ak,terminal:lk,deps:ck,setting:uk,upgrade:fk,tag:dk,formCreate:pk,validateHash:hk},gk={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loading:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},yk={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},bk={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},_k={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",guestLogin:"Guest Access",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",guest:"Guest",notLoggedIn:"Not logged in",goLogin:"Go to Login"},vk={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},wk={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},Ek={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},Sk={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},Ck={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},kk={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},xk={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Tk={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},Ak={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},Ok={submit:"Submit"},Ik={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},Lk={common:gk,comp:yk,team:bk,user:_k,file:vk,message:wk,route:Ek,markdown:Sk,terminal:Ck,deps:kk,setting:xk,upgrade:Tk,tag:Ak,formCreate:Ok,validateHash:Ik},Pk={zh:mk,en:Lk},Rk=localStorage.getItem(KS.LOCALE_KEY)||"zh",Nk=j0({locale:Rk,messages:Pk,legacy:!1});function Mk(e){e.use(Nk)}let Mg;const oa=e=>Mg=e,Dg=Symbol();function Kl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Go;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Go||(Go={}));function Dk(){const e=Lc(!0),t=e.run(()=>de({}));let n=[],r=[];const o=Mc({install(s){oa(o),o._a=s,s.provide(Dg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Fg=()=>{};function Gf(e,t,n,r=Fg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&zi()&&Eh(o),o}function Nr(e,...t){e.forEach(n=>{n(...t)})}const Fk=e=>e(),Kf=Symbol(),ja=Symbol();function ql(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Kl(o)&&Kl(r)&&e.hasOwnProperty(n)&&!ze(r)&&!Wn(r)?e[n]=ql(o,r):e[n]=r}return e}const $k=Symbol();function Uk(e){return!Kl(e)||!Object.prototype.hasOwnProperty.call(e,$k)}const{assign:tr}=Object;function jk(e){return!!(ze(e)&&e.effect)}function zk(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=lv(n.state.value[e]);return tr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Mc(X(()=>{oa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=$g(e,c,t,n,r,!0),l}function $g(e,t,n={},r,o,s){let i;const a=tr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const g=r.state.value[e];!s&&!g&&(r.state.value[e]={});let h;function _(v){let T;c=u=!1,typeof v=="function"?(v(r.state.value[e]),T={type:Go.patchFunction,storeId:e,events:p}):(ql(r.state.value[e],v),T={type:Go.patchObject,payload:v,storeId:e,events:p});const N=h=Symbol();fr().then(()=>{h===N&&(c=!0)}),u=!0,Nr(f,T,r.state.value[e])}const y=s?function(){const{state:T}=n,N=T?T():{};this.$patch(M=>{tr(M,N)})}:Fg;function b(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(v,T="")=>{if(Kf in v)return v[ja]=T,v;const N=function(){oa(r);const M=Array.from(arguments),W=new Set,Z=new Set;function H(ee){W.add(ee)}function K(ee){Z.add(ee)}Nr(d,{args:M,name:N[ja],store:O,after:H,onError:K});let V;try{V=v.apply(this&&this.$id===e?this:O,M)}catch(ee){throw Nr(Z,ee),ee}return V instanceof Promise?V.then(ee=>(Nr(W,ee),ee)).catch(ee=>(Nr(Z,ee),Promise.reject(ee))):(Nr(W,V),V)};return N[Kf]=!0,N[ja]=T,N},m={_p:r,$id:e,$onAction:Gf.bind(null,d),$patch:_,$reset:y,$subscribe(v,T={}){const N=Gf(f,v,T.detached,()=>M()),M=i.run(()=>Ge(()=>r.state.value[e],W=>{(T.flush==="sync"?u:c)&&v({storeId:e,type:Go.direct,events:p},W)},tr({},l,T)));return N},$dispose:b},O=ps(m);r._s.set(e,O);const x=(r._a&&r._a.runWithContext||Fk)(()=>r._e.run(()=>(i=Lc()).run(()=>t({action:E}))));for(const v in x){const T=x[v];if(ze(T)&&!jk(T)||Wn(T))s||(g&&Uk(T)&&(ze(T)?T.value=g[v]:ql(T,g[v])),r.state.value[e][v]=T);else if(typeof T=="function"){const N=E(T,v);x[v]=N,a.actions[v]=T}}return tr(O,x),tr(be(O),x),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:v=>{_(T=>{tr(T,v)})}}),r._p.forEach(v=>{tr(O,i.run(()=>v({store:O,app:r._a,pinia:r,options:a})))}),g&&s&&n.hydrate&&n.hydrate(O.$state,g),c=!0,u=!0,O}function Ug(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=Fc();return i=i||(l?Ht(Dg,null):null),i&&oa(i),i=Mg,i._s.has(e)||(o?$g(e,t,r,i):zk(e,r,i)),i._s.get(e)}return s.$id=e,s}function Bk({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const qf=Dk();function Hk(e){qf.use(Bk),e.use(qf)}var Vk=typeof global=="object"&&global&&global.Object===Object&&global,Wk=typeof self=="object"&&self&&self.Object===Object&&self,Gk=Vk||Wk||Function("return this")(),Ei=Gk.Symbol,jg=Object.prototype,Kk=jg.hasOwnProperty,qk=jg.toString,So=Ei?Ei.toStringTag:void 0;function Yk(e){var t=Kk.call(e,So),n=e[So];try{e[So]=void 0;var r=!0}catch{}var o=qk.call(e);return r&&(t?e[So]=n:delete e[So]),o}var Xk=Object.prototype,Jk=Xk.toString;function Qk(e){return Jk.call(e)}var Zk="[object Null]",ex="[object Undefined]",Yf=Ei?Ei.toStringTag:void 0;function zg(e){return e==null?e===void 0?ex:Zk:Yf&&Yf in Object(e)?Yk(e):Qk(e)}function tx(e){return e!=null&&typeof e=="object"}var nx="[object Symbol]";function rx(e){return typeof e=="symbol"||tx(e)&&zg(e)==nx}var ox=/\s/;function sx(e){for(var t=e.length;t--&&ox.test(e.charAt(t)););return t}var ix=/^\s+/;function ax(e){return e&&e.slice(0,sx(e)+1).replace(ix,"")}function Si(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xf=NaN,lx=/^[-+]0x[0-9a-f]+$/i,cx=/^0b[01]+$/i,ux=/^0o[0-7]+$/i,fx=parseInt;function dx(e){if(typeof e=="number")return e;if(rx(e))return Xf;if(Si(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Si(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ax(e);var n=cx.test(e);return n||ux.test(e)?fx(e.slice(2),n?2:8):lx.test(e)?Xf:+e}var Jf=1/0,px=17976931348623157e292;function Qf(e){if(!e)return e===0?e:0;if(e=dx(e),e===Jf||e===-Jf){var t=e<0?-1:1;return t*px}return e===e?e:0}var hx="[object AsyncFunction]",mx="[object Function]",gx="[object GeneratorFunction]",yx="[object Proxy]";function bx(e){if(!Si(e))return!1;var t=zg(e);return t==mx||t==gx||t==hx||t==yx}var _x=9007199254740991,vx=/^(?:0|[1-9]\d*)$/;function wx(e,t){var n=typeof e;return t=t??_x,!!t&&(n=="number"||n!="symbol"&&vx.test(e))&&e>-1&&e%1==0&&e<t}function Ex(e,t){return e===t||e!==e&&t!==t}var Sx=9007199254740991;function Cx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Sx}function kx(e){return e!=null&&Cx(e.length)&&!bx(e)}function xx(e,t,n){if(!Si(n))return!1;var r=typeof t;return(r=="number"?kx(n)&&wx(t,n.length):r=="string"&&t in n)?Ex(n[t],e):!1}var Tx=Math.floor,Ax=Math.random;function Ox(e,t){return e+Tx(Ax()*(t-e+1))}var Ix=parseFloat,Lx=Math.min,Px=Math.random;function Rx(e,t,n){if(n&&typeof n!="boolean"&&xx(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=Qf(e),t===void 0?(t=e,e=0):t=Qf(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Px();return Lx(e+o*(t-e+Ix("1e-"+((o+"").length-1))),t)}return Ox(e,t)}const Bg=/^[a-z0-9]+(-[a-z0-9]+)*$/,sa=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Ys(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Ys(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Ys(a,n)?null:a}return null},Ys=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Nx(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const Hg=Object.freeze({left:0,top:0,width:16,height:16}),Ci=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ia=Object.freeze({...Hg,...Ci}),Yl=Object.freeze({...ia,body:"",hidden:!1});function Mx(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Zf(e,t){const n=Mx(e,t);for(const r in Yl)r in Ci?r in e&&!(r in n)&&(n[r]=Ci[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Dx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Zf(r[a]||o[a],s)}return i(t),n.forEach(i),Zf(e,s)}function Vg(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Nx(e);for(const o in r){const s=r[o];s&&(t(o,Dx(e,o,s)),n.push(o))}return n}const Fx={provider:"",aliases:{},not_found:{},...Hg};function za(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Wg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!za(e,Fx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!za(s,Yl))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!za(s,Yl))return null}return t}const ed=Object.create(null);function $x(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function io(e,t){const n=ed[e]||(ed[e]=Object.create(null));return n[t]||(n[t]=$x(e,t))}function Gg(e,t){return Wg(t)?Vg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ux(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Kg(e){return typeof e=="boolean"&&(ls=e),ls}function jx(e){const t=typeof e=="string"?sa(e,!0,ls):e;if(t){const n=io(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function zx(e,t){const n=sa(e,!0,ls);if(!n)return!1;const r=io(n.provider,n.prefix);return t?Ux(r,n.name,t):(r.missing.add(n.name),!0)}function Bx(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Wg(e)&&(e.prefix="",Vg(e,(o,s)=>{zx(o,s)&&(r=!0)})),r}const n=e.prefix;return Ys({prefix:n,name:"a"})?!!Gg(io(t,n),e):!1}const qg=Object.freeze({width:null,height:null}),Yg=Object.freeze({...qg,...Ci}),Hx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Vx=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function td(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Hx);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Vx.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function Wx(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function Gx(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Kx(e,t,n){const r=Wx(e);return Gx(r.defs,t+r.content+n)}const qx=e=>e==="unset"||e==="undefined"||e==="none";function Yx(e,t){const n={...ia,...e},r={...Yg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const _=[],y=h.hFlip,b=h.vFlip;let E=h.rotate;y?b?E+=2:(_.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),_.push("scale(-1 1)"),o.top=o.left=0):b&&(_.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),_.push("scale(1 -1)"),o.top=o.left=0);let m;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:m=o.height/2+o.top,_.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:_.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:m=o.width/2+o.left,_.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}E%2===1&&(o.left!==o.top&&(m=o.left,o.left=o.top,o.top=m),o.width!==o.height&&(m=o.width,o.width=o.height,o.height=m)),_.length&&(s=Kx(s,'<g transform="'+_.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=td(f,l/c)):(u=i==="auto"?l:i,f=a===null?td(u,c/l):a==="auto"?c:a);const d={},p=(h,_)=>{qx(_)||(d[h]=_.toString())};p("width",u),p("height",f);const g=[o.left,o.top,l,c];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:s}}const Xx=/\sid="(\S+)"/g,nd=new Map;function Jx(e){e=e.replace(/[0-9]+$/,"")||"a";const t=nd.get(e)||0;return nd.set(e,t+1),t?`${e}${t}`:e}function Qx(e){const t=[];let n;for(;n=Xx.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=Jx(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Xl=Object.create(null);function Zx(e,t){Xl[e]=t}function Jl(e){return Xl[e]||Xl[""]}function Qc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Zc=Object.create(null),Co=["https://api.simplesvg.com","https://api.unisvg.com"],Xs=[];for(;Co.length>0;)Co.length===1||Math.random()>.5?Xs.push(Co.shift()):Xs.push(Co.pop());Zc[""]=Qc({resources:["https://api.iconify.design"].concat(Xs)});function eT(e,t){const n=Qc(t);return n===null?!1:(Zc[e]=n,!0)}function eu(e){return Zc[e]}const tT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let rd=tT();function nT(e,t){const n=eu(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function rT(e){return e===404}const oT=(e,t,n)=>{const r=[],o=nT(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function sT(e){if(typeof e=="string"){const t=eu(e);if(t)return t.path}return"/"}const iT=(e,t,n)=>{if(!rd){n("abort",424);return}let r=sT(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;rd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(rT(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},aT={prepare:oT,send:iT};function Xg(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function lT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Xg([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let cT=0;function uT(e,t,n){const r=cT++,o=Xg.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function fT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=io(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function dT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?sa(o,t,n):o;s&&r.push(s)}),r}const pT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function hT(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const x=Math.floor(Math.random()*C.length);i.push(C[x]),C=C.slice(0,x).concat(C.slice(x+1))}i=i.concat(C)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function g(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),g(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function _(C,x){x&&(p=[]),typeof C=="function"&&p.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:_,abort:h}}function b(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,x,v){const T=x!=="success";switch(d=d.filter(N=>N!==C),l){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=v,b();return}if(T){u=v,d.length||(i.length?O():b());return}if(g(),E(),!e.random){const N=e.resources.indexOf(C.resource);N!==-1&&N!==e.index&&(e.index=N)}l="completed",p.forEach(N=>{N(v)})}function O(){if(l!=="pending")return;g();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{g(),l==="pending"&&(E(),b())},e.timeout);return}b();return}const x={status:"pending",resource:C,callback:(v,T)=>{m(x,v,T)}};d.push(x),c++,f=setTimeout(O,e.rotate),n(C,t,x.callback)}return setTimeout(O),y}function Jg(e){const t={...pT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=hT(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function od(){}const Ba=Object.create(null);function mT(e){if(!Ba[e]){const t=eu(e);if(!t)return;Ba[e]={config:t,redundancy:Jg(t)}}return Ba[e]}function gT(e,t,n){let r,o;if(typeof e=="string"){const s=Jl(e);if(!s)return n(void 0,424),od;o=s.send;const i=mT(e);i&&(r=i.redundancy)}else{const s=Qc(e);if(s){r=Jg(s);const i=Jl(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),od):r.query(t,o,n)().abort}function sd(){}function yT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lT(e)}))}function bT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Bg)?t:n).push(r)}),{valid:t,invalid:n}}function ko(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!Gg(e,n).length){r();return}}catch(o){console.error(o)}r(),yT(e)}function id(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function _T(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){id(e.loadIcons(o,r,n),c=>{ko(e,o,c)});return}if(s){o.forEach(c=>{id(s(c,r,n),u=>{ko(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=bT(o);if(a.length&&ko(e,a,null),!i.length)return;const l=r.match(Bg)?Jl(n):null;if(!l){ko(e,i,null);return}l.prepare(n,r,i).forEach(c=>{gT(n,c,u=>{ko(e,c.icons,u)})})}))}const vT=(e,t)=>{const n=fT(dT(e,!0,Kg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,sd)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(io(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=io(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&_T(a,l)}),t?uT(t,n,o):sd};function wT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in qg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ET=/[\s,]+/;function ST(e,t){t.split(ET).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function kT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function xT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function TT(e){return"data:image/svg+xml,"+xT(e)}function AT(e){return'url("'+TT(e)+'")'}const ad={...Yg,inline:!1},OT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},IT={display:"inline-block"},Ql={backgroundColor:"currentColor"},Qg={backgroundColor:"transparent"},ld={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},cd={webkitMask:Ql,mask:Ql,background:Qg};for(const e in cd){const t=cd[e];for(const n in ld)t[e+n]=ld[n]}const Js={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Js[e+"-flip"]=t,Js[e.slice(0,1)+"-flip"]=t,Js[e+"Flip"]=t});function ud(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const fd=(e,t)=>{const n=wT(ad,t),r={...OT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const _=t[h];if(_!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[h]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&ST(n,_);break;case"color":s.color=_;break;case"rotate":typeof _=="string"?n[h]=CT(_):typeof _=="number"&&(n[h]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete r["aria-hidden"];break;default:{const y=Js[h];y?(_===!0||_==="true"||_===1)&&(n[y]=!0):ad[h]===void 0&&(r[h]=_)}}}const l=Yx(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=Qx(l.body),cr("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),g=kT(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":AT(g),width:ud(c.width),height:ud(c.height),...IT,...p?Ql:Qg,...a},cr("span",r)};Kg(!0);Zx("",aT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Bx(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;eT(n,o)||console.error(r)}catch{console.error(r)}}}}const LT={...ia,body:""},PT=et((e,{emit:t})=>{const n=de(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=de(!!e.ssr),s=de(""),i=Tn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=sa(c,!1,!0))===null)return null;let f=jx(u);if(!f){const g=n.value;return(!g||g.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:vT([u],l)}),null}r(),s.value!==c&&(s.value=c,fr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const g=d(f.body,u.name,u.prefix,u.provider);typeof g=="string"&&(f.body=g)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():pn(()=>{o.value=!0,l()}),Ge(()=>e.icon,l),ho(r),()=>{const c=i.value;if(!c)return fd(LT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),fd({...ia,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function RT(e){e.component("Icon",PT)}const aa="v-loading-mask",Zg="v-loading-spinner",ey="v-loading-parent";function NT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function MT(){const e=document.createElement("div");e.className=aa,e.innerHTML=`<div class="${Zg}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=NT(),t.zIndex="999",t.borderRadius="inherit",e}function DT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
3
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=CC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Wc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),so(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function IC(e,t={}){const n=ot({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=vC(n).parse(e);return r?(s&&SC(a),o&&Hr(a),{ast:a,code:""}):(EC(a,n),OC(a,n))}function LC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function On(e){return we(e)&&Kc(e)===0&&(Qt(e,"b")||Qt(e,"body"))}const fg=["b","body"];function PC(e){return pr(e,fg)}const dg=["c","cases"];function RC(e){return pr(e,dg,[])}const pg=["s","static"];function NC(e){return pr(e,pg)}const hg=["i","items"];function MC(e){return pr(e,hg,[])}const mg=["t","type"];function Kc(e){return pr(e,mg)}const gg=["v","value"];function Ls(e,t){const n=pr(e,gg);if(n!=null)return n;throw rs(t)}const yg=["m","modifier"];function DC(e){return pr(e,yg)}const bg=["k","key"];function FC(e){const t=pr(e,bg);if(t)return t;throw rs(6)}function pr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Qt(e,o)&&e[o]!=null)return e[o]}return n}const _g=[...fg,...dg,...pg,...hg,...bg,...yg,...gg,...mg];function rs(e){return new Error(`unhandled node type: ${e}`)}function Da(e){return n=>$C(n,e)}function $C(e,t){const n=PC(t);if(n==null)throw rs(0);if(Kc(n)===1){const s=RC(n);return e.plural(s.reduce((i,a)=>[...i,vf(e,a)],[]))}else return vf(e,n)}function vf(e,t){const n=NC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=MC(t).reduce((o,s)=>[...o,$l(e,s)],[]);return e.normalize(r)}}function $l(e,t){const n=Kc(t);switch(n){case 3:return Ls(t,n);case 9:return Ls(t,n);case 4:{const r=t;if(Qt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Qt(r,"i")&&rt(r.i))return e.interpolate(e.list(r.i));if(Qt(r,"index")&&rt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=DC(r),s=FC(r);return e.linked($l(e,s),o?$l(e,o):void 0,e.type)}case 7:return Ls(t,n);case 8:return Ls(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const UC=e=>e;let Ps=Me();function jC(e,t={}){let n=!1;const r=t.onError||aC;return t.onError=o=>{n=!0,r(o)},{...IC(e,t),detectError:n}}function zC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Q(e)){ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||UC)(e),o=Ps[r];if(o)return o;const{ast:s,detectError:i}=jC(e,{...t,location:!1,jit:!0}),a=Da(s);return i?a:Ps[r]=a}else{const n=e.cacheKey;if(n){const r=Ps[n];return r||(Ps[n]=Da(e))}else return Da(e)}}let os=null;function BC(e){os=e}function HC(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const VC=WC("function:translate");function WC(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:iC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},GC=24;function Vn(e){return na(e,null,void 0)}function qc(e,t){return t.locale!=null?wf(t.locale):wf(e.locale)}let Fa;function wf(e){if(Q(e))return e;if(Be(e)){if(e.resolvedOnce&&Fa!=null)return Fa;if(e.constructor.name==="Function"){const t=e();if(rC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Fa=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function KC(e,t,n){return[...new Set([n,...Qe(t)?t:we(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Ul(e,t,n){const r=Q(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Qe(i);)i=Ef(s,i,t);const a=Qe(t)||!ye(t)?t:t.default?t.default:null;i=Q(a)?[a]:a,Qe(i)&&Ef(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Ef(e,t,n){let r=!0;for(let o=0;o<t.length&&ve(r);o++){const s=t[o];Q(s)&&(r=qC(e,t[o],n))}return r}function qC(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=YC(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function YC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Qe(n)||ye(n))&&n[o]&&(r=n[o])}return r}const hr=[];hr[0]={w:[0],i:[3,0],"[":[4],o:[7]};hr[1]={w:[1],".":[2],"[":[4],o:[7]};hr[2]={w:[2],i:[3,0],0:[3,0]};hr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};hr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};hr[5]={"'":[4,0],o:8,l:[5,0]};hr[6]={'"':[4,0],o:8,l:[6,0]};const XC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JC(e){return XC.test(e)}function QC(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function ZC(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function e0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:JC(t)?QC(t):"*"+t}function t0(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=e0(i),i===!1))return!1;d[1]()}};function p(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=ZC(s),f=hr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Sf=new Map;function n0(e,t){return we(e)?e[t]:null}function r0(e,t){if(!we(e))return null;let n=Sf.get(t);if(n||(n=t0(t),n&&Sf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(_g.includes(i)&&On(o)||!we(o)||!Qt(o,i))return null;const a=o[i];if(a===void 0||Be(o))return null;o=a,s++}return o}const o0="11.4.2",ra=-1,ss="en-US",vi="",Cf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function s0(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Cf(e):t==="vnode"&&we(e)&&"__v_isVNode"in e?Cf(e.children):e}}let vg;function i0(e){vg=e}let wg;function a0(e){wg=e}let Eg;function l0(e){Eg=e}let Sg=null;const c0=e=>{Sg=e},u0=()=>Sg;let Cg=null;const kf=e=>{Cg=e},f0=()=>Cg;let xf=0;function d0(e={}){const t=Be(e.onWarn)?e.onWarn:JS,n=Q(e.version)?e.version:o0,r=Q(e.locale)||Be(e.locale)?e.locale:ss,o=Be(r)?ss:r,s=Qe(e.fallbackLocale)||ye(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ye(e.messages)?e.messages:$a(o),a=ye(e.datetimeFormats)?e.datetimeFormats:$a(o),l=ye(e.numberFormats)?e.numberFormats:$a(o),c=ot(Me(),e.modifiers,s0()),u=e.pluralRules||Me(),f=Be(e.missing)?e.missing:null,d=ve(e.missingWarn)||oo(e.missingWarn)?e.missingWarn:!0,p=ve(e.fallbackWarn)||oo(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,h=!!e.unresolving,_=Be(e.postTranslation)?e.postTranslation:null,y=ye(e.processor)?e.processor:null,b=ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,m=Be(e.messageCompiler)?e.messageCompiler:vg,O=Be(e.messageResolver)?e.messageResolver:wg||n0,C=Be(e.localeFallbacker)?e.localeFallbacker:Eg||KC,x=we(e.fallbackContext)?e.fallbackContext:void 0,v=e,T=we(v.__datetimeFormatters)?v.__datetimeFormatters:new Map,N=we(v.__numberFormatters)?v.__numberFormatters:new Map,M=we(v.__meta)?v.__meta:{};xf++;const W={version:n,cid:xf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:h,postTranslation:_,processor:y,warnHtmlMessage:b,escapeParameter:E,messageCompiler:m,messageResolver:O,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return W.datetimeFormats=a,W.numberFormats=l,W.__datetimeFormatters=T,W.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&HC(W,n,M),W}const $a=e=>({[e]:Me()});function Yc(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Q(a)?a:t}else return t}function Eo(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function p0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function h0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(p0(e,t[r]))return!0;return!1}function Tf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!Q(t[0])&&!cg(t[0])&&!rt(t[0]))return vi;const[l,c,u,f]=jl(...t),d=ve(u.missingWarn)?u.missingWarn:e.missingWarn;ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=qc(e,u),h=i(e,o,g);if(!Q(l)||l==="")return new Intl.DateTimeFormat(g.replace(/!/g,""),f).format(c);let _={},y,b=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],_=n[y]||{},b=_[l],!ye(b));C++)Yc(e,l,y,d,E);if(!ye(b)||!Q(y))return r?ra:l;let m=`${y}__${l}`;ta(f)||(m=`${m}__${JSON.stringify(f)}`);let O=a.get(m);return O||(O=new Intl.DateTimeFormat(y,ot({},b,f)),a.set(m,O)),p?O.formatToParts(c):O.format(c)}const kg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jl(...e){const[t,n,r,o]=e,s=Me();let i=Me(),a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT)}}else if(cg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(rt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return Q(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{kg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:ye(r)&&(i=r),ye(o)&&(i=o),[s.key||"",a,s,i]}function Af(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Of(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!rt(t[0]))return vi;const[l,c,u,f]=zl(...t),d=ve(u.missingWarn)?u.missingWarn:e.missingWarn;ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=qc(e,u),h=i(e,o,g);if(!Q(l)||l==="")return new Intl.NumberFormat(g.replace(/!/g,""),f).format(c);let _={},y,b=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],_=n[y]||{},b=_[l],!ye(b));C++)Yc(e,l,y,d,E);if(!ye(b)||!Q(y))return r?ra:l;let m=`${y}__${l}`;ta(f)||(m=`${m}__${JSON.stringify(f)}`);let O=a.get(m);return O||(O=new Intl.NumberFormat(y,ot({},b,f)),a.set(m,O)),p?O.formatToParts(c):O.format(c)}const xg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function zl(...e){const[t,n,r,o]=e,s=Me();let i=Me();if(!rt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return Q(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{xg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:ye(r)&&(i=r),ye(o)&&(i=o),[s.key||"",a,s,i]}function If(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const m0=e=>e,g0=e=>"",y0="text",b0=e=>e.length===0?"":Wc(e),_0=oC;function Ua(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function v0(e){const t=rt(e.pluralIndex)?e.pluralIndex:-1;return rt(e.named?.count)?e.named.count:rt(e.named?.n)?e.named.n:t}function w0(e={}){const t=e.locale,n=v0(e),r=Q(t)&&Be(e.pluralRules?.[t])?e.pluralRules[t]:Ua,o=r===Ua?void 0:Ua,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Me();rt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,b){const E=Be(e.messages)?e.messages(y,!!b):we(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):g0)}const f=y=>e.modifiers?e.modifiers[y]:m0,d=Be(e.processor?.normalize)?e.processor.normalize:b0,p=Be(e.processor?.interpolate)?e.processor.interpolate:_0,g=Q(e.processor?.type)?e.processor.type:y0,_={list:a,named:c,plural:s,linked:(y,...b)=>{const[E,m]=b;let O="text",C="";b.length===1?we(E)?(C=E.modifier||C,O=E.type||O):Q(E)&&(C=E||C):b.length===2&&(Q(E)&&(C=E||C),Q(m)&&(O=m||O));const x=u(y,!0)(_),v=x===""||x===void 0?y:x,T=O==="vnode"&&Qe(v)&&C?v[0]:v;return C?f(C)(T,O):T},message:u,type:g,interpolate:p,normalize:d,values:ot(Me(),i,l)};return _}const Lf=()=>"",Jt=e=>Be(e);function Pf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Bl(...t),u=ve(c.missingWarn)?c.missingWarn:e.missingWarn,f=ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,g=Q(c.default)||ve(c.default)?ve(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||g!=null&&(Q(g)||Be(g)),_=qc(e,c);d&&E0(c);let[y,b,E]=p?[l,_,a[_]||Me()]:Tg(e,l,_,i,f,u),m=y,O=l;if(!p&&!(Q(m)||On(m)||Jt(m))&&h&&(m=g,O=m),!p&&(!(Q(m)||On(m)||Jt(m))||!Q(b)))return o?ra:l;let C=!1;const x=()=>{C=!0},v=Jt(m)?m:Ag(e,l,b,m,O,x);if(C)return m;const T=k0(e,b,E,c),N=w0(T),M=S0(e,v,N);let W=r?r(M,l):M;if(d&&Q(W)&&(W=tC(W)),__INTLIFY_PROD_DEVTOOLS__){const Z={timestamp:Date.now(),key:Q(l)?l:Jt(m)?m.key:"",locale:b||(Jt(m)?m.locale:""),format:Q(m)?m:Jt(m)?m.source:"",message:W};Z.meta=ot({},e.__meta,u0()||{}),VC(Z)}return W}function E0(e){Qe(e.list)?e.list=e.list.map(t=>Q(t)?mf(t):t):we(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=mf(e.named[t]))})}function Tg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Me(),d,p=null;const g="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Me(),(p=l(f,t))===null&&(p=f[t]),!(Q(p)||On(p)||Jt(p)));h++)if(!h0(d,u)){const _=Yc(e,t,d,s,g);_!==t&&(p=_)}return[p,d,f]}function Ag(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Jt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,C0(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function S0(e,t,n){return t(n)}function Bl(...e){const[t,n,r]=e,o=Me();if(!Q(t)&&!rt(t)&&!Jt(t)&&!On(t))throw Vn(Hn.INVALID_ARGUMENT);const s=rt(t)?String(t):(Jt(t),t);return rt(n)?o.plural=n:Q(n)?o.default=n:ye(n)&&!ta(n)?o.named=n:Qe(n)&&(o.list=n),rt(r)?o.plural=r:Q(r)?o.default=r:ye(r)&&ot(o,r),[s,o]}function C0(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>QS(t,n,i)}}function k0(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,g)=>{let h=i(n,p);if(h==null&&(u||g)){const[_,,y]=Tg(u||e,p,t,a,l,c);h=_??i(y,p)}if(Q(h)||On(h)){let _=!1;const b=Ag(e,p,t,h,p,()=>{_=!0});return _?Lf:b}else return Jt(h)?h:Lf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),rt(r.plural)&&(d.pluralIndex=r.plural),d}LC();const x0="11.4.2";function T0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wr().__INTLIFY_PROD_DEVTOOLS__=!1)}const It={UNEXPECTED_RETURN_TYPE:GC,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Nt(e,...t){return na(e,null,void 0)}const Hl=dr("__translateVNode"),Vl=dr("__datetimeParts"),Wl=dr("__numberParts"),Og=dr("__setPluralRules"),Ig=dr("__injectWithOption"),Gr=dr("__dispose");function is(e){if(!we(e)||On(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))we(e[t])&&is(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Me()),!we(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?_g.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];we(i)&&is(i)}}return e}function Xc(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=ye(n)?n:Qe(r)?Me():{[e]:Me()};if(Qe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Me(),qs(c,i[l])):qs(c,i)}else Q(a)&&qs(JSON.parse(a),i)}),o==null&&s)for(const a in i)Qt(i,a)&&is(i[a]);return i}function Lg(e){return e.type}function Pg(e,t,n){let r=we(t.messages)?t.messages:Me();"__i18nGlobal"in n&&(r=Xc(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(we(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(we(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Rf(e){return qe(ms,null,e,0)}function as(){return Rn()}const Nf="__INTLIFY_META__",Mf=()=>[],A0=()=>!1;let Df=0;function Ff(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const O0=()=>{const e=as();let t=null;return e&&(t=Lg(e)[Nf])?{[Nf]:t}:null};function wi(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=_i?de:Tn;let i=ve(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:Q(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:Q(e.fallbackLocale)||Qe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(Xc(a.value,e)),u=s(ye(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(ye(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ve(e.missingWarn)||oo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ve(e.fallbackWarn)||oo(e.fallbackWarn)?e.fallbackWarn:!0,g=t?t.fallbackRoot:ve(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,_=Be(e.missing)?e.missing:null,y=Be(e.missing)?Ff(e.missing):null,b=Be(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const O=t?t.modifiers:ye(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&kf(null);const L={version:x0,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:O,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=f.value,L.__datetimeFormatters=ye(x)?x.__datetimeFormatters:void 0,L.__numberFormatters=ye(x)?x.__numberFormatters:void 0;const F=d0(L);return r&&kf(F),F})(),Eo(x,a.value,l.value);function T(){return[a.value,l.value,c.value,u.value,f.value]}const N=X({get:()=>a.value,set:L=>{x.locale=L,a.value=L}}),M=X({get:()=>l.value,set:L=>{x.fallbackLocale=L,l.value=L,Eo(x,a.value,L)}}),W=X(()=>c.value),Z=X(()=>u.value),H=X(()=>f.value);function K(){return Be(b)?b:null}function V(L){b=L,x.postTranslation=L}function ee(){return _}function ie(L){L!==null&&(y=Ff(L)),_=L,x.missing=y}const Xe=(L,F,te,oe,ge,Ie)=>{T();let Ce;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?f0():void 0),Ce=L(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(te!=="translate exists"&&rt(Ce)&&Ce===ra||te==="translate exists"&&!Ce){const[Kt,rn]=F();return t&&g?oe(t):ge(Kt)}else{if(Ie(Ce))return Ce;throw Nt(It.UNEXPECTED_RETURN_TYPE)}};function St(...L){return Xe(F=>Reflect.apply(Pf,null,[F,...L]),()=>Bl(...L),"translate",F=>Reflect.apply(F.t,F,[...L]),F=>F,F=>Q(F))}function Oe(...L){const[F,te,oe]=L;if(oe&&!we(oe))throw Nt(It.INVALID_ARGUMENT);return St(F,te,ot({resolvedMessage:!0},oe||{}))}function Ue(...L){return Xe(F=>Reflect.apply(Tf,null,[F,...L]),()=>jl(...L),"datetime format",F=>Reflect.apply(F.d,F,[...L]),()=>vi,F=>Q(F)||Qe(F))}function Lt(...L){return Xe(F=>Reflect.apply(Of,null,[F,...L]),()=>zl(...L),"number format",F=>Reflect.apply(F.n,F,[...L]),()=>vi,F=>Q(F)||Qe(F))}function Ct(L){return L.map(F=>Q(F)||rt(F)||ve(F)?Rf(String(F)):F)}const ht={normalize:Ct,interpolate:L=>L,type:"vnode"};function j(...L){return Xe(F=>{let te;const oe=F;try{oe.processor=ht,te=Reflect.apply(Pf,null,[oe,...L])}finally{oe.processor=null}return te},()=>Bl(...L),"translate",F=>F[Hl](...L),F=>[Rf(F)],F=>Qe(F))}function J(...L){return Xe(F=>Reflect.apply(Of,null,[F,...L]),()=>zl(...L),"number format",F=>F[Wl](...L),Mf,F=>Q(F)||Qe(F))}function q(...L){return Xe(F=>Reflect.apply(Tf,null,[F,...L]),()=>jl(...L),"datetime format",F=>F[Vl](...L),Mf,F=>Q(F)||Qe(F))}function ne(L){C=L,x.pluralRules=C}function pe(L,F){return Xe(()=>{if(!L)return!1;const te=Q(F)?F:a.value,oe=Q(F)?[te]:Ul(x,l.value,te);for(let ge=0;ge<oe.length;ge++){const Ie=P(oe[ge]);let Ce=x.messageResolver(Ie,L);if(Ce===null&&(Ce=Ie[L]),On(Ce)||Jt(Ce)||Q(Ce))return!0}return!1},()=>[L],"translate exists",te=>Reflect.apply(te.te,te,[L,F]),A0,te=>ve(te))}function k(L){let F=null;const te=Ul(x,l.value,a.value);for(let oe=0;oe<te.length;oe++){const ge=c.value[te[oe]]||{},Ie=x.messageResolver(ge,L);if(Ie!=null){F=Ie;break}}return F}function A(L){const F=k(L);return F??(t?t.tm(L)||{}:{})}function P(L){return c.value[L]||{}}function $(L,F){if(o){const te={[L]:F};for(const oe in te)Qt(te,oe)&&is(te[oe]);F=te[L]}c.value[L]=F,x.messages=c.value}function z(L,F){c.value[L]=c.value[L]||{};const te={[L]:F};if(o)for(const oe in te)Qt(te,oe)&&is(te[oe]);F=te[L],qs(F,c.value[L]),x.messages=c.value}function U(L){return u.value[L]||{}}function w(L,F){u.value[L]=F,x.datetimeFormats=u.value,Af(x,L,F)}function S(L,F){u.value[L]=ot(u.value[L]||{},F),x.datetimeFormats=u.value,Af(x,L,F)}function I(L){return f.value[L]||{}}function R(L,F){f.value[L]=F,x.numberFormats=f.value,If(x,L,F)}function Y(L,F){f.value[L]=ot(f.value[L]||{},F),x.numberFormats=f.value,If(x,L,F)}Df++,t&&_i&&(Ge(t.locale,L=>{i&&(a.value=L,x.locale=L,Eo(x,a.value,l.value))}),Ge(t.fallbackLocale,L=>{i&&(l.value=L,x.fallbackLocale=L,Eo(x,a.value,l.value))}));const B={id:Df,locale:N,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(L){i=L,L&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Eo(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:W,get modifiers(){return O},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(L){d=L,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(L){p=L,x.fallbackWarn=p},get fallbackRoot(){return g},set fallbackRoot(L){g=L},get fallbackFormat(){return h},set fallbackFormat(L){h=L,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(L){E=L,x.warnHtmlMessage=L},get escapeParameter(){return m},set escapeParameter(L){m=L,x.escapeParameter=L},t:St,getLocaleMessage:P,setLocaleMessage:$,mergeLocaleMessage:z,getPostTranslationHandler:K,setPostTranslationHandler:V,getMissingHandler:ee,setMissingHandler:ie,[Og]:ne};return B.datetimeFormats=Z,B.numberFormats=H,B.rt=Oe,B.te=pe,B.tm=A,B.d=Ue,B.n=Lt,B.getDateTimeFormat=U,B.setDateTimeFormat=w,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=Y,B[Ig]=n,B[Hl]=j,B[Vl]=q,B[Wl]=J,B}function I0(e){const t=Q(e.locale)?e.locale:ss,n=Q(e.fallbackLocale)||Qe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Be(e.missing)?e.missing:void 0,o=ve(e.silentTranslationWarn)||oo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ve(e.silentFallbackWarn)||oo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ve(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=ye(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Be(e.postTranslation)?e.postTranslation:void 0,f=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ve(e.sync)?e.sync:!0;let g=e.messages;if(ye(e.sharedMessages)){const O=e.sharedMessages;g=Object.keys(O).reduce((x,v)=>{const T=x[v]||(x[v]={});return ot(T,O[v]),x},g||{})}const{__i18n:h,__root:_,__injectWithOption:y}=e,b=e.datetimeFormats,E=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:m,datetimeFormats:b,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:_,__injectWithOption:y}}function Gl(e={}){const t=wi(I0(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ve(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ve(o)?!o:o},get silentFallbackWarn(){return ve(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ve(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function L0(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Nt(It.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=$f(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Gl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=$f(e,o);else{this.$i18n=Gl({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Pg(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=as();if(!r)throw Nt(It.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function $f(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Og](t.pluralizationRules||e.pluralizationRules);const n=Xc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Jc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function P0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===nt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Me())}function Rg(){return nt}const R0=et({name:"i18n-t",props:ot({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>rt(e)||!isNaN(e)}},Jc),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||yo({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Me();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=Q(e.plural)?+e.plural:e.plural);const u=P0(t,l);return o[Hl](e.keypath,u,c)},i=ot(Me(),r),a=Q(e.tag)||we(e.tag)?e.tag:Rg();return we(a)?cr(a,i,{default:s}):cr(a,i,s())}}}),Uf=R0;function N0(e){return Qe(e)&&!Q(e[0])}function Ng(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Me();e.locale&&(c.locale=e.locale),Q(e.format)?c.key=e.format:we(e.format)&&(Q(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,g)=>n.includes(g)?ot(Me(),p,{[g]:e.format[g]}):p,Me()));const f=r(e.value,c,u);let d=[c.key];return Qe(f)?d=f.map((p,g)=>{const h=o[p.type],_=h?h({[p.type]:p.value,index:g,parts:f}):[p.value];return N0(_)&&(_[0].key=`${p.type}-${g}`),_}):Q(f)&&(d=[f]),d},a=ot(Me(),s),l=Q(e.tag)||we(e.tag)?e.tag:Rg();return we(l)?cr(l,a,{default:i}):cr(l,a,i())}}const M0=et({name:"i18n-n",props:ot({value:{type:Number,required:!0},format:{type:[String,Object]}},Jc),setup(e,t){const n=e.i18n||yo({useScope:e.scope,__useComponent:!0});return Ng(e,t,xg,(...r)=>n[Wl](...r))}}),jf=M0;function D0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function F0(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Nt(It.UNEXPECTED_ERROR);const c=D0(e,a.$),u=zf(l);return[Reflect.apply(c.t,c,[...Bf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);_i&&(i.__i18nWatcher=Ge(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{_i&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=zf(a);i.textContent=Reflect.apply(l.t,l,[...Bf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function zf(e){if(Q(e))return{path:e};if(ye(e)){if(!("path"in e))throw Nt(It.REQUIRED_VALUE,"path");return e}else throw Nt(It.INVALID_VALUE)}function Bf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Q(n)&&(i.locale=n),rt(o)&&(i.plural=o),rt(s)&&(i.plural=s),[t,a,i]}function $0(e,t,...n){const r=ye(n[0])?n[0]:{};(!ve(r.globalInstall)||r.globalInstall)&&([Uf.name,"I18nT"].forEach(s=>e.component(s,Uf)),[jf.name,"I18nN"].forEach(s=>e.component(s,jf)),[Wf.name,"I18nD"].forEach(s=>e.component(s,Wf))),e.directive("t",F0(t))}const U0=dr("global-vue-i18n");function j0(e={}){const t=__VUE_I18N_LEGACY_API__&&ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ve(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=z0(e,t),i=dr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),ye(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=q0(f,u.global)),__VUE_I18N_FULL_INSTALL__&&$0(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(L0(s,s.__composer,u));const g=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),g()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function yo(e={}){const t=as();if(t==null)throw Nt(It.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Nt(It.NOT_INSTALLED);const n=B0(t),r=V0(n),o=Lg(t),s=H0(e,o);if(s==="global")return Pg(r,e,o),r;if(s==="parent"){let l=Hf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Nt(It.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ot({},e),u=Hf(n,t);c.__root=u||r;const f=wi(c);return l.__composerExtend&&(f[Gr]=l.__composerExtend(f)),zi()&&Eh(()=>{const p=f[Gr];p&&(p(),delete f[Gr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ot({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=wi(l),i.__composerExtend&&(a[Gr]=i.__composerExtend(a)),G0(i,t,a),i.__setInstance(t,a)}return a}function z0(e,t){const n=Lc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Gl(e)):n.run(()=>wi(e));if(r==null)throw Nt(It.UNEXPECTED_ERROR);return[n,r]}function B0(e){const t=Ht(e.isCE?U0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Nt(e.isCE?It.NOT_INSTALLED_WITH_PROVIDE:It.UNEXPECTED_ERROR);return t}function H0(e,t){return ta(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function V0(e){return e.mode==="composition"?e.global:e.global.__composer}function Hf(e,t,n=!1){let r=null;const o=t.root;let s=W0(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ig]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function W0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function G0(e,t,n){pn(()=>{},t),ho(()=>{const r=n;e.__deleteInstance(t);const o=r[Gr];o&&(o(),delete r[Gr])},t)}const K0=["locale","fallbackLocale","availableLocales"],Vf=["t","rt","d","n","tm","te"];function q0(e,t){const n=Object.create(null);return K0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Nt(It.UNEXPECTED_ERROR);const i=ze(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Vf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Nt(It.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Vf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Y0=et({name:"i18n-d",props:ot({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jc),setup(e,t){const n=e.i18n||yo({useScope:e.scope,__useComponent:!0});return Ng(e,t,kg,(...r)=>n[Vl](...r))}}),Wf=Y0;T0();i0(zC);a0(r0);l0(Ul);if(__INTLIFY_PROD_DEVTOOLS__){const e=wr();e.__INTLIFY__=!0,BC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const X0={class:"app-container"},J0=et({__name:"App",setup(e){const{locale:t}=yo(),n=Pm(),r=cE(n),{params:{compId:o="",instanceUid:s}}=go(),{messageListener:i,sendMessageToTop:a}=ea(),{addListener:l}=i(),c=Zi();return l(Le.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Le.LOCALE_SET,u=>{t.value=u}),a(Le.LOCALE_GET,o,c,s),a(Le.THEME_CHANGE_GET,o,c,s),pn(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=tm("router-view");return ue(),_e("div",X0,[qe(d)])}}}),nn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Q0=nn(J0,[["__scopeId","data-v-288f0b68"]]),Rs=window.parent,Z0=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];Object.defineProperty(window,"parent",{get(){return new Proxy(Rs,{get(e,t){if(Z0.includes(String(t)))return t==="postMessage"?Rs.postMessage.bind(Rs):Reflect.get(Rs,t);console.warn(`🛡️ 阻止访问 parent.${String(t)}`)},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return console.warn(`🛡️ 阻止检测 parent.${String(t)} 是否存在`),!1},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}})},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const ek={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loading:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},tk={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},nk={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},rk={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",guestLogin:"游客访问",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",guest:"游客",notLoggedIn:"未登录",goLogin:"去登录"},ok={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},sk={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},ik={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},ak={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},lk={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},ck={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},uk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},fk={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},dk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},pk={submit:"提交"},hk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},mk={common:ek,comp:tk,team:nk,user:rk,file:ok,message:sk,route:ik,markdown:ak,terminal:lk,deps:ck,setting:uk,upgrade:fk,tag:dk,formCreate:pk,validateHash:hk},gk={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loading:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},yk={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},bk={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},_k={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",guestLogin:"Guest Access",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",guest:"Guest",notLoggedIn:"Not logged in",goLogin:"Go to Login"},vk={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},wk={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},Ek={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},Sk={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},Ck={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},kk={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},xk={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Tk={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},Ak={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},Ok={submit:"Submit"},Ik={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},Lk={common:gk,comp:yk,team:bk,user:_k,file:vk,message:wk,route:Ek,markdown:Sk,terminal:Ck,deps:kk,setting:xk,upgrade:Tk,tag:Ak,formCreate:Ok,validateHash:Ik},Pk={zh:mk,en:Lk},Rk=localStorage.getItem(KS.LOCALE_KEY)||"zh",Nk=j0({locale:Rk,messages:Pk,legacy:!1});function Mk(e){e.use(Nk)}let Mg;const oa=e=>Mg=e,Dg=Symbol();function Kl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Go;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Go||(Go={}));function Dk(){const e=Lc(!0),t=e.run(()=>de({}));let n=[],r=[];const o=Mc({install(s){oa(o),o._a=s,s.provide(Dg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Fg=()=>{};function Gf(e,t,n,r=Fg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&zi()&&Eh(o),o}function Nr(e,...t){e.forEach(n=>{n(...t)})}const Fk=e=>e(),Kf=Symbol(),ja=Symbol();function ql(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Kl(o)&&Kl(r)&&e.hasOwnProperty(n)&&!ze(r)&&!Wn(r)?e[n]=ql(o,r):e[n]=r}return e}const $k=Symbol();function Uk(e){return!Kl(e)||!Object.prototype.hasOwnProperty.call(e,$k)}const{assign:tr}=Object;function jk(e){return!!(ze(e)&&e.effect)}function zk(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=lv(n.state.value[e]);return tr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Mc(X(()=>{oa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=$g(e,c,t,n,r,!0),l}function $g(e,t,n={},r,o,s){let i;const a=tr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const g=r.state.value[e];!s&&!g&&(r.state.value[e]={});let h;function _(v){let T;c=u=!1,typeof v=="function"?(v(r.state.value[e]),T={type:Go.patchFunction,storeId:e,events:p}):(ql(r.state.value[e],v),T={type:Go.patchObject,payload:v,storeId:e,events:p});const N=h=Symbol();fr().then(()=>{h===N&&(c=!0)}),u=!0,Nr(f,T,r.state.value[e])}const y=s?function(){const{state:T}=n,N=T?T():{};this.$patch(M=>{tr(M,N)})}:Fg;function b(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(v,T="")=>{if(Kf in v)return v[ja]=T,v;const N=function(){oa(r);const M=Array.from(arguments),W=new Set,Z=new Set;function H(ee){W.add(ee)}function K(ee){Z.add(ee)}Nr(d,{args:M,name:N[ja],store:O,after:H,onError:K});let V;try{V=v.apply(this&&this.$id===e?this:O,M)}catch(ee){throw Nr(Z,ee),ee}return V instanceof Promise?V.then(ee=>(Nr(W,ee),ee)).catch(ee=>(Nr(Z,ee),Promise.reject(ee))):(Nr(W,V),V)};return N[Kf]=!0,N[ja]=T,N},m={_p:r,$id:e,$onAction:Gf.bind(null,d),$patch:_,$reset:y,$subscribe(v,T={}){const N=Gf(f,v,T.detached,()=>M()),M=i.run(()=>Ge(()=>r.state.value[e],W=>{(T.flush==="sync"?u:c)&&v({storeId:e,type:Go.direct,events:p},W)},tr({},l,T)));return N},$dispose:b},O=ps(m);r._s.set(e,O);const x=(r._a&&r._a.runWithContext||Fk)(()=>r._e.run(()=>(i=Lc()).run(()=>t({action:E}))));for(const v in x){const T=x[v];if(ze(T)&&!jk(T)||Wn(T))s||(g&&Uk(T)&&(ze(T)?T.value=g[v]:ql(T,g[v])),r.state.value[e][v]=T);else if(typeof T=="function"){const N=E(T,v);x[v]=N,a.actions[v]=T}}return tr(O,x),tr(be(O),x),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:v=>{_(T=>{tr(T,v)})}}),r._p.forEach(v=>{tr(O,i.run(()=>v({store:O,app:r._a,pinia:r,options:a})))}),g&&s&&n.hydrate&&n.hydrate(O.$state,g),c=!0,u=!0,O}function Ug(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=Fc();return i=i||(l?Ht(Dg,null):null),i&&oa(i),i=Mg,i._s.has(e)||(o?$g(e,t,r,i):zk(e,r,i)),i._s.get(e)}return s.$id=e,s}function Bk({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const qf=Dk();function Hk(e){qf.use(Bk),e.use(qf)}var Vk=typeof global=="object"&&global&&global.Object===Object&&global,Wk=typeof self=="object"&&self&&self.Object===Object&&self,Gk=Vk||Wk||Function("return this")(),Ei=Gk.Symbol,jg=Object.prototype,Kk=jg.hasOwnProperty,qk=jg.toString,So=Ei?Ei.toStringTag:void 0;function Yk(e){var t=Kk.call(e,So),n=e[So];try{e[So]=void 0;var r=!0}catch{}var o=qk.call(e);return r&&(t?e[So]=n:delete e[So]),o}var Xk=Object.prototype,Jk=Xk.toString;function Qk(e){return Jk.call(e)}var Zk="[object Null]",ex="[object Undefined]",Yf=Ei?Ei.toStringTag:void 0;function zg(e){return e==null?e===void 0?ex:Zk:Yf&&Yf in Object(e)?Yk(e):Qk(e)}function tx(e){return e!=null&&typeof e=="object"}var nx="[object Symbol]";function rx(e){return typeof e=="symbol"||tx(e)&&zg(e)==nx}var ox=/\s/;function sx(e){for(var t=e.length;t--&&ox.test(e.charAt(t)););return t}var ix=/^\s+/;function ax(e){return e&&e.slice(0,sx(e)+1).replace(ix,"")}function Si(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xf=NaN,lx=/^[-+]0x[0-9a-f]+$/i,cx=/^0b[01]+$/i,ux=/^0o[0-7]+$/i,fx=parseInt;function dx(e){if(typeof e=="number")return e;if(rx(e))return Xf;if(Si(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Si(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ax(e);var n=cx.test(e);return n||ux.test(e)?fx(e.slice(2),n?2:8):lx.test(e)?Xf:+e}var Jf=1/0,px=17976931348623157e292;function Qf(e){if(!e)return e===0?e:0;if(e=dx(e),e===Jf||e===-Jf){var t=e<0?-1:1;return t*px}return e===e?e:0}var hx="[object AsyncFunction]",mx="[object Function]",gx="[object GeneratorFunction]",yx="[object Proxy]";function bx(e){if(!Si(e))return!1;var t=zg(e);return t==mx||t==gx||t==hx||t==yx}var _x=9007199254740991,vx=/^(?:0|[1-9]\d*)$/;function wx(e,t){var n=typeof e;return t=t??_x,!!t&&(n=="number"||n!="symbol"&&vx.test(e))&&e>-1&&e%1==0&&e<t}function Ex(e,t){return e===t||e!==e&&t!==t}var Sx=9007199254740991;function Cx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Sx}function kx(e){return e!=null&&Cx(e.length)&&!bx(e)}function xx(e,t,n){if(!Si(n))return!1;var r=typeof t;return(r=="number"?kx(n)&&wx(t,n.length):r=="string"&&t in n)?Ex(n[t],e):!1}var Tx=Math.floor,Ax=Math.random;function Ox(e,t){return e+Tx(Ax()*(t-e+1))}var Ix=parseFloat,Lx=Math.min,Px=Math.random;function Rx(e,t,n){if(n&&typeof n!="boolean"&&xx(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=Qf(e),t===void 0?(t=e,e=0):t=Qf(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Px();return Lx(e+o*(t-e+Ix("1e-"+((o+"").length-1))),t)}return Ox(e,t)}const Bg=/^[a-z0-9]+(-[a-z0-9]+)*$/,sa=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Ys(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Ys(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Ys(a,n)?null:a}return null},Ys=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Nx(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const Hg=Object.freeze({left:0,top:0,width:16,height:16}),Ci=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ia=Object.freeze({...Hg,...Ci}),Yl=Object.freeze({...ia,body:"",hidden:!1});function Mx(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Zf(e,t){const n=Mx(e,t);for(const r in Yl)r in Ci?r in e&&!(r in n)&&(n[r]=Ci[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Dx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Zf(r[a]||o[a],s)}return i(t),n.forEach(i),Zf(e,s)}function Vg(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Nx(e);for(const o in r){const s=r[o];s&&(t(o,Dx(e,o,s)),n.push(o))}return n}const Fx={provider:"",aliases:{},not_found:{},...Hg};function za(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Wg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!za(e,Fx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!za(s,Yl))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!za(s,Yl))return null}return t}const ed=Object.create(null);function $x(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function io(e,t){const n=ed[e]||(ed[e]=Object.create(null));return n[t]||(n[t]=$x(e,t))}function Gg(e,t){return Wg(t)?Vg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ux(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Kg(e){return typeof e=="boolean"&&(ls=e),ls}function jx(e){const t=typeof e=="string"?sa(e,!0,ls):e;if(t){const n=io(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function zx(e,t){const n=sa(e,!0,ls);if(!n)return!1;const r=io(n.provider,n.prefix);return t?Ux(r,n.name,t):(r.missing.add(n.name),!0)}function Bx(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Wg(e)&&(e.prefix="",Vg(e,(o,s)=>{zx(o,s)&&(r=!0)})),r}const n=e.prefix;return Ys({prefix:n,name:"a"})?!!Gg(io(t,n),e):!1}const qg=Object.freeze({width:null,height:null}),Yg=Object.freeze({...qg,...Ci}),Hx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Vx=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function td(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Hx);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Vx.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function Wx(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function Gx(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Kx(e,t,n){const r=Wx(e);return Gx(r.defs,t+r.content+n)}const qx=e=>e==="unset"||e==="undefined"||e==="none";function Yx(e,t){const n={...ia,...e},r={...Yg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const _=[],y=h.hFlip,b=h.vFlip;let E=h.rotate;y?b?E+=2:(_.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),_.push("scale(-1 1)"),o.top=o.left=0):b&&(_.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),_.push("scale(1 -1)"),o.top=o.left=0);let m;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:m=o.height/2+o.top,_.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:_.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:m=o.width/2+o.left,_.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}E%2===1&&(o.left!==o.top&&(m=o.left,o.left=o.top,o.top=m),o.width!==o.height&&(m=o.width,o.width=o.height,o.height=m)),_.length&&(s=Kx(s,'<g transform="'+_.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=td(f,l/c)):(u=i==="auto"?l:i,f=a===null?td(u,c/l):a==="auto"?c:a);const d={},p=(h,_)=>{qx(_)||(d[h]=_.toString())};p("width",u),p("height",f);const g=[o.left,o.top,l,c];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:s}}const Xx=/\sid="(\S+)"/g,nd=new Map;function Jx(e){e=e.replace(/[0-9]+$/,"")||"a";const t=nd.get(e)||0;return nd.set(e,t+1),t?`${e}${t}`:e}function Qx(e){const t=[];let n;for(;n=Xx.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=Jx(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Xl=Object.create(null);function Zx(e,t){Xl[e]=t}function Jl(e){return Xl[e]||Xl[""]}function Qc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Zc=Object.create(null),Co=["https://api.simplesvg.com","https://api.unisvg.com"],Xs=[];for(;Co.length>0;)Co.length===1||Math.random()>.5?Xs.push(Co.shift()):Xs.push(Co.pop());Zc[""]=Qc({resources:["https://api.iconify.design"].concat(Xs)});function eT(e,t){const n=Qc(t);return n===null?!1:(Zc[e]=n,!0)}function eu(e){return Zc[e]}const tT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let rd=tT();function nT(e,t){const n=eu(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function rT(e){return e===404}const oT=(e,t,n)=>{const r=[],o=nT(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function sT(e){if(typeof e=="string"){const t=eu(e);if(t)return t.path}return"/"}const iT=(e,t,n)=>{if(!rd){n("abort",424);return}let r=sT(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;rd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(rT(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},aT={prepare:oT,send:iT};function Xg(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function lT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Xg([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let cT=0;function uT(e,t,n){const r=cT++,o=Xg.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function fT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=io(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function dT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?sa(o,t,n):o;s&&r.push(s)}),r}const pT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function hT(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const x=Math.floor(Math.random()*C.length);i.push(C[x]),C=C.slice(0,x).concat(C.slice(x+1))}i=i.concat(C)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function g(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),g(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function _(C,x){x&&(p=[]),typeof C=="function"&&p.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:_,abort:h}}function b(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,x,v){const T=x!=="success";switch(d=d.filter(N=>N!==C),l){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=v,b();return}if(T){u=v,d.length||(i.length?O():b());return}if(g(),E(),!e.random){const N=e.resources.indexOf(C.resource);N!==-1&&N!==e.index&&(e.index=N)}l="completed",p.forEach(N=>{N(v)})}function O(){if(l!=="pending")return;g();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{g(),l==="pending"&&(E(),b())},e.timeout);return}b();return}const x={status:"pending",resource:C,callback:(v,T)=>{m(x,v,T)}};d.push(x),c++,f=setTimeout(O,e.rotate),n(C,t,x.callback)}return setTimeout(O),y}function Jg(e){const t={...pT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=hT(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function od(){}const Ba=Object.create(null);function mT(e){if(!Ba[e]){const t=eu(e);if(!t)return;Ba[e]={config:t,redundancy:Jg(t)}}return Ba[e]}function gT(e,t,n){let r,o;if(typeof e=="string"){const s=Jl(e);if(!s)return n(void 0,424),od;o=s.send;const i=mT(e);i&&(r=i.redundancy)}else{const s=Qc(e);if(s){r=Jg(s);const i=Jl(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),od):r.query(t,o,n)().abort}function sd(){}function yT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lT(e)}))}function bT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Bg)?t:n).push(r)}),{valid:t,invalid:n}}function ko(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!Gg(e,n).length){r();return}}catch(o){console.error(o)}r(),yT(e)}function id(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function _T(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){id(e.loadIcons(o,r,n),c=>{ko(e,o,c)});return}if(s){o.forEach(c=>{id(s(c,r,n),u=>{ko(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=bT(o);if(a.length&&ko(e,a,null),!i.length)return;const l=r.match(Bg)?Jl(n):null;if(!l){ko(e,i,null);return}l.prepare(n,r,i).forEach(c=>{gT(n,c,u=>{ko(e,c.icons,u)})})}))}const vT=(e,t)=>{const n=fT(dT(e,!0,Kg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,sd)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(io(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=io(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&_T(a,l)}),t?uT(t,n,o):sd};function wT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in qg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ET=/[\s,]+/;function ST(e,t){t.split(ET).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function kT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function xT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function TT(e){return"data:image/svg+xml,"+xT(e)}function AT(e){return'url("'+TT(e)+'")'}const ad={...Yg,inline:!1},OT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},IT={display:"inline-block"},Ql={backgroundColor:"currentColor"},Qg={backgroundColor:"transparent"},ld={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},cd={webkitMask:Ql,mask:Ql,background:Qg};for(const e in cd){const t=cd[e];for(const n in ld)t[e+n]=ld[n]}const Js={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Js[e+"-flip"]=t,Js[e.slice(0,1)+"-flip"]=t,Js[e+"Flip"]=t});function ud(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const fd=(e,t)=>{const n=wT(ad,t),r={...OT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const _=t[h];if(_!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[h]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&ST(n,_);break;case"color":s.color=_;break;case"rotate":typeof _=="string"?n[h]=CT(_):typeof _=="number"&&(n[h]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete r["aria-hidden"];break;default:{const y=Js[h];y?(_===!0||_==="true"||_===1)&&(n[y]=!0):ad[h]===void 0&&(r[h]=_)}}}const l=Yx(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=Qx(l.body),cr("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),g=kT(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":AT(g),width:ud(c.width),height:ud(c.height),...IT,...p?Ql:Qg,...a},cr("span",r)};Kg(!0);Zx("",aT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Bx(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;eT(n,o)||console.error(r)}catch{console.error(r)}}}}const LT={...ia,body:""},PT=et((e,{emit:t})=>{const n=de(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=de(!!e.ssr),s=de(""),i=Tn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=sa(c,!1,!0))===null)return null;let f=jx(u);if(!f){const g=n.value;return(!g||g.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:vT([u],l)}),null}r(),s.value!==c&&(s.value=c,fr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const g=d(f.body,u.name,u.prefix,u.provider);typeof g=="string"&&(f.body=g)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():pn(()=>{o.value=!0,l()}),Ge(()=>e.icon,l),ho(r),()=>{const c=i.value;if(!c)return fd(LT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),fd({...ia,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function RT(e){e.component("Icon",PT)}const aa="v-loading-mask",Zg="v-loading-spinner",ey="v-loading-parent";function NT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function MT(){const e=document.createElement("div");e.className=aa,e.innerHTML=`<div class="${Zg}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=NT(),t.zIndex="999",t.borderRadius="inherit",e}function DT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
4
4
|
.${Zg} {
|
|
5
5
|
width: 40px;
|
|
6
6
|
height: 40px;
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
`,i+1),l=a===-1?"":s.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
|
|
36
36
|
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Lr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&si.assertOptions(r,{silentJSONParsing:qt.transitional(qt.boolean),forcedJSONParsing:qt.transitional(qt.boolean),clarifyTimeoutError:qt.transitional(qt.boolean),legacyInterceptorReqResOrdering:qt.transitional(qt.boolean)},!1),o!=null&&(D.isFunction(o)?n.paramsSerializer={serialize:o}:si.assertOptions(o,{encode:qt.function,serialize:qt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),si.assertOptions(n,{baseUrl:qt.spelling("baseURL"),withXsrfToken:qt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&D.merge(s.common,s[n.method]);s&&D.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),n.headers=Dt.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;l=l&&h.synchronous;const _=n.transitional||Su;_&&_.legacyInterceptorReqResOrdering?a.unshift(h.fulfilled,h.rejected):a.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,f=0,d;if(!l){const g=[ih.bind(this),void 0];for(g.unshift(...a),g.push(...c),d=g.length,u=Promise.resolve(n);f<d;)u=u.then(g[f++],g[f++]);return u}d=a.length;let p=n;for(;f<d;){const g=a[f++],h=a[f++];try{p=g(p)}catch(_){h.call(this,_);break}}try{u=ih.call(this,p)}catch(g){return Promise.reject(g)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=Lr(this.defaults,t);const n=u_(t.baseURL,t.url,t.allowAbsoluteUrls);return i_(n,t.params,t.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(t){Tr.prototype[t]=function(n,r){return this.request(Lr(r||{},{method:t,url:n,data:(r||{}).data}))}});D.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Lr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Tr.prototype[t]=n(),Tr.prototype[t+"Form"]=n(!0)});let zF=class m_{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Ss(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new m_(function(o){t=o}),cancel:t}}};function BF(e){return function(n){return e.apply(null,n)}}function HF(e){return D.isObject(e)&&e.isAxiosError===!0}const xc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(xc).forEach(([e,t])=>{xc[t]=e});function g_(e){const t=new Tr(e),n=Yb(Tr.prototype.request,t);return D.extend(n,Tr.prototype,t,{allOwnKeys:!0}),D.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return g_(Lr(e,o))},n}const Ze=g_(Es);Ze.Axios=Tr;Ze.CanceledError=Ss;Ze.CancelToken=zF;Ze.isCancel=l_;Ze.VERSION=h_;Ze.toFormData=wa;Ze.AxiosError=re;Ze.Cancel=Ze.CanceledError;Ze.all=function(t){return Promise.all(t)};Ze.spread=BF;Ze.isAxiosError=HF;Ze.mergeConfig=Lr;Ze.AxiosHeaders=Dt;Ze.formToJSON=e=>a_(D.isHTMLForm(e)?new FormData(e):e);Ze.getAdapter=p_.getAdapter;Ze.HttpStatusCode=xc;Ze.default=Ze;const{Axios:vU,AxiosError:wU,CanceledError:EU,isCancel:SU,CancelToken:CU,VERSION:kU,all:xU,Cancel:TU,isAxiosError:AU,spread:OU,toFormData:IU,AxiosHeaders:LU,HttpStatusCode:PU,formToJSON:RU,getAdapter:NU,mergeConfig:MU}=Ze,y_=new Map,VF={baseURL:"",timeout:1e4};function WF(e,t){const n=Ze.create({...VF,...t});return y_.set(e,n),n}function GF(e="default"){const t=y_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function KF(e,t){const n=e.split("/")[0],r=GF(n);return e=e.replace(n,""),r.request({url:e,...t})}async function qF(e,t){return KF("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const YF=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:qF},Symbol.toStringTag,{value:"Module"})),lh={v1Preprocessing:YF},ch=[".png",".jpg",".jpeg",".gif"],XF=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r})=>{const o={moduleCache:e,pathResolve({refPath:s,relPath:i},a){if(i===".")return s;if(a.moduleCache[i])return i;const l=t[i];if(l)return lg.PREBUILD_MODULE_SKIP_EXT.some(c=>l.endsWith(c))?new URL(`${Ne.NODE_MODULES_LOAD_PREFIX}/${l}`,window.location.origin).href:new URL(`${Ne.MODULE_LOAD_PREFIX}/${l}`,window.location.origin).href;if(n?.length&&s){const{origin:c,pathname:u}=new URL(s),f=`${c}${u}`,d=new URL(i,f),p=n.find(g=>g.signedUrl.startsWith(d.href));if(p)return p.signedUrl}return String(new URL(i,s??window.location.href))},async getFile(s){const i=s.toString(),a=new URL(s).pathname;if(ch.some(c=>a.endsWith(c))){const c=await fetch(i);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+s),{res:c});const u=await c.blob();return URL.createObjectURL(u)}const l=await fetch(i);if(!l.ok)throw Object.assign(new Error(l.statusText+" "+s),{res:l});return{type:YM(l.url),getContentData:c=>c?l.arrayBuffer():l.text()}},async addStyle(s,i,a){let l=s;a&&s&&(l=qM(s,a,n||[])),document.head.querySelector(`style#${i}`)?.remove();const u=Object.assign(document.createElement("style"),{textContent:l,...i?{id:i}:{}});document.head.appendChild(u)},async processStyles(s,i){if(s.trim()&&i){const l=await lh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:s,precompilerType:i}),{preprocessedCode:c}=l.data;return c}return s},async handleModule(s,i){if(ch.includes(s))return await i(!1);switch(s){case".css":{const a=await i(!1);return typeof a=="string"&&await o.addStyle(a),null}case".less":case".scss":case".sass":{const a=await i(!1),c={".scss":"scss",".sass":"sass",".less":"less"}[s];if(typeof a=="string"){const u=a.trim();if(u){const f=await lh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:u,precompilerType:c}),{preprocessedCode:d}=f.data;await o.addStyle(d)}}return null}}},compiledCache:{async set(s,i){try{await Vp().put(Ne.INDEX_DB_TABLE_NAME,{hash:s,code:i})}catch(a){console.error("将编译后的模块存储到IndexedDB失败",a)}},async get(s){try{return(await Vp().get(Ne.INDEX_DB_TABLE_NAME,s))?.code??void 0}catch(i){console.error("从IndexedDB获取编译后的模块失败",i),r?.(i);return}}},log(s,...i){(s==="error"||s==="warn")&&r?.(new Error(i.join(`
|
|
37
37
|
`)))}};return o};function xu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function JF(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${xu(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function QF(e,t,n="hl"){if(!t?.trim())return e;const r=xu(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function ZF(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const b_=e=>e.replace(/[/\\]/g,"/"),e$=(e,t="/")=>e.replace(/[\\/]+/g,t);function t$(){return"#"+Rx(0,16777215).toString(16).padStart(6,"0")}const n$=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),__=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Tc=e=>{if(Array.isArray(e))return e.map(n=>Tc(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=__(n);t[r]=Tc(e[n])}return t};function r$(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function o$(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function v_(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
|
|
38
|
-
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function s$(e){return v_(e).valid}const i$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Tc,escapeRegExp:xu,findKeywordLineIndex:ZF,generateNumberString:o$,highlightText:QF,isEmail:n$,isValidHash:s$,randomColor:t$,replaceBackslashWithSlash:b_,replaceSlashWithSpecifiedSeparator:e$,splitTextByKeyword:JF,toCamelCase:__,validateCompName:r$,validateHash:v_},Symbol.toStringTag,{value:"Module"}));function a$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=b_(n);return`${e.replace(Ne.FILE_MANAGER_DIRNAME,"")}${r}`}function l$(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const c$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:a$,handleDepData:l$},Symbol.toStringTag,{value:"Module"})),uh=/^[\^~>=<]+/,w_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function u$(e){return w_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(uh),n=t?t[0]:"",r=e.replace(uh,"").match(w_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function f$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function d$(e){return Pn(e).majorVersion}function p$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Pn(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Wr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=Ne;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function h$(e,t){const n=Pn(e),r=Pn(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Wr(e,t.replace(">=",""))>=0;case">":return Wr(e,t.replace(">",""))>0;case"<=":return Wr(e,t.replace("<=",""))<=0;case"<":return Wr(e,t.replace("<",""))<0;case"=":case"":return Wr(e,t.replace("=",""))===0;default:return!1}}function m$(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Pn(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const g$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Wr,getMajorVersion:d$,isVersionEqual:f$,parseDependencies:p$,parseVersion:Pn,satisfiesRange:h$,validateVersion:u$,versionToNumber:m$},Symbol.toStringTag,{value:"Module"})),y$=["id","aria-label","aria-disabled"],b$=["onClick"],_$=["name","value","checked","disabled","onChange"],v$={class:"segmented__label"},w$=et({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=de(),s=de({opacity:"0"}),i=X(()=>n.segProps?.value||"value"),a=X(()=>n.segProps?.label||"label"),l=X(()=>n.segProps?.disabled||"disabled");function c(_){return typeof _=="object"&&_!==null?_[i.value]:_}function u(_){return typeof _=="object"&&_!==null?_[a.value]:_}function f(_){return n.disabled?!0:typeof _=="object"&&_!==null?!!_[l.value]:!1}const d=X(()=>n.options.map(_=>typeof _=="object"&&_!==null?{..._,[i.value]:_[i.value],[a.value]:_[a.value],[l.value]:_[l.value]}:_));function p(_){return c(_)===n.modelValue}function g(_){if(f(_))return;const y=c(_);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){fr(()=>{const _=o.value?.parentElement;if(!_)return;const y=_.querySelectorAll(".segmented__item");let b=null;for(let O=0;O<y.length;O++){const C=y.item(O);if(C&&C.classList.contains("is-selected")){b=C;break}}if(!b){s.value={opacity:"0"};return}const E=_.getBoundingClientRect(),m=b.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${m.width}px`,height:`${m.height}px`,transform:`translateY(${m.top-E.top}px)`}:s.value={opacity:"1",width:`${m.width}px`,height:`${m.height}px`,transform:`translateX(${m.left-E.left}px)`}})}return Ge(()=>n.modelValue,h),Ge(()=>n.options,h),Ge(()=>n.direction,h),pn(h),(_,y)=>(ue(),_e("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:He(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[We("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:At(s.value)},null,4),(ue(!0),_e(nt,null,no(d.value,(b,E)=>(ue(),_e("label",{key:c(b),class:He(["segmented__item",{"is-selected":p(b),"is-disabled":f(b)}]),onClick:m=>g(b)},[We("input",{type:"radio",class:"segmented__input",name:e.name,value:c(b),checked:p(b),disabled:f(b),onChange:m=>g(b)},null,40,_$),We("span",v$,[lr(_.$slots,"default",{item:b,index:E},()=>[gi(Ar(u(b)),1)],!0)])],10,b$))),128))],10,y$))}}),E$=nn(w$,[["__scopeId","data-v-652cb401"]]),S$={class:"ec-list"},C$={class:"ec-actions"},k$=et({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=yo(),n=Pm();return(r,o)=>(ue(),_e("div",{class:He(["ec-outer",Ve(n)?"ec-outer--dark":"ec-outer--light"])},[We("div",{class:He(["ec-inner",Ve(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=We("div",{class:"ec-icon"},"🔧",-1)),We("h4",{class:He(["ec-title",Ve(n)?"ec-title--dark":"ec-title--light"])},Ar(Ve(t)("comp.compileError")),3),We("div",S$,[(ue(!0),_e(nt,null,no(e.error,(s,i)=>(ue(),_e("div",{key:i,class:He(["ec-item",Ve(n)?"ec-item--dark":"ec-item--light"])},Ar(s),3))),128))]),We("div",C$,[lr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),x$=nn(k$,[["__scopeId","data-v-4fc36929"]]),T$=et({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ue(),_e("div",{class:He(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ue(),_e("div",{key:0,class:He(["card__header",e.headerClass])},[lr(t.$slots,"header",{},()=>[gi(Ar(e.header),1)],!0)],2)):en("",!0),We("div",{class:He(["card__body",e.bodyClass]),style:At(e.bodyStyle)},[lr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ue(),_e("div",{key:1,class:He(["card__footer",e.footerClass])},[lr(t.$slots,"footer",{},()=>[gi(Ar(e.footer),1)],!0)],2)):en("",!0)],2))}}),E_=nn(T$,[["__scopeId","data-v-18822aad"]]),A$=et({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(r.initialIndex),i=de(!1),a=de(!1),l=de(),c=de([]);function u(H){c.value.push(H)}function f(H){const K=c.value.findIndex(V=>V.uid===H);K!==-1&&(c.value.splice(K,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=X(()=>r.direction==="vertical"),p=X(()=>r.type==="card"),g=X(()=>r.cardScale);Bo("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:g,translating:X(()=>i.value),animating:X(()=>i.value),slideTo:O});const h=X(()=>{const H={};return r.height&&r.height!=="auto"&&(H.height=r.height),H}),_=X(()=>{if(p.value)return{};if(c.value.length===0)return{};const K=-s.value*100;return d.value?{transform:`translateY(${K}%)`}:{transform:`translateX(${K}%)`}}),y=X(()=>r.trigger==="click"?"click":"mouseenter"),b=X(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=X(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function m(H){const K=c.value.length;return K===0?0:r.loop?(H%K+K)%K:Math.max(0,Math.min(H,K-1))}function O(H){if(c.value.length===0)return;const V=m(H);if(V===s.value)return;const ee=s.value;s.value=V,i.value=!0,o("change",V,ee),setTimeout(()=>{i.value=!1},400)}function C(){O(s.value+1)}function x(){O(s.value-1)}function v(H){if(typeof H=="number"){O(H);return}const K=c.value.findIndex(V=>V.name===H);K!==-1&&O(K)}let T=null;function N(){M(),!(!r.autoplay||c.value.length<=1)&&(T=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){T!==null&&(clearInterval(T),T=null)}function W(){a.value=!0}function Z(){a.value=!1}return Ge(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&N()}),Ge(()=>r.autoplay,H=>{H?N():M()}),Ge(()=>r.interval,()=>{r.autoplay&&N()}),pn(()=>{r.autoplay&&N()}),Xi(()=>{M()}),t({activeIndex:s,setActiveItem:v,prev:x,next:C}),(H,K)=>(ue(),_e("div",{ref_key:"carouselRef",ref:l,class:He(["carousel",[`carousel--${e.direction}`]]),style:At(h.value),onMouseenter:W,onMouseleave:Z},[We("div",{class:He(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[We("div",{class:He(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:At(_.value)},[lr(H.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ue(),_e("button",{key:0,class:He(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:At(b.value),onClick:af(x,["stop"])},[...K[0]||(K[0]=[We("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):en("",!0),e.arrow!=="never"&&c.value.length>1?(ue(),_e("button",{key:1,class:He(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:At(E.value),onClick:af(C,["stop"])},[...K[1]||(K[1]=[We("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):en("",!0),c.value.length>1?(ue(),_e("ul",{key:2,class:He(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ue(!0),_e(nt,null,no(c.value,(V,ee)=>(ue(),_e("li",ts({key:V.uid,class:["carousel__indicator",{"carousel__indicator--active":ee===s.value}]},{[Gs(y.value)]:ie=>v(ee)}),[We("span",null,Ar(V.label||""),1)],16))),128))],2)):en("",!0)],38))}}),O$=nn(A$,[["__scopeId","data-v-5492987f"]]),I$=et({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=de(!1),r=Ht("carousel"),o=de(0);pn(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Xi(()=>{r?.removeItem(o.value)});const s=X(()=>r?.items.value??[]),i=X(()=>r?.activeIndex.value??0),a=X(()=>r?.isCard.value??!1),l=X(()=>r?.cardScale.value??.83),c=X(()=>s.value.findIndex(h=>h.uid===o.value)),u=X(()=>c.value===i.value),f=X(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=X(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=X(()=>{if(a.value&&s.value.length>1){const h=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${h})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${h})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${h})`,zIndex:1,opacity:0}}return{}});function g(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,_)=>qh((ue(),_e("div",{class:He(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:At(p.value),onClick:g},[lr(h.$slots,"default",{},void 0,!0)],6)),[[Ow,n.value]])}}),L$=nn(I$,[["__scopeId","data-v-9638f2b6"]]);var kl,fh;function P$(){if(fh)return kl;fh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,g=-1,h=0;h<=p;++h){if(h===p){if(d>p){if(i.charCodeAt(u+h)===47)return i.slice(u+h+1);if(h===0)return i.slice(u+h)}else c>p&&(s.charCodeAt(a+h)===47?g=h:h===0&&(g=0));break}var _=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(_!==y)break;_===47&&(g=h)}var b="";for(h=a+g+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+i.slice(u+g):(u+=g,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,g=s.length-1,h=0;g>=c;--g){if(a=s.charCodeAt(g),a===47){if(!p){f=g+1;break}continue}d===-1&&(p=!1,d=g+1),a===46?u===-1?u=g:h!==1&&(h=1):u!==-1&&(h=-1)}return u===-1||d===-1||h===0||h===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,kl=r,kl}var S_=P$();function R$(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}const N$=Ug("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},async loadSfcLoader(e){const t=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(t)return t;const n=!1,{params:{isSfc:r}}=go(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=S_.join(`/${Ne.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await R$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),M$={class:"async-comp-wrapper"},D$={key:0,class:"async-comp-error"},F$=et({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{};const r=N$(),o=Jh("compContainer"),s=de(!1),i=de(""),a=de(""),l=de(""),c=de(""),u=de([]),f=X(()=>t.finalEntryUrl),d=X(()=>({"async-comp-overflow-auto":t.panelType===Ne.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===Ne.COMP_EDIT_TAB_TYPE_MINI})),p=X(()=>{const v=[...u.value,i.value,a.value,l.value,c.value].filter(Boolean);return[...new Set(v)]}),g=()=>{i.value="",a.value="",l.value="",c.value="",u.value=[]},h=v=>{s.value=v},_=()=>{const v={};(t.dep?.map(N=>N.name)||[]).forEach(N=>{if(!t.depToFile[N]){const M=t.dep?.find(Z=>Z.name===N),W=M?.parent?.name||M?.name||"";v[W]=`${W}${M?.version||""}`}}),Object.keys(v).length&&(c.value=Object.values(v).map(N=>`${N} uninstalled`).join(`
|
|
39
|
-
`))},y=async()=>{const v=[...t.dep];return v.sort((N,M)=>N.name==="vue"?-1:M.name==="vue"?1:0),await v.reduce(async(N,M)=>{const{name:W}=M,Z=await N,H=t.depToFile[W];if(!H||lg.PREBUILD_MODULE_SKIP_EXT.find(V=>H.endsWith(V)))return Z;try{const V=await XA(()=>import(`${Ne.MODULE_LOAD_PREFIX}/${H}`),[]);Z[W]={...V.default,...V,__esModule:!0}}finally{return Z}},Promise.resolve({}))},b=async v=>{if(t.localCompRootPath){const T=S_.join(t.localCompRootPath,Ne.COMP_ENTRY_FILE);await XM(T)&&await v(T)}else if(t.signedUrls?.length){const T=t.signedUrls.find(N=>N.path===`/${Ne.COMP_ENTRY_FILE}`);T&&await v(T.signedUrl)}},E=async v=>{const T=await r.loadSfcLoader("vue3"),{loadModule:N}=T,M=await N("vue",v),{createApp:W,defineAsyncComponent:Z}=M;if(!W||!Z){i.value="createApp or defineAsyncComponent is not defined",h(!1);return}const H=Z({loader:async()=>(h(!1),await N(f.value,v)),delay:100,timeout:2e4,onError:(V,ee,ie)=>{if(h(!1),console.error(`onError:${V.message}`),i.value=V.message,V)return ie()}}),K=W({template:"<AsyncComp />"});return M.app=K,await b(async V=>{await N(V,v)}),K.component("AsyncComp",H),K.config.globalProperties.$getScaleStyle=({mode:V,width:ee,height:ie})=>Id(o.value,V,ee,ie),K.config.errorHandler=V=>{console.error(V),console.error(`errorHandler:${V}`),a.value=V,h(!1)},K.config.warnHandler=function(V){console.warn(V),console.warn(`warnHandler:${V}`),a.value=V,h(!1)},K},m=async v=>{try{const T=await r.loadSfcLoader("vue2"),{loadModule:N}=T,M=await N("vue",v);M.default.prototype.$getScaleStyle=({mode:H,width:K,height:V})=>Id(o.value,H,K,V),M.default.config.errorHandler=function(H){console.error(H),console.error(`errorHandler:${H}`),a.value=H,h(!1)},M.default.config.warnHandler=function(H){console.warn(H),console.warn(`warnHandler:${H}`),a.value=H,h(!1)},await b(async H=>{await N(H,v)});const W=await N(f.value,v),Z=new M.default(W);return h(!1),Z}catch(T){return console.error(T),console.error(`sfcLoaderError:${T?.message??T}`),l.value=T?.message??String(T),null}finally{h(!1)}},O=(v,T)=>v.mount?(v.mount(T),N=>{console.log("vue3组件卸载"),v?.unmount(),T.remove(),N?.()}):(v.$mount(T),N=>{console.log("vue2组件卸载"),v?.$destroy(),T.remove(),N?.()}),C=async()=>{h(!0),g();const v=t.dep?.find(W=>W.name==="vue"),T=g$.getMajorVersion(v?.version||"3.0.0");if(_(),c.value){h(!1);return}const N=await y(),M=XF({moduleCache:N,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:W=>{console.error(W),console.error(`sfcLoaderError:${W}`),l.value=W?.message??String(W),h(!1)}});if(T==="3")return await E(M);if(T==="2")return await m(M)};async function x(){if(!o.value){console.error("组件挂载点不存在");return}const v=document.createElement("div");v.style.height="100%",v.style.width="100%",o.value.appendChild(v);const T=await C();if(!T){console.error("组件实例创建失败");return}n=O(T,v)}return Ge(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(v,T)=>{const[N,M]=v,[W,Z]=T??[],H=N+""+M,K=W+""+Z,V=H===K;(!V||!N)&&(console.log("卸载当前预览"),n(()=>{o.value&&(o.value.innerHTML="")})),!(V||!N)&&(await fr(),await x())},{immediate:!0}),Ge(()=>p.value,v=>{v.length&&n(()=>{o.value&&(o.value.innerHTML="")})}),(v,T)=>{const N=Uv("loading");return qh((ue(),_e("div",M$,[We("div",{ref:"compContainer",class:He(["async-comp-container",d.value])},null,2),p.value.length?(ue(),_e("div",D$,[qe(Ve(x$),{error:p.value},null,8,["error"])])):en("",!0)])),[[N,s.value]])}}}),Tu=nn(F$,[["__scopeId","data-v-fdcdab6e"]]),$$=et({__name:"index",props:{previews:{},dep:{},depToFile:{},signedUrls:{},bgColor:{}},setup(e){const t=zv(),n=e,r=X(()=>{const{previews:o,...s}=n;return{...s,panelType:Ne.COMP_EDIT_TAB_TYPE_MINI}});return(o,s)=>(ue(),Zt(Ve(O$),ts({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Ve(t)),{default:to(()=>[(ue(!0),_e(nt,null,no(e.previews,(i,a)=>(ue(),Zt(Ve(L$),{key:a,class:"comp-mini-carousel-item"},{default:to(()=>[We("div",{class:"comp-mini-carousel-slide",style:At({backgroundColor:n.bgColor})},[i.finalEntryUrl?(ue(),Zt(Tu,ts({key:0,finalEntryUrl:i.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):en("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Au=nn($$,[["__scopeId","data-v-c311fc1a"]]);function U$(){const{params:{compId:e,instanceUid:t}}=go(),{messageListener:n,sendMessageToTop:r}=ea(),o=Zi(),{addListener:s}=n(),i=de(),a=X(()=>i.value?.item),l=X(()=>i.value?.dep??[]),c=X(()=>i.value?.depToFile??{}),u=X(()=>a.value?a.value?.previewConfigs.filter(d=>d.miniPath?.length).slice(0,3).map(d=>{const p=c$.getPreviewUrl(a.value.path,d.miniPath);return{finalEntryUrl:`${Ne.COMP_PREVIEW_PREFIX_LOCAL}/${p}`}}):[]),f=X(()=>({previews:u.value,dep:l.value,depToFile:c.value}));return s(Le.ITEM_INIT_SET_LOCAL,d=>{i.value=d}),r(Le.ITEM_INIT_GET_LOCAL,e,o,t),{compAttrs:a,carouselBind:f,localDep:l,depToFile:c}}const j$=et({__name:"index",setup(e){const{carouselBind:t}=U$();return(n,r)=>(ue(),Zt(Au,ds(mo(Ve(t))),null,16))}});function C_(e=3){const{params:{compId:t,instanceUid:n}}=go(),{messageListener:r,sendMessageToTop:o}=ea(),s=Zi(),{addListener:i}=r(),a=de(),l=de(),c=X(()=>a.value?.item),u=X(()=>a.value?.depEntryNameToFile),f=X(()=>a.value?.versionToFileAccessPath),d=X(()=>a.value?.item?.version??""),p=X(()=>{if(!Object.keys(c.value??{}).length)return[];const y=f.value??[],b=new Map(y.map(({path:E,signedUrl:m})=>[E,m]));return c.value?.previewConfigs.filter(E=>E.miniPath?.length).slice(0,e).map(E=>{const m=i$.replaceBackslashWithSlash(E.miniPath.at(-1)??"");return{finalEntryUrl:b.get(m)??""}})}),g=X(()=>({previews:p.value??[],dep:c.value?.dep??[],signedUrls:f.value??[],depToFile:u.value??{},bgColor:l.value??c.value?.bgColor??""}));let h=()=>{};function _(y){h=y}return i(Le.ITEM_INIT_SET,y=>{a.value=y}),i(Le.BG_COLOR_SET,y=>{l.value=y}),o(Le.ITEM_INIT_GET,t,s,n),o(Le.BG_COLOR_GET,"",s,n),Ge(()=>d.value,y=>{y&&h(y)},{once:!0}),{compAttrs:c,carouselBind:g,setInitVersion:_}}const z$=et({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=C_(3),r=de("");return n(o=>{r.value=o}),(o,s)=>(ue(),Zt(Au,ds(mo(Ve(t))),null,16))}}),B$={key:2,class:"carousel-indicators"},H$=["onClick"],V$=et({__name:"index",props:{list:{},autoPlay:{type:Boolean,default:!0},interval:{default:3e3},duration:{default:500},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showIndicator:{type:Boolean,default:!0}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(0),i=de(null),a=de(!1),l=X(()=>r.list),c=X(()=>{if(l.value.length<=1||!r.loop)return l.value;const b=l.value[0];return[l.value[l.value.length-1],...l.value,b]}),u=X(()=>{if(l.value.length<=1)return 0;if(!r.loop)return s.value;let b=s.value-1;return b<0&&(b=l.value.length-1),b>=l.value.length&&(b=0),b}),f=X(()=>({transform:`translateX(-${s.value*100}%)`,transition:a.value?`transform ${r.duration}ms ease`:"none"})),d=()=>{!r.autoPlay||l.value.length<=1||(p(),i.value=window.setInterval(()=>{g()},r.interval))},p=()=>{i.value&&(clearInterval(i.value),i.value=null)},g=()=>{l.value.length<=1||(a.value=!0,s.value>=c.value.length-1?s.value=0:s.value++,o("change",u.value))},h=()=>{l.value.length<=1||(a.value=!0,s.value<=0?s.value=c.value.length-1:s.value--,o("change",u.value))},_=()=>{a.value=!1,!(!r.loop||l.value.length<=1)&&(s.value===0?s.value=l.value.length:s.value===c.value.length-1&&(s.value=1))},y=b=>{b!==u.value&&(a.value=!0,s.value=r.loop?b+1:b,o("change",b))};return t({setActiveItem:y}),Ge(()=>r.list.length,b=>{b>1&&r.loop?s.value=1:s.value=0},{immediate:!0}),pn(()=>{d()}),ho(()=>{p()}),(b,E)=>(ue(),_e("div",{class:"carousel",onMouseenter:p,onMouseleave:d},[We("div",{class:"carousel-track",style:At(f.value),onTransitionend:_},[(ue(!0),_e(nt,null,no(c.value,(m,O)=>(ue(),_e("div",{key:O,class:He(["carousel-slide",{active:O===s.value}])},[lr(b.$slots,"default",{item:m,index:O},void 0,!0)],2))),128))],36),e.showArrow&&e.list.length>1?(ue(),_e("button",{key:0,class:"carousel-arrow prev",onClick:h},[...E[0]||(E[0]=[We("svg",{viewBox:"0 0 24 24",class:"arrow-icon"},[We("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})],-1)])])):en("",!0),e.showArrow&&e.list.length>1?(ue(),_e("button",{key:1,class:"carousel-arrow next",onClick:g},[...E[1]||(E[1]=[We("svg",{viewBox:"0 0 24 24",class:"arrow-icon"},[We("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})],-1)])])):en("",!0),e.showIndicator&&e.list.length>1?(ue(),_e("div",B$,[(ue(!0),_e(nt,null,no(e.list,(m,O)=>(ue(),_e("span",{key:O,class:He(["indicator",{active:O===u.value}]),onClick:C=>y(O)},null,10,H$))),128))])):en("",!0)],32))}}),W$=nn(V$,[["__scopeId","data-v-5479ea57"]]),G$={class:"panel-mini-wrapper"},K$=et({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=X(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ne.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ue(),_e("div",G$,[qe(Ve(E_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:At({backgroundColor:e.bg})},{default:to(()=>[qe(Tu,ds(mo(n.value)),null,16)]),_:1},8,["style"])]))}}),q$=nn(K$,[["__scopeId","data-v-914004a6"]]),Y$=et({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=X(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ne.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ue(),Zt(Ve(E_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:At({backgroundColor:e.bg})},{default:to(()=>[qe(Tu,ds(mo(n.value)),null,16)]),_:1},8,["style"]))}}),X$=nn(Y$,[["__scopeId","data-v-c0b89875"]]),J$={class:"edit-panel"},Q$={key:0,class:"edit-panel__content"},Z$={class:"edit-panel__tools"},eU=["onClick"],tU=et({__name:"index",setup(e){const{t}=yo(),{messageListener:n,sendMessageToTop:r}=ea(),{addListener:o}=n(),s=Zi(),{params:{instanceUid:i}}=go(),a=Jh("carousel"),l=de({entryNameToFile:{},compDep:[]}),c=de([{label:t("comp.miniPanel"),value:Ne.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:Ne.COMP_EDIT_TAB_TYPE_FULL}]),u=de([]),f=de(),d=de(!1),p=de(!1),g=de(!1),h=de(""),_=X(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(Ne.FILE_MANAGER_DIRNAME,Ne.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=X(()=>Object.keys(l.value.entryNameToFile).length>0&&l.value.compDep.length>0),b=X(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:_.value,bg:h.value}));function E(C){return C===Ne.COMP_EDIT_TAB_TYPE_MINI?q$:X$}function m(C,x){if(!C._id)return;const v={...C,activeTab:x};r(Le.COMP_EDIT_TAB_TYPE_SET,v,s,i)}function O(C){r(Le.ACTION_REFRESH,C,s,i)}return o(Le.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Le.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Le.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Le.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Le.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Le.IS_ADD_SET,C=>{g.value=C}),o(Le.BG_COLOR_SET,C=>{h.value=C}),o(Le.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Le.COMP_PREVIEW_LIST_GET,"",s,i),r(Le.COMP_RENDER_INFO_GET,"",s,i),r(Le.SHOW_REFRESH_BTN_GET,"",s,i),r(Le.IS_ONLINE_UPDATE_GET,"",s,i),r(Le.IS_ADD_GET,"",s,i),r(Le.CAROUSEL_INDEX_GET,"",s,i),r(Le.BG_COLOR_GET,"",s,i),r(Le.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const v=tm("Icon");return ue(),_e("div",J$,[qe(W$,{ref:"carousel",class:"edit-panel__carousel",list:u.value,loop:!1,"auto-play":!1,"show-arrow":!0,"show-indicator":!0},{default:to(({item:T})=>[y.value?(ue(),_e("div",Q$,[We("div",Z$,[qe(Ve(E$),{options:c.value,"model-value":T.activeTab,onChange:N=>m(T,N)},null,8,["options","model-value","onChange"]),d.value?(ue(),_e("span",{key:0,class:"edit-panel__refresh-btn",onClick:N=>O(T)},[qe(v,{icon:"material-symbols:refresh-rounded"})],8,eU)):en("",!0)]),(ue(),Zt(Tv,null,[(ue(),Zt($v(E(T.activeTab)),ds(mo({miniEntryUrl:T.miniEntryUrl,fullEntryUrl:T.fullEntryUrl,...b.value})),null,16))],1024))])):en("",!0)]),_:1},8,["list"])])}}}),nU=nn(tU,[["__scopeId","data-v-97546a9e"]]),rU=et({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=C_(5),r=de("");return n(o=>{r.value=o}),(o,s)=>(ue(),Zt(Au,ts(Ve(t),{"show-indicator":!0}),null,16))}}),oU={carouselLocal:j$,carouselRemote:z$,editPanel:nU,previewRemote:rU};function sU(){const e=[],t=Ne.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=oU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const iU=KA({history:kA(`/${Ne.WEBSITE_PATH_ITEM}/`),routes:sU()}),aU=WF(Ne.LOCAL_SERVICE_PREFIX,{baseURL:`/${Ne.LOCAL_SERVICE_PREFIX}`});aU.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Ou=Xw(Q0);zT(Ou);Ou.use(iU);Ou.mount("#app");
|
|
38
|
+
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function s$(e){return v_(e).valid}const i$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Tc,escapeRegExp:xu,findKeywordLineIndex:ZF,generateNumberString:o$,highlightText:QF,isEmail:n$,isValidHash:s$,randomColor:t$,replaceBackslashWithSlash:b_,replaceSlashWithSpecifiedSeparator:e$,splitTextByKeyword:JF,toCamelCase:__,validateCompName:r$,validateHash:v_},Symbol.toStringTag,{value:"Module"}));function a$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=b_(n);return`${e.replace(Ne.FILE_MANAGER_DIRNAME,"")}${r}`}function l$(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const c$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:a$,handleDepData:l$},Symbol.toStringTag,{value:"Module"})),uh=/^[\^~>=<]+/,w_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function u$(e){return w_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(uh),n=t?t[0]:"",r=e.replace(uh,"").match(w_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function f$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function d$(e){return Pn(e).majorVersion}function p$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Pn(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Wr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=Ne;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function h$(e,t){const n=Pn(e),r=Pn(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Wr(e,t.replace(">=",""))>=0;case">":return Wr(e,t.replace(">",""))>0;case"<=":return Wr(e,t.replace("<=",""))<=0;case"<":return Wr(e,t.replace("<",""))<0;case"=":case"":return Wr(e,t.replace("=",""))===0;default:return!1}}function m$(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Pn(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const g$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Wr,getMajorVersion:d$,isVersionEqual:f$,parseDependencies:p$,parseVersion:Pn,satisfiesRange:h$,validateVersion:u$,versionToNumber:m$},Symbol.toStringTag,{value:"Module"})),y$=["id","aria-label","aria-disabled"],b$=["onClick"],_$=["name","value","checked","disabled","onChange"],v$={class:"segmented__label"},w$=et({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=de(),s=de({opacity:"0"}),i=X(()=>n.segProps?.value||"value"),a=X(()=>n.segProps?.label||"label"),l=X(()=>n.segProps?.disabled||"disabled");function c(_){return typeof _=="object"&&_!==null?_[i.value]:_}function u(_){return typeof _=="object"&&_!==null?_[a.value]:_}function f(_){return n.disabled?!0:typeof _=="object"&&_!==null?!!_[l.value]:!1}const d=X(()=>n.options.map(_=>typeof _=="object"&&_!==null?{..._,[i.value]:_[i.value],[a.value]:_[a.value],[l.value]:_[l.value]}:_));function p(_){return c(_)===n.modelValue}function g(_){if(f(_))return;const y=c(_);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){fr(()=>{const _=o.value?.parentElement;if(!_)return;const y=_.querySelectorAll(".segmented__item");let b=null;for(let O=0;O<y.length;O++){const C=y.item(O);if(C&&C.classList.contains("is-selected")){b=C;break}}if(!b){s.value={opacity:"0"};return}const E=_.getBoundingClientRect(),m=b.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${m.width}px`,height:`${m.height}px`,transform:`translateY(${m.top-E.top}px)`}:s.value={opacity:"1",width:`${m.width}px`,height:`${m.height}px`,transform:`translateX(${m.left-E.left}px)`}})}return Ge(()=>n.modelValue,h),Ge(()=>n.options,h),Ge(()=>n.direction,h),pn(h),(_,y)=>(ue(),_e("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:He(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[We("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:At(s.value)},null,4),(ue(!0),_e(nt,null,no(d.value,(b,E)=>(ue(),_e("label",{key:c(b),class:He(["segmented__item",{"is-selected":p(b),"is-disabled":f(b)}]),onClick:m=>g(b)},[We("input",{type:"radio",class:"segmented__input",name:e.name,value:c(b),checked:p(b),disabled:f(b),onChange:m=>g(b)},null,40,_$),We("span",v$,[lr(_.$slots,"default",{item:b,index:E},()=>[gi(Ar(u(b)),1)],!0)])],10,b$))),128))],10,y$))}}),E$=nn(w$,[["__scopeId","data-v-1ee57095"]]),S$={class:"ec-list"},C$={class:"ec-actions"},k$=et({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=yo(),n=Pm();return(r,o)=>(ue(),_e("div",{class:He(["ec-outer",Ve(n)?"ec-outer--dark":"ec-outer--light"])},[We("div",{class:He(["ec-inner",Ve(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=We("div",{class:"ec-icon"},"🔧",-1)),We("h4",{class:He(["ec-title",Ve(n)?"ec-title--dark":"ec-title--light"])},Ar(Ve(t)("comp.compileError")),3),We("div",S$,[(ue(!0),_e(nt,null,no(e.error,(s,i)=>(ue(),_e("div",{key:i,class:He(["ec-item",Ve(n)?"ec-item--dark":"ec-item--light"])},Ar(s),3))),128))]),We("div",C$,[lr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),x$=nn(k$,[["__scopeId","data-v-0a38108f"]]),T$=et({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ue(),_e("div",{class:He(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ue(),_e("div",{key:0,class:He(["card__header",e.headerClass])},[lr(t.$slots,"header",{},()=>[gi(Ar(e.header),1)],!0)],2)):en("",!0),We("div",{class:He(["card__body",e.bodyClass]),style:At(e.bodyStyle)},[lr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ue(),_e("div",{key:1,class:He(["card__footer",e.footerClass])},[lr(t.$slots,"footer",{},()=>[gi(Ar(e.footer),1)],!0)],2)):en("",!0)],2))}}),E_=nn(T$,[["__scopeId","data-v-cb6453d5"]]),A$=et({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(r.initialIndex),i=de(!1),a=de(!1),l=de(),c=de([]);function u(H){c.value.push(H)}function f(H){const K=c.value.findIndex(V=>V.uid===H);K!==-1&&(c.value.splice(K,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=X(()=>r.direction==="vertical"),p=X(()=>r.type==="card"),g=X(()=>r.cardScale);Bo("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:g,translating:X(()=>i.value),animating:X(()=>i.value),slideTo:O});const h=X(()=>{const H={};return r.height&&r.height!=="auto"&&(H.height=r.height),H}),_=X(()=>{if(p.value)return{};if(c.value.length===0)return{};const K=-s.value*100;return d.value?{transform:`translateY(${K}%)`}:{transform:`translateX(${K}%)`}}),y=X(()=>r.trigger==="click"?"click":"mouseenter"),b=X(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=X(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function m(H){const K=c.value.length;return K===0?0:r.loop?(H%K+K)%K:Math.max(0,Math.min(H,K-1))}function O(H){if(c.value.length===0)return;const V=m(H);if(V===s.value)return;const ee=s.value;s.value=V,i.value=!0,o("change",V,ee),setTimeout(()=>{i.value=!1},400)}function C(){O(s.value+1)}function x(){O(s.value-1)}function v(H){if(typeof H=="number"){O(H);return}const K=c.value.findIndex(V=>V.name===H);K!==-1&&O(K)}let T=null;function N(){M(),!(!r.autoplay||c.value.length<=1)&&(T=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){T!==null&&(clearInterval(T),T=null)}function W(){a.value=!0}function Z(){a.value=!1}return Ge(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&N()}),Ge(()=>r.autoplay,H=>{H?N():M()}),Ge(()=>r.interval,()=>{r.autoplay&&N()}),pn(()=>{r.autoplay&&N()}),Xi(()=>{M()}),t({activeIndex:s,setActiveItem:v,prev:x,next:C}),(H,K)=>(ue(),_e("div",{ref_key:"carouselRef",ref:l,class:He(["carousel",[`carousel--${e.direction}`]]),style:At(h.value),onMouseenter:W,onMouseleave:Z},[We("div",{class:He(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[We("div",{class:He(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:At(_.value)},[lr(H.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ue(),_e("button",{key:0,class:He(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:At(b.value),onClick:af(x,["stop"])},[...K[0]||(K[0]=[We("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):en("",!0),e.arrow!=="never"&&c.value.length>1?(ue(),_e("button",{key:1,class:He(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:At(E.value),onClick:af(C,["stop"])},[...K[1]||(K[1]=[We("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):en("",!0),c.value.length>1?(ue(),_e("ul",{key:2,class:He(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ue(!0),_e(nt,null,no(c.value,(V,ee)=>(ue(),_e("li",ts({key:V.uid,class:["carousel__indicator",{"carousel__indicator--active":ee===s.value}]},{[Gs(y.value)]:ie=>v(ee)}),[We("span",null,Ar(V.label||""),1)],16))),128))],2)):en("",!0)],38))}}),O$=nn(A$,[["__scopeId","data-v-e92b605e"]]),I$=et({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=de(!1),r=Ht("carousel"),o=de(0);pn(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Xi(()=>{r?.removeItem(o.value)});const s=X(()=>r?.items.value??[]),i=X(()=>r?.activeIndex.value??0),a=X(()=>r?.isCard.value??!1),l=X(()=>r?.cardScale.value??.83),c=X(()=>s.value.findIndex(h=>h.uid===o.value)),u=X(()=>c.value===i.value),f=X(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=X(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=X(()=>{if(a.value&&s.value.length>1){const h=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${h})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${h})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${h})`,zIndex:1,opacity:0}}return{}});function g(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,_)=>qh((ue(),_e("div",{class:He(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:At(p.value),onClick:g},[lr(h.$slots,"default",{},void 0,!0)],6)),[[Ow,n.value]])}}),L$=nn(I$,[["__scopeId","data-v-9638f2b6"]]);var kl,fh;function P$(){if(fh)return kl;fh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,g=-1,h=0;h<=p;++h){if(h===p){if(d>p){if(i.charCodeAt(u+h)===47)return i.slice(u+h+1);if(h===0)return i.slice(u+h)}else c>p&&(s.charCodeAt(a+h)===47?g=h:h===0&&(g=0));break}var _=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(_!==y)break;_===47&&(g=h)}var b="";for(h=a+g+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+i.slice(u+g):(u+=g,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,g=s.length-1,h=0;g>=c;--g){if(a=s.charCodeAt(g),a===47){if(!p){f=g+1;break}continue}d===-1&&(p=!1,d=g+1),a===46?u===-1?u=g:h!==1&&(h=1):u!==-1&&(h=-1)}return u===-1||d===-1||h===0||h===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,kl=r,kl}var S_=P$();function R$(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}const N$=Ug("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},async loadSfcLoader(e){const t=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(t)return t;const n=!1,{params:{isSfc:r}}=go(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=S_.join(`/${Ne.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await R$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),M$={class:"async-comp-wrapper"},D$={key:0,class:"async-comp-error"},F$=et({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{};const r=N$(),o=Jh("compContainer"),s=de(!1),i=de(""),a=de(""),l=de(""),c=de(""),u=de([]),f=X(()=>t.finalEntryUrl),d=X(()=>({"async-comp-overflow-auto":t.panelType===Ne.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===Ne.COMP_EDIT_TAB_TYPE_MINI})),p=X(()=>{const v=[...u.value,i.value,a.value,l.value,c.value].filter(Boolean);return[...new Set(v)]}),g=()=>{i.value="",a.value="",l.value="",c.value="",u.value=[]},h=v=>{s.value=v},_=()=>{const v={};(t.dep?.map(N=>N.name)||[]).forEach(N=>{if(!t.depToFile[N]){const M=t.dep?.find(Z=>Z.name===N),W=M?.parent?.name||M?.name||"";v[W]=`${W}${M?.version||""}`}}),Object.keys(v).length&&(c.value=Object.values(v).map(N=>`${N} uninstalled`).join(`
|
|
39
|
+
`))},y=async()=>{const v=[...t.dep];return v.sort((N,M)=>N.name==="vue"?-1:M.name==="vue"?1:0),await v.reduce(async(N,M)=>{const{name:W}=M,Z=await N,H=t.depToFile[W];if(!H||lg.PREBUILD_MODULE_SKIP_EXT.find(V=>H.endsWith(V)))return Z;try{const V=await XA(()=>import(`${Ne.MODULE_LOAD_PREFIX}/${H}`),[]);Z[W]={...V.default,...V,__esModule:!0}}finally{return Z}},Promise.resolve({}))},b=async v=>{if(t.localCompRootPath){const T=S_.join(t.localCompRootPath,Ne.COMP_ENTRY_FILE);await XM(T)&&await v(T)}else if(t.signedUrls?.length){const T=t.signedUrls.find(N=>N.path===`/${Ne.COMP_ENTRY_FILE}`);T&&await v(T.signedUrl)}},E=async v=>{const T=await r.loadSfcLoader("vue3"),{loadModule:N}=T,M=await N("vue",v),{createApp:W,defineAsyncComponent:Z}=M;if(!W||!Z){i.value="createApp or defineAsyncComponent is not defined",h(!1);return}const H=Z({loader:async()=>(h(!1),await N(f.value,v)),delay:100,timeout:2e4,onError:(V,ee,ie)=>{if(h(!1),console.error(`onError:${V.message}`),i.value=V.message,V)return ie()}}),K=W({template:"<AsyncComp />"});return M.app=K,await b(async V=>{await N(V,v)}),K.component("AsyncComp",H),K.config.globalProperties.$getScaleStyle=({mode:V,width:ee,height:ie})=>Id(o.value,V,ee,ie),K.config.errorHandler=V=>{console.error(V),console.error(`errorHandler:${V}`),a.value=V,h(!1)},K.config.warnHandler=function(V){console.warn(V),console.warn(`warnHandler:${V}`),a.value=V,h(!1)},K},m=async v=>{try{const T=await r.loadSfcLoader("vue2"),{loadModule:N}=T,M=await N("vue",v);M.default.prototype.$getScaleStyle=({mode:H,width:K,height:V})=>Id(o.value,H,K,V),M.default.config.errorHandler=function(H){console.error(H),console.error(`errorHandler:${H}`),a.value=H,h(!1)},M.default.config.warnHandler=function(H){console.warn(H),console.warn(`warnHandler:${H}`),a.value=H,h(!1)},await b(async H=>{await N(H,v)});const W=await N(f.value,v),Z=new M.default(W);return h(!1),Z}catch(T){return console.error(T),console.error(`sfcLoaderError:${T?.message??T}`),l.value=T?.message??String(T),null}finally{h(!1)}},O=(v,T)=>v.mount?(v.mount(T),N=>{console.log("vue3组件卸载"),v?.unmount(),T.remove(),N?.()}):(v.$mount(T),N=>{console.log("vue2组件卸载"),v?.$destroy(),T.remove(),N?.()}),C=async()=>{h(!0),g();const v=t.dep?.find(W=>W.name==="vue"),T=g$.getMajorVersion(v?.version||"3.0.0");if(_(),c.value){h(!1);return}const N=await y(),M=XF({moduleCache:N,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:W=>{console.error(W),console.error(`sfcLoaderError:${W}`),l.value=W?.message??String(W),h(!1)}});if(T==="3")return await E(M);if(T==="2")return await m(M)};async function x(){if(!o.value){console.error("组件挂载点不存在");return}const v=document.createElement("div");v.style.height="100%",v.style.width="100%",o.value.appendChild(v);const T=await C();if(!T){console.error("组件实例创建失败");return}n=O(T,v)}return Ge(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(v,T)=>{const[N,M]=v,[W,Z]=T??[],H=N+""+M,K=W+""+Z,V=H===K;(!V||!N)&&(console.log("卸载当前预览"),n(()=>{o.value&&(o.value.innerHTML="")})),!(V||!N)&&(await fr(),await x())},{immediate:!0}),Ge(()=>p.value,v=>{v.length&&n(()=>{o.value&&(o.value.innerHTML="")})}),(v,T)=>{const N=Uv("loading");return qh((ue(),_e("div",M$,[We("div",{ref:"compContainer",class:He(["async-comp-container",d.value])},null,2),p.value.length?(ue(),_e("div",D$,[qe(Ve(x$),{error:p.value},null,8,["error"])])):en("",!0)])),[[N,s.value]])}}}),Tu=nn(F$,[["__scopeId","data-v-fdcdab6e"]]),$$=et({__name:"index",props:{previews:{},dep:{},depToFile:{},signedUrls:{},bgColor:{}},setup(e){const t=zv(),n=e,r=X(()=>{const{previews:o,...s}=n;return{...s,panelType:Ne.COMP_EDIT_TAB_TYPE_MINI}});return(o,s)=>(ue(),Zt(Ve(O$),ts({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Ve(t)),{default:to(()=>[(ue(!0),_e(nt,null,no(e.previews,(i,a)=>(ue(),Zt(Ve(L$),{key:a,class:"comp-mini-carousel-item"},{default:to(()=>[We("div",{class:"comp-mini-carousel-slide",style:At({backgroundColor:n.bgColor})},[i.finalEntryUrl?(ue(),Zt(Tu,ts({key:0,finalEntryUrl:i.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):en("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Au=nn($$,[["__scopeId","data-v-c311fc1a"]]);function U$(){const{params:{compId:e,instanceUid:t}}=go(),{messageListener:n,sendMessageToTop:r}=ea(),o=Zi(),{addListener:s}=n(),i=de(),a=X(()=>i.value?.item),l=X(()=>i.value?.dep??[]),c=X(()=>i.value?.depToFile??{}),u=X(()=>a.value?a.value?.previewConfigs.filter(d=>d.miniPath?.length).slice(0,3).map(d=>{const p=c$.getPreviewUrl(a.value.path,d.miniPath);return{finalEntryUrl:`${Ne.COMP_PREVIEW_PREFIX_LOCAL}/${p}`}}):[]),f=X(()=>({previews:u.value,dep:l.value,depToFile:c.value}));return s(Le.ITEM_INIT_SET_LOCAL,d=>{i.value=d}),r(Le.ITEM_INIT_GET_LOCAL,e,o,t),{compAttrs:a,carouselBind:f,localDep:l,depToFile:c}}const j$=et({__name:"index",setup(e){const{carouselBind:t}=U$();return(n,r)=>(ue(),Zt(Au,ds(mo(Ve(t))),null,16))}});function C_(e=3){const{params:{compId:t,instanceUid:n}}=go(),{messageListener:r,sendMessageToTop:o}=ea(),s=Zi(),{addListener:i}=r(),a=de(),l=de(),c=X(()=>a.value?.item),u=X(()=>a.value?.depEntryNameToFile),f=X(()=>a.value?.versionToFileAccessPath),d=X(()=>a.value?.item?.version??""),p=X(()=>{if(!Object.keys(c.value??{}).length)return[];const y=f.value??[],b=new Map(y.map(({path:E,signedUrl:m})=>[E,m]));return c.value?.previewConfigs.filter(E=>E.miniPath?.length).slice(0,e).map(E=>{const m=i$.replaceBackslashWithSlash(E.miniPath.at(-1)??"");return{finalEntryUrl:b.get(m)??""}})}),g=X(()=>({previews:p.value??[],dep:c.value?.dep??[],signedUrls:f.value??[],depToFile:u.value??{},bgColor:l.value??c.value?.bgColor??""}));let h=()=>{};function _(y){h=y}return i(Le.ITEM_INIT_SET,y=>{a.value=y}),i(Le.BG_COLOR_SET,y=>{l.value=y}),o(Le.ITEM_INIT_GET,t,s,n),o(Le.BG_COLOR_GET,"",s,n),Ge(()=>d.value,y=>{y&&h(y)},{once:!0}),{compAttrs:c,carouselBind:g,setInitVersion:_}}const z$=et({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=C_(3),r=de("");return n(o=>{r.value=o}),(o,s)=>(ue(),Zt(Au,ds(mo(Ve(t))),null,16))}}),B$={key:2,class:"carousel-indicators"},H$=["onClick"],V$=et({__name:"index",props:{list:{},autoPlay:{type:Boolean,default:!0},interval:{default:3e3},duration:{default:500},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showIndicator:{type:Boolean,default:!0}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(0),i=de(null),a=de(!1),l=X(()=>r.list),c=X(()=>{if(l.value.length<=1||!r.loop)return l.value;const b=l.value[0];return[l.value[l.value.length-1],...l.value,b]}),u=X(()=>{if(l.value.length<=1)return 0;if(!r.loop)return s.value;let b=s.value-1;return b<0&&(b=l.value.length-1),b>=l.value.length&&(b=0),b}),f=X(()=>({transform:`translateX(-${s.value*100}%)`,transition:a.value?`transform ${r.duration}ms ease`:"none"})),d=()=>{!r.autoPlay||l.value.length<=1||(p(),i.value=window.setInterval(()=>{g()},r.interval))},p=()=>{i.value&&(clearInterval(i.value),i.value=null)},g=()=>{l.value.length<=1||(a.value=!0,s.value>=c.value.length-1?s.value=0:s.value++,o("change",u.value))},h=()=>{l.value.length<=1||(a.value=!0,s.value<=0?s.value=c.value.length-1:s.value--,o("change",u.value))},_=()=>{a.value=!1,!(!r.loop||l.value.length<=1)&&(s.value===0?s.value=l.value.length:s.value===c.value.length-1&&(s.value=1))},y=b=>{b!==u.value&&(a.value=!0,s.value=r.loop?b+1:b,o("change",b))};return t({setActiveItem:y}),Ge(()=>r.list.length,b=>{b>1&&r.loop?s.value=1:s.value=0},{immediate:!0}),pn(()=>{d()}),ho(()=>{p()}),(b,E)=>(ue(),_e("div",{class:"carousel",onMouseenter:p,onMouseleave:d},[We("div",{class:"carousel-track",style:At(f.value),onTransitionend:_},[(ue(!0),_e(nt,null,no(c.value,(m,O)=>(ue(),_e("div",{key:O,class:He(["carousel-slide",{active:O===s.value}])},[lr(b.$slots,"default",{item:m,index:O},void 0,!0)],2))),128))],36),e.showArrow&&e.list.length>1?(ue(),_e("button",{key:0,class:"carousel-arrow prev",onClick:h},[...E[0]||(E[0]=[We("svg",{viewBox:"0 0 24 24",class:"arrow-icon"},[We("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})],-1)])])):en("",!0),e.showArrow&&e.list.length>1?(ue(),_e("button",{key:1,class:"carousel-arrow next",onClick:g},[...E[1]||(E[1]=[We("svg",{viewBox:"0 0 24 24",class:"arrow-icon"},[We("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})],-1)])])):en("",!0),e.showIndicator&&e.list.length>1?(ue(),_e("div",B$,[(ue(!0),_e(nt,null,no(e.list,(m,O)=>(ue(),_e("span",{key:O,class:He(["indicator",{active:O===u.value}]),onClick:C=>y(O)},null,10,H$))),128))])):en("",!0)],32))}}),W$=nn(V$,[["__scopeId","data-v-5479ea57"]]),G$={class:"panel-mini-wrapper"},K$=et({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=X(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ne.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ue(),_e("div",G$,[qe(Ve(E_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:At({backgroundColor:e.bg})},{default:to(()=>[qe(Tu,ds(mo(n.value)),null,16)]),_:1},8,["style"])]))}}),q$=nn(K$,[["__scopeId","data-v-9b8be58c"]]),Y$=et({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=X(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ne.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ue(),Zt(Ve(E_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:At({backgroundColor:e.bg})},{default:to(()=>[qe(Tu,ds(mo(n.value)),null,16)]),_:1},8,["style"]))}}),X$=nn(Y$,[["__scopeId","data-v-5b3d03a7"]]),J$={class:"edit-panel"},Q$={key:0,class:"edit-panel__content"},Z$={class:"edit-panel__tools"},eU=["onClick"],tU=et({__name:"index",setup(e){const{t}=yo(),{messageListener:n,sendMessageToTop:r}=ea(),{addListener:o}=n(),s=Zi(),{params:{instanceUid:i}}=go(),a=Jh("carousel"),l=de({entryNameToFile:{},compDep:[]}),c=de([{label:t("comp.miniPanel"),value:Ne.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:Ne.COMP_EDIT_TAB_TYPE_FULL}]),u=de([]),f=de(),d=de(!1),p=de(!1),g=de(!1),h=de(""),_=X(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(Ne.FILE_MANAGER_DIRNAME,Ne.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=X(()=>Object.keys(l.value.entryNameToFile).length>0&&l.value.compDep.length>0),b=X(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:_.value,bg:h.value}));function E(C){return C===Ne.COMP_EDIT_TAB_TYPE_MINI?q$:X$}function m(C,x){if(!C._id)return;const v={...C,activeTab:x};r(Le.COMP_EDIT_TAB_TYPE_SET,v,s,i)}function O(C){r(Le.ACTION_REFRESH,C,s,i)}return o(Le.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Le.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Le.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Le.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Le.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Le.IS_ADD_SET,C=>{g.value=C}),o(Le.BG_COLOR_SET,C=>{h.value=C}),o(Le.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Le.COMP_PREVIEW_LIST_GET,"",s,i),r(Le.COMP_RENDER_INFO_GET,"",s,i),r(Le.SHOW_REFRESH_BTN_GET,"",s,i),r(Le.IS_ONLINE_UPDATE_GET,"",s,i),r(Le.IS_ADD_GET,"",s,i),r(Le.CAROUSEL_INDEX_GET,"",s,i),r(Le.BG_COLOR_GET,"",s,i),r(Le.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const v=tm("Icon");return ue(),_e("div",J$,[qe(W$,{ref:"carousel",class:"edit-panel__carousel",list:u.value,loop:!1,"auto-play":!1,"show-arrow":!0,"show-indicator":!0},{default:to(({item:T})=>[y.value?(ue(),_e("div",Q$,[We("div",Z$,[qe(Ve(E$),{options:c.value,"model-value":T.activeTab,onChange:N=>m(T,N)},null,8,["options","model-value","onChange"]),d.value?(ue(),_e("span",{key:0,class:"edit-panel__refresh-btn",onClick:N=>O(T)},[qe(v,{icon:"material-symbols:refresh-rounded"})],8,eU)):en("",!0)]),(ue(),Zt(Tv,null,[(ue(),Zt($v(E(T.activeTab)),ds(mo({miniEntryUrl:T.miniEntryUrl,fullEntryUrl:T.fullEntryUrl,...b.value})),null,16))],1024))])):en("",!0)]),_:1},8,["list"])])}}}),nU=nn(tU,[["__scopeId","data-v-40b7f883"]]),rU=et({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=C_(5),r=de("");return n(o=>{r.value=o}),(o,s)=>(ue(),Zt(Au,ts(Ve(t),{"show-indicator":!0}),null,16))}}),oU={carouselLocal:j$,carouselRemote:z$,editPanel:nU,previewRemote:rU};function sU(){const e=[],t=Ne.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=oU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const iU=KA({history:kA(`/${Ne.WEBSITE_PATH_ITEM}/`),routes:sU()}),aU=WF(Ne.LOCAL_SERVICE_PREFIX,{baseURL:`/${Ne.LOCAL_SERVICE_PREFIX}`});aU.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Ou=Xw(Q0);zT(Ou);Ou.use(iU);Ou.mount("#app");
|