comp-hub 0.29.7 → 0.29.8
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 +132 -132
- package/bin/cli.js +53 -53
- package/bin/lib/commands.js +173 -173
- package/bin/lib/constants.js +22 -22
- package/bin/lib/http.js +62 -62
- package/bin/lib/startup.js +183 -183
- package/bin/lib/utils.js +112 -112
- package/dist/index.js +1 -1
- package/dist/website/container/assets/{index-CfBoiGrX.css → index-BlSriQ8o.css} +1 -1
- package/dist/website/container/assets/{index-BeeqGiFl.js → index-rRWp31us.js} +1 -1
- package/dist/website/container/index.html +32 -32
- 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-CDQboxOq.css +1 -0
- package/dist/website/item/assets/{index-D3VEpySe.js → index-DIJTHUc5.js} +3 -3
- package/dist/website/item/index.html +30 -30
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CSa_pS0b.js +1 -0
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-BCEeHWp0.js +1 -0
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-B9sbaztP.js +1 -0
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-I_B9sBtb.js +1 -0
- package/dist/website/main/assets/EmptyStatusContainer.vue_vue_type_script_setup_true_lang-vaWJXLBi.js +1 -0
- package/dist/website/main/assets/LoadingWrapper.vue_vue_type_script_setup_true_lang-Brp0esZx.js +1 -0
- package/dist/website/main/assets/PanelBackground.vue_vue_type_script_setup_true_lang-Dp5z6Iw1.js +1 -0
- package/dist/website/main/assets/cloud-upload-DRSmr6Qo.js +1 -0
- package/dist/website/main/assets/core-YKf42450.js +3 -0
- package/dist/website/main/assets/{el-table-column-BaabKDRF.js → el-table-column-B36K2Har.js} +1 -1
- package/dist/website/main/assets/home-rounded--9AAXiZb.js +1 -0
- package/dist/website/main/assets/index-BHVQkNA2.js +1 -0
- package/dist/website/main/assets/index-BV4gqPW9.js +1 -0
- package/dist/website/main/assets/{index-9ejOpPXc.js → index-BW8vDkye.js} +3 -3
- package/dist/website/main/assets/index-BXjslBXB.js +1 -0
- package/dist/website/main/assets/index-BmnVYsjU.js +1 -0
- package/dist/website/main/assets/index-C-RbFIGY.js +1 -0
- package/dist/website/main/assets/index-C-elMysi.js +1 -0
- package/dist/website/main/assets/index-CCE8UKEc.js +1 -0
- package/dist/website/main/assets/index-CJu9086M.js +2 -0
- package/dist/website/main/assets/index-CN4epH6N.js +1 -0
- package/dist/website/main/assets/{index-CyPExloz.css → index-CRFJskzu.css} +1 -1
- package/dist/website/main/assets/index-CTk2LB3W.js +1 -0
- package/dist/website/main/assets/index-CWZwdzIK.js +1 -0
- package/dist/website/main/assets/index-CYRE55Ch.js +1 -0
- package/dist/website/main/assets/index-CYvMpsAk.js +1 -0
- package/dist/website/main/assets/index-CdGhZYup.js +1 -0
- package/dist/website/main/assets/index-CfYP0TVV.js +1 -0
- package/dist/website/main/assets/index-D-zBzPPy.css +1 -0
- package/dist/website/main/assets/index-D2HIFwH2.js +1 -0
- package/dist/website/main/assets/index-D8FvfjtO.js +1 -0
- package/dist/website/main/assets/index-DGeSXL3t.js +1 -0
- package/dist/website/main/assets/index-DW1TR3IW.js +1 -0
- package/dist/website/main/assets/index-DhAkucE9.js +1 -0
- package/dist/website/main/assets/index-Dl_h7vrN.js +2 -0
- package/dist/website/main/assets/index-DpHwEP_B.js +1 -0
- package/dist/website/main/assets/{index-CpXbVBP2.js → index-Ds4AosT0.js} +5 -5
- package/dist/website/main/assets/index-DwBDz4RR.js +1 -0
- package/dist/website/main/assets/{index-Cl0SK7oa.css → index-DxyEzkir.css} +1 -1
- package/dist/website/main/assets/index-EHIrsqSu.js +1 -0
- package/dist/website/main/assets/index-FFTkVbVX.css +1 -0
- package/dist/website/main/assets/index-M80Ed-Pb.js +1 -0
- package/dist/website/main/assets/index-Mryq8zw5.js +5 -0
- package/dist/website/main/assets/index-PeLBbpUx.js +1 -0
- package/dist/website/main/assets/index-QX7WDOzk.js +1 -0
- package/dist/website/main/assets/{index-C8unIZll.css → index-WO9Mrc8w.css} +1 -1
- package/dist/website/main/assets/index-qAhDQceU.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BfK34NCv.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DjS3Q9-g.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DtekInbn.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-RkEocesH.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-XpLtazGO.js +2 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-m8-lu9dQ.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-t5Qr3Cck.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-D39LYnj3.js → index.vue_vue_type_style_index_0_lang-B-Okzh4k.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-BCmjNfvt.js +6 -0
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-CTWQlkPh.js +1 -0
- package/dist/website/main/assets/kid-star-DWSbAoDk.js +1 -0
- package/dist/website/main/assets/md5-BVscxO09.js +1 -0
- package/dist/website/main/assets/settings-DyQPsIIk.js +1 -0
- package/dist/website/main/assets/supervised-user-circle-BzCVjgAw.js +1 -0
- package/dist/website/main/assets/sync-saved-locally-rounded-Dm232VG8.js +1 -0
- package/dist/website/main/assets/terminal-Cpm-3gfc.js +1 -0
- package/dist/website/main/assets/useCacheOssStore-BUYcRp33.js +1 -0
- package/dist/website/main/assets/{useCompEditStore-DCFM66C4.js → useCompEditStore-CCV6awON.js} +2 -2
- package/dist/website/main/assets/{useCompEditStore-DfjsDbzX.css → useCompEditStore-CxnuC31d.css} +1 -1
- package/dist/website/main/assets/useCompMetaLocalStore-ke8aERqo.js +1 -0
- package/dist/website/main/assets/useKeyword-BWlKaVGC.js +1 -0
- package/dist/website/main/assets/useMessage-DGNISOif.js +1 -0
- package/dist/website/main/assets/{useTeamHeaders-kxuE8Q8s.js → useTeamHeaders-CXV6avPM.js} +1 -1
- package/dist/website/main/assets/useVscodeOpen-W9IOZ_u_.js +1 -0
- package/dist/website/main/assets/{vendor-core-B1hRUZR_.js → vendor-core-BHu_Iam8.js} +1 -1
- package/dist/website/main/assets/{vendor-ui-CMQTpMsc.js → vendor-ui-Lm7VJSSH.js} +2 -2
- package/dist/website/main/assets/{vendor-xterm-mNFjEaKn.js → vendor-xterm-DbWxaMay.js} +1 -1
- package/dist/website/main/index.html +4 -4
- package/package.json +45 -45
- package/dist/website/item/assets/index-BZnlGnqP.css +0 -1
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-sJqw3hBL.js +0 -1
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-C89AreA-.js +0 -1
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-DLPiWvzo.js +0 -1
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-CPSb3doF.js +0 -1
- package/dist/website/main/assets/EmptyStatusContainer.vue_vue_type_script_setup_true_lang-1uLX4usT.js +0 -1
- package/dist/website/main/assets/LoadingWrapper.vue_vue_type_script_setup_true_lang-D2kQQ7qs.js +0 -1
- package/dist/website/main/assets/PanelBackground.vue_vue_type_script_setup_true_lang-BbH9Ke8c.js +0 -1
- package/dist/website/main/assets/cloud-upload-BZUdgCdI.js +0 -1
- package/dist/website/main/assets/core-CduF1cve.js +0 -3
- package/dist/website/main/assets/home-rounded-CAKszmlU.js +0 -1
- package/dist/website/main/assets/index-B2G95uaY.js +0 -1
- package/dist/website/main/assets/index-BI1iHj1p.js +0 -2
- package/dist/website/main/assets/index-BerOWbR5.js +0 -1
- package/dist/website/main/assets/index-Bg2Ll1MS.js +0 -1
- package/dist/website/main/assets/index-Bk2GHNDj.js +0 -1
- package/dist/website/main/assets/index-Bn9djJ1D.js +0 -1
- package/dist/website/main/assets/index-BoBZsqw_.js +0 -1
- package/dist/website/main/assets/index-Bth_SWAt.css +0 -1
- package/dist/website/main/assets/index-BvkOcMzw.js +0 -1
- package/dist/website/main/assets/index-BzJsbiup.js +0 -1
- package/dist/website/main/assets/index-C-ssDsWy.js +0 -1
- package/dist/website/main/assets/index-C4QJD9AO.js +0 -1
- package/dist/website/main/assets/index-CSqRH-KQ.js +0 -1
- package/dist/website/main/assets/index-CUiK2qn1.js +0 -1
- package/dist/website/main/assets/index-CZwZuk3-.js +0 -1
- package/dist/website/main/assets/index-ChEH9AoP.js +0 -1
- package/dist/website/main/assets/index-D4G87Mom.js +0 -1
- package/dist/website/main/assets/index-D6J3GPPV.js +0 -1
- package/dist/website/main/assets/index-DDnVu2nK.js +0 -1
- package/dist/website/main/assets/index-DJ4AvgpT.css +0 -1
- package/dist/website/main/assets/index-DL5xk_C7.js +0 -1
- package/dist/website/main/assets/index-DLWhyZSM.js +0 -2
- package/dist/website/main/assets/index-DO0i9je3.js +0 -5
- package/dist/website/main/assets/index-DYjUv_9s.js +0 -1
- package/dist/website/main/assets/index-De1XOjmk.js +0 -1
- package/dist/website/main/assets/index-DmCMPHi-.js +0 -1
- package/dist/website/main/assets/index-Dmk2WbAD.js +0 -1
- package/dist/website/main/assets/index-DryBDQGT.js +0 -1
- package/dist/website/main/assets/index-Dy_awGYi.js +0 -1
- package/dist/website/main/assets/index-QDcOlnTv.js +0 -1
- package/dist/website/main/assets/index-evWJEs_J.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BCWiMLjz.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BHRL6G5S.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CKf4glow.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CVAkHJvA.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Cnaq7WZP.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-IxBKq7Py.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-qqOG6j-E.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-Cm4wH59u.js +0 -6
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-D2h7hdt0.js +0 -1
- package/dist/website/main/assets/kid-star-FcmIH9T1.js +0 -1
- package/dist/website/main/assets/md5-DEHaPvGx.js +0 -1
- package/dist/website/main/assets/settings-DST6rYZI.js +0 -1
- package/dist/website/main/assets/supervised-user-circle-5toxzbuX.js +0 -1
- package/dist/website/main/assets/sync-saved-locally-rounded-ekj1nT7F.js +0 -1
- package/dist/website/main/assets/terminal-CiPichiX.js +0 -1
- package/dist/website/main/assets/useCacheOssStore-D1ihuvZi.js +0 -1
- package/dist/website/main/assets/useCompMetaLocalStore-CnMRn13T.js +0 -1
- package/dist/website/main/assets/useKeyword-2O8Qbig-.js +0 -1
- package/dist/website/main/assets/useMessage-C_SU5QaN.js +0 -1
- package/dist/website/main/assets/useVscodeOpen-CA_im4Vj.js +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 Fc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},Zr=[],Cn=()=>{},Nh=()=>!1,zi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bi=e=>e.startsWith("onUpdate:"),mt=Object.assign,$c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sv=Object.prototype.hasOwnProperty,Me=(e,t)=>sv.call(e,t),fe=Array.isArray,eo=e=>yo(e)==="[object Map]",Dh=e=>yo(e)==="[object Set]",Gu=e=>yo(e)==="[object Date]",iv=e=>yo(e)==="[object RegExp]",he=e=>typeof e=="function",qe=e=>typeof e=="string",Vt=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",Fh=e=>(Ne(e)||he(e))&&he(e.then)&&he(e.catch),$h=Object.prototype.toString,yo=e=>$h.call(e),av=e=>yo(e).slice(8,-1),Uh=e=>yo(e)==="[object Object]",Hi=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ho=Fc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},lv=/-\w/g,At=Vi(e=>e.replace(lv,t=>t.slice(1).toUpperCase())),cv=/\B([A-Z])/g,Rr=Vi(e=>e.replace(cv,"-$1").toLowerCase()),Wi=Vi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xs=Vi(e=>e?`on${Wi(e)}`:""),wn=(e,t)=>!Object.is(e,t),Vo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},jh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},uv=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let qu;const Gi=()=>qu||(qu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lt(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=qe(r)?hv(r):Lt(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(qe(e)||Ne(e))return e}const fv=/;(?![^(]*\))/g,dv=/:([^]+)/,pv=/\/\*[^]*?\*\//g;function hv(e){const t={};return e.replace(pv,"").split(fv).forEach(n=>{if(n){const r=n.split(dv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function We(e){let t="";if(qe(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=We(e[n]);r&&(t+=r+" ")}else if(Ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ms(e){if(!e)return null;let{class:t,style:n}=e;return t&&!qe(t)&&(e.class=We(t)),n&&(e.style=Lt(n)),e}const mv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gv=Fc(mv);function zh(e){return!!e||e===""}function yv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Uc(e[r],t[r]);return n}function Uc(e,t){if(e===t)return!0;let n=Gu(e),r=Gu(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=fe(e),r=fe(t),n||r)return n&&r?yv(e,t):!1;if(n=Ne(e),r=Ne(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||!Uc(e[i],t[i]))return!1}}return String(e)===String(t)}const Bh=e=>!!(e&&e.__v_isRef===!0),Gn=e=>qe(e)?e:e==null?"":fe(e)||Ne(e)&&(e.toString===$h||!he(e.toString))?Bh(e)?Gn(e.value):JSON.stringify(e,Hh,2):String(e),Hh=(e,t)=>Bh(t)?Hh(e,t.value):eo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Pa(r,s)+" =>"]=o,n),{})}:Dh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Pa(n))}:Vt(t)?Pa(t):Ne(t)&&!fe(t)&&!Uh(t)?String(t):t,Pa=(e,t="")=>{var n;return Vt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let at;class Vh{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&&at&&(at.active?(this.parent=at,this.index=(at.scopes||(at.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=at;try{return at=this,t()}finally{at=n}}}on(){++this._on===1&&(this.prevScope=at,at=this)}off(){if(this._on>0&&--this._on===0){if(at===this)at=this.prevScope;else{let t=at;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 jc(e){return new Vh(e)}function qi(){return at}function Wh(e,t=!1){at&&at.cleanups.push(e)}let He;const Ia=new WeakSet;class Gh{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,at&&(at.active?at.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ia.has(this)&&(Ia.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,Ku(this),Yh(this);const t=He,n=an;He=this,an=!0;try{return this.fn()}finally{Xh(this),He=t,an=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hc(t);this.deps=this.depsTail=void 0,Ku(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ia.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Nl(this)&&this.run()}get dirty(){return Nl(this)}}let qh=0,Wo,Go;function Kh(e,t=!1){if(e.flags|=8,t){e.next=Go,Go=e;return}e.next=Wo,Wo=e}function zc(){qh++}function Bc(){if(--qh>0)return;if(Go){let t=Go;for(Go=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Wo;){let t=Wo;for(Wo=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 Yh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xh(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Hc(r),bv(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Nl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Jh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ts)||(e.globalVersion=ts,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Nl(e))))return;e.flags|=2;const t=e.dep,n=He,r=an;He=e,an=!0;try{Yh(e);const o=e.fn(e._value);(t.version===0||wn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{He=n,an=r,Xh(e),e.flags&=-3}}function Hc(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)Hc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function bv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let an=!0;const Qh=[];function qn(){Qh.push(an),an=!1}function Kn(){const e=Qh.pop();an=e===void 0?!0:e}function Ku(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=He;He=void 0;try{t()}finally{He=n}}}let ts=0;class _v{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 Ki{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!He||!an||He===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==He)n=this.activeLink=new _v(He,this),He.deps?(n.prevDep=He.depsTail,He.depsTail.nextDep=n,He.depsTail=n):He.deps=He.depsTail=n,Zh(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=He.depsTail,n.nextDep=void 0,He.depsTail.nextDep=n,He.depsTail=n,He.deps===n&&(He.deps=r)}return n}trigger(t){this.version++,ts++,this.notify(t)}notify(t){zc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Bc()}}}function Zh(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)Zh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ui=new WeakMap,kr=Symbol(""),Dl=Symbol(""),ns=Symbol("");function vt(e,t,n){if(an&&He){let r=ui.get(e);r||ui.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Ki),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ui.get(e);if(!i){ts++;return}const a=l=>{l&&l.trigger()};if(zc(),t==="clear")i.forEach(a);else{const l=fe(e),c=l&&Hi(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===ns||!Vt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(ns)),t){case"add":l?c&&a(i.get("length")):(a(i.get(kr)),eo(e)&&a(i.get(Dl)));break;case"delete":l||(a(i.get(kr)),eo(e)&&a(i.get(Dl)));break;case"set":eo(e)&&a(i.get(kr));break}}Bc()}function vv(e,t){const n=ui.get(e);return n&&n.get(t)}function Nr(e){const t=Se(e);return t===e?t:(vt(t,"iterate",ns),Ht(e)?t:t.map(cn))}function Yi(e){return vt(e=Se(e),"iterate",ns),e}function _n(e,t){return Yn(e)?so(Wn(e)?cn(t):t):cn(t)}const wv={__proto__:null,[Symbol.iterator](){return La(this,Symbol.iterator,e=>_n(this,e))},concat(...e){return Nr(this).concat(...e.map(t=>fe(t)?Nr(t):t))},entries(){return La(this,"entries",e=>(e[1]=_n(this,e[1]),e))},every(e,t){return Mn(this,"every",e,t,void 0,arguments)},filter(e,t){return Mn(this,"filter",e,t,n=>n.map(r=>_n(this,r)),arguments)},find(e,t){return Mn(this,"find",e,t,n=>_n(this,n),arguments)},findIndex(e,t){return Mn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Mn(this,"findLast",e,t,n=>_n(this,n),arguments)},findLastIndex(e,t){return Mn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Mn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ra(this,"includes",e)},indexOf(...e){return Ra(this,"indexOf",e)},join(e){return Nr(this).join(e)},lastIndexOf(...e){return Ra(this,"lastIndexOf",e)},map(e,t){return Mn(this,"map",e,t,void 0,arguments)},pop(){return ko(this,"pop")},push(...e){return ko(this,"push",e)},reduce(e,...t){return Yu(this,"reduce",e,t)},reduceRight(e,...t){return Yu(this,"reduceRight",e,t)},shift(){return ko(this,"shift")},some(e,t){return Mn(this,"some",e,t,void 0,arguments)},splice(...e){return ko(this,"splice",e)},toReversed(){return Nr(this).toReversed()},toSorted(e){return Nr(this).toSorted(e)},toSpliced(...e){return Nr(this).toSpliced(...e)},unshift(...e){return ko(this,"unshift",e)},values(){return La(this,"values",e=>_n(this,e))}};function La(e,t,n){const r=Yi(e),o=r[t]();return r!==e&&!Ht(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const Ev=Array.prototype;function Mn(e,t,n,r,o,s){const i=Yi(e),a=i!==e&&!Ht(e),l=i[t];if(l!==Ev[t]){const f=l.apply(e,s);return a?cn(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,_n(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 Yu(e,t,n,r){const o=Yi(e),s=o!==e&&!Ht(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=_n(e,c)),n.call(this,c,_n(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?_n(e,l):l}function Ra(e,t,n){const r=Se(e);vt(r,"iterate",ns);const o=r[t](...n);return(o===-1||o===!1)&&Qi(n[0])?(n[0]=Se(n[0]),r[t](...n)):o}function ko(e,t,n=[]){qn(),zc();const r=Se(e)[t].apply(e,n);return Bc(),Kn(),r}const Sv=Fc("__proto__,__v_isRef,__isVue"),em=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vt));function Cv(e){Vt(e)||(e=String(e));const t=Se(this);return vt(t,"has",e),t.hasOwnProperty(e)}class tm{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?am:im:s?sm:om).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=wv[n]))return l;if(n==="hasOwnProperty")return Cv}const a=Reflect.get(t,n,Ke(t)?t:r);if((Vt(n)?em.has(n):Sv(n))||(o||vt(t,"get",n),s))return a;if(Ke(a)){const l=i&&Hi(n)?a:a.value;return o&&Ne(l)?fi(l):l}return Ne(a)?o?fi(a):gs(a):a}}class nm extends tm{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=fe(t)&&Hi(n);if(!this._isShallow){const c=Yn(s);if(!Ht(r)&&!Yn(r)&&(s=Se(s),r=Se(r)),!i&&Ke(s)&&!Ke(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Me(t,n),l=Reflect.set(t,n,r,Ke(t)?t:o);return t===Se(o)&&(a?wn(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Me(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)||!em.has(n))&&vt(t,"has",n),r}ownKeys(t){return vt(t,"iterate",fe(t)?"length":kr),Reflect.ownKeys(t)}}class rm extends tm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const kv=new nm,xv=new rm,Tv=new nm(!0),Av=new rm(!0),Fl=e=>e,Ts=e=>Reflect.getPrototypeOf(e);function Ov(e,t,n){return function(...r){const o=this.__v_raw,s=Se(o),i=eo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Fl:t?so:cn;return!t&&vt(s,"iterate",l?Dl:kr),mt(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 As(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pv(e,t){const n={get(o){const s=this.__v_raw,i=Se(s),a=Se(o);e||(wn(o,a)&&vt(i,"get",o),vt(i,"get",a));const{has:l}=Ts(i),c=t?Fl:e?so:cn;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&&vt(Se(o),"iterate",kr),o.size},has(o){const s=this.__v_raw,i=Se(s),a=Se(o);return e||(wn(o,a)&&vt(i,"has",o),vt(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=Se(a),c=t?Fl:e?so:cn;return!e&&vt(l,"iterate",kr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return mt(n,e?{add:As("add"),set:As("set"),delete:As("delete"),clear:As("clear")}:{add(o){const s=Se(this),i=Ts(s),a=Se(o),l=!t&&!Ht(o)&&!Yn(o)?a:o;return i.has.call(s,l)||wn(o,l)&&i.has.call(s,o)||wn(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Ht(s)&&!Yn(s)&&(s=Se(s));const i=Se(this),{has:a,get:l}=Ts(i);let c=a.call(i,o);c||(o=Se(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?wn(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=Se(this),{has:i,get:a}=Ts(s);let l=i.call(s,o);l||(o=Se(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=Se(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]=Ov(o,e,t)}),n}function Xi(e,t){const n=Pv(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Me(n,o)&&o in r?n:r,o,s)}const Iv={get:Xi(!1,!1)},Lv={get:Xi(!1,!0)},Rv={get:Xi(!0,!1)},Mv={get:Xi(!0,!0)},om=new WeakMap,sm=new WeakMap,im=new WeakMap,am=new WeakMap;function Nv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gs(e){return Yn(e)?e:Ji(e,!1,kv,Iv,om)}function lm(e){return Ji(e,!1,Tv,Lv,sm)}function fi(e){return Ji(e,!0,xv,Rv,im)}function Dv(e){return Ji(e,!0,Av,Mv,am)}function Ji(e,t,n,r,o){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const i=Nv(av(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Wn(e){return Yn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Qi(e){return e?!!e.__v_raw:!1}function Se(e){const t=e&&e.__v_raw;return t?Se(t):e}function Vc(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&jh(e,"__v_skip",!0),e}const cn=e=>Ne(e)?gs(e):e,so=e=>Ne(e)?fi(e):e;function Ke(e){return e?e.__v_isRef===!0:!1}function ye(e){return cm(e,!1)}function kn(e){return cm(e,!0)}function cm(e,t){return Ke(e)?e:new Fv(e,t)}class Fv{constructor(t,n){this.dep=new Ki,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Se(t),this._value=n?t:cn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ht(t)||Yn(t);t=r?t:Se(t),wn(t,n)&&(this._rawValue=t,this._value=r?t:cn(t),this.dep.trigger())}}function Pe(e){return Ke(e)?e.value:e}function xn(e){return he(e)?e():Pe(e)}const $v={get:(e,t,n)=>t==="__v_raw"?e:Pe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ke(o)&&!Ke(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function um(e){return Wn(e)?e:new Proxy(e,$v)}class Uv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ki,{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 jv(e){return new Uv(e)}function zv(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=fm(e,n);return t}class Bv{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=Se(t);let o=!0,s=t;if(!fe(t)||Vt(this._key)||!Hi(this._key))do o=!Qi(s)||Ht(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Pe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ke(this._raw[this._key])){const n=this._object[this._key];if(Ke(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return vv(this._raw,this._key)}}class Hv{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 Vv(e,t,n){return Ke(e)?e:he(e)?new Hv(e):Ne(e)&&arguments.length>1?fm(e,t,n):ye(e)}function fm(e,t,n){return new Bv(e,t,n)}class Wv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ki(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ts-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return Kh(this,!0),!0}get value(){const t=this.dep.track();return Jh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Gv(e,t,n=!1){let r,o;return he(e)?r=e:(r=e.get,o=e.set),new Wv(r,o,n)}const Os={},di=new WeakMap;let vr;function qv(e,t=!1,n=vr){if(n){let r=di.get(n);r||di.set(n,r=[]),r.push(e)}}function Kv(e,t,n=$e){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=g=>o?g:Ht(g)||o===!1||o===0?Bn(g,1):Bn(g);let u,f,d,p,h=!1,m=!1;if(Ke(e)?(f=()=>e.value,h=Ht(e)):Wn(e)?(f=()=>c(e),h=!0):fe(e)?(m=!0,h=e.some(g=>Wn(g)||Ht(g)),f=()=>e.map(g=>{if(Ke(g))return g.value;if(Wn(g))return c(g);if(he(g))return l?l(g,2):g()})):he(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){qn();try{d()}finally{Kn()}}const g=vr;vr=u;try{return l?l(e,3,[p]):e(p)}finally{vr=g}}:f=Cn,t&&o){const g=f,A=o===!0?1/0:o;f=()=>Bn(g(),A)}const b=qi(),y=()=>{u.stop(),b&&b.active&&$c(b.effects,u)};if(s&&t){const g=t;t=(...A)=>{g(...A),y()}}let _=m?new Array(e.length).fill(Os):Os;const E=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const A=u.run();if(o||h||(m?A.some((k,x)=>wn(k,_[x])):wn(A,_))){d&&d();const k=vr;vr=u;try{const x=[A,_===Os?void 0:m&&_[0]===Os?[]:_,p];_=A,l?l(t,3,x):t(...x)}finally{vr=k}}}else u.run()};return a&&a(E),u=new Gh(f),u.scheduler=i?()=>i(E,!1):E,p=g=>qv(g,!1,u),d=u.onStop=()=>{const g=di.get(u);if(g){if(l)l(g,4);else for(const A of g)A();di.delete(u)}},t?r?E(!0):_=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||!Ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ke(e))Bn(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(Dh(e)||eo(e))e.forEach(r=>{Bn(r,t,n)});else if(Uh(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 ys(e,t,n,r){try{return r?e(...r):e()}catch(o){Zi(o,t,n)}}function un(e,t,n,r){if(he(e)){const o=ys(e,t,n,r);return o&&Fh(o)&&o.catch(s=>{Zi(s,t,n)}),o}if(fe(e)){const o=[];for(let s=0;s<e.length;s++)o.push(un(e[s],t,n,r));return o}}function Zi(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||$e;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){qn(),ys(s,null,10,[e,l,c]),Kn();return}}Yv(e,n,o,r,i)}function Yv(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Tt=[];let yn=-1;const to=[];let or=null,Wr=0;const dm=Promise.resolve();let pi=null;function On(e){const t=pi||dm;return e?t.then(this?e.bind(this):e):t}function Xv(e){let t=yn+1,n=Tt.length;for(;t<n;){const r=t+n>>>1,o=Tt[r],s=rs(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Wc(e){if(!(e.flags&1)){const t=rs(e),n=Tt[Tt.length-1];!n||!(e.flags&2)&&t>=rs(n)?Tt.push(e):Tt.splice(Xv(t),0,e),e.flags|=1,pm()}}function pm(){pi||(pi=dm.then(mm))}function Jv(e){fe(e)?to.push(...e):or&&e.id===-1?or.splice(Wr+1,0,e):e.flags&1||(to.push(e),e.flags|=1),pm()}function Xu(e,t,n=yn+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 hm(e){if(to.length){const t=[...new Set(to)].sort((n,r)=>rs(n)-rs(r));if(to.length=0,or){or.push(...t);return}for(or=t,Wr=0;Wr<or.length;Wr++){const n=or[Wr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}or=null,Wr=0}}const rs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mm(e){try{for(yn=0;yn<Tt.length;yn++){const t=Tt[yn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ys(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;yn<Tt.length;yn++){const t=Tt[yn];t&&(t.flags&=-2)}yn=-1,Tt.length=0,hm(),pi=null,(Tt.length||to.length)&&mm()}}let dt=null,gm=null;function hi(e){const t=dt;return dt=e,gm=e&&e.type.__scopeId||null,t}function Or(e,t=dt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&_i(-1);const s=hi(t);let i;try{i=e(...o)}finally{hi(s),r._d&&_i(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ym(e,t){if(dt===null)return e;const n=sa(dt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=$e]=t[o];s&&(he(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 yr(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&&(qn(),un(l,n,8,[e.el,a,e,t]),Kn())}}function no(e,t){if(wt){let n=wt.provides;const r=wt.parent&&wt.parent.provides;r===n&&(n=wt.provides=Object.create(r)),n[e]=t}}function Rt(e,t,n=!1){const r=Rn();if(r||xr){let o=xr?xr._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&&he(t)?t.call(r&&r.proxy):t}}function Gc(){return!!(Rn()||xr)}const Qv=Symbol.for("v-scx"),Zv=()=>Rt(Qv);function ew(e,t){return qc(e,null,t)}function Je(e,t,n){return qc(e,t,n)}function qc(e,t,n=$e){const{immediate:r,deep:o,flush:s,once:i}=n,a=mt({},n),l=t&&r||!t&&s!=="post";let c;if(ss){if(s==="sync"){const p=Zv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Cn,p.resume=Cn,p.pause=Cn,p}}const u=wt;a.call=(p,h,m)=>un(p,u,h,m);let f=!1;s==="post"?a.scheduler=p=>{lt(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():Wc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=Kv(e,t,a);return ss&&(c?c.push(d):l&&d()),d}function tw(e,t,n){const r=this.proxy,o=qe(e)?e.includes(".")?bm(r,e):()=>r[e]:e.bind(r,r);let s;he(t)?s=t:(s=t.handler,n=t);const i=_s(this),a=qc(o,s.bind(r),n);return i(),a}function bm(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 nw=Symbol("_vte"),rw=e=>e.__isTeleport,Ma=Symbol("_leaveCb");function ea(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ea(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 tt(e,t){return he(e)?mt({name:e.name},t,{setup:e}):e}function _m(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ta(e){const t=Rn(),n=kn(null);if(t){const o=t.refs===$e?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Ju(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const mi=new WeakMap;function qo(e,t,n,r,o=!1){if(fe(e)){e.forEach((m,b)=>qo(m,t&&(fe(t)?t[b]:t),n,r,o));return}if(lr(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&qo(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?sa(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===$e?a.refs={}:a.refs,f=a.setupState,d=Se(f),p=f===$e?Nh:m=>Ju(u,m)?!1:Me(d,m),h=(m,b)=>!(b&&Ju(u,b));if(c!=null&&c!==l){if(Qu(t),qe(c))u[c]=null,p(c)&&(f[c]=null);else if(Ke(c)){const m=t;h(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(he(l))ys(l,a,12,[i,u]);else{const m=qe(l),b=Ke(l);if(m||b){const y=()=>{if(e.f){const _=m?p(l)?f[l]:u[l]:h()||!e.k?l.value:u[e.k];if(o)fe(_)&&$c(_,s);else if(fe(_))_.includes(s)||_.push(s);else if(m)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];h(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else m?(u[l]=i,p(l)&&(f[l]=i)):b&&(h(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{y(),mi.delete(e)};_.id=-1,mi.set(e,_),lt(_,n)}else Qu(e),y()}}}function Qu(e){const t=mi.get(e);t&&(t.flags|=8,mi.delete(e))}Gi().requestIdleCallback;Gi().cancelIdleCallback;const lr=e=>!!e.type.__asyncLoader,vm=e=>e.type.__isKeepAlive,ow={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 _=t.default&&t.default();return _&&_.length===1?_[0]:_};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=(_,E,g,A,k)=>{const x=_.component;c(_,E,g,0,a),l(x.vnode,_,E,g,x,a,A,_.slotScopeIds,k),lt(()=>{x.isDeactivated=!1,x.a&&Vo(x.a);const v=_.props&&_.props.onVnodeMounted;v&&Yt(v,x.parent,_)},a)},r.deactivate=_=>{const E=_.component;yi(E.m),yi(E.a),c(_,d,null,1,a),lt(()=>{E.da&&Vo(E.da);const g=_.props&&_.props.onVnodeUnmounted;g&&Yt(g,E.parent,_),E.isDeactivated=!0},a)};function p(_){Na(_),u(_,n,a,!0)}function h(_){o.forEach((E,g)=>{const A=Hl(lr(E)?E.type.__asyncResolved||{}:E.type);A&&!_(A)&&m(g)})}function m(_){const E=o.get(_);E&&(!i||!Gr(E,i))?p(E):i&&Na(i),o.delete(_),s.delete(_)}Je(()=>[e.include,e.exclude],([_,E])=>{_&&h(g=>Mo(_,g)),E&&h(g=>!Mo(E,g))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(bi(n.subTree.type)?lt(()=>{o.set(b,Ps(n.subTree))},n.subTree.suspense):o.set(b,Ps(n.subTree)))};return Ln(y),Em(y),ra(()=>{o.forEach(_=>{const{subTree:E,suspense:g}=n,A=Ps(E);if(_.type===A.type&&_.key===A.key){Na(A);const k=A.component.da;k&<(k,g);return}p(_)})}),()=>{if(b=null,!t.default)return i=null;const _=t.default(),E=_[0];if(_.length>1)return i=null,_;if(!io(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let g=Ps(E);if(g.type===Pn)return i=null,g;const A=g.type,k=Hl(lr(g)?g.type.__asyncResolved||{}:A),{include:x,exclude:v,max:O}=e;if(x&&(!k||!Mo(x,k))||v&&k&&Mo(v,k))return g.shapeFlag&=-257,i=g,E;const F=g.key==null?A:g.key,M=o.get(F);return g.el&&(g=Pr(g),E.shapeFlag&128&&(E.ssContent=g)),b=F,M?(g.el=M.el,g.component=M.component,g.transition&&ea(g,g.transition),g.shapeFlag|=512,s.delete(F),s.add(F)):(s.add(F),O&&s.size>parseInt(O,10)&&m(s.values().next().value)),g.shapeFlag|=256,i=g,bi(E.type)?E:g}}},sw=ow;function Mo(e,t){return fe(e)?e.some(n=>Mo(n,t)):qe(e)?e.split(",").includes(t):iv(e)?(e.lastIndex=0,e.test(t)):!1}function iw(e,t){wm(e,"a",t)}function aw(e,t){wm(e,"da",t)}function wm(e,t,n=wt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(na(t,r,n),n){let o=n.parent;for(;o&&o.parent;)vm(o.parent.vnode)&&lw(r,t,n,o),o=o.parent}}function lw(e,t,n,r){const o=na(t,e,r,!0);bo(()=>{$c(r[t],o)},n)}function Na(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ps(e){return e.shapeFlag&128?e.ssContent:e}function na(e,t,n=wt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{qn();const a=_s(n),l=un(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Jn=e=>(t,n=wt)=>{(!ss||e==="sp")&&na(e,(...r)=>t(...r),n)},cw=Jn("bm"),Ln=Jn("m"),uw=Jn("bu"),Em=Jn("u"),ra=Jn("bum"),bo=Jn("um"),fw=Jn("sp"),dw=Jn("rtg"),pw=Jn("rtc");function hw(e,t=wt){na("ec",e,t)}const Kc="components",mw="directives";function Yc(e,t){return Xc(Kc,e,!0,t)||e}const Sm=Symbol.for("v-ndc");function gw(e){return qe(e)?Xc(Kc,e,!1)||e:e||Sm}function yw(e){return Xc(mw,e)}function Xc(e,t,n=!0,r=!1){const o=dt||wt;if(o){const s=o.type;if(e===Kc){const a=Hl(s,!1);if(a&&(a===t||a===At(t)||a===Wi(At(t))))return s}const i=Zu(o[e]||s[e],t)||Zu(o.appContext[e],t);return!i&&r?s:i}}function Zu(e,t){return e&&(e[t]||e[At(t)]||e[Wi(At(t))])}function _o(e,t,n,r){let o;const s=n&&n[r],i=fe(e);if(i||qe(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Ht(e),c=Yn(e),e=Yi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?so(cn(e[u])):cn(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(Ne(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 cr(e,t,n={},r,o){if(dt.ce||dt.parent&&lr(dt.parent)&&dt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ue(),St(ot,null,[Ge("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ue();const i=s&&Cm(s(n)),a=n.key||i&&i.key,l=St(ot,{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 Cm(e){return e.some(t=>io(t)?!(t.type===Pn||t.type===ot&&!Cm(t.children)):!0)?e:null}const $l=e=>e?Hm(e)?sa(e):$l(e.parent):null,Ko=mt(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=>$l(e.parent),$root:e=>$l(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xm(e),$forceUpdate:e=>e.f||(e.f=()=>{Wc(e.update)}),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>tw.bind(e)}),Da=(e,t)=>e!==$e&&!e.__isScriptSetup&&Me(e,t),bw={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(Da(r,t))return i[t]=1,r[t];if(o!==$e&&Me(o,t))return i[t]=2,o[t];if(Me(s,t))return i[t]=3,s[t];if(n!==$e&&Me(n,t))return i[t]=4,n[t];Ul&&(i[t]=0)}}const c=Ko[t];let u,f;if(c)return t==="$attrs"&&vt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==$e&&Me(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Me(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Da(o,t)?(o[t]=n,!0):r!==$e&&Me(r,t)?(r[t]=n,!0):Me(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!==$e&&a[0]!=="$"&&Me(e,a)||Da(t,a)||Me(s,a)||Me(r,a)||Me(Ko,a)||Me(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function _w(){return vw().attrs}function vw(e){const t=Rn();return t.setupContext||(t.setupContext=Wm(t))}function ef(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ul=!0;function ww(e){const t=xm(e),n=e.proxy,r=e.ctx;Ul=!1,t.beforeCreate&&tf(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:h,activated:m,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:E,unmounted:g,render:A,renderTracked:k,renderTriggered:x,errorCaptured:v,serverPrefetch:O,expose:F,inheritAttrs:M,components:X,directives:ne,filters:G}=t;if(c&&Ew(c,r,null),i)for(const re in i){const de=i[re];he(de)&&(r[re]=de.bind(n))}if(o){const re=o.call(n,n);Ne(re)&&(e.data=gs(re))}if(Ul=!0,s)for(const re in s){const de=s[re],Ye=he(de)?de.bind(n,n):he(de.get)?de.get.bind(n,n):Cn,ft=!he(de)&&he(de.set)?de.set.bind(n):Cn,Ae=q({get:Ye,set:ft});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:je=>Ae.value=je})}if(a)for(const re in a)km(a[re],r,n,re);if(l){const re=he(l)?l.call(n):l;Reflect.ownKeys(re).forEach(de=>{no(de,re[de])})}u&&tf(u,e,"c");function J(re,de){fe(de)?de.forEach(Ye=>re(Ye.bind(n))):de&&re(de.bind(n))}if(J(cw,f),J(Ln,d),J(uw,p),J(Em,h),J(iw,m),J(aw,b),J(hw,v),J(pw,k),J(dw,x),J(ra,_),J(bo,g),J(fw,O),fe(F))if(F.length){const re=e.exposed||(e.exposed={});F.forEach(de=>{Object.defineProperty(re,de,{get:()=>n[de],set:Ye=>n[de]=Ye,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===Cn&&(e.render=A),M!=null&&(e.inheritAttrs=M),X&&(e.components=X),ne&&(e.directives=ne),O&&_m(e)}function Ew(e,t,n=Cn){fe(e)&&(e=jl(e));for(const r in e){const o=e[r];let s;Ne(o)?"default"in o?s=Rt(o.from||r,o.default,!0):s=Rt(o.from||r):s=Rt(o),Ke(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function tf(e,t,n){un(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function km(e,t,n,r){let o=r.includes(".")?bm(n,r):()=>n[r];if(qe(e)){const s=t[e];he(s)&&Je(o,s)}else if(he(e))Je(o,e.bind(n));else if(Ne(e))if(fe(e))e.forEach(s=>km(s,t,n,r));else{const s=he(e.handler)?e.handler.bind(n):t[e.handler];he(s)&&Je(o,s,e)}}function xm(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=>gi(l,c,i,!0)),gi(l,t,i)),Ne(t)&&s.set(t,l),l}function gi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&gi(e,s,n,!0),o&&o.forEach(i=>gi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Sw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Sw={data:nf,props:rf,emits:rf,methods:No,computed:No,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:No,directives:No,watch:kw,provide:nf,inject:Cw};function nf(e,t){return t?e?function(){return mt(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Cw(e,t){return No(jl(e),jl(t))}function jl(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xt(e,t){return e?[...new Set([].concat(e,t))]:t}function No(e,t){return e?mt(Object.create(null),e,t):t}function rf(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:mt(Object.create(null),ef(e),ef(t??{})):t}function kw(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=xt(e[r],t[r]);return n}function Tm(){return{app:null,config:{isNativeTag:Nh,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 xw=0;function Tw(e,t){return function(r,o=null){he(r)||(r=mt({},r)),o!=null&&!Ne(o)&&(o=null);const s=Tm(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:xw++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:tE,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&he(u.install)?(i.add(u),u.install(c,...f)):he(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||Ge(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,sa(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(un(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=xr;xr=c;try{return u()}finally{xr=f}}};return c}}let xr=null;const Aw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${At(t)}Modifiers`]||e[`${Rr(t)}Modifiers`];function Ow(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||$e;let o=n;const s=t.startsWith("update:"),i=s&&Aw(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>qe(u)?u.trim():u)),i.number&&(o=n.map(uv)));let a,l=r[a=Xs(t)]||r[a=Xs(At(t))];!l&&s&&(l=r[a=Xs(Rr(t))]),l&&un(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,un(c,e,6,o)}}const Pw=new WeakMap;function Am(e,t,n=!1){const r=n?Pw:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!he(e)){const l=c=>{const u=Am(c,t,!0);u&&(a=!0,mt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ne(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):mt(i,s),Ne(e)&&r.set(e,i),i)}function oa(e,t){return!e||!zi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,Rr(t))||Me(e,t))}function of(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:h,inheritAttrs:m}=e,b=hi(e);let y,_;try{if(n.shapeFlag&4){const g=o||r,A=g;y=vn(c.call(A,g,u,f,p,d,h)),_=a}else{const g=t;y=vn(g.length>1?g(f,{attrs:a,slots:i,emit:l}):g(f,null)),_=t.props?a:Iw(a)}}catch(g){Yo.length=0,Zi(g,e,1),y=Ge(Pn)}let E=y;if(_&&m!==!1){const g=Object.keys(_),{shapeFlag:A}=E;g.length&&A&7&&(s&&g.some(Bi)&&(_=Lw(_,s)),E=Pr(E,_,!1,!0))}return n.dirs&&(E=Pr(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&ea(E,n.transition),y=E,hi(b),y}const Iw=e=>{let t;for(const n in e)(n==="class"||n==="style"||zi(n))&&((t||(t={}))[n]=e[n]);return t},Lw=(e,t)=>{const n={};for(const r in e)(!Bi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Rw(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?sf(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(Om(i,r,d)&&!oa(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?sf(r,i,c):!0:!!i;return!1}function sf(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(Om(t,e,s)&&!oa(n,s))return!0}return!1}function Om(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ne(r)&&Ne(o)?!Uc(r,o):r!==o}function Mw({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 Pm={},Im=()=>Object.create(Pm),Lm=e=>Object.getPrototypeOf(e)===Pm;function Nw(e,t,n,r=!1){const o={},s=Im();e.propsDefaults=Object.create(null),Rm(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:lm(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Dw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Se(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(oa(e.emitsOptions,d))continue;const p=t[d];if(l)if(Me(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const h=At(d);o[h]=zl(l,a,h,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{Rm(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Me(t,f)&&((u=Rr(f))===f||!Me(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=zl(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Me(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function Rm(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Ho(l))continue;const c=t[l];let u;o&&Me(o,u=At(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:oa(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Se(n),c=a||$e;for(let u=0;u<s.length;u++){const f=s[u];n[f]=zl(o,l,f,c[f],e,!Me(c,f))}}return i}function zl(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Me(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&he(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=_s(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===Rr(n))&&(r=!0))}return r}const Fw=new WeakMap;function Mm(e,t,n=!1){const r=n?Fw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!he(e)){const u=f=>{l=!0;const[d,p]=Mm(f,t,!0);mt(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 Ne(e)&&r.set(e,Zr),Zr;if(fe(s))for(let u=0;u<s.length;u++){const f=At(s[u]);af(f)&&(i[f]=$e)}else if(s)for(const u in s){const f=At(u);if(af(f)){const d=s[u],p=i[f]=fe(d)||he(d)?{type:d}:mt({},d),h=p.type;let m=!1,b=!0;if(fe(h))for(let y=0;y<h.length;++y){const _=h[y],E=he(_)&&_.name;if(E==="Boolean"){m=!0;break}else E==="String"&&(b=!1)}else m=he(h)&&h.name==="Boolean";p[0]=m,p[1]=b,(m||Me(p,"default"))&&a.push(f)}}const c=[i,a];return Ne(e)&&r.set(e,c),c}function af(e){return e[0]!=="$"&&!Ho(e)}const Jc=e=>e==="_"||e==="_ctx"||e==="$stable",Qc=e=>fe(e)?e.map(vn):[vn(e)],$w=(e,t,n)=>{if(t._n)return t;const r=Or((...o)=>Qc(t(...o)),n);return r._c=!1,r},Nm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Jc(o))continue;const s=e[o];if(he(s))t[o]=$w(o,s,r);else if(s!=null){const i=Qc(s);t[o]=()=>i}}},Dm=(e,t)=>{const n=Qc(t);e.slots.default=()=>n},Fm=(e,t,n)=>{for(const r in t)(n||!Jc(r))&&(e[r]=t[r])},Uw=(e,t,n)=>{const r=e.slots=Im();if(e.vnode.shapeFlag&32){const o=t._;o?(Fm(r,t,n),n&&jh(r,"_",o,!0)):Nm(t,r)}else t&&Dm(e,t)},jw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=$e;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Fm(o,t,n):(s=!t.$stable,Nm(t,o)),i=t}else t&&(Dm(e,t),i={default:1});if(s)for(const a in o)!Jc(a)&&i[a]==null&&delete o[a]},lt=Ww;function zw(e){return Bw(e)}function Bw(e,t){const n=Gi();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=Cn,insertStaticContent:h}=e,m=(C,T,L,U=null,z=null,j=null,w=void 0,S=null,P=!!T.dynamicChildren)=>{if(C===T)return;C&&!Gr(C,T)&&(U=D(C),je(C,z,j,!0),C=null),T.patchFlag===-2&&(P=!1,T.dynamicChildren=null);const{type:R,ref:K,shapeFlag:B}=T;switch(R){case bs:b(C,T,L,U);break;case Pn:y(C,T,L,U);break;case $a:C==null&&_(T,L,U,w);break;case ot:X(C,T,L,U,z,j,w,S,P);break;default:B&1?A(C,T,L,U,z,j,w,S,P):B&6?ne(C,T,L,U,z,j,w,S,P):(B&64||B&128)&&R.process(C,T,L,U,z,j,w,S,P,ee)}K!=null&&z?qo(K,C&&C.ref,j,T||C,!T):K==null&&C&&C.ref!=null&&qo(C.ref,null,j,C,!0)},b=(C,T,L,U)=>{if(C==null)r(T.el=a(T.children),L,U);else{const z=T.el=C.el;T.children!==C.children&&c(z,T.children)}},y=(C,T,L,U)=>{C==null?r(T.el=l(T.children||""),L,U):T.el=C.el},_=(C,T,L,U)=>{[C.el,C.anchor]=h(C.children,T,L,U,C.el,C.anchor)},E=({el:C,anchor:T},L,U)=>{let z;for(;C&&C!==T;)z=d(C),r(C,L,U),C=z;r(T,L,U)},g=({el:C,anchor:T})=>{let L;for(;C&&C!==T;)L=d(C),o(C),C=L;o(T)},A=(C,T,L,U,z,j,w,S,P)=>{if(T.type==="svg"?w="svg":T.type==="math"&&(w="mathml"),C==null)k(T,L,U,z,j,w,S,P);else{const R=C.el&&C.el._isVueCE?C.el:null;try{R&&R._beginPatch(),O(C,T,z,j,w,S,P)}finally{R&&R._endPatch()}}},k=(C,T,L,U,z,j,w,S)=>{let P,R;const{props:K,shapeFlag:B,transition:I,dirs:$}=C;if(P=C.el=i(C.type,j,K&&K.is,K),B&8?u(P,C.children):B&16&&v(C.children,P,null,U,z,Fa(C,j),w,S),$&&yr(C,null,U,"created"),x(P,C,C.scopeId,w,U),K){for(const le in K)le!=="value"&&!Ho(le)&&s(P,le,null,K[le],j,U);"value"in K&&s(P,"value",null,K.value,j),(R=K.onVnodeBeforeMount)&&Yt(R,U,C)}$&&yr(C,null,U,"beforeMount");const oe=Hw(z,I);oe&&I.beforeEnter(P),r(P,T,L),((R=K&&K.onVnodeMounted)||oe||$)&<(()=>{R&&Yt(R,U,C),oe&&I.enter(P),$&&yr(C,null,U,"mounted")},z)},x=(C,T,L,U,z)=>{if(L&&p(C,L),U)for(let j=0;j<U.length;j++)p(C,U[j]);if(z){let j=z.subTree;if(T===j||bi(j.type)&&(j.ssContent===T||j.ssFallback===T)){const w=z.vnode;x(C,w,w.scopeId,w.slotScopeIds,z.parent)}}},v=(C,T,L,U,z,j,w,S,P=0)=>{for(let R=P;R<C.length;R++){const K=C[R]=S?jn(C[R]):vn(C[R]);m(null,K,T,L,U,z,j,w,S)}},O=(C,T,L,U,z,j,w)=>{const S=T.el=C.el;let{patchFlag:P,dynamicChildren:R,dirs:K}=T;P|=C.patchFlag&16;const B=C.props||$e,I=T.props||$e;let $;if(L&&br(L,!1),($=I.onVnodeBeforeUpdate)&&Yt($,L,T,C),K&&yr(T,C,L,"beforeUpdate"),L&&br(L,!0),(B.innerHTML&&I.innerHTML==null||B.textContent&&I.textContent==null)&&u(S,""),R?F(C.dynamicChildren,R,S,L,U,Fa(T,z),j):w||de(C,T,S,null,L,U,Fa(T,z),j,!1),P>0){if(P&16)M(S,B,I,L,z);else if(P&2&&B.class!==I.class&&s(S,"class",null,I.class,z),P&4&&s(S,"style",B.style,I.style,z),P&8){const oe=T.dynamicProps;for(let le=0;le<oe.length;le++){const be=oe[le],De=B[be],Ie=I[be];(Ie!==De||be==="value")&&s(S,be,De,Ie,z,L)}}P&1&&C.children!==T.children&&u(S,T.children)}else!w&&R==null&&M(S,B,I,L,z);(($=I.onVnodeUpdated)||K)&<(()=>{$&&Yt($,L,T,C),K&&yr(T,C,L,"updated")},U)},F=(C,T,L,U,z,j,w)=>{for(let S=0;S<T.length;S++){const P=C[S],R=T[S],K=P.el&&(P.type===ot||!Gr(P,R)||P.shapeFlag&198)?f(P.el):L;m(P,R,K,null,U,z,j,w,!0)}},M=(C,T,L,U,z)=>{if(T!==L){if(T!==$e)for(const j in T)!Ho(j)&&!(j in L)&&s(C,j,T[j],null,z,U);for(const j in L){if(Ho(j))continue;const w=L[j],S=T[j];w!==S&&j!=="value"&&s(C,j,S,w,z,U)}"value"in L&&s(C,"value",T.value,L.value,z)}},X=(C,T,L,U,z,j,w,S,P)=>{const R=T.el=C?C.el:a(""),K=T.anchor=C?C.anchor:a("");let{patchFlag:B,dynamicChildren:I,slotScopeIds:$}=T;$&&(S=S?S.concat($):$),C==null?(r(R,L,U),r(K,L,U),v(T.children||[],L,K,z,j,w,S,P)):B>0&&B&64&&I&&C.dynamicChildren&&C.dynamicChildren.length===I.length?(F(C.dynamicChildren,I,L,z,j,w,S),(T.key!=null||z&&T===z.subTree)&&$m(C,T,!0)):de(C,T,L,K,z,j,w,S,P)},ne=(C,T,L,U,z,j,w,S,P)=>{T.slotScopeIds=S,C==null?T.shapeFlag&512?z.ctx.activate(T,L,U,w,P):G(T,L,U,z,j,w,P):Q(C,T,P)},G=(C,T,L,U,z,j,w)=>{const S=C.component=Xw(C,U,z);if(vm(C)&&(S.ctx.renderer=ee),Jw(S,!1,w),S.asyncDep){if(z&&z.registerDep(S,J,w),!C.el){const P=S.subTree=Ge(Pn);y(null,P,T,L),C.placeholder=P.el}}else J(S,C,T,L,z,j,w)},Q=(C,T,L)=>{const U=T.component=C.component;if(Rw(C,T,L))if(U.asyncDep&&!U.asyncResolved){re(U,T,L);return}else U.next=T,U.update();else T.el=C.el,U.vnode=T},J=(C,T,L,U,z,j,w)=>{const S=()=>{if(C.isMounted){let{next:B,bu:I,u:$,parent:oe,vnode:le}=C;{const tn=Um(C);if(tn){B&&(B.el=le.el,re(C,B,w)),tn.asyncDep.then(()=>{lt(()=>{C.isUnmounted||R()},z)});return}}let be=B,De;br(C,!1),B?(B.el=le.el,re(C,B,w)):B=le,I&&Vo(I),(De=B.props&&B.props.onVnodeBeforeUpdate)&&Yt(De,oe,B,le),br(C,!0);const Ie=of(C),qt=C.subTree;C.subTree=Ie,m(qt,Ie,f(qt.el),D(qt),C,z,j),B.el=Ie.el,be===null&&Mw(C,Ie.el),$&<($,z),(De=B.props&&B.props.onVnodeUpdated)&<(()=>Yt(De,oe,B,le),z)}else{let B;const{el:I,props:$}=T,{bm:oe,m:le,parent:be,root:De,type:Ie}=C,qt=lr(T);br(C,!1),oe&&Vo(oe),!qt&&(B=$&&$.onVnodeBeforeMount)&&Yt(B,be,T),br(C,!0);{De.ce&&De.ce._hasShadowRoot()&&De.ce._injectChildStyle(Ie,C.parent?C.parent.type:void 0);const tn=C.subTree=of(C);m(null,tn,L,U,C,z,j),T.el=tn.el}if(le&<(le,z),!qt&&(B=$&&$.onVnodeMounted)){const tn=T;lt(()=>Yt(B,be,tn),z)}(T.shapeFlag&256||be&&lr(be.vnode)&&be.vnode.shapeFlag&256)&&C.a&<(C.a,z),C.isMounted=!0,T=L=U=null}};C.scope.on();const P=C.effect=new Gh(S);C.scope.off();const R=C.update=P.run.bind(P),K=C.job=P.runIfDirty.bind(P);K.i=C,K.id=C.uid,P.scheduler=()=>Wc(K),br(C,!0),R()},re=(C,T,L)=>{T.component=C;const U=C.vnode.props;C.vnode=T,C.next=null,Dw(C,T.props,U,L),jw(C,T.children,L),qn(),Xu(C),Kn()},de=(C,T,L,U,z,j,w,S,P=!1)=>{const R=C&&C.children,K=C?C.shapeFlag:0,B=T.children,{patchFlag:I,shapeFlag:$}=T;if(I>0){if(I&128){ft(R,B,L,U,z,j,w,S,P);return}else if(I&256){Ye(R,B,L,U,z,j,w,S,P);return}}$&8?(K&16&&se(R,z,j),B!==R&&u(L,B)):K&16?$&16?ft(R,B,L,U,z,j,w,S,P):se(R,z,j,!0):(K&8&&u(L,""),$&16&&v(B,L,U,z,j,w,S,P))},Ye=(C,T,L,U,z,j,w,S,P)=>{C=C||Zr,T=T||Zr;const R=C.length,K=T.length,B=Math.min(R,K);let I;for(I=0;I<B;I++){const $=T[I]=P?jn(T[I]):vn(T[I]);m(C[I],$,L,null,z,j,w,S,P)}R>K?se(C,z,j,!0,!1,B):v(T,L,U,z,j,w,S,P,B)},ft=(C,T,L,U,z,j,w,S,P)=>{let R=0;const K=T.length;let B=C.length-1,I=K-1;for(;R<=B&&R<=I;){const $=C[R],oe=T[R]=P?jn(T[R]):vn(T[R]);if(Gr($,oe))m($,oe,L,null,z,j,w,S,P);else break;R++}for(;R<=B&&R<=I;){const $=C[B],oe=T[I]=P?jn(T[I]):vn(T[I]);if(Gr($,oe))m($,oe,L,null,z,j,w,S,P);else break;B--,I--}if(R>B){if(R<=I){const $=I+1,oe=$<K?T[$].el:U;for(;R<=I;)m(null,T[R]=P?jn(T[R]):vn(T[R]),L,oe,z,j,w,S,P),R++}}else if(R>I)for(;R<=B;)je(C[R],z,j,!0),R++;else{const $=R,oe=R,le=new Map;for(R=oe;R<=I;R++){const Ut=T[R]=P?jn(T[R]):vn(T[R]);Ut.key!=null&&le.set(Ut.key,R)}let be,De=0;const Ie=I-oe+1;let qt=!1,tn=0;const Co=new Array(Ie);for(R=0;R<Ie;R++)Co[R]=0;for(R=$;R<=B;R++){const Ut=C[R];if(De>=Ie){je(Ut,z,j,!0);continue}let hn;if(Ut.key!=null)hn=le.get(Ut.key);else for(be=oe;be<=I;be++)if(Co[be-oe]===0&&Gr(Ut,T[be])){hn=be;break}hn===void 0?je(Ut,z,j,!0):(Co[hn-oe]=R+1,hn>=tn?tn=hn:qt=!0,m(Ut,T[hn],L,null,z,j,w,S,P),De++)}const Hu=qt?Vw(Co):Zr;for(be=Hu.length-1,R=Ie-1;R>=0;R--){const Ut=oe+R,hn=T[Ut],Vu=T[Ut+1],Wu=Ut+1<K?Vu.el||jm(Vu):U;Co[R]===0?m(null,hn,L,Wu,z,j,w,S,P):qt&&(be<0||R!==Hu[be]?Ae(hn,L,Wu,2):be--)}}},Ae=(C,T,L,U,z=null)=>{const{el:j,type:w,transition:S,children:P,shapeFlag:R}=C;if(R&6){Ae(C.component.subTree,T,L,U);return}if(R&128){C.suspense.move(T,L,U);return}if(R&64){w.move(C,T,L,ee);return}if(w===ot){r(j,T,L);for(let B=0;B<P.length;B++)Ae(P[B],T,L,U);r(C.anchor,T,L);return}if(w===$a){E(C,T,L);return}if(U!==2&&R&1&&S)if(U===0)S.persisted&&!j[Ma]?r(j,T,L):(S.beforeEnter(j),r(j,T,L),lt(()=>S.enter(j),z));else{const{leave:B,delayLeave:I,afterLeave:$}=S,oe=()=>{C.ctx.isUnmounted?o(j):r(j,T,L)},le=()=>{const be=j._isLeaving||!!j[Ma];j._isLeaving&&j[Ma](!0),S.persisted&&!be?oe():B(j,()=>{oe(),$&&$()})};I?I(j,oe,le):le()}else r(j,T,L)},je=(C,T,L,U=!1,z=!1)=>{const{type:j,props:w,ref:S,children:P,dynamicChildren:R,shapeFlag:K,patchFlag:B,dirs:I,cacheIndex:$,memo:oe}=C;if(B===-2&&(z=!1),S!=null&&(qn(),qo(S,null,L,C,!0),Kn()),$!=null&&(T.renderCache[$]=void 0),K&256){T.ctx.deactivate(C);return}const le=K&1&&I,be=!lr(C);let De;if(be&&(De=w&&w.onVnodeBeforeUnmount)&&Yt(De,T,C),K&6)Z(C.component,L,U);else{if(K&128){C.suspense.unmount(L,U);return}le&&yr(C,null,T,"beforeUnmount"),K&64?C.type.remove(C,T,L,ee,U):R&&!R.hasOnce&&(j!==ot||B>0&&B&64)?se(R,T,L,!1,!0):(j===ot&&B&384||!z&&K&16)&&se(P,T,L),U&>(C)}const Ie=oe!=null&&$==null;(be&&(De=w&&w.onVnodeUnmounted)||le||Ie)&<(()=>{De&&Yt(De,T,C),le&&yr(C,null,T,"unmounted"),Ie&&(C.el=null)},L)},gt=C=>{const{type:T,el:L,anchor:U,transition:z}=C;if(T===ot){Y(L,U);return}if(T===$a){g(C);return}const j=()=>{o(L),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(C.shapeFlag&1&&z&&!z.persisted){const{leave:w,delayLeave:S}=z,P=()=>w(L,j);S?S(C.el,j,P):P()}else j()},Y=(C,T)=>{let L;for(;C!==T;)L=d(C),o(C),C=L;o(T)},Z=(C,T,L)=>{const{bum:U,scope:z,job:j,subTree:w,um:S,m:P,a:R}=C;yi(P),yi(R),U&&Vo(U),z.stop(),j&&(j.flags|=8,je(w,C,T,L)),S&<(S,T),lt(()=>{C.isUnmounted=!0},T)},se=(C,T,L,U=!1,z=!1,j=0)=>{for(let w=j;w<C.length;w++)je(C[w],T,L,U,z)},D=C=>{if(C.shapeFlag&6)return D(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const T=d(C.anchor||C.el),L=T&&T[nw];return L?d(L):T};let H=!1;const V=(C,T,L)=>{let U;C==null?T._vnode&&(je(T._vnode,null,null,!0),U=T._vnode.component):m(T._vnode||null,C,T,null,null,null,L),T._vnode=C,H||(H=!0,Xu(U),hm(),H=!1)},ee={p:m,um:je,m:Ae,r:gt,mt:G,mc:v,pc:de,pbc:F,n:D,o:e};return{render:V,hydrate:void 0,createApp:Tw(V)}}function Fa({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 br({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $m(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(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&&$m(i,a)),a.type===bs&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===Pn&&!a.el&&(a.el=i.el)}}function Vw(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 Um(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Um(t)}function yi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function jm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?jm(t.subTree):null}const bi=e=>e.__isSuspense;function Ww(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Jv(e)}const ot=Symbol.for("v-fgt"),bs=Symbol.for("v-txt"),Pn=Symbol.for("v-cmt"),$a=Symbol.for("v-stc"),Yo=[];let Bt=null;function ue(e=!1){Yo.push(Bt=e?null:[])}function Gw(){Yo.pop(),Bt=Yo[Yo.length-1]||null}let os=1;function _i(e,t=!1){os+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function zm(e){return e.dynamicChildren=os>0?Bt||Zr:null,Gw(),os>0&&Bt&&Bt.push(e),e}function Ce(e,t,n,r,o,s){return zm(ze(e,t,n,r,o,s,!0))}function St(e,t,n,r,o){return zm(Ge(e,t,n,r,o,!0))}function io(e){return e?e.__v_isVNode===!0:!1}function Gr(e,t){return e.type===t.type&&e.key===t.key}const Bm=({key:e})=>e??null,Js=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||Ke(e)||he(e)?{i:dt,r:e,k:t,f:!!n}:e:null);function ze(e,t=null,n=null,r=0,o=null,s=e===ot?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bm(t),ref:t&&Js(t),scopeId:gm,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:dt};return a?(Zc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=qe(n)?8:16),os>0&&!i&&Bt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Bt.push(l),l}const Ge=qw;function qw(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Sm)&&(e=Pn),io(e)){const a=Pr(e,t,!0);return n&&Zc(a,n),os>0&&!s&&Bt&&(a.shapeFlag&6?Bt[Bt.indexOf(e)]=a:Bt.push(a)),a.patchFlag=-2,a}if(eE(e)&&(e=e.__vccOpts),t){t=vo(t);let{class:a,style:l}=t;a&&!qe(a)&&(t.class=We(a)),Ne(l)&&(Qi(l)&&!fe(l)&&(l=mt({},l)),t.style=Lt(l))}const i=qe(e)?1:bi(e)?128:rw(e)?64:Ne(e)?4:he(e)?2:0;return ze(e,t,n,r,o,i,s,!0)}function vo(e){return e?Qi(e)||Lm(e)?mt({},e):e:null}function Pr(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?ao(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Bm(c),ref:t&&t.ref?n&&s?fe(s)?s.concat(Js(t)):[s,Js(t)]:Js(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!==ot?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&&Pr(e.ssContent),ssFallback:e.ssFallback&&Pr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ea(u,l.clone(u)),u}function vi(e=" ",t=0){return Ge(bs,null,e,t)}function Tn(e="",t=!1){return t?(ue(),St(Pn,null,e)):Ge(Pn,null,e)}function vn(e){return e==null||typeof e=="boolean"?Ge(Pn):fe(e)?Ge(ot,null,e.slice()):io(e)?jn(e):Ge(bs,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pr(e)}function Zc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Zc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Lm(t)?t._ctx=dt:o===3&&dt&&(dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:dt},n=32):(t=String(t),r&64?(n=16,t=[vi(t)]):n=8);e.children=t,e.shapeFlag|=n}function ao(...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=We([t.class,r.class]));else if(o==="style")t.style=Lt([t.style,r.style]);else if(zi(o)){const s=t[o],i=r[o];i&&s!==i&&!(fe(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Bi(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Yt(e,t,n,r=null){un(e,t,7,[n,r])}const Kw=Tm();let Yw=0;function Xw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Kw,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 Vh(!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:Mm(r,o),emitsOptions:Am(r,o),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:r.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,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=Ow.bind(null,s),e.ce&&e.ce(s),s}let wt=null;const Rn=()=>wt||dt;let wi,Bl;{const e=Gi(),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)}};wi=t("__VUE_INSTANCE_SETTERS__",n=>wt=n),Bl=t("__VUE_SSR_SETTERS__",n=>ss=n)}const _s=e=>{const t=wt;return wi(e),e.scope.on(),()=>{e.scope.off(),wi(t)}},lf=()=>{wt&&wt.scope.off(),wi(null)};function Hm(e){return e.vnode.shapeFlag&4}let ss=!1;function Jw(e,t=!1,n=!1){t&&Bl(t);const{props:r,children:o}=e.vnode,s=Hm(e);Nw(e,r,s,t),Uw(e,o,n||t);const i=s?Qw(e,t):void 0;return t&&Bl(!1),i}function Qw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bw);const{setup:r}=n;if(r){qn();const o=e.setupContext=r.length>1?Wm(e):null,s=_s(e),i=ys(r,e,0,[e.props,o]),a=Fh(i);if(Kn(),s(),(a||e.sp)&&!lr(e)&&_m(e),a){if(i.then(lf,lf),t)return i.then(l=>{cf(e,l)}).catch(l=>{Zi(l,e,0)});e.asyncDep=i}else cf(e,i)}else Vm(e)}function cf(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=um(t)),Vm(e)}function Vm(e,t,n){const r=e.type;e.render||(e.render=r.render||Cn);{const o=_s(e);qn();try{ww(e)}finally{Kn(),o()}}}const Zw={get(e,t){return vt(e,"get",""),e[t]}};function Wm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zw),slots:e.slots,emit:e.emit,expose:t}}function sa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(um(Vc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ko)return Ko[n](e)},has(t,n){return n in t||n in Ko}})):e.proxy}function Hl(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function eE(e){return he(e)&&"__vccOpts"in e}const q=(e,t)=>Gv(e,t,ss);function fr(e,t,n){try{_i(-1);const r=arguments.length;return r===2?Ne(t)&&!fe(t)?io(t)?Ge(e,null,[t]):Ge(e,t):Ge(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&io(n)&&(n=[n]),Ge(e,t,n))}finally{_i(1)}}const tE="3.5.35";let Vl;const uf=typeof window<"u"&&window.trustedTypes;if(uf)try{Vl=uf.createPolicy("vue",{createHTML:e=>e})}catch{}const Gm=Vl?e=>Vl.createHTML(e):e=>e,nE="http://www.w3.org/2000/svg",rE="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,ff=Un&&Un.createElement("template"),oE={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(nE,e):t==="mathml"?Un.createElementNS(rE,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{ff.innerHTML=Gm(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ff.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]}},sE=Symbol("_vtc");function iE(e,t,n){const r=e[sE];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ei=Symbol("_vod"),qm=Symbol("_vsh"),aE={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ei]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):xo(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),xo(e,!0),r.enter(e)):r.leave(e,()=>{xo(e,!1)}):xo(e,t))},beforeUnmount(e,{value:t}){xo(e,t)}};function xo(e,t){e.style.display=t?e[Ei]:"none",e[qm]=!t}const lE=Symbol(""),cE=/(?:^|;)\s*display\s*:/;function uE(e,t,n){const r=e.style,o=qe(n);let s=!1;if(n&&!o){if(t)if(qe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Do(r,a,"")}else for(const i in t)n[i]==null&&Do(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?dE(e,i,!qe(t)&&t?t[i]:void 0,a)||Do(r,i,a):Do(r,i,"")}}else if(o){if(t!==n){const i=r[lE];i&&(n+=";"+i),r.cssText=n,s=cE.test(n)}}else t&&e.removeAttribute("style");Ei in e&&(e[Ei]=s?r.display:"",e[qm]&&(r.display="none"))}const df=/\s*!important$/;function Do(e,t,n){if(fe(n))n.forEach(r=>Do(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=fE(e,t);df.test(n)?e.setProperty(Rr(r),n.replace(df,""),"important"):e[r]=n}}const pf=["Webkit","Moz","ms"],Ua={};function fE(e,t){const n=Ua[t];if(n)return n;let r=At(t);if(r!=="filter"&&r in e)return Ua[t]=r;r=Wi(r);for(let o=0;o<pf.length;o++){const s=pf[o]+r;if(s in e)return Ua[t]=s}return t}function dE(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&qe(r)&&n===r}const hf="http://www.w3.org/1999/xlink";function mf(e,t,n,r,o,s=gv(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(hf,t.slice(6,t.length)):e.setAttributeNS(hf,t,n):n==null||s&&!zh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Vt(n)?String(n):n)}function gf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Gm(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=zh(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 pE(e,t,n,r){e.addEventListener(t,n,r)}function hE(e,t,n,r){e.removeEventListener(t,n,r)}const yf=Symbol("_vei");function mE(e,t,n,r,o=null){const s=e[yf]||(e[yf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=gE(t);if(r){const c=s[t]=_E(r,o);pE(e,a,c,l)}else i&&(hE(e,a,i,l),s[t]=void 0)}}const bf=/(?:Once|Passive|Capture)$/;function gE(e){let t;if(bf.test(e)){t={};let r;for(;r=e.match(bf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rr(e.slice(2)),t]}let ja=0;const yE=Promise.resolve(),bE=()=>ja||(yE.then(()=>ja=0),ja=Date.now());function _E(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(fe(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const i=o.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const c=i[l];c&&un(c,t,5,a)}}else un(o,t,5,[r])};return n.value=e,n.attached=bE(),n}const _f=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vE=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?iE(e,r,i):t==="style"?uE(e,n,r):zi(t)?Bi(t)||mE(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wE(e,t,r,i))?(gf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&mf(e,t,r,i,s,t!=="value")):e._isVueCE&&(EE(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!qe(r)))?gf(e,At(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),mf(e,t,r,i))};function wE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&_f(t)&&he(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 _f(t)&&qe(n)?!1:t in e}function EE(e,t){const n=e._def.props;if(!n)return!1;const r=At(t);return Array.isArray(n)?n.some(o=>At(o)===r):Object.keys(n).some(o=>At(o)===r)}const SE=["ctrl","shift","alt","meta"],CE={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)=>SE.some(n=>e[`${n}Key`]&&!t.includes(n))},vf=(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=CE[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},kE=mt({patchProp:vE},oE);let wf;function xE(){return wf||(wf=zw(kE))}const TE=((...e)=>{const t=xE().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=OE(r);if(!o)return;const s=t._component;!he(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,AE(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function AE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function OE(e){return qe(e)?document.querySelector(e):e}const za=new WeakMap,PE=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??qi();if(o==null&&!Gc())throw new Error("injectLocal must be called in setup");return o&&za.has(o)&&n in za.get(o)?za.get(o)[n]:Rt(...e)},IE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const LE=Object.prototype.toString,RE=e=>LE.call(e)==="[object Object]",ME=()=>{};function Km(...e){if(e.length!==1)return Vv(...e);const t=e[0];return typeof t=="function"?fi(jv(()=>({get:t,set:ME}))):ye(t)}function NE(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 Ym=e=>e();function DE(e=Ym,t={}){const{initialState:n="active"}=t,r=Km(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:Dv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function Ef(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ba(e){return Array.isArray(e)?e:[e]}function FE(e){return Rn()}function $E(e,t,n={}){const{eventFilter:r=Ym,...o}=n;return Je(e,NE(r,t),o)}function UE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=DE(r,{initialState:o});return{stop:$E(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Xm(e,t=!0,n){FE()?Ln(e,n):t?e():On(e)}function jE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ke(e),s=kn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=xn(n);return s.value=s.value===l?xn(r):l,s.value}}return o?i:[s,i]}function zE(e,t,n){return Je(e,t,{...n,immediate:!0})}const Er=IE?window:void 0;function Jm(e){var t;const n=xn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Wl(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=q(()=>{const r=Ba(xn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return zE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Jm(s)))!==null&&r!==void 0?r:[Er].filter(s=>s!=null),Ba(xn(n.value?e[1]:e[0])),Ba(Pe(n.value?e[2]:e[1])),xn(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=RE(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 BE(){const e=kn(!1),t=Rn();return t&&Ln(()=>{e.value=!0},t),e}function HE(e){const t=BE();return q(()=>(t.value,!!e()))}const VE=Symbol("vueuse-ssr-width");function WE(){const e=Gc()?PE(VE,null):null;return typeof e=="number"?e:void 0}function GE(e,t={}){const{window:n=Er,ssrWidth:r=WE()}=t,o=HE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=kn(typeof r=="number"),i=kn(),a=kn(!1),l=c=>{a.value=c.matches};return ew(()=>{if(s.value){s.value=!o.value,a.value=xn(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>=Ef(f[1])),d&&p&&(p=r<=Ef(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(xn(e)),a.value=i.value.matches)}),Wl(i,"change",l,{passive:!0}),q(()=>a.value)}const Is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ls="__vueuse_ssr_handlers__",qE=KE();function KE(){return Ls in Is||(Is[Ls]=Is[Ls]||{}),Is[Ls]}function Qm(e,t){return qE[e]||t}function YE(e){return GE("(prefers-color-scheme: dark)",e)}function XE(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 JE={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()}},Sf="vueuse-storage";function QE(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=Er,eventFilter:d,onError:p=G=>{console.error(G)},initOnMounted:h}=r,m=(u?kn:ye)(typeof t=="function"?t():t),b=q(()=>xn(e));if(!n)try{n=Qm("getDefaultStorage",()=>Er?.localStorage)()}catch(G){p(G)}if(!n)return m;const y=xn(t),_=XE(y),E=(o=r.serializer)!==null&&o!==void 0?o:JE[_],{pause:g,resume:A}=UE(m,G=>F(G),{flush:s,deep:i,eventFilter:d});Je(b,()=>X(),{flush:s});let k=!1;const x=G=>{h&&!k||X(G)},v=G=>{h&&!k||ne(G)};f&&a&&(n instanceof Storage?Wl(f,"storage",x,{passive:!0}):Wl(f,Sf,v)),h?Xm(()=>{k=!0,X()}):X();function O(G,Q){if(f){const J={key:b.value,oldValue:G,newValue:Q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",J):new CustomEvent(Sf,{detail:J}))}}function F(G){try{const Q=n.getItem(b.value);if(G==null)O(Q,null),n.removeItem(b.value);else{const J=E.write(G);Q!==J&&(n.setItem(b.value,J),O(Q,J))}}catch(Q){p(Q)}}function M(G){const Q=G?G.newValue:n.getItem(b.value);if(Q==null)return l&&y!=null&&n.setItem(b.value,E.write(y)),y;if(!G&&c){const J=E.read(Q);return typeof c=="function"?c(J,y):_==="object"&&!Array.isArray(J)?{...y,...J}:J}else return typeof Q!="string"?Q:E.read(Q)}function X(G){if(!(G&&G.storageArea!==n)){if(G&&G.key==null){m.value=y;return}if(!(G&&G.key!==b.value)){g();try{const Q=E.write(m.value);(G===void 0||G?.newValue!==Q)&&(m.value=M(G))}catch(Q){p(Q)}finally{G?On(A):A()}}}}function ne(G){X(G.detail)}return m}const ZE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function eS(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Er,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=YE({window:o}),p=q(()=>d.value?"dark":"light"),h=l||(i==null?Km(r):QE(i,r,s,{window:o,listenToStorageChanges:a})),m=q(()=>h.value==="auto"?p.value:h.value),b=Qm("updateHTMLAttrs",(g,A,k)=>{const x=typeof g=="string"?o?.document.querySelector(g):Jm(g);if(!x)return;const v=new Set,O=new Set;let F=null;if(A==="class"){const X=k.split(/\s/g);Object.values(f).flatMap(ne=>(ne||"").split(/\s/g)).filter(Boolean).forEach(ne=>{X.includes(ne)?v.add(ne):O.add(ne)})}else F={key:A,value:k};if(v.size===0&&O.size===0&&F===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(ZE)),o.document.head.appendChild(M));for(const X of v)x.classList.add(X);for(const X of O)x.classList.remove(X);F&&x.setAttribute(F.key,F.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(g){var A;b(t,n,(A=f[g])!==null&&A!==void 0?A:g)}function _(g){e.onChanged?e.onChanged(g,y):y(g)}Je(m,_,{flush:"post",immediate:!0}),Xm(()=>_(m.value));const E=q({get(){return c?h.value:m.value},set(g){h.value=g}});return Object.assign(E,{store:h,system:p,state:m})}function eu(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=eS({...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=q(()=>r.system.value);return q({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const tS="local://",nS="main",rS="container",oS="item",sS="/__global_config__",iS="/node_modules/.prebuild_module",aS="_metadata.json",lS="/_module_load_prefix_",cS="/_node_modules_load_prefix_",uS="/_comp_preview_prefix_local_",fS="/__proxy__",dS="/__master__",pS="__remote__",hS="__local__",mS="https://api.comphub.cn:5696",gS="http://localhost:7002",yS="http://localhost:5000",bS="http://localhost:5001",_S="Comp Hub",vS="csrfToken",wS="authorization",ES="x-refresh-token",SS="x-csrf-token",CS="accept-language",kS="comp-hub-db",xS="file-compiled",TS="https://oss.comphub.cn",AS="oss:sts:token",OS="oss:sts:expire",PS="comp.json",IS="README.md",LS="/.comp_hub_temp",RS="main.js",MS="index.vue",Zm="list_local",eg="list_remote",NS={COMP_LIST_TYPE_LOCAL:Zm,COMP_LIST_TYPE_REMOTE:eg},tg="config",ng="error",rg="dir",og="preview",sg="extra",ig="deps",ag="upgradeLog",lg="readme",DS={TAB_TYPE_CONFIG:tg,TAB_TYPE_ERROR:ng,TAB_TYPE_DIR:rg,TAB_TYPE_PREVIEW:og,TAB_TYPE_EXTRA:sg,TAB_TYPE_DEPS:ig,TAB_TYPE_UPGRADE_LOG:ag,TAB_TYPE_README:lg},cg="mini",ug="full",FS={COMP_EDIT_TAB_TYPE_MINI:cg,COMP_EDIT_TAB_TYPE_FULL:ug},fg="EDIT",dg="ADD",$S={DIALOG_TYPE_EDIT:fg,DIALOG_TYPE_ADD:dg},pg="ONLY_INSTALL",hg="AUTO",mg="MAJOR_VERSION",gg="MINOR_VERSION",yg="EXACT_VERSION",US={COMP_MATCH_TYPE_ONLY_INSTALL:pg,COMP_MATCH_TYPE_AUTO:hg,COMP_MATCH_TYPE_MAJOR_VERSION:mg,COMP_MATCH_TYPE_MINOR_VERSION:gg,COMP_MATCH_TYPE_EXACT_VERSION:yg},bg="online",_g="offline",jS={COMP_UPDATE_TYPE_ONLINE:bg,COMP_UPDATE_TYPE_OFFLINE:_g},zS=0,BS=1,HS=-1,vg="checkPreviewListForm",wg="checkExtraInfoForm",Eg="checkCompConfig",Sg="afterCompDel",Cg="openCompTerminal",kg="afterCompCancelCollect",xg="afterCompRenderRetry",Tg="getCompError",Ag="checkUpgradeLogForm",VS={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:vg,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:wg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:Eg,COMP_METHOD_KEY_AFTER_COMP_DEL:Sg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:Cg,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:kg,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:xg,COMP_METHOD_KEY_GET_COMP_ERROR:Tg,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:Ag},WS={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",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},GS="http://127.0.0.1",qS="http://localhost:8095",KS="http://localhost:8096",YS="http://localhost:5198",XS="/item",JS="/container",QS="CREATE",ZS="JOIN",eC="EXIT",tC="teamAddMyComp",nC="teamCompList",rC="teamCompGroupList",oC="teamMyCompList",sC="teamMyCompUpdate",iC="vue/dist/vue.esm-bundler.js",aC="__v__",lC="compListStore",cC="compEditStore",uC="callbacks",fC="comphubConfig",dC="local",pC="prod",hC="local",mC="prod",gC="http://localhost:5173/en/",yC="https://docs.comphub.cn",bC="screenshot_mini.png",_C=20,vC=20,me=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:CS,AUTHORIZATION_HEADER_NAME:wS,CACHE_KEY_STS_EXPIRE_TIME:OS,CACHE_KEY_STS_TOKEN:AS,COMPHUB_CONFIG_KEY:fC,COMP_ACTION_ICON_HEIGHT:vC,COMP_ACTION_ICON_WIDTH:_C,COMP_CONFIG_FILENAME:PS,COMP_EDIT_TAB_TYPES:FS,COMP_EDIT_TAB_TYPE_FULL:ug,COMP_EDIT_TAB_TYPE_MINI:cg,COMP_ENTRY_FILE:RS,COMP_HUB_DEV_DOCS_URL:gC,COMP_HUB_PROD_DOCS_URL:yC,COMP_LIST_TYPES:NS,COMP_LIST_TYPE_LOCAL:Zm,COMP_LIST_TYPE_REMOTE:eg,COMP_MATCH_TYPES:US,COMP_MATCH_TYPE_AUTO:hg,COMP_MATCH_TYPE_EXACT_VERSION:yg,COMP_MATCH_TYPE_MAJOR_VERSION:mg,COMP_MATCH_TYPE_MINOR_VERSION:gg,COMP_MATCH_TYPE_ONLY_INSTALL:pg,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:kg,COMP_METHOD_KEY_AFTER_COMP_DEL:Sg,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:xg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:Eg,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:wg,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:vg,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:Ag,COMP_METHOD_KEY_GET_COMP_ERROR:Tg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:Cg,COMP_PREVIEW_PREFIX_LOCAL:uS,COMP_README_FILENAME:IS,COMP_SCREENSHOT_MINI_FILENAME:bC,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:3145728,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:LS,COMP_UPDATE_TYPES:jS,COMP_UPDATE_TYPE_OFFLINE:_g,COMP_UPDATE_TYPE_ONLINE:bg,COMP_USE_ENTRY_FILE:MS,CSRF_KEY:vS,CSRF_TOKEN_HEADER_NAME:SS,DIALOG_TYPES:$S,DIALOG_TYPE_ADD:dg,DIALOG_TYPE_EDIT:fg,FILE_MANAGER_DIRNAME:tS,GLOBAL_CONFIG_PATH:sS,IFRAME_CONTAINER_WEBSITE_PATH:JS,IFRAME_HOST:GS,IFRAME_ITEM_WEBSITE_PATH:XS,IFRAME_ROUTES:WS,INDEX_DB_NAME:kS,INDEX_DB_TABLE_NAME:xS,LOCAL_CHILD_IFRAME_URL:qS,LOCAL_LEAF_IFRAME_URL:KS,LOCAL_MIDWAY_ENV_LOCAL:dC,LOCAL_MIDWAY_ENV_PROD:pC,LOCAL_SERVICE_PREFIX:hS,LOCAL_SERVICE_URL_DEV:yS,LOCAL_SERVICE_URL_DEV_SUB:bS,LOCAL_TOP_IFRAME_URL:YS,MASTER_API_PREFIX:dS,META_FILE_NAME:aS,MODULE_LOAD_PREFIX:lS,NODE_MODULES_LOAD_PREFIX:cS,OSS_CUSTOM_DOMAIN:TS,PREBUILD_MODULE_DIR:iS,PROVIDE_KEYS:VS,PROVIDE_KEY_CALLBACKS:uC,PROVIDE_KEY_COMP_EDIT_STORE:cC,PROVIDE_KEY_COMP_LIST_STORE:lC,PROXY_PATH_PREFIX:fS,REFRESH_TOKEN_HEADER_NAME:ES,REMOTE_MIDWAY_ENV_LOCAL:hC,REMOTE_MIDWAY_ENV_PROD:mC,REMOTE_SERVICE_PREFIX:pS,REMOTE_SERVICE_URL_DEV:gS,REMOTE_SERVICE_URL_PROD:mS,ROUTE_STATE_KEY_VERSION:aC,SCOPE_ID_TEAM_ADD_MY_COMP:tC,SCOPE_ID_TEAM_COMP_GROUP_LIST:rC,SCOPE_ID_TEAM_COMP_LIST:nC,SCOPE_ID_TEAM_MY_COMP_LIST:oC,SCOPE_ID_TEAM_MY_COMP_UPDATE:sC,SITE_TITLE:_S,TAB_TYPES:DS,TAB_TYPE_CONFIG:tg,TAB_TYPE_DEPS:ig,TAB_TYPE_DIR:rg,TAB_TYPE_ERROR:ng,TAB_TYPE_EXTRA:sg,TAB_TYPE_PREVIEW:og,TAB_TYPE_README:lg,TAB_TYPE_UPGRADE_LOG:ag,TEAM_OPERATE_TYPE_CREATE:QS,TEAM_OPERATE_TYPE_EXIT:eC,TEAM_OPERATE_TYPE_JOIN:ZS,VERSION_COMPARE_GREATER:BS,VERSION_COMPARE_LESS:HS,VERSION_COMPARE_SAME:zS,VUE_ESM_BUNDLER:iC,WEBSITE_PATH_CONTAINER:rS,WEBSITE_PATH_ITEM:oS,WEBSITE_PATH_MAIN:nS},Symbol.toStringTag,{value:"Module"})),wC=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],EC=[".css"],SC=[{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"}],Og=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:SC,DEFAULT_TAG_GROUP:wC,PREBUILD_MODULE_SKIP_EXT:EC},Symbol.toStringTag,{value:"Module"})),CC="comp-hub-locale",kC=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:CC},Symbol.toStringTag,{value:"Module"}));function xC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ha={exports:{}},Cf;function TC(){return Cf||(Cf=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={},h={},m="",b="",y="",_=2,E=3,g=2,A=[],k=0,x=0,v;for(v=0;v<l.length;v+=1)if(m=l.charAt(v),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=E++,h[m]=!0),b=y+m,Object.prototype.hasOwnProperty.call(p,b))y=b;else{if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)k=k<<1,x==c-1?(x=0,A.push(u(k)),k=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)k=k<<1|d,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete h[y]}else for(d=p[y],f=0;f<g;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++),p[b]=E++,y=String(m)}if(y!==""){if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)k=k<<1,x==c-1?(x=0,A.push(u(k)),k=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)k=k<<1|d,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete h[y]}else for(d=p[y],f=0;f<g;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++)}for(d=2,f=0;f<g;f++)k=k<<1|d&1,x==c-1?(x=0,A.push(u(k)),k=0):x++,d=d>>1;for(;;)if(k=k<<1,x==c-1){A.push(u(k));break}else x++;return A.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,h=3,m="",b=[],y,_,E,g,A,k,x,v={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,A=Math.pow(2,2),k=1;k!=A;)g=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(g>0?1:0)*k,k<<=1;switch(E){case 0:for(E=0,A=Math.pow(2,8),k=1;k!=A;)g=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(g>0?1:0)*k,k<<=1;x=n(E);break;case 1:for(E=0,A=Math.pow(2,16),k=1;k!=A;)g=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(g>0?1:0)*k,k<<=1;x=n(E);break;case 2:return""}for(f[3]=x,_=x,b.push(x);;){if(v.index>l)return"";for(E=0,A=Math.pow(2,h),k=1;k!=A;)g=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(g>0?1:0)*k,k<<=1;switch(x=E){case 0:for(E=0,A=Math.pow(2,8),k=1;k!=A;)g=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(g>0?1:0)*k,k<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,A=Math.pow(2,16),k=1;k!=A;)g=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(g>0?1:0)*k,k<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return b.join("")}if(d==0&&(d=Math.pow(2,h),h++),f[x])m=f[x];else if(x===p)m=_+_.charAt(0);else return null;b.push(m),f[p++]=_+m.charAt(0),d--,_=m,d==0&&(d=Math.pow(2,h),h++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Ha)),Ha.exports}var AC=TC();const kf=xC(AC),xf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],pr=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!xf.includes(l)).length)throw new Error(`iframe参数键名只能包含${xf.join(", ")}`);return kf.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=kf.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}},wo=e=>{const{params:{topOrigin:t}}=pr();return t},_e={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",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",COMP_SCREENSHOT_REQUEST:"comp_screenshot_request",COMP_SCREENSHOT_RESPONSE:"comp_screenshot_response",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function Eo(){const e=Rn(),t=(i,a,l,c)=>{i.postMessage({type:a,payload:JSON.stringify(l)},c)};return{sendMessageToParent:(i,a,l)=>{window.parent.postMessage({type:i,payload:JSON.stringify(a)},l)},sendMessageToTop:(i,a,l,c)=>{if(!l)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:i,payload:JSON.stringify(a),instanceUid:c},l)},sendMessageToTargetIframe:t,messageListener:()=>{const i=new Map,a=l=>{const{type:c,payload:u,instanceUid:f}=l.data??{},d=l.source===window.parent||l.source===window.top,p=f?.split(",").some(m=>m===e?.uid.toString()),h=i.get(c);(p||d)&&h?.(JSON.parse(u))};return window.addEventListener("message",a),bo(()=>{window.removeEventListener("message",a),i.clear()}),{addListener:(l,c)=>{i.set(l,u=>{c(u)})},removeListener:l=>{l?i.delete(l):(i.clear(),window.removeEventListener("message",a))}}},requestResponse:async({targetWindow:i,requestType:a,responseType:l,data:c,targetOrigin:u,timeout:f=1e4})=>i?new Promise(d=>{let p=!1;const h=setTimeout(()=>{p||(p=!0,window.removeEventListener("message",m),d(null))},f),m=b=>{if(!p)try{const{type:y,payload:_}=b.data;y===l&&(p=!0,clearTimeout(h),window.removeEventListener("message",m),d(JSON.parse(_)))}catch{}};window.addEventListener("message",m),t(i,a,c,u)}):null,instanceUid:q(()=>e?.uid?.toString()??"")}}function OC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Si=typeof window<"u",hr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),PC=(e,t,n)=>IC({l:e,k:t,s:n}),IC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),st=e=>typeof e=="number"&&isFinite(e),Pg=e=>nu(e)==="[object Date]",lo=e=>nu(e)==="[object RegExp]",ia=e=>Ee(e)&&Object.keys(e).length===0,it=Object.assign,LC=Object.create,Ue=(e=null)=>LC(e);let Tf;const Sr=()=>Tf||(Tf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ue());function Af(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function RC(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const MC=/^\s*javascript\s*(?::|�*58;?|�*3a;?|:?)/i,NC=/^(?:href|src|action|formaction)$/i;function tu(e){return MC.test(e)}function DC(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,i=t.lastIndex-1;let a=i+1,l=1,c=null;for(;a<e.length;a++){const d=e[a];if(c){d===c&&(c=null);continue}if(d==='"'||d==="'")c=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const u=e.slice(i+1,a).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;n+=e.slice(r,s),n+=tu(f)?"url(about:blank)":e.slice(s,a+1),r=a+1}return n+e.slice(r)}function Of(e,t){if(NC.test(e)&&tu(t))return"about:blank";const n=e.toLowerCase()==="style"?DC(t):t;return RC(n)}function FC(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${Of(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${Of(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>tu(o)?`${r}about:blank`:n),e}const $C=Object.prototype.hasOwnProperty;function Qt(e,t){return $C.call(e,t)}const et=Array.isArray,Xe=e=>typeof e=="function",te=e=>typeof e=="string",ke=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",UC=e=>xe(e)&&Xe(e.then)&&Xe(e.catch),Ig=Object.prototype.toString,nu=e=>Ig.call(e),Ee=e=>nu(e)==="[object Object]",jC=e=>e==null?"":et(e)||Ee(e)&&e.toString===Ig?JSON.stringify(e,null,2):String(e);function ru(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Rs=e=>!xe(e)||et(e);function Qs(e,t){if(Rs(e)||Rs(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__"&&(xe(r[s])&&!xe(o[s])&&(o[s]=Array.isArray(r[s])?[]:Ue()),Rs(o[s])||Rs(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function zC(e,t,n){return{line:e,column:t,offset:n}}function Gl(e,t,n){return{start:e,end:t}}const Re={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},BC=17;function aa(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 HC(e){throw e}const mn=" ",VC="\r",yt=`
|
|
2
2
|
`,WC="\u2028",GC="\u2029";function qC(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===VC&&t[x+1]===yt,a=x=>t[x]===yt,l=x=>t[x]===GC,c=x=>t[x]===WC,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,h=()=>s,m=x=>i(x)||l(x)||c(x)?yt:t[x],b=()=>m(n),y=()=>m(n+s);function _(){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 g(){n=0,r=1,o=1,s=0}function A(x=0){s=x}function k(){const x=n+s;for(;x!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:h,charAt:m,currentChar:b,currentPeek:y,next:_,peek:E,reset:g,resetPeek:A,skipToPeek:k}}const Nn=void 0,KC=".",Pf="'",YC="tokenizer";function XC(e,t={}){const n=t.location!==!1,r=qC(e),o=()=>r.index(),s=()=>zC(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,P,...R){const K=c();if(S.column+=P,S.offset+=P,u){const B=n?Gl(K.startLoc,S):null,I=aa(w,B,{domain:YC,args:R});u(I)}}function d(w,S,P){w.endLoc=s(),w.currentType=S;const R={type:S};return n&&(R.loc=Gl(w.startLoc,w.endLoc)),P!=null&&(R.value=P),R}const p=w=>d(w,13);function h(w,S){return w.currentChar()===S?(w.next(),S):(f(Re.EXPECTED_TOKEN,s(),0,S),"")}function m(w){let S="";for(;w.currentPeek()===mn||w.currentPeek()===yt;)S+=w.currentPeek(),w.peek();return S}function b(w){const S=m(w);return w.skipToPeek(),S}function y(w){if(w===Nn)return!1;const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function _(w){if(w===Nn)return!1;const S=w.charCodeAt(0);return S>=48&&S<=57}function E(w,S){const{currentType:P}=S;if(P!==2)return!1;m(w);const R=y(w.currentPeek());return w.resetPeek(),R}function g(w,S){const{currentType:P}=S;if(P!==2)return!1;m(w);const R=w.currentPeek()==="-"?w.peek():w.currentPeek(),K=_(R);return w.resetPeek(),K}function A(w,S){const{currentType:P}=S;if(P!==2)return!1;m(w);const R=w.currentPeek()===Pf;return w.resetPeek(),R}function k(w,S){const{currentType:P}=S;if(P!==7)return!1;m(w);const R=w.currentPeek()===".";return w.resetPeek(),R}function x(w,S){const{currentType:P}=S;if(P!==8)return!1;m(w);const R=y(w.currentPeek());return w.resetPeek(),R}function v(w,S){const{currentType:P}=S;if(!(P===7||P===11))return!1;m(w);const R=w.currentPeek()===":";return w.resetPeek(),R}function O(w,S){const{currentType:P}=S;if(P!==9)return!1;const R=()=>{const B=w.currentPeek();return B==="{"?y(w.peek()):B==="@"||B==="|"||B===":"||B==="."||B===mn||!B?!1:B===yt?(w.peek(),R()):M(w,!1)},K=R();return w.resetPeek(),K}function F(w){m(w);const S=w.currentPeek()==="|";return w.resetPeek(),S}function M(w,S=!0){const P=(K=!1,B="")=>{const I=w.currentPeek();return I==="{"||I==="@"||!I?K:I==="|"?!(B===mn||B===yt):I===mn?(w.peek(),P(!0,mn)):I===yt?(w.peek(),P(!0,yt)):!0},R=P();return S&&w.resetPeek(),R}function X(w,S){const P=w.currentChar();return P===Nn?Nn:S(P)?(w.next(),P):null}function ne(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function G(w){return X(w,ne)}function Q(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 J(w){return X(w,Q)}function re(w){const S=w.charCodeAt(0);return S>=48&&S<=57}function de(w){return X(w,re)}function Ye(w){const S=w.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function ft(w){return X(w,Ye)}function Ae(w){let S="",P="";for(;S=de(w);)P+=S;return P}function je(w){let S="";for(;;){const P=w.currentChar();if(P==="\\"){const R=w.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=P+R,w.next(),w.next()):(w.resetPeek(),S+=P,w.next())}else{if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P===mn||P===yt)if(M(w))S+=P,w.next();else{if(F(w))break;S+=P,w.next()}else S+=P,w.next()}}return S}function gt(w){b(w);let S="",P="";for(;S=J(w);)P+=S;const R=w.currentChar();if(R&&R!=="}"&&R!==Nn&&R!==mn&&R!==yt&&R!==" "){const K=ee(w);return f(Re.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P+K),P+K}return w.currentChar()===Nn&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),P}function Y(w){b(w);let S="";return w.currentChar()==="-"?(w.next(),S+=`-${Ae(w)}`):S+=Ae(w),w.currentChar()===Nn&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),S}function Z(w){return w!==Pf&&w!==yt}function se(w){b(w),h(w,"'");let S="",P="";for(;S=X(w,Z);)S==="\\"?P+=D(w):P+=S;const R=w.currentChar();return R===yt||R===Nn?(f(Re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===yt&&(w.next(),h(w,"'")),P):(h(w,"'"),P)}function D(w){const S=w.currentChar();switch(S){case"\\":case"'":return w.next(),`\\${S}`;case"u":return H(w,S,4);case"U":return H(w,S,6);default:return f(Re.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function H(w,S,P){h(w,S);let R="";for(let K=0;K<P;K++){const B=ft(w);if(!B){f(Re.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${w.currentChar()}`);break}R+=B}return`\\${S}${R}`}function V(w){return w!=="{"&&w!=="}"&&w!==mn&&w!==yt}function ee(w){b(w);let S="",P="";for(;S=X(w,V);)P+=S;return P}function ie(w){let S="",P="";for(;S=G(w);)P+=S;return P}function C(w){const S=P=>{const R=w.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===mn?P:(P+=R,w.next(),S(P))};return S("")}function T(w){b(w);const S=h(w,"|");return b(w),S}function L(w,S){let P=null;switch(w.currentChar()){case"{":return S.braceNest>=1&&f(Re.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),w.next(),P=d(S,2,"{"),b(w),S.braceNest++,P;case"}":return S.braceNest>0&&S.currentType===2&&f(Re.EMPTY_PLACEHOLDER,s(),0),w.next(),P=d(S,3,"}"),S.braceNest--,S.braceNest>0&&b(w),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),P;case"@":return S.braceNest>0&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),P=U(w,S)||p(S),S.braceNest=0,P;default:{let K=!0,B=!0,I=!0;if(F(w))return S.braceNest>0&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),P=d(S,1,T(w)),S.braceNest=0,S.inLinked=!1,P;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(w,S);if(K=E(w,S))return P=d(S,4,gt(w)),b(w),P;if(B=g(w,S))return P=d(S,5,Y(w)),b(w),P;if(I=A(w,S))return P=d(S,6,se(w)),b(w),P;if(!K&&!B&&!I)return P=d(S,12,ee(w)),f(Re.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P.value),b(w),P;break}}return P}function U(w,S){const{currentType:P}=S;let R=null;const K=w.currentChar();switch((P===7||P===8||P===11||P===9)&&(K===yt||K===mn)&&f(Re.INVALID_LINKED_FORMAT,s(),0),K){case"@":return w.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return b(w),w.next(),d(S,8,".");case":":return b(w),w.next(),d(S,9,":");default:return F(w)?(R=d(S,1,T(w)),S.braceNest=0,S.inLinked=!1,R):k(w,S)||v(w,S)?(b(w),U(w,S)):x(w,S)?(b(w),d(S,11,ie(w))):O(w,S)?(b(w),K==="{"?L(w,S)||R:d(S,10,C(w))):(P===7&&f(Re.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(w,S))}}function z(w,S){let P={type:13};if(S.braceNest>0)return L(w,S)||p(S);if(S.inLinked)return U(w,S)||p(S);switch(w.currentChar()){case"{":return L(w,S)||p(S);case"}":return f(Re.UNBALANCED_CLOSING_BRACE,s(),0),w.next(),d(S,3,"}");case"@":return U(w,S)||p(S);default:{if(F(w))return P=d(S,1,T(w)),S.braceNest=0,S.inLinked=!1,P;if(M(w))return d(S,0,je(w));break}}return P}function j(){const{currentType:w,offset:S,startLoc:P,endLoc:R}=l;return l.lastType=w,l.lastOffset=S,l.lastStartLoc=P,l.lastEndLoc=R,l.offset=o(),l.startLoc=s(),r.currentChar()===Nn?d(l,13):z(r,l)}return{nextToken:j,currentOffset:o,currentPosition:s,context:c}}const JC="parser",QC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,ZC=/\\([\\@{}|])/g;function e0(e,t){return t}function t0(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 n0(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,_,E,g,...A){const k=y.currentPosition();if(k.offset+=g,k.column+=g,n){const x=t?Gl(E,k):null,v=aa(_,x,{domain:JC,args:A});n(v)}}function o(y,_,E){const g={type:y};return t&&(g.start=_,g.end=_,g.loc={start:E,end:E}),g}function s(y,_,E,g){t&&(y.end=_,y.loc&&(y.loc.end=E))}function i(y,_){const E=y.context(),g=o(3,E.offset,E.startLoc);return g.value=_.replace(ZC,e0),s(g,y.currentOffset(),y.currentPosition()),g}function a(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,k=o(5,g,A);return k.index=parseInt(_,10),y.nextToken(),s(k,y.currentOffset(),y.currentPosition()),k}function l(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,k=o(4,g,A);return k.key=_,y.nextToken(),s(k,y.currentOffset(),y.currentPosition()),k}function c(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,k=o(9,g,A);return k.value=_.replace(QC,t0),y.nextToken(),s(k,y.currentOffset(),y.currentPosition()),k}function u(y){const _=y.nextToken(),E=y.context(),{lastOffset:g,lastStartLoc:A}=E,k=o(8,g,A);return _.type!==11?(r(y,Re.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),k.value="",s(k,g,A),{nextConsumeToken:_,node:k}):(_.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,gn(_)),k.value=_.value||"",s(k,y.currentOffset(),y.currentPosition()),{node:k})}function f(y,_){const E=y.context(),g=o(7,E.offset,E.startLoc);return g.value=_,s(g,y.currentOffset(),y.currentPosition()),g}function d(y){const _=y.context(),E=o(6,_.offset,_.startLoc);let g=y.nextToken();if(g.type===8){const A=u(y);E.modifier=A.node,g=A.nextConsumeToken||y.nextToken()}switch(g.type!==9&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 10:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=f(y,g.value||"");break;case 4:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=l(y,g.value||"");break;case 5:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=a(y,g.value||"");break;case 6:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=c(y,g.value||"");break;default:{r(y,Re.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const A=y.context(),k=o(7,A.offset,A.startLoc);return k.value="",s(k,A.offset,A.startLoc),E.key=k,s(E,A.offset,A.startLoc),{nextConsumeToken:g,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const _=y.context(),E=_.currentType===1?y.currentOffset():_.offset,g=_.currentType===1?_.endLoc:_.startLoc,A=o(2,E,g);A.items=[];let k=null;do{const O=k||y.nextToken();switch(k=null,O.type){case 0:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(i(y,O.value||""));break;case 5:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(a(y,O.value||""));break;case 4:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(l(y,O.value||""));break;case 6:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(c(y,O.value||""));break;case 7:{const F=d(y);A.items.push(F.node),k=F.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const x=_.currentType===1?_.lastOffset:y.currentOffset(),v=_.currentType===1?_.lastEndLoc:y.currentPosition();return s(A,x,v),A}function h(y,_,E,g){const A=y.context();let k=g.items.length===0;const x=o(1,_,E);x.cases=[],x.cases.push(g);do{const v=p(y);k||(k=v.items.length===0),x.cases.push(v)}while(A.currentType!==13);return k&&r(y,Re.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function m(y){const _=y.context(),{offset:E,startLoc:g}=_,A=p(y);return _.currentType===13?A:h(y,E,g,A)}function b(y){const _=XC(y,it({},e)),E=_.context(),g=o(0,E.offset,E.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=m(_),e.onCacheKey&&(g.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(_,Re.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(g,_.currentOffset(),_.currentPosition()),g}return{parse:b}}function gn(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 r0(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function If(e,t){for(let n=0;n<e.length;n++)ou(e[n],t)}function ou(e,t){switch(e.type){case 1:If(e.cases,t),t.helper("plural");break;case 2:If(e.items,t);break;case 6:{ou(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 o0(e,t={}){const n=r0(e);n.helper("normalize"),e.body&&ou(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function s0(e){const t=e.body;return t.type===2?Lf(t):t.cases.forEach(n=>Lf(n)),e}function Lf(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=ru(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 qr(e){switch(e.t=e.type,e.type){case 0:{const t=e;qr(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++)qr(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++)qr(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;qr(t.key),t.k=t.key,delete t.key,t.modifier&&(qr(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 i0(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(m,b){i.code+=m}function c(m,b=!0){const y=b?r:"";l(o?y+" ".repeat(m):y)}function u(m=!0){const b=++i.indentLevel;m&&c(b)}function f(m=!0){const b=--i.indentLevel;m&&c(b)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:m=>`_${m}`,needIndent:()=>i.needIndent}}function a0(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),co(e,t.key),t.modifier?(e.push(", "),co(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function l0(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&&(co(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function c0(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&&(co(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function u0(e,t){t.body?co(e,t.body):e.push("null")}function co(e,t){const{helper:n}=e;switch(t.type){case 0:u0(e,t);break;case 1:c0(e,t);break;case 2:l0(e,t);break;case 6:a0(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 f0=(e,t={})=>{const n=te(t.mode)?t.mode:"normal",r=te(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=i0(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${ru(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),co(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 d0(e,t={}){const n=it({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=n0(n).parse(e);return r?(s&&s0(a),o&&qr(a),{ast:a,code:""}):(o0(a,n),f0(a,n))}function p0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Sr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function An(e){return xe(e)&&su(e)===0&&(Qt(e,"b")||Qt(e,"body"))}const Lg=["b","body"];function h0(e){return mr(e,Lg)}const Rg=["c","cases"];function m0(e){return mr(e,Rg,[])}const Mg=["s","static"];function g0(e){return mr(e,Mg)}const Ng=["i","items"];function y0(e){return mr(e,Ng,[])}const Dg=["t","type"];function su(e){return mr(e,Dg)}const Fg=["v","value"];function Ms(e,t){const n=mr(e,Fg);if(n!=null)return n;throw is(t)}const $g=["m","modifier"];function b0(e){return mr(e,$g)}const Ug=["k","key"];function _0(e){const t=mr(e,Ug);if(t)return t;throw is(6)}function mr(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 jg=[...Lg,...Rg,...Mg,...Ng,...Ug,...$g,...Fg,...Dg];function is(e){return new Error(`unhandled node type: ${e}`)}function Va(e){return n=>v0(n,e)}function v0(e,t){const n=h0(t);if(n==null)throw is(0);if(su(n)===1){const s=m0(n);return e.plural(s.reduce((i,a)=>[...i,Rf(e,a)],[]))}else return Rf(e,n)}function Rf(e,t){const n=g0(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=y0(t).reduce((o,s)=>[...o,ql(e,s)],[]);return e.normalize(r)}}function ql(e,t){const n=su(t);switch(n){case 3:return Ms(t,n);case 9:return Ms(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 is(n)}case 5:{const r=t;if(Qt(r,"i")&&st(r.i))return e.interpolate(e.list(r.i));if(Qt(r,"index")&&st(r.index))return e.interpolate(e.list(r.index));throw is(n)}case 6:{const r=t,o=b0(r),s=_0(r);return e.linked(ql(e,s),o?ql(e,o):void 0,e.type)}case 7:return Ms(t,n);case 8:return Ms(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const w0=e=>e;let Ns=Ue();function E0(e,t={}){let n=!1;const r=t.onError||HC;return t.onError=o=>{n=!0,r(o)},{...d0(e,t),detectError:n}}function S0(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&te(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||w0)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=E0(e,{...t,location:!1,jit:!0}),a=Va(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=Va(e))}else return Va(e)}}let as=null;function C0(e){as=e}function k0(e,t,n){as&&as.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const x0=T0("function:translate");function T0(e){return t=>as&&as.emit(e,t)}const Hn={INVALID_ARGUMENT:BC,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},A0=24;function Vn(e){return aa(e,null,void 0)}function iu(e,t){return t.locale!=null?Mf(t.locale):Mf(e.locale)}let Wa;function Mf(e){if(te(e))return e;if(Xe(e)){if(e.resolvedOnce&&Wa!=null)return Wa;if(e.constructor.name==="Function"){const t=e();if(UC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wa=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function O0(e,t,n){return[...new Set([n,...et(t)?t:xe(t)?Object.keys(t):te(t)?[t]:[n]])]}function Kl(e,t,n){const r=te(n)?n:ls,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;et(i);)i=Nf(s,i,t);const a=et(t)||!Ee(t)?t:t.default?t.default:null;i=te(a)?[a]:a,et(i)&&Nf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Nf(e,t,n){let r=!0;for(let o=0;o<t.length&&ke(r);o++){const s=t[o];te(s)&&(r=P0(e,t[o],n))}return r}function P0(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=I0(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function I0(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),(et(n)||Ee(n))&&n[o]&&(r=n[o])}return r}const gr=[];gr[0]={w:[0],i:[3,0],"[":[4],o:[7]};gr[1]={w:[1],".":[2],"[":[4],o:[7]};gr[2]={w:[2],i:[3,0],0:[3,0]};gr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};gr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};gr[5]={"'":[4,0],o:8,l:[5,0]};gr[6]={'"':[4,0],o:8,l:[6,0]};const L0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function R0(e){return L0.test(e)}function M0(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 N0(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 D0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:R0(t)?M0(t):"*"+t}function F0(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=D0(i),i===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=N0(s),f=gr[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 Df=new Map;function $0(e,t){return xe(e)?e[t]:null}function U0(e,t){if(!xe(e))return null;let n=Df.get(t);if(n||(n=F0(t),n&&Df.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(jg.includes(i)&&An(o)||!xe(o)||!Qt(o,i))return null;const a=o[i];if(a===void 0||Xe(o))return null;o=a,s++}return o}const j0="11.4.4",la=-1,ls="en-US",Ci="",Ff=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function z0(){return{upper:(e,t)=>t==="text"&&te(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&te(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&te(e)?Ff(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?Ff(e.children):e}}let zg;function B0(e){zg=e}let Bg;function H0(e){Bg=e}let Hg;function V0(e){Hg=e}let Vg=null;const W0=e=>{Vg=e},G0=()=>Vg;let Wg=null;const $f=e=>{Wg=e},q0=()=>Wg;let Uf=0;function K0(e={}){const t=Xe(e.onWarn)?e.onWarn:OC,n=te(e.version)?e.version:j0,r=te(e.locale)||Xe(e.locale)?e.locale:ls,o=Xe(r)?ls:r,s=et(e.fallbackLocale)||Ee(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Ee(e.messages)?e.messages:Ga(o),a=Ee(e.datetimeFormats)?e.datetimeFormats:Ga(o),l=Ee(e.numberFormats)?e.numberFormats:Ga(o),c=it(Ue(),e.modifiers,z0()),u=e.pluralRules||Ue(),f=Xe(e.missing)?e.missing:null,d=ke(e.missingWarn)||lo(e.missingWarn)?e.missingWarn:!0,p=ke(e.fallbackWarn)||lo(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,b=Xe(e.postTranslation)?e.postTranslation:null,y=Ee(e.processor)?e.processor:null,_=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Xe(e.messageCompiler)?e.messageCompiler:zg,A=Xe(e.messageResolver)?e.messageResolver:Bg||$0,k=Xe(e.localeFallbacker)?e.localeFallbacker:Hg||O0,x=xe(e.fallbackContext)?e.fallbackContext:void 0,v=e,O=xe(v.__datetimeFormatters)?v.__datetimeFormatters:new Map,F=xe(v.__numberFormatters)?v.__numberFormatters:new Map,M=xe(v.__meta)?v.__meta:{};Uf++;const X={version:n,cid:Uf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:k,fallbackContext:x,onWarn:t,__meta:M};return X.datetimeFormats=a,X.numberFormats=l,X.__datetimeFormatters=O,X.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&k0(X,n,M),X}const Ga=e=>({[e]:Ue()});function au(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return te(a)?a:t}else return t}function To(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Y0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function X0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Y0(e,t[r]))return!0;return!1}function jf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!te(t[0])&&!Pg(t[0])&&!st(t[0]))return Ci;const[l,c,u,f]=Yl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=iu(e,u),m=i(e,o,h);if(!te(l)||l==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!Ee(_));k++)au(e,l,y,d,E);if(!Ee(_)||!te(y))return r?la:l;let g=`${y}__${l}`;ia(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,it({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Gg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Yl(...e){const[t,n,r,o]=e,s=Ue();let i=Ue(),a;if(te(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(Pg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(st(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return te(n)?s.key=n:Ee(n)&&Object.keys(n).forEach(l=>{Gg.includes(l)?i[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:Ee(r)&&(i=r),Ee(o)&&(i=o),[s.key||"",a,s,i]}function zf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Bf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!st(t[0]))return Ci;const[l,c,u,f]=Xl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=iu(e,u),m=i(e,o,h);if(!te(l)||l==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!Ee(_));k++)au(e,l,y,d,E);if(!Ee(_)||!te(y))return r?la:l;let g=`${y}__${l}`;ia(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,it({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const qg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Xl(...e){const[t,n,r,o]=e,s=Ue();let i=Ue();if(!st(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return te(n)?s.key=n:Ee(n)&&Object.keys(n).forEach(l=>{qg.includes(l)?i[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:Ee(r)&&(i=r),Ee(o)&&(i=o),[s.key||"",a,s,i]}function Hf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const J0=e=>e,Q0=e=>"",Z0="text",ek=e=>e.length===0?"":ru(e),tk=jC;function qa(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function nk(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return st(e.named?.count)?e.named.count:st(e.named?.n)?e.named.n:t}function rk(e={}){const t=e.locale,n=nk(e),r=te(t)&&Xe(e.pluralRules?.[t])?e.pluralRules[t]:qa,o=r===qa?void 0:qa,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Ue();st(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Xe(e.messages)?e.messages(y,!!_):xe(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):Q0)}const f=y=>e.modifiers?e.modifiers[y]:J0,d=Xe(e.processor?.normalize)?e.processor.normalize:ek,p=Xe(e.processor?.interpolate)?e.processor.interpolate:tk,h=te(e.processor?.type)?e.processor.type:Z0,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",k="";_.length===1?xe(E)?(k=E.modifier||k,A=E.type||A):te(E)&&(k=E||k):_.length===2&&(te(E)&&(k=E||k),te(g)&&(A=g||A));const x=u(y,!0)(b),v=x===""||x===void 0?y:x,O=A==="vnode"&&et(v)&&k?v[0]:v;return k?f(k)(O,A):O},message:u,type:h,interpolate:p,normalize:d,values:it(Ue(),i,l)};return b}const Vf=()=>"",Jt=e=>Xe(e);function Wf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Jl(...t),u=ke(c.missingWarn)?c.missingWarn:e.missingWarn,f=ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=te(c.default)||ke(c.default)?ke(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,m=n||h!=null&&(te(h)||Xe(h)),b=iu(e,c);d&&ok(c);let[y,_,E]=p?[l,b,a[b]||Ue()]:Kg(e,l,b,i,f,u),g=y,A=l;if(!p&&!(te(g)||An(g)||Jt(g))&&m&&(g=h,A=g),!p&&(!(te(g)||An(g)||Jt(g))||!te(_)))return o?la:l;let k=!1;const x=()=>{k=!0},v=Jt(g)?g:Yg(e,l,_,g,A,x);if(k)return g;const O=ak(e,_,E,c),F=rk(O),M=sk(e,v,F);let X=r?r(M,l):M;if(d&&te(X)&&(X=FC(X)),__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:te(l)?l:Jt(g)?g.key:"",locale:_||(Jt(g)?g.locale:""),format:te(g)?g:Jt(g)?g.source:"",message:X};ne.meta=it({},e.__meta,G0()||{}),x0(ne)}return X}function ok(e){et(e.list)?e.list=e.list.map(t=>te(t)?Af(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{te(e.named[t])&&(e.named[t]=Af(e.named[t]))})}function Kg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Ue(),d,p=null;const h="translate";for(let m=0;m<u.length&&(d=u[m],f=i[d]||Ue(),(p=l(f,t))===null&&(p=f[t]),!(te(p)||An(p)||Jt(p)));m++)if(!X0(d,u)){const b=au(e,t,d,s,h);b!==t&&(p=b)}return[p,d,f]}function Yg(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,ik(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function sk(e,t,n){return t(n)}function Jl(...e){const[t,n,r]=e,o=Ue();if(!te(t)&&!st(t)&&!Jt(t)&&!An(t))throw Vn(Hn.INVALID_ARGUMENT);const s=st(t)?String(t):(Jt(t),t);return st(n)?o.plural=n:te(n)?o.default=n:Ee(n)&&!ia(n)?o.named=n:et(n)&&(o.list=n),st(r)?o.plural=r:te(r)?o.default=r:Ee(r)&&it(o,r),[s,o]}function ik(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>PC(t,n,i)}}function ak(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,h)=>{let m=i(n,p);if(m==null&&(u||h)){const[b,,y]=Kg(u||e,p,t,a,l,c);m=b??i(y,p)}if(te(m)||An(m)){let b=!1;const _=Yg(e,p,t,m,p,()=>{b=!0});return b?Vf:_}else return Jt(m)?m:Vf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),st(r.plural)&&(d.pluralIndex=r.plural),d}p0();const lk="11.4.4";function ck(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Sr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Sr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Sr().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ot={UNEXPECTED_RETURN_TYPE:A0,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 Mt(e,...t){return aa(e,null,void 0)}const Ql=hr("__translateVNode"),Zl=hr("__datetimeParts"),ec=hr("__numberParts"),Xg=hr("__setPluralRules"),Jg=hr("__injectWithOption"),Xr=hr("__dispose");function cs(e){if(!xe(e)||An(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))xe(e[t])&&cs(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]]=Ue()),!xe(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(An(o)?jg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!An(o)){const i=o[n[r]];xe(i)&&cs(i)}}return e}function lu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Ee(n)?n:et(r)?Ue():{[e]:Ue()};if(et(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Ue(),Qs(c,i[l])):Qs(c,i)}else te(a)&&Qs(JSON.parse(a),i)}),o==null&&s)for(const a in i)Qt(i,a)&&cs(i[a]);return i}function Qg(e){return e.type}function Zg(e,t,n){let r=xe(t.messages)?t.messages:Ue();"__i18nGlobal"in n&&(r=lu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Gf(e){return Ge(bs,null,e,0)}function us(){return Rn()}const qf="__INTLIFY_META__",Kf=()=>[],uk=()=>!1;let Yf=0;function Xf(e){return((t,n,r,o)=>e(n,r,us()||void 0,o))}const fk=()=>{const e=us();let t=null;return e&&(t=Qg(e)[qf])?{[qf]:t}:null};function ki(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Si?ye:kn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:te(e.locale)?e.locale:ls),l=s(t&&i?t.fallbackLocale.value:te(e.fallbackLocale)||et(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(lu(a.value,e)),u=s(Ee(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Ee(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||lo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ke(e.fallbackWarn)||lo(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,b=Xe(e.missing)?e.missing:null,y=Xe(e.missing)?Xf(e.missing):null,_=Xe(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Ee(e.modifiers)?e.modifiers:{};let k=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&$f(null);const I={version:lk,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:k,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=u.value,I.numberFormats=f.value,I.__datetimeFormatters=Ee(x)?x.__datetimeFormatters:void 0,I.__numberFormatters=Ee(x)?x.__numberFormatters:void 0;const $=K0(I);return r&&$f($),$})(),To(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const F=q({get:()=>a.value,set:I=>{x.locale=I,a.value=I}}),M=q({get:()=>l.value,set:I=>{x.fallbackLocale=I,l.value=I,To(x,a.value,I)}}),X=q(()=>c.value),ne=q(()=>u.value),G=q(()=>f.value);function Q(){return Xe(_)?_:null}function J(I){_=I,x.postTranslation=I}function re(){return b}function de(I){I!==null&&(y=Xf(I)),b=I,x.missing=y}const Ye=(I,$,oe,le,be,De)=>{O();let Ie;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?q0():void 0),Ie=I(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(oe!=="translate exists"&&st(Ie)&&Ie===la||oe==="translate exists"&&!Ie){const[qt,tn]=$();return t&&h?le(t):be(qt)}else{if(De(Ie))return Ie;throw Mt(Ot.UNEXPECTED_RETURN_TYPE)}};function ft(...I){return Ye($=>Reflect.apply(Wf,null,[$,...I]),()=>Jl(...I),"translate",$=>Reflect.apply($.t,$,[...I]),$=>$,$=>te($))}function Ae(...I){const[$,oe,le]=I;if(le&&!xe(le))throw Mt(Ot.INVALID_ARGUMENT);return ft($,oe,it({resolvedMessage:!0},le||{}))}function je(...I){return Ye($=>Reflect.apply(jf,null,[$,...I]),()=>Yl(...I),"datetime format",$=>Reflect.apply($.d,$,[...I]),()=>Ci,$=>te($)||et($))}function gt(...I){return Ye($=>Reflect.apply(Bf,null,[$,...I]),()=>Xl(...I),"number format",$=>Reflect.apply($.n,$,[...I]),()=>Ci,$=>te($)||et($))}function Y(I){return I.map($=>te($)||st($)||ke($)?Gf(String($)):$)}const se={normalize:Y,interpolate:I=>I,type:"vnode"};function D(...I){return Ye($=>{let oe;const le=$;try{le.processor=se,oe=Reflect.apply(Wf,null,[le,...I])}finally{le.processor=null}return oe},()=>Jl(...I),"translate",$=>$[Ql](...I),$=>[Gf($)],$=>et($))}function H(...I){return Ye($=>Reflect.apply(Bf,null,[$,...I]),()=>Xl(...I),"number format",$=>$[ec](...I),Kf,$=>te($)||et($))}function V(...I){return Ye($=>Reflect.apply(jf,null,[$,...I]),()=>Yl(...I),"datetime format",$=>$[Zl](...I),Kf,$=>te($)||et($))}function ee(I){k=I,x.pluralRules=k}function ie(I,$){return Ye(()=>{if(!I)return!1;const oe=te($)?$:a.value,le=te($)?[oe]:Kl(x,l.value,oe);for(let be=0;be<le.length;be++){const De=L(le[be]);let Ie=x.messageResolver(De,I);if(Ie===null&&(Ie=De[I]),An(Ie)||Jt(Ie)||te(Ie))return!0}return!1},()=>[I],"translate exists",oe=>Reflect.apply(oe.te,oe,[I,$]),uk,oe=>ke(oe))}function C(I){let $=null;const oe=Kl(x,l.value,a.value);for(let le=0;le<oe.length;le++){const be=c.value[oe[le]]||{},De=x.messageResolver(be,I);if(De!=null){$=De;break}}return $}function T(I){const $=C(I);return $??(t?t.tm(I)||{}:{})}function L(I){return c.value[I]||{}}function U(I,$){if(o){const oe={[I]:$};for(const le in oe)Qt(oe,le)&&cs(oe[le]);$=oe[I]}c.value[I]=$,x.messages=c.value}function z(I,$){c.value[I]=c.value[I]||{};const oe={[I]:$};if(o)for(const le in oe)Qt(oe,le)&&cs(oe[le]);$=oe[I],Qs($,c.value[I]),x.messages=c.value}function j(I){return u.value[I]||{}}function w(I,$){u.value[I]=$,x.datetimeFormats=u.value,zf(x,I,$)}function S(I,$){u.value[I]=it(u.value[I]||{},$),x.datetimeFormats=u.value,zf(x,I,$)}function P(I){return f.value[I]||{}}function R(I,$){f.value[I]=$,x.numberFormats=f.value,Hf(x,I,$)}function K(I,$){f.value[I]=it(f.value[I]||{},$),x.numberFormats=f.value,Hf(x,I,$)}Yf++,t&&Si&&(Je(t.locale,I=>{i&&(a.value=I,x.locale=I,To(x,a.value,l.value))}),Je(t.fallbackLocale,I=>{i&&(l.value=I,x.fallbackLocale=I,To(x,a.value,l.value))}));const B={id:Yf,locale:F,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(I){i=I,I&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,To(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:X,get modifiers(){return A},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(I){d=I,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(I){p=I,x.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(I){h=I},get fallbackFormat(){return m},set fallbackFormat(I){m=I,x.fallbackFormat=m},get warnHtmlMessage(){return E},set warnHtmlMessage(I){E=I,x.warnHtmlMessage=I},get escapeParameter(){return g},set escapeParameter(I){g=I,x.escapeParameter=I},t:ft,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:Q,setPostTranslationHandler:J,getMissingHandler:re,setMissingHandler:de,[Xg]:ee};return B.datetimeFormats=ne,B.numberFormats=G,B.rt=Ae,B.te=ie,B.tm=T,B.d=je,B.n=gt,B.getDateTimeFormat=j,B.setDateTimeFormat=w,B.mergeDateTimeFormat=S,B.getNumberFormat=P,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Jg]=n,B[Ql]=D,B[Zl]=V,B[ec]=H,B}function dk(e){const t=te(e.locale)?e.locale:ls,n=te(e.fallbackLocale)||et(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Xe(e.missing)?e.missing:void 0,o=ke(e.silentTranslationWarn)||lo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||lo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ke(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Ee(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Xe(e.postTranslation)?e.postTranslation:void 0,f=te(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ke(e.sync)?e.sync:!0;let h=e.messages;if(Ee(e.sharedMessages)){const A=e.sharedMessages;h=Object.keys(A).reduce((x,v)=>{const O=x[v]||(x[v]={});return it(O,A[v]),x},h||{})}const{__i18n:m,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:g,datetimeFormats:_,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:m,__root:b,__injectWithOption:y}}function tc(e={}){const t=ki(dk(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 ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ke(o)?!o:o},get silentFallbackWarn(){return ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ke(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 pk(e,t,n){return{beforeCreate(){const r=us();if(!r)throw Mt(Ot.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=Jf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=tc(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Jf(e,o);else{this.$i18n=tc({__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&&Zg(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=us();if(!r)throw Mt(Ot.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 Jf(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[Xg](t.pluralizationRules||e.pluralizationRules);const n=lu(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 cu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function hk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ot?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ue())}function ey(){return ot}const mk=tt({name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>st(e)||!isNaN(e)}},cu),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Ue();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=te(e.plural)?+e.plural:e.plural);const u=hk(t,l);return o[Ql](e.keypath,u,c)},i=it(Ue(),r),a=te(e.tag)||xe(e.tag)?e.tag:ey();return xe(a)?fr(a,i,{default:s}):fr(a,i,s())}}}),Qf=mk;function gk(e){return et(e)&&!te(e[0])}function ty(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Ue();e.locale&&(c.locale=e.locale),te(e.format)?c.key=e.format:xe(e.format)&&(te(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,h)=>n.includes(h)?it(Ue(),p,{[h]:e.format[h]}):p,Ue()));const f=r(e.value,c,u);let d=[c.key];return et(f)?d=f.map((p,h)=>{const m=o[p.type],b=m?m({[p.type]:p.value,index:h,parts:f}):[p.value];return gk(b)&&(b[0].key=`${p.type}-${h}`),b}):te(f)&&(d=[f]),d},a=it(Ue(),s),l=te(e.tag)||xe(e.tag)?e.tag:ey();return xe(l)?fr(l,a,{default:i}):fr(l,a,i())}}const yk=tt({name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},cu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return ty(e,t,qg,(...r)=>n[ec](...r))}}),Zf=yk;function bk(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 _k(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Mt(Ot.UNEXPECTED_ERROR);const c=bk(e,a.$),u=ed(l);return[Reflect.apply(c.t,c,[...td(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Si&&(i.__i18nWatcher=Je(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Si&&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=ed(a);i.textContent=Reflect.apply(l.t,l,[...td(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function ed(e){if(te(e))return{path:e};if(Ee(e)){if(!("path"in e))throw Mt(Ot.REQUIRED_VALUE,"path");return e}else throw Mt(Ot.INVALID_VALUE)}function td(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return te(n)&&(i.locale=n),st(o)&&(i.plural=o),st(s)&&(i.plural=s),[t,a,i]}function vk(e,t,...n){const r=Ee(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([Qf.name,"I18nT"].forEach(s=>e.component(s,Qf)),[Zf.name,"I18nN"].forEach(s=>e.component(s,Zf)),[od.name,"I18nD"].forEach(s=>e.component(s,od))),e.directive("t",_k(t))}const wk=hr("global-vue-i18n");function Ek(e={}){const t=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ke(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Sk(e,t),i=hr("");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),Ee(d[0])){const m=d[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let p=null;!t&&n&&(p=Pk(f,u.global)),__VUE_I18N_FULL_INSTALL__&&vk(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(pk(s,s.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=us();if(t==null)throw Mt(Ot.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Mt(Ot.NOT_INSTALLED);const n=Ck(t),r=xk(n),o=Qg(t),s=kk(e,o);if(s==="global")return Zg(r,e,o),r;if(s==="parent"){let l=nd(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Mt(Ot.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=it({},e),u=nd(n,t);c.__root=u||r;const f=ki(c);return l.__composerExtend&&(f[Xr]=l.__composerExtend(f)),qi()&&Wh(()=>{const p=f[Xr];p&&(p(),delete f[Xr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=it({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=ki(l),i.__composerExtend&&(a[Xr]=i.__composerExtend(a)),Ak(i,t,a),i.__setInstance(t,a)}return a}function Sk(e,t){const n=jc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>tc(e)):n.run(()=>ki(e));if(r==null)throw Mt(Ot.UNEXPECTED_ERROR);return[n,r]}function Ck(e){const t=Rt(e.isCE?wk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Mt(e.isCE?Ot.NOT_INSTALLED_WITH_PROVIDE:Ot.UNEXPECTED_ERROR);return t}function kk(e,t){return ia(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function xk(e){return e.mode==="composition"?e.global:e.global.__composer}function nd(e,t,n=!1){let r=null;const o=t.root;let s=Tk(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[Jg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Tk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ak(e,t,n){Ln(()=>{},t),bo(()=>{const r=n;e.__deleteInstance(t);const o=r[Xr];o&&(o(),delete r[Xr])},t)}const Ok=["locale","fallbackLocale","availableLocales"],rd=["t","rt","d","n","tm","te"];function Pk(e,t){const n=Object.create(null);return Ok.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Mt(Ot.UNEXPECTED_ERROR);const i=Ke(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,rd.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Mt(Ot.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,rd.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Ik=tt({name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},cu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return ty(e,t,Gg,(...r)=>n[Zl](...r))}}),od=Ik;ck();B0(S0);H0(U0);V0(Kl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Sr();e.__INTLIFY__=!0,C0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Lk=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=pr(),o=wo(),{messageListener:s,sendMessageToTop:i}=Eo(),{addListener:a}=s(),l=ye([]),c=t?_e.SETTING_DATA_LEAF_SET:_e.SETTING_DATA_SET,u=t?_e.SETTING_DATA_LEAF_GET:_e.SETTING_DATA_GET;return a(c,f=>{l.value=f}),i(u,n,o,r),{depsSetting:l}},ny=Symbol("depsSetting"),Rk={class:"app-container"},Mk=tt({__name:"App",setup(e){const{locale:t}=Mr(),n=eu(),r=jE(n),{params:{compId:o="",instanceUid:s}}=pr(),{messageListener:i,sendMessageToTop:a}=Eo(),{addListener:l}=i(),c=wo(),{depsSetting:u}=Lk(!1,!0),f=q(()=>u.value.length>0);return no(ny,u),l(_e.THEME_CHANGE_SET,d=>{r(d.isDark??!1)}),l(_e.LOCALE_SET,d=>{t.value=d}),a(_e.LOCALE_GET,o,c,s),a(_e.THEME_CHANGE_GET,o,c,s),Ln(()=>{const d=document.getElementById("loadingContainer");d&&d.remove()}),(d,p)=>{const h=Yc("router-view");return ue(),Ce("div",Rk,[f.value?(ue(),St(h,{key:0})):Tn("",!0)])}}}),en=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Nk=en(Mk,[["__scopeId","data-v-3ece2a62"]]),Ds=window.parent,sd=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Fs=null;function Dk(){return Fs||(Fs=new Proxy(Ds,{get(e,t){if(sd.includes(String(t)))return t==="postMessage"?Ds.postMessage.bind(Ds):Reflect.get(Ds,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return sd.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Fs)}Object.defineProperty(window,"parent",{get(){return Dk()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const Fk={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",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:"最大标签数量"},$k={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",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:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},Uk={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:"支持创建分组菜单,灵活组织团队组件"},jk={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:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},zk={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},Bk={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!"}},Hk={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},Vk={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},Wk={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},Gk={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},qk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},Kk={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},Yk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},Xk={submit:"提交"},Jk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},Qk={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},Zk={common:Fk,comp:$k,team:Uk,user:jk,file:zk,message:Bk,route:Hk,markdown:Vk,terminal:Wk,deps:Gk,setting:qk,upgrade:Kk,tag:Yk,formCreate:Xk,validateHash:Jk,project:Qk},ex={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",loadingText:"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"},tx={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",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",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",compileWarn:"Component compilation warning",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"}},nx={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"},rx={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",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},ox={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"},sx={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!"}},ix={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"},ax={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},lx={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},cx={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:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},ux={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},fx={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"},dx={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},px={submit:"Submit"},hx={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'},mx={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},gx={common:ex,comp:tx,team:nx,user:rx,file:ox,message:sx,route:ix,markdown:ax,terminal:lx,deps:cx,setting:ux,upgrade:fx,tag:dx,formCreate:px,validateHash:hx,project:mx},yx={zh:Zk,en:gx},bx=localStorage.getItem(kC.LOCALE_KEY)||"zh",_x=Ek({locale:bx,messages:yx,legacy:!1});function vx(e){e.use(_x)}let ry;const ca=e=>ry=e,oy=Symbol();function nc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xo||(Xo={}));function wx(){const e=jc(!0),t=e.run(()=>ye({}));let n=[],r=[];const o=Vc({install(s){ca(o),o._a=s,s.provide(oy,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 sy=()=>{};function id(e,t,n,r=sy){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&qi()&&Wh(o),o}function Dr(e,...t){e.forEach(n=>{n(...t)})}const Ex=e=>e(),ad=Symbol(),Ka=Symbol();function rc(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];nc(o)&&nc(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Wn(r)?e[n]=rc(o,r):e[n]=r}return e}const Sx=Symbol();function Cx(e){return!nc(e)||!Object.prototype.hasOwnProperty.call(e,Sx)}const{assign:nr}=Object;function kx(e){return!!(Ke(e)&&e.effect)}function xx(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=zv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Vc(q(()=>{ca(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=iy(e,c,t,n,r,!0),l}function iy(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={});let m;function b(v){let O;c=u=!1,typeof v=="function"?(v(r.state.value[e]),O={type:Xo.patchFunction,storeId:e,events:p}):(rc(r.state.value[e],v),O={type:Xo.patchObject,payload:v,storeId:e,events:p});const F=m=Symbol();On().then(()=>{m===F&&(c=!0)}),u=!0,Dr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,F=O?O():{};this.$patch(M=>{nr(M,F)})}:sy;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(v,O="")=>{if(ad in v)return v[Ka]=O,v;const F=function(){ca(r);const M=Array.from(arguments),X=new Set,ne=new Set;function G(re){X.add(re)}function Q(re){ne.add(re)}Dr(d,{args:M,name:F[Ka],store:A,after:G,onError:Q});let J;try{J=v.apply(this&&this.$id===e?this:A,M)}catch(re){throw Dr(ne,re),re}return J instanceof Promise?J.then(re=>(Dr(X,re),re)).catch(re=>(Dr(ne,re),Promise.reject(re))):(Dr(X,J),J)};return F[ad]=!0,F[Ka]=O,F},g={_p:r,$id:e,$onAction:id.bind(null,d),$patch:b,$reset:y,$subscribe(v,O={}){const F=id(f,v,O.detached,()=>M()),M=i.run(()=>Je(()=>r.state.value[e],X=>{(O.flush==="sync"?u:c)&&v({storeId:e,type:Xo.direct,events:p},X)},nr({},l,O)));return F},$dispose:_},A=gs(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||Ex)(()=>r._e.run(()=>(i=jc()).run(()=>t({action:E}))));for(const v in x){const O=x[v];if(Ke(O)&&!kx(O)||Wn(O))s||(h&&Cx(O)&&(Ke(O)?O.value=h[v]:rc(O,h[v])),r.state.value[e][v]=O);else if(typeof O=="function"){const F=E(O,v);x[v]=F,a.actions[v]=O}}return nr(A,x),nr(Se(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:v=>{b(O=>{nr(O,v)})}}),r._p.forEach(v=>{nr(A,i.run(()=>v({store:A,app:r._a,pinia:r,options:a})))}),h&&s&&n.hydrate&&n.hydrate(A.$state,h),c=!0,u=!0,A}function ay(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=Gc();return i=i||(l?Rt(oy,null):null),i&&ca(i),i=ry,i._s.has(e)||(o?iy(e,t,r,i):xx(e,r,i)),i._s.get(e)}return s.$id=e,s}function Tx({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const ld=wx();function Ax(e){ld.use(Tx),e.use(ld)}var Ox=typeof global=="object"&&global&&global.Object===Object&&global,Px=typeof self=="object"&&self&&self.Object===Object&&self,Ix=Ox||Px||Function("return this")(),xi=Ix.Symbol,ly=Object.prototype,Lx=ly.hasOwnProperty,Rx=ly.toString,Ao=xi?xi.toStringTag:void 0;function Mx(e){var t=Lx.call(e,Ao),n=e[Ao];try{e[Ao]=void 0;var r=!0}catch{}var o=Rx.call(e);return r&&(t?e[Ao]=n:delete e[Ao]),o}var Nx=Object.prototype,Dx=Nx.toString;function Fx(e){return Dx.call(e)}var $x="[object Null]",Ux="[object Undefined]",cd=xi?xi.toStringTag:void 0;function cy(e){return e==null?e===void 0?Ux:$x:cd&&cd in Object(e)?Mx(e):Fx(e)}function jx(e){return e!=null&&typeof e=="object"}var zx="[object Symbol]";function Bx(e){return typeof e=="symbol"||jx(e)&&cy(e)==zx}var Hx=/\s/;function Vx(e){for(var t=e.length;t--&&Hx.test(e.charAt(t)););return t}var Wx=/^\s+/;function Gx(e){return e&&e.slice(0,Vx(e)+1).replace(Wx,"")}function Ti(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ud=NaN,qx=/^[-+]0x[0-9a-f]+$/i,Kx=/^0b[01]+$/i,Yx=/^0o[0-7]+$/i,Xx=parseInt;function Jx(e){if(typeof e=="number")return e;if(Bx(e))return ud;if(Ti(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ti(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Gx(e);var n=Kx.test(e);return n||Yx.test(e)?Xx(e.slice(2),n?2:8):qx.test(e)?ud:+e}var fd=1/0,Qx=17976931348623157e292;function dd(e){if(!e)return e===0?e:0;if(e=Jx(e),e===fd||e===-fd){var t=e<0?-1:1;return t*Qx}return e===e?e:0}var Zx="[object AsyncFunction]",eT="[object Function]",tT="[object GeneratorFunction]",nT="[object Proxy]";function rT(e){if(!Ti(e))return!1;var t=cy(e);return t==eT||t==tT||t==Zx||t==nT}var oT=9007199254740991,sT=/^(?:0|[1-9]\d*)$/;function iT(e,t){var n=typeof e;return t=t??oT,!!t&&(n=="number"||n!="symbol"&&sT.test(e))&&e>-1&&e%1==0&&e<t}function aT(e,t){return e===t||e!==e&&t!==t}var lT=9007199254740991;function cT(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=lT}function uT(e){return e!=null&&cT(e.length)&&!rT(e)}function fT(e,t,n){if(!Ti(n))return!1;var r=typeof t;return(r=="number"?uT(n)&&iT(t,n.length):r=="string"&&t in n)?aT(n[t],e):!1}var dT=Math.floor,pT=Math.random;function hT(e,t){return e+dT(pT()*(t-e+1))}var mT=parseFloat,gT=Math.min,yT=Math.random;function bT(e,t,n){if(n&&typeof n!="boolean"&&fT(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=dd(e),t===void 0?(t=e,e=0):t=dd(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=yT();return gT(e+o*(t-e+mT("1e-"+((o+"").length-1))),t)}return hT(e,t)}const uy=/^[a-z0-9]+(-[a-z0-9]+)*$/,ua=(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&&!Zs(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&&!Zs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Zs(a,n)?null:a}return null},Zs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function _T(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 fy=Object.freeze({left:0,top:0,width:16,height:16}),Ai=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),fa=Object.freeze({...fy,...Ai}),oc=Object.freeze({...fa,body:"",hidden:!1});function vT(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 pd(e,t){const n=vT(e,t);for(const r in oc)r in Ai?r in e&&!(r in n)&&(n[r]=Ai[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function wT(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=pd(r[a]||o[a],s)}return i(t),n.forEach(i),pd(e,s)}function dy(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=_T(e);for(const o in r){const s=r[o];s&&(t(o,wT(e,o,s)),n.push(o))}return n}const ET={provider:"",aliases:{},not_found:{},...fy};function Ya(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function py(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ya(e,ET))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Ya(s,oc))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]||!Ya(s,oc))return null}return t}const hd=Object.create(null);function ST(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function uo(e,t){const n=hd[e]||(hd[e]=Object.create(null));return n[t]||(n[t]=ST(e,t))}function hy(e,t){return py(t)?dy(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function CT(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let fs=!1;function my(e){return typeof e=="boolean"&&(fs=e),fs}function kT(e){const t=typeof e=="string"?ua(e,!0,fs):e;if(t){const n=uo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function xT(e,t){const n=ua(e,!0,fs);if(!n)return!1;const r=uo(n.provider,n.prefix);return t?CT(r,n.name,t):(r.missing.add(n.name),!0)}function TT(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),fs&&!t&&!e.prefix){let r=!1;return py(e)&&(e.prefix="",dy(e,(o,s)=>{xT(o,s)&&(r=!0)})),r}const n=e.prefix;return Zs({prefix:n,name:"a"})?!!hy(uo(t,n),e):!1}const gy=Object.freeze({width:null,height:null}),yy=Object.freeze({...gy,...Ai}),AT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,OT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function md(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(AT);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=OT.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 PT(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 IT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function LT(e,t,n){const r=PT(e);return IT(r.defs,t+r.content+n)}const RT=e=>e==="unset"||e==="undefined"||e==="none";function MT(e,t){const n={...fa,...e},r={...yy,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const b=[],y=m.hFlip,_=m.vFlip;let E=m.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=LT(s,'<g transform="'+b.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=md(f,l/c)):(u=i==="auto"?l:i,f=a===null?md(u,c/l):a==="auto"?c:a);const d={},p=(m,b)=>{RT(b)||(d[m]=b.toString())};p("width",u),p("height",f);const h=[o.left,o.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:s}}const NT=/\sid="(\S+)"/g,gd=new Map;function DT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=gd.get(e)||0;return gd.set(e,t+1),t?`${e}${t}`:e}function FT(e){const t=[];let n;for(;n=NT.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=DT(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 sc=Object.create(null);function $T(e,t){sc[e]=t}function ic(e){return sc[e]||sc[""]}function uu(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 fu=Object.create(null),Oo=["https://api.simplesvg.com","https://api.unisvg.com"],ei=[];for(;Oo.length>0;)Oo.length===1||Math.random()>.5?ei.push(Oo.shift()):ei.push(Oo.pop());fu[""]=uu({resources:["https://api.iconify.design"].concat(ei)});function UT(e,t){const n=uu(t);return n===null?!1:(fu[e]=n,!0)}function du(e){return fu[e]}const jT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let yd=jT();function zT(e,t){const n=du(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 BT(e){return e===404}const HT=(e,t,n)=>{const r=[],o=zT(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 VT(e){if(typeof e=="string"){const t=du(e);if(t)return t.path}return"/"}const WT=(e,t,n)=>{if(!yd){n("abort",424);return}let r=VT(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;yd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(BT(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)})},GT={prepare:HT,send:WT};function by(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function qT(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||by([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let KT=0;function YT(e,t,n){const r=KT++,o=by.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 XT(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]=uo(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 JT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ua(o,t,n):o;s&&r.push(s)}),r}const QT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ZT(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 k=e.resources.slice(0);for(i=[];k.length>1;){const x=Math.floor(Math.random()*k.length);i.push(k[x]),k=k.slice(0,x).concat(k.slice(x+1))}i=i.concat(k)}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 h(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),h(),d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function b(k,x){x&&(p=[]),typeof k=="function"&&p.push(k)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:b,abort:m}}function _(){l="failed",p.forEach(k=>{k(void 0,u)})}function E(){d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function g(k,x,v){const O=x!=="success";switch(d=d.filter(F=>F!==k),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=v,_();return}if(O){u=v,d.length||(i.length?A():_());return}if(h(),E(),!e.random){const F=e.resources.indexOf(k.resource);F!==-1&&F!==e.index&&(e.index=F)}l="completed",p.forEach(F=>{F(v)})}function A(){if(l!=="pending")return;h();const k=i.shift();if(k===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:k,callback:(v,O)=>{g(x,v,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(k,t,x.callback)}return setTimeout(A),y}function _y(e){const t={...QT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=ZT(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 bd(){}const Xa=Object.create(null);function eA(e){if(!Xa[e]){const t=du(e);if(!t)return;Xa[e]={config:t,redundancy:_y(t)}}return Xa[e]}function tA(e,t,n){let r,o;if(typeof e=="string"){const s=ic(e);if(!s)return n(void 0,424),bd;o=s.send;const i=eA(e);i&&(r=i.redundancy)}else{const s=uu(e);if(s){r=_y(s);const i=ic(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),bd):r.query(t,o,n)().abort}function _d(){}function nA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qT(e)}))}function rA(e){const t=[],n=[];return e.forEach(r=>{(r.match(uy)?t:n).push(r)}),{valid:t,invalid:n}}function Po(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(!hy(e,n).length){r();return}}catch(o){console.error(o)}r(),nA(e)}function vd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function oA(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)){vd(e.loadIcons(o,r,n),c=>{Po(e,o,c)});return}if(s){o.forEach(c=>{vd(s(c,r,n),u=>{Po(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=rA(o);if(a.length&&Po(e,a,null),!i.length)return;const l=r.match(uy)?ic(n):null;if(!l){Po(e,i,null);return}l.prepare(n,r,i).forEach(c=>{tA(n,c,u=>{Po(e,c.icons,u)})})}))}const sA=(e,t)=>{const n=XT(JT(e,!0,my()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,_d)}),()=>{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(uo(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=uo(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&&oA(a,l)}),t?YT(t,n,o):_d};function iA(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in gy?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const aA=/[\s,]+/;function lA(e,t){t.split(aA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function cA(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 uA(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 fA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function dA(e){return"data:image/svg+xml,"+fA(e)}function pA(e){return'url("'+dA(e)+'")'}const wd={...yy,inline:!1},hA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},mA={display:"inline-block"},ac={backgroundColor:"currentColor"},vy={backgroundColor:"transparent"},Ed={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Sd={webkitMask:ac,mask:ac,background:vy};for(const e in Sd){const t=Sd[e];for(const n in Ed)t[e+n]=Ed[n]}const ti={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ti[e+"-flip"]=t,ti[e.slice(0,1)+"-flip"]=t,ti[e+"Flip"]=t});function Cd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const kd=(e,t)=>{const n=iA(wd,t),r={...hA},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const b=t[m];if(b!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&lA(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[m]=cA(b):typeof b=="number"&&(n[m]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ti[m];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):wd[m]===void 0&&(r[m]=b)}}}const l=MT(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=FT(l.body),fr("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=uA(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":pA(h),width:Cd(c.width),height:Cd(c.height),...mA,...p?ac:vy,...a},fr("span",r)};my(!0);$T("",GT);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"||!TT(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;UT(n,o)||console.error(r)}catch{console.error(r)}}}}const gA={...fa,body:""},yA=tt((e,{emit:t})=>{const n=ye(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=ye(!!e.ssr),s=ye(""),i=kn(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=ua(c,!1,!0))===null)return null;let f=kT(u);if(!f){const h=n.value;return(!h||h.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:sA([u],l)}),null}r(),s.value!==c&&(s.value=c,On(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,u.name,u.prefix,u.provider);typeof h=="string"&&(f.body=h)}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():Ln(()=>{o.value=!0,l()}),Je(()=>e.icon,l),bo(r),()=>{const c=i.value;if(!c)return kd(gA,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),kd({...fa,...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 bA(e){e.component("Icon",yA)}const da="v-loading-mask",wy="v-loading-spinner",Ey="v-loading-parent";function _A(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function vA(){const e=document.createElement("div");e.className=da,e.innerHTML=`<div class="${wy}"></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=_A(),t.zIndex="999",t.borderRadius="inherit",e}function wA(){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=i0(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${ru(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),co(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 d0(e,t={}){const n=it({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=n0(n).parse(e);return r?(s&&s0(a),o&&qr(a),{ast:a,code:""}):(o0(a,n),f0(a,n))}function p0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Sr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function An(e){return xe(e)&&su(e)===0&&(Qt(e,"b")||Qt(e,"body"))}const Lg=["b","body"];function h0(e){return mr(e,Lg)}const Rg=["c","cases"];function m0(e){return mr(e,Rg,[])}const Mg=["s","static"];function g0(e){return mr(e,Mg)}const Ng=["i","items"];function y0(e){return mr(e,Ng,[])}const Dg=["t","type"];function su(e){return mr(e,Dg)}const Fg=["v","value"];function Ms(e,t){const n=mr(e,Fg);if(n!=null)return n;throw is(t)}const $g=["m","modifier"];function b0(e){return mr(e,$g)}const Ug=["k","key"];function _0(e){const t=mr(e,Ug);if(t)return t;throw is(6)}function mr(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 jg=[...Lg,...Rg,...Mg,...Ng,...Ug,...$g,...Fg,...Dg];function is(e){return new Error(`unhandled node type: ${e}`)}function Va(e){return n=>v0(n,e)}function v0(e,t){const n=h0(t);if(n==null)throw is(0);if(su(n)===1){const s=m0(n);return e.plural(s.reduce((i,a)=>[...i,Rf(e,a)],[]))}else return Rf(e,n)}function Rf(e,t){const n=g0(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=y0(t).reduce((o,s)=>[...o,ql(e,s)],[]);return e.normalize(r)}}function ql(e,t){const n=su(t);switch(n){case 3:return Ms(t,n);case 9:return Ms(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 is(n)}case 5:{const r=t;if(Qt(r,"i")&&st(r.i))return e.interpolate(e.list(r.i));if(Qt(r,"index")&&st(r.index))return e.interpolate(e.list(r.index));throw is(n)}case 6:{const r=t,o=b0(r),s=_0(r);return e.linked(ql(e,s),o?ql(e,o):void 0,e.type)}case 7:return Ms(t,n);case 8:return Ms(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const w0=e=>e;let Ns=Ue();function E0(e,t={}){let n=!1;const r=t.onError||HC;return t.onError=o=>{n=!0,r(o)},{...d0(e,t),detectError:n}}function S0(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&te(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||w0)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=E0(e,{...t,location:!1,jit:!0}),a=Va(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=Va(e))}else return Va(e)}}let as=null;function C0(e){as=e}function k0(e,t,n){as&&as.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const x0=T0("function:translate");function T0(e){return t=>as&&as.emit(e,t)}const Hn={INVALID_ARGUMENT:BC,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},A0=24;function Vn(e){return aa(e,null,void 0)}function iu(e,t){return t.locale!=null?Mf(t.locale):Mf(e.locale)}let Wa;function Mf(e){if(te(e))return e;if(Xe(e)){if(e.resolvedOnce&&Wa!=null)return Wa;if(e.constructor.name==="Function"){const t=e();if(UC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wa=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function O0(e,t,n){return[...new Set([n,...et(t)?t:xe(t)?Object.keys(t):te(t)?[t]:[n]])]}function Kl(e,t,n){const r=te(n)?n:ls,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;et(i);)i=Nf(s,i,t);const a=et(t)||!Ee(t)?t:t.default?t.default:null;i=te(a)?[a]:a,et(i)&&Nf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Nf(e,t,n){let r=!0;for(let o=0;o<t.length&&ke(r);o++){const s=t[o];te(s)&&(r=P0(e,t[o],n))}return r}function P0(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=I0(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function I0(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),(et(n)||Ee(n))&&n[o]&&(r=n[o])}return r}const gr=[];gr[0]={w:[0],i:[3,0],"[":[4],o:[7]};gr[1]={w:[1],".":[2],"[":[4],o:[7]};gr[2]={w:[2],i:[3,0],0:[3,0]};gr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};gr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};gr[5]={"'":[4,0],o:8,l:[5,0]};gr[6]={'"':[4,0],o:8,l:[6,0]};const L0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function R0(e){return L0.test(e)}function M0(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 N0(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 D0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:R0(t)?M0(t):"*"+t}function F0(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=D0(i),i===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=N0(s),f=gr[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 Df=new Map;function $0(e,t){return xe(e)?e[t]:null}function U0(e,t){if(!xe(e))return null;let n=Df.get(t);if(n||(n=F0(t),n&&Df.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(jg.includes(i)&&An(o)||!xe(o)||!Qt(o,i))return null;const a=o[i];if(a===void 0||Xe(o))return null;o=a,s++}return o}const j0="11.4.4",la=-1,ls="en-US",Ci="",Ff=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function z0(){return{upper:(e,t)=>t==="text"&&te(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&te(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&te(e)?Ff(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?Ff(e.children):e}}let zg;function B0(e){zg=e}let Bg;function H0(e){Bg=e}let Hg;function V0(e){Hg=e}let Vg=null;const W0=e=>{Vg=e},G0=()=>Vg;let Wg=null;const $f=e=>{Wg=e},q0=()=>Wg;let Uf=0;function K0(e={}){const t=Xe(e.onWarn)?e.onWarn:OC,n=te(e.version)?e.version:j0,r=te(e.locale)||Xe(e.locale)?e.locale:ls,o=Xe(r)?ls:r,s=et(e.fallbackLocale)||Ee(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Ee(e.messages)?e.messages:Ga(o),a=Ee(e.datetimeFormats)?e.datetimeFormats:Ga(o),l=Ee(e.numberFormats)?e.numberFormats:Ga(o),c=it(Ue(),e.modifiers,z0()),u=e.pluralRules||Ue(),f=Xe(e.missing)?e.missing:null,d=ke(e.missingWarn)||lo(e.missingWarn)?e.missingWarn:!0,p=ke(e.fallbackWarn)||lo(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,b=Xe(e.postTranslation)?e.postTranslation:null,y=Ee(e.processor)?e.processor:null,_=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Xe(e.messageCompiler)?e.messageCompiler:zg,A=Xe(e.messageResolver)?e.messageResolver:Bg||$0,k=Xe(e.localeFallbacker)?e.localeFallbacker:Hg||O0,x=xe(e.fallbackContext)?e.fallbackContext:void 0,v=e,O=xe(v.__datetimeFormatters)?v.__datetimeFormatters:new Map,F=xe(v.__numberFormatters)?v.__numberFormatters:new Map,M=xe(v.__meta)?v.__meta:{};Uf++;const X={version:n,cid:Uf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:k,fallbackContext:x,onWarn:t,__meta:M};return X.datetimeFormats=a,X.numberFormats=l,X.__datetimeFormatters=O,X.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&k0(X,n,M),X}const Ga=e=>({[e]:Ue()});function au(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return te(a)?a:t}else return t}function To(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Y0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function X0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Y0(e,t[r]))return!0;return!1}function jf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!te(t[0])&&!Pg(t[0])&&!st(t[0]))return Ci;const[l,c,u,f]=Yl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=iu(e,u),m=i(e,o,h);if(!te(l)||l==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!Ee(_));k++)au(e,l,y,d,E);if(!Ee(_)||!te(y))return r?la:l;let g=`${y}__${l}`;ia(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,it({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Gg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Yl(...e){const[t,n,r,o]=e,s=Ue();let i=Ue(),a;if(te(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(Pg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(st(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return te(n)?s.key=n:Ee(n)&&Object.keys(n).forEach(l=>{Gg.includes(l)?i[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:Ee(r)&&(i=r),Ee(o)&&(i=o),[s.key||"",a,s,i]}function zf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Bf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!st(t[0]))return Ci;const[l,c,u,f]=Xl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=iu(e,u),m=i(e,o,h);if(!te(l)||l==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!Ee(_));k++)au(e,l,y,d,E);if(!Ee(_)||!te(y))return r?la:l;let g=`${y}__${l}`;ia(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,it({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const qg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Xl(...e){const[t,n,r,o]=e,s=Ue();let i=Ue();if(!st(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return te(n)?s.key=n:Ee(n)&&Object.keys(n).forEach(l=>{qg.includes(l)?i[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:Ee(r)&&(i=r),Ee(o)&&(i=o),[s.key||"",a,s,i]}function Hf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const J0=e=>e,Q0=e=>"",Z0="text",ek=e=>e.length===0?"":ru(e),tk=jC;function qa(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function nk(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return st(e.named?.count)?e.named.count:st(e.named?.n)?e.named.n:t}function rk(e={}){const t=e.locale,n=nk(e),r=te(t)&&Xe(e.pluralRules?.[t])?e.pluralRules[t]:qa,o=r===qa?void 0:qa,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Ue();st(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Xe(e.messages)?e.messages(y,!!_):xe(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):Q0)}const f=y=>e.modifiers?e.modifiers[y]:J0,d=Xe(e.processor?.normalize)?e.processor.normalize:ek,p=Xe(e.processor?.interpolate)?e.processor.interpolate:tk,h=te(e.processor?.type)?e.processor.type:Z0,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",k="";_.length===1?xe(E)?(k=E.modifier||k,A=E.type||A):te(E)&&(k=E||k):_.length===2&&(te(E)&&(k=E||k),te(g)&&(A=g||A));const x=u(y,!0)(b),v=x===""||x===void 0?y:x,O=A==="vnode"&&et(v)&&k?v[0]:v;return k?f(k)(O,A):O},message:u,type:h,interpolate:p,normalize:d,values:it(Ue(),i,l)};return b}const Vf=()=>"",Jt=e=>Xe(e);function Wf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Jl(...t),u=ke(c.missingWarn)?c.missingWarn:e.missingWarn,f=ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=te(c.default)||ke(c.default)?ke(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,m=n||h!=null&&(te(h)||Xe(h)),b=iu(e,c);d&&ok(c);let[y,_,E]=p?[l,b,a[b]||Ue()]:Kg(e,l,b,i,f,u),g=y,A=l;if(!p&&!(te(g)||An(g)||Jt(g))&&m&&(g=h,A=g),!p&&(!(te(g)||An(g)||Jt(g))||!te(_)))return o?la:l;let k=!1;const x=()=>{k=!0},v=Jt(g)?g:Yg(e,l,_,g,A,x);if(k)return g;const O=ak(e,_,E,c),F=rk(O),M=sk(e,v,F);let X=r?r(M,l):M;if(d&&te(X)&&(X=FC(X)),__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:te(l)?l:Jt(g)?g.key:"",locale:_||(Jt(g)?g.locale:""),format:te(g)?g:Jt(g)?g.source:"",message:X};ne.meta=it({},e.__meta,G0()||{}),x0(ne)}return X}function ok(e){et(e.list)?e.list=e.list.map(t=>te(t)?Af(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{te(e.named[t])&&(e.named[t]=Af(e.named[t]))})}function Kg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Ue(),d,p=null;const h="translate";for(let m=0;m<u.length&&(d=u[m],f=i[d]||Ue(),(p=l(f,t))===null&&(p=f[t]),!(te(p)||An(p)||Jt(p)));m++)if(!X0(d,u)){const b=au(e,t,d,s,h);b!==t&&(p=b)}return[p,d,f]}function Yg(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,ik(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function sk(e,t,n){return t(n)}function Jl(...e){const[t,n,r]=e,o=Ue();if(!te(t)&&!st(t)&&!Jt(t)&&!An(t))throw Vn(Hn.INVALID_ARGUMENT);const s=st(t)?String(t):(Jt(t),t);return st(n)?o.plural=n:te(n)?o.default=n:Ee(n)&&!ia(n)?o.named=n:et(n)&&(o.list=n),st(r)?o.plural=r:te(r)?o.default=r:Ee(r)&&it(o,r),[s,o]}function ik(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>PC(t,n,i)}}function ak(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,h)=>{let m=i(n,p);if(m==null&&(u||h)){const[b,,y]=Kg(u||e,p,t,a,l,c);m=b??i(y,p)}if(te(m)||An(m)){let b=!1;const _=Yg(e,p,t,m,p,()=>{b=!0});return b?Vf:_}else return Jt(m)?m:Vf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),st(r.plural)&&(d.pluralIndex=r.plural),d}p0();const lk="11.4.4";function ck(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Sr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Sr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Sr().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ot={UNEXPECTED_RETURN_TYPE:A0,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 Mt(e,...t){return aa(e,null,void 0)}const Ql=hr("__translateVNode"),Zl=hr("__datetimeParts"),ec=hr("__numberParts"),Xg=hr("__setPluralRules"),Jg=hr("__injectWithOption"),Xr=hr("__dispose");function cs(e){if(!xe(e)||An(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))xe(e[t])&&cs(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]]=Ue()),!xe(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(An(o)?jg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!An(o)){const i=o[n[r]];xe(i)&&cs(i)}}return e}function lu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Ee(n)?n:et(r)?Ue():{[e]:Ue()};if(et(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Ue(),Qs(c,i[l])):Qs(c,i)}else te(a)&&Qs(JSON.parse(a),i)}),o==null&&s)for(const a in i)Qt(i,a)&&cs(i[a]);return i}function Qg(e){return e.type}function Zg(e,t,n){let r=xe(t.messages)?t.messages:Ue();"__i18nGlobal"in n&&(r=lu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Gf(e){return Ge(bs,null,e,0)}function us(){return Rn()}const qf="__INTLIFY_META__",Kf=()=>[],uk=()=>!1;let Yf=0;function Xf(e){return((t,n,r,o)=>e(n,r,us()||void 0,o))}const fk=()=>{const e=us();let t=null;return e&&(t=Qg(e)[qf])?{[qf]:t}:null};function ki(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Si?ye:kn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:te(e.locale)?e.locale:ls),l=s(t&&i?t.fallbackLocale.value:te(e.fallbackLocale)||et(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(lu(a.value,e)),u=s(Ee(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Ee(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||lo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ke(e.fallbackWarn)||lo(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,b=Xe(e.missing)?e.missing:null,y=Xe(e.missing)?Xf(e.missing):null,_=Xe(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Ee(e.modifiers)?e.modifiers:{};let k=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&$f(null);const I={version:lk,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:k,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=u.value,I.numberFormats=f.value,I.__datetimeFormatters=Ee(x)?x.__datetimeFormatters:void 0,I.__numberFormatters=Ee(x)?x.__numberFormatters:void 0;const $=K0(I);return r&&$f($),$})(),To(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const F=q({get:()=>a.value,set:I=>{x.locale=I,a.value=I}}),M=q({get:()=>l.value,set:I=>{x.fallbackLocale=I,l.value=I,To(x,a.value,I)}}),X=q(()=>c.value),ne=q(()=>u.value),G=q(()=>f.value);function Q(){return Xe(_)?_:null}function J(I){_=I,x.postTranslation=I}function re(){return b}function de(I){I!==null&&(y=Xf(I)),b=I,x.missing=y}const Ye=(I,$,oe,le,be,De)=>{O();let Ie;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?q0():void 0),Ie=I(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(oe!=="translate exists"&&st(Ie)&&Ie===la||oe==="translate exists"&&!Ie){const[qt,tn]=$();return t&&h?le(t):be(qt)}else{if(De(Ie))return Ie;throw Mt(Ot.UNEXPECTED_RETURN_TYPE)}};function ft(...I){return Ye($=>Reflect.apply(Wf,null,[$,...I]),()=>Jl(...I),"translate",$=>Reflect.apply($.t,$,[...I]),$=>$,$=>te($))}function Ae(...I){const[$,oe,le]=I;if(le&&!xe(le))throw Mt(Ot.INVALID_ARGUMENT);return ft($,oe,it({resolvedMessage:!0},le||{}))}function je(...I){return Ye($=>Reflect.apply(jf,null,[$,...I]),()=>Yl(...I),"datetime format",$=>Reflect.apply($.d,$,[...I]),()=>Ci,$=>te($)||et($))}function gt(...I){return Ye($=>Reflect.apply(Bf,null,[$,...I]),()=>Xl(...I),"number format",$=>Reflect.apply($.n,$,[...I]),()=>Ci,$=>te($)||et($))}function Y(I){return I.map($=>te($)||st($)||ke($)?Gf(String($)):$)}const se={normalize:Y,interpolate:I=>I,type:"vnode"};function D(...I){return Ye($=>{let oe;const le=$;try{le.processor=se,oe=Reflect.apply(Wf,null,[le,...I])}finally{le.processor=null}return oe},()=>Jl(...I),"translate",$=>$[Ql](...I),$=>[Gf($)],$=>et($))}function H(...I){return Ye($=>Reflect.apply(Bf,null,[$,...I]),()=>Xl(...I),"number format",$=>$[ec](...I),Kf,$=>te($)||et($))}function V(...I){return Ye($=>Reflect.apply(jf,null,[$,...I]),()=>Yl(...I),"datetime format",$=>$[Zl](...I),Kf,$=>te($)||et($))}function ee(I){k=I,x.pluralRules=k}function ie(I,$){return Ye(()=>{if(!I)return!1;const oe=te($)?$:a.value,le=te($)?[oe]:Kl(x,l.value,oe);for(let be=0;be<le.length;be++){const De=L(le[be]);let Ie=x.messageResolver(De,I);if(Ie===null&&(Ie=De[I]),An(Ie)||Jt(Ie)||te(Ie))return!0}return!1},()=>[I],"translate exists",oe=>Reflect.apply(oe.te,oe,[I,$]),uk,oe=>ke(oe))}function C(I){let $=null;const oe=Kl(x,l.value,a.value);for(let le=0;le<oe.length;le++){const be=c.value[oe[le]]||{},De=x.messageResolver(be,I);if(De!=null){$=De;break}}return $}function T(I){const $=C(I);return $??(t?t.tm(I)||{}:{})}function L(I){return c.value[I]||{}}function U(I,$){if(o){const oe={[I]:$};for(const le in oe)Qt(oe,le)&&cs(oe[le]);$=oe[I]}c.value[I]=$,x.messages=c.value}function z(I,$){c.value[I]=c.value[I]||{};const oe={[I]:$};if(o)for(const le in oe)Qt(oe,le)&&cs(oe[le]);$=oe[I],Qs($,c.value[I]),x.messages=c.value}function j(I){return u.value[I]||{}}function w(I,$){u.value[I]=$,x.datetimeFormats=u.value,zf(x,I,$)}function S(I,$){u.value[I]=it(u.value[I]||{},$),x.datetimeFormats=u.value,zf(x,I,$)}function P(I){return f.value[I]||{}}function R(I,$){f.value[I]=$,x.numberFormats=f.value,Hf(x,I,$)}function K(I,$){f.value[I]=it(f.value[I]||{},$),x.numberFormats=f.value,Hf(x,I,$)}Yf++,t&&Si&&(Je(t.locale,I=>{i&&(a.value=I,x.locale=I,To(x,a.value,l.value))}),Je(t.fallbackLocale,I=>{i&&(l.value=I,x.fallbackLocale=I,To(x,a.value,l.value))}));const B={id:Yf,locale:F,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(I){i=I,I&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,To(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:X,get modifiers(){return A},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(I){d=I,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(I){p=I,x.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(I){h=I},get fallbackFormat(){return m},set fallbackFormat(I){m=I,x.fallbackFormat=m},get warnHtmlMessage(){return E},set warnHtmlMessage(I){E=I,x.warnHtmlMessage=I},get escapeParameter(){return g},set escapeParameter(I){g=I,x.escapeParameter=I},t:ft,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:Q,setPostTranslationHandler:J,getMissingHandler:re,setMissingHandler:de,[Xg]:ee};return B.datetimeFormats=ne,B.numberFormats=G,B.rt=Ae,B.te=ie,B.tm=T,B.d=je,B.n=gt,B.getDateTimeFormat=j,B.setDateTimeFormat=w,B.mergeDateTimeFormat=S,B.getNumberFormat=P,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Jg]=n,B[Ql]=D,B[Zl]=V,B[ec]=H,B}function dk(e){const t=te(e.locale)?e.locale:ls,n=te(e.fallbackLocale)||et(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Xe(e.missing)?e.missing:void 0,o=ke(e.silentTranslationWarn)||lo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||lo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ke(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Ee(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Xe(e.postTranslation)?e.postTranslation:void 0,f=te(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ke(e.sync)?e.sync:!0;let h=e.messages;if(Ee(e.sharedMessages)){const A=e.sharedMessages;h=Object.keys(A).reduce((x,v)=>{const O=x[v]||(x[v]={});return it(O,A[v]),x},h||{})}const{__i18n:m,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:g,datetimeFormats:_,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:m,__root:b,__injectWithOption:y}}function tc(e={}){const t=ki(dk(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 ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ke(o)?!o:o},get silentFallbackWarn(){return ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ke(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 pk(e,t,n){return{beforeCreate(){const r=us();if(!r)throw Mt(Ot.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=Jf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=tc(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Jf(e,o);else{this.$i18n=tc({__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&&Zg(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=us();if(!r)throw Mt(Ot.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 Jf(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[Xg](t.pluralizationRules||e.pluralizationRules);const n=lu(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 cu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function hk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ot?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ue())}function ey(){return ot}const mk=tt({name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>st(e)||!isNaN(e)}},cu),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Ue();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=te(e.plural)?+e.plural:e.plural);const u=hk(t,l);return o[Ql](e.keypath,u,c)},i=it(Ue(),r),a=te(e.tag)||xe(e.tag)?e.tag:ey();return xe(a)?fr(a,i,{default:s}):fr(a,i,s())}}}),Qf=mk;function gk(e){return et(e)&&!te(e[0])}function ty(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Ue();e.locale&&(c.locale=e.locale),te(e.format)?c.key=e.format:xe(e.format)&&(te(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,h)=>n.includes(h)?it(Ue(),p,{[h]:e.format[h]}):p,Ue()));const f=r(e.value,c,u);let d=[c.key];return et(f)?d=f.map((p,h)=>{const m=o[p.type],b=m?m({[p.type]:p.value,index:h,parts:f}):[p.value];return gk(b)&&(b[0].key=`${p.type}-${h}`),b}):te(f)&&(d=[f]),d},a=it(Ue(),s),l=te(e.tag)||xe(e.tag)?e.tag:ey();return xe(l)?fr(l,a,{default:i}):fr(l,a,i())}}const yk=tt({name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},cu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return ty(e,t,qg,(...r)=>n[ec](...r))}}),Zf=yk;function bk(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 _k(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Mt(Ot.UNEXPECTED_ERROR);const c=bk(e,a.$),u=ed(l);return[Reflect.apply(c.t,c,[...td(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Si&&(i.__i18nWatcher=Je(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Si&&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=ed(a);i.textContent=Reflect.apply(l.t,l,[...td(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function ed(e){if(te(e))return{path:e};if(Ee(e)){if(!("path"in e))throw Mt(Ot.REQUIRED_VALUE,"path");return e}else throw Mt(Ot.INVALID_VALUE)}function td(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return te(n)&&(i.locale=n),st(o)&&(i.plural=o),st(s)&&(i.plural=s),[t,a,i]}function vk(e,t,...n){const r=Ee(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([Qf.name,"I18nT"].forEach(s=>e.component(s,Qf)),[Zf.name,"I18nN"].forEach(s=>e.component(s,Zf)),[od.name,"I18nD"].forEach(s=>e.component(s,od))),e.directive("t",_k(t))}const wk=hr("global-vue-i18n");function Ek(e={}){const t=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ke(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Sk(e,t),i=hr("");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),Ee(d[0])){const m=d[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let p=null;!t&&n&&(p=Pk(f,u.global)),__VUE_I18N_FULL_INSTALL__&&vk(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(pk(s,s.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=us();if(t==null)throw Mt(Ot.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Mt(Ot.NOT_INSTALLED);const n=Ck(t),r=xk(n),o=Qg(t),s=kk(e,o);if(s==="global")return Zg(r,e,o),r;if(s==="parent"){let l=nd(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Mt(Ot.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=it({},e),u=nd(n,t);c.__root=u||r;const f=ki(c);return l.__composerExtend&&(f[Xr]=l.__composerExtend(f)),qi()&&Wh(()=>{const p=f[Xr];p&&(p(),delete f[Xr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=it({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=ki(l),i.__composerExtend&&(a[Xr]=i.__composerExtend(a)),Ak(i,t,a),i.__setInstance(t,a)}return a}function Sk(e,t){const n=jc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>tc(e)):n.run(()=>ki(e));if(r==null)throw Mt(Ot.UNEXPECTED_ERROR);return[n,r]}function Ck(e){const t=Rt(e.isCE?wk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Mt(e.isCE?Ot.NOT_INSTALLED_WITH_PROVIDE:Ot.UNEXPECTED_ERROR);return t}function kk(e,t){return ia(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function xk(e){return e.mode==="composition"?e.global:e.global.__composer}function nd(e,t,n=!1){let r=null;const o=t.root;let s=Tk(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[Jg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Tk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ak(e,t,n){Ln(()=>{},t),bo(()=>{const r=n;e.__deleteInstance(t);const o=r[Xr];o&&(o(),delete r[Xr])},t)}const Ok=["locale","fallbackLocale","availableLocales"],rd=["t","rt","d","n","tm","te"];function Pk(e,t){const n=Object.create(null);return Ok.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Mt(Ot.UNEXPECTED_ERROR);const i=Ke(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,rd.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Mt(Ot.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,rd.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Ik=tt({name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},cu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return ty(e,t,Gg,(...r)=>n[Zl](...r))}}),od=Ik;ck();B0(S0);H0(U0);V0(Kl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Sr();e.__INTLIFY__=!0,C0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Lk=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=pr(),o=wo(),{messageListener:s,sendMessageToTop:i}=Eo(),{addListener:a}=s(),l=ye([]),c=t?_e.SETTING_DATA_LEAF_SET:_e.SETTING_DATA_SET,u=t?_e.SETTING_DATA_LEAF_GET:_e.SETTING_DATA_GET;return a(c,f=>{l.value=f}),i(u,n,o,r),{depsSetting:l}},ny=Symbol("depsSetting"),Rk={class:"app-container"},Mk=tt({__name:"App",setup(e){const{locale:t}=Mr(),n=eu(),r=jE(n),{params:{compId:o="",instanceUid:s}}=pr(),{messageListener:i,sendMessageToTop:a}=Eo(),{addListener:l}=i(),c=wo(),{depsSetting:u}=Lk(!1,!0),f=q(()=>u.value.length>0);return no(ny,u),l(_e.THEME_CHANGE_SET,d=>{r(d.isDark??!1)}),l(_e.LOCALE_SET,d=>{t.value=d}),a(_e.LOCALE_GET,o,c,s),a(_e.THEME_CHANGE_GET,o,c,s),Ln(()=>{const d=document.getElementById("loadingContainer");d&&d.remove()}),(d,p)=>{const h=Yc("router-view");return ue(),Ce("div",Rk,[f.value?(ue(),St(h,{key:0})):Tn("",!0)])}}}),en=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Nk=en(Mk,[["__scopeId","data-v-6efeee9c"]]),Ds=window.parent,sd=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Fs=null;function Dk(){return Fs||(Fs=new Proxy(Ds,{get(e,t){if(sd.includes(String(t)))return t==="postMessage"?Ds.postMessage.bind(Ds):Reflect.get(Ds,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return sd.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Fs)}Object.defineProperty(window,"parent",{get(){return Dk()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const Fk={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",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:"最大标签数量"},$k={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",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:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},Uk={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:"支持创建分组菜单,灵活组织团队组件"},jk={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:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},zk={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},Bk={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!"}},Hk={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},Vk={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},Wk={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},Gk={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},qk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},Kk={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},Yk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},Xk={submit:"提交"},Jk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},Qk={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},Zk={common:Fk,comp:$k,team:Uk,user:jk,file:zk,message:Bk,route:Hk,markdown:Vk,terminal:Wk,deps:Gk,setting:qk,upgrade:Kk,tag:Yk,formCreate:Xk,validateHash:Jk,project:Qk},ex={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",loadingText:"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"},tx={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",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",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",compileWarn:"Component compilation warning",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"}},nx={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"},rx={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",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},ox={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"},sx={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!"}},ix={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"},ax={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},lx={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},cx={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:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},ux={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},fx={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"},dx={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},px={submit:"Submit"},hx={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'},mx={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},gx={common:ex,comp:tx,team:nx,user:rx,file:ox,message:sx,route:ix,markdown:ax,terminal:lx,deps:cx,setting:ux,upgrade:fx,tag:dx,formCreate:px,validateHash:hx,project:mx},yx={zh:Zk,en:gx},bx=localStorage.getItem(kC.LOCALE_KEY)||"zh",_x=Ek({locale:bx,messages:yx,legacy:!1});function vx(e){e.use(_x)}let ry;const ca=e=>ry=e,oy=Symbol();function nc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xo||(Xo={}));function wx(){const e=jc(!0),t=e.run(()=>ye({}));let n=[],r=[];const o=Vc({install(s){ca(o),o._a=s,s.provide(oy,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 sy=()=>{};function id(e,t,n,r=sy){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&qi()&&Wh(o),o}function Dr(e,...t){e.forEach(n=>{n(...t)})}const Ex=e=>e(),ad=Symbol(),Ka=Symbol();function rc(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];nc(o)&&nc(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Wn(r)?e[n]=rc(o,r):e[n]=r}return e}const Sx=Symbol();function Cx(e){return!nc(e)||!Object.prototype.hasOwnProperty.call(e,Sx)}const{assign:nr}=Object;function kx(e){return!!(Ke(e)&&e.effect)}function xx(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=zv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Vc(q(()=>{ca(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=iy(e,c,t,n,r,!0),l}function iy(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={});let m;function b(v){let O;c=u=!1,typeof v=="function"?(v(r.state.value[e]),O={type:Xo.patchFunction,storeId:e,events:p}):(rc(r.state.value[e],v),O={type:Xo.patchObject,payload:v,storeId:e,events:p});const F=m=Symbol();On().then(()=>{m===F&&(c=!0)}),u=!0,Dr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,F=O?O():{};this.$patch(M=>{nr(M,F)})}:sy;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(v,O="")=>{if(ad in v)return v[Ka]=O,v;const F=function(){ca(r);const M=Array.from(arguments),X=new Set,ne=new Set;function G(re){X.add(re)}function Q(re){ne.add(re)}Dr(d,{args:M,name:F[Ka],store:A,after:G,onError:Q});let J;try{J=v.apply(this&&this.$id===e?this:A,M)}catch(re){throw Dr(ne,re),re}return J instanceof Promise?J.then(re=>(Dr(X,re),re)).catch(re=>(Dr(ne,re),Promise.reject(re))):(Dr(X,J),J)};return F[ad]=!0,F[Ka]=O,F},g={_p:r,$id:e,$onAction:id.bind(null,d),$patch:b,$reset:y,$subscribe(v,O={}){const F=id(f,v,O.detached,()=>M()),M=i.run(()=>Je(()=>r.state.value[e],X=>{(O.flush==="sync"?u:c)&&v({storeId:e,type:Xo.direct,events:p},X)},nr({},l,O)));return F},$dispose:_},A=gs(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||Ex)(()=>r._e.run(()=>(i=jc()).run(()=>t({action:E}))));for(const v in x){const O=x[v];if(Ke(O)&&!kx(O)||Wn(O))s||(h&&Cx(O)&&(Ke(O)?O.value=h[v]:rc(O,h[v])),r.state.value[e][v]=O);else if(typeof O=="function"){const F=E(O,v);x[v]=F,a.actions[v]=O}}return nr(A,x),nr(Se(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:v=>{b(O=>{nr(O,v)})}}),r._p.forEach(v=>{nr(A,i.run(()=>v({store:A,app:r._a,pinia:r,options:a})))}),h&&s&&n.hydrate&&n.hydrate(A.$state,h),c=!0,u=!0,A}function ay(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=Gc();return i=i||(l?Rt(oy,null):null),i&&ca(i),i=ry,i._s.has(e)||(o?iy(e,t,r,i):xx(e,r,i)),i._s.get(e)}return s.$id=e,s}function Tx({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const ld=wx();function Ax(e){ld.use(Tx),e.use(ld)}var Ox=typeof global=="object"&&global&&global.Object===Object&&global,Px=typeof self=="object"&&self&&self.Object===Object&&self,Ix=Ox||Px||Function("return this")(),xi=Ix.Symbol,ly=Object.prototype,Lx=ly.hasOwnProperty,Rx=ly.toString,Ao=xi?xi.toStringTag:void 0;function Mx(e){var t=Lx.call(e,Ao),n=e[Ao];try{e[Ao]=void 0;var r=!0}catch{}var o=Rx.call(e);return r&&(t?e[Ao]=n:delete e[Ao]),o}var Nx=Object.prototype,Dx=Nx.toString;function Fx(e){return Dx.call(e)}var $x="[object Null]",Ux="[object Undefined]",cd=xi?xi.toStringTag:void 0;function cy(e){return e==null?e===void 0?Ux:$x:cd&&cd in Object(e)?Mx(e):Fx(e)}function jx(e){return e!=null&&typeof e=="object"}var zx="[object Symbol]";function Bx(e){return typeof e=="symbol"||jx(e)&&cy(e)==zx}var Hx=/\s/;function Vx(e){for(var t=e.length;t--&&Hx.test(e.charAt(t)););return t}var Wx=/^\s+/;function Gx(e){return e&&e.slice(0,Vx(e)+1).replace(Wx,"")}function Ti(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ud=NaN,qx=/^[-+]0x[0-9a-f]+$/i,Kx=/^0b[01]+$/i,Yx=/^0o[0-7]+$/i,Xx=parseInt;function Jx(e){if(typeof e=="number")return e;if(Bx(e))return ud;if(Ti(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ti(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Gx(e);var n=Kx.test(e);return n||Yx.test(e)?Xx(e.slice(2),n?2:8):qx.test(e)?ud:+e}var fd=1/0,Qx=17976931348623157e292;function dd(e){if(!e)return e===0?e:0;if(e=Jx(e),e===fd||e===-fd){var t=e<0?-1:1;return t*Qx}return e===e?e:0}var Zx="[object AsyncFunction]",eT="[object Function]",tT="[object GeneratorFunction]",nT="[object Proxy]";function rT(e){if(!Ti(e))return!1;var t=cy(e);return t==eT||t==tT||t==Zx||t==nT}var oT=9007199254740991,sT=/^(?:0|[1-9]\d*)$/;function iT(e,t){var n=typeof e;return t=t??oT,!!t&&(n=="number"||n!="symbol"&&sT.test(e))&&e>-1&&e%1==0&&e<t}function aT(e,t){return e===t||e!==e&&t!==t}var lT=9007199254740991;function cT(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=lT}function uT(e){return e!=null&&cT(e.length)&&!rT(e)}function fT(e,t,n){if(!Ti(n))return!1;var r=typeof t;return(r=="number"?uT(n)&&iT(t,n.length):r=="string"&&t in n)?aT(n[t],e):!1}var dT=Math.floor,pT=Math.random;function hT(e,t){return e+dT(pT()*(t-e+1))}var mT=parseFloat,gT=Math.min,yT=Math.random;function bT(e,t,n){if(n&&typeof n!="boolean"&&fT(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=dd(e),t===void 0?(t=e,e=0):t=dd(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=yT();return gT(e+o*(t-e+mT("1e-"+((o+"").length-1))),t)}return hT(e,t)}const uy=/^[a-z0-9]+(-[a-z0-9]+)*$/,ua=(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&&!Zs(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&&!Zs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Zs(a,n)?null:a}return null},Zs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function _T(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 fy=Object.freeze({left:0,top:0,width:16,height:16}),Ai=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),fa=Object.freeze({...fy,...Ai}),oc=Object.freeze({...fa,body:"",hidden:!1});function vT(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 pd(e,t){const n=vT(e,t);for(const r in oc)r in Ai?r in e&&!(r in n)&&(n[r]=Ai[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function wT(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=pd(r[a]||o[a],s)}return i(t),n.forEach(i),pd(e,s)}function dy(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=_T(e);for(const o in r){const s=r[o];s&&(t(o,wT(e,o,s)),n.push(o))}return n}const ET={provider:"",aliases:{},not_found:{},...fy};function Ya(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function py(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ya(e,ET))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Ya(s,oc))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]||!Ya(s,oc))return null}return t}const hd=Object.create(null);function ST(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function uo(e,t){const n=hd[e]||(hd[e]=Object.create(null));return n[t]||(n[t]=ST(e,t))}function hy(e,t){return py(t)?dy(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function CT(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let fs=!1;function my(e){return typeof e=="boolean"&&(fs=e),fs}function kT(e){const t=typeof e=="string"?ua(e,!0,fs):e;if(t){const n=uo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function xT(e,t){const n=ua(e,!0,fs);if(!n)return!1;const r=uo(n.provider,n.prefix);return t?CT(r,n.name,t):(r.missing.add(n.name),!0)}function TT(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),fs&&!t&&!e.prefix){let r=!1;return py(e)&&(e.prefix="",dy(e,(o,s)=>{xT(o,s)&&(r=!0)})),r}const n=e.prefix;return Zs({prefix:n,name:"a"})?!!hy(uo(t,n),e):!1}const gy=Object.freeze({width:null,height:null}),yy=Object.freeze({...gy,...Ai}),AT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,OT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function md(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(AT);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=OT.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 PT(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 IT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function LT(e,t,n){const r=PT(e);return IT(r.defs,t+r.content+n)}const RT=e=>e==="unset"||e==="undefined"||e==="none";function MT(e,t){const n={...fa,...e},r={...yy,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const b=[],y=m.hFlip,_=m.vFlip;let E=m.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=LT(s,'<g transform="'+b.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=md(f,l/c)):(u=i==="auto"?l:i,f=a===null?md(u,c/l):a==="auto"?c:a);const d={},p=(m,b)=>{RT(b)||(d[m]=b.toString())};p("width",u),p("height",f);const h=[o.left,o.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:s}}const NT=/\sid="(\S+)"/g,gd=new Map;function DT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=gd.get(e)||0;return gd.set(e,t+1),t?`${e}${t}`:e}function FT(e){const t=[];let n;for(;n=NT.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=DT(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 sc=Object.create(null);function $T(e,t){sc[e]=t}function ic(e){return sc[e]||sc[""]}function uu(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 fu=Object.create(null),Oo=["https://api.simplesvg.com","https://api.unisvg.com"],ei=[];for(;Oo.length>0;)Oo.length===1||Math.random()>.5?ei.push(Oo.shift()):ei.push(Oo.pop());fu[""]=uu({resources:["https://api.iconify.design"].concat(ei)});function UT(e,t){const n=uu(t);return n===null?!1:(fu[e]=n,!0)}function du(e){return fu[e]}const jT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let yd=jT();function zT(e,t){const n=du(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 BT(e){return e===404}const HT=(e,t,n)=>{const r=[],o=zT(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 VT(e){if(typeof e=="string"){const t=du(e);if(t)return t.path}return"/"}const WT=(e,t,n)=>{if(!yd){n("abort",424);return}let r=VT(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;yd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(BT(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)})},GT={prepare:HT,send:WT};function by(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function qT(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||by([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let KT=0;function YT(e,t,n){const r=KT++,o=by.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 XT(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]=uo(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 JT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ua(o,t,n):o;s&&r.push(s)}),r}const QT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ZT(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 k=e.resources.slice(0);for(i=[];k.length>1;){const x=Math.floor(Math.random()*k.length);i.push(k[x]),k=k.slice(0,x).concat(k.slice(x+1))}i=i.concat(k)}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 h(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),h(),d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function b(k,x){x&&(p=[]),typeof k=="function"&&p.push(k)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:b,abort:m}}function _(){l="failed",p.forEach(k=>{k(void 0,u)})}function E(){d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function g(k,x,v){const O=x!=="success";switch(d=d.filter(F=>F!==k),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=v,_();return}if(O){u=v,d.length||(i.length?A():_());return}if(h(),E(),!e.random){const F=e.resources.indexOf(k.resource);F!==-1&&F!==e.index&&(e.index=F)}l="completed",p.forEach(F=>{F(v)})}function A(){if(l!=="pending")return;h();const k=i.shift();if(k===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:k,callback:(v,O)=>{g(x,v,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(k,t,x.callback)}return setTimeout(A),y}function _y(e){const t={...QT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=ZT(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 bd(){}const Xa=Object.create(null);function eA(e){if(!Xa[e]){const t=du(e);if(!t)return;Xa[e]={config:t,redundancy:_y(t)}}return Xa[e]}function tA(e,t,n){let r,o;if(typeof e=="string"){const s=ic(e);if(!s)return n(void 0,424),bd;o=s.send;const i=eA(e);i&&(r=i.redundancy)}else{const s=uu(e);if(s){r=_y(s);const i=ic(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),bd):r.query(t,o,n)().abort}function _d(){}function nA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qT(e)}))}function rA(e){const t=[],n=[];return e.forEach(r=>{(r.match(uy)?t:n).push(r)}),{valid:t,invalid:n}}function Po(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(!hy(e,n).length){r();return}}catch(o){console.error(o)}r(),nA(e)}function vd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function oA(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)){vd(e.loadIcons(o,r,n),c=>{Po(e,o,c)});return}if(s){o.forEach(c=>{vd(s(c,r,n),u=>{Po(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=rA(o);if(a.length&&Po(e,a,null),!i.length)return;const l=r.match(uy)?ic(n):null;if(!l){Po(e,i,null);return}l.prepare(n,r,i).forEach(c=>{tA(n,c,u=>{Po(e,c.icons,u)})})}))}const sA=(e,t)=>{const n=XT(JT(e,!0,my()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,_d)}),()=>{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(uo(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=uo(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&&oA(a,l)}),t?YT(t,n,o):_d};function iA(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in gy?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const aA=/[\s,]+/;function lA(e,t){t.split(aA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function cA(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 uA(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 fA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function dA(e){return"data:image/svg+xml,"+fA(e)}function pA(e){return'url("'+dA(e)+'")'}const wd={...yy,inline:!1},hA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},mA={display:"inline-block"},ac={backgroundColor:"currentColor"},vy={backgroundColor:"transparent"},Ed={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Sd={webkitMask:ac,mask:ac,background:vy};for(const e in Sd){const t=Sd[e];for(const n in Ed)t[e+n]=Ed[n]}const ti={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ti[e+"-flip"]=t,ti[e.slice(0,1)+"-flip"]=t,ti[e+"Flip"]=t});function Cd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const kd=(e,t)=>{const n=iA(wd,t),r={...hA},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const b=t[m];if(b!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&lA(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[m]=cA(b):typeof b=="number"&&(n[m]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ti[m];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):wd[m]===void 0&&(r[m]=b)}}}const l=MT(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=FT(l.body),fr("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=uA(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":pA(h),width:Cd(c.width),height:Cd(c.height),...mA,...p?ac:vy,...a},fr("span",r)};my(!0);$T("",GT);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"||!TT(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;UT(n,o)||console.error(r)}catch{console.error(r)}}}}const gA={...fa,body:""},yA=tt((e,{emit:t})=>{const n=ye(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=ye(!!e.ssr),s=ye(""),i=kn(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=ua(c,!1,!0))===null)return null;let f=kT(u);if(!f){const h=n.value;return(!h||h.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:sA([u],l)}),null}r(),s.value!==c&&(s.value=c,On(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,u.name,u.prefix,u.provider);typeof h=="string"&&(f.body=h)}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():Ln(()=>{o.value=!0,l()}),Je(()=>e.icon,l),bo(r),()=>{const c=i.value;if(!c)return kd(gA,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),kd({...fa,...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 bA(e){e.component("Icon",yA)}const da="v-loading-mask",wy="v-loading-spinner",Ey="v-loading-parent";function _A(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function vA(){const e=document.createElement("div");e.className=da,e.innerHTML=`<div class="${wy}"></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=_A(),t.zIndex="999",t.borderRadius="inherit",e}function wA(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
4
4
|
.${wy} {
|
|
5
5
|
width: 40px;
|
|
6
6
|
height: 40px;
|
|
@@ -36,5 +36,5 @@
|
|
|
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&&ci.assertOptions(r,{silentJSONParsing:Kt.transitional(Kt.boolean),forcedJSONParsing:Kt.transitional(Kt.boolean),clarifyTimeoutError:Kt.transitional(Kt.boolean),legacyInterceptorReqResOrdering:Kt.transitional(Kt.boolean)},!1),o!=null&&(N.isFunction(o)?n.paramsSerializer={serialize:o}:ci.assertOptions(o,{encode:Kt.function,serialize:Kt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ci.assertOptions(n,{baseUrl:Kt.spelling("baseURL"),withXsrfToken:Kt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&N.merge(s.common,s[n.method]);s&&N.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=Dt.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(n)===!1)return;l=l&&m.synchronous;const b=n.transitional||Nu;b&&b.legacyInterceptorReqResOrdering?a.unshift(m.fulfilled,m.rejected):a.push(m.fulfilled,m.rejected)});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,d;if(!l){const h=[vh.bind(this),void 0];for(h.unshift(...a),h.push(...c),d=h.length,u=Promise.resolve(n);f<d;)u=u.then(h[f++],h[f++]);return u}d=a.length;let p=n;for(;f<d;){const h=a[f++],m=a[f++];try{p=h(p)}catch(b){m.call(this,b);break}}try{u=vh.call(this,p)}catch(h){return Promise.reject(h)}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=L_(t.baseURL,t.url,t.allowAbsoluteUrls);return A_(n,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Ar.prototype[t]=function(n,r){return this.request(Lr(r||{},{method:t,url:n,data:(r||{}).data}))}});N.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}))}}Ar.prototype[t]=n(),Ar.prototype[t+"Form"]=n(!0)});let C$=class F_{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 xs(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 F_(function(o){t=o}),cancel:t}}};function k$(e){return function(n){return e.apply(null,n)}}function x$(e){return N.isObject(e)&&e.isAxiosError===!0}const Mc={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(Mc).forEach(([e,t])=>{Mc[t]=e});function $_(e){const t=new Ar(e),n=y_(Ar.prototype.request,t);return N.extend(n,Ar.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return $_(Lr(e,o))},n}const nt=$_(ks);nt.Axios=Ar;nt.CanceledError=xs;nt.CancelToken=C$;nt.isCancel=P_;nt.VERSION=D_;nt.toFormData=xa;nt.AxiosError=ae;nt.Cancel=nt.CanceledError;nt.all=function(t){return Promise.all(t)};nt.spread=k$;nt.isAxiosError=x$;nt.mergeConfig=Lr;nt.AxiosHeaders=Dt;nt.formToJSON=e=>O_(N.isHTMLForm(e)?new FormData(e):e);nt.getAdapter=N_.getAdapter;nt.HttpStatusCode=Mc;nt.default=nt;const{Axios:ez,AxiosError:tz,CanceledError:nz,isCancel:rz,CancelToken:oz,VERSION:sz,all:iz,Cancel:az,isAxiosError:lz,spread:cz,toFormData:uz,AxiosHeaders:fz,HttpStatusCode:dz,formToJSON:pz,getAdapter:hz,mergeConfig:mz}=nt,U_=new Map,T$={baseURL:"",timeout:1e4};function A$(e,t){const n=nt.create({...T$,...t});return U_.set(e,n),n}function O$(e="default"){const t=U_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function P$(e,t){const n=e.split("/")[0],r=O$(n);return e=e.replace(n,""),r.request({url:e,...t})}async function I$(e,t){return P$("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const L$=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:I$},Symbol.toStringTag,{value:"Module"})),Eh={v1Preprocessing:L$},Sh=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],Ch=[".mp3",".wav",".ogg",".oga",".flac",".aac",".m4a",".wma",".mp4",".webm",".ogv",".avi",".mov",".flv",".mkv"],R$=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o})=>{const s={moduleCache:e,pathResolve({refPath:i,relPath:a},l){if(a===".")return i;if(l.moduleCache[a])return a;const c=t[a];if(c)return Og.PREBUILD_MODULE_SKIP_EXT.some(u=>c.endsWith(u))?new URL(`${me.NODE_MODULES_LOAD_PREFIX}/${c}`,window.location.origin).href:new URL(`${me.MODULE_LOAD_PREFIX}/${c}`,window.location.origin).href;if(n?.length&&i){const{origin:u,pathname:f}=new URL(i),d=`${u}${f}`,p=new URL(a,d),h=n.find(m=>m.signedUrl.startsWith(p.href));if(h)return h.signedUrl}return String(new URL(a,i??window.location.href))},async getFile(i){const a=i.toString(),l=new URL(i).pathname;if(Sh.some(u=>l.endsWith(u))||Ch.some(u=>l.endsWith(u))){const u=await fetch(a);if(!u.ok)throw Object.assign(new Error(u.statusText+" "+i),{res:u});const f=await u.blob();return URL.createObjectURL(f)}const c=await fetch(a);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+i),{res:c});return{type:ID(c.url),getContentData:u=>u?c.arrayBuffer():c.text()}},async addStyle(i,a,l){let c=i;l&&i&&(c=PD(i,l,n||[])),document.head.querySelector(`style#${a}`)?.remove();const f=Object.assign(document.createElement("style"),{textContent:c,...a?{id:a}:{}});document.head.appendChild(f)},async processStyles(i,a){if(i.trim()&&a){const c=await Eh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:i,precompilerType:a}),{preprocessedCode:u}=c.data;return u}return i},async handleModule(i,a,l){if(Sh.includes(i)||Ch.includes(i))return await a(!1);switch(i){case".css":{const c=await a(!1);return typeof c=="string"&&await s.addStyle(c,void 0,l),null}case".less":case".scss":case".sass":{const c=await a(!1),f={".scss":"scss",".sass":"sass",".less":"less"}[i];if(typeof c=="string"){const d=c.trim();if(d){const p=await Eh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:d,precompilerType:f}),{preprocessedCode:h}=p.data;await s.addStyle(h,void 0,l)}}return null}}},compiledCache:{async set(i,a){try{await oh().put(me.INDEX_DB_TABLE_NAME,{hash:i,code:a})}catch(l){console.error("将编译后的模块存储到IndexedDB失败",l)}},async get(i){try{return(await oh().get(me.INDEX_DB_TABLE_NAME,i))?.code??void 0}catch(a){console.error("从IndexedDB获取编译后的模块失败",a),r?.(a);return}}},log(i,...a){i==="error"?r?.(new Error(a.join(`
|
|
37
37
|
`))):i==="warn"&&o?.(a.join(`
|
|
38
38
|
`))},createCJSModule(i,a,l){const{moduleCache:c,pathResolve:u,getResource:f}=l,d=function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`require(${JSON.stringify(y)}) failed. module not found in moduleCache`)},p=async function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`Dynamic import(${JSON.stringify(y)}) failed. module not found in moduleCache`)},h={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",a).call(h.exports,h.exports,d,h,i,u({refPath:i,relPath:"."},l),p),h}};return s};function $u(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function M$(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${$u(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function N$(e,t,n="hl"){if(!t?.trim())return e;const r=$u(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function D$(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const j_=e=>e.replace(/[/\\]/g,"/"),F$=(e,t="/")=>e.replace(/[\\/]+/g,t);function $$(){return"#"+bT(0,16777215).toString(16).padStart(6,"0")}const U$=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),z_=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Nc=e=>{if(Array.isArray(e))return e.map(n=>Nc(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=z_(n);t[r]=Nc(e[n])}return t};function j$(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function z$(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 B_(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===`
|
|
39
|
-
`?{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 B$(e){return B_(e).valid}function H$(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function V$(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const W$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Nc,escapeRegExp:$u,findKeywordLineIndex:D$,generateNumberString:z$,highlightText:N$,isEmail:U$,isValidHash:B$,normalizeTags:H$,randomColor:$$,replaceBackslashWithSlash:j_,replaceSlashWithSpecifiedSeparator:F$,splitTextByKeyword:M$,toCamelCase:z_,validateCompName:j$,validateHash:B_,validateTags:V$},Symbol.toStringTag,{value:"Module"}));function G$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=j_(n);return`${e.replace(me.FILE_MANAGER_DIRNAME,"")}${r}`}function q$(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 K$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:G$,handleDepData:q$},Symbol.toStringTag,{value:"Module"})),kh=/^[\^~>=<]+/,H_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function Y$(e){return H_.test(e)}function In(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(kh),n=t?t[0]:"",r=e.replace(kh,"").match(H_);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 X$(e,t){const n=In(e),r=In(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function J$(e){return In(e).majorVersion}function Q$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=In(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Yr(e,t){const n=In(e),r=In(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=me;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 Z$(e,t){const n=In(e),r=In(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Yr(e,t.replace(">=",""))>=0;case">":return Yr(e,t.replace(">",""))>0;case"<=":return Yr(e,t.replace("<=",""))<=0;case"<":return Yr(e,t.replace("<",""))<0;case"=":case"":return Yr(e,t.replace("=",""))===0;default:return!1}}function eU(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=In(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 tU=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Yr,getMajorVersion:J$,isVersionEqual:X$,parseDependencies:Q$,parseVersion:In,satisfiesRange:Z$,validateVersion:Y$,versionToNumber:eU},Symbol.toStringTag,{value:"Module"})),nU=["id","aria-label","aria-disabled"],rU=["onClick"],oU=["name","value","checked","disabled","onChange"],sU={class:"segmented__label"},iU=tt({__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=ye(),s=ye({opacity:"0"}),i=q(()=>n.segProps?.value||"value"),a=q(()=>n.segProps?.label||"label"),l=q(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=q(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function h(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function m(){On(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const k=y.item(A);if(k&&k.classList.contains("is-selected")){_=k;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Je(()=>n.modelValue,m),Je(()=>n.options,m),Je(()=>n.direction,m),Ln(m),(b,y)=>(ue(),Ce("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:We(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[ze("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Lt(s.value)},null,4),(ue(!0),Ce(ot,null,_o(d.value,(_,E)=>(ue(),Ce("label",{key:c(_),class:We(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>h(_)},[ze("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>h(_)},null,40,oU),ze("span",sU,[cr(b.$slots,"default",{item:_,index:E},()=>[vi(Gn(u(_)),1)],!0)])],10,rU))),128))],10,nU))}}),aU=en(iU,[["__scopeId","data-v-652cb401"]]),lU={class:"ec-list"},cU={class:"ec-actions"},uU=tt({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=eu();return(r,o)=>(ue(),Ce("div",{class:We(["ec-outer",Pe(n)?"ec-outer--dark":"ec-outer--light"])},[ze("div",{class:We(["ec-inner",Pe(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=ze("div",{class:"ec-icon"},"🔧",-1)),ze("h4",{class:We(["ec-title",Pe(n)?"ec-title--dark":"ec-title--light"])},Gn(Pe(t)("comp.compileError")),3),ze("div",lU,[(ue(!0),Ce(ot,null,_o(e.error,(s,i)=>(ue(),Ce("div",{key:i,class:We(["ec-item",Pe(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),ze("div",cU,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),xh=en(uU,[["__scopeId","data-v-50d3a8b1"]]),fU={class:"wc-list"},dU={class:"wc-actions"},pU=tt({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=eu();return(r,o)=>(ue(),Ce("div",{class:We(["wc-outer",Pe(n)?"wc-outer--dark":"wc-outer--light"])},[ze("div",{class:We(["wc-inner",Pe(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=ze("div",{class:"wc-icon"},"⚠️",-1)),ze("h4",{class:We(["wc-title",Pe(n)?"wc-title--dark":"wc-title--light"])},Gn(Pe(t)("comp.compileWarn")),3),ze("div",fU,[(ue(!0),Ce(ot,null,_o(e.warn,(s,i)=>(ue(),Ce("div",{key:i,class:We(["wc-item",Pe(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),ze("div",dU,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),hU=en(pU,[["__scopeId","data-v-c171e829"]]),mU=tt({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=ta("bodyRef");return t({bodyRef:n}),(r,o)=>(ue(),Ce("div",{class:We(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(ue(),Ce("div",{key:0,class:We(["card__header",e.headerClass])},[cr(r.$slots,"header",{},()=>[vi(Gn(e.header),1)],!0)],2)):Tn("",!0),ze("div",{ref_key:"bodyRef",ref:n,class:We(["card__body",e.bodyClass]),style:Lt(e.bodyStyle)},[cr(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(ue(),Ce("div",{key:1,class:We(["card__footer",e.footerClass])},[cr(r.$slots,"footer",{},()=>[vi(Gn(e.footer),1)],!0)],2)):Tn("",!0)],2))}}),V_=en(mU,[["__scopeId","data-v-9e044e5b"]]),gU=tt({__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=ye(r.initialIndex),i=ye(!1),a=ye(!1),l=ye(),c=ye([]);function u(G){c.value.push(G)}function f(G){const Q=c.value.findIndex(J=>J.uid===G);Q!==-1&&(c.value.splice(Q,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=q(()=>r.direction==="vertical"),p=q(()=>r.type==="card"),h=q(()=>r.cardScale);no("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:h,translating:q(()=>i.value),animating:q(()=>i.value),slideTo:A});const m=q(()=>{const G={};return r.height&&r.height!=="auto"&&(G.height=r.height),G}),b=q(()=>{if(p.value)return{};if(c.value.length===0)return{};const Q=-s.value*100;return d.value?{transform:`translateY(${Q}%)`}:{transform:`translateX(${Q}%)`}}),y=q(()=>r.trigger==="click"?"click":"mouseenter"),_=q(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=q(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(G){const Q=c.value.length;return Q===0?0:r.loop?(G%Q+Q)%Q:Math.max(0,Math.min(G,Q-1))}function A(G){if(c.value.length===0)return;const J=g(G);if(J===s.value)return;const re=s.value;s.value=J,i.value=!0,o("change",J,re),setTimeout(()=>{i.value=!1},400)}function k(){A(s.value+1)}function x(){A(s.value-1)}function v(G){if(typeof G=="number"){A(G);return}const Q=c.value.findIndex(J=>J.name===G);Q!==-1&&A(Q)}let O=null;function F(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||k()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function X(){a.value=!0}function ne(){a.value=!1}return Je(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&F()}),Je(()=>r.autoplay,G=>{G?F():M()}),Je(()=>r.interval,()=>{r.autoplay&&F()}),Ln(()=>{r.autoplay&&F()}),ra(()=>{M()}),t({activeIndex:s,setActiveItem:v,prev:x,next:k}),(G,Q)=>(ue(),Ce("div",{ref_key:"carouselRef",ref:l,class:We(["carousel",[`carousel--${e.direction}`]]),style:Lt(m.value),onMouseenter:X,onMouseleave:ne},[ze("div",{class:We(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[ze("div",{class:We(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Lt(b.value)},[cr(G.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ue(),Ce("button",{key:0,class:We(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Lt(_.value),onClick:vf(x,["stop"])},[...Q[0]||(Q[0]=[ze("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Tn("",!0),e.arrow!=="never"&&c.value.length>1?(ue(),Ce("button",{key:1,class:We(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Lt(E.value),onClick:vf(k,["stop"])},[...Q[1]||(Q[1]=[ze("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Tn("",!0),c.value.length>1?(ue(),Ce("ul",{key:2,class:We(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ue(!0),Ce(ot,null,_o(c.value,(J,re)=>(ue(),Ce("li",ao({key:J.uid,class:["carousel__indicator",{"carousel__indicator--active":re===s.value}]},{[Xs(y.value)]:de=>v(re)}),[ze("span",null,Gn(J.label||""),1)],16))),128))],2)):Tn("",!0)],38))}}),W_=en(gU,[["__scopeId","data-v-99eabb22"]]),yU=tt({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=ye(!1),r=Rt("carousel"),o=ye(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),ra(()=>{r?.removeItem(o.value)});const s=q(()=>r?.items.value??[]),i=q(()=>r?.activeIndex.value??0),a=q(()=>r?.isCard.value??!1),l=q(()=>r?.cardScale.value??.83),c=q(()=>s.value.findIndex(m=>m.uid===o.value)),u=q(()=>c.value===i.value),f=q(()=>{if(!a.value)return!1;const m=s.value.length;return m<=1?!1:c.value===(i.value-1+m)%m}),d=q(()=>{if(!a.value)return!1;const m=s.value.length;return m<=1?!1:c.value===(i.value+1)%m}),p=q(()=>{if(a.value&&s.value.length>1){const m=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${m})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${m})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${m})`,zIndex:1,opacity:0}}return{}});function h(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(m,b)=>ym((ue(),Ce("div",{class:We(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Lt(p.value),onClick:h},[cr(m.$slots,"default",{},void 0,!0)],6)),[[aE,n.value]])}}),G_=en(yU,[["__scopeId","data-v-9638f2b6"]]);var Rl,Th;function bU(){if(Th)return Rl;Th=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,h=-1,m=0;m<=p;++m){if(m===p){if(d>p){if(i.charCodeAt(u+m)===47)return i.slice(u+m+1);if(m===0)return i.slice(u+m)}else c>p&&(s.charCodeAt(a+m)===47?h=m:m===0&&(h=0));break}var b=s.charCodeAt(a+m),y=i.charCodeAt(u+m);if(b!==y)break;b===47&&(h=m)}var _="";for(m=a+h+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+h):(u+=h,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,h=s.length-1,m=0;h>=c;--h){if(a=s.charCodeAt(h),a===47){if(!p){f=h+1;break}continue}d===-1&&(p=!1,d=h+1),a===46?u===-1?u=h:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===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,Rl=r,Rl}var q_=bU();function _U(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 vU=ay("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}}=pr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=q_.join(`/${me.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await _U(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),wU={class:"async-comp-wrapper"},EU={key:0,class:"async-comp-error screenshot-fallback"},SU={class:"toggle-btn active"},CU={class:"toggle-btn active"},kU=["src"],xU={key:1,class:"async-comp-error"},TU={key:2,class:"async-comp-error"},AU=tt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=Rt(ny);let r=()=>{},o=0;const s=vU(),i=ta("compContainer"),{sendMessageToTop:a}=Eo(),l=wo(),{params:{instanceUid:c}}=pr(),u=ye(!1),f=ye(""),d=ye(""),p=ye(""),h=ye(""),m=ye([]),b=ye(""),y=ye([]),_=q(()=>({"async-comp-overflow-auto":t.panelType===me.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===me.COMP_EDIT_TAB_TYPE_MINI})),E=q(()=>{const Y=[...y.value,f.value,d.value,h.value,b.value].filter(Boolean);return[...new Set(Y)]}),g=q(()=>{const Y=[p.value,...m.value].filter(Boolean);return[...new Set(Y)]}),A=q(()=>n?.value?.find(Y=>Y.name==="vue")?.version||""),k=q(()=>t.signedUrls?.length&&t.signedUrls.find(Z=>Z.path===`/${me.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),x=ye(!0),v=Y=>Y instanceof Error?Y.message:typeof Y=="string"?Y:"未知错误",O=()=>{f.value="",d.value="",p.value="",h.value="",m.value=[],b.value="",y.value=[]},F=new Set;let M=null;const X=()=>{const Y=i.value;Y&&F.forEach(({params:Z,callback:se})=>{se(el(Y,Z.mode,Z.width,Z.height))})},ne=()=>{t.panelType===me.COMP_EDIT_TAB_TYPE_MINI&&(M||!i.value||(M=new ResizeObserver(()=>X()),M.observe(i.value)))},G=Y=>{t.panelType===me.COMP_EDIT_TAB_TYPE_MINI&&(Y.$onScaleChange=(Z,se)=>{const D={params:Z,callback:se};return F.add(D),i.value&&se(el(i.value,Z.mode,Z.width,Z.height)),()=>{F.delete(D)}},Y.$getScaleStyle=({mode:Z,width:se,height:D})=>el(i.value,Z,se,D))},Q=()=>{const se=(t.dep||[]).filter(H=>!t.depToFile[H.name]).map(H=>`${H.parent?.name||H.name}${H.version||""} uninstalled`),D=[...new Set(se)];D.length&&(b.value=D.join(", "))},J=async()=>{const Y=[...t.dep];return Y.sort((se,D)=>se.name==="vue"?-1:D.name==="vue"?1:0),await Y.reduce(async(se,D)=>{const{name:H}=D,V=await se,ee=t.depToFile[H];if(!ee||Og.PREBUILD_MODULE_SKIP_EXT.find(C=>ee.endsWith(C)))return V;try{const C=await LO(()=>import(`${me.MODULE_LOAD_PREFIX}/${ee}`),[]);V[H]={...C.default,...C,__esModule:!0}}catch(C){console.warn(`[cacheModule] 模块 "${H}" 预加载失败,将交由 vue3-sfc-loader 处理:`,v(C))}return V},Promise.resolve({}))},re=async Y=>{if(t.localCompRootPath){const Z=q_.join(t.localCompRootPath,me.COMP_ENTRY_FILE);await LD(Z)&&await Y(Z)}else if(t.signedUrls?.length){const Z=t.signedUrls.find(se=>se.path===`/${me.COMP_ENTRY_FILE}`);Z&&await Y(Z.signedUrl)}},de=async(Y,Z,se)=>{try{const D=await s.loadSfcLoader(Y),{loadModule:H}=D,V=await H("vue",Z);return await se(H,V)}catch(D){console.error(D);const H=v(D);return console.error(`sfcLoaderError:${H}`),h.value=H,null}},Ye=async Y=>de("vue3",Y,async(Z,se)=>{const{createApp:D,defineAsyncComponent:H}=se;if(!D||!H)return f.value="createApp or defineAsyncComponent is not defined",null;const V=H({loader:async()=>await Z(t.finalEntryUrl,Y),delay:100,timeout:2e4,onError:(ie,C,T)=>{if(console.error(`onError:${ie.message}`),f.value=ie.message,ie)return T()}}),ee=D({template:"<AsyncComp />"});return se.app=ee,await re(async ie=>{await Z(ie,Y)}),ee.component("AsyncComp",V),G(ee.config.globalProperties),ee.config.errorHandler=ie=>{console.error(ie),console.error(`errorHandler:${ie}`),d.value=ie,u.value=!1},ee.config.warnHandler=function(ie){console.warn(ie),console.warn(`warnHandler:${ie}`),p.value=ie,u.value=!1},ee}),ft=async Y=>de("vue2",Y,async(Z,se)=>{G(se.default.prototype),se.default.config.errorHandler=function(H){console.error(H),console.error(`errorHandler:${H}`),d.value=H,u.value=!1},se.default.config.warnHandler=function(H){console.warn(H),console.warn(`warnHandler:${H}`),p.value=H,u.value=!1},await re(async H=>{await Z(H,Y)});const D=await Z(t.finalEntryUrl,Y);return new se.default(D)}),Ae=(Y,Z)=>Y.mount?(Y.mount(Z),se=>{console.log("vue3组件卸载"),Y?.unmount(),Z.remove(),se?.()}):(Y.$mount(Z),se=>{console.log("vue2组件卸载"),Y?.$destroy(),Z.remove(),se?.()}),je=async()=>{u.value=!0,O();try{const Y=A.value;if(console.log("当前vue版本",Y),!Y)throw new Error("vue版本不能为空");const Z=tU.getMajorVersion(Y);if(Q(),b.value)return null;const se=await J(),D=R$({moduleCache:se,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:H=>{console.error(H);const V=v(H);console.error(`sfcLoaderError:${V}`),h.value=V},warnCallBack:H=>{console.warn(H),m.value=[...m.value,H]}});return Z==="3"?await Ye(D):Z==="2"?await ft(D):null}catch(Y){console.error(Y);const Z=v(Y);return console.error(`loadAsyncComp error:${Z}`),h.value=Z,null}finally{u.value=!1}};async function gt(){if(!i.value){console.error("组件挂载点不存在");return}o++;const Y=o,Z=document.createElement("div");Z.style.height="100%",Z.style.width="100%",i.value.appendChild(Z);const se=()=>{Z.parentNode&&Z.remove()};try{const D=await je();if(Y!==o){D?Ae(D,Z)(()=>{}):se();return}if(!D){console.error("组件实例创建失败"),se();return}r=Ae(D,Z),ne()}catch(D){console.error(D),console.error(`handleCompRender error:${v(D)}`),se()}}return Je(()=>t.finalEntryUrl,async Y=>{console.log("卸载当前预览",Y),r(()=>{i.value&&(i.value.innerHTML="")}),Y&&(await On(),await gt())},{immediate:!0}),Je(()=>[E.value,g.value],([Y,Z])=>{!Y.length&&!Z.length||r(()=>{i.value&&(i.value.innerHTML="")})}),Je(()=>({hasError:E.value.length>0,hasWarn:g.value.length>0}),({hasError:Y,hasWarn:Z})=>{console.log("comp render state",{hasError:Y,hasWarn:Z}),a(_e.COMP_RENDER_ERROR_SET,{hasError:Y,hasWarn:Z},l,c)},{immediate:!0}),bo(()=>{r(()=>{i.value&&(i.value.innerHTML="")}),M?.disconnect(),M=null,F.clear()}),(Y,Z)=>{const se=Yc("Icon"),D=yw("loading");return ym((ue(),Ce("div",wU,[ze("div",{ref:"compContainer",class:We(["async-comp-container",_.value])},null,2),E.value.length&&k.value?(ue(),Ce("div",EU,[x.value?(ue(),Ce("div",{key:0,class:"screenshot-toggle",onClick:Z[0]||(Z[0]=H=>x.value=!1)},[ze("div",SU,[Ge(se,{icon:"material-symbols:error-outline-rounded"})])])):(ue(),Ce("div",{key:1,class:"screenshot-toggle",onClick:Z[1]||(Z[1]=H=>x.value=!0)},[ze("div",CU,[Ge(se,{icon:"material-symbols:broken-image-outline-rounded"})])])),x.value?(ue(),Ce("img",{key:2,src:k.value,class:"screenshot-img",alt:"组件预览截图"},null,8,kU)):(ue(),St(Pe(xh),{key:3,error:E.value},null,8,["error"]))])):E.value.length?(ue(),Ce("div",xU,[Ge(Pe(xh),{error:E.value},null,8,["error"])])):g.value.length?(ue(),Ce("div",TU,[Ge(Pe(hU),{warn:g.value},null,8,["warn"])])):Tn("",!0)])),[[D,u.value]])}}}),Uu=en(AU,[["__scopeId","data-v-d5b268ed"]]),OU=tt({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:me.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=_w(),n=e;return(r,o)=>(ue(),St(Pe(W_),ao({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Pe(t)),{default:Or(()=>[(ue(!0),Ce(ot,null,_o(e.previews,(s,i)=>(ue(),St(Pe(G_),{key:i,class:"comp-mini-carousel-item"},{default:Or(()=>[ze("div",{class:"comp-mini-carousel-slide",style:Lt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ue(),St(Uu,ao({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):Tn("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Aa=en(OU,[["__scopeId","data-v-da931a53"]]);function K_(e=3,t=me.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=pr(),{messageListener:o,sendMessageToTop:s}=Eo(),i=wo(),{addListener:a}=o(),l=ye(),c=q(()=>l.value?.item),u=q(()=>l.value?.dep??[]),f=q(()=>l.value?.depToFile??{}),d=q(()=>{if(!c.value)return[];const h=t===me.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(m=>h?m.miniPath?.length:m.fullPath?.length||m.miniPath?.length).slice(0,e).map(m=>{const b=h?m.miniPath:m.fullPath?.length?m.fullPath:m.miniPath,y=K$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${me.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=q(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(me.FILE_MANAGER_DIRNAME,me.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(_e.ITEM_INIT_SET_LOCAL,h=>{l.value=h}),s(_e.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const PU=tt({__name:"index",setup(e){const{carouselBind:t}=K_(3,me.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ue(),St(Aa,ms(vo(Pe(t))),null,16))}});function Y_(e=3,t=me.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=pr(),{messageListener:o,sendMessageToTop:s}=Eo(),i=wo(),{addListener:a}=o(),l=ye(),c=ye(),u=q(()=>l.value?.item),f=q(()=>l.value?.depEntryNameToFile),d=q(()=>l.value?.versionToFileAccessPath),p=q(()=>l.value?.item?.version??""),h=q(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:k})=>[A,k])),g=t===me.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const k=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=W$.replaceBackslashWithSlash(k?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),m=q(()=>({previews:h.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(_e.ITEM_INIT_SET,_=>{l.value=_}),a(_e.BG_COLOR_SET,_=>{c.value=_}),s(_e.ITEM_INIT_GET,n,i,r),s(_e.BG_COLOR_GET,"",i,r),Je(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:m,setInitVersion:y}}const IU=tt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=Y_(3),r=ye(""),o=q(()=>({...t.value,panelType:me.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ue(),St(Aa,ms(vo(o.value)),null,16))}});function LU(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const RU=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ur(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let Hr=null;function X_(e={}){return Hr||(e.includeStyleProperties?(Hr=e.includeStyleProperties,Hr):(Hr=ur(window.getComputedStyle(document.documentElement)),Hr))}function Ui(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function MU(e){const t=Ui(e,"border-left-width"),n=Ui(e,"border-right-width");return e.clientWidth+t+n}function NU(e){const t=Ui(e,"border-top-width"),n=Ui(e,"border-bottom-width");return e.clientHeight+t+n}function J_(e,t={}){const n=t.width||MU(e),r=t.height||NU(e);return{width:n,height:r}}function DU(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const jt=16384;function FU(e){(e.width>jt||e.height>jt)&&(e.width>jt&&e.height>jt?e.width>e.height?(e.height*=jt/e.width,e.width=jt):(e.width*=jt/e.height,e.height=jt):e.width>jt?(e.height*=jt/e.width,e.width=jt):(e.width*=jt/e.height,e.height=jt))}function ji(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function $U(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function UU(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),$U(o)}const Ft=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Ft(n,t)};function jU(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function zU(e,t){return X_(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function BU(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?jU(n):zU(n,r);return document.createTextNode(`${o}{${s}}`)}function Ah(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const i=RU();try{t.className=`${t.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(BU(i,n,o,r)),t.appendChild(a)}function HU(e,t,n){Ah(e,t,":before",n),Ah(e,t,":after",n)}const Oh="application/font-woff",Ph="image/jpeg",VU={woff:Oh,woff2:Oh,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ph,jpeg:Ph,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function WU(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function ju(e){const t=WU(e).toLowerCase();return VU[t]||""}function GU(e){return e.split(/,/)[1]}function Dc(e){return e.search(/^(data:)/)!==-1}function qU(e,t){return`data:${t};base64,${e}`}async function Q_(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,i)=>{const a=new FileReader;a.onerror=i,a.onloadend=()=>{try{s(n({res:r,result:a.result}))}catch(l){i(l)}},a.readAsDataURL(o)})}const Ml={};function KU(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function zu(e,t,n){const r=KU(e,t,n.includeQueryParams);if(Ml[r]!=null)return Ml[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await Q_(e,n.fetchRequestInit,({res:i,result:a})=>(t||(t=i.headers.get("Content-Type")||""),GU(a)));o=qU(s,t)}catch(s){o=n.imagePlaceholder||"";let i=`Failed to fetch resource: ${e}`;s&&(i=typeof s=="string"?s:s.message),i&&console.warn(i)}return Ml[r]=o,o}async function YU(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):ji(t)}async function XU(e,t){if(e.currentSrc){const s=document.createElement("canvas"),i=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,i?.drawImage(e,0,0,s.width,s.height);const a=s.toDataURL();return ji(a)}const n=e.poster,r=ju(n),o=await zu(n,r,t);return ji(o)}async function JU(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await Oa(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function QU(e,t){return Ft(e,HTMLCanvasElement)?YU(e):Ft(e,HTMLVideoElement)?XU(e,t):Ft(e,HTMLIFrameElement)?JU(e,t):e.cloneNode(Z_(e))}const ZU=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Z_=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ej(e,t,n){var r,o;if(Z_(t))return t;let s=[];return ZU(e)&&e.assignedNodes?s=ur(e.assignedNodes()):Ft(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ur(e.contentDocument.body.childNodes):s=ur(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Ft(e,HTMLVideoElement)||await s.reduce((i,a)=>i.then(()=>Oa(a,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function tj(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):X_(n).forEach(s=>{let i=o.getPropertyValue(s);s==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ft(e,HTMLIFrameElement)&&s==="display"&&i==="inline"&&(i="block"),s==="d"&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),r.setProperty(s,i,o.getPropertyPriority(s))})}function nj(e,t){Ft(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Ft(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function rj(e,t){if(Ft(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function oj(e,t,n){return Ft(t,Element)&&(tj(e,t,n),HU(e,t,n),nj(e,t),rj(e,t)),t}async function sj(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const a=n[s].getAttribute("xlink:href");if(a){const l=e.querySelector(a),c=document.querySelector(a);!l&&c&&!r[a]&&(r[a]=await Oa(c,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",i=document.createElementNS(s,"svg");i.setAttribute("xmlns",s),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const a=document.createElementNS(s,"defs");i.appendChild(a);for(let l=0;l<o.length;l++)a.appendChild(o[l]);e.appendChild(i)}return e}async function Oa(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>QU(r,t)).then(r=>ej(e,r,t)).then(r=>oj(e,r,t)).then(r=>sj(r,t))}const ev=/url\((['"]?)([^'"]+?)\1\)/g,ij=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,aj=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function lj(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function cj(e){const t=[];return e.replace(ev,(n,r,o)=>(t.push(o),n)),t.filter(n=>!Dc(n))}async function uj(e,t,n,r,o){try{const s=n?LU(t,n):t,i=ju(t);let a;return o||(a=await zu(s,i,r)),e.replace(lj(t),`$1${a}$3`)}catch{}return e}function fj(e,{preferredFontFormat:t}){return t?e.replace(aj,n=>{for(;;){const[r,,o]=ij.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function tv(e){return e.search(ev)!==-1}async function nv(e,t,n){if(!tv(e))return e;const r=fj(e,n);return cj(r).reduce((s,i)=>s.then(a=>uj(a,i,t,n)),Promise.resolve(r))}async function Vr(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await nv(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function dj(e,t){await Vr("background",e,t)||await Vr("background-image",e,t),await Vr("mask",e,t)||await Vr("-webkit-mask",e,t)||await Vr("mask-image",e,t)||await Vr("-webkit-mask-image",e,t)}async function pj(e,t){const n=Ft(e,HTMLImageElement);if(!(n&&!Dc(e.src))&&!(Ft(e,SVGImageElement)&&!Dc(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await zu(r,ju(r),t);await new Promise((s,i)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...l)=>{try{s(t.onImageErrorHandler(...l))}catch(c){i(c)}}:i;const a=e;a.decode&&(a.decode=s),a.loading==="lazy"&&(a.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function hj(e,t){const r=ur(e.childNodes).map(o=>rv(o,t));await Promise.all(r).then(()=>e)}async function rv(e,t){Ft(e,Element)&&(await dj(e,t),await pj(e,t),await hj(e,t))}function mj(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Ih={};async function Lh(e){let t=Ih[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Ih[e]=t,t}async function Rh(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async i=>{let a=i.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,e.url).href),Q_(a,t.fetchRequestInit,({result:l})=>(n=n.replace(i,`url(${l})`),[i,l]))});return Promise.all(s).then(()=>n)}function Mh(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=o.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(i,"gi");for(;;){let l=s.exec(r);if(l===null){if(l=a.exec(r),l===null)break;s.lastIndex=a.lastIndex}else a.lastIndex=s.lastIndex;t.push(l[0])}return t}async function gj(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ur(o.cssRules||[]).forEach((s,i)=>{if(s.type===CSSRule.IMPORT_RULE){let a=i+1;const l=s.href,c=Lh(l).then(u=>Rh(u,t)).then(u=>Mh(u).forEach(f=>{try{o.insertRule(f,f.startsWith("@import")?a+=1:o.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(s){const i=e.find(a=>a.href==null)||document.styleSheets[0];o.href!=null&&r.push(Lh(o.href).then(a=>Rh(a,t)).then(a=>Mh(a).forEach(l=>{i.insertRule(l,i.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ur(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function yj(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>tv(t.style.getPropertyValue("src")))}async function bj(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ur(e.ownerDocument.styleSheets),r=await gj(n,t);return yj(r)}function ov(e){return e.trim().replace(/["']/g,"")}function _j(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(ov(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function vj(e,t){const n=await bj(e,t),r=_j(e);return(await Promise.all(n.filter(s=>r.has(ov(s.style.fontFamily))).map(s=>{const i=s.parentStyleSheet?s.parentStyleSheet.href:null;return nv(s.cssText,i,t)}))).join(`
|
|
40
|
-
`)}async function wj(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await vj(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Ej(e,t={}){const{width:n,height:r}=J_(e,t),o=await Oa(e,t,!0);return await wj(o,t),await rv(o,t),mj(o,t),await UU(o,n,r)}async function Sj(e,t={}){const{width:n,height:r}=J_(e,t),o=await Ej(e,t),s=await ji(o),i=document.createElement("canvas"),a=i.getContext("2d"),l=t.pixelRatio||DU(),c=t.canvasWidth||n,u=t.canvasHeight||r;return i.width=c*l,i.height=u*l,t.skipAutoScale||FU(i),i.style.width=`${c}`,i.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,i.width,i.height)),a.drawImage(s,0,0,i.width,i.height),i}async function Cj(e,t={}){return(await Sj(e,t)).toDataURL()}const kj={class:"panel-mini-wrapper"},xj=tt({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e,{expose:t}){const n=ta("cardRef");t({getBodyEl:()=>n.value?.bodyRef});const r=e,o=q(()=>({finalEntryUrl:r.miniEntryUrl,dep:r.dep,depToFile:r.depToFile,signedUrls:r.signedUrls,panelType:me.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:r.localCompRootPath}));return(s,i)=>(ue(),Ce("div",kj,[Ge(Pe(V_),{ref_key:"cardRef",ref:n,"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Lt({backgroundColor:e.bg})},{default:Or(()=>[Ge(Uu,ms(vo(o.value)),null,16)]),_:1},8,["style"])]))}}),Tj=en(xj,[["__scopeId","data-v-
|
|
39
|
+
`?{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 B$(e){return B_(e).valid}function H$(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function V$(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const W$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Nc,escapeRegExp:$u,findKeywordLineIndex:D$,generateNumberString:z$,highlightText:N$,isEmail:U$,isValidHash:B$,normalizeTags:H$,randomColor:$$,replaceBackslashWithSlash:j_,replaceSlashWithSpecifiedSeparator:F$,splitTextByKeyword:M$,toCamelCase:z_,validateCompName:j$,validateHash:B_,validateTags:V$},Symbol.toStringTag,{value:"Module"}));function G$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=j_(n);return`${e.replace(me.FILE_MANAGER_DIRNAME,"")}${r}`}function q$(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 K$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:G$,handleDepData:q$},Symbol.toStringTag,{value:"Module"})),kh=/^[\^~>=<]+/,H_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function Y$(e){return H_.test(e)}function In(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(kh),n=t?t[0]:"",r=e.replace(kh,"").match(H_);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 X$(e,t){const n=In(e),r=In(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function J$(e){return In(e).majorVersion}function Q$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=In(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Yr(e,t){const n=In(e),r=In(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=me;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 Z$(e,t){const n=In(e),r=In(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Yr(e,t.replace(">=",""))>=0;case">":return Yr(e,t.replace(">",""))>0;case"<=":return Yr(e,t.replace("<=",""))<=0;case"<":return Yr(e,t.replace("<",""))<0;case"=":case"":return Yr(e,t.replace("=",""))===0;default:return!1}}function eU(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=In(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 tU=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Yr,getMajorVersion:J$,isVersionEqual:X$,parseDependencies:Q$,parseVersion:In,satisfiesRange:Z$,validateVersion:Y$,versionToNumber:eU},Symbol.toStringTag,{value:"Module"})),nU=["id","aria-label","aria-disabled"],rU=["onClick"],oU=["name","value","checked","disabled","onChange"],sU={class:"segmented__label"},iU=tt({__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=ye(),s=ye({opacity:"0"}),i=q(()=>n.segProps?.value||"value"),a=q(()=>n.segProps?.label||"label"),l=q(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=q(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function h(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function m(){On(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const k=y.item(A);if(k&&k.classList.contains("is-selected")){_=k;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Je(()=>n.modelValue,m),Je(()=>n.options,m),Je(()=>n.direction,m),Ln(m),(b,y)=>(ue(),Ce("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:We(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[ze("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Lt(s.value)},null,4),(ue(!0),Ce(ot,null,_o(d.value,(_,E)=>(ue(),Ce("label",{key:c(_),class:We(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>h(_)},[ze("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>h(_)},null,40,oU),ze("span",sU,[cr(b.$slots,"default",{item:_,index:E},()=>[vi(Gn(u(_)),1)],!0)])],10,rU))),128))],10,nU))}}),aU=en(iU,[["__scopeId","data-v-1ee57095"]]),lU={class:"ec-list"},cU={class:"ec-actions"},uU=tt({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=eu();return(r,o)=>(ue(),Ce("div",{class:We(["ec-outer",Pe(n)?"ec-outer--dark":"ec-outer--light"])},[ze("div",{class:We(["ec-inner",Pe(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=ze("div",{class:"ec-icon"},"🔧",-1)),ze("h4",{class:We(["ec-title",Pe(n)?"ec-title--dark":"ec-title--light"])},Gn(Pe(t)("comp.compileError")),3),ze("div",lU,[(ue(!0),Ce(ot,null,_o(e.error,(s,i)=>(ue(),Ce("div",{key:i,class:We(["ec-item",Pe(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),ze("div",cU,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),xh=en(uU,[["__scopeId","data-v-5cf301e4"]]),fU={class:"wc-list"},dU={class:"wc-actions"},pU=tt({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=eu();return(r,o)=>(ue(),Ce("div",{class:We(["wc-outer",Pe(n)?"wc-outer--dark":"wc-outer--light"])},[ze("div",{class:We(["wc-inner",Pe(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=ze("div",{class:"wc-icon"},"⚠️",-1)),ze("h4",{class:We(["wc-title",Pe(n)?"wc-title--dark":"wc-title--light"])},Gn(Pe(t)("comp.compileWarn")),3),ze("div",fU,[(ue(!0),Ce(ot,null,_o(e.warn,(s,i)=>(ue(),Ce("div",{key:i,class:We(["wc-item",Pe(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),ze("div",dU,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),hU=en(pU,[["__scopeId","data-v-cce09743"]]),mU=tt({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=ta("bodyRef");return t({bodyRef:n}),(r,o)=>(ue(),Ce("div",{class:We(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(ue(),Ce("div",{key:0,class:We(["card__header",e.headerClass])},[cr(r.$slots,"header",{},()=>[vi(Gn(e.header),1)],!0)],2)):Tn("",!0),ze("div",{ref_key:"bodyRef",ref:n,class:We(["card__body",e.bodyClass]),style:Lt(e.bodyStyle)},[cr(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(ue(),Ce("div",{key:1,class:We(["card__footer",e.footerClass])},[cr(r.$slots,"footer",{},()=>[vi(Gn(e.footer),1)],!0)],2)):Tn("",!0)],2))}}),V_=en(mU,[["__scopeId","data-v-36db9d87"]]),gU=tt({__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=ye(r.initialIndex),i=ye(!1),a=ye(!1),l=ye(),c=ye([]);function u(G){c.value.push(G)}function f(G){const Q=c.value.findIndex(J=>J.uid===G);Q!==-1&&(c.value.splice(Q,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=q(()=>r.direction==="vertical"),p=q(()=>r.type==="card"),h=q(()=>r.cardScale);no("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:h,translating:q(()=>i.value),animating:q(()=>i.value),slideTo:A});const m=q(()=>{const G={};return r.height&&r.height!=="auto"&&(G.height=r.height),G}),b=q(()=>{if(p.value)return{};if(c.value.length===0)return{};const Q=-s.value*100;return d.value?{transform:`translateY(${Q}%)`}:{transform:`translateX(${Q}%)`}}),y=q(()=>r.trigger==="click"?"click":"mouseenter"),_=q(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=q(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(G){const Q=c.value.length;return Q===0?0:r.loop?(G%Q+Q)%Q:Math.max(0,Math.min(G,Q-1))}function A(G){if(c.value.length===0)return;const J=g(G);if(J===s.value)return;const re=s.value;s.value=J,i.value=!0,o("change",J,re),setTimeout(()=>{i.value=!1},400)}function k(){A(s.value+1)}function x(){A(s.value-1)}function v(G){if(typeof G=="number"){A(G);return}const Q=c.value.findIndex(J=>J.name===G);Q!==-1&&A(Q)}let O=null;function F(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||k()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function X(){a.value=!0}function ne(){a.value=!1}return Je(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&F()}),Je(()=>r.autoplay,G=>{G?F():M()}),Je(()=>r.interval,()=>{r.autoplay&&F()}),Ln(()=>{r.autoplay&&F()}),ra(()=>{M()}),t({activeIndex:s,setActiveItem:v,prev:x,next:k}),(G,Q)=>(ue(),Ce("div",{ref_key:"carouselRef",ref:l,class:We(["carousel",[`carousel--${e.direction}`]]),style:Lt(m.value),onMouseenter:X,onMouseleave:ne},[ze("div",{class:We(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[ze("div",{class:We(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Lt(b.value)},[cr(G.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ue(),Ce("button",{key:0,class:We(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Lt(_.value),onClick:vf(x,["stop"])},[...Q[0]||(Q[0]=[ze("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Tn("",!0),e.arrow!=="never"&&c.value.length>1?(ue(),Ce("button",{key:1,class:We(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Lt(E.value),onClick:vf(k,["stop"])},[...Q[1]||(Q[1]=[ze("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Tn("",!0),c.value.length>1?(ue(),Ce("ul",{key:2,class:We(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ue(!0),Ce(ot,null,_o(c.value,(J,re)=>(ue(),Ce("li",ao({key:J.uid,class:["carousel__indicator",{"carousel__indicator--active":re===s.value}]},{[Xs(y.value)]:de=>v(re)}),[ze("span",null,Gn(J.label||""),1)],16))),128))],2)):Tn("",!0)],38))}}),W_=en(gU,[["__scopeId","data-v-3f525847"]]),yU=tt({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=ye(!1),r=Rt("carousel"),o=ye(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),ra(()=>{r?.removeItem(o.value)});const s=q(()=>r?.items.value??[]),i=q(()=>r?.activeIndex.value??0),a=q(()=>r?.isCard.value??!1),l=q(()=>r?.cardScale.value??.83),c=q(()=>s.value.findIndex(m=>m.uid===o.value)),u=q(()=>c.value===i.value),f=q(()=>{if(!a.value)return!1;const m=s.value.length;return m<=1?!1:c.value===(i.value-1+m)%m}),d=q(()=>{if(!a.value)return!1;const m=s.value.length;return m<=1?!1:c.value===(i.value+1)%m}),p=q(()=>{if(a.value&&s.value.length>1){const m=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${m})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${m})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${m})`,zIndex:1,opacity:0}}return{}});function h(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(m,b)=>ym((ue(),Ce("div",{class:We(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Lt(p.value),onClick:h},[cr(m.$slots,"default",{},void 0,!0)],6)),[[aE,n.value]])}}),G_=en(yU,[["__scopeId","data-v-9638f2b6"]]);var Rl,Th;function bU(){if(Th)return Rl;Th=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,h=-1,m=0;m<=p;++m){if(m===p){if(d>p){if(i.charCodeAt(u+m)===47)return i.slice(u+m+1);if(m===0)return i.slice(u+m)}else c>p&&(s.charCodeAt(a+m)===47?h=m:m===0&&(h=0));break}var b=s.charCodeAt(a+m),y=i.charCodeAt(u+m);if(b!==y)break;b===47&&(h=m)}var _="";for(m=a+h+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+h):(u+=h,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,h=s.length-1,m=0;h>=c;--h){if(a=s.charCodeAt(h),a===47){if(!p){f=h+1;break}continue}d===-1&&(p=!1,d=h+1),a===46?u===-1?u=h:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===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,Rl=r,Rl}var q_=bU();function _U(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 vU=ay("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}}=pr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=q_.join(`/${me.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await _U(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),wU={class:"async-comp-wrapper"},EU={key:0,class:"async-comp-error screenshot-fallback"},SU={class:"toggle-btn active"},CU={class:"toggle-btn active"},kU=["src"],xU={key:1,class:"async-comp-error"},TU={key:2,class:"async-comp-error"},AU=tt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=Rt(ny);let r=()=>{},o=0;const s=vU(),i=ta("compContainer"),{sendMessageToTop:a}=Eo(),l=wo(),{params:{instanceUid:c}}=pr(),u=ye(!1),f=ye(""),d=ye(""),p=ye(""),h=ye(""),m=ye([]),b=ye(""),y=ye([]),_=q(()=>({"async-comp-overflow-auto":t.panelType===me.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===me.COMP_EDIT_TAB_TYPE_MINI})),E=q(()=>{const Y=[...y.value,f.value,d.value,h.value,b.value].filter(Boolean);return[...new Set(Y)]}),g=q(()=>{const Y=[p.value,...m.value].filter(Boolean);return[...new Set(Y)]}),A=q(()=>n?.value?.find(Y=>Y.name==="vue")?.version||""),k=q(()=>t.signedUrls?.length&&t.signedUrls.find(Z=>Z.path===`/${me.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),x=ye(!0),v=Y=>Y instanceof Error?Y.message:typeof Y=="string"?Y:"未知错误",O=()=>{f.value="",d.value="",p.value="",h.value="",m.value=[],b.value="",y.value=[]},F=new Set;let M=null;const X=()=>{const Y=i.value;Y&&F.forEach(({params:Z,callback:se})=>{se(el(Y,Z.mode,Z.width,Z.height))})},ne=()=>{t.panelType===me.COMP_EDIT_TAB_TYPE_MINI&&(M||!i.value||(M=new ResizeObserver(()=>X()),M.observe(i.value)))},G=Y=>{t.panelType===me.COMP_EDIT_TAB_TYPE_MINI&&(Y.$onScaleChange=(Z,se)=>{const D={params:Z,callback:se};return F.add(D),i.value&&se(el(i.value,Z.mode,Z.width,Z.height)),()=>{F.delete(D)}},Y.$getScaleStyle=({mode:Z,width:se,height:D})=>el(i.value,Z,se,D))},Q=()=>{const se=(t.dep||[]).filter(H=>!t.depToFile[H.name]).map(H=>`${H.parent?.name||H.name}${H.version||""} uninstalled`),D=[...new Set(se)];D.length&&(b.value=D.join(", "))},J=async()=>{const Y=[...t.dep];return Y.sort((se,D)=>se.name==="vue"?-1:D.name==="vue"?1:0),await Y.reduce(async(se,D)=>{const{name:H}=D,V=await se,ee=t.depToFile[H];if(!ee||Og.PREBUILD_MODULE_SKIP_EXT.find(C=>ee.endsWith(C)))return V;try{const C=await LO(()=>import(`${me.MODULE_LOAD_PREFIX}/${ee}`),[]);V[H]={...C.default,...C,__esModule:!0}}catch(C){console.warn(`[cacheModule] 模块 "${H}" 预加载失败,将交由 vue3-sfc-loader 处理:`,v(C))}return V},Promise.resolve({}))},re=async Y=>{if(t.localCompRootPath){const Z=q_.join(t.localCompRootPath,me.COMP_ENTRY_FILE);await LD(Z)&&await Y(Z)}else if(t.signedUrls?.length){const Z=t.signedUrls.find(se=>se.path===`/${me.COMP_ENTRY_FILE}`);Z&&await Y(Z.signedUrl)}},de=async(Y,Z,se)=>{try{const D=await s.loadSfcLoader(Y),{loadModule:H}=D,V=await H("vue",Z);return await se(H,V)}catch(D){console.error(D);const H=v(D);return console.error(`sfcLoaderError:${H}`),h.value=H,null}},Ye=async Y=>de("vue3",Y,async(Z,se)=>{const{createApp:D,defineAsyncComponent:H}=se;if(!D||!H)return f.value="createApp or defineAsyncComponent is not defined",null;const V=H({loader:async()=>await Z(t.finalEntryUrl,Y),delay:100,timeout:2e4,onError:(ie,C,T)=>{if(console.error(`onError:${ie.message}`),f.value=ie.message,ie)return T()}}),ee=D({template:"<AsyncComp />"});return se.app=ee,await re(async ie=>{await Z(ie,Y)}),ee.component("AsyncComp",V),G(ee.config.globalProperties),ee.config.errorHandler=ie=>{console.error(ie),console.error(`errorHandler:${ie}`),d.value=ie,u.value=!1},ee.config.warnHandler=function(ie){console.warn(ie),console.warn(`warnHandler:${ie}`),p.value=ie,u.value=!1},ee}),ft=async Y=>de("vue2",Y,async(Z,se)=>{G(se.default.prototype),se.default.config.errorHandler=function(H){console.error(H),console.error(`errorHandler:${H}`),d.value=H,u.value=!1},se.default.config.warnHandler=function(H){console.warn(H),console.warn(`warnHandler:${H}`),p.value=H,u.value=!1},await re(async H=>{await Z(H,Y)});const D=await Z(t.finalEntryUrl,Y);return new se.default(D)}),Ae=(Y,Z)=>Y.mount?(Y.mount(Z),se=>{console.log("vue3组件卸载"),Y?.unmount(),Z.remove(),se?.()}):(Y.$mount(Z),se=>{console.log("vue2组件卸载"),Y?.$destroy(),Z.remove(),se?.()}),je=async()=>{u.value=!0,O();try{const Y=A.value;if(console.log("当前vue版本",Y),!Y)throw new Error("vue版本不能为空");const Z=tU.getMajorVersion(Y);if(Q(),b.value)return null;const se=await J(),D=R$({moduleCache:se,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:H=>{console.error(H);const V=v(H);console.error(`sfcLoaderError:${V}`),h.value=V},warnCallBack:H=>{console.warn(H),m.value=[...m.value,H]}});return Z==="3"?await Ye(D):Z==="2"?await ft(D):null}catch(Y){console.error(Y);const Z=v(Y);return console.error(`loadAsyncComp error:${Z}`),h.value=Z,null}finally{u.value=!1}};async function gt(){if(!i.value){console.error("组件挂载点不存在");return}o++;const Y=o,Z=document.createElement("div");Z.style.height="100%",Z.style.width="100%",i.value.appendChild(Z);const se=()=>{Z.parentNode&&Z.remove()};try{const D=await je();if(Y!==o){D?Ae(D,Z)(()=>{}):se();return}if(!D){console.error("组件实例创建失败"),se();return}r=Ae(D,Z),ne()}catch(D){console.error(D),console.error(`handleCompRender error:${v(D)}`),se()}}return Je(()=>t.finalEntryUrl,async Y=>{console.log("卸载当前预览",Y),r(()=>{i.value&&(i.value.innerHTML="")}),Y&&(await On(),await gt())},{immediate:!0}),Je(()=>[E.value,g.value],([Y,Z])=>{!Y.length&&!Z.length||r(()=>{i.value&&(i.value.innerHTML="")})}),Je(()=>({hasError:E.value.length>0,hasWarn:g.value.length>0}),({hasError:Y,hasWarn:Z})=>{console.log("comp render state",{hasError:Y,hasWarn:Z}),a(_e.COMP_RENDER_ERROR_SET,{hasError:Y,hasWarn:Z},l,c)},{immediate:!0}),bo(()=>{r(()=>{i.value&&(i.value.innerHTML="")}),M?.disconnect(),M=null,F.clear()}),(Y,Z)=>{const se=Yc("Icon"),D=yw("loading");return ym((ue(),Ce("div",wU,[ze("div",{ref:"compContainer",class:We(["async-comp-container",_.value])},null,2),E.value.length&&k.value?(ue(),Ce("div",EU,[x.value?(ue(),Ce("div",{key:0,class:"screenshot-toggle",onClick:Z[0]||(Z[0]=H=>x.value=!1)},[ze("div",SU,[Ge(se,{icon:"material-symbols:error-outline-rounded"})])])):(ue(),Ce("div",{key:1,class:"screenshot-toggle",onClick:Z[1]||(Z[1]=H=>x.value=!0)},[ze("div",CU,[Ge(se,{icon:"material-symbols:broken-image-outline-rounded"})])])),x.value?(ue(),Ce("img",{key:2,src:k.value,class:"screenshot-img",alt:"组件预览截图"},null,8,kU)):(ue(),St(Pe(xh),{key:3,error:E.value},null,8,["error"]))])):E.value.length?(ue(),Ce("div",xU,[Ge(Pe(xh),{error:E.value},null,8,["error"])])):g.value.length?(ue(),Ce("div",TU,[Ge(Pe(hU),{warn:g.value},null,8,["warn"])])):Tn("",!0)])),[[D,u.value]])}}}),Uu=en(AU,[["__scopeId","data-v-d5b268ed"]]),OU=tt({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:me.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=_w(),n=e;return(r,o)=>(ue(),St(Pe(W_),ao({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Pe(t)),{default:Or(()=>[(ue(!0),Ce(ot,null,_o(e.previews,(s,i)=>(ue(),St(Pe(G_),{key:i,class:"comp-mini-carousel-item"},{default:Or(()=>[ze("div",{class:"comp-mini-carousel-slide",style:Lt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ue(),St(Uu,ao({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):Tn("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Aa=en(OU,[["__scopeId","data-v-da931a53"]]);function K_(e=3,t=me.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=pr(),{messageListener:o,sendMessageToTop:s}=Eo(),i=wo(),{addListener:a}=o(),l=ye(),c=q(()=>l.value?.item),u=q(()=>l.value?.dep??[]),f=q(()=>l.value?.depToFile??{}),d=q(()=>{if(!c.value)return[];const h=t===me.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(m=>h?m.miniPath?.length:m.fullPath?.length||m.miniPath?.length).slice(0,e).map(m=>{const b=h?m.miniPath:m.fullPath?.length?m.fullPath:m.miniPath,y=K$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${me.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=q(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(me.FILE_MANAGER_DIRNAME,me.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(_e.ITEM_INIT_SET_LOCAL,h=>{l.value=h}),s(_e.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const PU=tt({__name:"index",setup(e){const{carouselBind:t}=K_(3,me.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ue(),St(Aa,ms(vo(Pe(t))),null,16))}});function Y_(e=3,t=me.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=pr(),{messageListener:o,sendMessageToTop:s}=Eo(),i=wo(),{addListener:a}=o(),l=ye(),c=ye(),u=q(()=>l.value?.item),f=q(()=>l.value?.depEntryNameToFile),d=q(()=>l.value?.versionToFileAccessPath),p=q(()=>l.value?.item?.version??""),h=q(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:k})=>[A,k])),g=t===me.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const k=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=W$.replaceBackslashWithSlash(k?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),m=q(()=>({previews:h.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(_e.ITEM_INIT_SET,_=>{l.value=_}),a(_e.BG_COLOR_SET,_=>{c.value=_}),s(_e.ITEM_INIT_GET,n,i,r),s(_e.BG_COLOR_GET,"",i,r),Je(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:m,setInitVersion:y}}const IU=tt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=Y_(3),r=ye(""),o=q(()=>({...t.value,panelType:me.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ue(),St(Aa,ms(vo(o.value)),null,16))}});function LU(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const RU=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ur(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let Hr=null;function X_(e={}){return Hr||(e.includeStyleProperties?(Hr=e.includeStyleProperties,Hr):(Hr=ur(window.getComputedStyle(document.documentElement)),Hr))}function Ui(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function MU(e){const t=Ui(e,"border-left-width"),n=Ui(e,"border-right-width");return e.clientWidth+t+n}function NU(e){const t=Ui(e,"border-top-width"),n=Ui(e,"border-bottom-width");return e.clientHeight+t+n}function J_(e,t={}){const n=t.width||MU(e),r=t.height||NU(e);return{width:n,height:r}}function DU(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const jt=16384;function FU(e){(e.width>jt||e.height>jt)&&(e.width>jt&&e.height>jt?e.width>e.height?(e.height*=jt/e.width,e.width=jt):(e.width*=jt/e.height,e.height=jt):e.width>jt?(e.height*=jt/e.width,e.width=jt):(e.width*=jt/e.height,e.height=jt))}function ji(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function $U(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function UU(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),$U(o)}const Ft=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Ft(n,t)};function jU(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function zU(e,t){return X_(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function BU(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?jU(n):zU(n,r);return document.createTextNode(`${o}{${s}}`)}function Ah(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const i=RU();try{t.className=`${t.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(BU(i,n,o,r)),t.appendChild(a)}function HU(e,t,n){Ah(e,t,":before",n),Ah(e,t,":after",n)}const Oh="application/font-woff",Ph="image/jpeg",VU={woff:Oh,woff2:Oh,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ph,jpeg:Ph,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function WU(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function ju(e){const t=WU(e).toLowerCase();return VU[t]||""}function GU(e){return e.split(/,/)[1]}function Dc(e){return e.search(/^(data:)/)!==-1}function qU(e,t){return`data:${t};base64,${e}`}async function Q_(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,i)=>{const a=new FileReader;a.onerror=i,a.onloadend=()=>{try{s(n({res:r,result:a.result}))}catch(l){i(l)}},a.readAsDataURL(o)})}const Ml={};function KU(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function zu(e,t,n){const r=KU(e,t,n.includeQueryParams);if(Ml[r]!=null)return Ml[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await Q_(e,n.fetchRequestInit,({res:i,result:a})=>(t||(t=i.headers.get("Content-Type")||""),GU(a)));o=qU(s,t)}catch(s){o=n.imagePlaceholder||"";let i=`Failed to fetch resource: ${e}`;s&&(i=typeof s=="string"?s:s.message),i&&console.warn(i)}return Ml[r]=o,o}async function YU(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):ji(t)}async function XU(e,t){if(e.currentSrc){const s=document.createElement("canvas"),i=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,i?.drawImage(e,0,0,s.width,s.height);const a=s.toDataURL();return ji(a)}const n=e.poster,r=ju(n),o=await zu(n,r,t);return ji(o)}async function JU(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await Oa(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function QU(e,t){return Ft(e,HTMLCanvasElement)?YU(e):Ft(e,HTMLVideoElement)?XU(e,t):Ft(e,HTMLIFrameElement)?JU(e,t):e.cloneNode(Z_(e))}const ZU=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Z_=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ej(e,t,n){var r,o;if(Z_(t))return t;let s=[];return ZU(e)&&e.assignedNodes?s=ur(e.assignedNodes()):Ft(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ur(e.contentDocument.body.childNodes):s=ur(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Ft(e,HTMLVideoElement)||await s.reduce((i,a)=>i.then(()=>Oa(a,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function tj(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):X_(n).forEach(s=>{let i=o.getPropertyValue(s);s==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ft(e,HTMLIFrameElement)&&s==="display"&&i==="inline"&&(i="block"),s==="d"&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),r.setProperty(s,i,o.getPropertyPriority(s))})}function nj(e,t){Ft(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Ft(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function rj(e,t){if(Ft(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function oj(e,t,n){return Ft(t,Element)&&(tj(e,t,n),HU(e,t,n),nj(e,t),rj(e,t)),t}async function sj(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const a=n[s].getAttribute("xlink:href");if(a){const l=e.querySelector(a),c=document.querySelector(a);!l&&c&&!r[a]&&(r[a]=await Oa(c,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",i=document.createElementNS(s,"svg");i.setAttribute("xmlns",s),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const a=document.createElementNS(s,"defs");i.appendChild(a);for(let l=0;l<o.length;l++)a.appendChild(o[l]);e.appendChild(i)}return e}async function Oa(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>QU(r,t)).then(r=>ej(e,r,t)).then(r=>oj(e,r,t)).then(r=>sj(r,t))}const ev=/url\((['"]?)([^'"]+?)\1\)/g,ij=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,aj=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function lj(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function cj(e){const t=[];return e.replace(ev,(n,r,o)=>(t.push(o),n)),t.filter(n=>!Dc(n))}async function uj(e,t,n,r,o){try{const s=n?LU(t,n):t,i=ju(t);let a;return o||(a=await zu(s,i,r)),e.replace(lj(t),`$1${a}$3`)}catch{}return e}function fj(e,{preferredFontFormat:t}){return t?e.replace(aj,n=>{for(;;){const[r,,o]=ij.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function tv(e){return e.search(ev)!==-1}async function nv(e,t,n){if(!tv(e))return e;const r=fj(e,n);return cj(r).reduce((s,i)=>s.then(a=>uj(a,i,t,n)),Promise.resolve(r))}async function Vr(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await nv(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function dj(e,t){await Vr("background",e,t)||await Vr("background-image",e,t),await Vr("mask",e,t)||await Vr("-webkit-mask",e,t)||await Vr("mask-image",e,t)||await Vr("-webkit-mask-image",e,t)}async function pj(e,t){const n=Ft(e,HTMLImageElement);if(!(n&&!Dc(e.src))&&!(Ft(e,SVGImageElement)&&!Dc(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await zu(r,ju(r),t);await new Promise((s,i)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...l)=>{try{s(t.onImageErrorHandler(...l))}catch(c){i(c)}}:i;const a=e;a.decode&&(a.decode=s),a.loading==="lazy"&&(a.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function hj(e,t){const r=ur(e.childNodes).map(o=>rv(o,t));await Promise.all(r).then(()=>e)}async function rv(e,t){Ft(e,Element)&&(await dj(e,t),await pj(e,t),await hj(e,t))}function mj(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Ih={};async function Lh(e){let t=Ih[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Ih[e]=t,t}async function Rh(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async i=>{let a=i.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,e.url).href),Q_(a,t.fetchRequestInit,({result:l})=>(n=n.replace(i,`url(${l})`),[i,l]))});return Promise.all(s).then(()=>n)}function Mh(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=o.exec(r);if(l===null)break;t.push(l[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(i,"gi");for(;;){let l=s.exec(r);if(l===null){if(l=a.exec(r),l===null)break;s.lastIndex=a.lastIndex}else a.lastIndex=s.lastIndex;t.push(l[0])}return t}async function gj(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ur(o.cssRules||[]).forEach((s,i)=>{if(s.type===CSSRule.IMPORT_RULE){let a=i+1;const l=s.href,c=Lh(l).then(u=>Rh(u,t)).then(u=>Mh(u).forEach(f=>{try{o.insertRule(f,f.startsWith("@import")?a+=1:o.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(s){const i=e.find(a=>a.href==null)||document.styleSheets[0];o.href!=null&&r.push(Lh(o.href).then(a=>Rh(a,t)).then(a=>Mh(a).forEach(l=>{i.insertRule(l,i.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ur(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function yj(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>tv(t.style.getPropertyValue("src")))}async function bj(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ur(e.ownerDocument.styleSheets),r=await gj(n,t);return yj(r)}function ov(e){return e.trim().replace(/["']/g,"")}function _j(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(ov(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function vj(e,t){const n=await bj(e,t),r=_j(e);return(await Promise.all(n.filter(s=>r.has(ov(s.style.fontFamily))).map(s=>{const i=s.parentStyleSheet?s.parentStyleSheet.href:null;return nv(s.cssText,i,t)}))).join(`
|
|
40
|
+
`)}async function wj(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await vj(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function Ej(e,t={}){const{width:n,height:r}=J_(e,t),o=await Oa(e,t,!0);return await wj(o,t),await rv(o,t),mj(o,t),await UU(o,n,r)}async function Sj(e,t={}){const{width:n,height:r}=J_(e,t),o=await Ej(e,t),s=await ji(o),i=document.createElement("canvas"),a=i.getContext("2d"),l=t.pixelRatio||DU(),c=t.canvasWidth||n,u=t.canvasHeight||r;return i.width=c*l,i.height=u*l,t.skipAutoScale||FU(i),i.style.width=`${c}`,i.style.height=`${u}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,i.width,i.height)),a.drawImage(s,0,0,i.width,i.height),i}async function Cj(e,t={}){return(await Sj(e,t)).toDataURL()}const kj={class:"panel-mini-wrapper"},xj=tt({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e,{expose:t}){const n=ta("cardRef");t({getBodyEl:()=>n.value?.bodyRef});const r=e,o=q(()=>({finalEntryUrl:r.miniEntryUrl,dep:r.dep,depToFile:r.depToFile,signedUrls:r.signedUrls,panelType:me.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:r.localCompRootPath}));return(s,i)=>(ue(),Ce("div",kj,[Ge(Pe(V_),{ref_key:"cardRef",ref:n,"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Lt({backgroundColor:e.bg})},{default:Or(()=>[Ge(Uu,ms(vo(o.value)),null,16)]),_:1},8,["style"])]))}}),Tj=en(xj,[["__scopeId","data-v-e2c6aaf1"]]),Aj=tt({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=q(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:me.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ue(),St(Pe(V_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Lt({backgroundColor:e.bg})},{default:Or(()=>[Ge(Uu,ms(vo(n.value)),null,16)]),_:1},8,["style"]))}}),Oj=en(Aj,[["__scopeId","data-v-5b3d03a7"]]),Pj={key:0,class:"edit-panel"},Ij={class:"edit-panel__content"},Lj={class:"edit-panel__tools"},Rj=["onClick"],Mj=tt({__name:"index",setup(e){const{t}=Mr(),{messageListener:n,sendMessageToTop:r}=Eo(),{addListener:o}=n(),s=wo(),{params:{instanceUid:i}}=pr(),a=ta("carousel"),l=ye([]),c=ye({entryNameToFile:{},compDep:[]}),u=ye(),f=ye(!1),d=ye(!1),p=ye(!1),h=ye(""),m=ye({});function b(v,O){v&&(m.value[O]=v)}const y=q(()=>[{label:t("comp.miniPanel"),value:me.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:me.COMP_EDIT_TAB_TYPE_FULL}]),_=q(()=>c.value.compDep.length>0),E=q(()=>Object.keys(u.value??{}).length>0?u.value?.path.replace(me.FILE_MANAGER_DIRNAME,me.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),g=q(()=>({dep:c.value.compDep,depToFile:c.value.entryNameToFile,signedUrls:c.value.signedUrls,localCompRootPath:E.value,bg:h.value}));function A(v){return v===me.COMP_EDIT_TAB_TYPE_MINI?Tj:Oj}function k(v,O){if(!v._id)return;const F={...v,activeTab:O};r(_e.COMP_EDIT_TAB_TYPE_SET,F,s,i)}function x(v){r(_e.ACTION_REFRESH,v,s,i)}return o(_e.COMP_PREVIEW_LIST_SET,v=>{l.value=v}),o(_e.COMP_RENDER_INFO_SET,v=>{c.value=v}),o(_e.SELECTED_FOLDER_SET,v=>{u.value=v}),o(_e.SHOW_REFRESH_BTN_SET,v=>{f.value=v}),o(_e.IS_ONLINE_UPDATE_SET,v=>{d.value=v}),o(_e.IS_ADD_SET,v=>{p.value=v}),o(_e.CAROUSEL_INDEX_SET,v=>{a.value?.setActiveItem(v)}),o(_e.BG_COLOR_SET,v=>{h.value=v}),o(_e.COMP_SCREENSHOT_REQUEST,async()=>{const v=l.value[0];if(!v){r(_e.COMP_SCREENSHOT_RESPONSE,{screenshot:""},s,i);return}const O=v.activeTab;v.activeTab=me.COMP_EDIT_TAB_TYPE_MINI,await On(),await new Promise(ne=>setTimeout(ne,300));let F="";const X=m.value[0]?.getBodyEl?.();if(X)try{const ne=await RD(X);try{F=await Cj(X,{cacheBust:!0})}finally{ne()}}catch(ne){console.error("截图失败:",ne)}v.activeTab=O,await On(),r(_e.COMP_SCREENSHOT_RESPONSE,{screenshot:F},s,i)}),r(_e.COMP_PREVIEW_LIST_GET,"",s,i),r(_e.COMP_RENDER_INFO_GET,"",s,i),r(_e.SELECTED_FOLDER_GET,"",s,i),r(_e.SHOW_REFRESH_BTN_GET,"",s,i),r(_e.IS_ONLINE_UPDATE_GET,"",s,i),r(_e.IS_ADD_GET,"",s,i),r(_e.CAROUSEL_INDEX_GET,"",s,i),r(_e.BG_COLOR_GET,"",s,i),(v,O)=>{const F=Yc("Icon");return _.value?(ue(),Ce("div",Pj,[Ge(Pe(W_),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Or(()=>[(ue(!0),Ce(ot,null,_o(l.value,(M,X)=>(ue(),St(Pe(G_),{key:X},{default:Or(()=>[ze("div",Ij,[ze("div",Lj,[Ge(Pe(aU),{options:y.value,"model-value":M.activeTab,onChange:ne=>k(M,ne)},null,8,["options","model-value","onChange"]),f.value?(ue(),Ce("span",{key:0,class:"edit-panel__refresh-btn",onClick:ne=>x(M)},[Ge(F,{icon:"material-symbols:refresh-rounded"})],8,Rj)):Tn("",!0)]),(ue(),St(sw,null,[(ue(),St(gw(A(M.activeTab)),ao({ref_for:!0,ref:ne=>b(ne,X)},{ref_for:!0},{miniEntryUrl:M.miniEntryUrl,fullEntryUrl:M.fullEntryUrl,...g.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Tn("",!0)}}}),Nj=en(Mj,[["__scopeId","data-v-e0a09516"]]),Dj=tt({__name:"index",setup(e){const{carouselBind:t}=K_(5,me.COMP_EDIT_TAB_TYPE_FULL),n=q(()=>({...t.value,panelType:me.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ue(),St(Aa,ms(vo(n.value)),null,16))}}),Fj=tt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=Y_(5,me.COMP_EDIT_TAB_TYPE_FULL),r=ye(""),o=q(()=>({...t.value,panelType:me.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,i)=>(ue(),St(Aa,ao(o.value,{"show-indicator":!0}),null,16))}}),$j={carouselLocal:PU,carouselRemote:IU,editPanel:Nj,previewLocal:Dj,previewRemote:Fj};function Uj(){const e=[],t=me.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=$j[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const jj=OO({history:lO(`/${me.WEBSITE_PATH_ITEM}/`),routes:Uj()}),zj=A$(me.LOCAL_SERVICE_PREFIX,{baseURL:`/${me.LOCAL_SERVICE_PREFIX}`});zj.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Bu=TE(Nk);xA(Bu);Bu.use(jj);Bu.mount("#app");
|