comp-hub 0.27.19 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -86
- package/bin/cli.js +42 -76
- package/bin/lib/commands.js +147 -0
- package/bin/lib/constants.js +22 -0
- package/bin/lib/http.js +62 -0
- package/bin/lib/startup.js +183 -0
- package/bin/lib/utils.js +80 -0
- package/dist/index.js +16 -16
- package/dist/master.js +403 -0
- package/dist/website/container/assets/{index-CdaB9oWd.js → index-BTW7AmWY.js} +9 -9
- package/dist/website/container/assets/index-DqV5-Zk-.css +1 -0
- package/dist/website/container/index.html +31 -34
- package/dist/website/container/js/vue2-sfc-loader.js +1 -1
- package/dist/website/container/js/vue3-sfc-loader.js +1 -1
- package/dist/website/item/assets/index-DNn8L2ik.css +1 -0
- package/dist/website/item/assets/index-eJgZiYQR.js +40 -0
- package/dist/website/item/index.html +28 -30
- package/dist/website/main/assets/{AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CfufrKbA.js → AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-C2LcEFL4.js} +1 -1
- package/dist/website/main/assets/{BaseDialog.vue_vue_type_script_setup_true_lang-B6WkXWm7.js → BaseDialog.vue_vue_type_script_setup_true_lang-CgV6_zzd.js} +1 -1
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-CW16Y3Jx.js +1 -0
- package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-BwtYEYU5.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-BVY2XxV8.js} +1 -1
- package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-DIgE9MGd.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CofI0Rvq.js} +1 -1
- package/dist/website/main/assets/{LoadingWrapper.vue_vue_type_script_setup_true_lang-5GxduB08.js → LoadingWrapper.vue_vue_type_script_setup_true_lang-bBtkKtmz.js} +1 -1
- package/dist/website/main/assets/{PanelBackground.vue_vue_type_script_setup_true_lang-CM6wkI5V.js → PanelBackground.vue_vue_type_script_setup_true_lang-DBIlZFl0.js} +1 -1
- package/dist/website/main/assets/{cloud-upload-CyIQfnxU.js → cloud-upload-BRjLuSi4.js} +1 -1
- package/dist/website/main/assets/{core-DE5-zGKf.js → core-B1GcTOER.js} +1 -1
- package/dist/website/main/assets/{el-table-column-BiqynxkD.js → el-table-column-8qfe8CVK.js} +1 -1
- package/dist/website/main/assets/{home-rounded-Dq-TBvLG.js → home-rounded-8qNxvN2I.js} +1 -1
- package/dist/website/main/assets/{index-CMvx8gm3.js → index-0Y9kW7YJ.js} +1 -1
- package/dist/website/main/assets/index-2LGHX46G.js +1 -0
- package/dist/website/main/assets/index-B2xvPCaB.js +1 -0
- package/dist/website/main/assets/{index-CGgS1tZ0.js → index-B3dAdOL_.js} +1 -1
- package/dist/website/main/assets/{index-Cf69_nzt.js → index-B5qe6yln.js} +15 -15
- package/dist/website/main/assets/index-BANn4H7f.css +1 -0
- package/dist/website/main/assets/{index-DvyE3TrH.js → index-ByKMTPW3.js} +2 -2
- package/dist/website/main/assets/index-CDnNjG3p.css +1 -0
- package/dist/website/main/assets/index-CEQStqDa.js +1 -0
- package/dist/website/main/assets/index-CP6sOfKF.css +1 -0
- package/dist/website/main/assets/index-Cf5sOeOs.js +1 -0
- package/dist/website/main/assets/index-CmSN0r9I.css +1 -0
- package/dist/website/main/assets/index-Cn8OtDDR.js +1 -0
- package/dist/website/main/assets/{index-BQWeT5qu.js → index-CoWWi7z-.js} +2 -2
- package/dist/website/main/assets/index-Cqi9_pkc.js +1 -0
- package/dist/website/main/assets/{index-vnzmxexj.js → index-CrzWpCC3.js} +1 -1
- package/dist/website/main/assets/index-CtzG8xUz.js +1 -0
- package/dist/website/main/assets/index-DANPdG90.js +1 -0
- package/dist/website/main/assets/index-DI0kvKsV.js +1 -0
- package/dist/website/main/assets/index-DJ4AvgpT.css +1 -0
- package/dist/website/main/assets/index-DSED2-Jv.js +1 -0
- package/dist/website/main/assets/index-DUr8uU-d.js +1 -0
- package/dist/website/main/assets/index-DW-M9dmc.js +1 -0
- package/dist/website/main/assets/{index-BGLjC3BV.js → index-D_jNsofk.js} +1 -1
- package/dist/website/main/assets/index-DffjEud2.js +1 -0
- package/dist/website/main/assets/{index-ctwb4cB7.js → index-DkTzdi1V.js} +1 -1
- package/dist/website/main/assets/index-DoTR7Juh.css +1 -0
- package/dist/website/main/assets/index-DxG4_1zN.js +1 -0
- package/dist/website/main/assets/{index-CTLlcQoM.js → index-DyEkv8OS.js} +1 -1
- package/dist/website/main/assets/{index-CCFHORqg.js → index-RlxCYKYM.js} +1 -1
- package/dist/website/main/assets/index-ZwJcoRf3.js +2 -0
- package/dist/website/main/assets/index-bJb3z37F.js +1 -0
- package/dist/website/main/assets/{index-gOTpUrNM.js → index-dC2trX5C.js} +1 -1
- package/dist/website/main/assets/{index-Cu1YAWdz.js → index-dhG9Kj5W.js} +1 -1
- package/dist/website/main/assets/{index-q4Z3Q7p4.js → index-feqY_hvF.js} +1 -1
- package/dist/website/main/assets/{index-cFhtMyBi.js → index-op0bdgFk.js} +2 -2
- package/dist/website/main/assets/index-xqKWYiCC.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BDhf8t5D.js → index.vue_vue_type_script_setup_true_lang-B_VrULUy.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-D3xHCy9f.js +2 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B4echric.js → index.vue_vue_type_script_setup_true_lang-DCQMqfel.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DM_Wm4GD.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-qhJpeu7a.js → index.vue_vue_type_script_setup_true_lang-DX9EV5b8.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-aO0L9Tak.js → index.vue_vue_type_script_setup_true_lang-RJnk970E.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-rk3Yu4M8.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C3U7f9Ma.js → index.vue_vue_type_style_index_0_lang-BQWxY2F1.js} +5 -5
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C4fELX8m.js → index.vue_vue_type_style_index_0_lang-DQhqVyhA.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-D_eT-tA_.js → index.vue_vue_type_style_index_0_lang-xD-wMtaK.js} +1 -1
- package/dist/website/main/assets/{kid-star-CFLIpXDC.js → kid-star-Cr1NlTdT.js} +1 -1
- package/dist/website/main/assets/{md5-BZr8xhBN.js → md5-DzJRYP5-.js} +1 -1
- package/dist/website/main/assets/{settings-B3XnnICj.js → settings-BFJXTJ9K.js} +1 -1
- package/dist/website/main/assets/{supervised-user-circle-CEgKC7n7.js → supervised-user-circle-Bnx5icEm.js} +1 -1
- package/dist/website/main/assets/{sync-saved-locally-rounded-CmlRPNS9.js → sync-saved-locally-rounded-DtyOT0dw.js} +1 -1
- package/dist/website/main/assets/{terminal-DykiTSV6.js → terminal-D72IJB2N.js} +1 -1
- package/dist/website/main/assets/{useCacheOssStore-CU4a8b24.js → useCacheOssStore-DApHt9lQ.js} +1 -1
- package/dist/website/main/assets/{useCompEditStore-Du_-rNtX.css → useCompEditStore-B9HAj9va.css} +1 -1
- package/dist/website/main/assets/{useCompEditStore-B7KaUbOi.js → useCompEditStore-KBTFiinR.js} +94 -94
- package/dist/website/main/assets/{useCompMetaLocalStore-pb1Ikkq3.js → useCompMetaLocalStore-eE-CBcE9.js} +1 -1
- package/dist/website/main/assets/{useKeyword-D1qu8Tz-.js → useKeyword-CoagiMo1.js} +1 -1
- package/dist/website/main/assets/useMessage-CYVXvlqq.js +1 -0
- package/dist/website/main/assets/{useTeamHeaders-DELMIzHt.js → useTeamHeaders-Cc060CP0.js} +1 -1
- package/dist/website/main/assets/useVscodeOpen-Dx3IRL0P.js +1 -0
- package/dist/website/main/assets/{vendor-core-B-Si3WEf.js → vendor-core-CzvSW5ae.js} +3 -3
- package/dist/website/main/assets/{vendor-ui-D6wVBlls.js → vendor-ui-DXwyveTF.js} +12 -12
- package/dist/website/main/index.html +92 -92
- package/package.json +5 -3
- package/dist/website/container/assets/index-BnbvpvZL.css +0 -1
- package/dist/website/item/assets/index-B0s1uwsa.js +0 -39
- package/dist/website/item/assets/index-BIcNxYiU.css +0 -1
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-D5yw_wF0.js +0 -1
- package/dist/website/main/assets/index-B6f_06zP.js +0 -1
- package/dist/website/main/assets/index-BIGvC1SM.js +0 -1
- package/dist/website/main/assets/index-BfPdLll-.js +0 -1
- package/dist/website/main/assets/index-BkUBwon5.css +0 -1
- package/dist/website/main/assets/index-C9t3Yhe9.js +0 -1
- package/dist/website/main/assets/index-CFH_ugiT.js +0 -1
- package/dist/website/main/assets/index-CWW1M_cy.js +0 -1
- package/dist/website/main/assets/index-CuHNNhtE.js +0 -1
- package/dist/website/main/assets/index-D6Fz5rH9.css +0 -1
- package/dist/website/main/assets/index-D7eOWAPr.js +0 -1
- package/dist/website/main/assets/index-D8WDrGkh.js +0 -1
- package/dist/website/main/assets/index-DBM1x91X.js +0 -1
- package/dist/website/main/assets/index-DC94GyXj.js +0 -1
- package/dist/website/main/assets/index-Dl-mwEbG.js +0 -1
- package/dist/website/main/assets/index-DmO0JQ56.css +0 -1
- package/dist/website/main/assets/index-DrUAgWBX.js +0 -1
- package/dist/website/main/assets/index-Oo11MKfd.js +0 -1
- package/dist/website/main/assets/index-YUZjR2Eq.js +0 -2
- package/dist/website/main/assets/index-tEU6GnSH.js +0 -1
- package/dist/website/main/assets/index-tWc_GbBW.css +0 -1
- package/dist/website/main/assets/index-uu5oSUvx.js +0 -1
- package/dist/website/main/assets/index-wgeiSlf-.css +0 -1
- package/dist/website/main/assets/index-y8GEzH-z.css +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-COryHg9c.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-D_7jZ1zo.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Dtuk2wrA.js +0 -1
- package/dist/website/main/assets/useMessage-D7WAp245.js +0 -1
- package/dist/website/main/assets/useVscodeOpen-DIYbcP1e.js +0 -1
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Ac(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Re={},Yr=[],xn=()=>{},dh=()=>!1,Mi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Di=e=>e.startsWith("onUpdate:"),pt=Object.assign,Oc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},k_=Object.prototype.hasOwnProperty,Te=(e,t)=>k_.call(e,t),ae=Array.isArray,Xr=e=>po(e)==="[object Map]",ph=e=>po(e)==="[object Set]",Ru=e=>po(e)==="[object Date]",x_=e=>po(e)==="[object RegExp]",ce=e=>typeof e=="function",je=e=>typeof e=="string",Vt=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",hh=e=>(Ae(e)||ce(e))&&ce(e.then)&&ce(e.catch),mh=Object.prototype.toString,po=e=>mh.call(e),T_=e=>po(e).slice(8,-1),gh=e=>po(e)==="[object Object]",Fi=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$o=Ac(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$i=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},A_=/-\w/g,Ot=$i(e=>e.replace(A_,t=>t.slice(1).toUpperCase())),O_=/\B([A-Z])/g,Pr=$i(e=>e.replace(O_,"-$1").toLowerCase()),Ui=$i(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gs=$i(e=>e?`on${Ui(e)}`:""),Sn=(e,t)=>!Object.is(e,t),Uo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},yh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},I_=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Nu;const ji=()=>Nu||(Nu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function At(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=je(r)?N_(r):At(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(je(e)||Ae(e))return e}const L_=/;(?![^(]*\))/g,P_=/:([^]+)/,R_=/\/\*[^]*?\*\//g;function N_(e){const t={};return e.replace(R_,"").split(L_).forEach(n=>{if(n){const r=n.split(P_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function He(e){let t="";if(je(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const r=He(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ds(e){if(!e)return null;let{class:t,style:n}=e;return t&&!je(t)&&(e.class=He(t)),n&&(e.style=At(n)),e}const M_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",D_=Ac(M_);function bh(e){return!!e||e===""}function F_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ic(e[r],t[r]);return n}function Ic(e,t){if(e===t)return!0;let n=Ru(e),r=Ru(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Vt(e),r=Vt(t),n||r)return e===t;if(n=ae(e),r=ae(t),n||r)return n&&r?F_(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Ic(e[i],t[i]))return!1}}return String(e)===String(t)}const _h=e=>!!(e&&e.__v_isRef===!0),Ar=e=>je(e)?e:e==null?"":ae(e)||Ae(e)&&(e.toString===mh||!ce(e.toString))?_h(e)?Ar(e.value):JSON.stringify(e,vh,2):String(e),vh=(e,t)=>_h(t)?vh(e,t.value):Xr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Sa(r,s)+" =>"]=o,n),{})}:ph(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Sa(n))}:Vt(t)?Sa(t):Ae(t)&&!ae(t)&&!gh(t)?String(t):t,Sa=(e,t="")=>{var n;return Vt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let st;class wh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&st&&(st.active?(this.parent=st,this.index=(st.scopes||(st.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){++this._on===1&&(this.prevScope=st,st=this)}off(){if(this._on>0&&--this._on===0){if(st===this)st=this.prevScope;else{let t=st;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Lc(e){return new wh(e)}function zi(){return st}function Eh(e,t=!1){st&&st.cleanups.push(e)}let Fe;const Ca=new WeakSet;class Sh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,st&&(st.active?st.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ca.has(this)&&(Ca.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mu(this),xh(this);const t=Fe,n=cn;Fe=this,cn=!0;try{return this.fn()}finally{Th(this),Fe=t,cn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Nc(t);this.deps=this.depsTail=void 0,Mu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ca.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xl(this)&&this.run()}get dirty(){return xl(this)}}let Ch=0,jo,zo;function kh(e,t=!1){if(e.flags|=8,t){e.next=zo,zo=e;return}e.next=jo,jo=e}function Pc(){Ch++}function Rc(){if(--Ch>0)return;if(zo){let t=zo;for(zo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jo;){let t=jo;for(jo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Th(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Nc(r),$_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function xl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ah(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ah(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jo)||(e.globalVersion=Jo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xl(e))))return;e.flags|=2;const t=e.dep,n=Fe,r=cn;Fe=e,cn=!0;try{xh(e);const o=e.fn(e._value);(t.version===0||Sn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Fe=n,cn=r,Th(e),e.flags&=-3}}function Nc(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Nc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let cn=!0;const Oh=[];function Gn(){Oh.push(cn),cn=!1}function Kn(){const e=Oh.pop();cn=e===void 0?!0:e}function Mu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Fe;Fe=void 0;try{t()}finally{Fe=n}}}let Jo=0;class U_{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Bi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Fe||!cn||Fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Fe)n=this.activeLink=new U_(Fe,this),Fe.deps?(n.prevDep=Fe.depsTail,Fe.depsTail.nextDep=n,Fe.depsTail=n):Fe.deps=Fe.depsTail=n,Ih(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Fe.depsTail,n.nextDep=void 0,Fe.depsTail.nextDep=n,Fe.depsTail=n,Fe.deps===n&&(Fe.deps=r)}return n}trigger(t){this.version++,Jo++,this.notify(t)}notify(t){Pc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rc()}}}function Ih(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ih(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ii=new WeakMap,Cr=Symbol(""),Tl=Symbol(""),Qo=Symbol("");function bt(e,t,n){if(cn&&Fe){let r=ii.get(e);r||ii.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Bi),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ii.get(e);if(!i){Jo++;return}const a=l=>{l&&l.trigger()};if(Pc(),t==="clear")i.forEach(a);else{const l=ae(e),c=l&&Fi(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Qo||!Vt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Qo)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Cr)),Xr(e)&&a(i.get(Tl)));break;case"delete":l||(a(i.get(Cr)),Xr(e)&&a(i.get(Tl)));break;case"set":Xr(e)&&a(i.get(Cr));break}}Rc()}function j_(e,t){const n=ii.get(e);return n&&n.get(t)}function Rr(e){const t=be(e);return t===e?t:(bt(t,"iterate",Qo),Bt(e)?t:t.map(fn))}function Hi(e){return bt(e=be(e),"iterate",Qo),e}function wn(e,t){return qn(e)?eo(Wn(e)?fn(t):t):fn(t)}const z_={__proto__:null,[Symbol.iterator](){return ka(this,Symbol.iterator,e=>wn(this,e))},concat(...e){return Rr(this).concat(...e.map(t=>ae(t)?Rr(t):t))},entries(){return ka(this,"entries",e=>(e[1]=wn(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,n=>n.map(r=>wn(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>wn(this,n),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,n=>wn(this,n),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return xa(this,"includes",e)},indexOf(...e){return xa(this,"indexOf",e)},join(e){return Rr(this).join(e)},lastIndexOf(...e){return xa(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return vo(this,"pop")},push(...e){return vo(this,"push",e)},reduce(e,...t){return Du(this,"reduce",e,t)},reduceRight(e,...t){return Du(this,"reduceRight",e,t)},shift(){return vo(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return vo(this,"splice",e)},toReversed(){return Rr(this).toReversed()},toSorted(e){return Rr(this).toSorted(e)},toSpliced(...e){return Rr(this).toSpliced(...e)},unshift(...e){return vo(this,"unshift",e)},values(){return ka(this,"values",e=>wn(this,e))}};function ka(e,t,n){const r=Hi(e),o=r[t]();return r!==e&&!Bt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const B_=Array.prototype;function Nn(e,t,n,r,o,s){const i=Hi(e),a=i!==e&&!Bt(e),l=i[t];if(l!==B_[t]){const f=l.apply(e,s);return a?fn(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,wn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function Du(e,t,n,r){const o=Hi(e),s=o!==e&&!Bt(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=wn(e,c)),n.call(this,c,wn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?wn(e,l):l}function xa(e,t,n){const r=be(e);bt(r,"iterate",Qo);const o=r[t](...n);return(o===-1||o===!1)&&Gi(n[0])?(n[0]=be(n[0]),r[t](...n)):o}function vo(e,t,n=[]){Gn(),Pc();const r=be(e)[t].apply(e,n);return Rc(),Kn(),r}const H_=Ac("__proto__,__v_isRef,__isVue"),Lh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vt));function V_(e){Vt(e)||(e=String(e));const t=be(this);return bt(t,"has",e),t.hasOwnProperty(e)}class Ph{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?$h:Fh:s?Dh:Mh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=z_[n]))return l;if(n==="hasOwnProperty")return V_}const a=Reflect.get(t,n,ze(t)?t:r);if((Vt(n)?Lh.has(n):H_(n))||(o||bt(t,"get",n),s))return a;if(ze(a)){const l=i&&Fi(n)?a:a.value;return o&&Ae(l)?ai(l):l}return Ae(a)?o?ai(a):ps(a):a}}class Rh extends Ph{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ae(t)&&Fi(n);if(!this._isShallow){const c=qn(s);if(!Bt(r)&&!qn(r)&&(s=be(s),r=be(r)),!i&&ze(s)&&!ze(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Te(t,n),l=Reflect.set(t,n,r,ze(t)?t:o);return t===be(o)&&(a?Sn(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Te(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&zn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Vt(n)||!Lh.has(n))&&bt(t,"has",n),r}ownKeys(t){return bt(t,"iterate",ae(t)?"length":Cr),Reflect.ownKeys(t)}}class Nh extends Ph{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const W_=new Rh,G_=new Nh,K_=new Rh(!0),q_=new Nh(!0),Al=e=>e,Cs=e=>Reflect.getPrototypeOf(e);function Y_(e,t,n){return function(...r){const o=this.__v_raw,s=be(o),i=Xr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Al:t?eo:fn;return!t&&bt(s,"iterate",l?Tl:Cr),pt(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function ks(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function X_(e,t){const n={get(o){const s=this.__v_raw,i=be(s),a=be(o);e||(Sn(o,a)&&bt(i,"get",o),bt(i,"get",a));const{has:l}=Cs(i),c=t?Al:e?eo:fn;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&bt(be(o),"iterate",Cr),o.size},has(o){const s=this.__v_raw,i=be(s),a=be(o);return e||(Sn(o,a)&&bt(i,"has",o),bt(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=be(a),c=t?Al:e?eo:fn;return!e&&bt(l,"iterate",Cr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return pt(n,e?{add:ks("add"),set:ks("set"),delete:ks("delete"),clear:ks("clear")}:{add(o){const s=be(this),i=Cs(s),a=be(o),l=!t&&!Bt(o)&&!qn(o)?a:o;return i.has.call(s,l)||Sn(o,l)&&i.has.call(s,o)||Sn(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Bt(s)&&!qn(s)&&(s=be(s));const i=be(this),{has:a,get:l}=Cs(i);let c=a.call(i,o);c||(o=be(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Sn(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=be(this),{has:i,get:a}=Cs(s);let l=i.call(s,o);l||(o=be(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&zn(s,"delete",o,void 0),c},clear(){const o=be(this),s=o.size!==0,i=o.clear();return s&&zn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Y_(o,e,t)}),n}function Vi(e,t){const n=X_(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Te(n,o)&&o in r?n:r,o,s)}const J_={get:Vi(!1,!1)},Q_={get:Vi(!1,!0)},Z_={get:Vi(!0,!1)},ev={get:Vi(!0,!0)},Mh=new WeakMap,Dh=new WeakMap,Fh=new WeakMap,$h=new WeakMap;function tv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nv(e){return e.__v_skip||!Object.isExtensible(e)?0:tv(T_(e))}function ps(e){return qn(e)?e:Wi(e,!1,W_,J_,Mh)}function Uh(e){return Wi(e,!1,K_,Q_,Dh)}function ai(e){return Wi(e,!0,G_,Z_,Fh)}function rv(e){return Wi(e,!0,q_,ev,$h)}function Wi(e,t,n,r,o){if(!Ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=nv(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function Wn(e){return qn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function qn(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function Gi(e){return e?!!e.__v_raw:!1}function be(e){const t=e&&e.__v_raw;return t?be(t):e}function Mc(e){return!Te(e,"__v_skip")&&Object.isExtensible(e)&&yh(e,"__v_skip",!0),e}const fn=e=>Ae(e)?ps(e):e,eo=e=>Ae(e)?ai(e):e;function ze(e){return e?e.__v_isRef===!0:!1}function de(e){return jh(e,!1)}function Tn(e){return jh(e,!0)}function jh(e,t){return ze(e)?e:new ov(e,t)}class ov{constructor(t,n){this.dep=new Bi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:be(t),this._value=n?t:fn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Bt(t)||qn(t);t=r?t:be(t),Sn(t,n)&&(this._rawValue=t,this._value=r?t:fn(t),this.dep.trigger())}}function Ve(e){return ze(e)?e.value:e}function An(e){return ce(e)?e():Ve(e)}const sv={get:(e,t,n)=>t==="__v_raw"?e:Ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ze(o)&&!ze(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function zh(e){return Wn(e)?e:new Proxy(e,sv)}class iv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Bi,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function av(e){return new iv(e)}function lv(e){const t=ae(e)?new Array(e.length):{};for(const n in e)t[n]=Bh(e,n);return t}class cv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Vt(n)?n:String(n),this._raw=be(t);let o=!0,s=t;if(!ae(t)||Vt(this._key)||!Fi(this._key))do o=!Gi(s)||Bt(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Ve(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ze(this._raw[this._key])){const n=this._object[this._key];if(ze(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return j_(this._raw,this._key)}}class uv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function fv(e,t,n){return ze(e)?e:ce(e)?new uv(e):Ae(e)&&arguments.length>1?Bh(e,t,n):de(e)}function Bh(e,t,n){return new cv(e,t,n)}class dv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Bi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Fe!==this)return kh(this,!0),!0}get value(){const t=this.dep.track();return Ah(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pv(e,t,n=!1){let r,o;return ce(e)?r=e:(r=e.get,o=e.set),new dv(r,o,n)}const xs={},li=new WeakMap;let br;function hv(e,t=!1,n=br){if(n){let r=li.get(n);r||li.set(n,r=[]),r.push(e)}}function mv(e,t,n=Re){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=m=>o?m:Bt(m)||o===!1||o===0?Bn(m,1):Bn(m);let u,f,d,p,g=!1,h=!1;if(ze(e)?(f=()=>e.value,g=Bt(e)):Wn(e)?(f=()=>c(e),g=!0):ae(e)?(h=!0,g=e.some(m=>Wn(m)||Bt(m)),f=()=>e.map(m=>{if(ze(m))return m.value;if(Wn(m))return c(m);if(ce(m))return l?l(m,2):m()})):ce(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Gn();try{d()}finally{Kn()}}const m=br;br=u;try{return l?l(e,3,[p]):e(p)}finally{br=m}}:f=xn,t&&o){const m=f,O=o===!0?1/0:o;f=()=>Bn(m(),O)}const _=zi(),y=()=>{u.stop(),_&&_.active&&Oc(_.effects,u)};if(s&&t){const m=t;t=(...O)=>{m(...O),y()}}let b=h?new Array(e.length).fill(xs):xs;const E=m=>{if(!(!(u.flags&1)||!u.dirty&&!m))if(t){const O=u.run();if(o||g||(h?O.some((C,x)=>Sn(C,b[x])):Sn(O,b))){d&&d();const C=br;br=u;try{const x=[O,b===xs?void 0:h&&b[0]===xs?[]:b,p];b=O,l?l(t,3,x):t(...x)}finally{br=C}}}else u.run()};return a&&a(E),u=new Sh(f),u.scheduler=i?()=>i(E,!1):E,p=m=>hv(m,!1,u),d=u.onStop=()=>{const m=li.get(u);if(m){if(l)l(m,4);else for(const O of m)O();li.delete(u)}},t?r?E(!0):b=u.run():i?i(E.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Bn(e,t=1/0,n){if(t<=0||!Ae(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ze(e))Bn(e.value,t,n);else if(ae(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(ph(e)||Xr(e))e.forEach(r=>{Bn(r,t,n)});else if(gh(e)){for(const r in e)Bn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Bn(e[r],t,n)}return e}function hs(e,t,n,r){try{return r?e(...r):e()}catch(o){Ki(o,t,n)}}function In(e,t,n,r){if(ce(e)){const o=hs(e,t,n,r);return o&&hh(o)&&o.catch(s=>{Ki(s,t,n)}),o}if(ae(e)){const o=[];for(let s=0;s<e.length;s++)o.push(In(e[s],t,n,r));return o}}function Ki(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Re;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){Gn(),hs(s,null,10,[e,l,c]),Kn();return}}gv(e,n,o,r,i)}function gv(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Tt=[];let _n=-1;const Jr=[];let rr=null,zr=0;const Hh=Promise.resolve();let ci=null;function fr(e){const t=ci||Hh;return e?t.then(this?e.bind(this):e):t}function yv(e){let t=_n+1,n=Tt.length;for(;t<n;){const r=t+n>>>1,o=Tt[r],s=Zo(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Dc(e){if(!(e.flags&1)){const t=Zo(e),n=Tt[Tt.length-1];!n||!(e.flags&2)&&t>=Zo(n)?Tt.push(e):Tt.splice(yv(t),0,e),e.flags|=1,Vh()}}function Vh(){ci||(ci=Hh.then(Gh))}function bv(e){ae(e)?Jr.push(...e):rr&&e.id===-1?rr.splice(zr+1,0,e):e.flags&1||(Jr.push(e),e.flags|=1),Vh()}function Fu(e,t,n=_n+1){for(;n<Tt.length;n++){const r=Tt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Tt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Wh(e){if(Jr.length){const t=[...new Set(Jr)].sort((n,r)=>Zo(n)-Zo(r));if(Jr.length=0,rr){rr.push(...t);return}for(rr=t,zr=0;zr<rr.length;zr++){const n=rr[zr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}rr=null,zr=0}}const Zo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gh(e){try{for(_n=0;_n<Tt.length;_n++){const t=Tt[_n];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_n<Tt.length;_n++){const t=Tt[_n];t&&(t.flags&=-2)}_n=-1,Tt.length=0,Wh(),ci=null,(Tt.length||Jr.length)&&Gh()}}let ut=null,Kh=null;function ui(e){const t=ut;return ut=e,Kh=e&&e.type.__scopeId||null,t}function to(e,t=ut,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&mi(-1);const s=ui(t);let i;try{i=e(...o)}finally{ui(s),r._d&&mi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function qh(e,t){if(ut===null)return e;const n=Qi(ut),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Re]=t[o];s&&(ce(s)&&(s={mounted:s,updated:s}),s.deep&&Bn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function mr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Gn(),In(l,n,8,[e.el,a,e,t]),Kn())}}function Bo(e,t){if(_t){let n=_t.provides;const r=_t.parent&&_t.parent.provides;r===n&&(n=_t.provides=Object.create(r)),n[e]=t}}function Ht(e,t,n=!1){const r=Rn();if(r||kr){let o=kr?kr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ce(t)?t.call(r&&r.proxy):t}}function Fc(){return!!(Rn()||kr)}const _v=Symbol.for("v-scx"),vv=()=>Ht(_v);function wv(e,t){return $c(e,null,t)}function Ge(e,t,n){return $c(e,t,n)}function $c(e,t,n=Re){const{immediate:r,deep:o,flush:s,once:i}=n,a=pt({},n),l=t&&r||!t&&s!=="post";let c;if(ns){if(s==="sync"){const p=vv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=xn,p.resume=xn,p.pause=xn,p}}const u=_t;a.call=(p,g,h)=>In(p,u,g,h);let f=!1;s==="post"?a.scheduler=p=>{at(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,g)=>{g?p():Dc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=mv(e,t,a);return ns&&(c?c.push(d):l&&d()),d}function Ev(e,t,n){const r=this.proxy,o=je(e)?e.includes(".")?Yh(r,e):()=>r[e]:e.bind(r,r);let s;ce(t)?s=t:(s=t.handler,n=t);const i=gs(this),a=$c(o,s.bind(r),n);return i(),a}function Yh(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Sv=Symbol("_vte"),Cv=e=>e.__isTeleport,kv=Symbol("_leaveCb");function qi(e,t){e.shapeFlag&6&&e.component?(e.transition=t,qi(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function et(e,t){return ce(e)?pt({name:e.name},t,{setup:e}):e}function Xh(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Jh(e){const t=Rn(),n=Tn(null);if(t){const o=t.refs===Re?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function $u(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const fi=new WeakMap;function Ho(e,t,n,r,o=!1){if(ae(e)){e.forEach((h,_)=>Ho(h,t&&(ae(t)?t[_]:t),n,r,o));return}if(ar(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ho(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Qi(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Re?a.refs={}:a.refs,f=a.setupState,d=be(f),p=f===Re?dh:h=>$u(u,h)?!1:Te(d,h),g=(h,_)=>!(_&&$u(u,_));if(c!=null&&c!==l){if(Uu(t),je(c))u[c]=null,p(c)&&(f[c]=null);else if(ze(c)){const h=t;g(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(ce(l))hs(l,a,12,[i,u]);else{const h=je(l),_=ze(l);if(h||_){const y=()=>{if(e.f){const b=h?p(l)?f[l]:u[l]:g()||!e.k?l.value:u[e.k];if(o)ae(b)&&Oc(b,s);else if(ae(b))b.includes(s)||b.push(s);else if(h)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];g(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else h?(u[l]=i,p(l)&&(f[l]=i)):_&&(g(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const b=()=>{y(),fi.delete(e)};b.id=-1,fi.set(e,b),at(b,n)}else Uu(e),y()}}}function Uu(e){const t=fi.get(e);t&&(t.flags|=8,fi.delete(e))}ji().requestIdleCallback;ji().cancelIdleCallback;const ar=e=>!!e.type.__asyncLoader,Qh=e=>e.type.__isKeepAlive,xv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(b,E,m,O,C)=>{const x=b.component;c(b,E,m,0,a),l(x.vnode,b,E,m,x,a,O,b.slotScopeIds,C),at(()=>{x.isDeactivated=!1,x.a&&Uo(x.a);const v=b.props&&b.props.onVnodeMounted;v&&Yt(v,x.parent,b)},a)},r.deactivate=b=>{const E=b.component;pi(E.m),pi(E.a),c(b,d,null,1,a),at(()=>{E.da&&Uo(E.da);const m=b.props&&b.props.onVnodeUnmounted;m&&Yt(m,E.parent,b),E.isDeactivated=!0},a)};function p(b){Ta(b),u(b,n,a,!0)}function g(b){o.forEach((E,m)=>{const O=Nl(ar(E)?E.type.__asyncResolved||{}:E.type);O&&!b(O)&&h(m)})}function h(b){const E=o.get(b);E&&(!i||!Br(E,i))?p(E):i&&Ta(i),o.delete(b),s.delete(b)}Ge(()=>[e.include,e.exclude],([b,E])=>{b&&g(m=>Oo(b,m)),E&&g(m=>!Oo(E,m))},{flush:"post",deep:!0});let _=null;const y=()=>{_!=null&&(hi(n.subTree.type)?at(()=>{o.set(_,Ts(n.subTree))},n.subTree.suspense):o.set(_,Ts(n.subTree)))};return pn(y),em(y),Xi(()=>{o.forEach(b=>{const{subTree:E,suspense:m}=n,O=Ts(E);if(b.type===O.type&&b.key===O.key){Ta(O);const C=O.component.da;C&&at(C,m);return}p(b)})}),()=>{if(_=null,!t.default)return i=null;const b=t.default(),E=b[0];if(b.length>1)return i=null,b;if(!ro(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let m=Ts(E);if(m.type===Ln)return i=null,m;const O=m.type,C=Nl(ar(m)?m.type.__asyncResolved||{}:O),{include:x,exclude:v,max:T}=e;if(x&&(!C||!Oo(x,C))||v&&C&&Oo(v,C))return m.shapeFlag&=-257,i=m,E;const N=m.key==null?O:m.key,M=o.get(N);return m.el&&(m=Or(m),E.shapeFlag&128&&(E.ssContent=m)),_=N,M?(m.el=M.el,m.component=M.component,m.transition&&qi(m,m.transition),m.shapeFlag|=512,s.delete(N),s.add(N)):(s.add(N),T&&s.size>parseInt(T,10)&&h(s.values().next().value)),m.shapeFlag|=256,i=m,hi(E.type)?E:m}}},Tv=xv;function Oo(e,t){return ae(e)?e.some(n=>Oo(n,t)):je(e)?e.split(",").includes(t):x_(e)?(e.lastIndex=0,e.test(t)):!1}function Av(e,t){Zh(e,"a",t)}function Ov(e,t){Zh(e,"da",t)}function Zh(e,t,n=_t){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Yi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Qh(o.parent.vnode)&&Iv(r,t,n,o),o=o.parent}}function Iv(e,t,n,r){const o=Yi(t,e,r,!0);ho(()=>{Oc(r[t],o)},n)}function Ta(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ts(e){return e.shapeFlag&128?e.ssContent:e}function Yi(e,t,n=_t,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{Gn();const a=gs(n),l=In(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Xn=e=>(t,n=_t)=>{(!ns||e==="sp")&&Yi(e,(...r)=>t(...r),n)},Lv=Xn("bm"),pn=Xn("m"),Pv=Xn("bu"),em=Xn("u"),Xi=Xn("bum"),ho=Xn("um"),Rv=Xn("sp"),Nv=Xn("rtg"),Mv=Xn("rtc");function Dv(e,t=_t){Yi("ec",e,t)}const Uc="components",Fv="directives";function tm(e,t){return jc(Uc,e,!0,t)||e}const nm=Symbol.for("v-ndc");function $v(e){return je(e)?jc(Uc,e,!1)||e:e||nm}function Uv(e){return jc(Fv,e)}function jc(e,t,n=!0,r=!1){const o=ut||_t;if(o){const s=o.type;if(e===Uc){const a=Nl(s,!1);if(a&&(a===t||a===Ot(t)||a===Ui(Ot(t))))return s}const i=ju(o[e]||s[e],t)||ju(o.appContext[e],t);return!i&&r?s:i}}function ju(e,t){return e&&(e[t]||e[Ot(t)]||e[Ui(Ot(t))])}function no(e,t,n,r){let o;const s=n&&n[r],i=ae(e);if(i||je(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Bt(e),c=qn(e),e=Hi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?eo(fn(e[u])):fn(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(Ae(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function lr(e,t,n={},r,o){if(ut.ce||ut.parent&&ar(ut.parent)&&ut.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ue(),Zt(nt,null,[qe("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ue();const i=s&&rm(s(n)),a=n.key||i&&i.key,l=Zt(nt,{key:(a&&!Vt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function rm(e){return e.some(t=>ro(t)?!(t.type===Ln||t.type===nt&&!rm(t.children)):!0)?e:null}const Ol=e=>e?Em(e)?Qi(e):Ol(e.parent):null,Vo=pt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ol(e.parent),$root:e=>Ol(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sm(e),$forceUpdate:e=>e.f||(e.f=()=>{Dc(e.update)}),$nextTick:e=>e.n||(e.n=fr.bind(e.proxy)),$watch:e=>Ev.bind(e)}),Aa=(e,t)=>e!==Re&&!e.__isScriptSetup&&Te(e,t),jv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Aa(r,t))return i[t]=1,r[t];if(o!==Re&&Te(o,t))return i[t]=2,o[t];if(Te(s,t))return i[t]=3,s[t];if(n!==Re&&Te(n,t))return i[t]=4,n[t];Il&&(i[t]=0)}}const c=Vo[t];let u,f;if(c)return t==="$attrs"&&bt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Re&&Te(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Te(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Aa(o,t)?(o[t]=n,!0):r!==Re&&Te(r,t)?(r[t]=n,!0):Te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==Re&&a[0]!=="$"&&Te(e,a)||Aa(t,a)||Te(s,a)||Te(r,a)||Te(Vo,a)||Te(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zv(){return Bv().attrs}function Bv(e){const t=Rn();return t.setupContext||(t.setupContext=Cm(t))}function zu(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Il=!0;function Hv(e){const t=sm(e),n=e.proxy,r=e.ctx;Il=!1,t.beforeCreate&&Bu(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:g,activated:h,deactivated:_,beforeDestroy:y,beforeUnmount:b,destroyed:E,unmounted:m,render:O,renderTracked:C,renderTriggered:x,errorCaptured:v,serverPrefetch:T,expose:N,inheritAttrs:M,components:W,directives:Z,filters:H}=t;if(c&&Vv(c,r,null),i)for(const ee in i){const ie=i[ee];ce(ie)&&(r[ee]=ie.bind(n))}if(o){const ee=o.call(n,n);Ae(ee)&&(e.data=ps(ee))}if(Il=!0,s)for(const ee in s){const ie=s[ee],Xe=ce(ie)?ie.bind(n,n):ce(ie.get)?ie.get.bind(n,n):xn,St=!ce(ie)&&ce(ie.set)?ie.set.bind(n):xn,Oe=X({get:Xe,set:St});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:Ue=>Oe.value=Ue})}if(a)for(const ee in a)om(a[ee],r,n,ee);if(l){const ee=ce(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(ie=>{Bo(ie,ee[ie])})}u&&Bu(u,e,"c");function V(ee,ie){ae(ie)?ie.forEach(Xe=>ee(Xe.bind(n))):ie&&ee(ie.bind(n))}if(V(Lv,f),V(pn,d),V(Pv,p),V(em,g),V(Av,h),V(Ov,_),V(Dv,v),V(Mv,C),V(Nv,x),V(Xi,b),V(ho,m),V(Rv,T),ae(N))if(N.length){const ee=e.exposed||(e.exposed={});N.forEach(ie=>{Object.defineProperty(ee,ie,{get:()=>n[ie],set:Xe=>n[ie]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});O&&e.render===xn&&(e.render=O),M!=null&&(e.inheritAttrs=M),W&&(e.components=W),Z&&(e.directives=Z),T&&Xh(e)}function Vv(e,t,n=xn){ae(e)&&(e=Ll(e));for(const r in e){const o=e[r];let s;Ae(o)?"default"in o?s=Ht(o.from||r,o.default,!0):s=Ht(o.from||r):s=Ht(o),ze(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Bu(e,t,n){In(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function om(e,t,n,r){let o=r.includes(".")?Yh(n,r):()=>n[r];if(je(e)){const s=t[e];ce(s)&&Ge(o,s)}else if(ce(e))Ge(o,e.bind(n));else if(Ae(e))if(ae(e))e.forEach(s=>om(s,t,n,r));else{const s=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(s)&&Ge(o,s,e)}}function sm(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>di(l,c,i,!0)),di(l,t,i)),Ae(t)&&s.set(t,l),l}function di(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&di(e,s,n,!0),o&&o.forEach(i=>di(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Wv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Wv={data:Hu,props:Vu,emits:Vu,methods:Io,computed:Io,beforeCreate:kt,created:kt,beforeMount:kt,mounted:kt,beforeUpdate:kt,updated:kt,beforeDestroy:kt,beforeUnmount:kt,destroyed:kt,unmounted:kt,activated:kt,deactivated:kt,errorCaptured:kt,serverPrefetch:kt,components:Io,directives:Io,watch:Kv,provide:Hu,inject:Gv};function Hu(e,t){return t?e?function(){return pt(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function Gv(e,t){return Io(Ll(e),Ll(t))}function Ll(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function kt(e,t){return e?[...new Set([].concat(e,t))]:t}function Io(e,t){return e?pt(Object.create(null),e,t):t}function Vu(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:pt(Object.create(null),zu(e),zu(t??{})):t}function Kv(e,t){if(!e)return t;if(!t)return e;const n=pt(Object.create(null),e);for(const r in t)n[r]=kt(e[r],t[r]);return n}function im(){return{app:null,config:{isNativeTag:dh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qv=0;function Yv(e,t){return function(r,o=null){ce(r)||(r=pt({},r)),o!=null&&!Ae(o)&&(o=null);const s=im(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:qv++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Sw,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&ce(u.install)?(i.add(u),u.install(c,...f)):ce(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||qe(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,Qi(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(In(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=kr;kr=c;try{return u()}finally{kr=f}}};return c}}let kr=null;const Xv=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ot(t)}Modifiers`]||e[`${Pr(t)}Modifiers`];function Jv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Re;let o=n;const s=t.startsWith("update:"),i=s&&Xv(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>je(u)?u.trim():u)),i.number&&(o=n.map(I_)));let a,l=r[a=Gs(t)]||r[a=Gs(Ot(t))];!l&&s&&(l=r[a=Gs(Pr(t))]),l&&In(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,In(c,e,6,o)}}const Qv=new WeakMap;function am(e,t,n=!1){const r=n?Qv:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ce(e)){const l=c=>{const u=am(c,t,!0);u&&(a=!0,pt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ae(e)&&r.set(e,null),null):(ae(s)?s.forEach(l=>i[l]=null):pt(i,s),Ae(e)&&r.set(e,i),i)}function Ji(e,t){return!e||!Mi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Te(e,t[0].toLowerCase()+t.slice(1))||Te(e,Pr(t))||Te(e,t))}function Wu(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:g,inheritAttrs:h}=e,_=ui(e);let y,b;try{if(n.shapeFlag&4){const m=o||r,O=m;y=En(c.call(O,m,u,f,p,d,g)),b=a}else{const m=t;y=En(m.length>1?m(f,{attrs:a,slots:i,emit:l}):m(f,null)),b=t.props?a:Zv(a)}}catch(m){Wo.length=0,Ki(m,e,1),y=qe(Ln)}let E=y;if(b&&h!==!1){const m=Object.keys(b),{shapeFlag:O}=E;m.length&&O&7&&(s&&m.some(Di)&&(b=ew(b,s)),E=Or(E,b,!1,!0))}return n.dirs&&(E=Or(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&qi(E,n.transition),y=E,ui(_),y}const Zv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Mi(n))&&((t||(t={}))[n]=e[n]);return t},ew=(e,t)=>{const n={};for(const r in e)(!Di(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tw(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Gu(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(lm(i,r,d)&&!Ji(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Gu(r,i,c):!0:!!i;return!1}function Gu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(lm(t,e,s)&&!Ji(n,s))return!0}return!1}function lm(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ae(r)&&Ae(o)?!Ic(r,o):r!==o}function nw({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const cm={},um=()=>Object.create(cm),fm=e=>Object.getPrototypeOf(e)===cm;function rw(e,t,n,r=!1){const o={},s=um();e.propsDefaults=Object.create(null),dm(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Uh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ow(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=be(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ji(e.emitsOptions,d))continue;const p=t[d];if(l)if(Te(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const g=Ot(d);o[g]=Pl(l,a,g,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{dm(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Te(t,f)&&((u=Pr(f))===f||!Te(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Pl(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Te(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function dm(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if($o(l))continue;const c=t[l];let u;o&&Te(o,u=Ot(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Ji(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=be(n),c=a||Re;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Pl(o,l,f,c[f],e,!Te(c,f))}}return i}function Pl(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Te(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ce(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=gs(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Pr(n))&&(r=!0))}return r}const sw=new WeakMap;function pm(e,t,n=!1){const r=n?sw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!ce(e)){const u=f=>{l=!0;const[d,p]=pm(f,t,!0);pt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ae(e)&&r.set(e,Yr),Yr;if(ae(s))for(let u=0;u<s.length;u++){const f=Ot(s[u]);Ku(f)&&(i[f]=Re)}else if(s)for(const u in s){const f=Ot(u);if(Ku(f)){const d=s[u],p=i[f]=ae(d)||ce(d)?{type:d}:pt({},d),g=p.type;let h=!1,_=!0;if(ae(g))for(let y=0;y<g.length;++y){const b=g[y],E=ce(b)&&b.name;if(E==="Boolean"){h=!0;break}else E==="String"&&(_=!1)}else h=ce(g)&&g.name==="Boolean";p[0]=h,p[1]=_,(h||Te(p,"default"))&&a.push(f)}}const c=[i,a];return Ae(e)&&r.set(e,c),c}function Ku(e){return e[0]!=="$"&&!$o(e)}const zc=e=>e==="_"||e==="_ctx"||e==="$stable",Bc=e=>ae(e)?e.map(En):[En(e)],iw=(e,t,n)=>{if(t._n)return t;const r=to((...o)=>Bc(t(...o)),n);return r._c=!1,r},hm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zc(o))continue;const s=e[o];if(ce(s))t[o]=iw(o,s,r);else if(s!=null){const i=Bc(s);t[o]=()=>i}}},mm=(e,t)=>{const n=Bc(t);e.slots.default=()=>n},gm=(e,t,n)=>{for(const r in t)(n||!zc(r))&&(e[r]=t[r])},aw=(e,t,n)=>{const r=e.slots=um();if(e.vnode.shapeFlag&32){const o=t._;o?(gm(r,t,n),n&&yh(r,"_",o,!0)):hm(t,r)}else t&&mm(e,t)},lw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Re;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:gm(o,t,n):(s=!t.$stable,hm(t,o)),i=t}else t&&(mm(e,t),i={default:1});if(s)for(const a in o)!zc(a)&&i[a]==null&&delete o[a]},at=pw;function cw(e){return uw(e)}function uw(e,t){const n=ji();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=xn,insertStaticContent:g}=e,h=(k,A,P,$=null,z=null,U=null,w=void 0,S=null,I=!!A.dynamicChildren)=>{if(k===A)return;k&&!Br(k,A)&&($=j(k),Ue(k,z,U,!0),k=null),A.patchFlag===-2&&(I=!1,A.dynamicChildren=null);const{type:R,ref:Y,shapeFlag:B}=A;switch(R){case ms:_(k,A,P,$);break;case Ln:y(k,A,P,$);break;case Ia:k==null&&b(A,P,$,w);break;case nt:W(k,A,P,$,z,U,w,S,I);break;default:B&1?O(k,A,P,$,z,U,w,S,I):B&6?Z(k,A,P,$,z,U,w,S,I):(B&64||B&128)&&R.process(k,A,P,$,z,U,w,S,I,ne)}Y!=null&&z?Ho(Y,k&&k.ref,U,A||k,!A):Y==null&&k&&k.ref!=null&&Ho(k.ref,null,U,k,!0)},_=(k,A,P,$)=>{if(k==null)r(A.el=a(A.children),P,$);else{const z=A.el=k.el;A.children!==k.children&&c(z,A.children)}},y=(k,A,P,$)=>{k==null?r(A.el=l(A.children||""),P,$):A.el=k.el},b=(k,A,P,$)=>{[k.el,k.anchor]=g(k.children,A,P,$,k.el,k.anchor)},E=({el:k,anchor:A},P,$)=>{let z;for(;k&&k!==A;)z=d(k),r(k,P,$),k=z;r(A,P,$)},m=({el:k,anchor:A})=>{let P;for(;k&&k!==A;)P=d(k),o(k),k=P;o(A)},O=(k,A,P,$,z,U,w,S,I)=>{if(A.type==="svg"?w="svg":A.type==="math"&&(w="mathml"),k==null)C(A,P,$,z,U,w,S,I);else{const R=k.el&&k.el._isVueCE?k.el:null;try{R&&R._beginPatch(),T(k,A,z,U,w,S,I)}finally{R&&R._endPatch()}}},C=(k,A,P,$,z,U,w,S)=>{let I,R;const{props:Y,shapeFlag:B,transition:L,dirs:F}=k;if(I=k.el=i(k.type,U,Y&&Y.is,Y),B&8?u(I,k.children):B&16&&v(k.children,I,null,$,z,Oa(k,U),w,S),F&&mr(k,null,$,"created"),x(I,k,k.scopeId,w,$),Y){for(const oe in Y)oe!=="value"&&!$o(oe)&&s(I,oe,null,Y[oe],U,$);"value"in Y&&s(I,"value",null,Y.value,U),(R=Y.onVnodeBeforeMount)&&Yt(R,$,k)}F&&mr(k,null,$,"beforeMount");const te=fw(z,L);te&&L.beforeEnter(I),r(I,A,P),((R=Y&&Y.onVnodeMounted)||te||F)&&at(()=>{R&&Yt(R,$,k),te&&L.enter(I),F&&mr(k,null,$,"mounted")},z)},x=(k,A,P,$,z)=>{if(P&&p(k,P),$)for(let U=0;U<$.length;U++)p(k,$[U]);if(z){let U=z.subTree;if(A===U||hi(U.type)&&(U.ssContent===A||U.ssFallback===A)){const w=z.vnode;x(k,w,w.scopeId,w.slotScopeIds,z.parent)}}},v=(k,A,P,$,z,U,w,S,I=0)=>{for(let R=I;R<k.length;R++){const Y=k[R]=S?jn(k[R]):En(k[R]);h(null,Y,A,P,$,z,U,w,S)}},T=(k,A,P,$,z,U,w)=>{const S=A.el=k.el;let{patchFlag:I,dynamicChildren:R,dirs:Y}=A;I|=k.patchFlag&16;const B=k.props||Re,L=A.props||Re;let F;if(P&&gr(P,!1),(F=L.onVnodeBeforeUpdate)&&Yt(F,P,A,k),Y&&mr(A,k,P,"beforeUpdate"),P&&gr(P,!0),(B.innerHTML&&L.innerHTML==null||B.textContent&&L.textContent==null)&&u(S,""),R?N(k.dynamicChildren,R,S,P,$,Oa(A,z),U):w||ie(k,A,S,null,P,$,Oa(A,z),U,!1),I>0){if(I&16)M(S,B,L,P,z);else if(I&2&&B.class!==L.class&&s(S,"class",null,L.class,z),I&4&&s(S,"style",B.style,L.style,z),I&8){const te=A.dynamicProps;for(let oe=0;oe<te.length;oe++){const ge=te[oe],Ie=B[ge],Ce=L[ge];(Ce!==Ie||ge==="value")&&s(S,ge,Ie,Ce,z,P)}}I&1&&k.children!==A.children&&u(S,A.children)}else!w&&R==null&&M(S,B,L,P,z);((F=L.onVnodeUpdated)||Y)&&at(()=>{F&&Yt(F,P,A,k),Y&&mr(A,k,P,"updated")},$)},N=(k,A,P,$,z,U,w)=>{for(let S=0;S<A.length;S++){const I=k[S],R=A[S],Y=I.el&&(I.type===nt||!Br(I,R)||I.shapeFlag&198)?f(I.el):P;h(I,R,Y,null,$,z,U,w,!0)}},M=(k,A,P,$,z)=>{if(A!==P){if(A!==Re)for(const U in A)!$o(U)&&!(U in P)&&s(k,U,A[U],null,z,$);for(const U in P){if($o(U))continue;const w=P[U],S=A[U];w!==S&&U!=="value"&&s(k,U,S,w,z,$)}"value"in P&&s(k,"value",A.value,P.value,z)}},W=(k,A,P,$,z,U,w,S,I)=>{const R=A.el=k?k.el:a(""),Y=A.anchor=k?k.anchor:a("");let{patchFlag:B,dynamicChildren:L,slotScopeIds:F}=A;F&&(S=S?S.concat(F):F),k==null?(r(R,P,$),r(Y,P,$),v(A.children||[],P,Y,z,U,w,S,I)):B>0&&B&64&&L&&k.dynamicChildren&&k.dynamicChildren.length===L.length?(N(k.dynamicChildren,L,P,z,U,w,S),(A.key!=null||z&&A===z.subTree)&&ym(k,A,!0)):ie(k,A,P,Y,z,U,w,S,I)},Z=(k,A,P,$,z,U,w,S,I)=>{A.slotScopeIds=S,k==null?A.shapeFlag&512?z.ctx.activate(A,P,$,w,I):H(A,P,$,z,U,w,I):K(k,A,I)},H=(k,A,P,$,z,U,w)=>{const S=k.component=bw(k,$,z);if(Qh(k)&&(S.ctx.renderer=ne),_w(S,!1,w),S.asyncDep){if(z&&z.registerDep(S,V,w),!k.el){const I=S.subTree=qe(Ln);y(null,I,A,P),k.placeholder=I.el}}else V(S,k,A,P,z,U,w)},K=(k,A,P)=>{const $=A.component=k.component;if(tw(k,A,P))if($.asyncDep&&!$.asyncResolved){ee($,A,P);return}else $.next=A,$.update();else A.el=k.el,$.vnode=A},V=(k,A,P,$,z,U,w)=>{const S=()=>{if(k.isMounted){let{next:B,bu:L,u:F,parent:te,vnode:oe}=k;{const rn=bm(k);if(rn){B&&(B.el=oe.el,ee(k,B,w)),rn.asyncDep.then(()=>{at(()=>{k.isUnmounted||R()},z)});return}}let ge=B,Ie;gr(k,!1),B?(B.el=oe.el,ee(k,B,w)):B=oe,L&&Uo(L),(Ie=B.props&&B.props.onVnodeBeforeUpdate)&&Yt(Ie,te,B,oe),gr(k,!0);const Ce=Wu(k),Kt=k.subTree;k.subTree=Ce,h(Kt,Ce,f(Kt.el),j(Kt),k,z,U),B.el=Ce.el,ge===null&&nw(k,Ce.el),F&&at(F,z),(Ie=B.props&&B.props.onVnodeUpdated)&&at(()=>Yt(Ie,te,B,oe),z)}else{let B;const{el:L,props:F}=A,{bm:te,m:oe,parent:ge,root:Ie,type:Ce}=k,Kt=ar(A);gr(k,!1),te&&Uo(te),!Kt&&(B=F&&F.onVnodeBeforeMount)&&Yt(B,ge,A),gr(k,!0);{Ie.ce&&Ie.ce._hasShadowRoot()&&Ie.ce._injectChildStyle(Ce,k.parent?k.parent.type:void 0);const rn=k.subTree=Wu(k);h(null,rn,P,$,k,z,U),A.el=rn.el}if(oe&&at(oe,z),!Kt&&(B=F&&F.onVnodeMounted)){const rn=A;at(()=>Yt(B,ge,rn),z)}(A.shapeFlag&256||ge&&ar(ge.vnode)&&ge.vnode.shapeFlag&256)&&k.a&&at(k.a,z),k.isMounted=!0,A=P=$=null}};k.scope.on();const I=k.effect=new Sh(S);k.scope.off();const R=k.update=I.run.bind(I),Y=k.job=I.runIfDirty.bind(I);Y.i=k,Y.id=k.uid,I.scheduler=()=>Dc(Y),gr(k,!0),R()},ee=(k,A,P)=>{A.component=k;const $=k.vnode.props;k.vnode=A,k.next=null,ow(k,A.props,$,P),lw(k,A.children,P),Gn(),Fu(k),Kn()},ie=(k,A,P,$,z,U,w,S,I=!1)=>{const R=k&&k.children,Y=k?k.shapeFlag:0,B=A.children,{patchFlag:L,shapeFlag:F}=A;if(L>0){if(L&128){St(R,B,P,$,z,U,w,S,I);return}else if(L&256){Xe(R,B,P,$,z,U,w,S,I);return}}F&8?(Y&16&&ht(R,z,U),B!==R&&u(P,B)):Y&16?F&16?St(R,B,P,$,z,U,w,S,I):ht(R,z,U,!0):(Y&8&&u(P,""),F&16&&v(B,P,$,z,U,w,S,I))},Xe=(k,A,P,$,z,U,w,S,I)=>{k=k||Yr,A=A||Yr;const R=k.length,Y=A.length,B=Math.min(R,Y);let L;for(L=0;L<B;L++){const F=A[L]=I?jn(A[L]):En(A[L]);h(k[L],F,P,null,z,U,w,S,I)}R>Y?ht(k,z,U,!0,!1,B):v(A,P,$,z,U,w,S,I,B)},St=(k,A,P,$,z,U,w,S,I)=>{let R=0;const Y=A.length;let B=k.length-1,L=Y-1;for(;R<=B&&R<=L;){const F=k[R],te=A[R]=I?jn(A[R]):En(A[R]);if(Br(F,te))h(F,te,P,null,z,U,w,S,I);else break;R++}for(;R<=B&&R<=L;){const F=k[B],te=A[L]=I?jn(A[L]):En(A[L]);if(Br(F,te))h(F,te,P,null,z,U,w,S,I);else break;B--,L--}if(R>B){if(R<=L){const F=L+1,te=F<Y?A[F].el:$;for(;R<=L;)h(null,A[R]=I?jn(A[R]):En(A[R]),P,te,z,U,w,S,I),R++}}else if(R>L)for(;R<=B;)Ue(k[R],z,U,!0),R++;else{const F=R,te=R,oe=new Map;for(R=te;R<=L;R++){const Ut=A[R]=I?jn(A[R]):En(A[R]);Ut.key!=null&&oe.set(Ut.key,R)}let ge,Ie=0;const Ce=L-te+1;let Kt=!1,rn=0;const _o=new Array(Ce);for(R=0;R<Ce;R++)_o[R]=0;for(R=F;R<=B;R++){const Ut=k[R];if(Ie>=Ce){Ue(Ut,z,U,!0);continue}let gn;if(Ut.key!=null)gn=oe.get(Ut.key);else for(ge=te;ge<=L;ge++)if(_o[ge-te]===0&&Br(Ut,A[ge])){gn=ge;break}gn===void 0?Ue(Ut,z,U,!0):(_o[gn-te]=R+1,gn>=rn?rn=gn:Kt=!0,h(Ut,A[gn],P,null,z,U,w,S,I),Ie++)}const Iu=Kt?dw(_o):Yr;for(ge=Iu.length-1,R=Ce-1;R>=0;R--){const Ut=te+R,gn=A[Ut],Lu=A[Ut+1],Pu=Ut+1<Y?Lu.el||_m(Lu):$;_o[R]===0?h(null,gn,P,Pu,z,U,w,S,I):Kt&&(ge<0||R!==Iu[ge]?Oe(gn,P,Pu,2):ge--)}}},Oe=(k,A,P,$,z=null)=>{const{el:U,type:w,transition:S,children:I,shapeFlag:R}=k;if(R&6){Oe(k.component.subTree,A,P,$);return}if(R&128){k.suspense.move(A,P,$);return}if(R&64){w.move(k,A,P,ne);return}if(w===nt){r(U,A,P);for(let B=0;B<I.length;B++)Oe(I[B],A,P,$);r(k.anchor,A,P);return}if(w===Ia){E(k,A,P);return}if($!==2&&R&1&&S)if($===0)S.beforeEnter(U),r(U,A,P),at(()=>S.enter(U),z);else{const{leave:B,delayLeave:L,afterLeave:F}=S,te=()=>{k.ctx.isUnmounted?o(U):r(U,A,P)},oe=()=>{U._isLeaving&&U[kv](!0),B(U,()=>{te(),F&&F()})};L?L(U,te,oe):oe()}else r(U,A,P)},Ue=(k,A,P,$=!1,z=!1)=>{const{type:U,props:w,ref:S,children:I,dynamicChildren:R,shapeFlag:Y,patchFlag:B,dirs:L,cacheIndex:F,memo:te}=k;if(B===-2&&(z=!1),S!=null&&(Gn(),Ho(S,null,P,k,!0),Kn()),F!=null&&(A.renderCache[F]=void 0),Y&256){A.ctx.deactivate(k);return}const oe=Y&1&&L,ge=!ar(k);let Ie;if(ge&&(Ie=w&&w.onVnodeBeforeUnmount)&&Yt(Ie,A,k),Y&6)$t(k.component,P,$);else{if(Y&128){k.suspense.unmount(P,$);return}oe&&mr(k,null,A,"beforeUnmount"),Y&64?k.type.remove(k,A,P,ne,$):R&&!R.hasOnce&&(U!==nt||B>0&&B&64)?ht(R,A,P,!1,!0):(U===nt&&B&384||!z&&Y&16)&&ht(I,A,P),$&&Lt(k)}const Ce=te!=null&&F==null;(ge&&(Ie=w&&w.onVnodeUnmounted)||oe||Ce)&&at(()=>{Ie&&Yt(Ie,A,k),oe&&mr(k,null,A,"unmounted"),Ce&&(k.el=null)},P)},Lt=k=>{const{type:A,el:P,anchor:$,transition:z}=k;if(A===nt){Ct(P,$);return}if(A===Ia){m(k);return}const U=()=>{o(P),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(k.shapeFlag&1&&z&&!z.persisted){const{leave:w,delayLeave:S}=z,I=()=>w(P,U);S?S(k.el,U,I):I()}else U()},Ct=(k,A)=>{let P;for(;k!==A;)P=d(k),o(k),k=P;o(A)},$t=(k,A,P)=>{const{bum:$,scope:z,job:U,subTree:w,um:S,m:I,a:R}=k;pi(I),pi(R),$&&Uo($),z.stop(),U&&(U.flags|=8,Ue(w,k,A,P)),S&&at(S,A),at(()=>{k.isUnmounted=!0},A)},ht=(k,A,P,$=!1,z=!1,U=0)=>{for(let w=U;w<k.length;w++)Ue(k[w],A,P,$,z)},j=k=>{if(k.shapeFlag&6)return j(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const A=d(k.anchor||k.el),P=A&&A[Sv];return P?d(P):A};let J=!1;const q=(k,A,P)=>{let $;k==null?A._vnode&&(Ue(A._vnode,null,null,!0),$=A._vnode.component):h(A._vnode||null,k,A,null,null,null,P),A._vnode=k,J||(J=!0,Fu($),Wh(),J=!1)},ne={p:h,um:Ue,m:Oe,r:Lt,mt:H,mc:v,pc:ie,pbc:N,n:j,o:e};return{render:q,hydrate:void 0,createApp:Yv(q)}}function Oa({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ym(e,t,n=!1){const r=e.children,o=t.children;if(ae(r)&&ae(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&ym(i,a)),a.type===ms&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===Ln&&!a.el&&(a.el=i.el)}}function dw(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function bm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bm(t)}function pi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function _m(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?_m(t.subTree):null}const hi=e=>e.__isSuspense;function pw(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):bv(e)}const nt=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),Ln=Symbol.for("v-cmt"),Ia=Symbol.for("v-stc"),Wo=[];let zt=null;function ue(e=!1){Wo.push(zt=e?null:[])}function hw(){Wo.pop(),zt=Wo[Wo.length-1]||null}let es=1;function mi(e,t=!1){es+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function vm(e){return e.dynamicChildren=es>0?zt||Yr:null,hw(),es>0&&zt&&zt.push(e),e}function _e(e,t,n,r,o,s){return vm(We(e,t,n,r,o,s,!0))}function Zt(e,t,n,r,o){return vm(qe(e,t,n,r,o,!0))}function ro(e){return e?e.__v_isVNode===!0:!1}function Br(e,t){return e.type===t.type&&e.key===t.key}const wm=({key:e})=>e??null,Ks=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?je(e)||ze(e)||ce(e)?{i:ut,r:e,k:t,f:!!n}:e:null);function We(e,t=null,n=null,r=0,o=null,s=e===nt?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wm(t),ref:t&&Ks(t),scopeId:Kh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ut};return a?(Hc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=je(n)?8:16),es>0&&!i&&zt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&zt.push(l),l}const qe=mw;function mw(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===nm)&&(e=Ln),ro(e)){const a=Or(e,t,!0);return n&&Hc(a,n),es>0&&!s&&zt&&(a.shapeFlag&6?zt[zt.indexOf(e)]=a:zt.push(a)),a.patchFlag=-2,a}if(Ew(e)&&(e=e.__vccOpts),t){t=mo(t);let{class:a,style:l}=t;a&&!je(a)&&(t.class=He(a)),Ae(l)&&(Gi(l)&&!ae(l)&&(l=pt({},l)),t.style=At(l))}const i=je(e)?1:hi(e)?128:Cv(e)?64:Ae(e)?4:ce(e)?2:0;return We(e,t,n,r,o,i,s,!0)}function mo(e){return e?Gi(e)||fm(e)?pt({},e):e:null}function Or(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?ts(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&wm(c),ref:t&&t.ref?n&&s?ae(s)?s.concat(Ks(t)):[s,Ks(t)]:Ks(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==nt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Or(e.ssContent),ssFallback:e.ssFallback&&Or(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&qi(u,l.clone(u)),u}function gi(e=" ",t=0){return qe(ms,null,e,t)}function en(e="",t=!1){return t?(ue(),Zt(Ln,null,e)):qe(Ln,null,e)}function En(e){return e==null||typeof e=="boolean"?qe(Ln):ae(e)?qe(nt,null,e.slice()):ro(e)?jn(e):qe(ms,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Or(e)}function Hc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Hc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!fm(t)?t._ctx=ut:o===3&&ut&&(ut.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:ut},n=32):(t=String(t),r&64?(n=16,t=[gi(t)]):n=8);e.children=t,e.shapeFlag|=n}function ts(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=He([t.class,r.class]));else if(o==="style")t.style=At([t.style,r.style]);else if(Mi(o)){const s=t[o],i=r[o];i&&s!==i&&!(ae(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Di(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Yt(e,t,n,r=null){In(e,t,7,[n,r])}const gw=im();let yw=0;function bw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||gw,s={uid:yw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pm(r,o),emitsOptions:am(r,o),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:r.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Jv.bind(null,s),e.ce&&e.ce(s),s}let _t=null;const Rn=()=>_t||ut;let yi,Rl;{const e=ji(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};yi=t("__VUE_INSTANCE_SETTERS__",n=>_t=n),Rl=t("__VUE_SSR_SETTERS__",n=>ns=n)}const gs=e=>{const t=_t;return yi(e),e.scope.on(),()=>{e.scope.off(),yi(t)}},qu=()=>{_t&&_t.scope.off(),yi(null)};function Em(e){return e.vnode.shapeFlag&4}let ns=!1;function _w(e,t=!1,n=!1){t&&Rl(t);const{props:r,children:o}=e.vnode,s=Em(e);rw(e,r,s,t),aw(e,o,n||t);const i=s?vw(e,t):void 0;return t&&Rl(!1),i}function vw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jv);const{setup:r}=n;if(r){Gn();const o=e.setupContext=r.length>1?Cm(e):null,s=gs(e),i=hs(r,e,0,[e.props,o]),a=hh(i);if(Kn(),s(),(a||e.sp)&&!ar(e)&&Xh(e),a){if(i.then(qu,qu),t)return i.then(l=>{Yu(e,l)}).catch(l=>{Ki(l,e,0)});e.asyncDep=i}else Yu(e,i)}else Sm(e)}function Yu(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ae(t)&&(e.setupState=zh(t)),Sm(e)}function Sm(e,t,n){const r=e.type;e.render||(e.render=r.render||xn);{const o=gs(e);Gn();try{Hv(e)}finally{Kn(),o()}}}const ww={get(e,t){return bt(e,"get",""),e[t]}};function Cm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ww),slots:e.slots,emit:e.emit,expose:t}}function Qi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zh(Mc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vo)return Vo[n](e)},has(t,n){return n in t||n in Vo}})):e.proxy}function Nl(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function Ew(e){return ce(e)&&"__vccOpts"in e}const X=(e,t)=>pv(e,t,ns);function cr(e,t,n){try{mi(-1);const r=arguments.length;return r===2?Ae(t)&&!ae(t)?ro(t)?qe(e,null,[t]):qe(e,t):qe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ro(n)&&(n=[n]),qe(e,t,n))}finally{mi(1)}}const Sw="3.5.34";let Ml;const Xu=typeof window<"u"&&window.trustedTypes;if(Xu)try{Ml=Xu.createPolicy("vue",{createHTML:e=>e})}catch{}const km=Ml?e=>Ml.createHTML(e):e=>e,Cw="http://www.w3.org/2000/svg",kw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,Ju=Un&&Un.createElement("template"),xw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Un.createElementNS(Cw,e):t==="mathml"?Un.createElementNS(kw,e):n?Un.createElement(e,{is:n}):Un.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ju.innerHTML=km(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Ju.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tw=Symbol("_vtc");function Aw(e,t,n){const r=e[Tw];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const bi=Symbol("_vod"),xm=Symbol("_vsh"),Ow={name:"show",beforeMount(e,{value:t},{transition:n}){e[bi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wo(e,!0),r.enter(e)):r.leave(e,()=>{wo(e,!1)}):wo(e,t))},beforeUnmount(e,{value:t}){wo(e,t)}};function wo(e,t){e.style.display=t?e[bi]:"none",e[xm]=!t}const Iw=Symbol(""),Lw=/(?:^|;)\s*display\s*:/;function Pw(e,t,n){const r=e.style,o=je(n);let s=!1;if(n&&!o){if(t)if(je(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Lo(r,a,"")}else for(const i in t)n[i]==null&&Lo(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?Nw(e,i,!je(t)&&t?t[i]:void 0,a)||Lo(r,i,a):Lo(r,i,"")}}else if(o){if(t!==n){const i=r[Iw];i&&(n+=";"+i),r.cssText=n,s=Lw.test(n)}}else t&&e.removeAttribute("style");bi in e&&(e[bi]=s?r.display:"",e[xm]&&(r.display="none"))}const Qu=/\s*!important$/;function Lo(e,t,n){if(ae(n))n.forEach(r=>Lo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Rw(e,t);Qu.test(n)?e.setProperty(Pr(r),n.replace(Qu,""),"important"):e[r]=n}}const Zu=["Webkit","Moz","ms"],La={};function Rw(e,t){const n=La[t];if(n)return n;let r=Ot(t);if(r!=="filter"&&r in e)return La[t]=r;r=Ui(r);for(let o=0;o<Zu.length;o++){const s=Zu[o]+r;if(s in e)return La[t]=s}return t}function Nw(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&je(r)&&n===r}const ef="http://www.w3.org/1999/xlink";function tf(e,t,n,r,o,s=D_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ef,t.slice(6,t.length)):e.setAttributeNS(ef,t,n):n==null||s&&!bh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Vt(n)?String(n):n)}function nf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?km(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=bh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Mw(e,t,n,r){e.addEventListener(t,n,r)}function Dw(e,t,n,r){e.removeEventListener(t,n,r)}const rf=Symbol("_vei");function Fw(e,t,n,r,o=null){const s=e[rf]||(e[rf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=$w(t);if(r){const c=s[t]=zw(r,o);Mw(e,a,c,l)}else i&&(Dw(e,a,i,l),s[t]=void 0)}}const of=/(?:Once|Passive|Capture)$/;function $w(e){let t;if(of.test(e)){t={};let r;for(;r=e.match(of);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Pr(e.slice(2)),t]}let Pa=0;const Uw=Promise.resolve(),jw=()=>Pa||(Uw.then(()=>Pa=0),Pa=Date.now());function zw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;In(Bw(r,n.value),t,5,[r])};return n.value=e,n.attached=jw(),n}function Bw(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const sf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hw=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Aw(e,r,i):t==="style"?Pw(e,n,r):Mi(t)?Di(t)||Fw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vw(e,t,r,i))?(nf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tf(e,t,r,i,s,t!=="value")):e._isVueCE&&(Ww(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!je(r)))?nf(e,Ot(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),tf(e,t,r,i))};function Vw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&sf(t)&&ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return sf(t)&&je(n)?!1:t in e}function Ww(e,t){const n=e._def.props;if(!n)return!1;const r=Ot(t);return Array.isArray(n)?n.some(o=>Ot(o)===r):Object.keys(n).some(o=>Ot(o)===r)}const Gw=["ctrl","shift","alt","meta"],Kw={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Gw.some(n=>e[`${n}Key`]&&!t.includes(n))},af=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=Kw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},qw=pt({patchProp:Hw},xw);let lf;function Yw(){return lf||(lf=cw(qw))}const Xw=((...e)=>{const t=Yw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Qw(r);if(!o)return;const s=t._component;!ce(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Jw(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function Jw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qw(e){return je(e)?document.querySelector(e):e}const Ra=new WeakMap,Zw=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??zi();if(o==null&&!Fc())throw new Error("injectLocal must be called in setup");return o&&Ra.has(o)&&n in Ra.get(o)?Ra.get(o)[n]:Ht(...e)},eE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tE=Object.prototype.toString,nE=e=>tE.call(e)==="[object Object]",rE=()=>{};function Tm(...e){if(e.length!==1)return fv(...e);const t=e[0];return typeof t=="function"?ai(av(()=>({get:t,set:rE}))):de(t)}function oE(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Am=e=>e();function sE(e=Am,t={}){const{initialState:n="active"}=t,r=Tm(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:rv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function cf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Na(e){return Array.isArray(e)?e:[e]}function iE(e){return Rn()}function aE(e,t,n={}){const{eventFilter:r=Am,...o}=n;return Ge(e,oE(r,t),o)}function lE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=sE(r,{initialState:o});return{stop:aE(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Om(e,t=!0,n){iE()?pn(e,n):t?e():fr(e)}function cE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=ze(e),s=Tn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=An(n);return s.value=s.value===l?An(r):l,s.value}}return o?i:[s,i]}function uE(e,t,n){return Ge(e,t,{...n,immediate:!0})}const vr=eE?window:void 0;function Im(e){var t;const n=An(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Dl(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=X(()=>{const r=Na(An(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return uE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Im(s)))!==null&&r!==void 0?r:[vr].filter(s=>s!=null),Na(An(n.value?e[1]:e[0])),Na(Ve(n.value?e[2]:e[1])),An(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=nE(i)?{...i}:i,u=r.flatMap(f=>o.flatMap(d=>s.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}function fE(){const e=Tn(!1),t=Rn();return t&&pn(()=>{e.value=!0},t),e}function dE(e){const t=fE();return X(()=>(t.value,!!e()))}const pE=Symbol("vueuse-ssr-width");function hE(){const e=Fc()?Zw(pE,null):null;return typeof e=="number"?e:void 0}function mE(e,t={}){const{window:n=vr,ssrWidth:r=hE()}=t,o=dE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Tn(typeof r=="number"),i=Tn(),a=Tn(!1),l=c=>{a.value=c.matches};return wv(()=>{if(s.value){s.value=!o.value,a.value=An(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=cf(f[1])),d&&p&&(p=r<=cf(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(An(e)),a.value=i.value.matches)}),Dl(i,"change",l,{passive:!0}),X(()=>a.value)}const As=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Os="__vueuse_ssr_handlers__",gE=yE();function yE(){return Os in As||(As[Os]=As[Os]||{}),As[Os]}function Lm(e,t){return gE[e]||t}function bE(e){return mE("(prefers-color-scheme: dark)",e)}function _E(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const vE={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},uf="vueuse-storage";function wE(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=vr,eventFilter:d,onError:p=H=>{console.error(H)},initOnMounted:g}=r,h=(u?Tn:de)(typeof t=="function"?t():t),_=X(()=>An(e));if(!n)try{n=Lm("getDefaultStorage",()=>vr?.localStorage)()}catch(H){p(H)}if(!n)return h;const y=An(t),b=_E(y),E=(o=r.serializer)!==null&&o!==void 0?o:vE[b],{pause:m,resume:O}=lE(h,H=>N(H),{flush:s,deep:i,eventFilter:d});Ge(_,()=>W(),{flush:s});let C=!1;const x=H=>{g&&!C||W(H)},v=H=>{g&&!C||Z(H)};f&&a&&(n instanceof Storage?Dl(f,"storage",x,{passive:!0}):Dl(f,uf,v)),g?Om(()=>{C=!0,W()}):W();function T(H,K){if(f){const V={key:_.value,oldValue:H,newValue:K,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",V):new CustomEvent(uf,{detail:V}))}}function N(H){try{const K=n.getItem(_.value);if(H==null)T(K,null),n.removeItem(_.value);else{const V=E.write(H);K!==V&&(n.setItem(_.value,V),T(K,V))}}catch(K){p(K)}}function M(H){const K=H?H.newValue:n.getItem(_.value);if(K==null)return l&&y!=null&&n.setItem(_.value,E.write(y)),y;if(!H&&c){const V=E.read(K);return typeof c=="function"?c(V,y):b==="object"&&!Array.isArray(V)?{...y,...V}:V}else return typeof K!="string"?K:E.read(K)}function W(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){h.value=y;return}if(!(H&&H.key!==_.value)){m();try{const K=E.write(h.value);(H===void 0||H?.newValue!==K)&&(h.value=M(H))}catch(K){p(K)}finally{H?fr(O):O()}}}}function Z(H){W(H.detail)}return h}const EE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function SE(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=vr,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=bE({window:o}),p=X(()=>d.value?"dark":"light"),g=l||(i==null?Tm(r):wE(i,r,s,{window:o,listenToStorageChanges:a})),h=X(()=>g.value==="auto"?p.value:g.value),_=Lm("updateHTMLAttrs",(m,O,C)=>{const x=typeof m=="string"?o?.document.querySelector(m):Im(m);if(!x)return;const v=new Set,T=new Set;let N=null;if(O==="class"){const W=C.split(/\s/g);Object.values(f).flatMap(Z=>(Z||"").split(/\s/g)).filter(Boolean).forEach(Z=>{W.includes(Z)?v.add(Z):T.add(Z)})}else N={key:O,value:C};if(v.size===0&&T.size===0&&N===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(EE)),o.document.head.appendChild(M));for(const W of v)x.classList.add(W);for(const W of T)x.classList.remove(W);N&&x.setAttribute(N.key,N.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(m){var O;_(t,n,(O=f[m])!==null&&O!==void 0?O:m)}function b(m){e.onChanged?e.onChanged(m,y):y(m)}Ge(h,b,{flush:"post",immediate:!0}),Om(()=>b(h.value));const E=X({get(){return c?g.value:h.value},set(m){g.value=m}});return Object.assign(E,{store:g,system:p,state:h})}function Pm(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=SE({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=X(()=>r.system.value);return X({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const CE="local://",kE="main",xE="container",TE="item",AE="/__global_config__",OE="/node_modules/.prebuild_module",IE="_metadata.json",LE="/_module_load_prefix_",PE="/_node_modules_load_prefix_",RE="/_comp_preview_prefix_local_",NE="/__proxy__",ME="__remote__",DE="__local__",FE="https://api.comphub.cn:5696",$E="http://localhost:7002",UE="http://localhost:5000",jE="http://localhost:5001",zE="Comp Hub",BE="csrfToken",HE="authorization",VE="x-refresh-token",WE="x-csrf-token",GE="accept-language",KE="isGuestLogin",qE="comp-hub-db",YE="file-compiled",XE="https://oss.comphub.cn",JE="oss:sts:token",QE="oss:sts:expire",ZE="comp.json",eS="README.md",tS="/.comp_hub_temp",nS="main.js",rS="index.vue",Rm="list_local",Nm="list_remote",oS={COMP_LIST_TYPE_LOCAL:Rm,COMP_LIST_TYPE_REMOTE:Nm},Mm="config",Dm="error",Fm="dir",$m="preview",Um="extra",jm="deps",zm="upgradeLog",Bm="readme",sS={TAB_TYPE_CONFIG:Mm,TAB_TYPE_ERROR:Dm,TAB_TYPE_DIR:Fm,TAB_TYPE_PREVIEW:$m,TAB_TYPE_EXTRA:Um,TAB_TYPE_DEPS:jm,TAB_TYPE_UPGRADE_LOG:zm,TAB_TYPE_README:Bm},Hm="mini",Vm="full",iS={COMP_EDIT_TAB_TYPE_MINI:Hm,COMP_EDIT_TAB_TYPE_FULL:Vm},Wm="EDIT",Gm="ADD",aS={DIALOG_TYPE_EDIT:Wm,DIALOG_TYPE_ADD:Gm},Km="ONLY_INSTALL",qm="MAJOR_VERSION",Ym="MINOR_VERSION",Xm="EXACT_VERSION",lS={COMP_MATCH_TYPE_ONLY_INSTALL:Km,COMP_MATCH_TYPE_MAJOR_VERSION:qm,COMP_MATCH_TYPE_MINOR_VERSION:Ym,COMP_MATCH_TYPE_EXACT_VERSION:Xm},Jm="online",Qm="offline",cS={COMP_UPDATE_TYPE_ONLINE:Jm,COMP_UPDATE_TYPE_OFFLINE:Qm},uS=0,fS=1,dS=-1,Zm="checkPreviewListForm",eg="checkExtraInfoForm",tg="checkCompConfig",ng="afterCompDel",rg="openCompTerminal",og="afterCompCancelCollect",sg="afterCompRenderRetry",ig="getCompError",ag="checkUpgradeLogForm",pS={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:Zm,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:eg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:tg,COMP_METHOD_KEY_AFTER_COMP_DEL:ng,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:rg,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:og,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:sg,COMP_METHOD_KEY_GET_COMP_ERROR:ig,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ag},hS={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},mS="http://127.0.0.1",gS="http://localhost:8095",yS="http://localhost:8096",bS="http://localhost:5198",_S="/item",vS="/container",wS="CREATE",ES="JOIN",SS="EXIT",CS="teamAddMyComp",kS="teamCompList",xS="teamCompGroupList",TS="teamMyCompList",AS="teamMyCompUpdate",OS="vue/dist/vue.esm-bundler.js",IS="__v__",LS="compListStore",PS="compEditStore",RS="callbacks",NS="comphubConfig",MS="local",DS="prod",FS="local",$S="prod",US="http://localhost:5173/en/",jS="https://docs.comphub.cn/en/",zS=20,BS=20,Ne=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:GE,AUTHORIZATION_HEADER_NAME:HE,CACHE_KEY_STS_EXPIRE_TIME:QE,CACHE_KEY_STS_TOKEN:JE,COMPHUB_CONFIG_KEY:NS,COMP_ACTION_ICON_HEIGHT:BS,COMP_ACTION_ICON_WIDTH:zS,COMP_CONFIG_FILENAME:ZE,COMP_EDIT_TAB_TYPES:iS,COMP_EDIT_TAB_TYPE_FULL:Vm,COMP_EDIT_TAB_TYPE_MINI:Hm,COMP_ENTRY_FILE:nS,COMP_HUB_DEV_DOCS_URL:US,COMP_HUB_PROD_DOCS_URL:jS,COMP_LIST_TYPES:oS,COMP_LIST_TYPE_LOCAL:Rm,COMP_LIST_TYPE_REMOTE:Nm,COMP_MATCH_TYPES:lS,COMP_MATCH_TYPE_EXACT_VERSION:Xm,COMP_MATCH_TYPE_MAJOR_VERSION:qm,COMP_MATCH_TYPE_MINOR_VERSION:Ym,COMP_MATCH_TYPE_ONLY_INSTALL:Km,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:og,COMP_METHOD_KEY_AFTER_COMP_DEL:ng,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:sg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:tg,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:eg,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:Zm,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ag,COMP_METHOD_KEY_GET_COMP_ERROR:ig,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:rg,COMP_PREVIEW_PREFIX_LOCAL:RE,COMP_README_FILENAME:eS,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:tS,COMP_UPDATE_TYPES:cS,COMP_UPDATE_TYPE_OFFLINE:Qm,COMP_UPDATE_TYPE_ONLINE:Jm,COMP_USE_ENTRY_FILE:rS,CSRF_KEY:BE,CSRF_TOKEN_HEADER_NAME:WE,DIALOG_TYPES:aS,DIALOG_TYPE_ADD:Gm,DIALOG_TYPE_EDIT:Wm,FILE_MANAGER_DIRNAME:CE,GLOBAL_CONFIG_PATH:AE,IFRAME_CONTAINER_WEBSITE_PATH:vS,IFRAME_HOST:mS,IFRAME_ITEM_WEBSITE_PATH:_S,IFRAME_ROUTES:hS,INDEX_DB_NAME:qE,INDEX_DB_TABLE_NAME:YE,IS_GUEST_LOGIN:KE,LOCAL_CHILD_IFRAME_URL:gS,LOCAL_LEAF_IFRAME_URL:yS,LOCAL_MIDWAY_ENV_LOCAL:MS,LOCAL_MIDWAY_ENV_PROD:DS,LOCAL_SERVICE_PREFIX:DE,LOCAL_SERVICE_URL_DEV:UE,LOCAL_SERVICE_URL_DEV_SUB:jE,LOCAL_TOP_IFRAME_URL:bS,META_FILE_NAME:IE,MODULE_LOAD_PREFIX:LE,NODE_MODULES_LOAD_PREFIX:PE,OSS_CUSTOM_DOMAIN:XE,PREBUILD_MODULE_DIR:OE,PROVIDE_KEYS:pS,PROVIDE_KEY_CALLBACKS:RS,PROVIDE_KEY_COMP_EDIT_STORE:PS,PROVIDE_KEY_COMP_LIST_STORE:LS,PROXY_PATH_PREFIX:NE,REFRESH_TOKEN_HEADER_NAME:VE,REMOTE_MIDWAY_ENV_LOCAL:FS,REMOTE_MIDWAY_ENV_PROD:$S,REMOTE_SERVICE_PREFIX:ME,REMOTE_SERVICE_URL_DEV:$E,REMOTE_SERVICE_URL_PROD:FE,ROUTE_STATE_KEY_VERSION:IS,SCOPE_ID_TEAM_ADD_MY_COMP:CS,SCOPE_ID_TEAM_COMP_GROUP_LIST:xS,SCOPE_ID_TEAM_COMP_LIST:kS,SCOPE_ID_TEAM_MY_COMP_LIST:TS,SCOPE_ID_TEAM_MY_COMP_UPDATE:AS,SITE_TITLE:zE,TAB_TYPES:sS,TAB_TYPE_CONFIG:Mm,TAB_TYPE_DEPS:jm,TAB_TYPE_DIR:Fm,TAB_TYPE_ERROR:Dm,TAB_TYPE_EXTRA:Um,TAB_TYPE_PREVIEW:$m,TAB_TYPE_README:Bm,TAB_TYPE_UPGRADE_LOG:zm,TEAM_OPERATE_TYPE_CREATE:wS,TEAM_OPERATE_TYPE_EXIT:SS,TEAM_OPERATE_TYPE_JOIN:ES,VERSION_COMPARE_GREATER:fS,VERSION_COMPARE_LESS:dS,VERSION_COMPARE_SAME:uS,VUE_ESM_BUNDLER:OS,WEBSITE_PATH_CONTAINER:xE,WEBSITE_PATH_ITEM:TE,WEBSITE_PATH_MAIN:kE},Symbol.toStringTag,{value:"Module"})),HS=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],VS=[".css"],WS=[{name:"__id__",label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],lg=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:WS,DEFAULT_TAG_GROUP:HS,PREBUILD_MODULE_SKIP_EXT:VS},Symbol.toStringTag,{value:"Module"})),GS="comp-hub-locale",KS=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:GS},Symbol.toStringTag,{value:"Module"}));function qS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ma={exports:{}},ff;function YS(){return ff||(ff=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function i(l,c){if(!s[l]){s[l]={};for(var u=0;u<l.length;u++)s[l][l.charAt(u)]=u}return s[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return r.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return i(r,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(n(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return i(o,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return n(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},g={},h="",_="",y="",b=2,E=3,m=2,O=[],C=0,x=0,v;for(v=0;v<l.length;v+=1)if(h=l.charAt(v),Object.prototype.hasOwnProperty.call(p,h)||(p[h]=E++,g[h]=!0),_=y+h,Object.prototype.hasOwnProperty.call(p,_))y=_;else{if(Object.prototype.hasOwnProperty.call(g,y)){if(y.charCodeAt(0)<256){for(f=0;f<m;f++)C=C<<1,x==c-1?(x=0,O.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<m;f++)C=C<<1|d,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}b--,b==0&&(b=Math.pow(2,m),m++),delete g[y]}else for(d=p[y],f=0;f<m;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1;b--,b==0&&(b=Math.pow(2,m),m++),p[_]=E++,y=String(h)}if(y!==""){if(Object.prototype.hasOwnProperty.call(g,y)){if(y.charCodeAt(0)<256){for(f=0;f<m;f++)C=C<<1,x==c-1?(x=0,O.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<m;f++)C=C<<1|d,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1}b--,b==0&&(b=Math.pow(2,m),m++),delete g[y]}else for(d=p[y],f=0;f<m;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1;b--,b==0&&(b=Math.pow(2,m),m++)}for(d=2,f=0;f<m;f++)C=C<<1|d&1,x==c-1?(x=0,O.push(u(C)),C=0):x++,d=d>>1;for(;;)if(C=C<<1,x==c-1){O.push(u(C));break}else x++;return O.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,g=3,h="",_=[],y,b,E,m,O,C,x,v={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,O=Math.pow(2,2),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;switch(E){case 0:for(E=0,O=Math.pow(2,8),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;x=n(E);break;case 1:for(E=0,O=Math.pow(2,16),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;x=n(E);break;case 2:return""}for(f[3]=x,b=x,_.push(x);;){if(v.index>l)return"";for(E=0,O=Math.pow(2,g),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;switch(x=E){case 0:for(E=0,O=Math.pow(2,8),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,O=Math.pow(2,16),C=1;C!=O;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=u(v.index++)),E|=(m>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return _.join("")}if(d==0&&(d=Math.pow(2,g),g++),f[x])h=f[x];else if(x===p)h=b+b.charAt(0);else return null;_.push(h),f[p++]=b+h.charAt(0),d--,b=h,d==0&&(d=Math.pow(2,g),g++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Ma)),Ma.exports}var XS=YS();const df=qS(XS),pf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],go=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!pf.includes(l)).length)throw new Error(`iframe参数键名只能包含${pf.join(", ")}`);return df.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=df.decompressFromEncodedURIComponent(i);return JSON.parse(a)}function r(){const a=new URLSearchParams(window.location.search).get("params")??"";return n(a)}function o(i){const a={...e,...i};return t(a)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},Zi=e=>{const{params:{topOrigin:t}}=go();return t},Le={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function ea(){const e=Rn();return{sendMessageToParent:(s,i,a)=>{window.parent.postMessage({type:s,payload:JSON.stringify(i)},a)},sendMessageToTop:(s,i,a,l)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:s,payload:JSON.stringify(i),instanceUid:l},a)},sendMessageToTargetIframe:(s,i,a,l)=>{s.postMessage({type:i,payload:JSON.stringify(a)},l)},messageListener:()=>{const s=new Map,i=a=>{const{type:l,payload:c,instanceUid:u}=a.data??{},f=a.source===window.parent||a.source===window.top,d=u?.split(",").some(g=>g===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),ho(()=>{window.removeEventListener("message",i),s.clear()}),{addListener:(a,l)=>{s.set(a,c=>{l(c)})},removeListener:a=>{a?s.delete(a):(s.clear(),window.removeEventListener("message",i))}}},instanceUid:X(()=>e?.uid?.toString()??"")}}function JS(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _i=typeof window<"u",dr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),QS=(e,t,n)=>ZS({l:e,k:t,s:n}),ZS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),rt=e=>typeof e=="number"&&isFinite(e),cg=e=>Vc(e)==="[object Date]",oo=e=>Vc(e)==="[object RegExp]",ta=e=>ye(e)&&Object.keys(e).length===0,ot=Object.assign,eC=Object.create,Me=(e=null)=>eC(e);let hf;const wr=()=>hf||(hf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Me());function mf(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function gf(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function tC(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,s)=>`${o}="${gf(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,s)=>`${o}='${gf(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const nC=Object.prototype.hasOwnProperty;function Qt(e,t){return nC.call(e,t)}const Qe=Array.isArray,Be=e=>typeof e=="function",Q=e=>typeof e=="string",ve=e=>typeof e=="boolean",we=e=>e!==null&&typeof e=="object",rC=e=>we(e)&&Be(e.then)&&Be(e.catch),ug=Object.prototype.toString,Vc=e=>ug.call(e),ye=e=>Vc(e)==="[object Object]",oC=e=>e==null?"":Qe(e)||ye(e)&&e.toString===ug?JSON.stringify(e,null,2):String(e);function Wc(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Is=e=>!we(e)||Qe(e);function qs(e,t){if(Is(e)||Is(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(we(r[s])&&!we(o[s])&&(o[s]=Array.isArray(r[s])?[]:Me()),Is(o[s])||Is(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function sC(e,t,n){return{line:e,column:t,offset:n}}function Fl(e,t,n){return{start:e,end:t}}const xe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},iC=17;function na(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function aC(e){throw e}const yn=" ",lC="\r",mt=`
|
|
2
|
-
`,cC="\u2028",uC="\u2029";function fC(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===lC&&t[x+1]===mt,a=x=>t[x]===mt,l=x=>t[x]===uC,c=x=>t[x]===cC,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,g=()=>s,h=x=>i(x)||l(x)||c(x)?mt:t[x],_=()=>h(n),y=()=>h(n+s);function b(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function m(){n=0,r=1,o=1,s=0}function O(x=0){s=x}function C(){const x=n+s;for(;x!==n;)b();s=0}return{index:f,line:d,column:p,peekOffset:g,charAt:h,currentChar:_,currentPeek:y,next:b,peek:E,reset:m,resetPeek:O,skipToPeek:C}}const Mn=void 0,dC=".",yf="'",pC="tokenizer";function hC(e,t={}){const n=t.location!==!1,r=fC(e),o=()=>r.index(),s=()=>sC(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(w,S,I,...R){const Y=c();if(S.column+=I,S.offset+=I,u){const B=n?Fl(Y.startLoc,S):null,L=na(w,B,{domain:pC,args:R});u(L)}}function d(w,S,I){w.endLoc=s(),w.currentType=S;const R={type:S};return n&&(R.loc=Fl(w.startLoc,w.endLoc)),I!=null&&(R.value=I),R}const p=w=>d(w,13);function g(w,S){return w.currentChar()===S?(w.next(),S):(f(xe.EXPECTED_TOKEN,s(),0,S),"")}function h(w){let S="";for(;w.currentPeek()===yn||w.currentPeek()===mt;)S+=w.currentPeek(),w.peek();return S}function _(w){const S=h(w);return w.skipToPeek(),S}function y(w){if(w===Mn)return!1;const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function b(w){if(w===Mn)return!1;const S=w.charCodeAt(0);return S>=48&&S<=57}function E(w,S){const{currentType:I}=S;if(I!==2)return!1;h(w);const R=y(w.currentPeek());return w.resetPeek(),R}function m(w,S){const{currentType:I}=S;if(I!==2)return!1;h(w);const R=w.currentPeek()==="-"?w.peek():w.currentPeek(),Y=b(R);return w.resetPeek(),Y}function O(w,S){const{currentType:I}=S;if(I!==2)return!1;h(w);const R=w.currentPeek()===yf;return w.resetPeek(),R}function C(w,S){const{currentType:I}=S;if(I!==7)return!1;h(w);const R=w.currentPeek()===".";return w.resetPeek(),R}function x(w,S){const{currentType:I}=S;if(I!==8)return!1;h(w);const R=y(w.currentPeek());return w.resetPeek(),R}function v(w,S){const{currentType:I}=S;if(!(I===7||I===11))return!1;h(w);const R=w.currentPeek()===":";return w.resetPeek(),R}function T(w,S){const{currentType:I}=S;if(I!==9)return!1;const R=()=>{const B=w.currentPeek();return B==="{"?y(w.peek()):B==="@"||B==="|"||B===":"||B==="."||B===yn||!B?!1:B===mt?(w.peek(),R()):M(w,!1)},Y=R();return w.resetPeek(),Y}function N(w){h(w);const S=w.currentPeek()==="|";return w.resetPeek(),S}function M(w,S=!0){const I=(Y=!1,B="")=>{const L=w.currentPeek();return L==="{"||L==="@"||!L?Y:L==="|"?!(B===yn||B===mt):L===yn?(w.peek(),I(!0,yn)):L===mt?(w.peek(),I(!0,mt)):!0},R=I();return S&&w.resetPeek(),R}function W(w,S){const I=w.currentChar();return I===Mn?Mn:S(I)?(w.next(),I):null}function Z(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function H(w){return W(w,Z)}function K(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function V(w){return W(w,K)}function ee(w){const S=w.charCodeAt(0);return S>=48&&S<=57}function ie(w){return W(w,ee)}function Xe(w){const S=w.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function St(w){return W(w,Xe)}function Oe(w){let S="",I="";for(;S=ie(w);)I+=S;return I}function Ue(w){let S="";for(;;){const I=w.currentChar();if(I==="\\"){const R=w.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=I+R,w.next(),w.next()):(w.resetPeek(),S+=I,w.next())}else{if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===yn||I===mt)if(M(w))S+=I,w.next();else{if(N(w))break;S+=I,w.next()}else S+=I,w.next()}}return S}function Lt(w){_(w);let S="",I="";for(;S=V(w);)I+=S;const R=w.currentChar();if(R&&R!=="}"&&R!==Mn&&R!==yn&&R!==mt&&R!==" "){const Y=ne(w);return f(xe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I+Y),I+Y}return w.currentChar()===Mn&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),I}function Ct(w){_(w);let S="";return w.currentChar()==="-"?(w.next(),S+=`-${Oe(w)}`):S+=Oe(w),w.currentChar()===Mn&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),S}function $t(w){return w!==yf&&w!==mt}function ht(w){_(w),g(w,"'");let S="",I="";for(;S=W(w,$t);)S==="\\"?I+=j(w):I+=S;const R=w.currentChar();return R===mt||R===Mn?(f(xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===mt&&(w.next(),g(w,"'")),I):(g(w,"'"),I)}function j(w){const S=w.currentChar();switch(S){case"\\":case"'":return w.next(),`\\${S}`;case"u":return J(w,S,4);case"U":return J(w,S,6);default:return f(xe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function J(w,S,I){g(w,S);let R="";for(let Y=0;Y<I;Y++){const B=St(w);if(!B){f(xe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${w.currentChar()}`);break}R+=B}return`\\${S}${R}`}function q(w){return w!=="{"&&w!=="}"&&w!==yn&&w!==mt}function ne(w){_(w);let S="",I="";for(;S=W(w,q);)I+=S;return I}function pe(w){let S="",I="";for(;S=H(w);)I+=S;return I}function k(w){const S=I=>{const R=w.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===yn?I:(I+=R,w.next(),S(I))};return S("")}function A(w){_(w);const S=g(w,"|");return _(w),S}function P(w,S){let I=null;switch(w.currentChar()){case"{":return S.braceNest>=1&&f(xe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),w.next(),I=d(S,2,"{"),_(w),S.braceNest++,I;case"}":return S.braceNest>0&&S.currentType===2&&f(xe.EMPTY_PLACEHOLDER,s(),0),w.next(),I=d(S,3,"}"),S.braceNest--,S.braceNest>0&&_(w),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),I;case"@":return S.braceNest>0&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),I=$(w,S)||p(S),S.braceNest=0,I;default:{let Y=!0,B=!0,L=!0;if(N(w))return S.braceNest>0&&f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(S,1,A(w)),S.braceNest=0,S.inLinked=!1,I;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(xe.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(w,S);if(Y=E(w,S))return I=d(S,4,Lt(w)),_(w),I;if(B=m(w,S))return I=d(S,5,Ct(w)),_(w),I;if(L=O(w,S))return I=d(S,6,ht(w)),_(w),I;if(!Y&&!B&&!L)return I=d(S,12,ne(w)),f(xe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),_(w),I;break}}return I}function $(w,S){const{currentType:I}=S;let R=null;const Y=w.currentChar();switch((I===7||I===8||I===11||I===9)&&(Y===mt||Y===yn)&&f(xe.INVALID_LINKED_FORMAT,s(),0),Y){case"@":return w.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return _(w),w.next(),d(S,8,".");case":":return _(w),w.next(),d(S,9,":");default:return N(w)?(R=d(S,1,A(w)),S.braceNest=0,S.inLinked=!1,R):C(w,S)||v(w,S)?(_(w),$(w,S)):x(w,S)?(_(w),d(S,11,pe(w))):T(w,S)?(_(w),Y==="{"?P(w,S)||R:d(S,10,k(w))):(I===7&&f(xe.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(w,S))}}function z(w,S){let I={type:13};if(S.braceNest>0)return P(w,S)||p(S);if(S.inLinked)return $(w,S)||p(S);switch(w.currentChar()){case"{":return P(w,S)||p(S);case"}":return f(xe.UNBALANCED_CLOSING_BRACE,s(),0),w.next(),d(S,3,"}");case"@":return $(w,S)||p(S);default:{if(N(w))return I=d(S,1,A(w)),S.braceNest=0,S.inLinked=!1,I;if(M(w))return d(S,0,Ue(w));break}}return I}function U(){const{currentType:w,offset:S,startLoc:I,endLoc:R}=l;return l.lastType=w,l.lastOffset=S,l.lastStartLoc=I,l.lastEndLoc=R,l.offset=o(),l.startLoc=s(),r.currentChar()===Mn?d(l,13):z(r,l)}return{nextToken:U,currentOffset:o,currentPosition:s,context:c}}const mC="parser",gC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,yC=/\\([\\@{}|])/g;function bC(e,t){return t}function _C(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function vC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,b,E,m,...O){const C=y.currentPosition();if(C.offset+=m,C.column+=m,n){const x=t?Fl(E,C):null,v=na(b,x,{domain:mC,args:O});n(v)}}function o(y,b,E){const m={type:y};return t&&(m.start=b,m.end=b,m.loc={start:E,end:E}),m}function s(y,b,E,m){t&&(y.end=b,y.loc&&(y.loc.end=E))}function i(y,b){const E=y.context(),m=o(3,E.offset,E.startLoc);return m.value=b.replace(yC,bC),s(m,y.currentOffset(),y.currentPosition()),m}function a(y,b){const E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(5,m,O);return C.index=parseInt(b,10),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function l(y,b){const E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(4,m,O);return C.key=b,y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function c(y,b){const E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(9,m,O);return C.value=b.replace(gC,_C),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function u(y){const b=y.nextToken(),E=y.context(),{lastOffset:m,lastStartLoc:O}=E,C=o(8,m,O);return b.type!==11?(r(y,xe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),C.value="",s(C,m,O),{nextConsumeToken:b,node:C}):(b.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,bn(b)),C.value=b.value||"",s(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,b){const E=y.context(),m=o(7,E.offset,E.startLoc);return m.value=b,s(m,y.currentOffset(),y.currentPosition()),m}function d(y){const b=y.context(),E=o(6,b.offset,b.startLoc);let m=y.nextToken();if(m.type===8){const O=u(y);E.modifier=O.node,m=O.nextConsumeToken||y.nextToken()}switch(m.type!==9&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),m=y.nextToken(),m.type===2&&(m=y.nextToken()),m.type){case 10:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=f(y,m.value||"");break;case 4:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=l(y,m.value||"");break;case 5:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=a(y,m.value||"");break;case 6:m.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(m)),E.key=c(y,m.value||"");break;default:{r(y,xe.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const O=y.context(),C=o(7,O.offset,O.startLoc);return C.value="",s(C,O.offset,O.startLoc),E.key=C,s(E,O.offset,O.startLoc),{nextConsumeToken:m,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const b=y.context(),E=b.currentType===1?y.currentOffset():b.offset,m=b.currentType===1?b.endLoc:b.startLoc,O=o(2,E,m);O.items=[];let C=null;do{const T=C||y.nextToken();switch(C=null,T.type){case 0:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(i(y,T.value||""));break;case 5:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(a(y,T.value||""));break;case 4:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(l(y,T.value||""));break;case 6:T.value==null&&r(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bn(T)),O.items.push(c(y,T.value||""));break;case 7:{const N=d(y);O.items.push(N.node),C=N.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const x=b.currentType===1?b.lastOffset:y.currentOffset(),v=b.currentType===1?b.lastEndLoc:y.currentPosition();return s(O,x,v),O}function g(y,b,E,m){const O=y.context();let C=m.items.length===0;const x=o(1,b,E);x.cases=[],x.cases.push(m);do{const v=p(y);C||(C=v.items.length===0),x.cases.push(v)}while(O.currentType!==13);return C&&r(y,xe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function h(y){const b=y.context(),{offset:E,startLoc:m}=b,O=p(y);return b.currentType===13?O:g(y,E,m,O)}function _(y){const b=hC(y,ot({},e)),E=b.context(),m=o(0,E.offset,E.startLoc);return t&&m.loc&&(m.loc.source=y),m.body=h(b),e.onCacheKey&&(m.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(b,xe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(m,b.currentOffset(),b.currentPosition()),m}return{parse:_}}function bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function wC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function bf(e,t){for(let n=0;n<e.length;n++)Gc(e[n],t)}function Gc(e,t){switch(e.type){case 1:bf(e.cases,t),t.helper("plural");break;case 2:bf(e.items,t);break;case 6:{Gc(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function EC(e,t={}){const n=wC(e);n.helper("normalize"),e.body&&Gc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function SC(e){const t=e.body;return t.type===2?_f(t):t.cases.forEach(n=>_f(n)),e}function _f(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Wc(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Hr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Hr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Hr(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Hr(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Hr(t.key),t.k=t.key,delete t.key,t.modifier&&(Hr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function CC(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(h,_){i.code+=h}function c(h,_=!0){const y=_?r:"";l(o?y+" ".repeat(h):y)}function u(h=!0){const _=++i.indentLevel;h&&c(_)}function f(h=!0){const _=--i.indentLevel;h&&c(_)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:h=>`_${h}`,needIndent:()=>i.needIndent}}function kC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),so(e,t.key),t.modifier?(e.push(", "),so(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xC(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(so(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function TC(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(so(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function AC(e,t){t.body?so(e,t.body):e.push("null")}function so(e,t){const{helper:n}=e;switch(t.type){case 0:AC(e,t);break;case 1:TC(e,t);break;case 2:xC(e,t);break;case 6:kC(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const OC=(e,t={})=>{const n=Q(t.mode)?t.mode:"normal",r=Q(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
-
`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=CC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Wc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),so(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function IC(e,t={}){const n=ot({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=vC(n).parse(e);return r?(s&&SC(a),o&&Hr(a),{ast:a,code:""}):(EC(a,n),OC(a,n))}function LC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function On(e){return we(e)&&Kc(e)===0&&(Qt(e,"b")||Qt(e,"body"))}const fg=["b","body"];function PC(e){return pr(e,fg)}const dg=["c","cases"];function RC(e){return pr(e,dg,[])}const pg=["s","static"];function NC(e){return pr(e,pg)}const hg=["i","items"];function MC(e){return pr(e,hg,[])}const mg=["t","type"];function Kc(e){return pr(e,mg)}const gg=["v","value"];function Ls(e,t){const n=pr(e,gg);if(n!=null)return n;throw rs(t)}const yg=["m","modifier"];function DC(e){return pr(e,yg)}const bg=["k","key"];function FC(e){const t=pr(e,bg);if(t)return t;throw rs(6)}function pr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Qt(e,o)&&e[o]!=null)return e[o]}return n}const _g=[...fg,...dg,...pg,...hg,...bg,...yg,...gg,...mg];function rs(e){return new Error(`unhandled node type: ${e}`)}function Da(e){return n=>$C(n,e)}function $C(e,t){const n=PC(t);if(n==null)throw rs(0);if(Kc(n)===1){const s=RC(n);return e.plural(s.reduce((i,a)=>[...i,vf(e,a)],[]))}else return vf(e,n)}function vf(e,t){const n=NC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=MC(t).reduce((o,s)=>[...o,$l(e,s)],[]);return e.normalize(r)}}function $l(e,t){const n=Kc(t);switch(n){case 3:return Ls(t,n);case 9:return Ls(t,n);case 4:{const r=t;if(Qt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Qt(r,"i")&&rt(r.i))return e.interpolate(e.list(r.i));if(Qt(r,"index")&&rt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=DC(r),s=FC(r);return e.linked($l(e,s),o?$l(e,o):void 0,e.type)}case 7:return Ls(t,n);case 8:return Ls(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const UC=e=>e;let Ps=Me();function jC(e,t={}){let n=!1;const r=t.onError||aC;return t.onError=o=>{n=!0,r(o)},{...IC(e,t),detectError:n}}function zC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Q(e)){ve(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||UC)(e),o=Ps[r];if(o)return o;const{ast:s,detectError:i}=jC(e,{...t,location:!1,jit:!0}),a=Da(s);return i?a:Ps[r]=a}else{const n=e.cacheKey;if(n){const r=Ps[n];return r||(Ps[n]=Da(e))}else return Da(e)}}let os=null;function BC(e){os=e}function HC(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const VC=WC("function:translate");function WC(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:iC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},GC=24;function Vn(e){return na(e,null,void 0)}function qc(e,t){return t.locale!=null?wf(t.locale):wf(e.locale)}let Fa;function wf(e){if(Q(e))return e;if(Be(e)){if(e.resolvedOnce&&Fa!=null)return Fa;if(e.constructor.name==="Function"){const t=e();if(rC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Fa=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function KC(e,t,n){return[...new Set([n,...Qe(t)?t:we(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Ul(e,t,n){const r=Q(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Qe(i);)i=Ef(s,i,t);const a=Qe(t)||!ye(t)?t:t.default?t.default:null;i=Q(a)?[a]:a,Qe(i)&&Ef(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Ef(e,t,n){let r=!0;for(let o=0;o<t.length&&ve(r);o++){const s=t[o];Q(s)&&(r=qC(e,t[o],n))}return r}function qC(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=YC(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function YC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Qe(n)||ye(n))&&n[o]&&(r=n[o])}return r}const hr=[];hr[0]={w:[0],i:[3,0],"[":[4],o:[7]};hr[1]={w:[1],".":[2],"[":[4],o:[7]};hr[2]={w:[2],i:[3,0],0:[3,0]};hr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};hr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};hr[5]={"'":[4,0],o:8,l:[5,0]};hr[6]={'"':[4,0],o:8,l:[6,0]};const XC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JC(e){return XC.test(e)}function QC(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function ZC(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function e0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:JC(t)?QC(t):"*"+t}function t0(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=e0(i),i===!1))return!1;d[1]()}};function p(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=ZC(s),f=hr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Sf=new Map;function n0(e,t){return we(e)?e[t]:null}function r0(e,t){if(!we(e))return null;let n=Sf.get(t);if(n||(n=t0(t),n&&Sf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(_g.includes(i)&&On(o)||!we(o)||!Qt(o,i))return null;const a=o[i];if(a===void 0||Be(o))return null;o=a,s++}return o}const o0="11.4.2",ra=-1,ss="en-US",vi="",Cf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function s0(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&we(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Cf(e):t==="vnode"&&we(e)&&"__v_isVNode"in e?Cf(e.children):e}}let vg;function i0(e){vg=e}let wg;function a0(e){wg=e}let Eg;function l0(e){Eg=e}let Sg=null;const c0=e=>{Sg=e},u0=()=>Sg;let Cg=null;const kf=e=>{Cg=e},f0=()=>Cg;let xf=0;function d0(e={}){const t=Be(e.onWarn)?e.onWarn:JS,n=Q(e.version)?e.version:o0,r=Q(e.locale)||Be(e.locale)?e.locale:ss,o=Be(r)?ss:r,s=Qe(e.fallbackLocale)||ye(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ye(e.messages)?e.messages:$a(o),a=ye(e.datetimeFormats)?e.datetimeFormats:$a(o),l=ye(e.numberFormats)?e.numberFormats:$a(o),c=ot(Me(),e.modifiers,s0()),u=e.pluralRules||Me(),f=Be(e.missing)?e.missing:null,d=ve(e.missingWarn)||oo(e.missingWarn)?e.missingWarn:!0,p=ve(e.fallbackWarn)||oo(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,h=!!e.unresolving,_=Be(e.postTranslation)?e.postTranslation:null,y=ye(e.processor)?e.processor:null,b=ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,m=Be(e.messageCompiler)?e.messageCompiler:vg,O=Be(e.messageResolver)?e.messageResolver:wg||n0,C=Be(e.localeFallbacker)?e.localeFallbacker:Eg||KC,x=we(e.fallbackContext)?e.fallbackContext:void 0,v=e,T=we(v.__datetimeFormatters)?v.__datetimeFormatters:new Map,N=we(v.__numberFormatters)?v.__numberFormatters:new Map,M=we(v.__meta)?v.__meta:{};xf++;const W={version:n,cid:xf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:h,postTranslation:_,processor:y,warnHtmlMessage:b,escapeParameter:E,messageCompiler:m,messageResolver:O,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return W.datetimeFormats=a,W.numberFormats=l,W.__datetimeFormatters=T,W.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&HC(W,n,M),W}const $a=e=>({[e]:Me()});function Yc(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Q(a)?a:t}else return t}function Eo(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function p0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function h0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(p0(e,t[r]))return!0;return!1}function Tf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!Q(t[0])&&!cg(t[0])&&!rt(t[0]))return vi;const[l,c,u,f]=jl(...t),d=ve(u.missingWarn)?u.missingWarn:e.missingWarn;ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=qc(e,u),h=i(e,o,g);if(!Q(l)||l==="")return new Intl.DateTimeFormat(g.replace(/!/g,""),f).format(c);let _={},y,b=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],_=n[y]||{},b=_[l],!ye(b));C++)Yc(e,l,y,d,E);if(!ye(b)||!Q(y))return r?ra:l;let m=`${y}__${l}`;ta(f)||(m=`${m}__${JSON.stringify(f)}`);let O=a.get(m);return O||(O=new Intl.DateTimeFormat(y,ot({},b,f)),a.set(m,O)),p?O.formatToParts(c):O.format(c)}const kg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function jl(...e){const[t,n,r,o]=e,s=Me();let i=Me(),a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT)}}else if(cg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(rt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return Q(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{kg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:ye(r)&&(i=r),ye(o)&&(i=o),[s.key||"",a,s,i]}function Af(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Of(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!rt(t[0]))return vi;const[l,c,u,f]=zl(...t),d=ve(u.missingWarn)?u.missingWarn:e.missingWarn;ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,g=qc(e,u),h=i(e,o,g);if(!Q(l)||l==="")return new Intl.NumberFormat(g.replace(/!/g,""),f).format(c);let _={},y,b=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],_=n[y]||{},b=_[l],!ye(b));C++)Yc(e,l,y,d,E);if(!ye(b)||!Q(y))return r?ra:l;let m=`${y}__${l}`;ta(f)||(m=`${m}__${JSON.stringify(f)}`);let O=a.get(m);return O||(O=new Intl.NumberFormat(y,ot({},b,f)),a.set(m,O)),p?O.formatToParts(c):O.format(c)}const xg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function zl(...e){const[t,n,r,o]=e,s=Me();let i=Me();if(!rt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return Q(n)?s.key=n:ye(n)&&Object.keys(n).forEach(l=>{xg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:ye(r)&&(i=r),ye(o)&&(i=o),[s.key||"",a,s,i]}function If(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const m0=e=>e,g0=e=>"",y0="text",b0=e=>e.length===0?"":Wc(e),_0=oC;function Ua(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function v0(e){const t=rt(e.pluralIndex)?e.pluralIndex:-1;return rt(e.named?.count)?e.named.count:rt(e.named?.n)?e.named.n:t}function w0(e={}){const t=e.locale,n=v0(e),r=Q(t)&&Be(e.pluralRules?.[t])?e.pluralRules[t]:Ua,o=r===Ua?void 0:Ua,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Me();rt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,b){const E=Be(e.messages)?e.messages(y,!!b):we(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):g0)}const f=y=>e.modifiers?e.modifiers[y]:m0,d=Be(e.processor?.normalize)?e.processor.normalize:b0,p=Be(e.processor?.interpolate)?e.processor.interpolate:_0,g=Q(e.processor?.type)?e.processor.type:y0,_={list:a,named:c,plural:s,linked:(y,...b)=>{const[E,m]=b;let O="text",C="";b.length===1?we(E)?(C=E.modifier||C,O=E.type||O):Q(E)&&(C=E||C):b.length===2&&(Q(E)&&(C=E||C),Q(m)&&(O=m||O));const x=u(y,!0)(_),v=x===""||x===void 0?y:x,T=O==="vnode"&&Qe(v)&&C?v[0]:v;return C?f(C)(T,O):T},message:u,type:g,interpolate:p,normalize:d,values:ot(Me(),i,l)};return _}const Lf=()=>"",Jt=e=>Be(e);function Pf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Bl(...t),u=ve(c.missingWarn)?c.missingWarn:e.missingWarn,f=ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,g=Q(c.default)||ve(c.default)?ve(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||g!=null&&(Q(g)||Be(g)),_=qc(e,c);d&&E0(c);let[y,b,E]=p?[l,_,a[_]||Me()]:Tg(e,l,_,i,f,u),m=y,O=l;if(!p&&!(Q(m)||On(m)||Jt(m))&&h&&(m=g,O=m),!p&&(!(Q(m)||On(m)||Jt(m))||!Q(b)))return o?ra:l;let C=!1;const x=()=>{C=!0},v=Jt(m)?m:Ag(e,l,b,m,O,x);if(C)return m;const T=k0(e,b,E,c),N=w0(T),M=S0(e,v,N);let W=r?r(M,l):M;if(d&&Q(W)&&(W=tC(W)),__INTLIFY_PROD_DEVTOOLS__){const Z={timestamp:Date.now(),key:Q(l)?l:Jt(m)?m.key:"",locale:b||(Jt(m)?m.locale:""),format:Q(m)?m:Jt(m)?m.source:"",message:W};Z.meta=ot({},e.__meta,u0()||{}),VC(Z)}return W}function E0(e){Qe(e.list)?e.list=e.list.map(t=>Q(t)?mf(t):t):we(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=mf(e.named[t]))})}function Tg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Me(),d,p=null;const g="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Me(),(p=l(f,t))===null&&(p=f[t]),!(Q(p)||On(p)||Jt(p)));h++)if(!h0(d,u)){const _=Yc(e,t,d,s,g);_!==t&&(p=_)}return[p,d,f]}function Ag(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Jt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,C0(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function S0(e,t,n){return t(n)}function Bl(...e){const[t,n,r]=e,o=Me();if(!Q(t)&&!rt(t)&&!Jt(t)&&!On(t))throw Vn(Hn.INVALID_ARGUMENT);const s=rt(t)?String(t):(Jt(t),t);return rt(n)?o.plural=n:Q(n)?o.default=n:ye(n)&&!ta(n)?o.named=n:Qe(n)&&(o.list=n),rt(r)?o.plural=r:Q(r)?o.default=r:ye(r)&&ot(o,r),[s,o]}function C0(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>QS(t,n,i)}}function k0(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,g)=>{let h=i(n,p);if(h==null&&(u||g)){const[_,,y]=Tg(u||e,p,t,a,l,c);h=_??i(y,p)}if(Q(h)||On(h)){let _=!1;const b=Ag(e,p,t,h,p,()=>{_=!0});return _?Lf:b}else return Jt(h)?h:Lf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),rt(r.plural)&&(d.pluralIndex=r.plural),d}LC();const x0="11.4.2";function T0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(wr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(wr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wr().__INTLIFY_PROD_DEVTOOLS__=!1)}const It={UNEXPECTED_RETURN_TYPE:GC,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Nt(e,...t){return na(e,null,void 0)}const Hl=dr("__translateVNode"),Vl=dr("__datetimeParts"),Wl=dr("__numberParts"),Og=dr("__setPluralRules"),Ig=dr("__injectWithOption"),Gr=dr("__dispose");function is(e){if(!we(e)||On(e))return e;for(const t in e)if(Qt(e,t))if(!t.includes("."))we(e[t])&&is(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Me()),!we(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?_g.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];we(i)&&is(i)}}return e}function Xc(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=ye(n)?n:Qe(r)?Me():{[e]:Me()};if(Qe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Me(),qs(c,i[l])):qs(c,i)}else Q(a)&&qs(JSON.parse(a),i)}),o==null&&s)for(const a in i)Qt(i,a)&&is(i[a]);return i}function Lg(e){return e.type}function Pg(e,t,n){let r=we(t.messages)?t.messages:Me();"__i18nGlobal"in n&&(r=Xc(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(we(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(we(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Rf(e){return qe(ms,null,e,0)}function as(){return Rn()}const Nf="__INTLIFY_META__",Mf=()=>[],A0=()=>!1;let Df=0;function Ff(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const O0=()=>{const e=as();let t=null;return e&&(t=Lg(e)[Nf])?{[Nf]:t}:null};function wi(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=_i?de:Tn;let i=ve(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:Q(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:Q(e.fallbackLocale)||Qe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(Xc(a.value,e)),u=s(ye(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(ye(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ve(e.missingWarn)||oo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ve(e.fallbackWarn)||oo(e.fallbackWarn)?e.fallbackWarn:!0,g=t?t.fallbackRoot:ve(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,_=Be(e.missing)?e.missing:null,y=Be(e.missing)?Ff(e.missing):null,b=Be(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const O=t?t.modifiers:ye(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&kf(null);const L={version:x0,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:O,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:E,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=f.value,L.__datetimeFormatters=ye(x)?x.__datetimeFormatters:void 0,L.__numberFormatters=ye(x)?x.__numberFormatters:void 0;const F=d0(L);return r&&kf(F),F})(),Eo(x,a.value,l.value);function T(){return[a.value,l.value,c.value,u.value,f.value]}const N=X({get:()=>a.value,set:L=>{x.locale=L,a.value=L}}),M=X({get:()=>l.value,set:L=>{x.fallbackLocale=L,l.value=L,Eo(x,a.value,L)}}),W=X(()=>c.value),Z=X(()=>u.value),H=X(()=>f.value);function K(){return Be(b)?b:null}function V(L){b=L,x.postTranslation=L}function ee(){return _}function ie(L){L!==null&&(y=Ff(L)),_=L,x.missing=y}const Xe=(L,F,te,oe,ge,Ie)=>{T();let Ce;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?f0():void 0),Ce=L(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(te!=="translate exists"&&rt(Ce)&&Ce===ra||te==="translate exists"&&!Ce){const[Kt,rn]=F();return t&&g?oe(t):ge(Kt)}else{if(Ie(Ce))return Ce;throw Nt(It.UNEXPECTED_RETURN_TYPE)}};function St(...L){return Xe(F=>Reflect.apply(Pf,null,[F,...L]),()=>Bl(...L),"translate",F=>Reflect.apply(F.t,F,[...L]),F=>F,F=>Q(F))}function Oe(...L){const[F,te,oe]=L;if(oe&&!we(oe))throw Nt(It.INVALID_ARGUMENT);return St(F,te,ot({resolvedMessage:!0},oe||{}))}function Ue(...L){return Xe(F=>Reflect.apply(Tf,null,[F,...L]),()=>jl(...L),"datetime format",F=>Reflect.apply(F.d,F,[...L]),()=>vi,F=>Q(F)||Qe(F))}function Lt(...L){return Xe(F=>Reflect.apply(Of,null,[F,...L]),()=>zl(...L),"number format",F=>Reflect.apply(F.n,F,[...L]),()=>vi,F=>Q(F)||Qe(F))}function Ct(L){return L.map(F=>Q(F)||rt(F)||ve(F)?Rf(String(F)):F)}const ht={normalize:Ct,interpolate:L=>L,type:"vnode"};function j(...L){return Xe(F=>{let te;const oe=F;try{oe.processor=ht,te=Reflect.apply(Pf,null,[oe,...L])}finally{oe.processor=null}return te},()=>Bl(...L),"translate",F=>F[Hl](...L),F=>[Rf(F)],F=>Qe(F))}function J(...L){return Xe(F=>Reflect.apply(Of,null,[F,...L]),()=>zl(...L),"number format",F=>F[Wl](...L),Mf,F=>Q(F)||Qe(F))}function q(...L){return Xe(F=>Reflect.apply(Tf,null,[F,...L]),()=>jl(...L),"datetime format",F=>F[Vl](...L),Mf,F=>Q(F)||Qe(F))}function ne(L){C=L,x.pluralRules=C}function pe(L,F){return Xe(()=>{if(!L)return!1;const te=Q(F)?F:a.value,oe=Q(F)?[te]:Ul(x,l.value,te);for(let ge=0;ge<oe.length;ge++){const Ie=P(oe[ge]);let Ce=x.messageResolver(Ie,L);if(Ce===null&&(Ce=Ie[L]),On(Ce)||Jt(Ce)||Q(Ce))return!0}return!1},()=>[L],"translate exists",te=>Reflect.apply(te.te,te,[L,F]),A0,te=>ve(te))}function k(L){let F=null;const te=Ul(x,l.value,a.value);for(let oe=0;oe<te.length;oe++){const ge=c.value[te[oe]]||{},Ie=x.messageResolver(ge,L);if(Ie!=null){F=Ie;break}}return F}function A(L){const F=k(L);return F??(t?t.tm(L)||{}:{})}function P(L){return c.value[L]||{}}function $(L,F){if(o){const te={[L]:F};for(const oe in te)Qt(te,oe)&&is(te[oe]);F=te[L]}c.value[L]=F,x.messages=c.value}function z(L,F){c.value[L]=c.value[L]||{};const te={[L]:F};if(o)for(const oe in te)Qt(te,oe)&&is(te[oe]);F=te[L],qs(F,c.value[L]),x.messages=c.value}function U(L){return u.value[L]||{}}function w(L,F){u.value[L]=F,x.datetimeFormats=u.value,Af(x,L,F)}function S(L,F){u.value[L]=ot(u.value[L]||{},F),x.datetimeFormats=u.value,Af(x,L,F)}function I(L){return f.value[L]||{}}function R(L,F){f.value[L]=F,x.numberFormats=f.value,If(x,L,F)}function Y(L,F){f.value[L]=ot(f.value[L]||{},F),x.numberFormats=f.value,If(x,L,F)}Df++,t&&_i&&(Ge(t.locale,L=>{i&&(a.value=L,x.locale=L,Eo(x,a.value,l.value))}),Ge(t.fallbackLocale,L=>{i&&(l.value=L,x.fallbackLocale=L,Eo(x,a.value,l.value))}));const B={id:Df,locale:N,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(L){i=L,L&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Eo(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:W,get modifiers(){return O},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(L){d=L,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(L){p=L,x.fallbackWarn=p},get fallbackRoot(){return g},set fallbackRoot(L){g=L},get fallbackFormat(){return h},set fallbackFormat(L){h=L,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(L){E=L,x.warnHtmlMessage=L},get escapeParameter(){return m},set escapeParameter(L){m=L,x.escapeParameter=L},t:St,getLocaleMessage:P,setLocaleMessage:$,mergeLocaleMessage:z,getPostTranslationHandler:K,setPostTranslationHandler:V,getMissingHandler:ee,setMissingHandler:ie,[Og]:ne};return B.datetimeFormats=Z,B.numberFormats=H,B.rt=Oe,B.te=pe,B.tm=A,B.d=Ue,B.n=Lt,B.getDateTimeFormat=U,B.setDateTimeFormat=w,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=Y,B[Ig]=n,B[Hl]=j,B[Vl]=q,B[Wl]=J,B}function I0(e){const t=Q(e.locale)?e.locale:ss,n=Q(e.fallbackLocale)||Qe(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Be(e.missing)?e.missing:void 0,o=ve(e.silentTranslationWarn)||oo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ve(e.silentFallbackWarn)||oo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ve(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=ye(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Be(e.postTranslation)?e.postTranslation:void 0,f=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ve(e.sync)?e.sync:!0;let g=e.messages;if(ye(e.sharedMessages)){const O=e.sharedMessages;g=Object.keys(O).reduce((x,v)=>{const T=x[v]||(x[v]={});return ot(T,O[v]),x},g||{})}const{__i18n:h,__root:_,__injectWithOption:y}=e,b=e.datetimeFormats,E=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:m,datetimeFormats:b,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:_,__injectWithOption:y}}function Gl(e={}){const t=wi(I0(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ve(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ve(o)?!o:o},get silentFallbackWarn(){return ve(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ve(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function L0(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Nt(It.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=$f(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Gl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=$f(e,o);else{this.$i18n=Gl({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Pg(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=as();if(!r)throw Nt(It.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function $f(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Og](t.pluralizationRules||e.pluralizationRules);const n=Xc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Jc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function P0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===nt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Me())}function Rg(){return nt}const R0=et({name:"i18n-t",props:ot({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>rt(e)||!isNaN(e)}},Jc),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||yo({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Me();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=Q(e.plural)?+e.plural:e.plural);const u=P0(t,l);return o[Hl](e.keypath,u,c)},i=ot(Me(),r),a=Q(e.tag)||we(e.tag)?e.tag:Rg();return we(a)?cr(a,i,{default:s}):cr(a,i,s())}}}),Uf=R0;function N0(e){return Qe(e)&&!Q(e[0])}function Ng(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Me();e.locale&&(c.locale=e.locale),Q(e.format)?c.key=e.format:we(e.format)&&(Q(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,g)=>n.includes(g)?ot(Me(),p,{[g]:e.format[g]}):p,Me()));const f=r(e.value,c,u);let d=[c.key];return Qe(f)?d=f.map((p,g)=>{const h=o[p.type],_=h?h({[p.type]:p.value,index:g,parts:f}):[p.value];return N0(_)&&(_[0].key=`${p.type}-${g}`),_}):Q(f)&&(d=[f]),d},a=ot(Me(),s),l=Q(e.tag)||we(e.tag)?e.tag:Rg();return we(l)?cr(l,a,{default:i}):cr(l,a,i())}}const M0=et({name:"i18n-n",props:ot({value:{type:Number,required:!0},format:{type:[String,Object]}},Jc),setup(e,t){const n=e.i18n||yo({useScope:e.scope,__useComponent:!0});return Ng(e,t,xg,(...r)=>n[Wl](...r))}}),jf=M0;function D0(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function F0(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Nt(It.UNEXPECTED_ERROR);const c=D0(e,a.$),u=zf(l);return[Reflect.apply(c.t,c,[...Bf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);_i&&(i.__i18nWatcher=Ge(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{_i&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=zf(a);i.textContent=Reflect.apply(l.t,l,[...Bf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function zf(e){if(Q(e))return{path:e};if(ye(e)){if(!("path"in e))throw Nt(It.REQUIRED_VALUE,"path");return e}else throw Nt(It.INVALID_VALUE)}function Bf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Q(n)&&(i.locale=n),rt(o)&&(i.plural=o),rt(s)&&(i.plural=s),[t,a,i]}function $0(e,t,...n){const r=ye(n[0])?n[0]:{};(!ve(r.globalInstall)||r.globalInstall)&&([Uf.name,"I18nT"].forEach(s=>e.component(s,Uf)),[jf.name,"I18nN"].forEach(s=>e.component(s,jf)),[Wf.name,"I18nD"].forEach(s=>e.component(s,Wf))),e.directive("t",F0(t))}const U0=dr("global-vue-i18n");function j0(e={}){const t=__VUE_I18N_LEGACY_API__&&ve(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ve(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=z0(e,t),i=dr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),ye(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=q0(f,u.global)),__VUE_I18N_FULL_INSTALL__&&$0(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(L0(s,s.__composer,u));const g=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),g()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function yo(e={}){const t=as();if(t==null)throw Nt(It.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Nt(It.NOT_INSTALLED);const n=B0(t),r=V0(n),o=Lg(t),s=H0(e,o);if(s==="global")return Pg(r,e,o),r;if(s==="parent"){let l=Hf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Nt(It.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ot({},e),u=Hf(n,t);c.__root=u||r;const f=wi(c);return l.__composerExtend&&(f[Gr]=l.__composerExtend(f)),zi()&&Eh(()=>{const p=f[Gr];p&&(p(),delete f[Gr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ot({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=wi(l),i.__composerExtend&&(a[Gr]=i.__composerExtend(a)),G0(i,t,a),i.__setInstance(t,a)}return a}function z0(e,t){const n=Lc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Gl(e)):n.run(()=>wi(e));if(r==null)throw Nt(It.UNEXPECTED_ERROR);return[n,r]}function B0(e){const t=Ht(e.isCE?U0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Nt(e.isCE?It.NOT_INSTALLED_WITH_PROVIDE:It.UNEXPECTED_ERROR);return t}function H0(e,t){return ta(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function V0(e){return e.mode==="composition"?e.global:e.global.__composer}function Hf(e,t,n=!1){let r=null;const o=t.root;let s=W0(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ig]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function W0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function G0(e,t,n){pn(()=>{},t),ho(()=>{const r=n;e.__deleteInstance(t);const o=r[Gr];o&&(o(),delete r[Gr])},t)}const K0=["locale","fallbackLocale","availableLocales"],Vf=["t","rt","d","n","tm","te"];function q0(e,t){const n=Object.create(null);return K0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Nt(It.UNEXPECTED_ERROR);const i=ze(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Vf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Nt(It.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Vf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Y0=et({name:"i18n-d",props:ot({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jc),setup(e,t){const n=e.i18n||yo({useScope:e.scope,__useComponent:!0});return Ng(e,t,kg,(...r)=>n[Vl](...r))}}),Wf=Y0;T0();i0(zC);a0(r0);l0(Ul);if(__INTLIFY_PROD_DEVTOOLS__){const e=wr();e.__INTLIFY__=!0,BC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const X0={class:"app-container"},J0=et({__name:"App",setup(e){const{locale:t}=yo(),n=Pm(),r=cE(n),{params:{compId:o="",instanceUid:s}}=go(),{messageListener:i,sendMessageToTop:a}=ea(),{addListener:l}=i(),c=Zi();return l(Le.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Le.LOCALE_SET,u=>{t.value=u}),a(Le.LOCALE_GET,o,c,s),a(Le.THEME_CHANGE_GET,o,c,s),pn(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=tm("router-view");return ue(),_e("div",X0,[qe(d)])}}}),nn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Q0=nn(J0,[["__scopeId","data-v-61ee6775"]]),Rs=window.parent,Z0=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];Object.defineProperty(window,"parent",{get(){return new Proxy(Rs,{get(e,t){if(Z0.includes(String(t)))return t==="postMessage"?Rs.postMessage.bind(Rs):Reflect.get(Rs,t);console.warn(`🛡️ 阻止访问 parent.${String(t)}`)},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return console.warn(`🛡️ 阻止检测 parent.${String(t)} 是否存在`),!1},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}})},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const ek={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loading:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},tk={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},nk={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},rk={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",guestLogin:"游客访问",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",guest:"游客",notLoggedIn:"未登录",goLogin:"去登录"},ok={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},sk={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},ik={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},ak={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},lk={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},ck={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},uk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},fk={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},dk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},pk={submit:"提交"},hk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},mk={common:ek,comp:tk,team:nk,user:rk,file:ok,message:sk,route:ik,markdown:ak,terminal:lk,deps:ck,setting:uk,upgrade:fk,tag:dk,formCreate:pk,validateHash:hk},gk={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loading:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},yk={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},bk={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},_k={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",guestLogin:"Guest Access",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",guest:"Guest",notLoggedIn:"Not logged in",goLogin:"Go to Login"},vk={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},wk={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},Ek={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},Sk={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},Ck={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},kk={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},xk={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Tk={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},Ak={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},Ok={submit:"Submit"},Ik={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},Lk={common:gk,comp:yk,team:bk,user:_k,file:vk,message:wk,route:Ek,markdown:Sk,terminal:Ck,deps:kk,setting:xk,upgrade:Tk,tag:Ak,formCreate:Ok,validateHash:Ik},Pk={zh:mk,en:Lk},Rk=localStorage.getItem(KS.LOCALE_KEY)||"zh",Nk=j0({locale:Rk,messages:Pk,legacy:!1});function Mk(e){e.use(Nk)}let Mg;const oa=e=>Mg=e,Dg=Symbol();function Kl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Go;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Go||(Go={}));function Dk(){const e=Lc(!0),t=e.run(()=>de({}));let n=[],r=[];const o=Mc({install(s){oa(o),o._a=s,s.provide(Dg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Fg=()=>{};function Gf(e,t,n,r=Fg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&zi()&&Eh(o),o}function Nr(e,...t){e.forEach(n=>{n(...t)})}const Fk=e=>e(),Kf=Symbol(),ja=Symbol();function ql(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Kl(o)&&Kl(r)&&e.hasOwnProperty(n)&&!ze(r)&&!Wn(r)?e[n]=ql(o,r):e[n]=r}return e}const $k=Symbol();function Uk(e){return!Kl(e)||!Object.prototype.hasOwnProperty.call(e,$k)}const{assign:tr}=Object;function jk(e){return!!(ze(e)&&e.effect)}function zk(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=lv(n.state.value[e]);return tr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Mc(X(()=>{oa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=$g(e,c,t,n,r,!0),l}function $g(e,t,n={},r,o,s){let i;const a=tr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const g=r.state.value[e];!s&&!g&&(r.state.value[e]={});let h;function _(v){let T;c=u=!1,typeof v=="function"?(v(r.state.value[e]),T={type:Go.patchFunction,storeId:e,events:p}):(ql(r.state.value[e],v),T={type:Go.patchObject,payload:v,storeId:e,events:p});const N=h=Symbol();fr().then(()=>{h===N&&(c=!0)}),u=!0,Nr(f,T,r.state.value[e])}const y=s?function(){const{state:T}=n,N=T?T():{};this.$patch(M=>{tr(M,N)})}:Fg;function b(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(v,T="")=>{if(Kf in v)return v[ja]=T,v;const N=function(){oa(r);const M=Array.from(arguments),W=new Set,Z=new Set;function H(ee){W.add(ee)}function K(ee){Z.add(ee)}Nr(d,{args:M,name:N[ja],store:O,after:H,onError:K});let V;try{V=v.apply(this&&this.$id===e?this:O,M)}catch(ee){throw Nr(Z,ee),ee}return V instanceof Promise?V.then(ee=>(Nr(W,ee),ee)).catch(ee=>(Nr(Z,ee),Promise.reject(ee))):(Nr(W,V),V)};return N[Kf]=!0,N[ja]=T,N},m={_p:r,$id:e,$onAction:Gf.bind(null,d),$patch:_,$reset:y,$subscribe(v,T={}){const N=Gf(f,v,T.detached,()=>M()),M=i.run(()=>Ge(()=>r.state.value[e],W=>{(T.flush==="sync"?u:c)&&v({storeId:e,type:Go.direct,events:p},W)},tr({},l,T)));return N},$dispose:b},O=ps(m);r._s.set(e,O);const x=(r._a&&r._a.runWithContext||Fk)(()=>r._e.run(()=>(i=Lc()).run(()=>t({action:E}))));for(const v in x){const T=x[v];if(ze(T)&&!jk(T)||Wn(T))s||(g&&Uk(T)&&(ze(T)?T.value=g[v]:ql(T,g[v])),r.state.value[e][v]=T);else if(typeof T=="function"){const N=E(T,v);x[v]=N,a.actions[v]=T}}return tr(O,x),tr(be(O),x),Object.defineProperty(O,"$state",{get:()=>r.state.value[e],set:v=>{_(T=>{tr(T,v)})}}),r._p.forEach(v=>{tr(O,i.run(()=>v({store:O,app:r._a,pinia:r,options:a})))}),g&&s&&n.hydrate&&n.hydrate(O.$state,g),c=!0,u=!0,O}function Ug(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=Fc();return i=i||(l?Ht(Dg,null):null),i&&oa(i),i=Mg,i._s.has(e)||(o?$g(e,t,r,i):zk(e,r,i)),i._s.get(e)}return s.$id=e,s}function Bk({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const qf=Dk();function Hk(e){qf.use(Bk),e.use(qf)}var Vk=typeof global=="object"&&global&&global.Object===Object&&global,Wk=typeof self=="object"&&self&&self.Object===Object&&self,Gk=Vk||Wk||Function("return this")(),Ei=Gk.Symbol,jg=Object.prototype,Kk=jg.hasOwnProperty,qk=jg.toString,So=Ei?Ei.toStringTag:void 0;function Yk(e){var t=Kk.call(e,So),n=e[So];try{e[So]=void 0;var r=!0}catch{}var o=qk.call(e);return r&&(t?e[So]=n:delete e[So]),o}var Xk=Object.prototype,Jk=Xk.toString;function Qk(e){return Jk.call(e)}var Zk="[object Null]",ex="[object Undefined]",Yf=Ei?Ei.toStringTag:void 0;function zg(e){return e==null?e===void 0?ex:Zk:Yf&&Yf in Object(e)?Yk(e):Qk(e)}function tx(e){return e!=null&&typeof e=="object"}var nx="[object Symbol]";function rx(e){return typeof e=="symbol"||tx(e)&&zg(e)==nx}var ox=/\s/;function sx(e){for(var t=e.length;t--&&ox.test(e.charAt(t)););return t}var ix=/^\s+/;function ax(e){return e&&e.slice(0,sx(e)+1).replace(ix,"")}function Si(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xf=NaN,lx=/^[-+]0x[0-9a-f]+$/i,cx=/^0b[01]+$/i,ux=/^0o[0-7]+$/i,fx=parseInt;function dx(e){if(typeof e=="number")return e;if(rx(e))return Xf;if(Si(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Si(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ax(e);var n=cx.test(e);return n||ux.test(e)?fx(e.slice(2),n?2:8):lx.test(e)?Xf:+e}var Jf=1/0,px=17976931348623157e292;function Qf(e){if(!e)return e===0?e:0;if(e=dx(e),e===Jf||e===-Jf){var t=e<0?-1:1;return t*px}return e===e?e:0}var hx="[object AsyncFunction]",mx="[object Function]",gx="[object GeneratorFunction]",yx="[object Proxy]";function bx(e){if(!Si(e))return!1;var t=zg(e);return t==mx||t==gx||t==hx||t==yx}var _x=9007199254740991,vx=/^(?:0|[1-9]\d*)$/;function wx(e,t){var n=typeof e;return t=t??_x,!!t&&(n=="number"||n!="symbol"&&vx.test(e))&&e>-1&&e%1==0&&e<t}function Ex(e,t){return e===t||e!==e&&t!==t}var Sx=9007199254740991;function Cx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Sx}function kx(e){return e!=null&&Cx(e.length)&&!bx(e)}function xx(e,t,n){if(!Si(n))return!1;var r=typeof t;return(r=="number"?kx(n)&&wx(t,n.length):r=="string"&&t in n)?Ex(n[t],e):!1}var Tx=Math.floor,Ax=Math.random;function Ox(e,t){return e+Tx(Ax()*(t-e+1))}var Ix=parseFloat,Lx=Math.min,Px=Math.random;function Rx(e,t,n){if(n&&typeof n!="boolean"&&xx(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=Qf(e),t===void 0?(t=e,e=0):t=Qf(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Px();return Lx(e+o*(t-e+Ix("1e-"+((o+"").length-1))),t)}return Ox(e,t)}const Bg=/^[a-z0-9]+(-[a-z0-9]+)*$/,sa=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Ys(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Ys(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Ys(a,n)?null:a}return null},Ys=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Nx(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const Hg=Object.freeze({left:0,top:0,width:16,height:16}),Ci=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ia=Object.freeze({...Hg,...Ci}),Yl=Object.freeze({...ia,body:"",hidden:!1});function Mx(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Zf(e,t){const n=Mx(e,t);for(const r in Yl)r in Ci?r in e&&!(r in n)&&(n[r]=Ci[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Dx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Zf(r[a]||o[a],s)}return i(t),n.forEach(i),Zf(e,s)}function Vg(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Nx(e);for(const o in r){const s=r[o];s&&(t(o,Dx(e,o,s)),n.push(o))}return n}const Fx={provider:"",aliases:{},not_found:{},...Hg};function za(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Wg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!za(e,Fx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!za(s,Yl))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!za(s,Yl))return null}return t}const ed=Object.create(null);function $x(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function io(e,t){const n=ed[e]||(ed[e]=Object.create(null));return n[t]||(n[t]=$x(e,t))}function Gg(e,t){return Wg(t)?Vg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ux(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Kg(e){return typeof e=="boolean"&&(ls=e),ls}function jx(e){const t=typeof e=="string"?sa(e,!0,ls):e;if(t){const n=io(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function zx(e,t){const n=sa(e,!0,ls);if(!n)return!1;const r=io(n.provider,n.prefix);return t?Ux(r,n.name,t):(r.missing.add(n.name),!0)}function Bx(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Wg(e)&&(e.prefix="",Vg(e,(o,s)=>{zx(o,s)&&(r=!0)})),r}const n=e.prefix;return Ys({prefix:n,name:"a"})?!!Gg(io(t,n),e):!1}const qg=Object.freeze({width:null,height:null}),Yg=Object.freeze({...qg,...Ci}),Hx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Vx=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function td(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Hx);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Vx.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function Wx(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function Gx(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Kx(e,t,n){const r=Wx(e);return Gx(r.defs,t+r.content+n)}const qx=e=>e==="unset"||e==="undefined"||e==="none";function Yx(e,t){const n={...ia,...e},r={...Yg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const _=[],y=h.hFlip,b=h.vFlip;let E=h.rotate;y?b?E+=2:(_.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),_.push("scale(-1 1)"),o.top=o.left=0):b&&(_.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),_.push("scale(1 -1)"),o.top=o.left=0);let m;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:m=o.height/2+o.top,_.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:_.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:m=o.width/2+o.left,_.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}E%2===1&&(o.left!==o.top&&(m=o.left,o.left=o.top,o.top=m),o.width!==o.height&&(m=o.width,o.width=o.height,o.height=m)),_.length&&(s=Kx(s,'<g transform="'+_.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=td(f,l/c)):(u=i==="auto"?l:i,f=a===null?td(u,c/l):a==="auto"?c:a);const d={},p=(h,_)=>{qx(_)||(d[h]=_.toString())};p("width",u),p("height",f);const g=[o.left,o.top,l,c];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:s}}const Xx=/\sid="(\S+)"/g,nd=new Map;function Jx(e){e=e.replace(/[0-9]+$/,"")||"a";const t=nd.get(e)||0;return nd.set(e,t+1),t?`${e}${t}`:e}function Qx(e){const t=[];let n;for(;n=Xx.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=Jx(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Xl=Object.create(null);function Zx(e,t){Xl[e]=t}function Jl(e){return Xl[e]||Xl[""]}function Qc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Zc=Object.create(null),Co=["https://api.simplesvg.com","https://api.unisvg.com"],Xs=[];for(;Co.length>0;)Co.length===1||Math.random()>.5?Xs.push(Co.shift()):Xs.push(Co.pop());Zc[""]=Qc({resources:["https://api.iconify.design"].concat(Xs)});function eT(e,t){const n=Qc(t);return n===null?!1:(Zc[e]=n,!0)}function eu(e){return Zc[e]}const tT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let rd=tT();function nT(e,t){const n=eu(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function rT(e){return e===404}const oT=(e,t,n)=>{const r=[],o=nT(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function sT(e){if(typeof e=="string"){const t=eu(e);if(t)return t.path}return"/"}const iT=(e,t,n)=>{if(!rd){n("abort",424);return}let r=sT(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;rd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(rT(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},aT={prepare:oT,send:iT};function Xg(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function lT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Xg([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let cT=0;function uT(e,t,n){const r=cT++,o=Xg.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function fT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=io(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function dT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?sa(o,t,n):o;s&&r.push(s)}),r}const pT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function hT(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const x=Math.floor(Math.random()*C.length);i.push(C[x]),C=C.slice(0,x).concat(C.slice(x+1))}i=i.concat(C)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function g(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),g(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function _(C,x){x&&(p=[]),typeof C=="function"&&p.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:_,abort:h}}function b(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,x,v){const T=x!=="success";switch(d=d.filter(N=>N!==C),l){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=v,b();return}if(T){u=v,d.length||(i.length?O():b());return}if(g(),E(),!e.random){const N=e.resources.indexOf(C.resource);N!==-1&&N!==e.index&&(e.index=N)}l="completed",p.forEach(N=>{N(v)})}function O(){if(l!=="pending")return;g();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{g(),l==="pending"&&(E(),b())},e.timeout);return}b();return}const x={status:"pending",resource:C,callback:(v,T)=>{m(x,v,T)}};d.push(x),c++,f=setTimeout(O,e.rotate),n(C,t,x.callback)}return setTimeout(O),y}function Jg(e){const t={...pT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=hT(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function od(){}const Ba=Object.create(null);function mT(e){if(!Ba[e]){const t=eu(e);if(!t)return;Ba[e]={config:t,redundancy:Jg(t)}}return Ba[e]}function gT(e,t,n){let r,o;if(typeof e=="string"){const s=Jl(e);if(!s)return n(void 0,424),od;o=s.send;const i=mT(e);i&&(r=i.redundancy)}else{const s=Qc(e);if(s){r=Jg(s);const i=Jl(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),od):r.query(t,o,n)().abort}function sd(){}function yT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,lT(e)}))}function bT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Bg)?t:n).push(r)}),{valid:t,invalid:n}}function ko(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!Gg(e,n).length){r();return}}catch(o){console.error(o)}r(),yT(e)}function id(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function _T(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){id(e.loadIcons(o,r,n),c=>{ko(e,o,c)});return}if(s){o.forEach(c=>{id(s(c,r,n),u=>{ko(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=bT(o);if(a.length&&ko(e,a,null),!i.length)return;const l=r.match(Bg)?Jl(n):null;if(!l){ko(e,i,null);return}l.prepare(n,r,i).forEach(c=>{gT(n,c,u=>{ko(e,c.icons,u)})})}))}const vT=(e,t)=>{const n=fT(dT(e,!0,Kg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,sd)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(io(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=io(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&_T(a,l)}),t?uT(t,n,o):sd};function wT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in qg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ET=/[\s,]+/;function ST(e,t){t.split(ET).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function kT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function xT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function TT(e){return"data:image/svg+xml,"+xT(e)}function AT(e){return'url("'+TT(e)+'")'}const ad={...Yg,inline:!1},OT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},IT={display:"inline-block"},Ql={backgroundColor:"currentColor"},Qg={backgroundColor:"transparent"},ld={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},cd={webkitMask:Ql,mask:Ql,background:Qg};for(const e in cd){const t=cd[e];for(const n in ld)t[e+n]=ld[n]}const Js={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Js[e+"-flip"]=t,Js[e.slice(0,1)+"-flip"]=t,Js[e+"Flip"]=t});function ud(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const fd=(e,t)=>{const n=wT(ad,t),r={...OT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const _=t[h];if(_!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[h]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&ST(n,_);break;case"color":s.color=_;break;case"rotate":typeof _=="string"?n[h]=CT(_):typeof _=="number"&&(n[h]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete r["aria-hidden"];break;default:{const y=Js[h];y?(_===!0||_==="true"||_===1)&&(n[y]=!0):ad[h]===void 0&&(r[h]=_)}}}const l=Yx(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=Qx(l.body),cr("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),g=kT(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":AT(g),width:ud(c.width),height:ud(c.height),...IT,...p?Ql:Qg,...a},cr("span",r)};Kg(!0);Zx("",aT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Bx(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;eT(n,o)||console.error(r)}catch{console.error(r)}}}}const LT={...ia,body:""},PT=et((e,{emit:t})=>{const n=de(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=de(!!e.ssr),s=de(""),i=Tn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=sa(c,!1,!0))===null)return null;let f=jx(u);if(!f){const g=n.value;return(!g||g.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:vT([u],l)}),null}r(),s.value!==c&&(s.value=c,fr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const g=d(f.body,u.name,u.prefix,u.provider);typeof g=="string"&&(f.body=g)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():pn(()=>{o.value=!0,l()}),Ge(()=>e.icon,l),ho(r),()=>{const c=i.value;if(!c)return fd(LT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),fd({...ia,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function RT(e){e.component("Icon",PT)}const aa="v-loading-mask",Zg="v-loading-spinner",ey="v-loading-parent";function NT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function MT(){const e=document.createElement("div");e.className=aa,e.innerHTML=`<div class="${Zg}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=NT(),t.zIndex="999",t.borderRadius="inherit",e}function DT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
4
|
-
.${Zg} {
|
|
5
|
-
width: 40px;
|
|
6
|
-
height: 40px;
|
|
7
|
-
border: 3px solid #e0e0e0;
|
|
8
|
-
border-top-color: #409eff;
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
animation: v-loading-rotate 0.8s linear infinite;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@keyframes v-loading-rotate {
|
|
14
|
-
0% { transform: rotate(0deg); }
|
|
15
|
-
100% { transform: rotate(360deg); }
|
|
16
|
-
}
|
|
17
|
-
`,document.head.appendChild(e)}const FT=200,Ns=new WeakMap;function $T(e){if(e.querySelector(`.${aa}`))return;e.classList.add(ey),getComputedStyle(e).position==="static"&&(e.style.position="relative"),DT(),e.appendChild(MT())}function UT(e){const t=e.querySelector(`.${aa}`);t&&t.remove(),e.classList.remove(ey)}function dd(e,t){const n=Ns.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${aa}`)){const o=setTimeout(()=>{Ns.delete(e),$T(e)},FT);Ns.set(e,o)}}else n&&(clearTimeout(n),Ns.delete(e)),UT(e)}const jT={mounted(e,t){dd(e,t)},updated(e,t){t.value!==t.oldValue&&dd(e,t)}};function zT(e){Hk(e),Mk(e),RT(e),e.directive("loading",jT)}const Vr=typeof document<"u";function ty(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function BT(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ty(e.default)}const ke=Object.assign;function Ha(e,t){const n={};for(const r in t){const o=t[r];n[r]=dn(o)?o.map(e):e(o)}return n}const Ko=()=>{},dn=Array.isArray;function pd(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let Je=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const ny=Symbol("");Je.MATCHER_NOT_FOUND+"",Je.NAVIGATION_GUARD_REDIRECT+"",Je.NAVIGATION_ABORTED+"",Je.NAVIGATION_CANCELLED+"",Je.NAVIGATION_DUPLICATED+"";function ao(e,t){return ke(new Error,{type:e,[ny]:!0},t)}function Dn(e,t){return e instanceof Error&&ny in e&&(t==null||!!(e.type&t))}const HT=["params","query","hash"];function VT(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of HT)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const WT=Symbol(""),hd=Symbol(""),tu=Symbol(""),ry=Symbol(""),Zl=Symbol("");const oy=/#/g,GT=/&/g,KT=/\//g,qT=/=/g,YT=/\?/g,sy=/\+/g,XT=/%5B/g,JT=/%5D/g,iy=/%5E/g,QT=/%60/g,ay=/%7B/g,ZT=/%7C/g,ly=/%7D/g,eA=/%20/g;function nu(e){return e==null?"":encodeURI(""+e).replace(ZT,"|").replace(XT,"[").replace(JT,"]")}function tA(e){return nu(e).replace(ay,"{").replace(ly,"}").replace(iy,"^")}function ec(e){return nu(e).replace(sy,"%2B").replace(eA,"+").replace(oy,"%23").replace(GT,"%26").replace(QT,"`").replace(ay,"{").replace(ly,"}").replace(iy,"^")}function nA(e){return ec(e).replace(qT,"%3D")}function rA(e){return nu(e).replace(oy,"%23").replace(YT,"%3F")}function oA(e){return rA(e).replace(KT,"%2F")}function ki(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const sA=/\/$/,iA=e=>e.replace(sA,"");function Va(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),s=t.slice(l,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=uA(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:ki(i)}}function aA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function md(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&lo(t.matched[r],n.matched[o])&&cy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function lo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function cy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!cA(e[n],t[n]))return!1;return!0}function cA(e,t){return dn(e)?gd(e,t):dn(t)?gd(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function gd(e,t){return dn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function uA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Jn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let tc=(function(e){return e.pop="pop",e.push="push",e})({}),Wa=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function fA(e){if(!e)if(Vr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),iA(e)}const dA=/^[^#]+#/;function pA(e,t){return e.replace(dA,"#")+t}function hA(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const la=()=>({left:window.scrollX,top:window.scrollY});function mA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=hA(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function yd(e,t){return(history.state?history.state.position-t:-1)+e}const nc=new Map;function gA(e,t){nc.set(e,t)}function yA(e){const t=nc.get(e);return nc.delete(e),t}function bA(e){return typeof e=="string"||e&&typeof e=="object"}function uy(e){return typeof e=="string"||typeof e=="symbol"}function _A(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(sy," "),s=o.indexOf("="),i=ki(s<0?o:o.slice(0,s)),a=s<0?null:ki(o.slice(s+1));if(i in t){let l=t[i];dn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function bd(e){let t="";for(let n in e){const r=e[n];if(n=nA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(dn(r)?r.map(o=>o&&ec(o)):[r&&ec(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function vA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=dn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function xo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function or(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(ao(Je.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):bA(d)?l(ao(Je.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function Ga(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(ty(l)){const c=(l.__vccOpts||l)[t];c&&s.push(or(c,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=BT(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&or(d,n,r,i,a,o)()}))}}return s}function wA(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>lo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>lo(c,l))||o.push(l))}return[n,r,o]}let EA=()=>location.protocol+"//"+location.host;function fy(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),md(a,"")}return md(n,e)+r+o}function SA(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=fy(e,location),g=n.value,h=t.value;let _=0;if(d){if(n.value=p,t.value=d,i&&i===g){i=null;return}_=h?d.position-h.position:0}else r(p);o.forEach(y=>{y(n.value,g,{delta:_,type:tc.pop,direction:_?_>0?Wa.forward:Wa.back:Wa.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const g=o.indexOf(d);g>-1&&o.splice(g,1)};return s.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ke({},d.state,{scroll:la()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function _d(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?la():null}}function CA(e){const{history:t,location:n}=window,r={value:fy(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:EA()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){s(l,ke({},t.state,_d(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=ke({},o.value,t.state,{forward:l,scroll:la()});s(u.current,u,!0),s(l,ke({},_d(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function kA(e){e=fA(e);const t=CA(e),n=SA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ke({location:"",base:e,go:r,createHref:pA.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Er=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var it=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(it||{});const xA={type:Er.Static,value:""},TA=/[a-zA-Z0-9_]/;function AA(e){if(!e)return[[]];if(e==="/")return[[xA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=it.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===it.Static?s.push({type:Er.Static,value:c}):n===it.Param||n===it.ParamRegExp||n===it.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Er.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;)switch(l=e[a++],n){case it.Static:l==="\\"?(r=n,n=it.EscapeNext):l==="/"?(c&&f(),i()):l===":"?(f(),n=it.Param):d();break;case it.EscapeNext:d(),n=r;break;case it.Param:l==="("?n=it.ParamRegExp:TA.test(l)?d():(f(),n=it.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case it.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=it.ParamRegExpEnd:u+=l;break;case it.ParamRegExpEnd:f(),n=it.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===it.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const vd="[^/]+?",OA={sensitive:!1,strict:!1,start:!0,end:!0};var xt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(xt||{});const IA=/[.+*?^${}()[\]/\\]/g;function LA(e,t){const n=ke({},OA,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[xt.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=xt.Segment+(n.sensitive?xt.BonusCaseSensitive:0);if(d.type===Er.Static)f||(o+="/"),o+=d.value.replace(IA,"\\$&"),p+=xt.Static;else if(d.type===Er.Param){const{value:g,repeatable:h,optional:_,regexp:y}=d;s.push({name:g,repeatable:h,optional:_});const b=y||vd;if(b!==vd){p+=xt.BonusCustomRegExp;try{new RegExp(`(${b})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${g}" (${b}): `+m.message)}}let E=h?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(E=_&&c.length<2?`(?:/${E})`:"/"+E),_&&(E+="?"),o+=E,p+=xt.Dynamic,_&&(p+=xt.BonusOptional),h&&(p+=xt.BonusRepeatable),b===".*"&&(p+=xt.BonusWildcard)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=xt.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",g=s[d-1];f[g.name]=p&&g.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===Er.Static)u+=p.value;else if(p.type===Er.Param){const{value:g,repeatable:h,optional:_}=p,y=g in c?c[g]:"";if(dn(y)&&!h)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const b=dn(y)?y.join("/"):y;if(!b)if(_)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);u+=b}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function PA(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===xt.Static+xt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===xt.Static+xt.Segment?1:-1:0}function dy(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=PA(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(wd(r))return 1;if(wd(o))return-1}return o.length-r.length}function wd(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const RA={strict:!1,end:!0,sensitive:!1};function NA(e,t,n){const r=LA(AA(e.path),n),o=ke(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function MA(e,t){const n=[],r=new Map;t=pd(RA,t);function o(f){return r.get(f)}function s(f,d,p){const g=!p,h=Sd(f);h.aliasOf=p&&p.record;const _=pd(t,f),y=[h];if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const O of m)y.push(Sd(ke({},h,{components:p?p.record.components:h.components,path:O,aliasOf:p?p.record:h})))}let b,E;for(const m of y){const{path:O}=m;if(d&&O[0]!=="/"){const C=d.record.path,x=C[C.length-1]==="/"?"":"/";m.path=d.record.path+(O&&x+O)}if(b=NA(m,d,_),p?p.alias.push(b):(E=E||b,E!==b&&E.alias.push(b),g&&f.name&&!Cd(b)&&i(f.name)),py(b)&&l(b),h.children){const C=h.children;for(let x=0;x<C.length;x++)s(C[x],b,p&&p.children[x])}p=p||b}return E?()=>{i(E)}:Ko}function i(f){if(uy(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=$A(f,n);n.splice(d,0,f),f.record.name&&!Cd(f)&&r.set(f.record.name,f)}function c(f,d){let p,g={},h,_;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw ao(Je.MATCHER_NOT_FOUND,{location:f});_=p.record.name,g=ke(Ed(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&Ed(f.params,p.keys.map(E=>E.name))),h=p.stringify(g)}else if(f.path!=null)h=f.path,p=n.find(E=>E.re.test(h)),p&&(g=p.parse(h),_=p.record.name,p.keys.forEach(E=>{E.optional&&!g[E.name]&&delete g[E.name]}));else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw ao(Je.MATCHER_NOT_FOUND,{location:f,currentLocation:d});_=p.record.name,g=ke({},d.params,f.params),h=p.stringify(g)}const y=[];let b=p;for(;b;)y.unshift(b.record),b=b.parent;return{name:_,path:h,params:g,matched:y,meta:FA(y)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Ed(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Sd(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:DA(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function DA(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Cd(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function FA(e){return e.reduce((t,n)=>ke(t,n.meta),{})}function $A(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;dy(e,t[s])<0?r=s:n=s+1}const o=UA(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function UA(e){let t=e;for(;t=t.parent;)if(py(t)&&dy(e,t)===0)return t}function py({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function kd(e){const t=Ht(tu),n=Ht(ry),r=X(()=>{const l=Ve(e.to);return t.resolve(l)}),o=X(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(lo.bind(null,u));if(d>-1)return d;const p=xd(l[c-2]);return c>1&&xd(u)===p&&f[f.length-1].path!==p?f.findIndex(lo.bind(null,l[c-2])):d}),s=X(()=>o.value>-1&&VA(n.params,r.value.params)),i=X(()=>o.value>-1&&o.value===n.matched.length-1&&cy(n.params,r.value.params));function a(l={}){if(HA(l)){const c=t[Ve(e.replace)?"replace":"push"](Ve(e.to)).catch(Ko);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:X(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function jA(e){return e.length===1?e[0]:e}const zA=et({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:kd,setup(e,{slots:t}){const n=ps(kd(e)),{options:r}=Ht(tu),o=X(()=>({[Td(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Td(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&jA(t.default(n));return e.custom?s:cr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),BA=zA;function HA(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function VA(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!dn(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function xd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Td=(e,t,n)=>e??t??n,WA=et({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ht(Zl),o=X(()=>e.route||r.value),s=Ht(hd,0),i=X(()=>{let c=Ve(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=X(()=>o.value.matched[i.value]);Bo(hd,X(()=>i.value+1)),Bo(WT,a),Bo(Zl,o);const l=de();return Ge(()=>[l.value,a.value,e.name],([c,u,f],[d,p,g])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!lo(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(h=>h(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Ad(n.default,{Component:d,route:c});const p=f.props[u],g=p?p===!0?c.params:typeof p=="function"?p(c):p:null,_=cr(d,ke({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Ad(n.default,{Component:_,route:c})||_}}});function Ad(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const GA=WA;function KA(e){const t=MA(e.routes,e),n=e.parseQuery||_A,r=e.stringifyQuery||bd,o=e.history,s=xo(),i=xo(),a=xo(),l=Tn(Jn);let c=Jn;Vr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ha.bind(null,j=>""+j),f=Ha.bind(null,oA),d=Ha.bind(null,ki);function p(j,J){let q,ne;return uy(j)?(q=t.getRecordMatcher(j),ne=J):ne=j,t.addRoute(ne,q)}function g(j){const J=t.getRecordMatcher(j);J&&t.removeRoute(J)}function h(){return t.getRoutes().map(j=>j.record)}function _(j){return!!t.getRecordMatcher(j)}function y(j,J){if(J=ke({},J||l.value),typeof j=="string"){const P=Va(n,j,J.path),$=t.resolve({path:P.path},J),z=o.createHref(P.fullPath);return ke(P,$,{params:d($.params),redirectedFrom:void 0,href:z})}let q;if(j.path!=null)q=ke({},j,{path:Va(n,j.path,J.path).path});else{const P=ke({},j.params);for(const $ in P)P[$]==null&&delete P[$];q=ke({},j,{params:f(P)}),J.params=f(J.params)}const ne=t.resolve(q,J),pe=j.hash||"";ne.params=u(d(ne.params));const k=aA(r,ke({},j,{hash:tA(pe),path:ne.path})),A=o.createHref(k);return ke({fullPath:k,hash:pe,query:r===bd?vA(j.query):j.query||{}},ne,{redirectedFrom:void 0,href:A})}function b(j){return typeof j=="string"?Va(n,j,l.value.path):ke({},j)}function E(j,J){if(c!==j)return ao(Je.NAVIGATION_CANCELLED,{from:J,to:j})}function m(j){return x(j)}function O(j){return m(ke(b(j),{replace:!0}))}function C(j,J){const q=j.matched[j.matched.length-1];if(q&&q.redirect){const{redirect:ne}=q;let pe=typeof ne=="function"?ne(j,J):ne;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=b(pe):{path:pe},pe.params={}),ke({query:j.query,hash:j.hash,params:pe.path!=null?{}:j.params},pe)}}function x(j,J){const q=c=y(j),ne=l.value,pe=j.state,k=j.force,A=j.replace===!0,P=C(q,ne);if(P)return x(ke(b(P),{state:typeof P=="object"?ke({},pe,P.state):pe,force:k,replace:A}),J||q);const $=q;$.redirectedFrom=J;let z;return!k&&lA(r,ne,q)&&(z=ao(Je.NAVIGATION_DUPLICATED,{to:$,from:ne}),Oe(ne,ne,!0,!1)),(z?Promise.resolve(z):N($,ne)).catch(U=>Dn(U)?Dn(U,Je.NAVIGATION_GUARD_REDIRECT)?U:St(U):ie(U,$,ne)).then(U=>{if(U){if(Dn(U,Je.NAVIGATION_GUARD_REDIRECT))return x(ke({replace:A},b(U.to),{state:typeof U.to=="object"?ke({},pe,U.to.state):pe,force:k}),J||$)}else U=W($,ne,!0,A,pe);return M($,ne,U),U})}function v(j,J){const q=E(j,J);return q?Promise.reject(q):Promise.resolve()}function T(j){const J=Ct.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(j):j()}function N(j,J){let q;const[ne,pe,k]=wA(j,J);q=Ga(ne.reverse(),"beforeRouteLeave",j,J);for(const P of ne)P.leaveGuards.forEach($=>{q.push(or($,j,J))});const A=v.bind(null,j,J);return q.push(A),ht(q).then(()=>{q=[];for(const P of s.list())q.push(or(P,j,J));return q.push(A),ht(q)}).then(()=>{q=Ga(pe,"beforeRouteUpdate",j,J);for(const P of pe)P.updateGuards.forEach($=>{q.push(or($,j,J))});return q.push(A),ht(q)}).then(()=>{q=[];for(const P of k)if(P.beforeEnter)if(dn(P.beforeEnter))for(const $ of P.beforeEnter)q.push(or($,j,J));else q.push(or(P.beforeEnter,j,J));return q.push(A),ht(q)}).then(()=>(j.matched.forEach(P=>P.enterCallbacks={}),q=Ga(k,"beforeRouteEnter",j,J,T),q.push(A),ht(q))).then(()=>{q=[];for(const P of i.list())q.push(or(P,j,J));return q.push(A),ht(q)}).catch(P=>Dn(P,Je.NAVIGATION_CANCELLED)?P:Promise.reject(P))}function M(j,J,q){a.list().forEach(ne=>T(()=>ne(j,J,q)))}function W(j,J,q,ne,pe){const k=E(j,J);if(k)return k;const A=J===Jn,P=Vr?history.state:{};q&&(ne||A?o.replace(j.fullPath,ke({scroll:A&&P&&P.scroll},pe)):o.push(j.fullPath,pe)),l.value=j,Oe(j,J,q,A),St()}let Z;function H(){Z||(Z=o.listen((j,J,q)=>{if(!$t.listening)return;const ne=y(j),pe=C(ne,$t.currentRoute.value);if(pe){x(ke(pe,{replace:!0,force:!0}),ne).catch(Ko);return}c=ne;const k=l.value;Vr&&gA(yd(k.fullPath,q.delta),la()),N(ne,k).catch(A=>Dn(A,Je.NAVIGATION_ABORTED|Je.NAVIGATION_CANCELLED)?A:Dn(A,Je.NAVIGATION_GUARD_REDIRECT)?(x(ke(b(A.to),{force:!0}),ne).then(P=>{Dn(P,Je.NAVIGATION_ABORTED|Je.NAVIGATION_DUPLICATED)&&!q.delta&&q.type===tc.pop&&o.go(-1,!1)}).catch(Ko),Promise.reject()):(q.delta&&o.go(-q.delta,!1),ie(A,ne,k))).then(A=>{A=A||W(ne,k,!1),A&&(q.delta&&!Dn(A,Je.NAVIGATION_CANCELLED)?o.go(-q.delta,!1):q.type===tc.pop&&Dn(A,Je.NAVIGATION_ABORTED|Je.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(ne,k,A)}).catch(Ko)}))}let K=xo(),V=xo(),ee;function ie(j,J,q){St(j);const ne=V.list();return ne.length?ne.forEach(pe=>pe(j,J,q)):console.error(j),Promise.reject(j)}function Xe(){return ee&&l.value!==Jn?Promise.resolve():new Promise((j,J)=>{K.add([j,J])})}function St(j){return ee||(ee=!j,H(),K.list().forEach(([J,q])=>j?q(j):J()),K.reset()),j}function Oe(j,J,q,ne){const{scrollBehavior:pe}=e;if(!Vr||!pe)return Promise.resolve();const k=!q&&yA(yd(j.fullPath,0))||(ne||!q)&&history.state&&history.state.scroll||null;return fr().then(()=>pe(j,J,k)).then(A=>A&&mA(A)).catch(A=>ie(A,j,J))}const Ue=j=>o.go(j);let Lt;const Ct=new Set,$t={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:h,resolve:y,options:e,push:m,replace:O,go:Ue,back:()=>Ue(-1),forward:()=>Ue(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:V.add,isReady:Xe,install(j){j.component("RouterLink",BA),j.component("RouterView",GA),j.config.globalProperties.$router=$t,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>Ve(l)}),Vr&&!Lt&&l.value===Jn&&(Lt=!0,m(o.location).catch(ne=>{}));const J={};for(const ne in Jn)Object.defineProperty(J,ne,{get:()=>l.value[ne],enumerable:!0});j.provide(tu,$t),j.provide(ry,Uh(J)),j.provide(Zl,l);const q=j.unmount;Ct.add(j),j.unmount=function(){Ct.delete(j),Ct.size<1&&(c=Jn,Z&&Z(),Z=null,l.value=Jn,Lt=!1,ee=!1),q()}}};function ht(j){return j.reduce((J,q)=>J.then(()=>T(q)),Promise.resolve())}return $t}const qA="modulepreload",YA=function(e){return"/item/"+e},Od={},XA=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};var i=c;document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=c(n.map(u=>{if(u=YA(u),u in Od)return;Od[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":qA,f||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((g,h)=>{p.addEventListener("load",g),p.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})},Po={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},JA=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case Po.WIDTH_FIRST:s=e/n;break;case Po.HEIGHT_FIRST:s=t/r;break;case Po.CONTAIN:s=Math.min(e/n,t/r);break;case Po.COVER:s=Math.max(e/n,t/r);break;default:s=1;break}const i=n*s,a=r*s,l=(e-i)/2,c=(t-a)/2;return{transform:`translate(${l}px, ${c}px) scale(${s})`,transformOrigin:"left top"}},Id=(e,t=Po.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:JA({panelWidth:e.clientWidth-10,panelHeight:e.clientHeight-10,width:n,height:r,mode:t}),sr=0,G=1,fe=2,tt=3,$e=4,hn=5,ca=6,yt=7,Pt=8,me=9,le=10,Ke=11,he=12,Ye=13,ys=14,Rt=15,wt=16,Et=17,Ft=18,Gt=19,tn=20,Ee=21,se=22,ct=23,Wt=24,dt=25,QA=0;function ft(e){return e>=48&&e<=57}function ur(e){return ft(e)||e>=65&&e<=70||e>=97&&e<=102}function ru(e){return e>=65&&e<=90}function ZA(e){return e>=97&&e<=122}function eO(e){return ru(e)||ZA(e)}function tO(e){return e>=128}function xi(e){return eO(e)||tO(e)||e===95}function hy(e){return xi(e)||ft(e)||e===45}function nO(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Ti(e){return e===10||e===13||e===12}function Ir(e){return Ti(e)||e===32||e===9}function kn(e,t){return!(e!==92||Ti(t)||t===QA)}function Qs(e,t,n){return e===45?xi(t)||t===45||kn(t,n):xi(e)?!0:e===92?kn(e,t):!1}function Ka(e,t,n){return e===43||e===45?ft(t)?2:t===46&&ft(n)?3:0:e===46?ft(t)?2:0:ft(e)?1:0}function my(e){return e===65279||e===65534?1:0}const rc=new Array(128),rO=128,Zs=130,gy=131,ou=132,yy=133;for(let e=0;e<rc.length;e++)rc[e]=Ir(e)&&Zs||ft(e)&&gy||xi(e)&&ou||nO(e)&&yy||e||rO;function qa(e){return e<128?rc[e]:ou}function Qr(e,t){return t<e.length?e.charCodeAt(t):0}function oc(e,t,n){return n===13&&Qr(e,t+1)===10?2:1}function Zr(e,t,n){let r=e.charCodeAt(t);return ru(r)&&(r=r|32),r===n}function cs(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let o=t;o<n;o++){const s=r.charCodeAt(o-t);let i=e.charCodeAt(o);if(ru(i)&&(i=i|32),i!==s)return!1}return!0}function oO(e,t){for(;t>=0&&Ir(e.charCodeAt(t));t--);return t+1}function Ms(e,t){for(;t<e.length&&Ir(e.charCodeAt(t));t++);return t}function Ya(e,t){for(;t<e.length&&ft(e.charCodeAt(t));t++);return t}function co(e,t){if(t+=2,ur(Qr(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&ur(Qr(e,t));t++);const n=Qr(e,t);Ir(n)&&(t+=oc(e,t,n))}return t}function Ds(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!hy(n)){if(kn(n,Qr(e,t+1))){t=co(e,t)-1;continue}break}}return t}function ua(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),ft(n)&&(t=Ya(e,t+1),n=e.charCodeAt(t)),n===46&&ft(e.charCodeAt(t+1))&&(t+=2,t=Ya(e,t)),Zr(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),ft(n)&&(t=Ya(e,t+1+r+1))}return t}function Xa(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}kn(n,Qr(e,t+1))&&(t=co(e,t))}return t}function by(e){if(e.length===1&&!ur(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const sc=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],sO=16*1024;function Ai(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,sO)):e}const Ld=10,iO=12,Pd=13;function Rd(e){const t=e.source,n=t.length,r=t.length>0?my(t.charCodeAt(0)):0,o=Ai(e.lines,n),s=Ai(e.columns,n);let i=e.startLine,a=e.startColumn;for(let l=r;l<n;l++){const c=t.charCodeAt(l);o[l]=i,s[l]=a++,(c===Ld||c===Pd||c===iO)&&(c===Pd&&l+1<n&&t.charCodeAt(l+1)===Ld&&(l++,o[l]=i,s[l]=a),i++,a=1)}o[n]=i,s[n]=a,e.lines=o,e.columns=s,e.computed=!0}class aO{constructor(t,n,r,o){this.setSource(t,n,r,o),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,o=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=o,this.computed=!1}getLocation(t,n){return this.computed||Rd(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||Rd(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const on=16777215,sn=24,bs=1,fa=2,ir=new Uint8Array(32);ir[fe]=se;ir[Ee]=se;ir[Gt]=tn;ir[ct]=Wt;const ln=new Uint8Array(32);ln[fe]=bs;ln[Ee]=bs;ln[Gt]=bs;ln[ct]=bs;ln[se]=fa;ln[tn]=fa;ln[Wt]=fa;function Nd(e,t,n){return e<t?t:e>n?n:e}class lO{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,o=Ai(this.offsetAndType,t.length+1),s=Ai(this.balance,t.length+1);let i=0,a=-1,l=0,c=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),n(t,(u,f,d)=>{const p=i++;if(o[p]=u<<sn|d,a===-1&&(a=f),s[p]=c,u===l){const g=s[c];s[c]=p,c=g,l=ir[o[g]>>sn]}else this.isBlockOpenerTokenType(u)&&(c=p,l=ir[u])}),o[i]=sr<<sn|r,s[i]=i;for(let u=0;u<i;u++){const f=s[u];if(f<=u){const d=s[f];d!==u&&(s[u]=d)}else f>i&&(s[u]=i)}this.source=t,this.firstCharOffset=a===-1?0:a,this.tokenCount=i,this.offsetAndType=o,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>sn:sr}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>sn;if(r!==Ye&&r!==dt&&t--===0)return r}return sr}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&on:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>sn;if(r!==Ye&&r!==dt&&t--===0)return n-this.tokenIndex}return sr}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?cs(this.source,this.offsetAndType[t-1]&on,this.offsetAndType[t]&on,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&on:this.offsetAndType[this.tokenCount]&on:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[Nd(t,0,this.tokenCount)]&on}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[Nd(t,0,this.tokenCount)]>>sn}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return ln[t]===bs}isBlockCloserTokenType(t){return ln[t]===fa}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(ln[n]===1){const r=this.balance[t],o=this.getTokenType(r);return ir[n]===o?r:-1}else if(ln[n]===2){const r=this.balance[t],o=this.getTokenType(r);return ir[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===me&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===me&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&on,n=this.offsetAndType[n],this.tokenType=n>>sn,this.tokenEnd=n&on):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>sn,this.tokenEnd=t&on):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=sr,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ye||this.tokenType===dt;)this.next()}skipUntilBalanced(t,n){let r=t,o=0,s=0;e:for(;r<this.tokenCount;r++){if(o=this.balance[r],o<t)break e;switch(s=r>0?this.offsetAndType[r-1]&on:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>sn)&&(r=o)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const o=r,s=this.offsetAndType[n],i=s&on,a=s>>sn;r=i,t(a,o,i,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,s)=>{t[s]={idx:s,type:sc[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function da(e,t){function n(f){return f<a?e.charCodeAt(f):0}function r(){if(c=ua(e,c),Qs(n(c),n(c+1),n(c+2))){u=he,c=Ds(e,c);return}if(n(c)===37){u=Ke,c++;return}u=le}function o(){const f=c;if(c=Ds(e,c),cs(e,f,c,"url")&&n(c)===40){if(c=Ms(e,c+1),n(c)===34||n(c)===39){u=fe,c=f+4;return}i();return}if(n(c)===40){u=fe,c++;return}u=G}function s(f){for(f||(f=n(c++)),u=hn;c<e.length;c++){const d=e.charCodeAt(c);switch(qa(d)){case f:c++;return;case Zs:if(Ti(d)){c+=oc(e,c,d),u=ca;return}break;case 92:if(c===e.length-1)break;const p=n(c+1);Ti(p)?c+=oc(e,c+1,p):kn(d,p)&&(c=co(e,c)-1);break}}}function i(){for(u=yt,c=Ms(e,c);c<e.length;c++){const f=e.charCodeAt(c);switch(qa(f)){case 41:c++;return;case Zs:if(c=Ms(e,c),n(c)===41||c>=e.length){c<e.length&&c++;return}c=Xa(e,c),u=Pt;return;case 34:case 39:case 40:case yy:c=Xa(e,c),u=Pt;return;case 92:if(kn(f,n(c+1))){c=co(e,c)-1;break}c=Xa(e,c),u=Pt;return}}}e=String(e||"");const a=e.length;let l=my(n(0)),c=l,u;for(;c<a;){const f=e.charCodeAt(c);switch(qa(f)){case Zs:u=Ye,c=Ms(e,c+1);break;case 34:s();break;case 35:hy(n(c+1))||kn(n(c+1),n(c+2))?(u=$e,c=Ds(e,c+1)):(u=me,c++);break;case 39:s();break;case 40:u=Ee,c++;break;case 41:u=se,c++;break;case 43:Ka(f,n(c+1),n(c+2))?r():(u=me,c++);break;case 44:u=Ft,c++;break;case 45:Ka(f,n(c+1),n(c+2))?r():n(c+1)===45&&n(c+2)===62?(u=Rt,c=c+3):Qs(f,n(c+1),n(c+2))?o():(u=me,c++);break;case 46:Ka(f,n(c+1),n(c+2))?r():(u=me,c++);break;case 47:n(c+1)===42?(u=dt,c=e.indexOf("*/",c+2),c=c===-1?e.length:c+2):(u=me,c++);break;case 58:u=wt,c++;break;case 59:u=Et,c++;break;case 60:n(c+1)===33&&n(c+2)===45&&n(c+3)===45?(u=ys,c=c+4):(u=me,c++);break;case 64:Qs(n(c+1),n(c+2),n(c+3))?(u=tt,c=Ds(e,c+1)):(u=me,c++);break;case 91:u=Gt,c++;break;case 92:kn(f,n(c+1))?o():(u=me,c++);break;case 93:u=tn,c++;break;case 123:u=ct,c++;break;case 125:u=Wt,c++;break;case gy:r();break;case ou:o();break;default:u=me,c++}t(u,l,l=c)}}let Mr=null;class lt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return lt.createItem(t)}allocateCursor(t,n){let r;return Mr!==null?(r=Mr,Mr=Mr.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=Mr,Mr=t}updateCursors(t,n,r,o){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=n),s.next===r&&(s.next=o),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const o=lt.createItem(r);n!==null?n.next=o:this.head=o,o.prev=n,n=o}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const o=r.next;r.next=o.next,t.call(n,o.data,o,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const o=r.prev;r.prev=o.prev,t.call(n,o.data,o,this)}this.releaseCursor()}reduce(t,n,r=this){let o=this.allocateCursor(null,this.head),s=n,i;for(;o.next!==null;)i=o.next,o.next=i.next,s=t.call(r,s,i.data,i,this);return this.releaseCursor(),s}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),s=n,i;for(;o.prev!==null;)i=o.prev,o.prev=i.prev,s=t.call(r,s,i.data,i,this);return this.releaseCursor(),s}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new lt;for(let o=this.head;o!==null;o=o.next)r.appendData(t.call(n,o.data,o,this));return r}filter(t,n=this){const r=new lt;for(let o=this.head;o!==null;o=o.next)t.call(n,o.data,o,this)&&r.appendData(o.data);return r}nextUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(null,t);for(;o.next!==null;){const s=o.next;if(o.next=s.next,n.call(r,s.data,s,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(t,null);for(;o.prev!==null;){const s=o.prev;if(o.prev=s.prev,n.call(r,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new lt;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(lt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(lt.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(lt.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(lt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(lt.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function pa(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
18
|
-
`)}})}const Ja=100,Md=60,Dd=" ";function Fd({source:e,line:t,column:n,baseLine:r,baseColumn:o},s){function i(g,h){return c.slice(g,h).map((_,y)=>String(g+y+1).padStart(d)+" |"+_).join(`
|
|
19
|
-
`)}const a=`
|
|
20
|
-
`.repeat(Math.max(r-1,0)),l=" ".repeat(Math.max(o-1,0)),c=(a+l+e).split(/\r\n?|\n|\f/),u=Math.max(1,t-s)-1,f=Math.min(t+s,c.length+1),d=Math.max(4,String(f).length)+1;let p=0;n+=(Dd.length-1)*(c[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Ja&&(p=n-Md+3,n=Md-2);for(let g=u;g<=f;g++)g>=0&&g<c.length&&(c[g]=c[g].replace(/\t/g,Dd),c[g]=(p>0&&c[g].length>p?"…":"")+c[g].substr(p,Ja-2)+(c[g].length>p+Ja-1?"…":""));return[i(u,t),new Array(n+d+2).join("-")+"^",i(t,f)].filter(Boolean).join(`
|
|
21
|
-
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function $d(e,t,n,r,o,s=1,i=1){return Object.assign(pa("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment(l){return Fd({source:t,line:r,column:o,baseLine:s,baseColumn:i},isNaN(l)?0:l)},get formattedMessage(){return`Parse error: ${e}
|
|
22
|
-
`+Fd({source:t,line:r,column:o,baseLine:s,baseColumn:i},2)}})}function cO(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case dt:this.next();continue;case Ye:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Dr=()=>{},uO=33,fO=35,Qa=59,Ud=123,jd=0,dO={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},pO={createList(){return new lt},createSingleNodeList(e){return new lt().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function hO(e){return function(){return this[e]()}}function Za(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function mO(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Za(e.atrule),pseudo:Za(e.pseudo),node:Za(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=hO(r);break}return{config:t,...t,...t.node}}function gO(e){let t="",n="<unknown>",r=!1,o=Dr,s=!1;const i=new aO,a=Object.assign(new lO,mO(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:cO,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===Ud?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===Ud||u===Qa?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===uO||u===Qa?1:0},consumeUntilSemicolonIncluded(u){return u===Qa?2:0},createList:Dr,createSingleNodeList:Dr,getFirstListNode:Dr,getLastListNode:Dr,parseWithFallback(u,f){const d=this.tokenIndex;try{return u.call(this)}catch(p){if(s)throw p;this.skip(d-this.tokenIndex);const g=f.call(this);return s=!0,o(p,g),s=!1,g}},lookupNonWSType(u){let f;do if(f=this.lookupType(u++),f!==Ye&&f!==dt)return f;while(f!==jd);return jd},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,f){return t.substring(u,f)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,f){return Zr(t,u,f)},cmpStr(u,f,d){return cs(t,u,f,d)},consume(u){const f=this.tokenStart;return this.eat(u),this.substrToCursor(f)},consumeFunctionName(){const u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(fe),u},consumeNumber(u){const f=t.substring(this.tokenStart,ua(t,this.tokenStart));return this.eat(u),f},eat(u){if(this.tokenType!==u){const f=sc[u].slice(0,-6).replace(/-/g," ").replace(/^./,g=>g.toUpperCase());let d=`${/[[\](){}]/.test(f)?`"${f}"`:f} is expected`,p=this.tokenStart;switch(u){case G:this.tokenType===fe||this.tokenType===yt?(p=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case $e:this.isDelim(fO)&&(this.next(),p++,d="Name is expected");break;case Ke:this.tokenType===le&&(p=this.tokenEnd,d="Percent sign is expected");break}this.error(d,p)}this.next()},eatIdent(u){(this.tokenType!==G||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,f){return r?i.getLocationRange(u,f,n):null},getLocationFromList(u){if(r){const f=this.getFirstListNode(u),d=this.getLastListNode(u);return i.getLocationRange(f!==null?f.loc.start.offset-i.startOffset:this.tokenStart,d!==null?d.loc.end.offset-i.startOffset:this.tokenStart,n)}return null},error(u,f){const d=typeof f<"u"&&f<t.length?i.getLocation(f):this.eof?i.getLocation(oO(t,t.length-1)):i.getLocation(this.tokenStart);throw new $d(u||"Unexpected input",t,d.offset,d.line,d.column,i.startLine,i.startColumn)}}),l=()=>({filename:n,source:t,tokenCount:a.tokenCount,getTokenType:u=>a.getTokenType(u),getTokenTypeName:u=>sc[a.getTokenType(u)],getTokenStart:u=>a.getTokenStart(u),getTokenEnd:u=>a.getTokenEnd(u),getTokenValue:u=>a.source.substring(a.getTokenStart(u),a.getTokenEnd(u)),substring:(u,f)=>a.source.substring(u,f),balance:a.balance.subarray(0,a.tokenCount+1),isBlockOpenerTokenType:a.isBlockOpenerTokenType,isBlockCloserTokenType:a.isBlockCloserTokenType,getBlockTokenPairIndex:u=>a.getBlockTokenPairIndex(u),getLocation:u=>i.getLocation(u,n),getRangeLocation:(u,f)=>i.getLocationRange(u,f,n)});return Object.assign(function(u,f){t=u,f=f||{},a.setSource(t,da),i.setSource(t,f.offset,f.line,f.column),n=f.filename||"<unknown>",r=!!f.positions,o=typeof f.onParseError=="function"?f.onParseError:Dr,s=!1,a.parseAtrulePrelude="parseAtrulePrelude"in f?!!f.parseAtrulePrelude:!0,a.parseRulePrelude="parseRulePrelude"in f?!!f.parseRulePrelude:!0,a.parseValue="parseValue"in f?!!f.parseValue:!0,a.parseCustomProperty="parseCustomProperty"in f?!!f.parseCustomProperty:!1;const{context:d="default",list:p=!0,onComment:g,onToken:h}=f;if(!(d in a.context))throw new Error("Unknown context `"+d+"`");Object.assign(a,p?pO:dO),Array.isArray(h)?a.forEachToken((y,b,E)=>{h.push({type:y,start:b,end:E})}):typeof h=="function"&&a.forEachToken(h.bind(l())),typeof g=="function"&&a.forEachToken((y,b,E)=>{if(y===dt){const m=a.getLocation(b,E),O=cs(t,E-2,E,"*/")?t.slice(b+2,E-2):t.slice(b+2,E);g(O,m)}});const _=a.context[d].call(a,f);return a.eof||a.error(),_},{SyntaxError:$d,config:a.config})}var el={},Fs={},$s={},zd;function yO(){if(zd)return $s;zd=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return $s.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},$s.decode=function(t){var n=65,r=90,o=97,s=122,i=48,a=57,l=43,c=47,u=26,f=52;return n<=t&&t<=r?t-n:o<=t&&t<=s?t-o+u:i<=t&&t<=a?t-i+f:t==l?62:t==c?63:-1},$s}var Bd;function bO(){if(Bd)return Fs;Bd=1;var e=yO(),t=5,n=1<<t,r=n-1,o=n;function s(a){return a<0?(-a<<1)+1:(a<<1)+0}function i(a){var l=(a&1)===1,c=a>>1;return l?-c:c}return Fs.encode=function(l){var c="",u,f=s(l);do u=f&r,f>>>=t,f>0&&(u|=o),c+=e.encode(u);while(f>0);return c},Fs.decode=function(l,c,u){var f=l.length,d=0,p=0,g,h;do{if(c>=f)throw new Error("Expected more digits in base 64 VLQ value.");if(h=e.decode(l.charCodeAt(c++)),h===-1)throw new Error("Invalid base64 digit: "+l.charAt(c-1));g=!!(h&o),h&=r,d=d+(h<<p),p+=t}while(g);u.value=i(d),u.rest=c},Fs}var tl={},Hd;function su(){return Hd||(Hd=1,(function(e){function t(v,T,N){if(T in v)return v[T];if(arguments.length===3)return N;throw new Error('"'+T+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(v){var T=v.match(n);return T?{scheme:T[1],auth:T[2],host:T[3],port:T[4],path:T[5]}:null}e.urlParse=o;function s(v){var T="";return v.scheme&&(T+=v.scheme+":"),T+="//",v.auth&&(T+=v.auth+"@"),v.host&&(T+=v.host),v.port&&(T+=":"+v.port),v.path&&(T+=v.path),T}e.urlGenerate=s;var i=32;function a(v){var T=[];return function(N){for(var M=0;M<T.length;M++)if(T[M].input===N){var W=T[0];return T[0]=T[M],T[M]=W,T[0].result}var Z=v(N);return T.unshift({input:N,result:Z}),T.length>i&&T.pop(),Z}}var l=a(function(T){var N=T,M=o(T);if(M){if(!M.path)return T;N=M.path}for(var W=e.isAbsolute(N),Z=[],H=0,K=0;;)if(H=K,K=N.indexOf("/",H),K===-1){Z.push(N.slice(H));break}else for(Z.push(N.slice(H,K));K<N.length&&N[K]==="/";)K++;for(var V,ee=0,K=Z.length-1;K>=0;K--)V=Z[K],V==="."?Z.splice(K,1):V===".."?ee++:ee>0&&(V===""?(Z.splice(K+1,ee),ee=0):(Z.splice(K,2),ee--));return N=Z.join("/"),N===""&&(N=W?"/":"."),M?(M.path=N,s(M)):N});e.normalize=l;function c(v,T){v===""&&(v="."),T===""&&(T=".");var N=o(T),M=o(v);if(M&&(v=M.path||"/"),N&&!N.scheme)return M&&(N.scheme=M.scheme),s(N);if(N||T.match(r))return T;if(M&&!M.host&&!M.path)return M.host=T,s(M);var W=T.charAt(0)==="/"?T:l(v.replace(/\/+$/,"")+"/"+T);return M?(M.path=W,s(M)):W}e.join=c,e.isAbsolute=function(v){return v.charAt(0)==="/"||n.test(v)};function u(v,T){v===""&&(v="."),v=v.replace(/\/$/,"");for(var N=0;T.indexOf(v+"/")!==0;){var M=v.lastIndexOf("/");if(M<0||(v=v.slice(0,M),v.match(/^([^\/]+:\/)?\/*$/)))return T;++N}return Array(N+1).join("../")+T.substr(v.length+1)}e.relative=u;var f=(function(){var v=Object.create(null);return!("__proto__"in v)})();function d(v){return v}function p(v){return h(v)?"$"+v:v}e.toSetString=f?d:p;function g(v){return h(v)?v.slice(1):v}e.fromSetString=f?d:g;function h(v){if(!v)return!1;var T=v.length;if(T<9||v.charCodeAt(T-1)!==95||v.charCodeAt(T-2)!==95||v.charCodeAt(T-3)!==111||v.charCodeAt(T-4)!==116||v.charCodeAt(T-5)!==111||v.charCodeAt(T-6)!==114||v.charCodeAt(T-7)!==112||v.charCodeAt(T-8)!==95||v.charCodeAt(T-9)!==95)return!1;for(var N=T-10;N>=0;N--)if(v.charCodeAt(N)!==36)return!1;return!0}function _(v,T,N){var M=m(v.source,T.source);return M!==0||(M=v.originalLine-T.originalLine,M!==0)||(M=v.originalColumn-T.originalColumn,M!==0||N)||(M=v.generatedColumn-T.generatedColumn,M!==0)||(M=v.generatedLine-T.generatedLine,M!==0)?M:m(v.name,T.name)}e.compareByOriginalPositions=_;function y(v,T,N){var M;return M=v.originalLine-T.originalLine,M!==0||(M=v.originalColumn-T.originalColumn,M!==0||N)||(M=v.generatedColumn-T.generatedColumn,M!==0)||(M=v.generatedLine-T.generatedLine,M!==0)?M:m(v.name,T.name)}e.compareByOriginalPositionsNoSource=y;function b(v,T,N){var M=v.generatedLine-T.generatedLine;return M!==0||(M=v.generatedColumn-T.generatedColumn,M!==0||N)||(M=m(v.source,T.source),M!==0)||(M=v.originalLine-T.originalLine,M!==0)||(M=v.originalColumn-T.originalColumn,M!==0)?M:m(v.name,T.name)}e.compareByGeneratedPositionsDeflated=b;function E(v,T,N){var M=v.generatedColumn-T.generatedColumn;return M!==0||N||(M=m(v.source,T.source),M!==0)||(M=v.originalLine-T.originalLine,M!==0)||(M=v.originalColumn-T.originalColumn,M!==0)?M:m(v.name,T.name)}e.compareByGeneratedPositionsDeflatedNoLine=E;function m(v,T){return v===T?0:v===null?1:T===null?-1:v>T?1:-1}function O(v,T){var N=v.generatedLine-T.generatedLine;return N!==0||(N=v.generatedColumn-T.generatedColumn,N!==0)||(N=m(v.source,T.source),N!==0)||(N=v.originalLine-T.originalLine,N!==0)||(N=v.originalColumn-T.originalColumn,N!==0)?N:m(v.name,T.name)}e.compareByGeneratedPositionsInflated=O;function C(v){return JSON.parse(v.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=C;function x(v,T,N){if(T=T||"",v&&(v[v.length-1]!=="/"&&T[0]!=="/"&&(v+="/"),T=v+T),N){var M=o(N);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var W=M.path.lastIndexOf("/");W>=0&&(M.path=M.path.substring(0,W+1))}T=c(s(M),T)}return l(T)}e.computeSourceURL=x})(tl)),tl}var nl={},Vd;function _O(){if(Vd)return nl;Vd=1;var e=su(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(s,i){for(var a=new r,l=0,c=s.length;l<c;l++)a.add(s[l],i);return a},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(s,i){var a=n?s:e.toSetString(s),l=n?this.has(s):t.call(this._set,a),c=this._array.length;(!l||i)&&this._array.push(s),l||(n?this._set.set(s,c):this._set[a]=c)},r.prototype.has=function(s){if(n)return this._set.has(s);var i=e.toSetString(s);return t.call(this._set,i)},r.prototype.indexOf=function(s){if(n){var i=this._set.get(s);if(i>=0)return i}else{var a=e.toSetString(s);if(t.call(this._set,a))return this._set[a]}throw new Error('"'+s+'" is not in the set.')},r.prototype.at=function(s){if(s>=0&&s<this._array.length)return this._array[s];throw new Error("No element indexed by "+s)},r.prototype.toArray=function(){return this._array.slice()},nl.ArraySet=r,nl}var rl={},Wd;function vO(){if(Wd)return rl;Wd=1;var e=su();function t(r,o){var s=r.generatedLine,i=o.generatedLine,a=r.generatedColumn,l=o.generatedColumn;return i>s||i==s&&l>=a||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,s){this._array.forEach(o,s)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},rl.MappingList=n,rl}var Gd;function wO(){if(Gd)return el;Gd=1;var e=bO(),t=su(),n=_O().ArraySet,r=vO().MappingList;function o(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(s,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(i,a){var l=i.sourceRoot,c=new o(Object.assign(a||{},{file:i.file,sourceRoot:l}));return i.eachMapping(function(u){var f={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(f.source=u.source,l!=null&&(f.source=t.relative(l,f.source)),f.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(f.name=u.name)),c.addMapping(f)}),i.sources.forEach(function(u){var f=u;l!==null&&(f=t.relative(l,u)),c._sources.has(f)||c._sources.add(f);var d=i.sourceContentFor(u);d!=null&&c.setSourceContent(u,d)}),c},o.prototype.addMapping=function(i){var a=t.getArg(i,"generated"),l=t.getArg(i,"original",null),c=t.getArg(i,"source",null),u=t.getArg(i,"name",null);!this._skipValidation&&this._validateMapping(a,l,c,u)===!1||(c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),u!=null&&(u=String(u),this._names.has(u)||this._names.add(u)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:c,name:u}))},o.prototype.setSourceContent=function(i,a){var l=i;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=a):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(i,a,l){var c=a;if(a==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=i.file}var u=this._sourceRoot;u!=null&&(c=t.relative(u,c));var f=new n,d=new n;this._mappings.unsortedForEach(function(p){if(p.source===c&&p.originalLine!=null){var g=i.originalPositionFor({line:p.originalLine,column:p.originalColumn});g.source!=null&&(p.source=g.source,l!=null&&(p.source=t.join(l,p.source)),u!=null&&(p.source=t.relative(u,p.source)),p.originalLine=g.line,p.originalColumn=g.column,g.name!=null&&(p.name=g.name))}var h=p.source;h!=null&&!f.has(h)&&f.add(h);var _=p.name;_!=null&&!d.has(_)&&d.add(_)},this),this._sources=f,this._names=d,i.sources.forEach(function(p){var g=i.sourceContentFor(p);g!=null&&(l!=null&&(p=t.join(l,p)),u!=null&&(p=t.relative(u,p)),this.setSourceContent(p,g))},this)},o.prototype._validateMapping=function(i,a,l,c){if(a&&typeof a.line!="number"&&typeof a.column!="number"){var u="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}if(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!a&&!l&&!c)){if(i&&"line"in i&&"column"in i&&a&&"line"in a&&"column"in a&&i.line>0&&i.column>=0&&a.line>0&&a.column>=0&&l)return;var u="Invalid mapping: "+JSON.stringify({generated:i,source:l,original:a,name:c});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}},o.prototype._serializeMappings=function(){for(var i=0,a=1,l=0,c=0,u=0,f=0,d="",p,g,h,_,y=this._mappings.toArray(),b=0,E=y.length;b<E;b++){if(g=y[b],p="",g.generatedLine!==a)for(i=0;g.generatedLine!==a;)p+=";",a++;else if(b>0){if(!t.compareByGeneratedPositionsInflated(g,y[b-1]))continue;p+=","}p+=e.encode(g.generatedColumn-i),i=g.generatedColumn,g.source!=null&&(_=this._sources.indexOf(g.source),p+=e.encode(_-f),f=_,p+=e.encode(g.originalLine-1-c),c=g.originalLine-1,p+=e.encode(g.originalColumn-l),l=g.originalColumn,g.name!=null&&(h=this._names.indexOf(g.name),p+=e.encode(h-u),u=h)),d+=p}return d},o.prototype._generateSourcesContent=function(i,a){return i.map(function(l){if(!this._sourcesContents)return null;a!=null&&(l=t.relative(a,l));var c=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},o.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},el.SourceMapGenerator=o,el}var EO=wO();const Kd=new Set(["Atrule","Selector","Declaration"]);function SO(e){const t=new EO.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},s={generated:o};let i=1,a=0,l=!1;const c=e.node;e.node=function(d){if(d.loc&&d.loc.start&&Kd.has(d.type)){const p=d.loc.start.line,g=d.loc.start.column-1;(r.line!==p||r.column!==g)&&(r.line=p,r.column=g,n.line=i,n.column=a,l&&(l=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(s)),l=!0,t.addMapping({source:d.loc.source,original:r,generated:n}))}c.call(this,d),l&&Kd.has(d.type)&&(o.line=i,o.column=a)};const u=e.emit;e.emit=function(d,p,g){for(let h=0;h<d.length;h++)d.charCodeAt(h)===10?(i++,a=0):a++;u(d,p,g)};const f=e.result;return e.result=function(){return l&&t.addMapping(s),{css:f(),map:t}},e}const CO=43,kO=45,ol=(e,t)=>(e===me&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),_y=[[G,G],[G,fe],[G,yt],[G,Pt],[G,"-"],[G,le],[G,Ke],[G,he],[G,Rt],[G,Ee],[tt,G],[tt,fe],[tt,yt],[tt,Pt],[tt,"-"],[tt,le],[tt,Ke],[tt,he],[tt,Rt],[$e,G],[$e,fe],[$e,yt],[$e,Pt],[$e,"-"],[$e,le],[$e,Ke],[$e,he],[$e,Rt],[he,G],[he,fe],[he,yt],[he,Pt],[he,"-"],[he,le],[he,Ke],[he,he],[he,Rt],["#",G],["#",fe],["#",yt],["#",Pt],["#","-"],["#",le],["#",Ke],["#",he],["#",Rt],["-",G],["-",fe],["-",yt],["-",Pt],["-","-"],["-",le],["-",Ke],["-",he],["-",Rt],[le,G],[le,fe],[le,yt],[le,Pt],[le,le],[le,Ke],[le,he],[le,"%"],[le,Rt],["@",G],["@",fe],["@",yt],["@",Pt],["@","-"],["@",Rt],[".",le],[".",Ke],[".",he],["+",le],["+",Ke],["+",he],["/","*"]],xO=_y.concat([[G,$e],[he,$e],[$e,$e],[tt,Ee],[tt,hn],[tt,wt],[Ke,Ke],[Ke,he],[Ke,fe],[Ke,"-"],[se,G],[se,fe],[se,Ke],[se,he],[se,$e],[se,"-"]]);function vy(e){const t=new Set(e.map(([n,r])=>ol(n)<<16|ol(r)));return function(n,r,o){const s=ol(r,o),i=o.charCodeAt(0),a=i===kO&&r!==G&&r!==fe&&r!==Rt||i===CO?t.has((n&65534)<<16|i<<7):t.has((n&65534)<<16|s);return s|a}}const TO=vy(_y),wy=vy(xO),qd=Object.freeze(Object.defineProperty({__proto__:null,safe:wy,spec:TO},Symbol.toStringTag,{value:"Module"})),AO=92;function OO(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function IO(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let o="",s=0,i={node(l){if(t.has(l.type))t.get(l.type).call(a,l);else throw new Error("Unknown node type: "+l.type)},tokenBefore:wy,token(l,c,u){s=this.tokenBefore(s,l,c),!u&&s&1&&this.emit(" ",Ye,!0),this.emit(c,l,!1),l===me&&c.charCodeAt(0)===AO&&this.emit(`
|
|
23
|
-
`,Ye,!0)},emit(l){o+=l},result(){return o}};r&&(typeof r.decorator=="function"&&(i=r.decorator(i)),r.sourceMap&&(i=SO(i)),r.mode in qd&&(i.tokenBefore=qd[r.mode]));const a={node:l=>i.node(l),children:OO,token:(l,c)=>i.token(l,c),tokenize:l=>da(l,(c,u,f)=>{i.token(c,l.slice(u,f),u!==0)})};return i.node(n),i.result()}}function LO(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof lt)&&(n.children=new lt().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof lt&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:iu}=Object.prototype,Ro=function(){};function Yd(e){return typeof e=="function"?e:Ro}function Xd(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function PO(e,t){const n=t.structure,r=[];for(const o in n){if(iu.call(n,o)===!1)continue;let s=n[o];const i={name:o,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(const a of s)a===null?i.nullable=!0:typeof a=="string"?i.type="node":Array.isArray(a)&&(i.type="list");i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function RO(e){const t={};for(const n in e.node)if(iu.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=PO(n,r)}return t}function Jd(e,t){const n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(s,i,a,l){let c;o&&(c=i[r],i[r]=s);for(const u of n){const f=s[u.name];if(!u.nullable||f){if(u.type==="list"){if(t?f.reduceRight(l,!1):f.reduce(l,!1))return!0}else if(a(f))return!0}}o&&(i[r]=c)}}function Qd({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function NO(e){const t=RO(e),n={},r={},o=Symbol("break-walk"),s=Symbol("skip-node");for(const c in t)iu.call(t,c)&&t[c]!==null&&(n[c]=Jd(t[c],!1),r[c]=Jd(t[c],!0));const i=Qd(n),a=Qd(r),l=function(c,u){function f(y,b,E){const m=d.call(_,y,b,E);return m===o?!0:m===s?!1:!!(g.hasOwnProperty(y.type)&&g[y.type](y,_,f,h)||p.call(_,y,b,E)===o)}let d=Ro,p=Ro,g=n,h=(y,b,E,m)=>y||f(b,E,m);const _={break:o,skip:s,root:c,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")d=u;else if(u&&(d=Yd(u.enter),p=Yd(u.leave),u.reverse&&(g=r),u.visit)){if(i.hasOwnProperty(u.visit))g=u.reverse?a[u.visit]:i[u.visit];else if(!t.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");d=Xd(d,u.visit),p=Xd(p,u.visit)}if(d===Ro&&p===Ro)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");f(c)};return l.break=o,l.skip=s,l.find=function(c,u){let f=null;return l(c,function(d,p,g){if(u.call(this,d,p,g))return f=d,o}),f},l.findLast=function(c,u){let f=null;return l(c,{reverse:!0,enter(d,p,g){if(u.call(this,d,p,g))return f=d,o}}),f},l.findAll=function(c,u){const f=[];return l(c,function(d,p,g){u.call(this,d,p,g)&&f.push(d)}),f},l}function MO(e){return e}function DO(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function FO(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function $O(e,t,n,r){const o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",s=e.terms.map(i=>Oi(i,t,n,r)).join(o);return e.explicit||n?(r||s[0]===","?"[":"[ ")+s+(r?"]":" ]"):s}function Oi(e,t,n,r){let o;switch(e.type){case"Group":o=$O(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Oi(e.term,t,n,r)+t(DO(e),e);case"Boolean":o="<boolean-expr["+Oi(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(FO(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function au(e,t){let n=MO,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),Oi(e,n,r,o)}const Zd={offset:0,line:1,column:1};function UO(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,s=o!==t?o:null;let i=0,a=0,l=0,c="",u,f;for(let d=0;d<n.length;d++){const p=n[d].value;d===r&&(a=p.length,i=c.length),s!==null&&n[d].node===s&&(d<=r?l++:l=0),c+=p}return r===n.length||l>1?(u=Us(s||t,"end")||No(Zd,c),f=No(u)):(u=Us(s,"start")||No(Us(t,"start")||Zd,c.slice(0,i)),f=Us(s,"end")||No(u,c.substr(i,a))),{css:c,mismatchOffset:i,mismatchLength:a,start:u,end:f}}function Us(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?No(n):n:null}function No({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const s=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=s.length-1,o.column=s.length===1?o.column+r.length:s.pop().length+1}return o}const To=function(e,t){const n=pa("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},jO=function(e,t,n,r){const o=pa("SyntaxMatchError",e),{css:s,mismatchOffset:i,mismatchLength:a,start:l,end:c}=UO(r,n);return o.rawMessage=e,o.syntax=t?au(t):"<generic>",o.css=s,o.mismatchOffset=i,o.mismatchLength=a,o.message=e+`
|
|
24
|
-
syntax: `+o.syntax+`
|
|
25
|
-
value: `+(s||"<empty string>")+`
|
|
26
|
-
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,l),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},o},js=new Map,Fr=new Map,Ii=45,sl=zO,ep=BO;function lu(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ii&&e.charCodeAt(t+1)===Ii}function Ey(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ii&&e.charCodeAt(t+1)!==Ii){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function zO(e){if(js.has(e))return js.get(e);const t=e.toLowerCase();let n=js.get(t);if(n===void 0){const r=lu(t,0),o=r?"":Ey(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return js.set(e,n),n}function BO(e){if(Fr.has(e))return Fr.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=lu(t,n.length);if(!r&&(t=t.toLowerCase(),Fr.has(t))){const a=Fr.get(t);return Fr.set(e,a),a}const o=r?"":Ey(t,n.length),s=t.substr(0,n.length+o.length),i=Object.freeze({basename:t.substr(s.length),name:t.substr(n.length),hack:n,vendor:o,prefix:s,custom:r});return Fr.set(e,i),i}const cu=["initial","inherit","unset","revert","revert-layer"],us=43,vn=45,il=110,$r=!0,HO=!1;function ic(e,t){return e!==null&&e.type===me&&e.value.charCodeAt(0)===t}function qo(e,t,n){for(;e!==null&&(e.type===Ye||e.type===dt);)e=n(++t);return t}function nr(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===us||o===vn){if(n)return 0;t++}for(;t<e.value.length;t++)if(!ft(e.value.charCodeAt(t)))return 0;return r+1}function al(e,t,n){let r=!1,o=qo(e,t,n);if(e=n(o),e===null)return t;if(e.type!==le)if(ic(e,us)||ic(e,vn)){if(r=!0,o=qo(n(++o),o,n),e=n(o),e===null||e.type!==le)return 0}else return t;if(!r){const s=e.value.charCodeAt(0);if(s!==us&&s!==vn)return 0}return nr(e,r?0:1,r,o)}function VO(e,t){let n=0;if(!e)return 0;if(e.type===le)return nr(e,0,HO,n);if(e.type===G&&e.value.charCodeAt(0)===vn){if(!Zr(e.value,1,il))return 0;switch(e.value.length){case 2:return al(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==vn?0:(n=qo(t(++n),n,t),e=t(n),nr(e,0,$r,n));default:return e.value.charCodeAt(2)!==vn?0:nr(e,3,$r,n)}}else if(e.type===G||ic(e,us)&&t(n+1).type===G){if(e.type!==G&&(e=t(++n)),e===null||!Zr(e.value,0,il))return 0;switch(e.value.length){case 1:return al(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==vn?0:(n=qo(t(++n),n,t),e=t(n),nr(e,0,$r,n));default:return e.value.charCodeAt(1)!==vn?0:nr(e,2,$r,n)}}else if(e.type===he){let r=e.value.charCodeAt(0),o=r===us||r===vn?1:0,s=o;for(;s<e.value.length&&ft(e.value.charCodeAt(s));s++);return s===o||!Zr(e.value,s,il)?0:s+1===e.value.length?al(t(++n),n,t):e.value.charCodeAt(s+1)!==vn?0:s+2===e.value.length?(n=qo(t(++n),n,t),e=t(n),nr(e,0,$r,n)):nr(e,s+2,$r,n)}return 0}const WO=43,Sy=45,Cy=63,GO=117;function ac(e,t){return e!==null&&e.type===me&&e.value.charCodeAt(0)===t}function KO(e,t){return e.value.charCodeAt(0)===t}function Mo(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const s=e.value.charCodeAt(o);if(s===Sy&&n&&r!==0)return Mo(e,t+r+1,!1),6;if(!ur(s)||++r>6)return 0}return r}function zs(e,t,n){if(!e)return 0;for(;ac(n(t),Cy);){if(++e>6)return 0;t++}return t}function qO(e,t){let n=0;if(e===null||e.type!==G||!Zr(e.value,0,GO)||(e=t(++n),e===null))return 0;if(ac(e,WO))return e=t(++n),e===null?0:e.type===G?zs(Mo(e,0,!0),++n,t):ac(e,Cy)?zs(1,++n,t):0;if(e.type===le){const r=Mo(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===he||e.type===le?!KO(e,Sy)||!Mo(e,1,!1)?0:n+1:zs(r,n,t))}return e.type===he?zs(Mo(e,1,!0),++n,t):0}const uu=["calc(","-moz-calc(","-webkit-calc("],fu=["min(","max(","clamp("],du=["round(","mod(","rem("],YO=["sin(","cos(","tan("],XO=["asin(","acos(","atan(","atan2("],JO=["pow(","sqrt(","log(","exp(","sign("],pu=["hypot("],hu=["abs("],tp=[...uu,...fu,...du,...YO,...JO,...pu,...hu],QO=[...uu,...fu,...du,...pu,...hu],Fn=[...uu,...fu,...du,...XO,...pu,...hu],mu=new Map([[fe,se],[Ee,se],[Gt,tn],[ct,Wt]]);function un(e,t){return t<e.length?e.charCodeAt(t):0}function ky(e,t){return cs(e,0,e.length,t)}function xy(e,t){for(let n=0;n<t.length;n++)if(ky(e,t[n]))return!0;return!1}function Ty(e,t){return t!==e.length-2?!1:un(e,t)===92&&ft(un(e,t+1))}function ha(e,t,n){if(e&&e.type==="Range"){const r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function ZO(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case Wt:case se:case tn:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case fe:case Ee:case Gt:case ct:r.push(n),n=mu.get(e.type);break}o++}while(e=t(o));return o}function Xt(e,t){return function(n,r,o){return n===null?0:n.type===fe&&xy(n.value,t)?ZO(n,r):e(n,r,o)}}function De(e){return function(t){return t===null||t.type!==e?0:1}}function e1(e){if(e===null||e.type!==G)return 0;const t=e.value.toLowerCase();return xy(t,cu)||ky(t,"default")?0:1}function Ay(e){return e===null||e.type!==G||un(e.value,0)!==45||un(e.value,1)!==45?0:1}function t1(e){return!Ay(e)||e.value==="--"?0:1}function n1(e){if(e===null||e.type!==$e)return 0;const t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!ur(un(e.value,n)))return 0;return 1}function r1(e){return e===null||e.type!==$e||!Qs(un(e.value,1),un(e.value,2),un(e.value,3))?0:1}function o1(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ca:case Pt:break e;case Wt:case se:case tn:if(e.type!==n)break e;n=r.pop();break;case Et:if(n===0)break e;break;case me:if(n===0&&e.value==="!")break e;break;case fe:case Ee:case Gt:case ct:r.push(n),n=mu.get(e.type);break}o++}while(e=t(o));return o}function s1(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ca:case Pt:break e;case Wt:case se:case tn:if(e.type!==n)break e;n=r.pop();break;case fe:case Ee:case Gt:case ct:r.push(n),n=mu.get(e.type);break}o++}while(e=t(o));return o}function $n(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==he)return 0;const o=ua(t.value,0);if(e!==null){const s=t.value.indexOf("\\",o),i=s===-1||!Ty(t.value,s)?t.value.substr(o):t.value.substring(o,s);if(e.has(i.toLowerCase())===!1)return 0}return ha(r,t.value,o)?0:1}}function i1(e,t,n){return e===null||e.type!==Ke||ha(n,e.value,e.value.length-1)?0:1}function Oy(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===le&&Number(t.value)===0?1:e(t,n,r)}}function a1(e,t,n){if(e===null)return 0;const r=ua(e.value,0);return!(r===e.value.length)&&!Ty(e.value,r)||ha(n,e.value,r)?0:1}function l1(e,t,n){if(e===null||e.type!==le)return 0;let r=un(e.value,0)===43||un(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!ft(un(e.value,r)))return 0;return ha(n,e.value,r)?0:1}const c1={"ident-token":De(G),"function-token":De(fe),"at-keyword-token":De(tt),"hash-token":De($e),"string-token":De(hn),"bad-string-token":De(ca),"url-token":De(yt),"bad-url-token":De(Pt),"delim-token":De(me),"number-token":De(le),"percentage-token":De(Ke),"dimension-token":De(he),"whitespace-token":De(Ye),"CDO-token":De(ys),"CDC-token":De(Rt),"colon-token":De(wt),"semicolon-token":De(Et),"comma-token":De(Ft),"[-token":De(Gt),"]-token":De(tn),"(-token":De(Ee),")-token":De(se),"{-token":De(ct),"}-token":De(Wt)},u1={string:De(hn),ident:De(G),percentage:Xt(i1,QO),zero:Oy(),number:Xt(a1,tp),integer:Xt(l1,tp),"custom-ident":e1,"dashed-ident":Ay,"custom-property-name":t1,"hex-color":n1,"id-selector":r1,"an-plus-b":VO,urange:qO,"declaration-value":o1,"any-value":s1},f1=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function d1(e){const{angle:t,decibel:n,frequency:r,flex:o,length:s,resolution:i,semitones:a,time:l}=e||{};return{dimension:Xt($n(null),Fn),angle:Xt($n(t),Fn),decibel:Xt($n(n),Fn),frequency:Xt($n(r),Fn),flex:Xt($n(o),Fn),length:Xt(Oy($n(s)),Fn),resolution:Xt($n(i),Fn),semitones:Xt($n(a),Fn),time:Xt($n(l),Fn)}}function p1(e){const t=new Set;for(const n of f1)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(r){return r===null?0:r.type===me&&r.value==="%"||r.type===G&&t.has(r.value.toLowerCase())?1:0}}function h1(e){return{...c1,...u1,...d1(e),"attr-unit":p1(e)}}const m1=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],g1=["deg","grad","rad","turn"],y1=["s","ms"],b1=["hz","khz"],_1=["dpi","dpcm","dppx","x"],v1=["fr"],w1=["db"],E1=["st"],np=Object.freeze(Object.defineProperty({__proto__:null,angle:g1,decibel:w1,flex:v1,frequency:b1,length:m1,resolution:_1,semitones:E1,time:y1},Symbol.toStringTag,{value:"Module"}));function S1(e,t,n){return Object.assign(pa("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
27
|
-
`+t+`
|
|
28
|
-
--`+new Array((n||t.length)+1).join("-")+"^"})}const C1=9,k1=10,x1=12,T1=13,A1=32,rp=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class O1{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&rp[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==T1&&n!==k1&&n!==x1&&n!==A1&&n!==C1)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new S1(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||rp[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const I1=9,L1=10,P1=12,R1=13,N1=32,Iy=33,gu=35,op=38,Li=39,Ly=40,Py=41,Ry=42,yu=43,bu=44,sp=45,_u=60,lc=62,Pi=63,M1=64,fs=91,uo=93,Ri=123,ip=124,cc=125,ap=8734,lp={" ":1,"&&":2,"||":3,"|":4};function cp(e){let t=null,n=null;return e.eat(Ri),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===bu?(e.pos++,e.skipWs(),e.charCode()!==cc&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(cc),{min:Number(t),max:n?Number(n):0}}function D1(e){let t=null,n=!1;switch(e.charCode()){case Ry:e.pos++,t={min:0,max:0};break;case yu:e.pos++,t={min:1,max:0};break;case Pi:e.pos++,t={min:0,max:1};break;case gu:e.pos++,n=!0,e.charCode()===Ri?t=cp(e):e.charCode()===Pi?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Ri:t=cp(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Yn(e,t){const n=D1(e);return n!==null?(n.term=t,e.charCode()===gu&&e.charCodeAt(e.pos-1)===yu||e.charCode()===Pi&&e.charCodeAt(e.pos-1)===cc?Yn(e,n):n):t}function ll(e){const t=e.peek();return t===""?null:Yn(e,{type:"Token",value:t})}function F1(e){let t;return e.eat(_u),e.eat(Li),t=e.scanWord(),e.eat(Li),e.eat(lc),Yn(e,{type:"Property",name:t})}function $1(e){let t=null,n=null,r=1;return e.eat(fs),e.charCode()===sp&&(e.peek(),r=-1),r==-1&&e.charCode()===ap?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(bu),e.skipWs(),e.charCode()===ap?e.peek():(r=1,e.charCode()===sp&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(uo),{type:"Range",min:t,max:n}}function U1(e){let t,n=null;if(e.eat(_u),t=e.scanWord(),t==="boolean-expr"){e.eat(fs);const r=ma(e,uo);return e.eat(uo),e.eat(lc),Yn(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===Ly&&e.nextCharCode()===Py&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===fs&&(e.skipWs(),n=$1(e)),e.eat(lc),Yn(e,{type:"Type",name:t,opts:n})}function j1(e){const t=e.scanWord();return e.charCode()===Ly?(e.pos++,{type:"Function",name:t}):Yn(e,{type:"Keyword",name:t})}function z1(e,t){function n(o,s){return{type:"Group",terms:o,combinator:s,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,s)=>lp[o]-lp[s]);t.length>0;){r=t.shift();let o=0,s=0;for(;o<e.length;o++){const i=e[o];i.type==="Combinator"&&(i.value===r?(s===-1&&(s=o-1),e.splice(o,1),o--):(s!==-1&&o-s>1&&(e.splice(s,o-s,n(e.slice(s,o),r)),o=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,o-s,n(e.slice(s,o),r))}return r}function ma(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,i=!1;for(;e.charCode()!==t;){let a=i?ma(e,Py):H1(e);if(!a)break;if(a.type!=="Spaces"){if(i){if(a.terms.length===0){i=!1;continue}if(a.combinator===" "){for(;a.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},a.terms.shift());a=a.terms[0]}}a.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),n[a.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(a),o=a,s=e.pos,i=a.type==="Function"}}return o!==null&&o.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:z1(r,n)||" ",disallowEmpty:!1,explicit:!1}}function B1(e){let t;return e.eat(fs),t=ma(e,uo),e.eat(uo),t.explicit=!0,e.charCode()===Iy&&(e.pos++,t.disallowEmpty=!0),t}function H1(e){let t=e.charCode();switch(t){case uo:break;case fs:return Yn(e,B1(e));case _u:return e.nextCharCode()===Li?F1(e):U1(e);case ip:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===ip?2:1))};case op:return e.pos++,e.eat(op),{type:"Combinator",value:"&&"};case bu:return e.pos++,{type:"Comma"};case Li:return Yn(e,{type:"String",value:e.scanString()});case N1:case I1:case L1:case R1:case P1:return{type:"Spaces",value:e.scanSpaces()};case M1:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):ll(e);case Ry:case yu:case Pi:case gu:case Iy:break;case Ri:if(t=e.nextCharCode(),t<48||t>57)return ll(e);break;default:return e.isNameCharCode(t)?j1(e):ll(e)}}function Ny(e){const t=new O1(e),n=ma(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const Do=function(){};function up(e){return typeof e=="function"?e:Do}function V1(e,t,n){function r(i){switch(o.call(n,i),i.type){case"Group":i.terms.forEach(r);break;case"Multiplier":case"Boolean":r(i.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+i.type)}s.call(n,i)}let o=Do,s=Do;if(typeof t=="function"?o=t:t&&(o=up(t.enter),s=up(t.leave)),o===Do&&s===Do)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const W1={decorator(e){const t=[];let n=null;return{...e,node(r){const o=n;n=r,e.node.call(this,r),n=o},emit(r,o,s){t.push({type:o,value:r,node:s?null:n})},result(){return t}}}};function G1(e){const t=[];return da(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function K1(e,t){return typeof e=="string"?G1(e):t.generate(e,W1)}const Se={type:"Match"},Pe={type:"Mismatch"},vu={type:"DisallowEmpty"},q1=40,Y1=41;function gt(e,t,n){return t===Se&&n===Pe||e===Se&&t===Se&&n===Se?e:(e.type==="If"&&e.else===Pe&&t===Se&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function My(e){return e.length>2&&e.charCodeAt(e.length-2)===q1&&e.charCodeAt(e.length-1)===Y1}function fp(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&My(e.name)}function Qn(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Yo(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Yo(e.match,t,n),e.then=Yo(e.then,t,n),e.else=Yo(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function uc(e,t,n){switch(e){case" ":{let r=Se;for(let o=t.length-1;o>=0;o--){const s=t[o];r=gt(s,r,Pe)}return r}case"|":{let r=Pe,o=null;for(let s=t.length-1;s>=0;s--){let i=t[s];if(fp(i)&&(o===null&&s>0&&fp(t[s-1])&&(o=Object.create(null),r=gt({type:"Enum",map:o},Se,r)),o!==null)){const a=(My(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(a in o)){o[a]=i;continue}}o=null,r=gt(i,Se,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=Pe;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=uc(e,t.filter(function(a){return a!==s}),!1):i=Se,r=gt(s,i,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Se:Pe;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=uc(e,t.filter(function(a){return a!==s}),!0):i=Se,r=gt(s,i,r)}return r}}}function X1(e){let t=Se,n=Kr(e.term);if(e.max===0)n=gt(n,vu,Pe),t=gt(n,null,Pe),t.then=gt(Se,Se,t),e.comma&&(t.then.else=gt({type:"Comma",syntax:e},t,Pe));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Se&&(t=gt({type:"Comma",syntax:e},t,Pe)),t=gt(n,gt(Se,Se,t),Pe);if(e.min===0)t=gt(Se,Se,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Se&&(t=gt({type:"Comma",syntax:e},t,Pe)),t=gt(n,t,Pe);return t}function Kr(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=uc(e.combinator,e.terms.map(Kr),!1);return e.disallowEmpty&&(t=gt(t,vu,Pe)),t}case"Multiplier":return X1(e);case"Boolean":{const t=Kr(e.term),n=Kr(Qn([Qn([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Qn([{type:"Type",name:"!boolean-group"},Qn([{type:"Multiplier",comma:!1,min:0,max:0,term:Qn([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Qn([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=Kr(Qn([{type:"Type",name:"!term"},Qn([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Yo(r,{"!term":t,"!self":n}),Yo(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function Bs(e,t){return typeof e=="string"&&(e=Ny(e)),{type:"MatchGraph",match:Kr(e),syntax:t||null,source:e}}const{hasOwnProperty:dp}=Object.prototype,J1=0,Q1=1,fc=2,Dy=3,pp="Match",Z1="Mismatch",eI="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",hp=15e3;function tI(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function cl(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function nI(e){return e.type!==me?!1:e.value!=="?"}function mp(e){return e===null?!0:e.type===Ft||e.type===fe||e.type===Ee||e.type===Gt||e.type===ct||nI(e)}function gp(e){return e===null?!0:e.type===se||e.type===tn||e.type===Wt||e.type===me&&e.value==="/"}function rI(e,t,n){function r(){do b++,y=b<e.length?e[b]:null;while(y!==null&&(y.type===Ye||y.type===dt))}function o(O){const C=b+O;return C<e.length?e[C]:null}function s(O,C){return{nextState:O,matchStack:m,syntaxStack:f,thenStack:d,tokenIndex:b,prev:C}}function i(O){d={nextState:O,matchStack:m,syntaxStack:f,prev:d}}function a(O){p=s(O,p)}function l(){m={type:Q1,syntax:t.syntax,token:y,prev:m},r(),g=null,b>E&&(E=b)}function c(){f={syntax:t.syntax,opts:t.syntax.opts||f!==null&&f.opts||null,prev:f},m={type:fc,syntax:t.syntax,token:m.token,prev:m}}function u(){m.type===fc?m=m.prev:m={type:Dy,syntax:f.syntax,token:m.token,prev:m},f=f.prev}let f=null,d=null,p=null,g=null,h=0,_=null,y=null,b=-1,E=0,m={type:J1,syntax:null,token:null,prev:null};for(r();_===null&&++h<hp;)switch(t.type){case"Match":if(d===null){if(y!==null&&(b!==e.length-1||y.value!=="\\0"&&y.value!=="\\9")){t=Pe;break}_=pp;break}if(t=d.nextState,t===vu)if(d.matchStack===m){t=Pe;break}else t=Se;for(;d.syntaxStack!==f;)u();d=d.prev;break;case"Mismatch":if(g!==null&&g!==!1)(p===null||b>p.tokenIndex)&&(p=g,g=!1);else if(p===null){_=Z1;break}t=p.nextState,d=p.thenStack,f=p.syntaxStack,m=p.matchStack,b=p.tokenIndex,y=b<e.length?e[b]:null,p=p.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Pe&&a(t.else),t.then!==Se&&i(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const x=t.syntax.terms;if(t.index===x.length){if(t.mask===0||t.syntax.all){t=Pe;break}t=Se;break}if(t.mask===(1<<x.length)-1){t=Se;break}for(;t.index<x.length;t.index++){const v=1<<t.index;if((t.mask&v)===0){a(t),i({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|v}),t=x[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(y!==null){let x=y.value.toLowerCase();if(x.indexOf("\\")!==-1&&(x=x.replace(/\\[09].*$/,"")),dp.call(t.map,x)){t=t.map[x];break}}t=Pe;break;case"Generic":{const x=f!==null?f.opts:null,v=b+Math.floor(t.fn(y,o,x));if(!isNaN(v)&&v>b){for(;b<v;)l();t=Se}else t=Pe;break}case"Type":case"Property":{const x=t.type==="Type"?"types":"properties",v=dp.call(n,x)?n[x][t.name]:null;if(!v||!v.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(g!==!1&&y!==null&&t.type==="Type"&&(t.name==="custom-ident"&&y.type===G||t.name==="length"&&y.value==="0")){g===null&&(g=s(t,p)),t=Pe;break}c(),t=v.matchRef||v.match;break}case"Keyword":{const x=t.name;if(y!==null){let v=y.value;if(v.indexOf("\\")!==-1&&(v=v.replace(/\\[09].*$/,"")),cl(v,x)){l(),t=Se;break}}t=Pe;break}case"AtKeyword":case"Function":if(y!==null&&cl(y.value,t.name)){l(),t=Se;break}t=Pe;break;case"Token":if(y!==null&&y.value===t.value){l(),t=Se;break}t=Pe;break;case"Comma":y!==null&&y.type===Ft?mp(m.token)?t=Pe:(l(),t=gp(y)?Pe:Se):t=mp(m.token)||gp(y)?Se:Pe;break;case"String":let O="",C=b;for(;C<e.length&&O.length<t.value.length;C++)O+=e[C].value;if(cl(O,t.value)){for(;b<C;)l();t=Se}else t=Pe;break;default:throw new Error("Unknown node type: "+t.type)}switch(_){case null:console.warn("[csstree-match] BREAK after "+hp+" iterations"),_=eI,m=null;break;case pp:for(;f!==null;)u();break;default:m=null}return{tokens:e,reason:_,iterations:h,match:m,longestMatch:E}}function yp(e,t,n){const r=rI(e,t,n||{});if(r.match===null)return r;let o=r.match,s=r.match={syntax:t.syntax||null,match:[]};const i=[s];for(o=tI(o).prev;o!==null;){switch(o.type){case fc:s.match.push(s={syntax:o.syntax,match:[]}),i.push(s);break;case Dy:i.pop(),s=i[i.length-1];break;default:s.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function Fy(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let s=0;s<o.match.length;s++)if(n(o.match[s]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function oI(e,t){return wu(this,e,n=>n.type==="Type"&&n.name===t)}function sI(e,t){return wu(this,e,n=>n.type==="Property"&&n.name===t)}function iI(e){return wu(this,e,t=>t.type==="Keyword")}function wu(e,t,n){const r=Fy.call(e,t);return r===null?!1:r.some(n)}const aI=Object.freeze(Object.defineProperty({__proto__:null,getTrace:Fy,isKeyword:iI,isProperty:sI,isType:oI},Symbol.toStringTag,{value:"Module"}));function $y(e){return"node"in e?e.node:$y(e.match[0])}function Uy(e){return"node"in e?e.node:Uy(e.match[e.match.length-1])}function bp(e,t,n,r,o){function s(a){if(a.syntax!==null&&a.syntax.type===r&&a.syntax.name===o){const l=$y(a),c=Uy(a);e.syntax.walk(t,function(u,f,d){if(u===l){const p=new lt;do{if(p.appendData(f.data),f.data===c)break;f=f.next}while(f!==null);i.push({parent:d,nodes:p})}})}Array.isArray(a.match)&&a.match.forEach(s)}const i=[];return n.matched!==null&&s(n.matched),i}const{hasOwnProperty:Xo}=Object.prototype;function ul(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function _p(e){return!!e&&ul(e.offset)&&ul(e.line)&&ul(e.column)}function lI(e,t){return function(r,o){if(!r||r.constructor!==Object)return o(r,"Type of node should be an Object");for(let s in r){let i=!0;if(Xo.call(r,s)!==!1){if(s==="type")r.type!==e&&o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(s==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")s+=".source";else if(!_p(r.loc.start))s+=".start";else if(!_p(r.loc.end))s+=".end";else continue;i=!1}else if(t.hasOwnProperty(s)){i=!1;for(let a=0;!i&&a<t[s].length;a++){const l=t[s][a];switch(l){case String:i=typeof r[s]=="string";break;case Boolean:i=typeof r[s]=="boolean";break;case null:i=r[s]===null;break;default:typeof l=="string"?i=r[s]&&r[s].type===l:Array.isArray(l)&&(i=r[s]instanceof lt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");i||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Xo.call(t,s)&&Xo.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function jy(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(o===null)n.push("null");else if(typeof o=="string")n.push(o);else if(Array.isArray(o))n.push("List<"+(jy(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function cI(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Xo.call(n,s)===!1)continue;const i=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=jy(i,e+"."+s)}return{docs:o,check:lI(e,r)}}function uI(e){const t={};if(e.node){for(const n in e.node)if(Xo.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=cI(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function dc(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:au(e[o].syntax,{compact:t}));return r}function fI(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:au(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&dc(s.descriptors,t,n)};return r}function dI(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function pI(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function an(e,t,n){return{matched:e,iterations:n,error:t,...aI}}function Ur(e,t,n,r){const o=K1(n,e.syntax);let s;return dI(o)?an(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=yp(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=yp(o,t.match,e),!s.match)?an(null,new jO(s.reason,t.syntax,n,s),s.iterations):an(s.match,null,s.iterations))}class vp{constructor(t,n,r){if(this.cssWideKeywords=cu,this.syntax=n,this.generic=!1,this.units={...np},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||uI(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(np))Array.isArray(t.units[o])&&(this.units[o]=t.units[o]);if(t.types)for(const[o,s]of Object.entries(t.types))this.addType_(o,s);if(t.generic){this.generic=!0;for(const[o,s]of Object.entries(h1(this.units)))this.addType_(o,s)}if(t.atrules)for(const[o,s]of Object.entries(t.atrules))this.addAtrule_(o,s);if(t.properties)for(const[o,s]of Object.entries(t.properties))this.addProperty_(o,s)}this.cssWideKeywordsSyntax=Bs(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(s,i){o.push({node:s,message:i})}const r=this.structure,o=[];return this.syntax.walk(t,function(s){r.hasOwnProperty(s.type)?r[s.type].check(s,n):n(s,"Unknown node type `"+s.type+"`")}),o.length?o:!1}createDescriptor(t,n,r,o=null){const s={type:n,name:r},i={type:n,name:r,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?i.match=Bs(t,s):(typeof t=="string"?Object.defineProperty(i,"syntax",{get(){return Object.defineProperty(i,"syntax",{value:Ny(t)}),i.syntax}}):i.syntax=t,Object.defineProperty(i,"match",{get(){return Object.defineProperty(i,"match",{value:Bs(i.syntax,s)}),i.match}}),n==="Property"&&Object.defineProperty(i,"matchRef",{get(){const a=i.syntax,l=pI(a)?Bs({...a,terms:[a.terms[0].term]},s):null;return Object.defineProperty(i,"matchRef",{value:l}),l}})),i}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,o)=>(r[o]=this.createDescriptor(n.descriptors[o],"AtruleDescriptor",o,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new To("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!n&&!Ur(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t),s=sl(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[s.name]&&!o.descriptors[s.basename])return new To("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new To("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return an(null,r);const o=this.getAtrule(t);return o.prelude?Ur(this,o.prelude,n||"",!1):an(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return an(null,o);const s=this.getAtrule(t),i=sl(n);return Ur(this,s.descriptors[i.name]||s.descriptors[i.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?an(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(ep(t).custom)return an(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?an(null,r):Ur(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?Ur(this,r,n,!1):an(null,new To("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?an(null,new To("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Ur(this,t,n,!1))}findValueFragments(t,n,r,o){return bp(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return bp(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const o=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{o.push.apply(o,this.findDeclarationValueFragments(s,n,r))}}),o}getAtrule(t,n=!0){const r=sl(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=ep(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(l,c){return c?`<${l}>`:`<'${l}'>`}function n(l,c,u,f){if(u.has(c))return u.get(c);u.set(c,!1),f.syntax!==null&&V1(f.syntax,function(d){if(d.type!=="Type"&&d.type!=="Property")return;const p=d.type==="Type"?l.types:l.properties,g=d.type==="Type"?o:s;hasOwnProperty.call(p,d.name)?n(l,d.name,g,p[d.name])&&(r.push(`${t(c,u===o)} used broken syntax definition ${t(d.name,d.type==="Type")}`),u.set(c,!0)):(r.push(`${t(c,u===o)} used missed syntax definition ${t(d.name,d.type==="Type")}`),u.set(c,!0))},this)}const r=[];let o=new Map,s=new Map;for(const l in this.types)n(this,l,o,this.types[l]);for(const l in this.properties)n(this,l,s,this.properties[l]);const i=[...o.keys()].filter(l=>o.get(l)),a=[...s.keys()].filter(l=>s.get(l));return i.length||a.length?{errors:r,types:i,properties:a}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:dc(this.types,!n,t),properties:dc(this.properties,!n,t),atrules:fI(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function fl(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function hI(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function dl(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?hI(s,n):s};return r}function pc(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[s,i]of Object.entries(o))n[r][s]=Array.isArray(i)?i:[];break;case"atrules":n[r]={...e[r]};for(const[s,i]of Object.entries(o)){const a=n[r][s]||{},l=n[r][s]={prelude:a.prelude||null,descriptors:{...a.descriptors}};if(i){l.prelude=i.prelude?fl(l.prelude,i.prelude):l.prelude||null;for(const[c,u]of Object.entries(i.descriptors||{}))l.descriptors[c]=u?fl(l.descriptors[c],u):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[s,i]of Object.entries(o))n[r][s]=fl(n[r][s],i);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=dl(e[r],o);break;case"atrule":case"pseudo":n[r]=dl(e[r],o,["parse"]);break;case"node":n[r]=dl(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function zy(e){const t=gO(e),n=NO(e),r=IO(e),{fromPlainObject:o,toPlainObject:s}=LO(n),i={lexer:null,createLexer:a=>new vp(a,i,i.lexer.structure),tokenize:da,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(a){const l=pc({},e);return zy(typeof a=="function"?a(l):pc(l,a))}};return i.lexer=new vp({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},i),i}const mI=e=>zy(pc({},e)),gI={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}},Cn=43,jt=45,ei=110,_r=!0,yI=!1;function ti(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Cn||r===jt)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)ft(this.charCodeAt(n))||this.error("Integer is expected",n)}function qr(e){return ti.call(this,0,e)}function Zn(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case ei:n="N is expected";break;case jt:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function pl(){let e=0,t=0,n=this.tokenType;for(;n===Ye||n===dt;)n=this.lookupType(++e);if(n!==le)if(this.isDelim(Cn,e)||this.isDelim(jt,e)){t=this.isDelim(Cn,e)?Cn:jt;do n=this.lookupType(++e);while(n===Ye||n===dt);n!==le&&(this.skip(e),qr.call(this,_r))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Cn&&n!==jt&&this.error("Number sign is expected")),qr.call(this,t!==0),t===jt?"-"+this.consume(le):this.consume(le)}const bI="AnPlusB",_I={a:[String,null],b:[String,null]};function By(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===le)qr.call(this,yI),n=this.consume(le);else if(this.tokenType===G&&this.cmpChar(this.tokenStart,jt))switch(t="-1",Zn.call(this,1,ei),this.tokenEnd-this.tokenStart){case 2:this.next(),n=pl.call(this);break;case 3:Zn.call(this,2,jt),this.next(),this.skipSC(),qr.call(this,_r),n="-"+this.consume(le);break;default:Zn.call(this,2,jt),ti.call(this,3,_r),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===G||this.isDelim(Cn)&&this.lookupType(1)===G){let r=0;switch(t="1",this.isDelim(Cn)&&(r=1,this.next()),Zn.call(this,0,ei),this.tokenEnd-this.tokenStart){case 1:this.next(),n=pl.call(this);break;case 2:Zn.call(this,1,jt),this.next(),this.skipSC(),qr.call(this,_r),n="-"+this.consume(le);break;default:Zn.call(this,1,jt),ti.call(this,2,_r),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===he){const r=this.charCodeAt(this.tokenStart),o=r===Cn||r===jt;let s=this.tokenStart+o;for(;s<this.tokenEnd&&ft(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Zn.call(this,s-this.tokenStart,ei),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=pl.call(this)):(Zn.call(this,s-this.tokenStart+1,jt),s+2===this.tokenEnd?(this.next(),this.skipSC(),qr.call(this,_r),n="-"+this.consume(le)):(ti.call(this,s-this.tokenStart+2,_r),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Cn&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Cn&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function vI(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){const n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}const wI=Object.freeze(Object.defineProperty({__proto__:null,generate:vI,name:bI,parse:By,structure:_I},Symbol.toStringTag,{value:"Module"}));function wp(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function EI(){for(let e=1,t;t=this.lookupType(e);e++){if(t===Wt)return!0;if(t===ct||t===tt)return!1}return!1}const SI="Atrule",CI="atrule",kI={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Hy(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(tt),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==ct&&this.tokenType!==Et&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),wp):o=wp.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Et:this.next();break;case ct:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(EI.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function xI(e){this.token(tt,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Et,";")}const TI=Object.freeze(Object.defineProperty({__proto__:null,generate:xI,name:SI,parse:Hy,structure:kI,walkContext:CI},Symbol.toStringTag,{value:"Module"})),AI="AtrulePrelude",OI="atrulePrelude",II={children:[[]]};function Vy(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==ct&&this.tokenType!==Et&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function LI(e){this.children(e)}const PI=Object.freeze(Object.defineProperty({__proto__:null,generate:LI,name:AI,parse:Vy,structure:II,walkContext:OI},Symbol.toStringTag,{value:"Module"})),RI=36,Wy=42,ni=61,NI=94,hc=124,MI=126;function DI(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(Wy)?(t=!0,this.next()):this.isDelim(hc)||this.eat(G),this.isDelim(hc)?this.charCodeAt(this.tokenStart+1)!==ni?(this.next(),this.eat(G)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function FI(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==ni&&t!==MI&&t!==NI&&t!==RI&&t!==Wy&&t!==hc&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==ni&&(this.isDelim(ni)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const $I="AttributeSelector",UI={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Gy(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(Gt),this.skipSC(),t=DI.call(this),this.skipSC(),this.tokenType!==tn&&(this.tokenType!==G&&(n=FI.call(this),this.skipSC(),r=this.tokenType===hn?this.String():this.Identifier(),this.skipSC()),this.tokenType===G&&(o=this.consume(G),this.skipSC())),this.eat(tn),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function jI(e){this.token(me,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(G,e.flags),this.token(me,"]")}const zI=Object.freeze(Object.defineProperty({__proto__:null,generate:jI,name:$I,parse:Gy,structure:UI},Symbol.toStringTag,{value:"Module"})),BI=38;function Ky(){return this.Raw(null,!0)}function Ep(){return this.parseWithFallback(this.Rule,Ky)}function Sp(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function HI(){if(this.tokenType===Et)return Sp.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Sp);return this.tokenType===Et&&this.next(),e}const VI="Block",WI="block",GI={children:[["Atrule","Rule","Declaration"]]};function qy(e){const t=e?HI:Ep,n=this.tokenStart;let r=this.createList();this.eat(ct);e:for(;!this.eof;)switch(this.tokenType){case Wt:break e;case Ye:case dt:this.next();break;case tt:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Ky));break;default:e&&this.isDelim(BI)?r.push(Ep.call(this)):r.push(t.call(this))}return this.eof||this.eat(Wt),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function KI(e){this.token(ct,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(Et,";")}),this.token(Wt,"}")}const qI=Object.freeze(Object.defineProperty({__proto__:null,generate:KI,name:VI,parse:qy,structure:GI,walkContext:WI},Symbol.toStringTag,{value:"Module"})),YI="Brackets",XI={children:[[]]};function Yy(e,t){const n=this.tokenStart;let r=null;return this.eat(Gt),r=e.call(this,t),this.eof||this.eat(tn),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function JI(e){this.token(me,"["),this.children(e),this.token(me,"]")}const QI=Object.freeze(Object.defineProperty({__proto__:null,generate:JI,name:YI,parse:Yy,structure:XI},Symbol.toStringTag,{value:"Module"})),ZI="CDC",eL=[];function Xy(){const e=this.tokenStart;return this.eat(Rt),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function tL(){this.token(Rt,"-->")}const nL=Object.freeze(Object.defineProperty({__proto__:null,generate:tL,name:ZI,parse:Xy,structure:eL},Symbol.toStringTag,{value:"Module"})),rL="CDO",oL=[];function Jy(){const e=this.tokenStart;return this.eat(ys),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function sL(){this.token(ys,"<!--")}const iL=Object.freeze(Object.defineProperty({__proto__:null,generate:sL,name:rL,parse:Jy,structure:oL},Symbol.toStringTag,{value:"Module"})),aL=46,lL="ClassSelector",cL={name:String};function Qy(){return this.eatDelim(aL),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(G)}}function uL(e){this.token(me,"."),this.token(G,e.name)}const fL=Object.freeze(Object.defineProperty({__proto__:null,generate:uL,name:lL,parse:Qy,structure:cL},Symbol.toStringTag,{value:"Module"})),dL=43,Cp=47,pL=62,hL=126,mL="Combinator",gL={name:String};function Zy(){const e=this.tokenStart;let t;switch(this.tokenType){case Ye:t=" ";break;case me:switch(this.charCodeAt(this.tokenStart)){case pL:case dL:case hL:this.next();break;case Cp:this.next(),this.eatIdent("deep"),this.eatDelim(Cp);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function yL(e){this.tokenize(e.name)}const bL=Object.freeze(Object.defineProperty({__proto__:null,generate:yL,name:mL,parse:Zy,structure:gL},Symbol.toStringTag,{value:"Module"})),_L=42,vL=47,wL="Comment",EL={value:String};function eb(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(dt),t-e+2>=2&&this.charCodeAt(t-2)===_L&&this.charCodeAt(t-1)===vL&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function SL(e){this.token(dt,"/*"+e.value+"*/")}const CL=Object.freeze(Object.defineProperty({__proto__:null,generate:SL,name:wL,parse:eb,structure:EL},Symbol.toStringTag,{value:"Module"})),kL=new Set([wt,se,sr]),xL="Condition",TL={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function kp(e){return this.lookupTypeNonSC(1)===G&&kL.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const AL={media:kp,container:kp,supports(){return this.SupportsDeclaration()}};function tb(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case dt:case Ye:this.next();continue;case G:t.push(this.Identifier());break;case Ee:{let n=this.parseWithFallback(()=>AL[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(Ee);const r=this.Condition(e);return this.eat(se),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case fe:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function OL(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(Ee,"("),this.node(t),this.token(se,")")):this.node(t)})}const IL=Object.freeze(Object.defineProperty({__proto__:null,generate:OL,name:xL,parse:tb,structure:TL},Symbol.toStringTag,{value:"Module"})),nb=33,LL=35,PL=36,RL=38,NL=42,ML=43,xp=47;function DL(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function FL(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function $L(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==Et&&this.isDelim(nb)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const UL="Declaration",jL="declaration",zL={important:[Boolean,String],property:String,value:["Value","Raw"]};function rb(){const e=this.tokenStart,t=this.tokenIndex,n=HL.call(this),r=lu(n),o=r?this.parseCustomProperty:this.parseValue,s=r?FL:DL;let i=!1,a;this.skipSC(),this.eat(wt);const l=this.tokenIndex;if(r||this.skipSC(),o?a=this.parseWithFallback($L,s):a=s.call(this,this.tokenIndex),r&&a.type==="Value"&&a.children.isEmpty){for(let c=l-this.tokenIndex;c<=0;c++)if(this.lookupType(c)===Ye){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(nb)&&(i=VL.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Et&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:i,property:n,value:a}}function BL(e){this.token(G,e.property),this.token(wt,":"),this.node(e.value),e.important&&(this.token(me,"!"),this.token(G,e.important===!0?"important":e.important))}function HL(){const e=this.tokenStart;if(this.tokenType===me)switch(this.charCodeAt(this.tokenStart)){case NL:case PL:case ML:case LL:case RL:this.next();break;case xp:this.next(),this.isDelim(xp)&&this.next();break}return this.tokenType===$e?this.eat($e):this.eat(G),this.substrToCursor(e)}function VL(){this.eat(me),this.skipSC();const e=this.consume(G);return e==="important"?!0:e}const WL=Object.freeze(Object.defineProperty({__proto__:null,generate:BL,name:UL,parse:rb,structure:zL,walkContext:jL},Symbol.toStringTag,{value:"Module"})),GL=38;function hl(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const KL="DeclarationList",qL={children:[["Declaration","Atrule","Rule"]]};function ob(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case Ye:case dt:case Et:this.next();break;case tt:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),hl));break;default:this.isDelim(GL)?e.push(this.parseWithFallback(this.Rule,hl)):e.push(this.parseWithFallback(this.Declaration,hl))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function YL(e){this.children(e,t=>{t.type==="Declaration"&&this.token(Et,";")})}const XL=Object.freeze(Object.defineProperty({__proto__:null,generate:YL,name:KL,parse:ob,structure:qL},Symbol.toStringTag,{value:"Module"})),JL="Dimension",QL={value:String,unit:String};function sb(){const e=this.tokenStart,t=this.consumeNumber(he);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function ZL(e){this.token(he,e.value+e.unit)}const eP=Object.freeze(Object.defineProperty({__proto__:null,generate:ZL,name:JL,parse:sb,structure:QL},Symbol.toStringTag,{value:"Module"})),tP=47,nP="Feature",rP={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function ib(e){const t=this.tokenStart;let n,r=null;if(this.eat(Ee),this.skipSC(),n=this.consume(G),this.skipSC(),this.tokenType!==se){switch(this.eat(wt),this.skipSC(),this.tokenType){case le:this.lookupNonWSType(1)===me?r=this.Ratio():r=this.Number();break;case he:r=this.Dimension();break;case G:r=this.Identifier();break;case fe:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(tP)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(se),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function oP(e){this.token(Ee,"("),this.token(G,e.name),e.value!==null&&(this.token(wt,":"),this.node(e.value)),this.token(se,")")}const sP=Object.freeze(Object.defineProperty({__proto__:null,generate:oP,name:nP,parse:ib,structure:rP},Symbol.toStringTag,{value:"Module"})),iP="FeatureFunction",aP={kind:String,feature:String,value:["Declaration","Selector"]};function lP(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function ab(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=lP.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const s=this.tokenIndex,i=r.call(this);return this.eof===!1&&this.isBalanceEdge(s)===!1&&this.error(),i},()=>this.Raw(null,!1));return this.eof||this.eat(se),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function cP(e){this.token(fe,e.feature+"("),this.node(e.value),this.token(se,")")}const uP=Object.freeze(Object.defineProperty({__proto__:null,generate:cP,name:iP,parse:ab,structure:aP},Symbol.toStringTag,{value:"Module"})),Tp=47,fP=60,Ap=61,dP=62,pP="FeatureRange",hP={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function ml(){switch(this.skipSC(),this.tokenType){case le:return this.isDelim(Tp,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case he:return this.Dimension();case G:return this.Identifier();case fe:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Tp)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Op(e){if(this.skipSC(),this.isDelim(fP)||this.isDelim(dP)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(Ap)?(this.next(),t+"="):t}if(this.isDelim(Ap))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function lb(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(Ee);const n=ml.call(this),r=Op.call(this,n.type==="Identifier"),o=ml.call(this);let s=null,i=null;return this.lookupNonWSType(0)!==se&&(s=Op.call(this),i=ml.call(this)),this.skipSC(),this.eat(se),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:i}}function mP(e){this.token(Ee,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(se,")")}const gP=Object.freeze(Object.defineProperty({__proto__:null,generate:mP,name:pP,parse:lb,structure:hP},Symbol.toStringTag,{value:"Module"})),yP="Function",bP="function",_P={name:String,children:[[]]};function cb(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let s;return s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(se),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function vP(e){this.token(fe,e.name+"("),this.children(e),this.token(se,")")}const wP=Object.freeze(Object.defineProperty({__proto__:null,generate:vP,name:yP,parse:cb,structure:_P,walkContext:bP},Symbol.toStringTag,{value:"Module"})),EP="GeneralEnclosed",SP={kind:String,function:[String,null],children:[[]]};function ub(e){const t=this.tokenStart;let n=null;this.tokenType===fe?n=this.consumeFunctionName():this.eat(Ee);const r=this.parseWithFallback(()=>{const o=this.tokenIndex,s=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),s},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(se),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function CP(e){e.function?this.token(fe,e.function+"("):this.token(Ee,"("),this.children(e),this.token(se,")")}const kP=Object.freeze(Object.defineProperty({__proto__:null,generate:CP,name:EP,parse:ub,structure:SP},Symbol.toStringTag,{value:"Module"})),xP="XXX",TP="Hash",AP={value:String};function fb(){const e=this.tokenStart;return this.eat($e),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function OP(e){this.token($e,"#"+e.value)}const IP=Object.freeze(Object.defineProperty({__proto__:null,generate:OP,name:TP,parse:fb,structure:AP,xxx:xP},Symbol.toStringTag,{value:"Module"})),LP="Identifier",PP={name:String};function db(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(G)}}function RP(e){this.token(G,e.name)}const NP=Object.freeze(Object.defineProperty({__proto__:null,generate:RP,name:LP,parse:db,structure:PP},Symbol.toStringTag,{value:"Module"})),MP="IdSelector",DP={name:String};function pb(){const e=this.tokenStart;return this.eat($e),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function FP(e){this.token(me,"#"+e.name)}const $P=Object.freeze(Object.defineProperty({__proto__:null,generate:FP,name:MP,parse:pb,structure:DP},Symbol.toStringTag,{value:"Module"})),UP=46,jP="Layer",zP={name:String};function hb(){let e=this.tokenStart,t=this.consume(G);for(;this.isDelim(UP);)this.eat(me),t+="."+this.consume(G);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function BP(e){this.tokenize(e.name)}const HP=Object.freeze(Object.defineProperty({__proto__:null,generate:BP,name:jP,parse:hb,structure:zP},Symbol.toStringTag,{value:"Module"})),VP="LayerList",WP={children:[["Layer"]]};function mb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Ft);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function GP(e){this.children(e,()=>this.token(Ft,","))}const KP=Object.freeze(Object.defineProperty({__proto__:null,generate:GP,name:VP,parse:mb,structure:WP},Symbol.toStringTag,{value:"Module"})),qP="MediaQuery",YP={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function gb(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===G&&this.lookupTypeNonSC(1)!==Ee){const o=this.consume(G),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(G)):n=o,this.lookupTypeNonSC(0)){case G:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case ct:case Et:case Ft:case sr:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case G:case Ee:case fe:{r=this.Condition("media");break}case ct:case Et:case sr:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function XP(e){e.mediaType?(e.modifier&&this.token(G,e.modifier),this.token(G,e.mediaType),e.condition&&(this.token(G,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const JP=Object.freeze(Object.defineProperty({__proto__:null,generate:XP,name:qP,parse:gb,structure:YP},Symbol.toStringTag,{value:"Module"})),QP="MediaQueryList",ZP={children:[["MediaQuery"]]};function yb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Ft);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function eR(e){this.children(e,()=>this.token(Ft,","))}const tR=Object.freeze(Object.defineProperty({__proto__:null,generate:eR,name:QP,parse:yb,structure:ZP},Symbol.toStringTag,{value:"Module"})),nR=38,rR="NestingSelector",oR={};function bb(){const e=this.tokenStart;return this.eatDelim(nR),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function sR(){this.token(me,"&")}const iR=Object.freeze(Object.defineProperty({__proto__:null,generate:sR,name:rR,parse:bb,structure:oR},Symbol.toStringTag,{value:"Module"})),aR="Nth",lR={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function _b(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function cR(e){this.node(e.nth),e.selector!==null&&(this.token(G,"of"),this.node(e.selector))}const uR=Object.freeze(Object.defineProperty({__proto__:null,generate:cR,name:aR,parse:_b,structure:lR},Symbol.toStringTag,{value:"Module"})),fR="Number",dR={value:String};function vb(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(le)}}function pR(e){this.token(le,e.value)}const hR=Object.freeze(Object.defineProperty({__proto__:null,generate:pR,name:fR,parse:vb,structure:dR},Symbol.toStringTag,{value:"Module"})),mR="Operator",gR={value:String};function wb(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function yR(e){this.tokenize(e.value)}const bR=Object.freeze(Object.defineProperty({__proto__:null,generate:yR,name:mR,parse:wb,structure:gR},Symbol.toStringTag,{value:"Module"})),_R="Parentheses",vR={children:[[]]};function Eb(e,t){const n=this.tokenStart;let r=null;return this.eat(Ee),r=e.call(this,t),this.eof||this.eat(se),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function wR(e){this.token(Ee,"("),this.children(e),this.token(se,")")}const ER=Object.freeze(Object.defineProperty({__proto__:null,generate:wR,name:_R,parse:Eb,structure:vR},Symbol.toStringTag,{value:"Module"})),SR="Percentage",CR={value:String};function Sb(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Ke)}}function kR(e){this.token(Ke,e.value+"%")}const xR=Object.freeze(Object.defineProperty({__proto__:null,generate:kR,name:SR,parse:Sb,structure:CR},Symbol.toStringTag,{value:"Module"})),TR="PseudoClassSelector",AR="function",OR={name:String,children:[["Raw"],null]};function Cb(){const e=this.tokenStart;let t=null,n,r;return this.eat(wt),this.tokenType===fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==se?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(se)):n=this.consume(G),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function IR(e){this.token(wt,":"),e.children===null?this.token(G,e.name):(this.token(fe,e.name+"("),this.children(e),this.token(se,")"))}const LR=Object.freeze(Object.defineProperty({__proto__:null,generate:IR,name:TR,parse:Cb,structure:OR,walkContext:AR},Symbol.toStringTag,{value:"Module"})),PR="PseudoElementSelector",RR="function",NR={name:String,children:[["Raw"],null]};function kb(){const e=this.tokenStart;let t=null,n,r;return this.eat(wt),this.eat(wt),this.tokenType===fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==se?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(se)):n=this.consume(G),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function MR(e){this.token(wt,":"),this.token(wt,":"),e.children===null?this.token(G,e.name):(this.token(fe,e.name+"("),this.children(e),this.token(se,")"))}const DR=Object.freeze(Object.defineProperty({__proto__:null,generate:MR,name:PR,parse:kb,structure:NR,walkContext:RR},Symbol.toStringTag,{value:"Module"})),Ip=47;function Lp(){switch(this.skipSC(),this.tokenType){case le:return this.Number();case fe:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const FR="Ratio",$R={left:["Number","Function"],right:["Number","Function",null]};function xb(){const e=this.tokenStart,t=Lp.call(this);let n=null;return this.skipSC(),this.isDelim(Ip)&&(this.eatDelim(Ip),n=Lp.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function UR(e){this.node(e.left),this.token(me,"/"),e.right?this.node(e.right):this.node(le,1)}const jR=Object.freeze(Object.defineProperty({__proto__:null,generate:UR,name:FR,parse:xb,structure:$R},Symbol.toStringTag,{value:"Module"}));function zR(){return this.tokenIndex>0&&this.lookupType(-1)===Ye?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const BR="Raw",HR={value:String};function Tb(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=zR.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function VR(e){this.tokenize(e.value)}const WR=Object.freeze(Object.defineProperty({__proto__:null,generate:VR,name:BR,parse:Tb,structure:HR},Symbol.toStringTag,{value:"Module"}));function Pp(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function GR(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==ct&&this.error(),e}const KR="Rule",qR="rule",YR={prelude:["SelectorList","Raw"],block:["Block"]};function Ab(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(GR,Pp):n=Pp.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function XR(e){this.node(e.prelude),this.node(e.block)}const JR=Object.freeze(Object.defineProperty({__proto__:null,generate:XR,name:KR,parse:Ab,structure:YR,walkContext:qR},Symbol.toStringTag,{value:"Module"})),QR="Scope",ZR={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Ob(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===Ee&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(se)),this.lookupNonWSType(0)===G&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(Ee),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(se)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function eN(e){e.root&&(this.token(Ee,"("),this.node(e.root),this.token(se,")")),e.limit&&(this.token(G,"to"),this.token(Ee,"("),this.node(e.limit),this.token(se,")"))}const tN=Object.freeze(Object.defineProperty({__proto__:null,generate:eN,name:QR,parse:Ob,structure:ZR},Symbol.toStringTag,{value:"Module"})),nN="Selector",rN={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Ib(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function oN(e){this.children(e)}const sN=Object.freeze(Object.defineProperty({__proto__:null,generate:oN,name:nN,parse:Ib,structure:rN},Symbol.toStringTag,{value:"Module"})),iN="SelectorList",aN="selector",lN={children:[["Selector","Raw"]]};function Lb(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Ft){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function cN(e){this.children(e,()=>this.token(Ft,","))}const uN=Object.freeze(Object.defineProperty({__proto__:null,generate:cN,name:iN,parse:Lb,structure:lN,walkContext:aN},Symbol.toStringTag,{value:"Module"})),mc=92,Pb=34,fN=39;function Rb(e){const t=e.length,n=e.charCodeAt(0),r=n===Pb||n===fN?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let s="";for(let i=r;i<=o;i++){let a=e.charCodeAt(i);if(a===mc){if(i===o){i!==t-1&&(s=e.substr(i+1));break}if(a=e.charCodeAt(++i),kn(mc,a)){const l=i-1,c=co(e,l);i=c-1,s+=by(e.substring(l+1,c))}else a===13&&e.charCodeAt(i+1)===10&&i++}else s+=e[i]}return s}function dN(e,t){const r=Pb;let o="",s=!1;for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);if(a===0){o+="�";continue}if(a<=31||a===127){o+="\\"+a.toString(16),s=!0;continue}a===r||a===mc?(o+="\\"+e.charAt(i),s=!1):(s&&(ur(a)||Ir(a))&&(o+=" "),o+=e.charAt(i),s=!1)}return'"'+o+'"'}const pN="String",hN={value:String};function Nb(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Rb(this.consume(hn))}}function mN(e){this.token(hn,dN(e.value))}const gN=Object.freeze(Object.defineProperty({__proto__:null,generate:mN,name:pN,parse:Nb,structure:hN},Symbol.toStringTag,{value:"Module"})),yN=33;function Rp(){return this.Raw(null,!1)}const bN="StyleSheet",_N="stylesheet",vN={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Mb(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case Ye:this.next();continue;case dt:if(this.charCodeAt(this.tokenStart+2)!==yN){this.next();continue}n=this.Comment();break;case ys:n=this.CDO();break;case Rt:n=this.CDC();break;case tt:n=this.parseWithFallback(this.Atrule,Rp);break;default:n=this.parseWithFallback(this.Rule,Rp)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function wN(e){this.children(e)}const EN=Object.freeze(Object.defineProperty({__proto__:null,generate:wN,name:bN,parse:Mb,structure:vN,walkContext:_N},Symbol.toStringTag,{value:"Module"})),SN="SupportsDeclaration",CN={declaration:"Declaration"};function Db(){const e=this.tokenStart;this.eat(Ee),this.skipSC();const t=this.Declaration();return this.eof||this.eat(se),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function kN(e){this.token(Ee,"("),this.node(e.declaration),this.token(se,")")}const xN=Object.freeze(Object.defineProperty({__proto__:null,generate:kN,name:SN,parse:Db,structure:CN},Symbol.toStringTag,{value:"Module"})),TN=42,Np=124;function gl(){this.tokenType!==G&&this.isDelim(TN)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const AN="TypeSelector",ON={name:String};function Fb(){const e=this.tokenStart;return this.isDelim(Np)?(this.next(),gl.call(this)):(gl.call(this),this.isDelim(Np)&&(this.next(),gl.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function IN(e){this.tokenize(e.name)}const LN=Object.freeze(Object.defineProperty({__proto__:null,generate:IN,name:AN,parse:Fb,structure:ON},Symbol.toStringTag,{value:"Module"})),$b=43,Ub=45,gc=63;function Fo(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===Ub&&t&&n!==0)return Fo.call(this,e+n+1,!1),-1;ur(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Hs(e){let t=0;for(;this.isDelim(gc);)++t>e&&this.error("Too many question marks"),this.next()}function PN(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===$b?"Plus sign":"Hyphen minus")+" is expected")}function RN(){let e=0;switch(this.tokenType){case le:if(e=Fo.call(this,1,!0),this.isDelim(gc)){Hs.call(this,6-e);break}if(this.tokenType===he||this.tokenType===le){PN.call(this,Ub),Fo.call(this,1,!1);break}break;case he:e=Fo.call(this,1,!0),e>0&&Hs.call(this,6-e);break;default:if(this.eatDelim($b),this.tokenType===G){e=Fo.call(this,0,!0),e>0&&Hs.call(this,6-e);break}if(this.isDelim(gc)){this.next(),Hs.call(this,5);break}this.error("Hex digit or question mark is expected")}}const NN="UnicodeRange",MN={value:String};function jb(){const e=this.tokenStart;return this.eatIdent("u"),RN.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function DN(e){this.tokenize(e.value)}const FN=Object.freeze(Object.defineProperty({__proto__:null,generate:DN,name:NN,parse:jb,structure:MN},Symbol.toStringTag,{value:"Module"})),$N=32,yc=92,UN=34,jN=39,zN=40,zb=41;function BN(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===zb?t-2:t-1,o="";for(;n<r&&Ir(e.charCodeAt(n));)n++;for(;n<r&&Ir(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let i=e.charCodeAt(s);if(i===yc){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(i=e.charCodeAt(++s),kn(yc,i)){const a=s-1,l=co(e,a);s=l-1,o+=by(e.substring(a+1,l))}else i===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function HN(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o===0){t+="�";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===$N||o===yc||o===UN||o===jN||o===zN||o===zb?(t+="\\"+e.charAt(r),n=!1):(n&&ur(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const VN="Url",WN={value:String};function Bb(){const e=this.tokenStart;let t;switch(this.tokenType){case yt:t=BN(this.consume(yt));break;case fe:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(fe),this.skipSC(),t=Rb(this.consume(hn)),this.skipSC(),this.eof||this.eat(se);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function GN(e){this.token(yt,HN(e.value))}const KN=Object.freeze(Object.defineProperty({__proto__:null,generate:GN,name:VN,parse:Bb,structure:WN},Symbol.toStringTag,{value:"Module"})),qN="Value",YN={children:[[]]};function Hb(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function XN(e){this.children(e)}const JN=Object.freeze(Object.defineProperty({__proto__:null,generate:XN,name:qN,parse:Hb,structure:YN},Symbol.toStringTag,{value:"Module"})),QN=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),ZN="WhiteSpace",eM={value:String};function Vb(){return this.eat(Ye),QN}function tM(e){this.token(Ye,e.value)}const nM=Object.freeze(Object.defineProperty({__proto__:null,generate:tM,name:ZN,parse:Vb,structure:eM},Symbol.toStringTag,{value:"Module"})),Wb=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:wI,Atrule:TI,AtrulePrelude:PI,AttributeSelector:zI,Block:qI,Brackets:QI,CDC:nL,CDO:iL,ClassSelector:fL,Combinator:bL,Comment:CL,Condition:IL,Declaration:WL,DeclarationList:XL,Dimension:eP,Feature:sP,FeatureFunction:uP,FeatureRange:gP,Function:wP,GeneralEnclosed:kP,Hash:IP,IdSelector:$P,Identifier:NP,Layer:HP,LayerList:KP,MediaQuery:JP,MediaQueryList:tR,NestingSelector:iR,Nth:uR,Number:hR,Operator:bR,Parentheses:ER,Percentage:xR,PseudoClassSelector:LR,PseudoElementSelector:DR,Ratio:jR,Raw:WR,Rule:JR,Scope:tN,Selector:sN,SelectorList:uN,String:gN,StyleSheet:EN,SupportsDeclaration:xN,TypeSelector:LN,UnicodeRange:FN,Url:KN,Value:JN,WhiteSpace:nM},Symbol.toStringTag,{value:"Module"})),rM={generic:!0,cssWideKeywords:cu,...gI,node:Wb},oM=35,sM=42,Mp=43,iM=45,aM=47,lM=117;function Gb(e){switch(this.tokenType){case $e:return this.Hash();case Ft:return this.Operator();case Ee:return this.Parentheses(this.readSequence,e.recognizer);case Gt:return this.Brackets(this.readSequence,e.recognizer);case hn:return this.String();case he:return this.Dimension();case Ke:return this.Percentage();case le:return this.Number();case fe:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case yt:return this.Url();case G:return this.cmpChar(this.tokenStart,lM)&&this.cmpChar(this.tokenStart+1,Mp)?this.UnicodeRange():this.Identifier();case me:{const t=this.charCodeAt(this.tokenStart);if(t===aM||t===sM||t===Mp||t===iM)return this.Operator();t===oM&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const cM={getNode:Gb},uM=35,fM=38,dM=42,pM=43,hM=47,Dp=46,mM=62,gM=124,yM=126;function bM(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function _M(){switch(this.tokenType){case Gt:return this.AttributeSelector();case $e:return this.IdSelector();case wt:return this.lookupType(1)===wt?this.PseudoElementSelector():this.PseudoClassSelector();case G:return this.TypeSelector();case le:case Ke:return this.Percentage();case he:this.charCodeAt(this.tokenStart)===Dp&&this.error("Identifier is expected",this.tokenStart+1);break;case me:{switch(this.charCodeAt(this.tokenStart)){case pM:case mM:case yM:case hM:return this.Combinator();case Dp:return this.ClassSelector();case dM:case gM:return this.TypeSelector();case uM:return this.IdSelector();case fM:return this.NestingSelector()}break}}}const vM={onWhiteSpace:bM,getNode:_M};function wM(){return this.createSingleNodeList(this.Raw(null,!1))}function EM(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Ft){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===Ye){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Fp(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const SM={getNode:Gb,onWhiteSpace(e,t){Fp(e)&&(e.value=" "+e.value),Fp(t.last)&&(t.last.value+=" ")},expression:wM,var:EM},CM=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:cM,Selector:vM,Value:SM},Symbol.toStringTag,{value:"Module"})),kM=new Set(["none","and","not","or"]),xM={parse:{prelude(){const e=this.createList();if(this.tokenType===G){const t=this.substring(this.tokenStart,this.tokenEnd);kM.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},TM={parse:{prelude:null,block(){return this.Block(!0)}}};function yl(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==se&&this.error()}},t||(()=>this.Raw(null,!0)))}const $p={layer(){this.skipSC();const e=this.createList(),t=yl.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=yl.call(this,this.Declaration,()=>yl.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},AM={parse:{prelude(){const e=this.createList();switch(this.tokenType){case hn:e.push(this.String());break;case yt:case fe:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===G&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,$p)),this.skipSC(),this.tokenType===fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,$p)),(this.lookupNonWSType(0)===G||this.lookupNonWSType(0)===Ee)&&e.push(this.MediaQueryList()),e},block:null}},OM={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},IM={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},LM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},PM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},RM={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},NM={parse:{prelude:null,block(e=!1){return this.Block(e)}}},MM={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},DM={container:xM,"font-face":TM,import:AM,layer:OM,media:IM,nest:LM,page:PM,scope:RM,"starting-style":NM,supports:MM};function FM(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case G:e.push(this.Identifier());break;case hn:e.push(this.String());break;case Ft:e.push(this.Operator());break;case se:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const yr={parse(){return this.createSingleNodeList(this.SelectorList())}},bl={parse(){return this.createSingleNodeList(this.Selector())}},$M={parse(){return this.createSingleNodeList(this.Identifier())}},UM={parse:FM},Vs={parse(){return this.createSingleNodeList(this.Nth())}},jM={dir:$M,has:yr,lang:UM,matches:yr,is:yr,"-moz-any":yr,"-webkit-any":yr,where:yr,not:yr,"nth-child":Vs,"nth-last-child":Vs,"nth-last-of-type":Vs,"nth-of-type":Vs,slotted:bl,host:bl,"host-context":bl},zM=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:By,Atrule:Hy,AtrulePrelude:Vy,AttributeSelector:Gy,Block:qy,Brackets:Yy,CDC:Xy,CDO:Jy,ClassSelector:Qy,Combinator:Zy,Comment:eb,Condition:tb,Declaration:rb,DeclarationList:ob,Dimension:sb,Feature:ib,FeatureFunction:ab,FeatureRange:lb,Function:cb,GeneralEnclosed:ub,Hash:fb,IdSelector:pb,Identifier:db,Layer:hb,LayerList:mb,MediaQuery:gb,MediaQueryList:yb,NestingSelector:bb,Nth:_b,Number:vb,Operator:wb,Parentheses:Eb,Percentage:Sb,PseudoClassSelector:Cb,PseudoElementSelector:kb,Ratio:xb,Raw:Tb,Rule:Ab,Scope:Ob,Selector:Ib,SelectorList:Lb,String:Nb,StyleSheet:Mb,SupportsDeclaration:Db,TypeSelector:Fb,UnicodeRange:jb,Url:Bb,Value:Hb,WhiteSpace:Vb},Symbol.toStringTag,{value:"Module"})),BM={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:CM,atrule:DM,pseudo:jM,node:zM},HM={node:Wb},VM=mI({...rM,...BM,...HM}),{tokenize:lU,parse:WM,generate:GM,lexer:cU,createLexer:uU,walk:KM,find:fU,findLast:dU,findAll:pU,toPlainObject:hU,fromPlainObject:mU,fork:gU}=VM;function qM(e,t,n){const r=WM(e,{positions:!1});return KM(r,o=>{if(o.type==="Url"&&o.value&&o.value.startsWith(".")){const s=o.value.replace(/["']/g,""),i=new URL(s,t),a=n?.find(l=>i.href.endsWith(l.path));a?o.value=a.signedUrl:o.value=new URL(s,t).href}}),GM(r)}function YM(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function XM(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}const bc=(e,t)=>t.some(n=>e instanceof n);let Up,jp;function JM(){return Up||(Up=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function QM(){return jp||(jp=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const _c=new WeakMap,_l=new WeakMap,ga=new WeakMap;function ZM(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",i)},s=()=>{n(xr(e.result)),o()},i=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",i)});return ga.set(t,e),t}function eD(e){if(_c.has(e))return;const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",i),e.removeEventListener("abort",i)},s=()=>{n(),o()},i=()=>{r(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",s),e.addEventListener("error",i),e.addEventListener("abort",i)});_c.set(e,t)}let vc={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return _c.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return xr(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function Kb(e){vc=e(vc)}function tD(e){return QM().includes(e)?function(...t){return e.apply(wc(this),t),xr(this.request)}:function(...t){return xr(e.apply(wc(this),t))}}function nD(e){return typeof e=="function"?tD(e):(e instanceof IDBTransaction&&eD(e),bc(e,JM())?new Proxy(e,vc):e)}function xr(e){if(e instanceof IDBRequest)return ZM(e);if(_l.has(e))return _l.get(e);const t=nD(e);return t!==e&&(_l.set(e,t),ga.set(t,e)),t}const wc=e=>ga.get(e);function rD(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const i=indexedDB.open(e,t),a=xr(i);return r&&i.addEventListener("upgradeneeded",l=>{r(xr(i.result),l.oldVersion,l.newVersion,xr(i.transaction),l)}),n&&i.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),a.then(l=>{s&&l.addEventListener("close",()=>s()),o&&l.addEventListener("versionchange",c=>o(c.oldVersion,c.newVersion,c))}).catch(()=>{}),a}const oD=["get","getKey","getAll","getAllKeys","count"],sD=["put","add","delete","clear"],vl=new Map;function zp(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(vl.get(t))return vl.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=sD.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||oD.includes(n)))return;const s=async function(i,...a){const l=this.transaction(i,o?"readwrite":"readonly");let c=l.store;return r&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),o&&l.done]))[0]};return vl.set(t,s),s}Kb(e=>({...e,get:(t,n,r)=>zp(t,n)||e.get(t,n,r),has:(t,n)=>!!zp(t,n)||e.has(t,n)}));const iD=["continue","continuePrimaryKey","advance"],Bp={},Ec=new WeakMap,qb=new WeakMap,aD={get(e,t){if(!iD.includes(t))return e[t];let n=Bp[t];return n||(n=Bp[t]=function(...r){Ec.set(this,qb.get(this)[t](...r))}),n}};async function*lD(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,aD);for(qb.set(n,t),ga.set(n,wc(t));t;)yield n,t=await(Ec.get(n)||t.continue()),Ec.delete(n)}function Hp(e,t){return t===Symbol.asyncIterator&&bc(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&bc(e,[IDBIndex,IDBObjectStore])}Kb(e=>({...e,get(t,n,r){return Hp(t,n)?lD:e.get(t,n,r)},has(t,n){return Hp(t,n)||e.has(t,n)}}));let er=null;const Vp=Ug("indexedDB",{actions:{async open(e=1){return er||(er=await rD(Ne.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(Ne.INDEX_DB_TABLE_NAME)||t.createObjectStore(Ne.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),er)},async get(e,t){return(await this.open()).get(e,t)},async put(e,t){return(await this.open()).put(e,t)},async remove(e,t){return(await this.open()).delete(e,t)},close(){er?.close(),er=null},async deleteDatabase(){if(er){const e=er.name;this.close(),indexedDB.deleteDatabase(e)}}}});function Yb(e,t){return function(){return e.apply(t,arguments)}}const{toString:cD}=Object.prototype,{getPrototypeOf:ya}=Object,{iterator:ba,toStringTag:Xb}=Symbol,_a=(e=>t=>{const n=cD.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),mn=e=>(e=e.toLowerCase(),t=>_a(t)===e),va=e=>t=>typeof t===e,{isArray:bo}=Array,fo=va("undefined");function _s(e){return e!==null&&!fo(e)&&e.constructor!==null&&!fo(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jb=mn("ArrayBuffer");function uD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jb(e.buffer),t}const fD=va("string"),Mt=va("function"),Qb=va("number"),vs=e=>e!==null&&typeof e=="object",dD=e=>e===!0||e===!1,ri=e=>{if(_a(e)!=="object")return!1;const t=ya(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Xb in e)&&!(ba in e)},pD=e=>{if(!vs(e)||_s(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},hD=mn("Date"),mD=mn("File"),gD=e=>!!(e&&typeof e.uri<"u"),yD=e=>e&&typeof e.getParts<"u",bD=mn("Blob"),_D=mn("FileList"),vD=e=>vs(e)&&Mt(e.pipe);function wD(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Wp=wD(),Gp=typeof Wp.FormData<"u"?Wp.FormData:void 0,ED=e=>{if(!e)return!1;if(Gp&&e instanceof Gp)return!0;const t=ya(e);if(!t||t===Object.prototype||!Mt(e.append))return!1;const n=_a(e);return n==="formdata"||n==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"},SD=mn("URLSearchParams"),[CD,kD,xD,TD]=["ReadableStream","Request","Response","Headers"].map(mn),AD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ws(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),bo(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(_s(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function Zb(e,t){if(_s(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Sr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,e_=e=>!fo(e)&&e!==Sr;function Sc(){const{caseless:e,skipUndefined:t}=e_(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=e&&Zb(n,s)||s;ri(n[i])&&ri(o)?n[i]=Sc(n[i],o):ri(o)?n[i]=Sc({},o):bo(o)?n[i]=o.slice():(!t||!fo(o))&&(n[i]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&ws(arguments[o],r);return n}const OD=(e,t,n,{allOwnKeys:r}={})=>(ws(t,(o,s)=>{n&&Mt(o)?Object.defineProperty(e,s,{value:Yb(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),ID=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),LD=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},PD=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&ya(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},RD=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},ND=e=>{if(!e)return null;if(bo(e))return e;let t=e.length;if(!Qb(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},MD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ya(Uint8Array)),DD=(e,t)=>{const r=(e&&e[ba]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},FD=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},$D=mn("HTMLFormElement"),UD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Kp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),jD=mn("RegExp"),t_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ws(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},zD=e=>{t_(e,(t,n)=>{if(Mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Mt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},BD=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return bo(e)?r(e):r(String(e).split(t)),n},HD=()=>{},VD=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function WD(e){return!!(e&&Mt(e.append)&&e[Xb]==="FormData"&&e[ba])}const GD=e=>{const t=new Array(10),n=(r,o)=>{if(vs(r)){if(t.indexOf(r)>=0)return;if(_s(r))return r;if(!("toJSON"in r)){t[o]=r;const s=bo(r)?[]:{};return ws(r,(i,a)=>{const l=n(i,o+1);!fo(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},KD=mn("AsyncFunction"),qD=e=>e&&(vs(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),n_=((e,t)=>e?setImmediate:t?((n,r)=>(Sr.addEventListener("message",({source:o,data:s})=>{o===Sr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Sr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(Sr.postMessage)),YD=typeof queueMicrotask<"u"?queueMicrotask.bind(Sr):typeof process<"u"&&process.nextTick||n_,XD=e=>e!=null&&Mt(e[ba]),D={isArray:bo,isArrayBuffer:Jb,isBuffer:_s,isFormData:ED,isArrayBufferView:uD,isString:fD,isNumber:Qb,isBoolean:dD,isObject:vs,isPlainObject:ri,isEmptyObject:pD,isReadableStream:CD,isRequest:kD,isResponse:xD,isHeaders:TD,isUndefined:fo,isDate:hD,isFile:mD,isReactNativeBlob:gD,isReactNative:yD,isBlob:bD,isRegExp:jD,isFunction:Mt,isStream:vD,isURLSearchParams:SD,isTypedArray:MD,isFileList:_D,forEach:ws,merge:Sc,extend:OD,trim:AD,stripBOM:ID,inherits:LD,toFlatObject:PD,kindOf:_a,kindOfTest:mn,endsWith:RD,toArray:ND,forEachEntry:DD,matchAll:FD,isHTMLForm:$D,hasOwnProperty:Kp,hasOwnProp:Kp,reduceDescriptors:t_,freezeMethods:zD,toObjectSet:BD,toCamelCase:UD,noop:HD,toFiniteNumber:VD,findKey:Zb,global:Sr,isContextDefined:e_,isSpecCompliantForm:WD,toJSONObject:GD,isAsyncFn:KD,isThenable:qD,setImmediate:n_,asap:YD,isIterable:XD};let re=class r_ extends Error{static from(t,n,r,o,s,i){const a=new r_(t.message,n||t.code,r,o,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:D.toJSONObject(this.config),code:this.code,status:this.status}}};re.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";re.ERR_BAD_OPTION="ERR_BAD_OPTION";re.ECONNABORTED="ECONNABORTED";re.ETIMEDOUT="ETIMEDOUT";re.ERR_NETWORK="ERR_NETWORK";re.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";re.ERR_DEPRECATED="ERR_DEPRECATED";re.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";re.ERR_BAD_REQUEST="ERR_BAD_REQUEST";re.ERR_CANCELED="ERR_CANCELED";re.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";re.ERR_INVALID_URL="ERR_INVALID_URL";re.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const JD=null;function Cc(e){return D.isPlainObject(e)||D.isArray(e)}function o_(e){return D.endsWith(e,"[]")?e.slice(0,-2):e}function wl(e,t,n){return e?e.concat(t).map(function(o,s){return o=o_(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function QD(e){return D.isArray(e)&&!e.some(Cc)}const ZD=D.toFlatObject(D,{},null,function(t){return/^is[A-Z]/.test(t)});function wa(e,t,n){if(!D.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,y){return!D.isUndefined(y[_])});const r=n.metaTokens,o=n.visitor||f,s=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,c=a&&D.isSpecCompliantForm(t);if(!D.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(D.isDate(h))return h.toISOString();if(D.isBoolean(h))return h.toString();if(!c&&D.isBlob(h))throw new re("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(h)||D.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function f(h,_,y){let b=h;if(D.isReactNative(t)&&D.isReactNativeBlob(h))return t.append(wl(y,_,s),u(h)),!1;if(h&&!y&&typeof h=="object"){if(D.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(D.isArray(h)&&QD(h)||(D.isFileList(h)||D.endsWith(_,"[]"))&&(b=D.toArray(h)))return _=o_(_),b.forEach(function(m,O){!(D.isUndefined(m)||m===null)&&t.append(i===!0?wl([_],O,s):i===null?_:_+"[]",u(m))}),!1}return Cc(h)?!0:(t.append(wl(y,_,s),u(h)),!1)}const d=[],p=Object.assign(ZD,{defaultVisitor:f,convertValue:u,isVisitable:Cc});function g(h,_,y=0){if(!D.isUndefined(h)){if(y>l)throw new re("Object is too deeply nested ("+y+" levels). Max depth: "+l,re.ERR_FORM_DATA_DEPTH_EXCEEDED);if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));d.push(h),D.forEach(h,function(E,m){(!(D.isUndefined(E)||E===null)&&o.call(t,E,D.isString(m)?m.trim():m,_,p))===!0&&g(E,_?_.concat(m):[m],y+1)}),d.pop()}}if(!D.isObject(e))throw new TypeError("data must be an object");return g(e),t}function qp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Eu(e,t){this._pairs=[],e&&wa(e,this,t)}const s_=Eu.prototype;s_.append=function(t,n){this._pairs.push([t,n])};s_.toString=function(t){const n=t?function(r){return t.call(this,r,qp)}:qp;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function eF(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function i_(e,t,n){if(!t)return e;const r=n&&n.encode||eF,o=D.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=D.isURLSearchParams(t)?t.toString():new Eu(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Yp{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){D.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Su={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},tF=typeof URLSearchParams<"u"?URLSearchParams:Eu,nF=typeof FormData<"u"?FormData:null,rF=typeof Blob<"u"?Blob:null,oF={isBrowser:!0,classes:{URLSearchParams:tF,FormData:nF,Blob:rF},protocols:["http","https","file","blob","url","data"]},Cu=typeof window<"u"&&typeof document<"u",kc=typeof navigator=="object"&&navigator||void 0,sF=Cu&&(!kc||["ReactNative","NativeScript","NS"].indexOf(kc.product)<0),iF=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",aF=Cu&&window.location.href||"http://localhost",lF=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cu,hasStandardBrowserEnv:sF,hasStandardBrowserWebWorkerEnv:iF,navigator:kc,origin:aF},Symbol.toStringTag,{value:"Module"})),vt={...lF,...oF};function cF(e,t){return wa(e,new vt.classes.URLSearchParams,{visitor:function(n,r,o,s){return vt.isNode&&D.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function uF(e){return D.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function fF(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function a_(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&D.isArray(o)?o.length:i,l?(D.hasOwnProp(o,i)?o[i]=D.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!o[i]||!D.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&D.isArray(o[i])&&(o[i]=fF(o[i])),!a)}if(D.isFormData(e)&&D.isFunction(e.entries)){const n={};return D.forEachEntry(e,(r,o)=>{t(uF(r),o,n,0)}),n}return null}const jr=(e,t)=>e!=null&&D.hasOwnProp(e,t)?e[t]:void 0;function dF(e,t,n){if(D.isString(e))try{return(t||JSON.parse)(e),D.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Es={transitional:Su,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=D.isObject(t);if(s&&D.isHTMLForm(t)&&(t=new FormData(t)),D.isFormData(t))return o?JSON.stringify(a_(t)):t;if(D.isArrayBuffer(t)||D.isBuffer(t)||D.isStream(t)||D.isFile(t)||D.isBlob(t)||D.isReadableStream(t))return t;if(D.isArrayBufferView(t))return t.buffer;if(D.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=jr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return cF(t,l).toString();if((a=D.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=jr(this,"env"),u=c&&c.FormData;return wa(a?{"files[]":t}:t,u&&new u,l)}}return s||o?(n.setContentType("application/json",!1),dF(t)):t}],transformResponse:[function(t){const n=jr(this,"transitional")||Es.transitional,r=n&&n.forcedJSONParsing,o=jr(this,"responseType"),s=o==="json";if(D.isResponse(t)||D.isReadableStream(t))return t;if(t&&D.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,jr(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?re.from(l,re.ERR_BAD_RESPONSE,this,null,jr(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],e=>{Es.headers[e]={}});const pF=D.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),hF=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
29
|
-
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&pF[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Xp=Symbol("internals"),mF=/[^\x09\x20-\x7E\x80-\xFF]/g;function gF(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function Ao(e){return e&&String(e).trim().toLowerCase()}function yF(e){return gF(e.replace(mF,""))}function oi(e){return e===!1||e==null?e:D.isArray(e)?e.map(oi):yF(String(e))}function bF(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const _F=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function El(e,t,n,r,o){if(D.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!D.isString(t)){if(D.isString(r))return t.indexOf(r)!==-1;if(D.isRegExp(r))return r.test(t)}}function vF(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function wF(e,t){const n=D.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}let Dt=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=Ao(l);if(!u)throw new Error("header name must be a non-empty string");const f=D.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=oi(a))}const i=(a,l)=>D.forEach(a,(c,u)=>s(c,u,l));if(D.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(D.isString(t)&&(t=t.trim())&&!_F(t))i(hF(t),n);else if(D.isObject(t)&&D.isIterable(t)){let a={},l,c;for(const u of t){if(!D.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?D.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}i(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=Ao(t),t){const r=D.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return bF(o);if(D.isFunction(n))return n.call(this,o,r);if(D.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ao(t),t){const r=D.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||El(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Ao(i),i){const a=D.findKey(r,i);a&&(!n||El(r,r[a],a,n))&&(delete r[a],o=!0)}}return D.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||El(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return D.forEach(this,(o,s)=>{const i=D.findKey(r,s);if(i){n[i]=oi(o),delete n[s];return}const a=t?vF(s):String(s).trim();a!==s&&delete n[s],n[a]=oi(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return D.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&D.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
30
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Xp]=this[Xp]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Ao(i);r[a]||(wF(o,i),r[a]=!0)}return D.isArray(t)?t.forEach(s):s(t),this}};Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(Dt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});D.freezeMethods(Dt);function Sl(e,t){const n=this||Es,r=t||n,o=Dt.from(r.headers);let s=r.data;return D.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function l_(e){return!!(e&&e.__CANCEL__)}let Ss=class extends re{constructor(t,n,r){super(t??"canceled",re.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function c_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function EF(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function SF(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[s];i||(i=c),n[o]=l,r[o]=c;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(d*1e3/p):void 0}}function CF(e,t){let n=0,r=1e3/t,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const Ni=(e,t,n=3)=>{let r=0;const o=SF(50,250);return CF(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=a!=null?Math.min(i,a):i,c=Math.max(0,l-r),u=o(c);r=Math.max(r,l);const f={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a?(a-l)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Jp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Qp=e=>(...t)=>D.asap(()=>e(...t)),kF=vt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,vt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(vt.origin),vt.navigator&&/(msie|trident)/i.test(vt.navigator.userAgent)):()=>!0,xF=vt.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];D.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),D.isString(r)&&a.push(`path=${r}`),D.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),D.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function TF(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function AF(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function u_(e,t,n){let r=!TF(t);return e&&(r||n===!1)?AF(e,t):t}const Zp=e=>e instanceof Dt?{...e}:e;function Lr(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(c,u,f,d){return D.isPlainObject(c)&&D.isPlainObject(u)?D.merge.call({caseless:d},c,u):D.isPlainObject(u)?D.merge({},u):D.isArray(u)?u.slice():u}function o(c,u,f,d){if(D.isUndefined(u)){if(!D.isUndefined(c))return r(void 0,c,f,d)}else return r(c,u,f,d)}function s(c,u){if(!D.isUndefined(u))return r(void 0,u)}function i(c,u){if(D.isUndefined(u)){if(!D.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,f){if(D.hasOwnProp(t,f))return r(c,u);if(D.hasOwnProp(e,f))return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(c,u,f)=>o(Zp(c),Zp(u),f,!0)};return D.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const f=D.hasOwnProp(l,u)?l[u]:o,d=D.hasOwnProp(e,u)?e[u]:void 0,p=D.hasOwnProp(t,u)?t[u]:void 0,g=f(d,p,u);D.isUndefined(g)&&f!==a||(n[u]=g)}),n}const f_=e=>{const t=Lr({},e),n=d=>D.hasOwnProp(t,d)?t[d]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=Dt.from(a),t.url=i_(u_(c,f,u),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),D.isFormData(r)){if(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(D.isFunction(r.getHeaders)){const d=r.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([g,h])=>{p.includes(g.toLowerCase())&&a.set(g,h)})}}if(vt.hasStandardBrowserEnv&&(D.isFunction(o)&&(o=o(t)),o===!0||o==null&&kF(t.url))){const p=s&&i&&xF.read(i);p&&a.set(s,p)}return t},OF=typeof XMLHttpRequest<"u",IF=OF&&function(e){return new Promise(function(n,r){const o=f_(e);let s=o.data;const i=Dt.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,f,d,p,g;function h(){p&&p(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let _=new XMLHttpRequest;_.open(o.method.toUpperCase(),o.url,!0),_.timeout=o.timeout;function y(){if(!_)return;const E=Dt.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:E,config:e,request:_};c_(function(x){n(x),h()},function(x){r(x),h()},O),_=null}"onloadend"in _?_.onloadend=y:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(y)},_.onabort=function(){_&&(r(new re("Request aborted",re.ECONNABORTED,e,_)),_=null)},_.onerror=function(m){const O=m&&m.message?m.message:"Network Error",C=new re(O,re.ERR_NETWORK,e,_);C.event=m||null,r(C),_=null},_.ontimeout=function(){let m=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const O=o.transitional||Su;o.timeoutErrorMessage&&(m=o.timeoutErrorMessage),r(new re(m,O.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,_)),_=null},s===void 0&&i.setContentType(null),"setRequestHeader"in _&&D.forEach(i.toJSON(),function(m,O){_.setRequestHeader(O,m)}),D.isUndefined(o.withCredentials)||(_.withCredentials=!!o.withCredentials),a&&a!=="json"&&(_.responseType=o.responseType),c&&([d,g]=Ni(c,!0),_.addEventListener("progress",d)),l&&_.upload&&([f,p]=Ni(l),_.upload.addEventListener("progress",f),_.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(u=E=>{_&&(r(!E||E.type?new Ss(null,e,_):E),_.abort(),_=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const b=EF(o.url);if(b&&vt.protocols.indexOf(b)===-1){r(new re("Unsupported protocol "+b+":",re.ERR_BAD_REQUEST,e));return}_.send(s||null)})},LF=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof re?u:new Ss(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,s(new re(`timeout of ${t}ms exceeded`,re.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>D.asap(a),l}},PF=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},RF=async function*(e,t){for await(const n of NF(e))yield*PF(n,t)},NF=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},eh=(e,t,n,r)=>{const o=RF(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let f=u.byteLength;if(n){let d=s+=f;n(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},th=64*1024,{isFunction:Ws}=D,MF=(({Request:e,Response:t})=>({Request:e,Response:t}))(D.global),{ReadableStream:nh,TextEncoder:rh}=D.global,oh=(e,...t)=>{try{return!!e(...t)}catch{return!1}},DF=e=>{e=D.merge.call({skipUndefined:!0},MF,e);const{fetch:t,Request:n,Response:r}=e,o=t?Ws(t):typeof fetch=="function",s=Ws(n),i=Ws(r);if(!o)return!1;const a=o&&Ws(nh),l=o&&(typeof rh=="function"?(g=>h=>g.encode(h))(new rh):async g=>new Uint8Array(await new n(g).arrayBuffer())),c=s&&a&&oh(()=>{let g=!1;const h=new n(vt.origin,{body:new nh,method:"POST",get duplex(){return g=!0,"half"}}),_=h.headers.has("Content-Type");return h.body!=null&&h.body.cancel(),g&&!_}),u=i&&a&&oh(()=>D.isReadableStream(new r("").body)),f={stream:u&&(g=>g.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!f[g]&&(f[g]=(h,_)=>{let y=h&&h[g];if(y)return y.call(h);throw new re(`Response type '${g}' is not supported`,re.ERR_NOT_SUPPORT,_)})});const d=async g=>{if(g==null)return 0;if(D.isBlob(g))return g.size;if(D.isSpecCompliantForm(g))return(await new n(vt.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(D.isArrayBufferView(g)||D.isArrayBuffer(g))return g.byteLength;if(D.isURLSearchParams(g)&&(g=g+""),D.isString(g))return(await l(g)).byteLength},p=async(g,h)=>{const _=D.toFiniteNumber(g.getContentLength());return _??d(h)};return async g=>{let{url:h,method:_,data:y,signal:b,cancelToken:E,timeout:m,onDownloadProgress:O,onUploadProgress:C,responseType:x,headers:v,withCredentials:T="same-origin",fetchOptions:N}=f_(g),M=t||fetch;x=x?(x+"").toLowerCase():"text";let W=LF([b,E&&E.toAbortSignal()],m),Z=null;const H=W&&W.unsubscribe&&(()=>{W.unsubscribe()});let K;try{if(C&&c&&_!=="get"&&_!=="head"&&(K=await p(v,y))!==0){let Oe=new n(h,{method:"POST",body:y,duplex:"half"}),Ue;if(D.isFormData(y)&&(Ue=Oe.headers.get("content-type"))&&v.setContentType(Ue),Oe.body){const[Lt,Ct]=Jp(K,Ni(Qp(C)));y=eh(Oe.body,th,Lt,Ct)}}D.isString(T)||(T=T?"include":"omit");const V=s&&"credentials"in n.prototype;if(D.isFormData(y)){const Oe=v.getContentType();Oe&&/^multipart\/form-data/i.test(Oe)&&!/boundary=/i.test(Oe)&&v.delete("content-type")}const ee={...N,signal:W,method:_.toUpperCase(),headers:v.normalize().toJSON(),body:y,duplex:"half",credentials:V?T:void 0};Z=s&&new n(h,ee);let ie=await(s?M(Z,N):M(h,ee));const Xe=u&&(x==="stream"||x==="response");if(u&&(O||Xe&&H)){const Oe={};["status","statusText","headers"].forEach($t=>{Oe[$t]=ie[$t]});const Ue=D.toFiniteNumber(ie.headers.get("content-length")),[Lt,Ct]=O&&Jp(Ue,Ni(Qp(O),!0))||[];ie=new r(eh(ie.body,th,Lt,()=>{Ct&&Ct(),H&&H()}),Oe)}x=x||"text";let St=await f[D.findKey(f,x)||"text"](ie,g);return!Xe&&H&&H(),await new Promise((Oe,Ue)=>{c_(Oe,Ue,{data:St,headers:Dt.from(ie.headers),status:ie.status,statusText:ie.statusText,config:g,request:Z})})}catch(V){throw H&&H(),V&&V.name==="TypeError"&&/Load failed|fetch/i.test(V.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,g,Z,V&&V.response),{cause:V.cause||V}):re.from(V,V&&V.code,g,Z,V&&V.response)}}},FF=new Map,d_=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i=s.length,a=i,l,c,u=FF;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:DF(t)),u=c;return c};d_();const ku={http:JD,xhr:IF,fetch:{get:d_}};D.forEach(ku,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sh=e=>`- ${e}`,$F=e=>D.isFunction(e)||e===null||e===!1;function UF(e,t){e=D.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){r=e[i];let a;if(o=r,!$F(r)&&(o=ku[(a=String(r)).toLowerCase()],o===void 0))throw new re(`Unknown adapter '${a}'`);if(o&&(D.isFunction(o)||(o=o.get(t))))break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
|
|
31
|
-
`+i.map(sh).join(`
|
|
32
|
-
`):" "+sh(i[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const p_={getAdapter:UF,adapters:ku};function Cl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ss(null,e)}function ih(e){return Cl(e),e.headers=Dt.from(e.headers),e.data=Sl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),p_.getAdapter(e.adapter||Es.adapter,e)(e).then(function(r){return Cl(e),r.data=Sl.call(e,e.transformResponse,r),r.headers=Dt.from(r.headers),r},function(r){return l_(r)||(Cl(e),r&&r.response&&(r.response.data=Sl.call(e,e.transformResponse,r.response),r.response.headers=Dt.from(r.response.headers))),Promise.reject(r)})}const h_="1.15.2",Ea={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ea[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ah={};Ea.transitional=function(t,n,r){function o(s,i){return"[Axios v"+h_+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new re(o(i," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!ah[i]&&(ah[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};Ea.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function jF(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new re("option "+s+" must be "+l,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+s,re.ERR_BAD_OPTION)}}const si={assertOptions:jF,validators:Ea},qt=si.validators;let Tr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Yp,response:new Yp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=(()=>{if(!o.stack)return"";const i=o.stack.indexOf(`
|
|
33
|
-
`);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
|
|
34
|
-
`),a=i===-1?-1:s.indexOf(`
|
|
35
|
-
`,i+1),l=a===-1?"":s.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
|
|
36
|
-
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Lr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&si.assertOptions(r,{silentJSONParsing:qt.transitional(qt.boolean),forcedJSONParsing:qt.transitional(qt.boolean),clarifyTimeoutError:qt.transitional(qt.boolean),legacyInterceptorReqResOrdering:qt.transitional(qt.boolean)},!1),o!=null&&(D.isFunction(o)?n.paramsSerializer={serialize:o}:si.assertOptions(o,{encode:qt.function,serialize:qt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),si.assertOptions(n,{baseUrl:qt.spelling("baseURL"),withXsrfToken:qt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&D.merge(s.common,s[n.method]);s&&D.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),n.headers=Dt.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;l=l&&h.synchronous;const _=n.transitional||Su;_&&_.legacyInterceptorReqResOrdering?a.unshift(h.fulfilled,h.rejected):a.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let u,f=0,d;if(!l){const g=[ih.bind(this),void 0];for(g.unshift(...a),g.push(...c),d=g.length,u=Promise.resolve(n);f<d;)u=u.then(g[f++],g[f++]);return u}d=a.length;let p=n;for(;f<d;){const g=a[f++],h=a[f++];try{p=g(p)}catch(_){h.call(this,_);break}}try{u=ih.call(this,p)}catch(g){return Promise.reject(g)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=Lr(this.defaults,t);const n=u_(t.baseURL,t.url,t.allowAbsoluteUrls);return i_(n,t.params,t.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(t){Tr.prototype[t]=function(n,r){return this.request(Lr(r||{},{method:t,url:n,data:(r||{}).data}))}});D.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Lr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Tr.prototype[t]=n(),Tr.prototype[t+"Form"]=n(!0)});let zF=class m_{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Ss(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new m_(function(o){t=o}),cancel:t}}};function BF(e){return function(n){return e.apply(null,n)}}function HF(e){return D.isObject(e)&&e.isAxiosError===!0}const xc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(xc).forEach(([e,t])=>{xc[t]=e});function g_(e){const t=new Tr(e),n=Yb(Tr.prototype.request,t);return D.extend(n,Tr.prototype,t,{allOwnKeys:!0}),D.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return g_(Lr(e,o))},n}const Ze=g_(Es);Ze.Axios=Tr;Ze.CanceledError=Ss;Ze.CancelToken=zF;Ze.isCancel=l_;Ze.VERSION=h_;Ze.toFormData=wa;Ze.AxiosError=re;Ze.Cancel=Ze.CanceledError;Ze.all=function(t){return Promise.all(t)};Ze.spread=BF;Ze.isAxiosError=HF;Ze.mergeConfig=Lr;Ze.AxiosHeaders=Dt;Ze.formToJSON=e=>a_(D.isHTMLForm(e)?new FormData(e):e);Ze.getAdapter=p_.getAdapter;Ze.HttpStatusCode=xc;Ze.default=Ze;const{Axios:vU,AxiosError:wU,CanceledError:EU,isCancel:SU,CancelToken:CU,VERSION:kU,all:xU,Cancel:TU,isAxiosError:AU,spread:OU,toFormData:IU,AxiosHeaders:LU,HttpStatusCode:PU,formToJSON:RU,getAdapter:NU,mergeConfig:MU}=Ze,y_=new Map,VF={baseURL:"",timeout:1e4};function WF(e,t){const n=Ze.create({...VF,...t});return y_.set(e,n),n}function GF(e="default"){const t=y_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function KF(e,t){const n=e.split("/")[0],r=GF(n);return e=e.replace(n,""),r.request({url:e,...t})}async function qF(e,t){return KF("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const YF=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:qF},Symbol.toStringTag,{value:"Module"})),lh={v1Preprocessing:YF},ch=[".png",".jpg",".jpeg",".gif"],XF=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r})=>{const o={moduleCache:e,pathResolve({refPath:s,relPath:i},a){if(i===".")return s;if(a.moduleCache[i])return i;const l=t[i];if(l)return lg.PREBUILD_MODULE_SKIP_EXT.some(c=>l.endsWith(c))?new URL(`${Ne.NODE_MODULES_LOAD_PREFIX}/${l}`,window.location.origin).href:new URL(`${Ne.MODULE_LOAD_PREFIX}/${l}`,window.location.origin).href;if(n?.length&&s){const{origin:c,pathname:u}=new URL(s),f=`${c}${u}`,d=new URL(i,f),p=n.find(g=>g.signedUrl.startsWith(d.href));if(p)return p.signedUrl}return String(new URL(i,s??window.location.href))},async getFile(s){const i=s.toString(),a=new URL(s).pathname;if(ch.some(c=>a.endsWith(c))){const c=await fetch(i);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+s),{res:c});const u=await c.blob();return URL.createObjectURL(u)}const l=await fetch(i);if(!l.ok)throw Object.assign(new Error(l.statusText+" "+s),{res:l});return{type:YM(l.url),getContentData:c=>c?l.arrayBuffer():l.text()}},async addStyle(s,i,a){let l=s;a&&s&&(l=qM(s,a,n||[])),document.head.querySelector(`style#${i}`)?.remove();const u=Object.assign(document.createElement("style"),{textContent:l,...i?{id:i}:{}});document.head.appendChild(u)},async processStyles(s,i){if(s.trim()&&i){const l=await lh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:s,precompilerType:i}),{preprocessedCode:c}=l.data;return c}return s},async handleModule(s,i){if(ch.includes(s))return await i(!1);switch(s){case".css":{const a=await i(!1);return typeof a=="string"&&await o.addStyle(a),null}case".less":case".scss":case".sass":{const a=await i(!1),c={".scss":"scss",".sass":"sass",".less":"less"}[s];if(typeof a=="string"){const u=a.trim();if(u){const f=await lh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:u,precompilerType:c}),{preprocessedCode:d}=f.data;await o.addStyle(d)}}return null}}},compiledCache:{async set(s,i){try{await Vp().put(Ne.INDEX_DB_TABLE_NAME,{hash:s,code:i})}catch(a){console.error("将编译后的模块存储到IndexedDB失败",a)}},async get(s){try{return(await Vp().get(Ne.INDEX_DB_TABLE_NAME,s))?.code??void 0}catch(i){console.error("从IndexedDB获取编译后的模块失败",i),r?.(i);return}}},log(s,...i){(s==="error"||s==="warn")&&r?.(new Error(i.join(`
|
|
37
|
-
`)))}};return o};function xu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function JF(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${xu(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function QF(e,t,n="hl"){if(!t?.trim())return e;const r=xu(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function ZF(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const b_=e=>e.replace(/[/\\]/g,"/"),e$=(e,t="/")=>e.replace(/[\\/]+/g,t);function t$(){return"#"+Rx(0,16777215).toString(16).padStart(6,"0")}const n$=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),__=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Tc=e=>{if(Array.isArray(e))return e.map(n=>Tc(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=__(n);t[r]=Tc(e[n])}return t};function r$(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function o$(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function v_(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
|
|
38
|
-
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function s$(e){return v_(e).valid}const i$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Tc,escapeRegExp:xu,findKeywordLineIndex:ZF,generateNumberString:o$,highlightText:QF,isEmail:n$,isValidHash:s$,randomColor:t$,replaceBackslashWithSlash:b_,replaceSlashWithSpecifiedSeparator:e$,splitTextByKeyword:JF,toCamelCase:__,validateCompName:r$,validateHash:v_},Symbol.toStringTag,{value:"Module"}));function a$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=b_(n);return`${e.replace(Ne.FILE_MANAGER_DIRNAME,"")}${r}`}function l$(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const c$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:a$,handleDepData:l$},Symbol.toStringTag,{value:"Module"})),uh=/^[\^~>=<]+/,w_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function u$(e){return w_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(uh),n=t?t[0]:"",r=e.replace(uh,"").match(w_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function f$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function d$(e){return Pn(e).majorVersion}function p$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Pn(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Wr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=Ne;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function h$(e,t){const n=Pn(e),r=Pn(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Wr(e,t.replace(">=",""))>=0;case">":return Wr(e,t.replace(">",""))>0;case"<=":return Wr(e,t.replace("<=",""))<=0;case"<":return Wr(e,t.replace("<",""))<0;case"=":case"":return Wr(e,t.replace("=",""))===0;default:return!1}}function m$(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Pn(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const g$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Wr,getMajorVersion:d$,isVersionEqual:f$,parseDependencies:p$,parseVersion:Pn,satisfiesRange:h$,validateVersion:u$,versionToNumber:m$},Symbol.toStringTag,{value:"Module"})),y$=["id","aria-label","aria-disabled"],b$=["onClick"],_$=["name","value","checked","disabled","onChange"],v$={class:"segmented__label"},w$=et({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=de(),s=de({opacity:"0"}),i=X(()=>n.segProps?.value||"value"),a=X(()=>n.segProps?.label||"label"),l=X(()=>n.segProps?.disabled||"disabled");function c(_){return typeof _=="object"&&_!==null?_[i.value]:_}function u(_){return typeof _=="object"&&_!==null?_[a.value]:_}function f(_){return n.disabled?!0:typeof _=="object"&&_!==null?!!_[l.value]:!1}const d=X(()=>n.options.map(_=>typeof _=="object"&&_!==null?{..._,[i.value]:_[i.value],[a.value]:_[a.value],[l.value]:_[l.value]}:_));function p(_){return c(_)===n.modelValue}function g(_){if(f(_))return;const y=c(_);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){fr(()=>{const _=o.value?.parentElement;if(!_)return;const y=_.querySelectorAll(".segmented__item");let b=null;for(let O=0;O<y.length;O++){const C=y.item(O);if(C&&C.classList.contains("is-selected")){b=C;break}}if(!b){s.value={opacity:"0"};return}const E=_.getBoundingClientRect(),m=b.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${m.width}px`,height:`${m.height}px`,transform:`translateY(${m.top-E.top}px)`}:s.value={opacity:"1",width:`${m.width}px`,height:`${m.height}px`,transform:`translateX(${m.left-E.left}px)`}})}return Ge(()=>n.modelValue,h),Ge(()=>n.options,h),Ge(()=>n.direction,h),pn(h),(_,y)=>(ue(),_e("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:He(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[We("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:At(s.value)},null,4),(ue(!0),_e(nt,null,no(d.value,(b,E)=>(ue(),_e("label",{key:c(b),class:He(["segmented__item",{"is-selected":p(b),"is-disabled":f(b)}]),onClick:m=>g(b)},[We("input",{type:"radio",class:"segmented__input",name:e.name,value:c(b),checked:p(b),disabled:f(b),onChange:m=>g(b)},null,40,_$),We("span",v$,[lr(_.$slots,"default",{item:b,index:E},()=>[gi(Ar(u(b)),1)],!0)])],10,b$))),128))],10,y$))}}),E$=nn(w$,[["__scopeId","data-v-652cb401"]]),S$={class:"ec-list"},C$={class:"ec-actions"},k$=et({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=yo(),n=Pm();return(r,o)=>(ue(),_e("div",{class:He(["ec-outer",Ve(n)?"ec-outer--dark":"ec-outer--light"])},[We("div",{class:He(["ec-inner",Ve(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=We("div",{class:"ec-icon"},"🔧",-1)),We("h4",{class:He(["ec-title",Ve(n)?"ec-title--dark":"ec-title--light"])},Ar(Ve(t)("comp.compileError")),3),We("div",S$,[(ue(!0),_e(nt,null,no(e.error,(s,i)=>(ue(),_e("div",{key:i,class:He(["ec-item",Ve(n)?"ec-item--dark":"ec-item--light"])},Ar(s),3))),128))]),We("div",C$,[lr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),x$=nn(k$,[["__scopeId","data-v-4fc36929"]]),T$=et({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ue(),_e("div",{class:He(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ue(),_e("div",{key:0,class:He(["card__header",e.headerClass])},[lr(t.$slots,"header",{},()=>[gi(Ar(e.header),1)],!0)],2)):en("",!0),We("div",{class:He(["card__body",e.bodyClass]),style:At(e.bodyStyle)},[lr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ue(),_e("div",{key:1,class:He(["card__footer",e.footerClass])},[lr(t.$slots,"footer",{},()=>[gi(Ar(e.footer),1)],!0)],2)):en("",!0)],2))}}),E_=nn(T$,[["__scopeId","data-v-18822aad"]]),A$=et({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(r.initialIndex),i=de(!1),a=de(!1),l=de(),c=de([]);function u(H){c.value.push(H)}function f(H){const K=c.value.findIndex(V=>V.uid===H);K!==-1&&(c.value.splice(K,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=X(()=>r.direction==="vertical"),p=X(()=>r.type==="card"),g=X(()=>r.cardScale);Bo("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:g,translating:X(()=>i.value),animating:X(()=>i.value),slideTo:O});const h=X(()=>{const H={};return r.height&&r.height!=="auto"&&(H.height=r.height),H}),_=X(()=>{if(p.value)return{};if(c.value.length===0)return{};const K=-s.value*100;return d.value?{transform:`translateY(${K}%)`}:{transform:`translateX(${K}%)`}}),y=X(()=>r.trigger==="click"?"click":"mouseenter"),b=X(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=X(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function m(H){const K=c.value.length;return K===0?0:r.loop?(H%K+K)%K:Math.max(0,Math.min(H,K-1))}function O(H){if(c.value.length===0)return;const V=m(H);if(V===s.value)return;const ee=s.value;s.value=V,i.value=!0,o("change",V,ee),setTimeout(()=>{i.value=!1},400)}function C(){O(s.value+1)}function x(){O(s.value-1)}function v(H){if(typeof H=="number"){O(H);return}const K=c.value.findIndex(V=>V.name===H);K!==-1&&O(K)}let T=null;function N(){M(),!(!r.autoplay||c.value.length<=1)&&(T=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){T!==null&&(clearInterval(T),T=null)}function W(){a.value=!0}function Z(){a.value=!1}return Ge(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&N()}),Ge(()=>r.autoplay,H=>{H?N():M()}),Ge(()=>r.interval,()=>{r.autoplay&&N()}),pn(()=>{r.autoplay&&N()}),Xi(()=>{M()}),t({activeIndex:s,setActiveItem:v,prev:x,next:C}),(H,K)=>(ue(),_e("div",{ref_key:"carouselRef",ref:l,class:He(["carousel",[`carousel--${e.direction}`]]),style:At(h.value),onMouseenter:W,onMouseleave:Z},[We("div",{class:He(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[We("div",{class:He(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:At(_.value)},[lr(H.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ue(),_e("button",{key:0,class:He(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:At(b.value),onClick:af(x,["stop"])},[...K[0]||(K[0]=[We("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):en("",!0),e.arrow!=="never"&&c.value.length>1?(ue(),_e("button",{key:1,class:He(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:At(E.value),onClick:af(C,["stop"])},[...K[1]||(K[1]=[We("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):en("",!0),c.value.length>1?(ue(),_e("ul",{key:2,class:He(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ue(!0),_e(nt,null,no(c.value,(V,ee)=>(ue(),_e("li",ts({key:V.uid,class:["carousel__indicator",{"carousel__indicator--active":ee===s.value}]},{[Gs(y.value)]:ie=>v(ee)}),[We("span",null,Ar(V.label||""),1)],16))),128))],2)):en("",!0)],38))}}),O$=nn(A$,[["__scopeId","data-v-5492987f"]]),I$=et({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=de(!1),r=Ht("carousel"),o=de(0);pn(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Xi(()=>{r?.removeItem(o.value)});const s=X(()=>r?.items.value??[]),i=X(()=>r?.activeIndex.value??0),a=X(()=>r?.isCard.value??!1),l=X(()=>r?.cardScale.value??.83),c=X(()=>s.value.findIndex(h=>h.uid===o.value)),u=X(()=>c.value===i.value),f=X(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=X(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=X(()=>{if(a.value&&s.value.length>1){const h=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${h})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${h})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${h})`,zIndex:1,opacity:0}}return{}});function g(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,_)=>qh((ue(),_e("div",{class:He(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:At(p.value),onClick:g},[lr(h.$slots,"default",{},void 0,!0)],6)),[[Ow,n.value]])}}),L$=nn(I$,[["__scopeId","data-v-9638f2b6"]]);var kl,fh;function P$(){if(fh)return kl;fh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,g=-1,h=0;h<=p;++h){if(h===p){if(d>p){if(i.charCodeAt(u+h)===47)return i.slice(u+h+1);if(h===0)return i.slice(u+h)}else c>p&&(s.charCodeAt(a+h)===47?g=h:h===0&&(g=0));break}var _=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(_!==y)break;_===47&&(g=h)}var b="";for(h=a+g+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+i.slice(u+g):(u+=g,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,g=s.length-1,h=0;g>=c;--g){if(a=s.charCodeAt(g),a===47){if(!p){f=g+1;break}continue}d===-1&&(p=!1,d=g+1),a===46?u===-1?u=g:h!==1&&(h=1):u!==-1&&(h=-1)}return u===-1||d===-1||h===0||h===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,kl=r,kl}var S_=P$();function R$(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}const N$=Ug("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},async loadSfcLoader(e){const t=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(t)return t;const n=!1,{params:{isSfc:r}}=go(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=S_.join(`/${Ne.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await R$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),M$={class:"async-comp-wrapper"},D$={key:0,class:"async-comp-error"},F$=et({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{};const r=N$(),o=Jh("compContainer"),s=de(!1),i=de(""),a=de(""),l=de(""),c=de(""),u=de([]),f=X(()=>t.finalEntryUrl),d=X(()=>({"async-comp-overflow-auto":t.panelType===Ne.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===Ne.COMP_EDIT_TAB_TYPE_MINI})),p=X(()=>{const v=[...u.value,i.value,a.value,l.value,c.value].filter(Boolean);return[...new Set(v)]}),g=()=>{i.value="",a.value="",l.value="",c.value="",u.value=[]},h=v=>{s.value=v},_=()=>{const v={};(t.dep?.map(N=>N.name)||[]).forEach(N=>{if(!t.depToFile[N]){const M=t.dep?.find(Z=>Z.name===N),W=M?.parent?.name||M?.name||"";v[W]=`${W}${M?.version||""}`}}),Object.keys(v).length&&(c.value=Object.values(v).map(N=>`${N} uninstalled`).join(`
|
|
39
|
-
`))},y=async()=>{const v=[...t.dep];return v.sort((N,M)=>N.name==="vue"?-1:M.name==="vue"?1:0),await v.reduce(async(N,M)=>{const{name:W}=M,Z=await N,H=t.depToFile[W];if(!H||lg.PREBUILD_MODULE_SKIP_EXT.find(V=>H.endsWith(V)))return Z;try{const V=await XA(()=>import(`${Ne.MODULE_LOAD_PREFIX}/${H}`),[]);Z[W]={...V.default,...V,__esModule:!0}}finally{return Z}},Promise.resolve({}))},b=async v=>{if(t.localCompRootPath){const T=S_.join(t.localCompRootPath,Ne.COMP_ENTRY_FILE);await XM(T)&&await v(T)}else if(t.signedUrls?.length){const T=t.signedUrls.find(N=>N.path===`/${Ne.COMP_ENTRY_FILE}`);T&&await v(T.signedUrl)}},E=async v=>{const T=await r.loadSfcLoader("vue3"),{loadModule:N}=T,M=await N("vue",v),{createApp:W,defineAsyncComponent:Z}=M;if(!W||!Z){i.value="createApp or defineAsyncComponent is not defined",h(!1);return}const H=Z({loader:async()=>(h(!1),await N(f.value,v)),delay:100,timeout:2e4,onError:(V,ee,ie)=>{if(h(!1),console.error(`onError:${V.message}`),i.value=V.message,V)return ie()}}),K=W({template:"<AsyncComp />"});return M.app=K,await b(async V=>{await N(V,v)}),K.component("AsyncComp",H),K.config.globalProperties.$getScaleStyle=({mode:V,width:ee,height:ie})=>Id(o.value,V,ee,ie),K.config.errorHandler=V=>{console.error(V),console.error(`errorHandler:${V}`),a.value=V,h(!1)},K.config.warnHandler=function(V){console.warn(V),console.warn(`warnHandler:${V}`),a.value=V,h(!1)},K},m=async v=>{try{const T=await r.loadSfcLoader("vue2"),{loadModule:N}=T,M=await N("vue",v);M.default.prototype.$getScaleStyle=({mode:H,width:K,height:V})=>Id(o.value,H,K,V),M.default.config.errorHandler=function(H){console.error(H),console.error(`errorHandler:${H}`),a.value=H,h(!1)},M.default.config.warnHandler=function(H){console.warn(H),console.warn(`warnHandler:${H}`),a.value=H,h(!1)},await b(async H=>{await N(H,v)});const W=await N(f.value,v),Z=new M.default(W);return h(!1),Z}catch(T){return console.error(T),console.error(`sfcLoaderError:${T?.message??T}`),l.value=T?.message??String(T),null}finally{h(!1)}},O=(v,T)=>v.mount?(v.mount(T),N=>{console.log("vue3组件卸载"),v?.unmount(),T.remove(),N?.()}):(v.$mount(T),N=>{console.log("vue2组件卸载"),v?.$destroy(),T.remove(),N?.()}),C=async()=>{h(!0),g();const v=t.dep?.find(W=>W.name==="vue"),T=g$.getMajorVersion(v?.version||"3.0.0");if(_(),c.value){h(!1);return}const N=await y(),M=XF({moduleCache:N,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:W=>{console.error(W),console.error(`sfcLoaderError:${W}`),l.value=W?.message??String(W),h(!1)}});if(T==="3")return await E(M);if(T==="2")return await m(M)};async function x(){if(!o.value){console.error("组件挂载点不存在");return}const v=document.createElement("div");v.style.height="100%",v.style.width="100%",o.value.appendChild(v);const T=await C();if(!T){console.error("组件实例创建失败");return}n=O(T,v)}return Ge(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(v,T)=>{const[N,M]=v,[W,Z]=T??[],H=N+""+M,K=W+""+Z,V=H===K;(!V||!N)&&(console.log("卸载当前预览"),n(()=>{o.value&&(o.value.innerHTML="")})),!(V||!N)&&(await fr(),await x())},{immediate:!0}),Ge(()=>p.value,v=>{v.length&&n(()=>{o.value&&(o.value.innerHTML="")})}),(v,T)=>{const N=Uv("loading");return qh((ue(),_e("div",M$,[We("div",{ref:"compContainer",class:He(["async-comp-container",d.value])},null,2),p.value.length?(ue(),_e("div",D$,[qe(Ve(x$),{error:p.value},null,8,["error"])])):en("",!0)])),[[N,s.value]])}}}),Tu=nn(F$,[["__scopeId","data-v-fdcdab6e"]]),$$=et({__name:"index",props:{previews:{},dep:{},depToFile:{},signedUrls:{},bgColor:{}},setup(e){const t=zv(),n=e,r=X(()=>{const{previews:o,...s}=n;return{...s,panelType:Ne.COMP_EDIT_TAB_TYPE_MINI}});return(o,s)=>(ue(),Zt(Ve(O$),ts({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Ve(t)),{default:to(()=>[(ue(!0),_e(nt,null,no(e.previews,(i,a)=>(ue(),Zt(Ve(L$),{key:a,class:"comp-mini-carousel-item"},{default:to(()=>[We("div",{class:"comp-mini-carousel-slide",style:At({backgroundColor:n.bgColor})},[i.finalEntryUrl?(ue(),Zt(Tu,ts({key:0,finalEntryUrl:i.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):en("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Au=nn($$,[["__scopeId","data-v-c311fc1a"]]);function U$(){const{params:{compId:e,instanceUid:t}}=go(),{messageListener:n,sendMessageToTop:r}=ea(),o=Zi(),{addListener:s}=n(),i=de(),a=X(()=>i.value?.item),l=X(()=>i.value?.dep??[]),c=X(()=>i.value?.depToFile??{}),u=X(()=>a.value?a.value?.previewConfigs.filter(d=>d.miniPath?.length).slice(0,3).map(d=>{const p=c$.getPreviewUrl(a.value.path,d.miniPath);return{finalEntryUrl:`${Ne.COMP_PREVIEW_PREFIX_LOCAL}/${p}`}}):[]),f=X(()=>({previews:u.value,dep:l.value,depToFile:c.value}));return s(Le.ITEM_INIT_SET_LOCAL,d=>{i.value=d}),r(Le.ITEM_INIT_GET_LOCAL,e,o,t),{compAttrs:a,carouselBind:f,localDep:l,depToFile:c}}const j$=et({__name:"index",setup(e){const{carouselBind:t}=U$();return(n,r)=>(ue(),Zt(Au,ds(mo(Ve(t))),null,16))}});function C_(e=3){const{params:{compId:t,instanceUid:n}}=go(),{messageListener:r,sendMessageToTop:o}=ea(),s=Zi(),{addListener:i}=r(),a=de(),l=de(),c=X(()=>a.value?.item),u=X(()=>a.value?.depEntryNameToFile),f=X(()=>a.value?.versionToFileAccessPath),d=X(()=>a.value?.item?.version??""),p=X(()=>{if(!Object.keys(c.value??{}).length)return[];const y=f.value??[],b=new Map(y.map(({path:E,signedUrl:m})=>[E,m]));return c.value?.previewConfigs.filter(E=>E.miniPath?.length).slice(0,e).map(E=>{const m=i$.replaceBackslashWithSlash(E.miniPath.at(-1)??"");return{finalEntryUrl:b.get(m)??""}})}),g=X(()=>({previews:p.value??[],dep:c.value?.dep??[],signedUrls:f.value??[],depToFile:u.value??{},bgColor:l.value??c.value?.bgColor??""}));let h=()=>{};function _(y){h=y}return i(Le.ITEM_INIT_SET,y=>{a.value=y}),i(Le.BG_COLOR_SET,y=>{l.value=y}),o(Le.ITEM_INIT_GET,t,s,n),o(Le.BG_COLOR_GET,"",s,n),Ge(()=>d.value,y=>{y&&h(y)},{once:!0}),{compAttrs:c,carouselBind:g,setInitVersion:_}}const z$=et({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=C_(3),r=de("");return n(o=>{r.value=o}),(o,s)=>(ue(),Zt(Au,ds(mo(Ve(t))),null,16))}}),B$={key:2,class:"carousel-indicators"},H$=["onClick"],V$=et({__name:"index",props:{list:{},autoPlay:{type:Boolean,default:!0},interval:{default:3e3},duration:{default:500},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showIndicator:{type:Boolean,default:!0}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=de(0),i=de(null),a=de(!1),l=X(()=>r.list),c=X(()=>{if(l.value.length<=1||!r.loop)return l.value;const b=l.value[0];return[l.value[l.value.length-1],...l.value,b]}),u=X(()=>{if(l.value.length<=1)return 0;if(!r.loop)return s.value;let b=s.value-1;return b<0&&(b=l.value.length-1),b>=l.value.length&&(b=0),b}),f=X(()=>({transform:`translateX(-${s.value*100}%)`,transition:a.value?`transform ${r.duration}ms ease`:"none"})),d=()=>{!r.autoPlay||l.value.length<=1||(p(),i.value=window.setInterval(()=>{g()},r.interval))},p=()=>{i.value&&(clearInterval(i.value),i.value=null)},g=()=>{l.value.length<=1||(a.value=!0,s.value>=c.value.length-1?s.value=0:s.value++,o("change",u.value))},h=()=>{l.value.length<=1||(a.value=!0,s.value<=0?s.value=c.value.length-1:s.value--,o("change",u.value))},_=()=>{a.value=!1,!(!r.loop||l.value.length<=1)&&(s.value===0?s.value=l.value.length:s.value===c.value.length-1&&(s.value=1))},y=b=>{b!==u.value&&(a.value=!0,s.value=r.loop?b+1:b,o("change",b))};return t({setActiveItem:y}),Ge(()=>r.list.length,b=>{b>1&&r.loop?s.value=1:s.value=0},{immediate:!0}),pn(()=>{d()}),ho(()=>{p()}),(b,E)=>(ue(),_e("div",{class:"carousel",onMouseenter:p,onMouseleave:d},[We("div",{class:"carousel-track",style:At(f.value),onTransitionend:_},[(ue(!0),_e(nt,null,no(c.value,(m,O)=>(ue(),_e("div",{key:O,class:He(["carousel-slide",{active:O===s.value}])},[lr(b.$slots,"default",{item:m,index:O},void 0,!0)],2))),128))],36),e.showArrow&&e.list.length>1?(ue(),_e("button",{key:0,class:"carousel-arrow prev",onClick:h},[...E[0]||(E[0]=[We("svg",{viewBox:"0 0 24 24",class:"arrow-icon"},[We("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})],-1)])])):en("",!0),e.showArrow&&e.list.length>1?(ue(),_e("button",{key:1,class:"carousel-arrow next",onClick:g},[...E[1]||(E[1]=[We("svg",{viewBox:"0 0 24 24",class:"arrow-icon"},[We("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})],-1)])])):en("",!0),e.showIndicator&&e.list.length>1?(ue(),_e("div",B$,[(ue(!0),_e(nt,null,no(e.list,(m,O)=>(ue(),_e("span",{key:O,class:He(["indicator",{active:O===u.value}]),onClick:C=>y(O)},null,10,H$))),128))])):en("",!0)],32))}}),W$=nn(V$,[["__scopeId","data-v-5479ea57"]]),G$={class:"panel-mini-wrapper"},K$=et({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=X(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ne.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ue(),_e("div",G$,[qe(Ve(E_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:At({backgroundColor:e.bg})},{default:to(()=>[qe(Tu,ds(mo(n.value)),null,16)]),_:1},8,["style"])]))}}),q$=nn(K$,[["__scopeId","data-v-914004a6"]]),Y$=et({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=X(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ne.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ue(),Zt(Ve(E_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:At({backgroundColor:e.bg})},{default:to(()=>[qe(Tu,ds(mo(n.value)),null,16)]),_:1},8,["style"]))}}),X$=nn(Y$,[["__scopeId","data-v-c0b89875"]]),J$={class:"edit-panel"},Q$={key:0,class:"edit-panel__content"},Z$={class:"edit-panel__tools"},eU=["onClick"],tU=et({__name:"index",setup(e){const{t}=yo(),{messageListener:n,sendMessageToTop:r}=ea(),{addListener:o}=n(),s=Zi(),{params:{instanceUid:i}}=go(),a=Jh("carousel"),l=de({entryNameToFile:{},compDep:[]}),c=de([{label:t("comp.miniPanel"),value:Ne.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:Ne.COMP_EDIT_TAB_TYPE_FULL}]),u=de([]),f=de(),d=de(!1),p=de(!1),g=de(!1),h=de(""),_=X(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(Ne.FILE_MANAGER_DIRNAME,Ne.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=X(()=>Object.keys(l.value.entryNameToFile).length>0&&l.value.compDep.length>0),b=X(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:_.value,bg:h.value}));function E(C){return C===Ne.COMP_EDIT_TAB_TYPE_MINI?q$:X$}function m(C,x){if(!C._id)return;const v={...C,activeTab:x};r(Le.COMP_EDIT_TAB_TYPE_SET,v,s,i)}function O(C){r(Le.ACTION_REFRESH,C,s,i)}return o(Le.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Le.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Le.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Le.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Le.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Le.IS_ADD_SET,C=>{g.value=C}),o(Le.BG_COLOR_SET,C=>{h.value=C}),o(Le.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Le.COMP_PREVIEW_LIST_GET,"",s,i),r(Le.COMP_RENDER_INFO_GET,"",s,i),r(Le.SHOW_REFRESH_BTN_GET,"",s,i),r(Le.IS_ONLINE_UPDATE_GET,"",s,i),r(Le.IS_ADD_GET,"",s,i),r(Le.CAROUSEL_INDEX_GET,"",s,i),r(Le.BG_COLOR_GET,"",s,i),r(Le.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const v=tm("Icon");return ue(),_e("div",J$,[qe(W$,{ref:"carousel",class:"edit-panel__carousel",list:u.value,loop:!1,"auto-play":!1,"show-arrow":!0,"show-indicator":!0},{default:to(({item:T})=>[y.value?(ue(),_e("div",Q$,[We("div",Z$,[qe(Ve(E$),{options:c.value,"model-value":T.activeTab,onChange:N=>m(T,N)},null,8,["options","model-value","onChange"]),d.value?(ue(),_e("span",{key:0,class:"edit-panel__refresh-btn",onClick:N=>O(T)},[qe(v,{icon:"material-symbols:refresh-rounded"})],8,eU)):en("",!0)]),(ue(),Zt(Tv,null,[(ue(),Zt($v(E(T.activeTab)),ds(mo({miniEntryUrl:T.miniEntryUrl,fullEntryUrl:T.fullEntryUrl,...b.value})),null,16))],1024))])):en("",!0)]),_:1},8,["list"])])}}}),nU=nn(tU,[["__scopeId","data-v-97546a9e"]]),rU=et({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=C_(5),r=de("");return n(o=>{r.value=o}),(o,s)=>(ue(),Zt(Au,ts(Ve(t),{"show-indicator":!0}),null,16))}}),oU={carouselLocal:j$,carouselRemote:z$,editPanel:nU,previewRemote:rU};function sU(){const e=[],t=Ne.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=oU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const iU=KA({history:kA(`/${Ne.WEBSITE_PATH_ITEM}/`),routes:sU()}),aU=WF(Ne.LOCAL_SERVICE_PREFIX,{baseURL:`/${Ne.LOCAL_SERVICE_PREFIX}`});aU.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Ou=Xw(Q0);zT(Ou);Ou.use(iU);Ou.mount("#app");
|