comp-hub 0.28.2 → 0.28.3

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.
Files changed (66) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/website/container/assets/index-D6braxue.css +1 -0
  3. package/dist/website/container/assets/{index-QLp4vG1I.js → index-DJHapE1V.js} +1 -1
  4. package/dist/website/container/index.html +2 -2
  5. package/dist/website/item/assets/index-BWvMfSxu.css +1 -0
  6. package/dist/website/item/assets/{index-Dbdwi_To.js → index-s-KzvBKE.js} +7 -8
  7. package/dist/website/item/index.html +2 -2
  8. package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-Bvp_ZzUC.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-BZ55pr6b.js} +1 -1
  9. package/dist/website/main/assets/{index-DqvpfDy3.js → index-2gSE6zIr.js} +1 -1
  10. package/dist/website/main/assets/index-B5E28bYj.js +1 -0
  11. package/dist/website/main/assets/{index-DFTKmQf7.js → index-BUnPcap8.js} +1 -1
  12. package/dist/website/main/assets/{index-BmKipP5M.js → index-BYggsmzn.js} +1 -1
  13. package/dist/website/main/assets/index-B_dBAWT4.js +2 -0
  14. package/dist/website/main/assets/{index-C0K8T0Xx.js → index-BeN2bdeg.js} +1 -1
  15. package/dist/website/main/assets/{index-gm-0wl9c.js → index-BhW9quqy.js} +1 -1
  16. package/dist/website/main/assets/{index-CIsQpojO.js → index-BhvFP_tJ.js} +1 -1
  17. package/dist/website/main/assets/{index-B0VzfFN6.js → index-Bii_v9I4.js} +1 -1
  18. package/dist/website/main/assets/{index-D14ffQA8.js → index-Bszb87gP.js} +1 -1
  19. package/dist/website/main/assets/{index-DZjtRMOp.js → index-C057ePT_.js} +2 -2
  20. package/dist/website/main/assets/{index-DAzjyaU7.js → index-C63BGiej.js} +1 -1
  21. package/dist/website/main/assets/index-C7ChQ1lq.js +2 -0
  22. package/dist/website/main/assets/{index-BbT8J87U.js → index-C7fXvVHu.js} +2 -2
  23. package/dist/website/main/assets/{index-tfdENYSZ.js → index-CEi5bhOk.js} +1 -1
  24. package/dist/website/main/assets/{index-BbWodQCE.js → index-COVvlML8.js} +1 -1
  25. package/dist/website/main/assets/{index-ColU6pai.js → index-CU7M0IJJ.js} +1 -1
  26. package/dist/website/main/assets/{index-CYFm50TZ.js → index-CVcB9iso.js} +1 -1
  27. package/dist/website/main/assets/index-CbJoAuov.js +1 -0
  28. package/dist/website/main/assets/{index-D0mMVLUA.js → index-Crr7YnOX.js} +1 -1
  29. package/dist/website/main/assets/{index-BrvU6RCl.js → index-DBfCLdC1.js} +1 -1
  30. package/dist/website/main/assets/{index-DLG3xPU-.js → index-DEPscuQs.js} +1 -1
  31. package/dist/website/main/assets/{index-DIAvnYXs.js → index-DF1giQNh.js} +1 -1
  32. package/dist/website/main/assets/{index-BbWYQKfr.css → index-DIKKFNiV.css} +1 -1
  33. package/dist/website/main/assets/{index-DMimQ8qZ.js → index-DKPlBqE0.js} +1 -1
  34. package/dist/website/main/assets/{index-DF7kFkvq.js → index-DRSvKvKa.js} +1 -1
  35. package/dist/website/main/assets/{index-Cr00Cnja.js → index-DUgSkj2j.js} +1 -1
  36. package/dist/website/main/assets/{index-DbhO-url.js → index-G0P-dulE.js} +1 -1
  37. package/dist/website/main/assets/index-I02ydx0r.js +1 -0
  38. package/dist/website/main/assets/index-IyiuGctN.js +1 -0
  39. package/dist/website/main/assets/index-JxbnKk2u.js +1 -0
  40. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BNtjpWNo.js → index.vue_vue_type_script_setup_true_lang-BaI6O6oA.js} +1 -1
  41. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-D96-vCRS.js → index.vue_vue_type_script_setup_true_lang-C5v5wKQi.js} +2 -2
  42. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Bin3s9j1.js → index.vue_vue_type_script_setup_true_lang-CrwTpowX.js} +1 -1
  43. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BcOOhzBa.js → index.vue_vue_type_script_setup_true_lang-DmGfa_ki.js} +1 -1
  44. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CVSKP8Ny.js → index.vue_vue_type_script_setup_true_lang-LVKGPS7z.js} +1 -1
  45. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-ZQHD5QfX.js → index.vue_vue_type_script_setup_true_lang-mgCeAY0j.js} +1 -1
  46. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-Dao6jw6s.js → index.vue_vue_type_style_index_0_lang-BWgZeYuy.js} +1 -1
  47. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-BrQNRrgu.js → index.vue_vue_type_style_index_0_lang-Bdg4OOHe.js} +1 -1
  48. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-CDQojDH9.js → index.vue_vue_type_style_index_0_lang-BwvfJhL1.js} +1 -1
  49. package/dist/website/main/assets/useCompEditStore-CY1OeGL8.css +1 -0
  50. package/dist/website/main/assets/useCompEditStore-CYWCa5kU.js +368 -0
  51. package/dist/website/main/assets/{useKeyword-BLg7A4PR.js → useKeyword-B6suFutt.js} +1 -1
  52. package/dist/website/main/assets/{useMessage-Cx6Ix45S.js → useMessage-B_QbO-NO.js} +1 -1
  53. package/dist/website/main/assets/{useVscodeOpen-DCcaXYnx.js → useVscodeOpen-Ckh-vPor.js} +1 -1
  54. package/dist/website/main/index.html +2 -2
  55. package/package.json +1 -1
  56. package/dist/website/container/assets/index-7l-rYyHX.css +0 -1
  57. package/dist/website/item/assets/index-Dt7E5e5b.css +0 -1
  58. package/dist/website/main/assets/index-BjHkHge5.js +0 -1
  59. package/dist/website/main/assets/index-BtOXjKjQ.js +0 -2
  60. package/dist/website/main/assets/index-C1sEhRir.js +0 -1
  61. package/dist/website/main/assets/index-CIC11BH9.js +0 -2
  62. package/dist/website/main/assets/index-CduGhjwk.js +0 -1
  63. package/dist/website/main/assets/index-DSgvaoRk.js +0 -1
  64. package/dist/website/main/assets/index-wQUKmtT3.js +0 -1
  65. package/dist/website/main/assets/useCompEditStore-DWHXDEWk.js +0 -307
  66. package/dist/website/main/assets/useCompEditStore-DqsRNPtJ.css +0 -1
@@ -1,6 +1,6 @@
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 Pc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ze={},Qr=[],Cn=()=>{},gh=()=>!1,$i=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ui=e=>e.startsWith("onUpdate:"),bt=Object.assign,Lc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},P_=Object.prototype.hasOwnProperty,Le=(e,t)=>P_.call(e,t),fe=Array.isArray,Zr=e=>mo(e)==="[object Map]",yh=e=>mo(e)==="[object Set]",Fu=e=>mo(e)==="[object Date]",L_=e=>mo(e)==="[object RegExp]",he=e=>typeof e=="function",qe=e=>typeof e=="string",Wt=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",bh=e=>(Ne(e)||he(e))&&he(e.then)&&he(e.catch),_h=Object.prototype.toString,mo=e=>_h.call(e),R_=e=>mo(e).slice(8,-1),vh=e=>mo(e)==="[object Object]",ji=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Uo=Pc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},N_=/-\w/g,It=zi(e=>e.replace(N_,t=>t.slice(1).toUpperCase())),M_=/\B([A-Z])/g,Rr=zi(e=>e.replace(M_,"-$1").toLowerCase()),Bi=zi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ys=zi(e=>e?`on${Bi(e)}`:""),wn=(e,t)=>!Object.is(e,t),jo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},wh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},D_=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $u;const Hi=()=>$u||($u=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nt(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=qe(r)?j_(r):Nt(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(qe(e)||Ne(e))return e}const F_=/;(?![^(]*\))/g,$_=/:([^]+)/,U_=/\/\*[^]*?\*\//g;function j_(e){const t={};return e.replace(U_,"").split(F_).forEach(n=>{if(n){const r=n.split($_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ge(e){let t="";if(qe(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Ge(e[n]);r&&(t+=r+" ")}else if(Ne(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&&!qe(t)&&(e.class=Ge(t)),n&&(e.style=Nt(n)),e}const z_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",B_=Pc(z_);function Eh(e){return!!e||e===""}function H_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Rc(e[r],t[r]);return n}function Rc(e,t){if(e===t)return!0;let n=Fu(e),r=Fu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Wt(e),r=Wt(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?H_(e,t):!1;if(n=Ne(e),r=Ne(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Rc(e[i],t[i]))return!1}}return String(e)===String(t)}const Sh=e=>!!(e&&e.__v_isRef===!0),Gn=e=>qe(e)?e:e==null?"":fe(e)||Ne(e)&&(e.toString===_h||!he(e.toString))?Sh(e)?Gn(e.value):JSON.stringify(e,Ch,2):String(e),Ch=(e,t)=>Sh(t)?Ch(e,t.value):Zr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ka(r,s)+" =>"]=o,n),{})}:yh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ka(n))}:Wt(t)?ka(t):Ne(t)&&!fe(t)&&!vh(t)?String(t):t,ka=(e,t="")=>{var n;return Wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ut;class kh{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&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.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=ut;try{return ut=this,t()}finally{ut=n}}}on(){++this._on===1&&(this.prevScope=ut,ut=this)}off(){if(this._on>0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;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 Nc(e){return new kh(e)}function Vi(){return ut}function xh(e,t=!1){ut&&ut.cleanups.push(e)}let Ve;const xa=new WeakSet;class Th{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,ut&&(ut.active?ut.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xa.has(this)&&(xa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Oh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Uu(this),Ih(this);const t=Ve,n=ln;Ve=this,ln=!0;try{return this.fn()}finally{Ph(this),Ve=t,ln=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Fc(t);this.deps=this.depsTail=void 0,Uu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ol(this)&&this.run()}get dirty(){return Ol(this)}}let Ah=0,zo,Bo;function Oh(e,t=!1){if(e.flags|=8,t){e.next=Bo,Bo=e;return}e.next=zo,zo=e}function Mc(){Ah++}function Dc(){if(--Ah>0)return;if(Bo){let t=Bo;for(Bo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zo;){let t=zo;for(zo=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 Ih(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ph(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Fc(r),V_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ol(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Lh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Lh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qo)||(e.globalVersion=Qo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ol(e))))return;e.flags|=2;const t=e.dep,n=Ve,r=ln;Ve=e,ln=!0;try{Ih(e);const o=e.fn(e._value);(t.version===0||wn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ve=n,ln=r,Ph(e),e.flags&=-3}}function Fc(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)Fc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function V_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ln=!0;const Rh=[];function qn(){Rh.push(ln),ln=!1}function Kn(){const e=Rh.pop();ln=e===void 0?!0:e}function Uu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ve;Ve=void 0;try{t()}finally{Ve=n}}}let Qo=0;class W_{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 Wi{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(!Ve||!ln||Ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ve)n=this.activeLink=new W_(Ve,this),Ve.deps?(n.prevDep=Ve.depsTail,Ve.depsTail.nextDep=n,Ve.depsTail=n):Ve.deps=Ve.depsTail=n,Nh(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=Ve.depsTail,n.nextDep=void 0,Ve.depsTail.nextDep=n,Ve.depsTail=n,Ve.deps===n&&(Ve.deps=r)}return n}trigger(t){this.version++,Qo++,this.notify(t)}notify(t){Mc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dc()}}}function Nh(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)Nh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ci=new WeakMap,kr=Symbol(""),Il=Symbol(""),Zo=Symbol("");function Et(e,t,n){if(ln&&Ve){let r=ci.get(e);r||ci.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Wi),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ci.get(e);if(!i){Qo++;return}const a=l=>{l&&l.trigger()};if(Mc(),t==="clear")i.forEach(a);else{const l=fe(e),c=l&&ji(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Zo||!Wt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Zo)),t){case"add":l?c&&a(i.get("length")):(a(i.get(kr)),Zr(e)&&a(i.get(Il)));break;case"delete":l||(a(i.get(kr)),Zr(e)&&a(i.get(Il)));break;case"set":Zr(e)&&a(i.get(kr));break}}Dc()}function G_(e,t){const n=ci.get(e);return n&&n.get(t)}function Dr(e){const t=Ce(e);return t===e?t:(Et(t,"iterate",Zo),Ht(e)?t:t.map(un))}function Gi(e){return Et(e=Ce(e),"iterate",Zo),e}function _n(e,t){return Yn(e)?ro(Wn(e)?un(t):t):un(t)}const q_={__proto__:null,[Symbol.iterator](){return Ta(this,Symbol.iterator,e=>_n(this,e))},concat(...e){return Dr(this).concat(...e.map(t=>fe(t)?Dr(t):t))},entries(){return Ta(this,"entries",e=>(e[1]=_n(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=>_n(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>_n(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=>_n(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 Aa(this,"includes",e)},indexOf(...e){return Aa(this,"indexOf",e)},join(e){return Dr(this).join(e)},lastIndexOf(...e){return Aa(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return wo(this,"pop")},push(...e){return wo(this,"push",e)},reduce(e,...t){return ju(this,"reduce",e,t)},reduceRight(e,...t){return ju(this,"reduceRight",e,t)},shift(){return wo(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return wo(this,"splice",e)},toReversed(){return Dr(this).toReversed()},toSorted(e){return Dr(this).toSorted(e)},toSpliced(...e){return Dr(this).toSpliced(...e)},unshift(...e){return wo(this,"unshift",e)},values(){return Ta(this,"values",e=>_n(this,e))}};function Ta(e,t,n){const r=Gi(e),o=r[t]();return r!==e&&!Ht(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const K_=Array.prototype;function Nn(e,t,n,r,o,s){const i=Gi(e),a=i!==e&&!Ht(e),l=i[t];if(l!==K_[t]){const f=l.apply(e,s);return a?un(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,_n(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function ju(e,t,n,r){const o=Gi(e),s=o!==e&&!Ht(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=_n(e,c)),n.call(this,c,_n(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?_n(e,l):l}function Aa(e,t,n){const r=Ce(e);Et(r,"iterate",Zo);const o=r[t](...n);return(o===-1||o===!1)&&Yi(n[0])?(n[0]=Ce(n[0]),r[t](...n)):o}function wo(e,t,n=[]){qn(),Mc();const r=Ce(e)[t].apply(e,n);return Dc(),Kn(),r}const Y_=Pc("__proto__,__v_isRef,__isVue"),Mh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wt));function X_(e){Wt(e)||(e=String(e));const t=Ce(this);return Et(t,"has",e),t.hasOwnProperty(e)}class Dh{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?Bh:zh:s?jh:Uh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=q_[n]))return l;if(n==="hasOwnProperty")return X_}const a=Reflect.get(t,n,Ke(t)?t:r);if((Wt(n)?Mh.has(n):Y_(n))||(o||Et(t,"get",n),s))return a;if(Ke(a)){const l=i&&ji(n)?a:a.value;return o&&Ne(l)?ui(l):l}return Ne(a)?o?ui(a):ps(a):a}}class Fh extends Dh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=fe(t)&&ji(n);if(!this._isShallow){const c=Yn(s);if(!Ht(r)&&!Yn(r)&&(s=Ce(s),r=Ce(r)),!i&&Ke(s)&&!Ke(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Le(t,n),l=Reflect.set(t,n,r,Ke(t)?t:o);return t===Ce(o)&&(a?wn(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Le(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(!Wt(n)||!Mh.has(n))&&Et(t,"has",n),r}ownKeys(t){return Et(t,"iterate",fe(t)?"length":kr),Reflect.ownKeys(t)}}class $h extends Dh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const J_=new Fh,Q_=new $h,Z_=new Fh(!0),ev=new $h(!0),Pl=e=>e,xs=e=>Reflect.getPrototypeOf(e);function tv(e,t,n){return function(...r){const o=this.__v_raw,s=Ce(o),i=Zr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Pl:t?ro:un;return!t&&Et(s,"iterate",l?Il:kr),bt(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 Ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function nv(e,t){const n={get(o){const s=this.__v_raw,i=Ce(s),a=Ce(o);e||(wn(o,a)&&Et(i,"get",o),Et(i,"get",a));const{has:l}=xs(i),c=t?Pl:e?ro:un;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&&Et(Ce(o),"iterate",kr),o.size},has(o){const s=this.__v_raw,i=Ce(s),a=Ce(o);return e||(wn(o,a)&&Et(i,"has",o),Et(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=Ce(a),c=t?Pl:e?ro:un;return!e&&Et(l,"iterate",kr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return bt(n,e?{add:Ts("add"),set:Ts("set"),delete:Ts("delete"),clear:Ts("clear")}:{add(o){const s=Ce(this),i=xs(s),a=Ce(o),l=!t&&!Ht(o)&&!Yn(o)?a:o;return i.has.call(s,l)||wn(o,l)&&i.has.call(s,o)||wn(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Ht(s)&&!Yn(s)&&(s=Ce(s));const i=Ce(this),{has:a,get:l}=xs(i);let c=a.call(i,o);c||(o=Ce(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?wn(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=Ce(this),{has:i,get:a}=xs(s);let l=i.call(s,o);l||(o=Ce(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=Ce(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]=tv(o,e,t)}),n}function qi(e,t){const n=nv(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Le(n,o)&&o in r?n:r,o,s)}const rv={get:qi(!1,!1)},ov={get:qi(!1,!0)},sv={get:qi(!0,!1)},iv={get:qi(!0,!0)},Uh=new WeakMap,jh=new WeakMap,zh=new WeakMap,Bh=new WeakMap;function av(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lv(e){return e.__v_skip||!Object.isExtensible(e)?0:av(R_(e))}function ps(e){return Yn(e)?e:Ki(e,!1,J_,rv,Uh)}function Hh(e){return Ki(e,!1,Z_,ov,jh)}function ui(e){return Ki(e,!0,Q_,sv,zh)}function cv(e){return Ki(e,!0,ev,iv,Bh)}function Ki(e,t,n,r,o){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=lv(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 Yn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Yi(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function $c(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&wh(e,"__v_skip",!0),e}const un=e=>Ne(e)?ps(e):e,ro=e=>Ne(e)?ui(e):e;function Ke(e){return e?e.__v_isRef===!0:!1}function _e(e){return Vh(e,!1)}function kn(e){return Vh(e,!0)}function Vh(e,t){return Ke(e)?e:new uv(e,t)}class uv{constructor(t,n){this.dep=new Wi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ce(t),this._value=n?t:un(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ht(t)||Yn(t);t=r?t:Ce(t),wn(t,n)&&(this._rawValue=t,this._value=r?t:un(t),this.dep.trigger())}}function Re(e){return Ke(e)?e.value:e}function xn(e){return he(e)?e():Re(e)}const fv={get:(e,t,n)=>t==="__v_raw"?e:Re(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ke(o)&&!Ke(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Wh(e){return Wn(e)?e:new Proxy(e,fv)}class dv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Wi,{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 pv(e){return new dv(e)}function hv(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Gh(e,n);return t}class mv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Wt(n)?n:String(n),this._raw=Ce(t);let o=!0,s=t;if(!fe(t)||Wt(this._key)||!ji(this._key))do o=!Yi(s)||Ht(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Re(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ke(this._raw[this._key])){const n=this._object[this._key];if(Ke(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return G_(this._raw,this._key)}}class gv{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 yv(e,t,n){return Ke(e)?e:he(e)?new gv(e):Ne(e)&&arguments.length>1?Gh(e,t,n):_e(e)}function Gh(e,t,n){return new mv(e,t,n)}class bv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ve!==this)return Oh(this,!0),!0}get value(){const t=this.dep.track();return Lh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _v(e,t,n=!1){let r,o;return he(e)?r=e:(r=e.get,o=e.set),new bv(r,o,n)}const As={},fi=new WeakMap;let _r;function vv(e,t=!1,n=_r){if(n){let r=fi.get(n);r||fi.set(n,r=[]),r.push(e)}}function wv(e,t,n=ze){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=g=>o?g:Ht(g)||o===!1||o===0?Bn(g,1):Bn(g);let u,f,d,p,m=!1,h=!1;if(Ke(e)?(f=()=>e.value,m=Ht(e)):Wn(e)?(f=()=>c(e),m=!0):fe(e)?(h=!0,m=e.some(g=>Wn(g)||Ht(g)),f=()=>e.map(g=>{if(Ke(g))return g.value;if(Wn(g))return c(g);if(he(g))return l?l(g,2):g()})):he(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){qn();try{d()}finally{Kn()}}const g=_r;_r=u;try{return l?l(e,3,[p]):e(p)}finally{_r=g}}:f=Cn,t&&o){const g=f,A=o===!0?1/0:o;f=()=>Bn(g(),A)}const b=Vi(),y=()=>{u.stop(),b&&b.active&&Lc(b.effects,u)};if(s&&t){const g=t;t=(...A)=>{g(...A),y()}}let _=h?new Array(e.length).fill(As):As;const E=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const A=u.run();if(o||m||(h?A.some((C,x)=>wn(C,_[x])):wn(A,_))){d&&d();const C=_r;_r=u;try{const x=[A,_===As?void 0:h&&_[0]===As?[]:_,p];_=A,l?l(t,3,x):t(...x)}finally{_r=C}}}else u.run()};return a&&a(E),u=new Th(f),u.scheduler=i?()=>i(E,!1):E,p=g=>vv(g,!1,u),d=u.onStop=()=>{const g=fi.get(u);if(g){if(l)l(g,4);else for(const A of g)A();fi.delete(u)}},t?r?E(!0):_=u.run():i?i(E.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Bn(e,t=1/0,n){if(t<=0||!Ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ke(e))Bn(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(yh(e)||Zr(e))e.forEach(r=>{Bn(r,t,n)});else if(vh(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){Xi(o,t,n)}}function On(e,t,n,r){if(he(e)){const o=hs(e,t,n,r);return o&&bh(o)&&o.catch(s=>{Xi(s,t,n)}),o}if(fe(e)){const o=[];for(let s=0;s<e.length;s++)o.push(On(e[s],t,n,r));return o}}function Xi(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ze;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){qn(),hs(s,null,10,[e,l,c]),Kn();return}}Ev(e,n,o,r,i)}function Ev(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ot=[];let yn=-1;const eo=[];let or=null,Vr=0;const qh=Promise.resolve();let di=null;function dr(e){const t=di||qh;return e?t.then(this?e.bind(this):e):t}function Sv(e){let t=yn+1,n=Ot.length;for(;t<n;){const r=t+n>>>1,o=Ot[r],s=es(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Uc(e){if(!(e.flags&1)){const t=es(e),n=Ot[Ot.length-1];!n||!(e.flags&2)&&t>=es(n)?Ot.push(e):Ot.splice(Sv(t),0,e),e.flags|=1,Kh()}}function Kh(){di||(di=qh.then(Xh))}function Cv(e){fe(e)?eo.push(...e):or&&e.id===-1?or.splice(Vr+1,0,e):e.flags&1||(eo.push(e),e.flags|=1),Kh()}function zu(e,t,n=yn+1){for(;n<Ot.length;n++){const r=Ot[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ot.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Yh(e){if(eo.length){const t=[...new Set(eo)].sort((n,r)=>es(n)-es(r));if(eo.length=0,or){or.push(...t);return}for(or=t,Vr=0;Vr<or.length;Vr++){const n=or[Vr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}or=null,Vr=0}}const es=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Xh(e){try{for(yn=0;yn<Ot.length;yn++){const t=Ot[yn];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(;yn<Ot.length;yn++){const t=Ot[yn];t&&(t.flags&=-2)}yn=-1,Ot.length=0,Yh(),di=null,(Ot.length||eo.length)&&Xh()}}let mt=null,Jh=null;function pi(e){const t=mt;return mt=e,Jh=e&&e.type.__scopeId||null,t}function Or(e,t=mt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&bi(-1);const s=pi(t);let i;try{i=e(...o)}finally{pi(s),r._d&&bi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Qh(e,t){if(mt===null)return e;const n=ta(mt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=ze]=t[o];s&&(he(s)&&(s={mounted:s,updated:s}),s.deep&&Bn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function gr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(qn(),On(l,n,8,[e.el,a,e,t]),Kn())}}function Ho(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function Vt(e,t,n=!1){const r=Rn();if(r||xr){let o=xr?xr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&he(t)?t.call(r&&r.proxy):t}}function jc(){return!!(Rn()||xr)}const kv=Symbol.for("v-scx"),xv=()=>Vt(kv);function Tv(e,t){return zc(e,null,t)}function Ze(e,t,n){return zc(e,t,n)}function zc(e,t,n=ze){const{immediate:r,deep:o,flush:s,once:i}=n,a=bt({},n),l=t&&r||!t&&s!=="post";let c;if(ns){if(s==="sync"){const p=xv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Cn,p.resume=Cn,p.pause=Cn,p}}const u=St;a.call=(p,m,h)=>On(p,u,m,h);let f=!1;s==="post"?a.scheduler=p=>{dt(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,m)=>{m?p():Uc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=wv(e,t,a);return ns&&(c?c.push(d):l&&d()),d}function Av(e,t,n){const r=this.proxy,o=qe(e)?e.includes(".")?Zh(r,e):()=>r[e]:e.bind(r,r);let s;he(t)?s=t:(s=t.handler,n=t);const i=gs(this),a=zc(o,s.bind(r),n);return i(),a}function Zh(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 Ov=Symbol("_vte"),Iv=e=>e.__isTeleport,Pv=Symbol("_leaveCb");function Ji(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ji(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 ot(e,t){return he(e)?bt({name:e.name},t,{setup:e}):e}function em(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function tm(e){const t=Rn(),n=kn(null);if(t){const o=t.refs===ze?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Bu(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const hi=new WeakMap;function Vo(e,t,n,r,o=!1){if(fe(e)){e.forEach((h,b)=>Vo(h,t&&(fe(t)?t[b]:t),n,r,o));return}if(lr(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vo(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ta(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ze?a.refs={}:a.refs,f=a.setupState,d=Ce(f),p=f===ze?gh:h=>Bu(u,h)?!1:Le(d,h),m=(h,b)=>!(b&&Bu(u,b));if(c!=null&&c!==l){if(Hu(t),qe(c))u[c]=null,p(c)&&(f[c]=null);else if(Ke(c)){const h=t;m(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(he(l))hs(l,a,12,[i,u]);else{const h=qe(l),b=Ke(l);if(h||b){const y=()=>{if(e.f){const _=h?p(l)?f[l]:u[l]:m()||!e.k?l.value:u[e.k];if(o)fe(_)&&Lc(_,s);else if(fe(_))_.includes(s)||_.push(s);else if(h)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];m(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else h?(u[l]=i,p(l)&&(f[l]=i)):b&&(m(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{y(),hi.delete(e)};_.id=-1,hi.set(e,_),dt(_,n)}else Hu(e),y()}}}function Hu(e){const t=hi.get(e);t&&(t.flags|=8,hi.delete(e))}Hi().requestIdleCallback;Hi().cancelIdleCallback;const lr=e=>!!e.type.__asyncLoader,nm=e=>e.type.__isKeepAlive,Lv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,E,g,A,C)=>{const x=_.component;c(_,E,g,0,a),l(x.vnode,_,E,g,x,a,A,_.slotScopeIds,C),dt(()=>{x.isDeactivated=!1,x.a&&jo(x.a);const w=_.props&&_.props.onVnodeMounted;w&&Xt(w,x.parent,_)},a)},r.deactivate=_=>{const E=_.component;gi(E.m),gi(E.a),c(_,d,null,1,a),dt(()=>{E.da&&jo(E.da);const g=_.props&&_.props.onVnodeUnmounted;g&&Xt(g,E.parent,_),E.isDeactivated=!0},a)};function p(_){Oa(_),u(_,n,a,!0)}function m(_){o.forEach((E,g)=>{const A=Fl(lr(E)?E.type.__asyncResolved||{}:E.type);A&&!_(A)&&h(g)})}function h(_){const E=o.get(_);E&&(!i||!Wr(E,i))?p(E):i&&Oa(i),o.delete(_),s.delete(_)}Ze(()=>[e.include,e.exclude],([_,E])=>{_&&m(g=>Io(_,g)),E&&m(g=>!Io(E,g))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(yi(n.subTree.type)?dt(()=>{o.set(b,Os(n.subTree))},n.subTree.suspense):o.set(b,Os(n.subTree)))};return Ln(y),om(y),Zi(()=>{o.forEach(_=>{const{subTree:E,suspense:g}=n,A=Os(E);if(_.type===A.type&&_.key===A.key){Oa(A);const C=A.component.da;C&&dt(C,g);return}p(_)})}),()=>{if(b=null,!t.default)return i=null;const _=t.default(),E=_[0];if(_.length>1)return i=null,_;if(!oo(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let g=Os(E);if(g.type===In)return i=null,g;const A=g.type,C=Fl(lr(g)?g.type.__asyncResolved||{}:A),{include:x,exclude:w,max:O}=e;if(x&&(!C||!Io(x,C))||w&&C&&Io(w,C))return g.shapeFlag&=-257,i=g,E;const $=g.key==null?A:g.key,M=o.get($);return g.el&&(g=Ir(g),E.shapeFlag&128&&(E.ssContent=g)),b=$,M?(g.el=M.el,g.component=M.component,g.transition&&Ji(g,g.transition),g.shapeFlag|=512,s.delete($),s.add($)):(s.add($),O&&s.size>parseInt(O,10)&&h(s.values().next().value)),g.shapeFlag|=256,i=g,yi(E.type)?E:g}}},Rv=Lv;function Io(e,t){return fe(e)?e.some(n=>Io(n,t)):qe(e)?e.split(",").includes(t):L_(e)?(e.lastIndex=0,e.test(t)):!1}function Nv(e,t){rm(e,"a",t)}function Mv(e,t){rm(e,"da",t)}function rm(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Qi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)nm(o.parent.vnode)&&Dv(r,t,n,o),o=o.parent}}function Dv(e,t,n,r){const o=Qi(t,e,r,!0);go(()=>{Lc(r[t],o)},n)}function Oa(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Os(e){return e.shapeFlag&128?e.ssContent:e}function Qi(e,t,n=St,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{qn();const a=gs(n),l=On(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Jn=e=>(t,n=St)=>{(!ns||e==="sp")&&Qi(e,(...r)=>t(...r),n)},Fv=Jn("bm"),Ln=Jn("m"),$v=Jn("bu"),om=Jn("u"),Zi=Jn("bum"),go=Jn("um"),Uv=Jn("sp"),jv=Jn("rtg"),zv=Jn("rtc");function Bv(e,t=St){Qi("ec",e,t)}const Bc="components",Hv="directives";function sm(e,t){return Hc(Bc,e,!0,t)||e}const im=Symbol.for("v-ndc");function Vv(e){return qe(e)?Hc(Bc,e,!1)||e:e||im}function Wv(e){return Hc(Hv,e)}function Hc(e,t,n=!0,r=!1){const o=mt||St;if(o){const s=o.type;if(e===Bc){const a=Fl(s,!1);if(a&&(a===t||a===It(t)||a===Bi(It(t))))return s}const i=Vu(o[e]||s[e],t)||Vu(o.appContext[e],t);return!i&&r?s:i}}function Vu(e,t){return e&&(e[t]||e[It(t)]||e[Bi(It(t))])}function yo(e,t,n,r){let o;const s=n&&n[r],i=fe(e);if(i||qe(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Ht(e),c=Yn(e),e=Gi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?ro(un(e[u])):un(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(Ne(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function cr(e,t,n={},r,o){if(mt.ce||mt.parent&&lr(mt.parent)&&mt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ge(),Mt(at,null,[Qe("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ge();const i=s&&am(s(n)),a=n.key||i&&i.key,l=Mt(at,{key:(a&&!Wt(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 am(e){return e.some(t=>oo(t)?!(t.type===In||t.type===at&&!am(t.children)):!0)?e:null}const Ll=e=>e?xm(e)?ta(e):Ll(e.parent):null,Wo=bt(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=>Ll(e.parent),$root:e=>Ll(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>cm(e),$forceUpdate:e=>e.f||(e.f=()=>{Uc(e.update)}),$nextTick:e=>e.n||(e.n=dr.bind(e.proxy)),$watch:e=>Av.bind(e)}),Ia=(e,t)=>e!==ze&&!e.__isScriptSetup&&Le(e,t),Gv={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(Ia(r,t))return i[t]=1,r[t];if(o!==ze&&Le(o,t))return i[t]=2,o[t];if(Le(s,t))return i[t]=3,s[t];if(n!==ze&&Le(n,t))return i[t]=4,n[t];Rl&&(i[t]=0)}}const c=Wo[t];let u,f;if(c)return t==="$attrs"&&Et(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==ze&&Le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Le(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ia(o,t)?(o[t]=n,!0):r!==ze&&Le(r,t)?(r[t]=n,!0):Le(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!==ze&&a[0]!=="$"&&Le(e,a)||Ia(t,a)||Le(s,a)||Le(r,a)||Le(Wo,a)||Le(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qv(){return Kv().attrs}function Kv(e){const t=Rn();return t.setupContext||(t.setupContext=Am(t))}function Wu(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rl=!0;function Yv(e){const t=cm(e),n=e.proxy,r=e.ctx;Rl=!1,t.beforeCreate&&Gu(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:m,activated:h,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:E,unmounted:g,render:A,renderTracked:C,renderTriggered:x,errorCaptured:w,serverPrefetch:O,expose:$,inheritAttrs:M,components:te,directives:se,filters:V}=t;if(c&&Xv(c,r,null),i)for(const ne in i){const pe=i[ne];he(pe)&&(r[ne]=pe.bind(n))}if(o){const ne=o.call(n,n);Ne(ne)&&(e.data=ps(ne))}if(Rl=!0,s)for(const ne in s){const pe=s[ne],Ye=he(pe)?pe.bind(n,n):he(pe.get)?pe.get.bind(n,n):Cn,Z=!he(pe)&&he(pe.set)?pe.set.bind(n):Cn,W=J({get:Ye,set:Z});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>W.value,set:X=>W.value=X})}if(a)for(const ne in a)lm(a[ne],r,n,ne);if(l){const ne=he(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(pe=>{Ho(pe,ne[pe])})}u&&Gu(u,e,"c");function Y(ne,pe){fe(pe)?pe.forEach(Ye=>ne(Ye.bind(n))):pe&&ne(pe.bind(n))}if(Y(Fv,f),Y(Ln,d),Y($v,p),Y(om,m),Y(Nv,h),Y(Mv,b),Y(Bv,w),Y(zv,C),Y(jv,x),Y(Zi,_),Y(go,g),Y(Uv,O),fe($))if($.length){const ne=e.exposed||(e.exposed={});$.forEach(pe=>{Object.defineProperty(ne,pe,{get:()=>n[pe],set:Ye=>n[pe]=Ye,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===Cn&&(e.render=A),M!=null&&(e.inheritAttrs=M),te&&(e.components=te),se&&(e.directives=se),O&&em(e)}function Xv(e,t,n=Cn){fe(e)&&(e=Nl(e));for(const r in e){const o=e[r];let s;Ne(o)?"default"in o?s=Vt(o.from||r,o.default,!0):s=Vt(o.from||r):s=Vt(o),Ke(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Gu(e,t,n){On(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function lm(e,t,n,r){let o=r.includes(".")?Zh(n,r):()=>n[r];if(qe(e)){const s=t[e];he(s)&&Ze(o,s)}else if(he(e))Ze(o,e.bind(n));else if(Ne(e))if(fe(e))e.forEach(s=>lm(s,t,n,r));else{const s=he(e.handler)?e.handler.bind(n):t[e.handler];he(s)&&Ze(o,s,e)}}function cm(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=>mi(l,c,i,!0)),mi(l,t,i)),Ne(t)&&s.set(t,l),l}function mi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&mi(e,s,n,!0),o&&o.forEach(i=>mi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Jv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Jv={data:qu,props:Ku,emits:Ku,methods:Po,computed:Po,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:Po,directives:Po,watch:Zv,provide:qu,inject:Qv};function qu(e,t){return t?e?function(){return bt(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Qv(e,t){return Po(Nl(e),Nl(t))}function Nl(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Tt(e,t){return e?[...new Set([].concat(e,t))]:t}function Po(e,t){return e?bt(Object.create(null),e,t):t}function Ku(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:bt(Object.create(null),Wu(e),Wu(t??{})):t}function Zv(e,t){if(!e)return t;if(!t)return e;const n=bt(Object.create(null),e);for(const r in t)n[r]=Tt(e[r],t[r]);return n}function um(){return{app:null,config:{isNativeTag:gh,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 ew=0;function tw(e,t){return function(r,o=null){he(r)||(r=bt({},r)),o!=null&&!Ne(o)&&(o=null);const s=um(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:ew++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Ow,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&he(u.install)?(i.add(u),u.install(c,...f)):he(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||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,ta(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(On(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=xr;xr=c;try{return u()}finally{xr=f}}};return c}}let xr=null;const nw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Rr(t)}Modifiers`];function rw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ze;let o=n;const s=t.startsWith("update:"),i=s&&nw(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>qe(u)?u.trim():u)),i.number&&(o=n.map(D_)));let a,l=r[a=Ys(t)]||r[a=Ys(It(t))];!l&&s&&(l=r[a=Ys(Rr(t))]),l&&On(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,On(c,e,6,o)}}const ow=new WeakMap;function fm(e,t,n=!1){const r=n?ow:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!he(e)){const l=c=>{const u=fm(c,t,!0);u&&(a=!0,bt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ne(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):bt(i,s),Ne(e)&&r.set(e,i),i)}function ea(e,t){return!e||!$i(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,Rr(t))||Le(e,t))}function Yu(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:m,inheritAttrs:h}=e,b=pi(e);let y,_;try{if(n.shapeFlag&4){const g=o||r,A=g;y=vn(c.call(A,g,u,f,p,d,m)),_=a}else{const g=t;y=vn(g.length>1?g(f,{attrs:a,slots:i,emit:l}):g(f,null)),_=t.props?a:sw(a)}}catch(g){Go.length=0,Xi(g,e,1),y=Qe(In)}let E=y;if(_&&h!==!1){const g=Object.keys(_),{shapeFlag:A}=E;g.length&&A&7&&(s&&g.some(Ui)&&(_=iw(_,s)),E=Ir(E,_,!1,!0))}return n.dirs&&(E=Ir(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Ji(E,n.transition),y=E,pi(b),y}const sw=e=>{let t;for(const n in e)(n==="class"||n==="style"||$i(n))&&((t||(t={}))[n]=e[n]);return t},iw=(e,t)=>{const n={};for(const r in e)(!Ui(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function aw(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?Xu(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(dm(i,r,d)&&!ea(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Xu(r,i,c):!0:!!i;return!1}function Xu(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(dm(t,e,s)&&!ea(n,s))return!0}return!1}function dm(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ne(r)&&Ne(o)?!Rc(r,o):r!==o}function lw({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const pm={},hm=()=>Object.create(pm),mm=e=>Object.getPrototypeOf(e)===pm;function cw(e,t,n,r=!1){const o={},s=hm();e.propsDefaults=Object.create(null),gm(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Hh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function uw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ce(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(ea(e.emitsOptions,d))continue;const p=t[d];if(l)if(Le(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const m=It(d);o[m]=Ml(l,a,m,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{gm(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Le(t,f)&&((u=Rr(f))===f||!Le(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ml(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Le(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function gm(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Uo(l))continue;const c=t[l];let u;o&&Le(o,u=It(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:ea(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Ce(n),c=a||ze;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Ml(o,l,f,c[f],e,!Le(c,f))}}return i}function Ml(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Le(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&he(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=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===Rr(n))&&(r=!0))}return r}const fw=new WeakMap;function ym(e,t,n=!1){const r=n?fw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!he(e)){const u=f=>{l=!0;const[d,p]=ym(f,t,!0);bt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ne(e)&&r.set(e,Qr),Qr;if(fe(s))for(let u=0;u<s.length;u++){const f=It(s[u]);Ju(f)&&(i[f]=ze)}else if(s)for(const u in s){const f=It(u);if(Ju(f)){const d=s[u],p=i[f]=fe(d)||he(d)?{type:d}:bt({},d),m=p.type;let h=!1,b=!0;if(fe(m))for(let y=0;y<m.length;++y){const _=m[y],E=he(_)&&_.name;if(E==="Boolean"){h=!0;break}else E==="String"&&(b=!1)}else h=he(m)&&m.name==="Boolean";p[0]=h,p[1]=b,(h||Le(p,"default"))&&a.push(f)}}const c=[i,a];return Ne(e)&&r.set(e,c),c}function Ju(e){return e[0]!=="$"&&!Uo(e)}const Vc=e=>e==="_"||e==="_ctx"||e==="$stable",Wc=e=>fe(e)?e.map(vn):[vn(e)],dw=(e,t,n)=>{if(t._n)return t;const r=Or((...o)=>Wc(t(...o)),n);return r._c=!1,r},bm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Vc(o))continue;const s=e[o];if(he(s))t[o]=dw(o,s,r);else if(s!=null){const i=Wc(s);t[o]=()=>i}}},_m=(e,t)=>{const n=Wc(t);e.slots.default=()=>n},vm=(e,t,n)=>{for(const r in t)(n||!Vc(r))&&(e[r]=t[r])},pw=(e,t,n)=>{const r=e.slots=hm();if(e.vnode.shapeFlag&32){const o=t._;o?(vm(r,t,n),n&&wh(r,"_",o,!0)):bm(t,r)}else t&&_m(e,t)},hw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ze;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:vm(o,t,n):(s=!t.$stable,bm(t,o)),i=t}else t&&(_m(e,t),i={default:1});if(s)for(const a in o)!Vc(a)&&i[a]==null&&delete o[a]},dt=_w;function mw(e){return gw(e)}function gw(e,t){const n=Hi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Cn,insertStaticContent:m}=e,h=(k,T,L,U=null,z=null,j=null,v=void 0,S=null,I=!!T.dynamicChildren)=>{if(k===T)return;k&&!Wr(k,T)&&(U=F(k),X(k,z,j,!0),k=null),T.patchFlag===-2&&(I=!1,T.dynamicChildren=null);const{type:R,ref:K,shapeFlag:B}=T;switch(R){case ms:b(k,T,L,U);break;case In:y(k,T,L,U);break;case La:k==null&&_(T,L,U,v);break;case at:te(k,T,L,U,z,j,v,S,I);break;default:B&1?A(k,T,L,U,z,j,v,S,I):B&6?se(k,T,L,U,z,j,v,S,I):(B&64||B&128)&&R.process(k,T,L,U,z,j,v,S,I,oe)}K!=null&&z?Vo(K,k&&k.ref,j,T||k,!T):K==null&&k&&k.ref!=null&&Vo(k.ref,null,j,k,!0)},b=(k,T,L,U)=>{if(k==null)r(T.el=a(T.children),L,U);else{const z=T.el=k.el;T.children!==k.children&&c(z,T.children)}},y=(k,T,L,U)=>{k==null?r(T.el=l(T.children||""),L,U):T.el=k.el},_=(k,T,L,U)=>{[k.el,k.anchor]=m(k.children,T,L,U,k.el,k.anchor)},E=({el:k,anchor:T},L,U)=>{let z;for(;k&&k!==T;)z=d(k),r(k,L,U),k=z;r(T,L,U)},g=({el:k,anchor:T})=>{let L;for(;k&&k!==T;)L=d(k),o(k),k=L;o(T)},A=(k,T,L,U,z,j,v,S,I)=>{if(T.type==="svg"?v="svg":T.type==="math"&&(v="mathml"),k==null)C(T,L,U,z,j,v,S,I);else{const R=k.el&&k.el._isVueCE?k.el:null;try{R&&R._beginPatch(),O(k,T,z,j,v,S,I)}finally{R&&R._endPatch()}}},C=(k,T,L,U,z,j,v,S)=>{let I,R;const{props:K,shapeFlag:B,transition:P,dirs:D}=k;if(I=k.el=i(k.type,j,K&&K.is,K),B&8?u(I,k.children):B&16&&w(k.children,I,null,U,z,Pa(k,j),v,S),D&&gr(k,null,U,"created"),x(I,k,k.scopeId,v,U),K){for(const ce in K)ce!=="value"&&!Uo(ce)&&s(I,ce,null,K[ce],j,U);"value"in K&&s(I,"value",null,K.value,j),(R=K.onVnodeBeforeMount)&&Xt(R,U,k)}D&&gr(k,null,U,"beforeMount");const re=yw(z,P);re&&P.beforeEnter(I),r(I,T,L),((R=K&&K.onVnodeMounted)||re||D)&&dt(()=>{R&&Xt(R,U,k),re&&P.enter(I),D&&gr(k,null,U,"mounted")},z)},x=(k,T,L,U,z)=>{if(L&&p(k,L),U)for(let j=0;j<U.length;j++)p(k,U[j]);if(z){let j=z.subTree;if(T===j||yi(j.type)&&(j.ssContent===T||j.ssFallback===T)){const v=z.vnode;x(k,v,v.scopeId,v.slotScopeIds,z.parent)}}},w=(k,T,L,U,z,j,v,S,I=0)=>{for(let R=I;R<k.length;R++){const K=k[R]=S?jn(k[R]):vn(k[R]);h(null,K,T,L,U,z,j,v,S)}},O=(k,T,L,U,z,j,v)=>{const S=T.el=k.el;let{patchFlag:I,dynamicChildren:R,dirs:K}=T;I|=k.patchFlag&16;const B=k.props||ze,P=T.props||ze;let D;if(L&&yr(L,!1),(D=P.onVnodeBeforeUpdate)&&Xt(D,L,T,k),K&&gr(T,k,L,"beforeUpdate"),L&&yr(L,!0),(B.innerHTML&&P.innerHTML==null||B.textContent&&P.textContent==null)&&u(S,""),R?$(k.dynamicChildren,R,S,L,U,Pa(T,z),j):v||pe(k,T,S,null,L,U,Pa(T,z),j,!1),I>0){if(I&16)M(S,B,P,L,z);else if(I&2&&B.class!==P.class&&s(S,"class",null,P.class,z),I&4&&s(S,"style",B.style,P.style,z),I&8){const re=T.dynamicProps;for(let ce=0;ce<re.length;ce++){const Ee=re[ce],Ue=B[Ee],Oe=P[Ee];(Oe!==Ue||Ee==="value")&&s(S,Ee,Ue,Oe,z,L)}}I&1&&k.children!==T.children&&u(S,T.children)}else!v&&R==null&&M(S,B,P,L,z);((D=P.onVnodeUpdated)||K)&&dt(()=>{D&&Xt(D,L,T,k),K&&gr(T,k,L,"updated")},U)},$=(k,T,L,U,z,j,v)=>{for(let S=0;S<T.length;S++){const I=k[S],R=T[S],K=I.el&&(I.type===at||!Wr(I,R)||I.shapeFlag&198)?f(I.el):L;h(I,R,K,null,U,z,j,v,!0)}},M=(k,T,L,U,z)=>{if(T!==L){if(T!==ze)for(const j in T)!Uo(j)&&!(j in L)&&s(k,j,T[j],null,z,U);for(const j in L){if(Uo(j))continue;const v=L[j],S=T[j];v!==S&&j!=="value"&&s(k,j,S,v,z,U)}"value"in L&&s(k,"value",T.value,L.value,z)}},te=(k,T,L,U,z,j,v,S,I)=>{const R=T.el=k?k.el:a(""),K=T.anchor=k?k.anchor:a("");let{patchFlag:B,dynamicChildren:P,slotScopeIds:D}=T;D&&(S=S?S.concat(D):D),k==null?(r(R,L,U),r(K,L,U),w(T.children||[],L,K,z,j,v,S,I)):B>0&&B&64&&P&&k.dynamicChildren&&k.dynamicChildren.length===P.length?($(k.dynamicChildren,P,L,z,j,v,S),(T.key!=null||z&&T===z.subTree)&&wm(k,T,!0)):pe(k,T,L,K,z,j,v,S,I)},se=(k,T,L,U,z,j,v,S,I)=>{T.slotScopeIds=S,k==null?T.shapeFlag&512?z.ctx.activate(T,L,U,v,I):V(T,L,U,z,j,v,I):Q(k,T,I)},V=(k,T,L,U,z,j,v)=>{const S=k.component=Cw(k,U,z);if(nm(k)&&(S.ctx.renderer=oe),kw(S,!1,v),S.asyncDep){if(z&&z.registerDep(S,Y,v),!k.el){const I=S.subTree=Qe(In);y(null,I,T,L),k.placeholder=I.el}}else Y(S,k,T,L,z,j,v)},Q=(k,T,L)=>{const U=T.component=k.component;if(aw(k,T,L))if(U.asyncDep&&!U.asyncResolved){ne(U,T,L);return}else U.next=T,U.update();else T.el=k.el,U.vnode=T},Y=(k,T,L,U,z,j,v)=>{const S=()=>{if(k.isMounted){let{next:B,bu:P,u:D,parent:re,vnode:ce}=k;{const nn=Em(k);if(nn){B&&(B.el=ce.el,ne(k,B,v)),nn.asyncDep.then(()=>{dt(()=>{k.isUnmounted||R()},z)});return}}let Ee=B,Ue;yr(k,!1),B?(B.el=ce.el,ne(k,B,v)):B=ce,P&&jo(P),(Ue=B.props&&B.props.onVnodeBeforeUpdate)&&Xt(Ue,re,B,ce),yr(k,!0);const Oe=Yu(k),Kt=k.subTree;k.subTree=Oe,h(Kt,Oe,f(Kt.el),F(Kt),k,z,j),B.el=Oe.el,Ee===null&&lw(k,Oe.el),D&&dt(D,z),(Ue=B.props&&B.props.onVnodeUpdated)&&dt(()=>Xt(Ue,re,B,ce),z)}else{let B;const{el:P,props:D}=T,{bm:re,m:ce,parent:Ee,root:Ue,type:Oe}=k,Kt=lr(T);yr(k,!1),re&&jo(re),!Kt&&(B=D&&D.onVnodeBeforeMount)&&Xt(B,Ee,T),yr(k,!0);{Ue.ce&&Ue.ce._hasShadowRoot()&&Ue.ce._injectChildStyle(Oe,k.parent?k.parent.type:void 0);const nn=k.subTree=Yu(k);h(null,nn,L,U,k,z,j),T.el=nn.el}if(ce&&dt(ce,z),!Kt&&(B=D&&D.onVnodeMounted)){const nn=T;dt(()=>Xt(B,Ee,nn),z)}(T.shapeFlag&256||Ee&&lr(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&k.a&&dt(k.a,z),k.isMounted=!0,T=L=U=null}};k.scope.on();const I=k.effect=new Th(S);k.scope.off();const R=k.update=I.run.bind(I),K=k.job=I.runIfDirty.bind(I);K.i=k,K.id=k.uid,I.scheduler=()=>Uc(K),yr(k,!0),R()},ne=(k,T,L)=>{T.component=k;const U=k.vnode.props;k.vnode=T,k.next=null,uw(k,T.props,U,L),hw(k,T.children,L),qn(),zu(k),Kn()},pe=(k,T,L,U,z,j,v,S,I=!1)=>{const R=k&&k.children,K=k?k.shapeFlag:0,B=T.children,{patchFlag:P,shapeFlag:D}=T;if(P>0){if(P&128){Z(R,B,L,U,z,j,v,S,I);return}else if(P&256){Ye(R,B,L,U,z,j,v,S,I);return}}D&8?(K&16&&De(R,z,j),B!==R&&u(L,B)):K&16?D&16?Z(R,B,L,U,z,j,v,S,I):De(R,z,j,!0):(K&8&&u(L,""),D&16&&w(B,L,U,z,j,v,S,I))},Ye=(k,T,L,U,z,j,v,S,I)=>{k=k||Qr,T=T||Qr;const R=k.length,K=T.length,B=Math.min(R,K);let P;for(P=0;P<B;P++){const D=T[P]=I?jn(T[P]):vn(T[P]);h(k[P],D,L,null,z,j,v,S,I)}R>K?De(k,z,j,!0,!1,B):w(T,L,U,z,j,v,S,I,B)},Z=(k,T,L,U,z,j,v,S,I)=>{let R=0;const K=T.length;let B=k.length-1,P=K-1;for(;R<=B&&R<=P;){const D=k[R],re=T[R]=I?jn(T[R]):vn(T[R]);if(Wr(D,re))h(D,re,L,null,z,j,v,S,I);else break;R++}for(;R<=B&&R<=P;){const D=k[B],re=T[P]=I?jn(T[P]):vn(T[P]);if(Wr(D,re))h(D,re,L,null,z,j,v,S,I);else break;B--,P--}if(R>B){if(R<=P){const D=P+1,re=D<K?T[D].el:U;for(;R<=P;)h(null,T[R]=I?jn(T[R]):vn(T[R]),L,re,z,j,v,S,I),R++}}else if(R>P)for(;R<=B;)X(k[R],z,j,!0),R++;else{const D=R,re=R,ce=new Map;for(R=re;R<=P;R++){const jt=T[R]=I?jn(T[R]):vn(T[R]);jt.key!=null&&ce.set(jt.key,R)}let Ee,Ue=0;const Oe=P-re+1;let Kt=!1,nn=0;const vo=new Array(Oe);for(R=0;R<Oe;R++)vo[R]=0;for(R=D;R<=B;R++){const jt=k[R];if(Ue>=Oe){X(jt,z,j,!0);continue}let hn;if(jt.key!=null)hn=ce.get(jt.key);else for(Ee=re;Ee<=P;Ee++)if(vo[Ee-re]===0&&Wr(jt,T[Ee])){hn=Ee;break}hn===void 0?X(jt,z,j,!0):(vo[hn-re]=R+1,hn>=nn?nn=hn:Kt=!0,h(jt,T[hn],L,null,z,j,v,S,I),Ue++)}const Nu=Kt?bw(vo):Qr;for(Ee=Nu.length-1,R=Oe-1;R>=0;R--){const jt=re+R,hn=T[jt],Mu=T[jt+1],Du=jt+1<K?Mu.el||Sm(Mu):U;vo[R]===0?h(null,hn,L,Du,z,j,v,S,I):Kt&&(Ee<0||R!==Nu[Ee]?W(hn,L,Du,2):Ee--)}}},W=(k,T,L,U,z=null)=>{const{el:j,type:v,transition:S,children:I,shapeFlag:R}=k;if(R&6){W(k.component.subTree,T,L,U);return}if(R&128){k.suspense.move(T,L,U);return}if(R&64){v.move(k,T,L,oe);return}if(v===at){r(j,T,L);for(let B=0;B<I.length;B++)W(I[B],T,L,U);r(k.anchor,T,L);return}if(v===La){E(k,T,L);return}if(U!==2&&R&1&&S)if(U===0)S.beforeEnter(j),r(j,T,L),dt(()=>S.enter(j),z);else{const{leave:B,delayLeave:P,afterLeave:D}=S,re=()=>{k.ctx.isUnmounted?o(j):r(j,T,L)},ce=()=>{j._isLeaving&&j[Pv](!0),B(j,()=>{re(),D&&D()})};P?P(j,re,ce):ce()}else r(j,T,L)},X=(k,T,L,U=!1,z=!1)=>{const{type:j,props:v,ref:S,children:I,dynamicChildren:R,shapeFlag:K,patchFlag:B,dirs:P,cacheIndex:D,memo:re}=k;if(B===-2&&(z=!1),S!=null&&(qn(),Vo(S,null,L,k,!0),Kn()),D!=null&&(T.renderCache[D]=void 0),K&256){T.ctx.deactivate(k);return}const ce=K&1&&P,Ee=!lr(k);let Ue;if(Ee&&(Ue=v&&v.onVnodeBeforeUnmount)&&Xt(Ue,T,k),K&6)Me(k.component,L,U);else{if(K&128){k.suspense.unmount(L,U);return}ce&&gr(k,null,T,"beforeUnmount"),K&64?k.type.remove(k,T,L,oe,U):R&&!R.hasOnce&&(j!==at||B>0&&B&64)?De(R,T,L,!1,!0):(j===at&&B&384||!z&&K&16)&&De(I,T,L),U&&le(k)}const Oe=re!=null&&D==null;(Ee&&(Ue=v&&v.onVnodeUnmounted)||ce||Oe)&&dt(()=>{Ue&&Xt(Ue,T,k),ce&&gr(k,null,T,"unmounted"),Oe&&(k.el=null)},L)},le=k=>{const{type:T,el:L,anchor:U,transition:z}=k;if(T===at){ie(L,U);return}if(T===La){g(k);return}const j=()=>{o(L),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(k.shapeFlag&1&&z&&!z.persisted){const{leave:v,delayLeave:S}=z,I=()=>v(L,j);S?S(k.el,j,I):I()}else j()},ie=(k,T)=>{let L;for(;k!==T;)L=d(k),o(k),k=L;o(T)},Me=(k,T,L)=>{const{bum:U,scope:z,job:j,subTree:v,um:S,m:I,a:R}=k;gi(I),gi(R),U&&jo(U),z.stop(),j&&(j.flags|=8,X(v,k,T,L)),S&&dt(S,T),dt(()=>{k.isUnmounted=!0},T)},De=(k,T,L,U=!1,z=!1,j=0)=>{for(let v=j;v<k.length;v++)X(k[v],T,L,U,z)},F=k=>{if(k.shapeFlag&6)return F(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const T=d(k.anchor||k.el),L=T&&T[Ov];return L?d(L):T};let G=!1;const q=(k,T,L)=>{let U;k==null?T._vnode&&(X(T._vnode,null,null,!0),U=T._vnode.component):h(T._vnode||null,k,T,null,null,null,L),T._vnode=k,G||(G=!0,zu(U),Yh(),G=!1)},oe={p:h,um:X,m:W,r:le,mt:V,mc:w,pc:pe,pbc:$,n:F,o:e};return{render:q,hydrate:void 0,createApp:tw(q)}}function Pa({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 yr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function yw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function wm(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&wm(i,a)),a.type===ms&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===In&&!a.el&&(a.el=i.el)}}function bw(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 Em(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Em(t)}function gi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Sm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Sm(t.subTree):null}const yi=e=>e.__isSuspense;function _w(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Cv(e)}const at=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),In=Symbol.for("v-cmt"),La=Symbol.for("v-stc"),Go=[];let Bt=null;function ge(e=!1){Go.push(Bt=e?null:[])}function vw(){Go.pop(),Bt=Go[Go.length-1]||null}let ts=1;function bi(e,t=!1){ts+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function Cm(e){return e.dynamicChildren=ts>0?Bt||Qr:null,vw(),ts>0&&Bt&&Bt.push(e),e}function $e(e,t,n,r,o,s){return Cm(Je(e,t,n,r,o,s,!0))}function Mt(e,t,n,r,o){return Cm(Qe(e,t,n,r,o,!0))}function oo(e){return e?e.__v_isVNode===!0:!1}function Wr(e,t){return e.type===t.type&&e.key===t.key}const km=({key:e})=>e??null,Xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||Ke(e)||he(e)?{i:mt,r:e,k:t,f:!!n}:e:null);function Je(e,t=null,n=null,r=0,o=null,s=e===at?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&km(t),ref:t&&Xs(t),scopeId:Jh,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:mt};return a?(Gc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=qe(n)?8:16),ts>0&&!i&&Bt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Bt.push(l),l}const Qe=ww;function ww(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===im)&&(e=In),oo(e)){const a=Ir(e,t,!0);return n&&Gc(a,n),ts>0&&!s&&Bt&&(a.shapeFlag&6?Bt[Bt.indexOf(e)]=a:Bt.push(a)),a.patchFlag=-2,a}if(Aw(e)&&(e=e.__vccOpts),t){t=bo(t);let{class:a,style:l}=t;a&&!qe(a)&&(t.class=Ge(a)),Ne(l)&&(Yi(l)&&!fe(l)&&(l=bt({},l)),t.style=Nt(l))}const i=qe(e)?1:yi(e)?128:Iv(e)?64:Ne(e)?4:he(e)?2:0;return Je(e,t,n,r,o,i,s,!0)}function bo(e){return e?Yi(e)||mm(e)?bt({},e):e:null}function Ir(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?so(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&km(c),ref:t&&t.ref?n&&s?fe(s)?s.concat(Xs(t)):[s,Xs(t)]:Xs(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!==at?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&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ji(u,l.clone(u)),u}function _i(e=" ",t=0){return Qe(ms,null,e,t)}function Tn(e="",t=!1){return t?(ge(),Mt(In,null,e)):Qe(In,null,e)}function vn(e){return e==null||typeof e=="boolean"?Qe(In):fe(e)?Qe(at,null,e.slice()):oo(e)?jn(e):Qe(ms,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ir(e)}function Gc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Gc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!mm(t)?t._ctx=mt:o===3&&mt&&(mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:mt},n=32):(t=String(t),r&64?(n=16,t=[_i(t)]):n=8);e.children=t,e.shapeFlag|=n}function so(...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=Ge([t.class,r.class]));else if(o==="style")t.style=Nt([t.style,r.style]);else if($i(o)){const s=t[o],i=r[o];i&&s!==i&&!(fe(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Ui(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Xt(e,t,n,r=null){On(e,t,7,[n,r])}const Ew=um();let Sw=0;function Cw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Ew,s={uid:Sw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kh(!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:ym(r,o),emitsOptions:fm(r,o),emit:null,emitted:null,propsDefaults:ze,inheritAttrs:r.inheritAttrs,ctx:ze,data:ze,props:ze,attrs:ze,slots:ze,refs:ze,setupState:ze,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=rw.bind(null,s),e.ce&&e.ce(s),s}let St=null;const Rn=()=>St||mt;let vi,Dl;{const e=Hi(),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)}};vi=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Dl=t("__VUE_SSR_SETTERS__",n=>ns=n)}const gs=e=>{const t=St;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}},Qu=()=>{St&&St.scope.off(),vi(null)};function xm(e){return e.vnode.shapeFlag&4}let ns=!1;function kw(e,t=!1,n=!1){t&&Dl(t);const{props:r,children:o}=e.vnode,s=xm(e);cw(e,r,s,t),pw(e,o,n||t);const i=s?xw(e,t):void 0;return t&&Dl(!1),i}function xw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gv);const{setup:r}=n;if(r){qn();const o=e.setupContext=r.length>1?Am(e):null,s=gs(e),i=hs(r,e,0,[e.props,o]),a=bh(i);if(Kn(),s(),(a||e.sp)&&!lr(e)&&em(e),a){if(i.then(Qu,Qu),t)return i.then(l=>{Zu(e,l)}).catch(l=>{Xi(l,e,0)});e.asyncDep=i}else Zu(e,i)}else Tm(e)}function Zu(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=Wh(t)),Tm(e)}function Tm(e,t,n){const r=e.type;e.render||(e.render=r.render||Cn);{const o=gs(e);qn();try{Yv(e)}finally{Kn(),o()}}}const Tw={get(e,t){return Et(e,"get",""),e[t]}};function Am(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Tw),slots:e.slots,emit:e.emit,expose:t}}function ta(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wh($c(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wo)return Wo[n](e)},has(t,n){return n in t||n in Wo}})):e.proxy}function Fl(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function Aw(e){return he(e)&&"__vccOpts"in e}const J=(e,t)=>_v(e,t,ns);function ur(e,t,n){try{bi(-1);const r=arguments.length;return r===2?Ne(t)&&!fe(t)?oo(t)?Qe(e,null,[t]):Qe(e,t):Qe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&oo(n)&&(n=[n]),Qe(e,t,n))}finally{bi(1)}}const Ow="3.5.34";let $l;const ef=typeof window<"u"&&window.trustedTypes;if(ef)try{$l=ef.createPolicy("vue",{createHTML:e=>e})}catch{}const Om=$l?e=>$l.createHTML(e):e=>e,Iw="http://www.w3.org/2000/svg",Pw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,tf=Un&&Un.createElement("template"),Lw={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(Iw,e):t==="mathml"?Un.createElementNS(Pw,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{tf.innerHTML=Om(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=tf.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]}},Rw=Symbol("_vtc");function Nw(e,t,n){const r=e[Rw];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wi=Symbol("_vod"),Im=Symbol("_vsh"),Mw={name:"show",beforeMount(e,{value:t},{transition:n}){e[wi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Eo(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),Eo(e,!0),r.enter(e)):r.leave(e,()=>{Eo(e,!1)}):Eo(e,t))},beforeUnmount(e,{value:t}){Eo(e,t)}};function Eo(e,t){e.style.display=t?e[wi]:"none",e[Im]=!t}const Dw=Symbol(""),Fw=/(?:^|;)\s*display\s*:/;function $w(e,t,n){const r=e.style,o=qe(n);let s=!1;if(n&&!o){if(t)if(qe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&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?jw(e,i,!qe(t)&&t?t[i]:void 0,a)||Lo(r,i,a):Lo(r,i,"")}}else if(o){if(t!==n){const i=r[Dw];i&&(n+=";"+i),r.cssText=n,s=Fw.test(n)}}else t&&e.removeAttribute("style");wi in e&&(e[wi]=s?r.display:"",e[Im]&&(r.display="none"))}const nf=/\s*!important$/;function Lo(e,t,n){if(fe(n))n.forEach(r=>Lo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Uw(e,t);nf.test(n)?e.setProperty(Rr(r),n.replace(nf,""),"important"):e[r]=n}}const rf=["Webkit","Moz","ms"],Ra={};function Uw(e,t){const n=Ra[t];if(n)return n;let r=It(t);if(r!=="filter"&&r in e)return Ra[t]=r;r=Bi(r);for(let o=0;o<rf.length;o++){const s=rf[o]+r;if(s in e)return Ra[t]=s}return t}function jw(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&qe(r)&&n===r}const of="http://www.w3.org/1999/xlink";function sf(e,t,n,r,o,s=B_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(of,t.slice(6,t.length)):e.setAttributeNS(of,t,n):n==null||s&&!Eh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Wt(n)?String(n):n)}function af(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Om(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=Eh(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 zw(e,t,n,r){e.addEventListener(t,n,r)}function Bw(e,t,n,r){e.removeEventListener(t,n,r)}const lf=Symbol("_vei");function Hw(e,t,n,r,o=null){const s=e[lf]||(e[lf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=Vw(t);if(r){const c=s[t]=qw(r,o);zw(e,a,c,l)}else i&&(Bw(e,a,i,l),s[t]=void 0)}}const cf=/(?:Once|Passive|Capture)$/;function Vw(e){let t;if(cf.test(e)){t={};let r;for(;r=e.match(cf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rr(e.slice(2)),t]}let Na=0;const Ww=Promise.resolve(),Gw=()=>Na||(Ww.then(()=>Na=0),Na=Date.now());function qw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;On(Kw(r,n.value),t,5,[r])};return n.value=e,n.attached=Gw(),n}function Kw(e,t){if(fe(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 uf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yw=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Nw(e,r,i):t==="style"?$w(e,n,r):$i(t)?Ui(t)||Hw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xw(e,t,r,i))?(af(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&sf(e,t,r,i,s,t!=="value")):e._isVueCE&&(Jw(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!qe(r)))?af(e,It(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sf(e,t,r,i))};function Xw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&uf(t)&&he(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return uf(t)&&qe(n)?!1:t in e}function Jw(e,t){const n=e._def.props;if(!n)return!1;const r=It(t);return Array.isArray(n)?n.some(o=>It(o)===r):Object.keys(n).some(o=>It(o)===r)}const Qw=["ctrl","shift","alt","meta"],Zw={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)=>Qw.some(n=>e[`${n}Key`]&&!t.includes(n))},ff=(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=Zw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},eE=bt({patchProp:Yw},Lw);let df;function tE(){return df||(df=mw(eE))}const nE=((...e)=>{const t=tE().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=oE(r);if(!o)return;const s=t._component;!he(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,rE(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function rE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function oE(e){return qe(e)?document.querySelector(e):e}const Ma=new WeakMap,sE=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??Vi();if(o==null&&!jc())throw new Error("injectLocal must be called in setup");return o&&Ma.has(o)&&n in Ma.get(o)?Ma.get(o)[n]:Vt(...e)},iE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const aE=Object.prototype.toString,lE=e=>aE.call(e)==="[object Object]",cE=()=>{};function Pm(...e){if(e.length!==1)return yv(...e);const t=e[0];return typeof t=="function"?ui(pv(()=>({get:t,set:cE}))):_e(t)}function uE(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 Lm=e=>e();function fE(e=Lm,t={}){const{initialState:n="active"}=t,r=Pm(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:cv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function pf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Da(e){return Array.isArray(e)?e:[e]}function dE(e){return Rn()}function pE(e,t,n={}){const{eventFilter:r=Lm,...o}=n;return Ze(e,uE(r,t),o)}function hE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=fE(r,{initialState:o});return{stop:pE(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Rm(e,t=!0,n){dE()?Ln(e,n):t?e():dr(e)}function mE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ke(e),s=kn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=xn(n);return s.value=s.value===l?xn(r):l,s.value}}return o?i:[s,i]}function gE(e,t,n){return Ze(e,t,{...n,immediate:!0})}const wr=iE?window:void 0;function Nm(e){var t;const n=xn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ul(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=J(()=>{const r=Da(xn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return gE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Nm(s)))!==null&&r!==void 0?r:[wr].filter(s=>s!=null),Da(xn(n.value?e[1]:e[0])),Da(Re(n.value?e[2]:e[1])),xn(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=lE(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 yE(){const e=kn(!1),t=Rn();return t&&Ln(()=>{e.value=!0},t),e}function bE(e){const t=yE();return J(()=>(t.value,!!e()))}const _E=Symbol("vueuse-ssr-width");function vE(){const e=jc()?sE(_E,null):null;return typeof e=="number"?e:void 0}function wE(e,t={}){const{window:n=wr,ssrWidth:r=vE()}=t,o=bE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=kn(typeof r=="number"),i=kn(),a=kn(!1),l=c=>{a.value=c.matches};return Tv(()=>{if(s.value){s.value=!o.value,a.value=xn(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=pf(f[1])),d&&p&&(p=r<=pf(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(xn(e)),a.value=i.value.matches)}),Ul(i,"change",l,{passive:!0}),J(()=>a.value)}const Is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ps="__vueuse_ssr_handlers__",EE=SE();function SE(){return Ps in Is||(Is[Ps]=Is[Ps]||{}),Is[Ps]}function Mm(e,t){return EE[e]||t}function CE(e){return wE("(prefers-color-scheme: dark)",e)}function kE(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 xE={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()}},hf="vueuse-storage";function TE(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=wr,eventFilter:d,onError:p=V=>{console.error(V)},initOnMounted:m}=r,h=(u?kn:_e)(typeof t=="function"?t():t),b=J(()=>xn(e));if(!n)try{n=Mm("getDefaultStorage",()=>wr?.localStorage)()}catch(V){p(V)}if(!n)return h;const y=xn(t),_=kE(y),E=(o=r.serializer)!==null&&o!==void 0?o:xE[_],{pause:g,resume:A}=hE(h,V=>$(V),{flush:s,deep:i,eventFilter:d});Ze(b,()=>te(),{flush:s});let C=!1;const x=V=>{m&&!C||te(V)},w=V=>{m&&!C||se(V)};f&&a&&(n instanceof Storage?Ul(f,"storage",x,{passive:!0}):Ul(f,hf,w)),m?Rm(()=>{C=!0,te()}):te();function O(V,Q){if(f){const Y={key:b.value,oldValue:V,newValue:Q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",Y):new CustomEvent(hf,{detail:Y}))}}function $(V){try{const Q=n.getItem(b.value);if(V==null)O(Q,null),n.removeItem(b.value);else{const Y=E.write(V);Q!==Y&&(n.setItem(b.value,Y),O(Q,Y))}}catch(Q){p(Q)}}function M(V){const Q=V?V.newValue:n.getItem(b.value);if(Q==null)return l&&y!=null&&n.setItem(b.value,E.write(y)),y;if(!V&&c){const Y=E.read(Q);return typeof c=="function"?c(Y,y):_==="object"&&!Array.isArray(Y)?{...y,...Y}:Y}else return typeof Q!="string"?Q:E.read(Q)}function te(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){h.value=y;return}if(!(V&&V.key!==b.value)){g();try{const Q=E.write(h.value);(V===void 0||V?.newValue!==Q)&&(h.value=M(V))}catch(Q){p(Q)}finally{V?dr(A):A()}}}}function se(V){te(V.detail)}return h}const AE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function OE(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=wr,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=CE({window:o}),p=J(()=>d.value?"dark":"light"),m=l||(i==null?Pm(r):TE(i,r,s,{window:o,listenToStorageChanges:a})),h=J(()=>m.value==="auto"?p.value:m.value),b=Mm("updateHTMLAttrs",(g,A,C)=>{const x=typeof g=="string"?o?.document.querySelector(g):Nm(g);if(!x)return;const w=new Set,O=new Set;let $=null;if(A==="class"){const te=C.split(/\s/g);Object.values(f).flatMap(se=>(se||"").split(/\s/g)).filter(Boolean).forEach(se=>{te.includes(se)?w.add(se):O.add(se)})}else $={key:A,value:C};if(w.size===0&&O.size===0&&$===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(AE)),o.document.head.appendChild(M));for(const te of w)x.classList.add(te);for(const te of O)x.classList.remove(te);$&&x.setAttribute($.key,$.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(g){var A;b(t,n,(A=f[g])!==null&&A!==void 0?A:g)}function _(g){e.onChanged?e.onChanged(g,y):y(g)}Ze(h,_,{flush:"post",immediate:!0}),Rm(()=>_(h.value));const E=J({get(){return c?m.value:h.value},set(g){m.value=g}});return Object.assign(E,{store:m,system:p,state:h})}function qc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=OE({...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=J(()=>r.system.value);return J({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const IE="local://",PE="main",LE="container",RE="item",NE="/__global_config__",ME="/node_modules/.prebuild_module",DE="_metadata.json",FE="/_module_load_prefix_",$E="/_node_modules_load_prefix_",UE="/_comp_preview_prefix_local_",jE="/__proxy__",zE="/__master__",BE="__remote__",HE="__local__",VE="https://api.comphub.cn:5696",WE="http://localhost:7002",GE="http://localhost:5000",qE="http://localhost:5001",KE="Comp Hub",YE="csrfToken",XE="authorization",JE="x-refresh-token",QE="x-csrf-token",ZE="accept-language",eS="isGuestLogin",tS="comp-hub-db",nS="file-compiled",rS="https://oss.comphub.cn",oS="oss:sts:token",sS="oss:sts:expire",iS="comp.json",aS="README.md",lS="/.comp_hub_temp",cS="main.js",uS="index.vue",Dm="list_local",Fm="list_remote",fS={COMP_LIST_TYPE_LOCAL:Dm,COMP_LIST_TYPE_REMOTE:Fm},$m="config",Um="error",jm="dir",zm="preview",Bm="extra",Hm="deps",Vm="upgradeLog",Wm="readme",dS={TAB_TYPE_CONFIG:$m,TAB_TYPE_ERROR:Um,TAB_TYPE_DIR:jm,TAB_TYPE_PREVIEW:zm,TAB_TYPE_EXTRA:Bm,TAB_TYPE_DEPS:Hm,TAB_TYPE_UPGRADE_LOG:Vm,TAB_TYPE_README:Wm},Gm="mini",qm="full",pS={COMP_EDIT_TAB_TYPE_MINI:Gm,COMP_EDIT_TAB_TYPE_FULL:qm},Km="EDIT",Ym="ADD",hS={DIALOG_TYPE_EDIT:Km,DIALOG_TYPE_ADD:Ym},Xm="ONLY_INSTALL",Jm="MAJOR_VERSION",Qm="MINOR_VERSION",Zm="EXACT_VERSION",mS={COMP_MATCH_TYPE_ONLY_INSTALL:Xm,COMP_MATCH_TYPE_MAJOR_VERSION:Jm,COMP_MATCH_TYPE_MINOR_VERSION:Qm,COMP_MATCH_TYPE_EXACT_VERSION:Zm},eg="online",tg="offline",gS={COMP_UPDATE_TYPE_ONLINE:eg,COMP_UPDATE_TYPE_OFFLINE:tg},yS=0,bS=1,_S=-1,ng="checkPreviewListForm",rg="checkExtraInfoForm",og="checkCompConfig",sg="afterCompDel",ig="openCompTerminal",ag="afterCompCancelCollect",lg="afterCompRenderRetry",cg="getCompError",ug="checkUpgradeLogForm",vS={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:ng,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:rg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:og,COMP_METHOD_KEY_AFTER_COMP_DEL:sg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:ig,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:ag,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:lg,COMP_METHOD_KEY_GET_COMP_ERROR:cg,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ug},wS={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},ES="http://127.0.0.1",SS="http://localhost:8095",CS="http://localhost:8096",kS="http://localhost:5198",xS="/item",TS="/container",AS="CREATE",OS="JOIN",IS="EXIT",PS="teamAddMyComp",LS="teamCompList",RS="teamCompGroupList",NS="teamMyCompList",MS="teamMyCompUpdate",DS="vue/dist/vue.esm-bundler.js",FS="__v__",$S="compListStore",US="compEditStore",jS="callbacks",zS="comphubConfig",BS="local",HS="prod",VS="local",WS="prod",GS="http://localhost:5173/en/",qS="https://docs.comphub.cn",KS=20,YS=20,ye=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:ZE,AUTHORIZATION_HEADER_NAME:XE,CACHE_KEY_STS_EXPIRE_TIME:sS,CACHE_KEY_STS_TOKEN:oS,COMPHUB_CONFIG_KEY:zS,COMP_ACTION_ICON_HEIGHT:YS,COMP_ACTION_ICON_WIDTH:KS,COMP_CONFIG_FILENAME:iS,COMP_EDIT_TAB_TYPES:pS,COMP_EDIT_TAB_TYPE_FULL:qm,COMP_EDIT_TAB_TYPE_MINI:Gm,COMP_ENTRY_FILE:cS,COMP_HUB_DEV_DOCS_URL:GS,COMP_HUB_PROD_DOCS_URL:qS,COMP_LIST_TYPES:fS,COMP_LIST_TYPE_LOCAL:Dm,COMP_LIST_TYPE_REMOTE:Fm,COMP_MATCH_TYPES:mS,COMP_MATCH_TYPE_EXACT_VERSION:Zm,COMP_MATCH_TYPE_MAJOR_VERSION:Jm,COMP_MATCH_TYPE_MINOR_VERSION:Qm,COMP_MATCH_TYPE_ONLY_INSTALL:Xm,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:ag,COMP_METHOD_KEY_AFTER_COMP_DEL:sg,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:lg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:og,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:rg,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:ng,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ug,COMP_METHOD_KEY_GET_COMP_ERROR:cg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:ig,COMP_PREVIEW_PREFIX_LOCAL:UE,COMP_README_FILENAME:aS,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:lS,COMP_UPDATE_TYPES:gS,COMP_UPDATE_TYPE_OFFLINE:tg,COMP_UPDATE_TYPE_ONLINE:eg,COMP_USE_ENTRY_FILE:uS,CSRF_KEY:YE,CSRF_TOKEN_HEADER_NAME:QE,DIALOG_TYPES:hS,DIALOG_TYPE_ADD:Ym,DIALOG_TYPE_EDIT:Km,FILE_MANAGER_DIRNAME:IE,GLOBAL_CONFIG_PATH:NE,IFRAME_CONTAINER_WEBSITE_PATH:TS,IFRAME_HOST:ES,IFRAME_ITEM_WEBSITE_PATH:xS,IFRAME_ROUTES:wS,INDEX_DB_NAME:tS,INDEX_DB_TABLE_NAME:nS,IS_GUEST_LOGIN:eS,LOCAL_CHILD_IFRAME_URL:SS,LOCAL_LEAF_IFRAME_URL:CS,LOCAL_MIDWAY_ENV_LOCAL:BS,LOCAL_MIDWAY_ENV_PROD:HS,LOCAL_SERVICE_PREFIX:HE,LOCAL_SERVICE_URL_DEV:GE,LOCAL_SERVICE_URL_DEV_SUB:qE,LOCAL_TOP_IFRAME_URL:kS,MASTER_API_PREFIX:zE,META_FILE_NAME:DE,MODULE_LOAD_PREFIX:FE,NODE_MODULES_LOAD_PREFIX:$E,OSS_CUSTOM_DOMAIN:rS,PREBUILD_MODULE_DIR:ME,PROVIDE_KEYS:vS,PROVIDE_KEY_CALLBACKS:jS,PROVIDE_KEY_COMP_EDIT_STORE:US,PROVIDE_KEY_COMP_LIST_STORE:$S,PROXY_PATH_PREFIX:jE,REFRESH_TOKEN_HEADER_NAME:JE,REMOTE_MIDWAY_ENV_LOCAL:VS,REMOTE_MIDWAY_ENV_PROD:WS,REMOTE_SERVICE_PREFIX:BE,REMOTE_SERVICE_URL_DEV:WE,REMOTE_SERVICE_URL_PROD:VE,ROUTE_STATE_KEY_VERSION:FS,SCOPE_ID_TEAM_ADD_MY_COMP:PS,SCOPE_ID_TEAM_COMP_GROUP_LIST:RS,SCOPE_ID_TEAM_COMP_LIST:LS,SCOPE_ID_TEAM_MY_COMP_LIST:NS,SCOPE_ID_TEAM_MY_COMP_UPDATE:MS,SITE_TITLE:KE,TAB_TYPES:dS,TAB_TYPE_CONFIG:$m,TAB_TYPE_DEPS:Hm,TAB_TYPE_DIR:jm,TAB_TYPE_ERROR:Um,TAB_TYPE_EXTRA:Bm,TAB_TYPE_PREVIEW:zm,TAB_TYPE_README:Wm,TAB_TYPE_UPGRADE_LOG:Vm,TEAM_OPERATE_TYPE_CREATE:AS,TEAM_OPERATE_TYPE_EXIT:IS,TEAM_OPERATE_TYPE_JOIN:OS,VERSION_COMPARE_GREATER:bS,VERSION_COMPARE_LESS:_S,VERSION_COMPARE_SAME:yS,VUE_ESM_BUNDLER:DS,WEBSITE_PATH_CONTAINER:LE,WEBSITE_PATH_ITEM:RE,WEBSITE_PATH_MAIN:PE},Symbol.toStringTag,{value:"Module"})),XS=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],JS=[".css"],QS=[{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"}],fg=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:QS,DEFAULT_TAG_GROUP:XS,PREBUILD_MODULE_SKIP_EXT:JS},Symbol.toStringTag,{value:"Module"})),ZS="comp-hub-locale",eC=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:ZS},Symbol.toStringTag,{value:"Module"}));function tC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa={exports:{}},mf;function nC(){return mf||(mf=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={},m={},h="",b="",y="",_=2,E=3,g=2,A=[],C=0,x=0,w;for(w=0;w<l.length;w+=1)if(h=l.charAt(w),Object.prototype.hasOwnProperty.call(p,h)||(p[h]=E++,m[h]=!0),b=y+h,Object.prototype.hasOwnProperty.call(p,b))y=b;else{if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete m[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++),p[b]=E++,y=String(h)}if(y!==""){if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete m[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++)}for(d=2,f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;for(;;)if(C=C<<1,x==c-1){A.push(u(C));break}else x++;return A.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,m=3,h="",b=[],y,_,E,g,A,C,x,w={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,A=Math.pow(2,2),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 2:return""}for(f[3]=x,_=x,b.push(x);;){if(w.index>l)return"";for(E=0,A=Math.pow(2,m),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(x=E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return b.join("")}if(d==0&&(d=Math.pow(2,m),m++),f[x])h=f[x];else if(x===p)h=_+_.charAt(0);else return null;b.push(h),f[p++]=_+h.charAt(0),d--,_=h,d==0&&(d=Math.pow(2,m),m++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Fa)),Fa.exports}var rC=nC();const gf=tC(rC),yf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],Nr=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!yf.includes(l)).length)throw new Error(`iframe参数键名只能包含${yf.join(", ")}`);return gf.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=gf.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}},ys=e=>{const{params:{topOrigin:t}}=Nr();return t},Fe={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",COMP_RENDER_ERROR_SET:"comp_render_error_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function bs(){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(m=>m===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),go(()=>{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:J(()=>e?.uid?.toString()??"")}}function oC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ei=typeof window<"u",pr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),sC=(e,t,n)=>iC({l:e,k:t,s:n}),iC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),lt=e=>typeof e=="number"&&isFinite(e),dg=e=>Yc(e)==="[object Date]",io=e=>Yc(e)==="[object RegExp]",na=e=>Se(e)&&Object.keys(e).length===0,ct=Object.assign,aC=Object.create,Be=(e=null)=>aC(e);let bf;const Er=()=>bf||(bf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Be());function _f(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function lC(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const cC=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,uC=/^(?:href|src|action|formaction)$/i;function Kc(e){return cC.test(e)}function fC(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,i=t.lastIndex-1;let a=i+1,l=1,c=null;for(;a<e.length;a++){const d=e[a];if(c){d===c&&(c=null);continue}if(d==='"'||d==="'")c=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const u=e.slice(i+1,a).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;n+=e.slice(r,s),n+=Kc(f)?"url(about:blank)":e.slice(s,a+1),r=a+1}return n+e.slice(r)}function vf(e,t){if(uC.test(e)&&Kc(t))return"about:blank";const n=e.toLowerCase()==="style"?fC(t):t;return lC(n)}function dC(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${vf(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${vf(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>Kc(o)?`${r}about:blank`:n),e}const pC=Object.prototype.hasOwnProperty;function Zt(e,t){return pC.call(e,t)}const rt=Array.isArray,Xe=e=>typeof e=="function",ee=e=>typeof e=="string",ke=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",hC=e=>xe(e)&&Xe(e.then)&&Xe(e.catch),pg=Object.prototype.toString,Yc=e=>pg.call(e),Se=e=>Yc(e)==="[object Object]",mC=e=>e==null?"":rt(e)||Se(e)&&e.toString===pg?JSON.stringify(e,null,2):String(e);function Xc(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ls=e=>!xe(e)||rt(e);function Js(e,t){if(Ls(e)||Ls(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(xe(r[s])&&!xe(o[s])&&(o[s]=Array.isArray(r[s])?[]:Be()),Ls(o[s])||Ls(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function gC(e,t,n){return{line:e,column:t,offset:n}}function jl(e,t,n){return{start:e,end:t}}const Pe={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},yC=17;function ra(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 bC(e){throw e}const mn=" ",_C="\r",_t=`
2
- `,vC="\u2028",wC="\u2029";function EC(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===_C&&t[x+1]===_t,a=x=>t[x]===_t,l=x=>t[x]===wC,c=x=>t[x]===vC,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,m=()=>s,h=x=>i(x)||l(x)||c(x)?_t:t[x],b=()=>h(n),y=()=>h(n+s);function _(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function g(){n=0,r=1,o=1,s=0}function A(x=0){s=x}function C(){const x=n+s;for(;x!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:m,charAt:h,currentChar:b,currentPeek:y,next:_,peek:E,reset:g,resetPeek:A,skipToPeek:C}}const Mn=void 0,SC=".",wf="'",CC="tokenizer";function kC(e,t={}){const n=t.location!==!1,r=EC(e),o=()=>r.index(),s=()=>gC(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(v,S,I,...R){const K=c();if(S.column+=I,S.offset+=I,u){const B=n?jl(K.startLoc,S):null,P=ra(v,B,{domain:CC,args:R});u(P)}}function d(v,S,I){v.endLoc=s(),v.currentType=S;const R={type:S};return n&&(R.loc=jl(v.startLoc,v.endLoc)),I!=null&&(R.value=I),R}const p=v=>d(v,13);function m(v,S){return v.currentChar()===S?(v.next(),S):(f(Pe.EXPECTED_TOKEN,s(),0,S),"")}function h(v){let S="";for(;v.currentPeek()===mn||v.currentPeek()===_t;)S+=v.currentPeek(),v.peek();return S}function b(v){const S=h(v);return v.skipToPeek(),S}function y(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function _(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=48&&S<=57}function E(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=y(v.currentPeek());return v.resetPeek(),R}function g(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=v.currentPeek()==="-"?v.peek():v.currentPeek(),K=_(R);return v.resetPeek(),K}function A(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=v.currentPeek()===wf;return v.resetPeek(),R}function C(v,S){const{currentType:I}=S;if(I!==7)return!1;h(v);const R=v.currentPeek()===".";return v.resetPeek(),R}function x(v,S){const{currentType:I}=S;if(I!==8)return!1;h(v);const R=y(v.currentPeek());return v.resetPeek(),R}function w(v,S){const{currentType:I}=S;if(!(I===7||I===11))return!1;h(v);const R=v.currentPeek()===":";return v.resetPeek(),R}function O(v,S){const{currentType:I}=S;if(I!==9)return!1;const R=()=>{const B=v.currentPeek();return B==="{"?y(v.peek()):B==="@"||B==="|"||B===":"||B==="."||B===mn||!B?!1:B===_t?(v.peek(),R()):M(v,!1)},K=R();return v.resetPeek(),K}function $(v){h(v);const S=v.currentPeek()==="|";return v.resetPeek(),S}function M(v,S=!0){const I=(K=!1,B="")=>{const P=v.currentPeek();return P==="{"||P==="@"||!P?K:P==="|"?!(B===mn||B===_t):P===mn?(v.peek(),I(!0,mn)):P===_t?(v.peek(),I(!0,_t)):!0},R=I();return S&&v.resetPeek(),R}function te(v,S){const I=v.currentChar();return I===Mn?Mn:S(I)?(v.next(),I):null}function se(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function V(v){return te(v,se)}function Q(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function Y(v){return te(v,Q)}function ne(v){const S=v.charCodeAt(0);return S>=48&&S<=57}function pe(v){return te(v,ne)}function Ye(v){const S=v.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function Z(v){return te(v,Ye)}function W(v){let S="",I="";for(;S=pe(v);)I+=S;return I}function X(v){let S="";for(;;){const I=v.currentChar();if(I==="\\"){const R=v.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=I+R,v.next(),v.next()):(v.resetPeek(),S+=I,v.next())}else{if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===mn||I===_t)if(M(v))S+=I,v.next();else{if($(v))break;S+=I,v.next()}else S+=I,v.next()}}return S}function le(v){b(v);let S="",I="";for(;S=Y(v);)I+=S;const R=v.currentChar();if(R&&R!=="}"&&R!==Mn&&R!==mn&&R!==_t&&R!==" "){const K=oe(v);return f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I+K),I+K}return v.currentChar()===Mn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I}function ie(v){b(v);let S="";return v.currentChar()==="-"?(v.next(),S+=`-${W(v)}`):S+=W(v),v.currentChar()===Mn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),S}function Me(v){return v!==wf&&v!==_t}function De(v){b(v),m(v,"'");let S="",I="";for(;S=te(v,Me);)S==="\\"?I+=F(v):I+=S;const R=v.currentChar();return R===_t||R===Mn?(f(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===_t&&(v.next(),m(v,"'")),I):(m(v,"'"),I)}function F(v){const S=v.currentChar();switch(S){case"\\":case"'":return v.next(),`\\${S}`;case"u":return G(v,S,4);case"U":return G(v,S,6);default:return f(Pe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function G(v,S,I){m(v,S);let R="";for(let K=0;K<I;K++){const B=Z(v);if(!B){f(Pe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${v.currentChar()}`);break}R+=B}return`\\${S}${R}`}function q(v){return v!=="{"&&v!=="}"&&v!==mn&&v!==_t}function oe(v){b(v);let S="",I="";for(;S=te(v,q);)I+=S;return I}function be(v){let S="",I="";for(;S=V(v);)I+=S;return I}function k(v){const S=I=>{const R=v.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===mn?I:(I+=R,v.next(),S(I))};return S("")}function T(v){b(v);const S=m(v,"|");return b(v),S}function L(v,S){let I=null;switch(v.currentChar()){case"{":return S.braceNest>=1&&f(Pe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),v.next(),I=d(S,2,"{"),b(v),S.braceNest++,I;case"}":return S.braceNest>0&&S.currentType===2&&f(Pe.EMPTY_PLACEHOLDER,s(),0),v.next(),I=d(S,3,"}"),S.braceNest--,S.braceNest>0&&b(v),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),I;case"@":return S.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I=U(v,S)||p(S),S.braceNest=0,I;default:{let K=!0,B=!0,P=!0;if($(v))return S.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(v,S);if(K=E(v,S))return I=d(S,4,le(v)),b(v),I;if(B=g(v,S))return I=d(S,5,ie(v)),b(v),I;if(P=A(v,S))return I=d(S,6,De(v)),b(v),I;if(!K&&!B&&!P)return I=d(S,12,oe(v)),f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),b(v),I;break}}return I}function U(v,S){const{currentType:I}=S;let R=null;const K=v.currentChar();switch((I===7||I===8||I===11||I===9)&&(K===_t||K===mn)&&f(Pe.INVALID_LINKED_FORMAT,s(),0),K){case"@":return v.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return b(v),v.next(),d(S,8,".");case":":return b(v),v.next(),d(S,9,":");default:return $(v)?(R=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,R):C(v,S)||w(v,S)?(b(v),U(v,S)):x(v,S)?(b(v),d(S,11,be(v))):O(v,S)?(b(v),K==="{"?L(v,S)||R:d(S,10,k(v))):(I===7&&f(Pe.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(v,S))}}function z(v,S){let I={type:13};if(S.braceNest>0)return L(v,S)||p(S);if(S.inLinked)return U(v,S)||p(S);switch(v.currentChar()){case"{":return L(v,S)||p(S);case"}":return f(Pe.UNBALANCED_CLOSING_BRACE,s(),0),v.next(),d(S,3,"}");case"@":return U(v,S)||p(S);default:{if($(v))return I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(M(v))return d(S,0,X(v));break}}return I}function j(){const{currentType:v,offset:S,startLoc:I,endLoc:R}=l;return l.lastType=v,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:j,currentOffset:o,currentPosition:s,context:c}}const xC="parser",TC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,AC=/\\([\\@{}|])/g;function OC(e,t){return t}function IC(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 PC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,_,E,g,...A){const C=y.currentPosition();if(C.offset+=g,C.column+=g,n){const x=t?jl(E,C):null,w=ra(_,x,{domain:xC,args:A});n(w)}}function o(y,_,E){const g={type:y};return t&&(g.start=_,g.end=_,g.loc={start:E,end:E}),g}function s(y,_,E,g){t&&(y.end=_,y.loc&&(y.loc.end=E))}function i(y,_){const E=y.context(),g=o(3,E.offset,E.startLoc);return g.value=_.replace(AC,OC),s(g,y.currentOffset(),y.currentPosition()),g}function a(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(5,g,A);return C.index=parseInt(_,10),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function l(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(4,g,A);return C.key=_,y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function c(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(9,g,A);return C.value=_.replace(TC,IC),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function u(y){const _=y.nextToken(),E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(8,g,A);return _.type!==11?(r(y,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),C.value="",s(C,g,A),{nextConsumeToken:_,node:C}):(_.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,gn(_)),C.value=_.value||"",s(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,_){const E=y.context(),g=o(7,E.offset,E.startLoc);return g.value=_,s(g,y.currentOffset(),y.currentPosition()),g}function d(y){const _=y.context(),E=o(6,_.offset,_.startLoc);let g=y.nextToken();if(g.type===8){const A=u(y);E.modifier=A.node,g=A.nextConsumeToken||y.nextToken()}switch(g.type!==9&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 10:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=f(y,g.value||"");break;case 4:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=l(y,g.value||"");break;case 5:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=a(y,g.value||"");break;case 6:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=c(y,g.value||"");break;default:{r(y,Pe.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const A=y.context(),C=o(7,A.offset,A.startLoc);return C.value="",s(C,A.offset,A.startLoc),E.key=C,s(E,A.offset,A.startLoc),{nextConsumeToken:g,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const _=y.context(),E=_.currentType===1?y.currentOffset():_.offset,g=_.currentType===1?_.endLoc:_.startLoc,A=o(2,E,g);A.items=[];let C=null;do{const O=C||y.nextToken();switch(C=null,O.type){case 0:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(i(y,O.value||""));break;case 5:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(a(y,O.value||""));break;case 4:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(l(y,O.value||""));break;case 6:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(c(y,O.value||""));break;case 7:{const $=d(y);A.items.push($.node),C=$.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const x=_.currentType===1?_.lastOffset:y.currentOffset(),w=_.currentType===1?_.lastEndLoc:y.currentPosition();return s(A,x,w),A}function m(y,_,E,g){const A=y.context();let C=g.items.length===0;const x=o(1,_,E);x.cases=[],x.cases.push(g);do{const w=p(y);C||(C=w.items.length===0),x.cases.push(w)}while(A.currentType!==13);return C&&r(y,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function h(y){const _=y.context(),{offset:E,startLoc:g}=_,A=p(y);return _.currentType===13?A:m(y,E,g,A)}function b(y){const _=kC(y,ct({},e)),E=_.context(),g=o(0,E.offset,E.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=h(_),e.onCacheKey&&(g.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(g,_.currentOffset(),_.currentPosition()),g}return{parse:b}}function gn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function LC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Ef(e,t){for(let n=0;n<e.length;n++)Jc(e[n],t)}function Jc(e,t){switch(e.type){case 1:Ef(e.cases,t),t.helper("plural");break;case 2:Ef(e.items,t);break;case 6:{Jc(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 RC(e,t={}){const n=LC(e);n.helper("normalize"),e.body&&Jc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function NC(e){const t=e.body;return t.type===2?Sf(t):t.cases.forEach(n=>Sf(n)),e}function Sf(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=Xc(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 Gr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Gr(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++)Gr(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++)Gr(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;Gr(t.key),t.k=t.key,delete t.key,t.modifier&&(Gr(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 MC(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,b){i.code+=h}function c(h,b=!0){const y=b?r:"";l(o?y+" ".repeat(h):y)}function u(h=!0){const b=++i.indentLevel;h&&c(b)}function f(h=!0){const b=--i.indentLevel;h&&c(b)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:h=>`_${h}`,needIndent:()=>i.needIndent}}function DC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ao(e,t.key),t.modifier?(e.push(", "),ao(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function FC(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&&(ao(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function $C(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&&(ao(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function UC(e,t){t.body?ao(e,t.body):e.push("null")}function ao(e,t){const{helper:n}=e;switch(t.type){case 0:UC(e,t);break;case 1:$C(e,t);break;case 2:FC(e,t);break;case 6:DC(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 jC=(e,t={})=>{const n=ee(t.mode)?t.mode:"normal",r=ee(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=MC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Xc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),ao(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 zC(e,t={}){const n=ct({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=PC(n).parse(e);return r?(s&&NC(a),o&&Gr(a),{ast:a,code:""}):(RC(a,n),jC(a,n))}function BC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function An(e){return xe(e)&&Qc(e)===0&&(Zt(e,"b")||Zt(e,"body"))}const hg=["b","body"];function HC(e){return hr(e,hg)}const mg=["c","cases"];function VC(e){return hr(e,mg,[])}const gg=["s","static"];function WC(e){return hr(e,gg)}const yg=["i","items"];function GC(e){return hr(e,yg,[])}const bg=["t","type"];function Qc(e){return hr(e,bg)}const _g=["v","value"];function Rs(e,t){const n=hr(e,_g);if(n!=null)return n;throw rs(t)}const vg=["m","modifier"];function qC(e){return hr(e,vg)}const wg=["k","key"];function KC(e){const t=hr(e,wg);if(t)return t;throw rs(6)}function hr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Zt(e,o)&&e[o]!=null)return e[o]}return n}const Eg=[...hg,...mg,...gg,...yg,...wg,...vg,..._g,...bg];function rs(e){return new Error(`unhandled node type: ${e}`)}function $a(e){return n=>YC(n,e)}function YC(e,t){const n=HC(t);if(n==null)throw rs(0);if(Qc(n)===1){const s=VC(n);return e.plural(s.reduce((i,a)=>[...i,Cf(e,a)],[]))}else return Cf(e,n)}function Cf(e,t){const n=WC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=GC(t).reduce((o,s)=>[...o,zl(e,s)],[]);return e.normalize(r)}}function zl(e,t){const n=Qc(t);switch(n){case 3:return Rs(t,n);case 9:return Rs(t,n);case 4:{const r=t;if(Zt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Zt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Zt(r,"i")&&lt(r.i))return e.interpolate(e.list(r.i));if(Zt(r,"index")&&lt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=qC(r),s=KC(r);return e.linked(zl(e,s),o?zl(e,o):void 0,e.type)}case 7:return Rs(t,n);case 8:return Rs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const XC=e=>e;let Ns=Be();function JC(e,t={}){let n=!1;const r=t.onError||bC;return t.onError=o=>{n=!0,r(o)},{...zC(e,t),detectError:n}}function QC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ee(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||XC)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=JC(e,{...t,location:!1,jit:!0}),a=$a(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=$a(e))}else return $a(e)}}let os=null;function ZC(e){os=e}function e0(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const t0=n0("function:translate");function n0(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:yC,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},r0=24;function Vn(e){return ra(e,null,void 0)}function Zc(e,t){return t.locale!=null?kf(t.locale):kf(e.locale)}let Ua;function kf(e){if(ee(e))return e;if(Xe(e)){if(e.resolvedOnce&&Ua!=null)return Ua;if(e.constructor.name==="Function"){const t=e();if(hC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ua=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function o0(e,t,n){return[...new Set([n,...rt(t)?t:xe(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Bl(e,t,n){const r=ee(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;rt(i);)i=xf(s,i,t);const a=rt(t)||!Se(t)?t:t.default?t.default:null;i=ee(a)?[a]:a,rt(i)&&xf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function xf(e,t,n){let r=!0;for(let o=0;o<t.length&&ke(r);o++){const s=t[o];ee(s)&&(r=s0(e,t[o],n))}return r}function s0(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=i0(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function i0(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(rt(n)||Se(n))&&n[o]&&(r=n[o])}return r}const mr=[];mr[0]={w:[0],i:[3,0],"[":[4],o:[7]};mr[1]={w:[1],".":[2],"[":[4],o:[7]};mr[2]={w:[2],i:[3,0],0:[3,0]};mr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};mr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};mr[5]={"'":[4,0],o:8,l:[5,0]};mr[6]={'"':[4,0],o:8,l:[6,0]};const a0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function l0(e){return a0.test(e)}function c0(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 u0(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 f0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:l0(t)?c0(t):"*"+t}function d0(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=f0(i),i===!1))return!1;d[1]()}};function p(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,a="\\"+m,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=u0(s),f=mr[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 Tf=new Map;function p0(e,t){return xe(e)?e[t]:null}function h0(e,t){if(!xe(e))return null;let n=Tf.get(t);if(n||(n=d0(t),n&&Tf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(Eg.includes(i)&&An(o)||!xe(o)||!Zt(o,i))return null;const a=o[i];if(a===void 0||Xe(o))return null;o=a,s++}return o}const m0="11.4.4",oa=-1,ss="en-US",Si="",Af=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function g0(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?Af(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?Af(e.children):e}}let Sg;function y0(e){Sg=e}let Cg;function b0(e){Cg=e}let kg;function _0(e){kg=e}let xg=null;const v0=e=>{xg=e},w0=()=>xg;let Tg=null;const Of=e=>{Tg=e},E0=()=>Tg;let If=0;function S0(e={}){const t=Xe(e.onWarn)?e.onWarn:oC,n=ee(e.version)?e.version:m0,r=ee(e.locale)||Xe(e.locale)?e.locale:ss,o=Xe(r)?ss:r,s=rt(e.fallbackLocale)||Se(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Se(e.messages)?e.messages:ja(o),a=Se(e.datetimeFormats)?e.datetimeFormats:ja(o),l=Se(e.numberFormats)?e.numberFormats:ja(o),c=ct(Be(),e.modifiers,g0()),u=e.pluralRules||Be(),f=Xe(e.missing)?e.missing:null,d=ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,b=Xe(e.postTranslation)?e.postTranslation:null,y=Se(e.processor)?e.processor:null,_=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Xe(e.messageCompiler)?e.messageCompiler:Sg,A=Xe(e.messageResolver)?e.messageResolver:Cg||p0,C=Xe(e.localeFallbacker)?e.localeFallbacker:kg||o0,x=xe(e.fallbackContext)?e.fallbackContext:void 0,w=e,O=xe(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,$=xe(w.__numberFormatters)?w.__numberFormatters:new Map,M=xe(w.__meta)?w.__meta:{};If++;const te={version:n,cid:If,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return te.datetimeFormats=a,te.numberFormats=l,te.__datetimeFormatters=O,te.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&e0(te,n,M),te}const ja=e=>({[e]:Be()});function eu(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return ee(a)?a:t}else return t}function So(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function C0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function k0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(C0(e,t[r]))return!0;return!1}function Pf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!ee(t[0])&&!dg(t[0])&&!lt(t[0]))return Si;const[l,c,u,f]=Hl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=Zc(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.DateTimeFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)eu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Ag=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Hl(...e){const[t,n,r,o]=e,s=Be();let i=Be(),a;if(ee(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(dg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(lt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Ag.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Lf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Rf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!lt(t[0]))return Si;const[l,c,u,f]=Vl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=Zc(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.NumberFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)eu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Og=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vl(...e){const[t,n,r,o]=e,s=Be();let i=Be();if(!lt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Og.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Nf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const x0=e=>e,T0=e=>"",A0="text",O0=e=>e.length===0?"":Xc(e),I0=mC;function za(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function P0(e){const t=lt(e.pluralIndex)?e.pluralIndex:-1;return lt(e.named?.count)?e.named.count:lt(e.named?.n)?e.named.n:t}function L0(e={}){const t=e.locale,n=P0(e),r=ee(t)&&Xe(e.pluralRules?.[t])?e.pluralRules[t]:za,o=r===za?void 0:za,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Be();lt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Xe(e.messages)?e.messages(y,!!_):xe(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):T0)}const f=y=>e.modifiers?e.modifiers[y]:x0,d=Xe(e.processor?.normalize)?e.processor.normalize:O0,p=Xe(e.processor?.interpolate)?e.processor.interpolate:I0,m=ee(e.processor?.type)?e.processor.type:A0,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",C="";_.length===1?xe(E)?(C=E.modifier||C,A=E.type||A):ee(E)&&(C=E||C):_.length===2&&(ee(E)&&(C=E||C),ee(g)&&(A=g||A));const x=u(y,!0)(b),w=x===""||x===void 0?y:x,O=A==="vnode"&&rt(w)&&C?w[0]:w;return C?f(C)(O,A):O},message:u,type:m,interpolate:p,normalize:d,values:ct(Be(),i,l)};return b}const Mf=()=>"",Qt=e=>Xe(e);function Df(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Wl(...t),u=ke(c.missingWarn)?c.missingWarn:e.missingWarn,f=ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,m=ee(c.default)||ke(c.default)?ke(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||m!=null&&(ee(m)||Xe(m)),b=Zc(e,c);d&&R0(c);let[y,_,E]=p?[l,b,a[b]||Be()]:Ig(e,l,b,i,f,u),g=y,A=l;if(!p&&!(ee(g)||An(g)||Qt(g))&&h&&(g=m,A=g),!p&&(!(ee(g)||An(g)||Qt(g))||!ee(_)))return o?oa:l;let C=!1;const x=()=>{C=!0},w=Qt(g)?g:Pg(e,l,_,g,A,x);if(C)return g;const O=D0(e,_,E,c),$=L0(O),M=N0(e,w,$);let te=r?r(M,l):M;if(d&&ee(te)&&(te=dC(te)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:ee(l)?l:Qt(g)?g.key:"",locale:_||(Qt(g)?g.locale:""),format:ee(g)?g:Qt(g)?g.source:"",message:te};se.meta=ct({},e.__meta,w0()||{}),t0(se)}return te}function R0(e){rt(e.list)?e.list=e.list.map(t=>ee(t)?_f(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=_f(e.named[t]))})}function Ig(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Be(),d,p=null;const m="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Be(),(p=l(f,t))===null&&(p=f[t]),!(ee(p)||An(p)||Qt(p)));h++)if(!k0(d,u)){const b=eu(e,t,d,s,m);b!==t&&(p=b)}return[p,d,f]}function Pg(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Qt(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,M0(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function N0(e,t,n){return t(n)}function Wl(...e){const[t,n,r]=e,o=Be();if(!ee(t)&&!lt(t)&&!Qt(t)&&!An(t))throw Vn(Hn.INVALID_ARGUMENT);const s=lt(t)?String(t):(Qt(t),t);return lt(n)?o.plural=n:ee(n)?o.default=n:Se(n)&&!na(n)?o.named=n:rt(n)&&(o.list=n),lt(r)?o.plural=r:ee(r)?o.default=r:Se(r)&&ct(o,r),[s,o]}function M0(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>sC(t,n,i)}}function D0(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,m)=>{let h=i(n,p);if(h==null&&(u||m)){const[b,,y]=Ig(u||e,p,t,a,l,c);h=b??i(y,p)}if(ee(h)||An(h)){let b=!1;const _=Pg(e,p,t,h,p,()=>{b=!0});return b?Mf:_}else return Qt(h)?h:Mf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),lt(r.plural)&&(d.pluralIndex=r.plural),d}BC();const F0="11.4.4";function $0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Er().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Er().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1)}const Pt={UNEXPECTED_RETURN_TYPE:r0,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 Dt(e,...t){return ra(e,null,void 0)}const Gl=pr("__translateVNode"),ql=pr("__datetimeParts"),Kl=pr("__numberParts"),Lg=pr("__setPluralRules"),Rg=pr("__injectWithOption"),Yr=pr("__dispose");function is(e){if(!xe(e)||An(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))xe(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]]=Be()),!xe(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(An(o)?Eg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!An(o)){const i=o[n[r]];xe(i)&&is(i)}}return e}function tu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Se(n)?n:rt(r)?Be():{[e]:Be()};if(rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Be(),Js(c,i[l])):Js(c,i)}else ee(a)&&Js(JSON.parse(a),i)}),o==null&&s)for(const a in i)Zt(i,a)&&is(i[a]);return i}function Ng(e){return e.type}function Mg(e,t,n){let r=xe(t.messages)?t.messages:Be();"__i18nGlobal"in n&&(r=tu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ff(e){return Qe(ms,null,e,0)}function as(){return Rn()}const $f="__INTLIFY_META__",Uf=()=>[],U0=()=>!1;let jf=0;function zf(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const j0=()=>{const e=as();let t=null;return e&&(t=Ng(e)[$f])?{[$f]:t}:null};function Ci(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Ei?_e:kn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:ee(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(tu(a.value,e)),u=s(Se(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Se(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,b=Xe(e.missing)?e.missing:null,y=Xe(e.missing)?zf(e.missing):null,_=Xe(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Se(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&Of(null);const P={version:F0,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=u.value,P.numberFormats=f.value,P.__datetimeFormatters=Se(x)?x.__datetimeFormatters:void 0,P.__numberFormatters=Se(x)?x.__numberFormatters:void 0;const D=S0(P);return r&&Of(D),D})(),So(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const $=J({get:()=>a.value,set:P=>{x.locale=P,a.value=P}}),M=J({get:()=>l.value,set:P=>{x.fallbackLocale=P,l.value=P,So(x,a.value,P)}}),te=J(()=>c.value),se=J(()=>u.value),V=J(()=>f.value);function Q(){return Xe(_)?_:null}function Y(P){_=P,x.postTranslation=P}function ne(){return b}function pe(P){P!==null&&(y=zf(P)),b=P,x.missing=y}const Ye=(P,D,re,ce,Ee,Ue)=>{O();let Oe;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?E0():void 0),Oe=P(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(re!=="translate exists"&&lt(Oe)&&Oe===oa||re==="translate exists"&&!Oe){const[Kt,nn]=D();return t&&m?ce(t):Ee(Kt)}else{if(Ue(Oe))return Oe;throw Dt(Pt.UNEXPECTED_RETURN_TYPE)}};function Z(...P){return Ye(D=>Reflect.apply(Df,null,[D,...P]),()=>Wl(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>ee(D))}function W(...P){const[D,re,ce]=P;if(ce&&!xe(ce))throw Dt(Pt.INVALID_ARGUMENT);return Z(D,re,ct({resolvedMessage:!0},ce||{}))}function X(...P){return Ye(D=>Reflect.apply(Pf,null,[D,...P]),()=>Hl(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function le(...P){return Ye(D=>Reflect.apply(Rf,null,[D,...P]),()=>Vl(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function ie(P){return P.map(D=>ee(D)||lt(D)||ke(D)?Ff(String(D)):D)}const De={normalize:ie,interpolate:P=>P,type:"vnode"};function F(...P){return Ye(D=>{let re;const ce=D;try{ce.processor=De,re=Reflect.apply(Df,null,[ce,...P])}finally{ce.processor=null}return re},()=>Wl(...P),"translate",D=>D[Gl](...P),D=>[Ff(D)],D=>rt(D))}function G(...P){return Ye(D=>Reflect.apply(Rf,null,[D,...P]),()=>Vl(...P),"number format",D=>D[Kl](...P),Uf,D=>ee(D)||rt(D))}function q(...P){return Ye(D=>Reflect.apply(Pf,null,[D,...P]),()=>Hl(...P),"datetime format",D=>D[ql](...P),Uf,D=>ee(D)||rt(D))}function oe(P){C=P,x.pluralRules=C}function be(P,D){return Ye(()=>{if(!P)return!1;const re=ee(D)?D:a.value,ce=ee(D)?[re]:Bl(x,l.value,re);for(let Ee=0;Ee<ce.length;Ee++){const Ue=L(ce[Ee]);let Oe=x.messageResolver(Ue,P);if(Oe===null&&(Oe=Ue[P]),An(Oe)||Qt(Oe)||ee(Oe))return!0}return!1},()=>[P],"translate exists",re=>Reflect.apply(re.te,re,[P,D]),U0,re=>ke(re))}function k(P){let D=null;const re=Bl(x,l.value,a.value);for(let ce=0;ce<re.length;ce++){const Ee=c.value[re[ce]]||{},Ue=x.messageResolver(Ee,P);if(Ue!=null){D=Ue;break}}return D}function T(P){const D=k(P);return D??(t?t.tm(P)||{}:{})}function L(P){return c.value[P]||{}}function U(P,D){if(o){const re={[P]:D};for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P]}c.value[P]=D,x.messages=c.value}function z(P,D){c.value[P]=c.value[P]||{};const re={[P]:D};if(o)for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P],Js(D,c.value[P]),x.messages=c.value}function j(P){return u.value[P]||{}}function v(P,D){u.value[P]=D,x.datetimeFormats=u.value,Lf(x,P,D)}function S(P,D){u.value[P]=ct(u.value[P]||{},D),x.datetimeFormats=u.value,Lf(x,P,D)}function I(P){return f.value[P]||{}}function R(P,D){f.value[P]=D,x.numberFormats=f.value,Nf(x,P,D)}function K(P,D){f.value[P]=ct(f.value[P]||{},D),x.numberFormats=f.value,Nf(x,P,D)}jf++,t&&Ei&&(Ze(t.locale,P=>{i&&(a.value=P,x.locale=P,So(x,a.value,l.value))}),Ze(t.fallbackLocale,P=>{i&&(l.value=P,x.fallbackLocale=P,So(x,a.value,l.value))}));const B={id:jf,locale:$,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(P){i=P,P&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,So(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:te,get modifiers(){return A},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(P){d=P,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(P){p=P,x.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(P){m=P},get fallbackFormat(){return h},set fallbackFormat(P){h=P,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(P){E=P,x.warnHtmlMessage=P},get escapeParameter(){return g},set escapeParameter(P){g=P,x.escapeParameter=P},t:Z,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:Q,setPostTranslationHandler:Y,getMissingHandler:ne,setMissingHandler:pe,[Lg]:oe};return B.datetimeFormats=se,B.numberFormats=V,B.rt=W,B.te=be,B.tm=T,B.d=X,B.n=le,B.getDateTimeFormat=j,B.setDateTimeFormat=v,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Rg]=n,B[Gl]=F,B[ql]=q,B[Kl]=G,B}function z0(e){const t=ee(e.locale)?e.locale:ss,n=ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Xe(e.missing)?e.missing:void 0,o=ke(e.silentTranslationWarn)||io(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||io(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ke(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Xe(e.postTranslation)?e.postTranslation:void 0,f=ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ke(e.sync)?e.sync:!0;let m=e.messages;if(Se(e.sharedMessages)){const A=e.sharedMessages;m=Object.keys(A).reduce((x,w)=>{const O=x[w]||(x[w]={});return ct(O,A[w]),x},m||{})}const{__i18n:h,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:g,datetimeFormats:_,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:b,__injectWithOption:y}}function Yl(e={}){const t=Ci(z0(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ke(o)?!o:o},get silentFallbackWarn(){return ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ke(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function B0(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Dt(Pt.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=Bf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Yl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Bf(e,o);else{this.$i18n=Yl({__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&&Mg(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 Dt(Pt.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 Bf(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[Lg](t.pluralizationRules||e.pluralizationRules);const n=tu(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 nu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function H0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===at?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Be())}function Dg(){return at}const V0=ot({name:"i18n-t",props:ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>lt(e)||!isNaN(e)}},nu),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Be();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=ee(e.plural)?+e.plural:e.plural);const u=H0(t,l);return o[Gl](e.keypath,u,c)},i=ct(Be(),r),a=ee(e.tag)||xe(e.tag)?e.tag:Dg();return xe(a)?ur(a,i,{default:s}):ur(a,i,s())}}}),Hf=V0;function W0(e){return rt(e)&&!ee(e[0])}function Fg(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Be();e.locale&&(c.locale=e.locale),ee(e.format)?c.key=e.format:xe(e.format)&&(ee(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,m)=>n.includes(m)?ct(Be(),p,{[m]:e.format[m]}):p,Be()));const f=r(e.value,c,u);let d=[c.key];return rt(f)?d=f.map((p,m)=>{const h=o[p.type],b=h?h({[p.type]:p.value,index:m,parts:f}):[p.value];return W0(b)&&(b[0].key=`${p.type}-${m}`),b}):ee(f)&&(d=[f]),d},a=ct(Be(),s),l=ee(e.tag)||xe(e.tag)?e.tag:Dg();return xe(l)?ur(l,a,{default:i}):ur(l,a,i())}}const G0=ot({name:"i18n-n",props:ct({value:{type:Number,required:!0},format:{type:[String,Object]}},nu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return Fg(e,t,Og,(...r)=>n[Kl](...r))}}),Vf=G0;function q0(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 K0(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Dt(Pt.UNEXPECTED_ERROR);const c=q0(e,a.$),u=Wf(l);return[Reflect.apply(c.t,c,[...Gf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Ei&&(i.__i18nWatcher=Ze(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ei&&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=Wf(a);i.textContent=Reflect.apply(l.t,l,[...Gf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Wf(e){if(ee(e))return{path:e};if(Se(e)){if(!("path"in e))throw Dt(Pt.REQUIRED_VALUE,"path");return e}else throw Dt(Pt.INVALID_VALUE)}function Gf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return ee(n)&&(i.locale=n),lt(o)&&(i.plural=o),lt(s)&&(i.plural=s),[t,a,i]}function Y0(e,t,...n){const r=Se(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([Hf.name,"I18nT"].forEach(s=>e.component(s,Hf)),[Vf.name,"I18nN"].forEach(s=>e.component(s,Vf)),[Yf.name,"I18nD"].forEach(s=>e.component(s,Yf))),e.directive("t",K0(t))}const X0=pr("global-vue-i18n");function J0(e={}){const t=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ke(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Q0(e,t),i=pr("");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),Se(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=sk(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Y0(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(B0(s,s.__composer,u));const m=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),m()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=as();if(t==null)throw Dt(Pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dt(Pt.NOT_INSTALLED);const n=Z0(t),r=tk(n),o=Ng(t),s=ek(e,o);if(s==="global")return Mg(r,e,o),r;if(s==="parent"){let l=qf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Dt(Pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ct({},e),u=qf(n,t);c.__root=u||r;const f=Ci(c);return l.__composerExtend&&(f[Yr]=l.__composerExtend(f)),Vi()&&xh(()=>{const p=f[Yr];p&&(p(),delete f[Yr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ct({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ci(l),i.__composerExtend&&(a[Yr]=i.__composerExtend(a)),rk(i,t,a),i.__setInstance(t,a)}return a}function Q0(e,t){const n=Nc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Yl(e)):n.run(()=>Ci(e));if(r==null)throw Dt(Pt.UNEXPECTED_ERROR);return[n,r]}function Z0(e){const t=Vt(e.isCE?X0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dt(e.isCE?Pt.NOT_INSTALLED_WITH_PROVIDE:Pt.UNEXPECTED_ERROR);return t}function ek(e,t){return na(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tk(e){return e.mode==="composition"?e.global:e.global.__composer}function qf(e,t,n=!1){let r=null;const o=t.root;let s=nk(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[Rg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function nk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function rk(e,t,n){Ln(()=>{},t),go(()=>{const r=n;e.__deleteInstance(t);const o=r[Yr];o&&(o(),delete r[Yr])},t)}const ok=["locale","fallbackLocale","availableLocales"],Kf=["t","rt","d","n","tm","te"];function sk(e,t){const n=Object.create(null);return ok.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Dt(Pt.UNEXPECTED_ERROR);const i=Ke(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Kf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Dt(Pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Kf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const ik=ot({name:"i18n-d",props:ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},nu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return Fg(e,t,Ag,(...r)=>n[ql](...r))}}),Yf=ik;$0();y0(QC);b0(h0);_0(Bl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Er();e.__INTLIFY__=!0,ZC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ak={class:"app-container"},lk=ot({__name:"App",setup(e){const{locale:t}=Mr(),n=qc(),r=mE(n),{params:{compId:o="",instanceUid:s}}=Nr(),{messageListener:i,sendMessageToTop:a}=bs(),{addListener:l}=i(),c=ys();return l(Fe.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Fe.LOCALE_SET,u=>{t.value=u}),a(Fe.LOCALE_GET,o,c,s),a(Fe.THEME_CHANGE_GET,o,c,s),Ln(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=sm("router-view");return ge(),$e("div",ak,[Qe(d)])}}}),tn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ck=tn(lk,[["__scopeId","data-v-288f0b68"]]),Ms=window.parent,Xf=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Ds=null;function uk(){return Ds||(Ds=new Proxy(Ms,{get(e,t){if(Xf.includes(String(t)))return t==="postMessage"?Ms.postMessage.bind(Ms):Reflect.get(Ms,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return Xf.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Ds)}Object.defineProperty(window,"parent",{get(){return uk()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const fk={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",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:"最大标签数量"},dk={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:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},pk={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:"支持创建分组菜单,灵活组织团队组件"},hk={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:"去登录"},mk={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},gk={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!"}},yk={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},bk={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},_k={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},vk={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},wk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},Ek={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},Sk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},Ck={submit:"提交"},kk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},xk={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},Tk={common:fk,comp:dk,team:pk,user:hk,file:mk,message:gk,route:yk,markdown:bk,terminal:_k,deps:vk,setting:wk,upgrade:Ek,tag:Sk,formCreate:Ck,validateHash:kk,project:xk},Ak={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"},Ok={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",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},Ik={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"},Pk={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"},Lk={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"},Rk={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!"}},Nk={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"},Mk={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},Dk={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},Fk={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"}},$k={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Uk={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"},jk={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},zk={submit:"Submit"},Bk={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'},Hk={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},Vk={common:Ak,comp:Ok,team:Ik,user:Pk,file:Lk,message:Rk,route:Nk,markdown:Mk,terminal:Dk,deps:Fk,setting:$k,upgrade:Uk,tag:jk,formCreate:zk,validateHash:Bk,project:Hk},Wk={zh:Tk,en:Vk},Gk=localStorage.getItem(eC.LOCALE_KEY)||"zh",qk=J0({locale:Gk,messages:Wk,legacy:!1});function Kk(e){e.use(qk)}let $g;const sa=e=>$g=e,Ug=Symbol();function Xl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qo||(qo={}));function Yk(){const e=Nc(!0),t=e.run(()=>_e({}));let n=[],r=[];const o=$c({install(s){sa(o),o._a=s,s.provide(Ug,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 jg=()=>{};function Jf(e,t,n,r=jg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Vi()&&xh(o),o}function Fr(e,...t){e.forEach(n=>{n(...t)})}const Xk=e=>e(),Qf=Symbol(),Ba=Symbol();function Jl(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];Xl(o)&&Xl(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Wn(r)?e[n]=Jl(o,r):e[n]=r}return e}const Jk=Symbol();function Qk(e){return!Xl(e)||!Object.prototype.hasOwnProperty.call(e,Jk)}const{assign:nr}=Object;function Zk(e){return!!(Ke(e)&&e.effect)}function ex(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=hv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=$c(J(()=>{sa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=zg(e,c,t,n,r,!0),l}function zg(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={});let h;function b(w){let O;c=u=!1,typeof w=="function"?(w(r.state.value[e]),O={type:qo.patchFunction,storeId:e,events:p}):(Jl(r.state.value[e],w),O={type:qo.patchObject,payload:w,storeId:e,events:p});const $=h=Symbol();dr().then(()=>{h===$&&(c=!0)}),u=!0,Fr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,$=O?O():{};this.$patch(M=>{nr(M,$)})}:jg;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(w,O="")=>{if(Qf in w)return w[Ba]=O,w;const $=function(){sa(r);const M=Array.from(arguments),te=new Set,se=new Set;function V(ne){te.add(ne)}function Q(ne){se.add(ne)}Fr(d,{args:M,name:$[Ba],store:A,after:V,onError:Q});let Y;try{Y=w.apply(this&&this.$id===e?this:A,M)}catch(ne){throw Fr(se,ne),ne}return Y instanceof Promise?Y.then(ne=>(Fr(te,ne),ne)).catch(ne=>(Fr(se,ne),Promise.reject(ne))):(Fr(te,Y),Y)};return $[Qf]=!0,$[Ba]=O,$},g={_p:r,$id:e,$onAction:Jf.bind(null,d),$patch:b,$reset:y,$subscribe(w,O={}){const $=Jf(f,w,O.detached,()=>M()),M=i.run(()=>Ze(()=>r.state.value[e],te=>{(O.flush==="sync"?u:c)&&w({storeId:e,type:qo.direct,events:p},te)},nr({},l,O)));return $},$dispose:_},A=ps(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||Xk)(()=>r._e.run(()=>(i=Nc()).run(()=>t({action:E}))));for(const w in x){const O=x[w];if(Ke(O)&&!Zk(O)||Wn(O))s||(m&&Qk(O)&&(Ke(O)?O.value=m[w]:Jl(O,m[w])),r.state.value[e][w]=O);else if(typeof O=="function"){const $=E(O,w);x[w]=$,a.actions[w]=O}}return nr(A,x),nr(Ce(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:w=>{b(O=>{nr(O,w)})}}),r._p.forEach(w=>{nr(A,i.run(()=>w({store:A,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(A.$state,m),c=!0,u=!0,A}function Bg(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=jc();return i=i||(l?Vt(Ug,null):null),i&&sa(i),i=$g,i._s.has(e)||(o?zg(e,t,r,i):ex(e,r,i)),i._s.get(e)}return s.$id=e,s}function tx({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const Zf=Yk();function nx(e){Zf.use(tx),e.use(Zf)}var rx=typeof global=="object"&&global&&global.Object===Object&&global,ox=typeof self=="object"&&self&&self.Object===Object&&self,sx=rx||ox||Function("return this")(),ki=sx.Symbol,Hg=Object.prototype,ix=Hg.hasOwnProperty,ax=Hg.toString,Co=ki?ki.toStringTag:void 0;function lx(e){var t=ix.call(e,Co),n=e[Co];try{e[Co]=void 0;var r=!0}catch{}var o=ax.call(e);return r&&(t?e[Co]=n:delete e[Co]),o}var cx=Object.prototype,ux=cx.toString;function fx(e){return ux.call(e)}var dx="[object Null]",px="[object Undefined]",ed=ki?ki.toStringTag:void 0;function Vg(e){return e==null?e===void 0?px:dx:ed&&ed in Object(e)?lx(e):fx(e)}function hx(e){return e!=null&&typeof e=="object"}var mx="[object Symbol]";function gx(e){return typeof e=="symbol"||hx(e)&&Vg(e)==mx}var yx=/\s/;function bx(e){for(var t=e.length;t--&&yx.test(e.charAt(t)););return t}var _x=/^\s+/;function vx(e){return e&&e.slice(0,bx(e)+1).replace(_x,"")}function xi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var td=NaN,wx=/^[-+]0x[0-9a-f]+$/i,Ex=/^0b[01]+$/i,Sx=/^0o[0-7]+$/i,Cx=parseInt;function kx(e){if(typeof e=="number")return e;if(gx(e))return td;if(xi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=xi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=vx(e);var n=Ex.test(e);return n||Sx.test(e)?Cx(e.slice(2),n?2:8):wx.test(e)?td:+e}var nd=1/0,xx=17976931348623157e292;function rd(e){if(!e)return e===0?e:0;if(e=kx(e),e===nd||e===-nd){var t=e<0?-1:1;return t*xx}return e===e?e:0}var Tx="[object AsyncFunction]",Ax="[object Function]",Ox="[object GeneratorFunction]",Ix="[object Proxy]";function Px(e){if(!xi(e))return!1;var t=Vg(e);return t==Ax||t==Ox||t==Tx||t==Ix}var Lx=9007199254740991,Rx=/^(?:0|[1-9]\d*)$/;function Nx(e,t){var n=typeof e;return t=t??Lx,!!t&&(n=="number"||n!="symbol"&&Rx.test(e))&&e>-1&&e%1==0&&e<t}function Mx(e,t){return e===t||e!==e&&t!==t}var Dx=9007199254740991;function Fx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Dx}function $x(e){return e!=null&&Fx(e.length)&&!Px(e)}function Ux(e,t,n){if(!xi(n))return!1;var r=typeof t;return(r=="number"?$x(n)&&Nx(t,n.length):r=="string"&&t in n)?Mx(n[t],e):!1}var jx=Math.floor,zx=Math.random;function Bx(e,t){return e+jx(zx()*(t-e+1))}var Hx=parseFloat,Vx=Math.min,Wx=Math.random;function Gx(e,t,n){if(n&&typeof n!="boolean"&&Ux(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=rd(e),t===void 0?(t=e,e=0):t=rd(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Wx();return Vx(e+o*(t-e+Hx("1e-"+((o+"").length-1))),t)}return Bx(e,t)}const Wg=/^[a-z0-9]+(-[a-z0-9]+)*$/,ia=(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&&!Qs(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&&!Qs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Qs(a,n)?null:a}return null},Qs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function qx(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 Gg=Object.freeze({left:0,top:0,width:16,height:16}),Ti=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),aa=Object.freeze({...Gg,...Ti}),Ql=Object.freeze({...aa,body:"",hidden:!1});function Kx(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 od(e,t){const n=Kx(e,t);for(const r in Ql)r in Ti?r in e&&!(r in n)&&(n[r]=Ti[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Yx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=od(r[a]||o[a],s)}return i(t),n.forEach(i),od(e,s)}function qg(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=qx(e);for(const o in r){const s=r[o];s&&(t(o,Yx(e,o,s)),n.push(o))}return n}const Xx={provider:"",aliases:{},not_found:{},...Gg};function Ha(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Kg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ha(e,Xx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Ha(s,Ql))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]||!Ha(s,Ql))return null}return t}const sd=Object.create(null);function Jx(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function lo(e,t){const n=sd[e]||(sd[e]=Object.create(null));return n[t]||(n[t]=Jx(e,t))}function Yg(e,t){return Kg(t)?qg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Qx(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Xg(e){return typeof e=="boolean"&&(ls=e),ls}function Zx(e){const t=typeof e=="string"?ia(e,!0,ls):e;if(t){const n=lo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function eT(e,t){const n=ia(e,!0,ls);if(!n)return!1;const r=lo(n.provider,n.prefix);return t?Qx(r,n.name,t):(r.missing.add(n.name),!0)}function tT(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Kg(e)&&(e.prefix="",qg(e,(o,s)=>{eT(o,s)&&(r=!0)})),r}const n=e.prefix;return Qs({prefix:n,name:"a"})?!!Yg(lo(t,n),e):!1}const Jg=Object.freeze({width:null,height:null}),Qg=Object.freeze({...Jg,...Ti}),nT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function id(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(nT);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=rT.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 oT(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 sT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function iT(e,t,n){const r=oT(e);return sT(r.defs,t+r.content+n)}const aT=e=>e==="unset"||e==="undefined"||e==="none";function lT(e,t){const n={...aa,...e},r={...Qg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const b=[],y=h.hFlip,_=h.vFlip;let E=h.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=iT(s,'<g transform="'+b.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=id(f,l/c)):(u=i==="auto"?l:i,f=a===null?id(u,c/l):a==="auto"?c:a);const d={},p=(h,b)=>{aT(b)||(d[h]=b.toString())};p("width",u),p("height",f);const m=[o.left,o.top,l,c];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:s}}const cT=/\sid="(\S+)"/g,ad=new Map;function uT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=ad.get(e)||0;return ad.set(e,t+1),t?`${e}${t}`:e}function fT(e){const t=[];let n;for(;n=cT.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=uT(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 Zl=Object.create(null);function dT(e,t){Zl[e]=t}function ec(e){return Zl[e]||Zl[""]}function ru(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 ou=Object.create(null),ko=["https://api.simplesvg.com","https://api.unisvg.com"],Zs=[];for(;ko.length>0;)ko.length===1||Math.random()>.5?Zs.push(ko.shift()):Zs.push(ko.pop());ou[""]=ru({resources:["https://api.iconify.design"].concat(Zs)});function pT(e,t){const n=ru(t);return n===null?!1:(ou[e]=n,!0)}function su(e){return ou[e]}const hT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ld=hT();function mT(e,t){const n=su(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 gT(e){return e===404}const yT=(e,t,n)=>{const r=[],o=mT(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 bT(e){if(typeof e=="string"){const t=su(e);if(t)return t.path}return"/"}const _T=(e,t,n)=>{if(!ld){n("abort",424);return}let r=bT(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;ld(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(gT(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)})},vT={prepare:yT,send:_T};function Zg(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function wT(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||Zg([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let ET=0;function ST(e,t,n){const r=ET++,o=Zg.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 CT(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]=lo(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 kT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ia(o,t,n):o;s&&r.push(s)}),r}const xT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function TT(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 m(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),m(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(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:b,abort:h}}function _(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function g(C,x,w){const O=x!=="success";switch(d=d.filter($=>$!==C),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=w,_();return}if(O){u=w,d.length||(i.length?A():_());return}if(m(),E(),!e.random){const $=e.resources.indexOf(C.resource);$!==-1&&$!==e.index&&(e.index=$)}l="completed",p.forEach($=>{$(w)})}function A(){if(l!=="pending")return;m();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{m(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:C,callback:(w,O)=>{g(x,w,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(C,t,x.callback)}return setTimeout(A),y}function ey(e){const t={...xT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=TT(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 cd(){}const Va=Object.create(null);function AT(e){if(!Va[e]){const t=su(e);if(!t)return;Va[e]={config:t,redundancy:ey(t)}}return Va[e]}function OT(e,t,n){let r,o;if(typeof e=="string"){const s=ec(e);if(!s)return n(void 0,424),cd;o=s.send;const i=AT(e);i&&(r=i.redundancy)}else{const s=ru(e);if(s){r=ey(s);const i=ec(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),cd):r.query(t,o,n)().abort}function ud(){}function IT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,wT(e)}))}function PT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Wg)?t:n).push(r)}),{valid:t,invalid:n}}function xo(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(!Yg(e,n).length){r();return}}catch(o){console.error(o)}r(),IT(e)}function fd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function LT(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)){fd(e.loadIcons(o,r,n),c=>{xo(e,o,c)});return}if(s){o.forEach(c=>{fd(s(c,r,n),u=>{xo(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=PT(o);if(a.length&&xo(e,a,null),!i.length)return;const l=r.match(Wg)?ec(n):null;if(!l){xo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{OT(n,c,u=>{xo(e,c.icons,u)})})}))}const RT=(e,t)=>{const n=CT(kT(e,!0,Xg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,ud)}),()=>{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(lo(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=lo(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&&LT(a,l)}),t?ST(t,n,o):ud};function NT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Jg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const MT=/[\s,]+/;function DT(e,t){t.split(MT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function FT(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 $T(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 UT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jT(e){return"data:image/svg+xml,"+UT(e)}function zT(e){return'url("'+jT(e)+'")'}const dd={...Qg,inline:!1},BT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},HT={display:"inline-block"},tc={backgroundColor:"currentColor"},ty={backgroundColor:"transparent"},pd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hd={webkitMask:tc,mask:tc,background:ty};for(const e in hd){const t=hd[e];for(const n in pd)t[e+n]=pd[n]}const ei={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ei[e+"-flip"]=t,ei[e.slice(0,1)+"-flip"]=t,ei[e+"Flip"]=t});function md(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gd=(e,t)=>{const n=NT(dd,t),r={...BT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const b=t[h];if(b!==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]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&DT(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[h]=FT(b):typeof b=="number"&&(n[h]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ei[h];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):dd[h]===void 0&&(r[h]=b)}}}const l=lT(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=fT(l.body),ur("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),m=$T(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":zT(m),width:md(c.width),height:md(c.height),...HT,...p?tc:ty,...a},ur("span",r)};Xg(!0);dT("",vT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!tT(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;pT(n,o)||console.error(r)}catch{console.error(r)}}}}const VT={...aa,body:""},WT=ot((e,{emit:t})=>{const n=_e(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=_e(!!e.ssr),s=_e(""),i=kn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=ia(c,!1,!0))===null)return null;let f=Zx(u);if(!f){const m=n.value;return(!m||m.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:RT([u],l)}),null}r(),s.value!==c&&(s.value=c,dr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const m=d(f.body,u.name,u.prefix,u.provider);typeof m=="string"&&(f.body=m)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():Ln(()=>{o.value=!0,l()}),Ze(()=>e.icon,l),go(r),()=>{const c=i.value;if(!c)return gd(VT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),gd({...aa,...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 GT(e){e.component("Icon",WT)}const la="v-loading-mask",ny="v-loading-spinner",ry="v-loading-parent";function qT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function KT(){const e=document.createElement("div");e.className=la,e.innerHTML=`<div class="${ny}"></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=qT(),t.zIndex="999",t.borderRadius="inherit",e}function YT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
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 Pc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const je={},Qr=[],Cn=()=>{},gh=()=>!1,$i=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ui=e=>e.startsWith("onUpdate:"),bt=Object.assign,Lc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},P_=Object.prototype.hasOwnProperty,Le=(e,t)=>P_.call(e,t),fe=Array.isArray,Zr=e=>mo(e)==="[object Map]",yh=e=>mo(e)==="[object Set]",Fu=e=>mo(e)==="[object Date]",L_=e=>mo(e)==="[object RegExp]",he=e=>typeof e=="function",Ke=e=>typeof e=="string",Wt=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",bh=e=>(Ne(e)||he(e))&&he(e.then)&&he(e.catch),_h=Object.prototype.toString,mo=e=>_h.call(e),R_=e=>mo(e).slice(8,-1),vh=e=>mo(e)==="[object Object]",ji=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Uo=Pc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},N_=/-\w/g,It=zi(e=>e.replace(N_,t=>t.slice(1).toUpperCase())),M_=/\B([A-Z])/g,Rr=zi(e=>e.replace(M_,"-$1").toLowerCase()),Bi=zi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ys=zi(e=>e?`on${Bi(e)}`:""),wn=(e,t)=>!Object.is(e,t),jo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},wh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},D_=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $u;const Hi=()=>$u||($u=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nt(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ke(r)?j_(r):Nt(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ke(e)||Ne(e))return e}const F_=/;(?![^(]*\))/g,$_=/:([^]+)/,U_=/\/\*[^]*?\*\//g;function j_(e){const t={};return e.replace(U_,"").split(F_).forEach(n=>{if(n){const r=n.split($_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ge(e){let t="";if(Ke(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Ge(e[n]);r&&(t+=r+" ")}else if(Ne(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&&!Ke(t)&&(e.class=Ge(t)),n&&(e.style=Nt(n)),e}const z_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",B_=Pc(z_);function Eh(e){return!!e||e===""}function H_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Rc(e[r],t[r]);return n}function Rc(e,t){if(e===t)return!0;let n=Fu(e),r=Fu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Wt(e),r=Wt(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?H_(e,t):!1;if(n=Ne(e),r=Ne(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Rc(e[i],t[i]))return!1}}return String(e)===String(t)}const Sh=e=>!!(e&&e.__v_isRef===!0),Gn=e=>Ke(e)?e:e==null?"":fe(e)||Ne(e)&&(e.toString===_h||!he(e.toString))?Sh(e)?Gn(e.value):JSON.stringify(e,Ch,2):String(e),Ch=(e,t)=>Sh(t)?Ch(e,t.value):Zr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ka(r,s)+" =>"]=o,n),{})}:yh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ka(n))}:Wt(t)?ka(t):Ne(t)&&!fe(t)&&!vh(t)?String(t):t,ka=(e,t="")=>{var n;return Wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ut;class kh{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&&ut&&(ut.active?(this.parent=ut,this.index=(ut.scopes||(ut.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=ut;try{return ut=this,t()}finally{ut=n}}}on(){++this._on===1&&(this.prevScope=ut,ut=this)}off(){if(this._on>0&&--this._on===0){if(ut===this)ut=this.prevScope;else{let t=ut;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 Nc(e){return new kh(e)}function Vi(){return ut}function xh(e,t=!1){ut&&ut.cleanups.push(e)}let Ve;const xa=new WeakSet;class Th{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,ut&&(ut.active?ut.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xa.has(this)&&(xa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Oh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Uu(this),Ih(this);const t=Ve,n=ln;Ve=this,ln=!0;try{return this.fn()}finally{Ph(this),Ve=t,ln=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Fc(t);this.deps=this.depsTail=void 0,Uu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ol(this)&&this.run()}get dirty(){return Ol(this)}}let Ah=0,zo,Bo;function Oh(e,t=!1){if(e.flags|=8,t){e.next=Bo,Bo=e;return}e.next=zo,zo=e}function Mc(){Ah++}function Dc(){if(--Ah>0)return;if(Bo){let t=Bo;for(Bo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zo;){let t=zo;for(zo=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 Ih(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ph(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Fc(r),V_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ol(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Lh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Lh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qo)||(e.globalVersion=Qo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ol(e))))return;e.flags|=2;const t=e.dep,n=Ve,r=ln;Ve=e,ln=!0;try{Ih(e);const o=e.fn(e._value);(t.version===0||wn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ve=n,ln=r,Ph(e),e.flags&=-3}}function Fc(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)Fc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function V_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ln=!0;const Rh=[];function qn(){Rh.push(ln),ln=!1}function Kn(){const e=Rh.pop();ln=e===void 0?!0:e}function Uu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ve;Ve=void 0;try{t()}finally{Ve=n}}}let Qo=0;class W_{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 Wi{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(!Ve||!ln||Ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ve)n=this.activeLink=new W_(Ve,this),Ve.deps?(n.prevDep=Ve.depsTail,Ve.depsTail.nextDep=n,Ve.depsTail=n):Ve.deps=Ve.depsTail=n,Nh(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=Ve.depsTail,n.nextDep=void 0,Ve.depsTail.nextDep=n,Ve.depsTail=n,Ve.deps===n&&(Ve.deps=r)}return n}trigger(t){this.version++,Qo++,this.notify(t)}notify(t){Mc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dc()}}}function Nh(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)Nh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ci=new WeakMap,kr=Symbol(""),Il=Symbol(""),Zo=Symbol("");function Et(e,t,n){if(ln&&Ve){let r=ci.get(e);r||ci.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Wi),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ci.get(e);if(!i){Qo++;return}const a=l=>{l&&l.trigger()};if(Mc(),t==="clear")i.forEach(a);else{const l=fe(e),c=l&&ji(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Zo||!Wt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Zo)),t){case"add":l?c&&a(i.get("length")):(a(i.get(kr)),Zr(e)&&a(i.get(Il)));break;case"delete":l||(a(i.get(kr)),Zr(e)&&a(i.get(Il)));break;case"set":Zr(e)&&a(i.get(kr));break}}Dc()}function G_(e,t){const n=ci.get(e);return n&&n.get(t)}function Dr(e){const t=Ce(e);return t===e?t:(Et(t,"iterate",Zo),Ht(e)?t:t.map(un))}function Gi(e){return Et(e=Ce(e),"iterate",Zo),e}function _n(e,t){return Yn(e)?ro(Wn(e)?un(t):t):un(t)}const q_={__proto__:null,[Symbol.iterator](){return Ta(this,Symbol.iterator,e=>_n(this,e))},concat(...e){return Dr(this).concat(...e.map(t=>fe(t)?Dr(t):t))},entries(){return Ta(this,"entries",e=>(e[1]=_n(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=>_n(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>_n(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=>_n(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 Aa(this,"includes",e)},indexOf(...e){return Aa(this,"indexOf",e)},join(e){return Dr(this).join(e)},lastIndexOf(...e){return Aa(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return wo(this,"pop")},push(...e){return wo(this,"push",e)},reduce(e,...t){return ju(this,"reduce",e,t)},reduceRight(e,...t){return ju(this,"reduceRight",e,t)},shift(){return wo(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return wo(this,"splice",e)},toReversed(){return Dr(this).toReversed()},toSorted(e){return Dr(this).toSorted(e)},toSpliced(...e){return Dr(this).toSpliced(...e)},unshift(...e){return wo(this,"unshift",e)},values(){return Ta(this,"values",e=>_n(this,e))}};function Ta(e,t,n){const r=Gi(e),o=r[t]();return r!==e&&!Ht(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const K_=Array.prototype;function Nn(e,t,n,r,o,s){const i=Gi(e),a=i!==e&&!Ht(e),l=i[t];if(l!==K_[t]){const f=l.apply(e,s);return a?un(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,_n(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function ju(e,t,n,r){const o=Gi(e),s=o!==e&&!Ht(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=_n(e,c)),n.call(this,c,_n(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?_n(e,l):l}function Aa(e,t,n){const r=Ce(e);Et(r,"iterate",Zo);const o=r[t](...n);return(o===-1||o===!1)&&Yi(n[0])?(n[0]=Ce(n[0]),r[t](...n)):o}function wo(e,t,n=[]){qn(),Mc();const r=Ce(e)[t].apply(e,n);return Dc(),Kn(),r}const Y_=Pc("__proto__,__v_isRef,__isVue"),Mh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wt));function X_(e){Wt(e)||(e=String(e));const t=Ce(this);return Et(t,"has",e),t.hasOwnProperty(e)}class Dh{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?Bh:zh:s?jh:Uh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=q_[n]))return l;if(n==="hasOwnProperty")return X_}const a=Reflect.get(t,n,Ye(t)?t:r);if((Wt(n)?Mh.has(n):Y_(n))||(o||Et(t,"get",n),s))return a;if(Ye(a)){const l=i&&ji(n)?a:a.value;return o&&Ne(l)?ui(l):l}return Ne(a)?o?ui(a):ps(a):a}}class Fh extends Dh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=fe(t)&&ji(n);if(!this._isShallow){const c=Yn(s);if(!Ht(r)&&!Yn(r)&&(s=Ce(s),r=Ce(r)),!i&&Ye(s)&&!Ye(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Le(t,n),l=Reflect.set(t,n,r,Ye(t)?t:o);return t===Ce(o)&&(a?wn(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Le(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(!Wt(n)||!Mh.has(n))&&Et(t,"has",n),r}ownKeys(t){return Et(t,"iterate",fe(t)?"length":kr),Reflect.ownKeys(t)}}class $h extends Dh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const J_=new Fh,Q_=new $h,Z_=new Fh(!0),ev=new $h(!0),Pl=e=>e,xs=e=>Reflect.getPrototypeOf(e);function tv(e,t,n){return function(...r){const o=this.__v_raw,s=Ce(o),i=Zr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Pl:t?ro:un;return!t&&Et(s,"iterate",l?Il:kr),bt(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 Ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function nv(e,t){const n={get(o){const s=this.__v_raw,i=Ce(s),a=Ce(o);e||(wn(o,a)&&Et(i,"get",o),Et(i,"get",a));const{has:l}=xs(i),c=t?Pl:e?ro:un;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&&Et(Ce(o),"iterate",kr),o.size},has(o){const s=this.__v_raw,i=Ce(s),a=Ce(o);return e||(wn(o,a)&&Et(i,"has",o),Et(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=Ce(a),c=t?Pl:e?ro:un;return!e&&Et(l,"iterate",kr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return bt(n,e?{add:Ts("add"),set:Ts("set"),delete:Ts("delete"),clear:Ts("clear")}:{add(o){const s=Ce(this),i=xs(s),a=Ce(o),l=!t&&!Ht(o)&&!Yn(o)?a:o;return i.has.call(s,l)||wn(o,l)&&i.has.call(s,o)||wn(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Ht(s)&&!Yn(s)&&(s=Ce(s));const i=Ce(this),{has:a,get:l}=xs(i);let c=a.call(i,o);c||(o=Ce(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?wn(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=Ce(this),{has:i,get:a}=xs(s);let l=i.call(s,o);l||(o=Ce(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=Ce(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]=tv(o,e,t)}),n}function qi(e,t){const n=nv(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Le(n,o)&&o in r?n:r,o,s)}const rv={get:qi(!1,!1)},ov={get:qi(!1,!0)},sv={get:qi(!0,!1)},iv={get:qi(!0,!0)},Uh=new WeakMap,jh=new WeakMap,zh=new WeakMap,Bh=new WeakMap;function av(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lv(e){return e.__v_skip||!Object.isExtensible(e)?0:av(R_(e))}function ps(e){return Yn(e)?e:Ki(e,!1,J_,rv,Uh)}function Hh(e){return Ki(e,!1,Z_,ov,jh)}function ui(e){return Ki(e,!0,Q_,sv,zh)}function cv(e){return Ki(e,!0,ev,iv,Bh)}function Ki(e,t,n,r,o){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=lv(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 Yn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Yi(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function $c(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&wh(e,"__v_skip",!0),e}const un=e=>Ne(e)?ps(e):e,ro=e=>Ne(e)?ui(e):e;function Ye(e){return e?e.__v_isRef===!0:!1}function _e(e){return Vh(e,!1)}function kn(e){return Vh(e,!0)}function Vh(e,t){return Ye(e)?e:new uv(e,t)}class uv{constructor(t,n){this.dep=new Wi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ce(t),this._value=n?t:un(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ht(t)||Yn(t);t=r?t:Ce(t),wn(t,n)&&(this._rawValue=t,this._value=r?t:un(t),this.dep.trigger())}}function Re(e){return Ye(e)?e.value:e}function xn(e){return he(e)?e():Re(e)}const fv={get:(e,t,n)=>t==="__v_raw"?e:Re(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ye(o)&&!Ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Wh(e){return Wn(e)?e:new Proxy(e,fv)}class dv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Wi,{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 pv(e){return new dv(e)}function hv(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Gh(e,n);return t}class mv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Wt(n)?n:String(n),this._raw=Ce(t);let o=!0,s=t;if(!fe(t)||Wt(this._key)||!ji(this._key))do o=!Yi(s)||Ht(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Re(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ye(this._raw[this._key])){const n=this._object[this._key];if(Ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return G_(this._raw,this._key)}}class gv{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 yv(e,t,n){return Ye(e)?e:he(e)?new gv(e):Ne(e)&&arguments.length>1?Gh(e,t,n):_e(e)}function Gh(e,t,n){return new mv(e,t,n)}class bv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ve!==this)return Oh(this,!0),!0}get value(){const t=this.dep.track();return Lh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _v(e,t,n=!1){let r,o;return he(e)?r=e:(r=e.get,o=e.set),new bv(r,o,n)}const As={},fi=new WeakMap;let _r;function vv(e,t=!1,n=_r){if(n){let r=fi.get(n);r||fi.set(n,r=[]),r.push(e)}}function wv(e,t,n=je){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=g=>o?g:Ht(g)||o===!1||o===0?Bn(g,1):Bn(g);let u,f,d,p,m=!1,h=!1;if(Ye(e)?(f=()=>e.value,m=Ht(e)):Wn(e)?(f=()=>c(e),m=!0):fe(e)?(h=!0,m=e.some(g=>Wn(g)||Ht(g)),f=()=>e.map(g=>{if(Ye(g))return g.value;if(Wn(g))return c(g);if(he(g))return l?l(g,2):g()})):he(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){qn();try{d()}finally{Kn()}}const g=_r;_r=u;try{return l?l(e,3,[p]):e(p)}finally{_r=g}}:f=Cn,t&&o){const g=f,A=o===!0?1/0:o;f=()=>Bn(g(),A)}const b=Vi(),y=()=>{u.stop(),b&&b.active&&Lc(b.effects,u)};if(s&&t){const g=t;t=(...A)=>{g(...A),y()}}let _=h?new Array(e.length).fill(As):As;const E=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const A=u.run();if(o||m||(h?A.some((C,x)=>wn(C,_[x])):wn(A,_))){d&&d();const C=_r;_r=u;try{const x=[A,_===As?void 0:h&&_[0]===As?[]:_,p];_=A,l?l(t,3,x):t(...x)}finally{_r=C}}}else u.run()};return a&&a(E),u=new Th(f),u.scheduler=i?()=>i(E,!1):E,p=g=>vv(g,!1,u),d=u.onStop=()=>{const g=fi.get(u);if(g){if(l)l(g,4);else for(const A of g)A();fi.delete(u)}},t?r?E(!0):_=u.run():i?i(E.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Bn(e,t=1/0,n){if(t<=0||!Ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ye(e))Bn(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(yh(e)||Zr(e))e.forEach(r=>{Bn(r,t,n)});else if(vh(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){Xi(o,t,n)}}function On(e,t,n,r){if(he(e)){const o=hs(e,t,n,r);return o&&bh(o)&&o.catch(s=>{Xi(s,t,n)}),o}if(fe(e)){const o=[];for(let s=0;s<e.length;s++)o.push(On(e[s],t,n,r));return o}}function Xi(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||je;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){qn(),hs(s,null,10,[e,l,c]),Kn();return}}Ev(e,n,o,r,i)}function Ev(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ot=[];let yn=-1;const eo=[];let or=null,Vr=0;const qh=Promise.resolve();let di=null;function dr(e){const t=di||qh;return e?t.then(this?e.bind(this):e):t}function Sv(e){let t=yn+1,n=Ot.length;for(;t<n;){const r=t+n>>>1,o=Ot[r],s=es(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Uc(e){if(!(e.flags&1)){const t=es(e),n=Ot[Ot.length-1];!n||!(e.flags&2)&&t>=es(n)?Ot.push(e):Ot.splice(Sv(t),0,e),e.flags|=1,Kh()}}function Kh(){di||(di=qh.then(Xh))}function Cv(e){fe(e)?eo.push(...e):or&&e.id===-1?or.splice(Vr+1,0,e):e.flags&1||(eo.push(e),e.flags|=1),Kh()}function zu(e,t,n=yn+1){for(;n<Ot.length;n++){const r=Ot[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ot.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Yh(e){if(eo.length){const t=[...new Set(eo)].sort((n,r)=>es(n)-es(r));if(eo.length=0,or){or.push(...t);return}for(or=t,Vr=0;Vr<or.length;Vr++){const n=or[Vr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}or=null,Vr=0}}const es=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Xh(e){try{for(yn=0;yn<Ot.length;yn++){const t=Ot[yn];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(;yn<Ot.length;yn++){const t=Ot[yn];t&&(t.flags&=-2)}yn=-1,Ot.length=0,Yh(),di=null,(Ot.length||eo.length)&&Xh()}}let mt=null,Jh=null;function pi(e){const t=mt;return mt=e,Jh=e&&e.type.__scopeId||null,t}function Or(e,t=mt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&bi(-1);const s=pi(t);let i;try{i=e(...o)}finally{pi(s),r._d&&bi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Qh(e,t){if(mt===null)return e;const n=ta(mt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=je]=t[o];s&&(he(s)&&(s={mounted:s,updated:s}),s.deep&&Bn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function gr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(qn(),On(l,n,8,[e.el,a,e,t]),Kn())}}function Ho(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function Vt(e,t,n=!1){const r=Rn();if(r||xr){let o=xr?xr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&he(t)?t.call(r&&r.proxy):t}}function jc(){return!!(Rn()||xr)}const kv=Symbol.for("v-scx"),xv=()=>Vt(kv);function Tv(e,t){return zc(e,null,t)}function Ze(e,t,n){return zc(e,t,n)}function zc(e,t,n=je){const{immediate:r,deep:o,flush:s,once:i}=n,a=bt({},n),l=t&&r||!t&&s!=="post";let c;if(ns){if(s==="sync"){const p=xv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Cn,p.resume=Cn,p.pause=Cn,p}}const u=St;a.call=(p,m,h)=>On(p,u,m,h);let f=!1;s==="post"?a.scheduler=p=>{dt(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,m)=>{m?p():Uc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=wv(e,t,a);return ns&&(c?c.push(d):l&&d()),d}function Av(e,t,n){const r=this.proxy,o=Ke(e)?e.includes(".")?Zh(r,e):()=>r[e]:e.bind(r,r);let s;he(t)?s=t:(s=t.handler,n=t);const i=gs(this),a=zc(o,s.bind(r),n);return i(),a}function Zh(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 Ov=Symbol("_vte"),Iv=e=>e.__isTeleport,Pv=Symbol("_leaveCb");function Ji(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ji(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 ot(e,t){return he(e)?bt({name:e.name},t,{setup:e}):e}function em(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function tm(e){const t=Rn(),n=kn(null);if(t){const o=t.refs===je?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Bu(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const hi=new WeakMap;function Vo(e,t,n,r,o=!1){if(fe(e)){e.forEach((h,b)=>Vo(h,t&&(fe(t)?t[b]:t),n,r,o));return}if(lr(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vo(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ta(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===je?a.refs={}:a.refs,f=a.setupState,d=Ce(f),p=f===je?gh:h=>Bu(u,h)?!1:Le(d,h),m=(h,b)=>!(b&&Bu(u,b));if(c!=null&&c!==l){if(Hu(t),Ke(c))u[c]=null,p(c)&&(f[c]=null);else if(Ye(c)){const h=t;m(c,h.k)&&(c.value=null),h.k&&(u[h.k]=null)}}if(he(l))hs(l,a,12,[i,u]);else{const h=Ke(l),b=Ye(l);if(h||b){const y=()=>{if(e.f){const _=h?p(l)?f[l]:u[l]:m()||!e.k?l.value:u[e.k];if(o)fe(_)&&Lc(_,s);else if(fe(_))_.includes(s)||_.push(s);else if(h)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];m(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else h?(u[l]=i,p(l)&&(f[l]=i)):b&&(m(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{y(),hi.delete(e)};_.id=-1,hi.set(e,_),dt(_,n)}else Hu(e),y()}}}function Hu(e){const t=hi.get(e);t&&(t.flags|=8,hi.delete(e))}Hi().requestIdleCallback;Hi().cancelIdleCallback;const lr=e=>!!e.type.__asyncLoader,nm=e=>e.type.__isKeepAlive,Lv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,E,g,A,C)=>{const x=_.component;c(_,E,g,0,a),l(x.vnode,_,E,g,x,a,A,_.slotScopeIds,C),dt(()=>{x.isDeactivated=!1,x.a&&jo(x.a);const w=_.props&&_.props.onVnodeMounted;w&&Xt(w,x.parent,_)},a)},r.deactivate=_=>{const E=_.component;gi(E.m),gi(E.a),c(_,d,null,1,a),dt(()=>{E.da&&jo(E.da);const g=_.props&&_.props.onVnodeUnmounted;g&&Xt(g,E.parent,_),E.isDeactivated=!0},a)};function p(_){Oa(_),u(_,n,a,!0)}function m(_){o.forEach((E,g)=>{const A=Fl(lr(E)?E.type.__asyncResolved||{}:E.type);A&&!_(A)&&h(g)})}function h(_){const E=o.get(_);E&&(!i||!Wr(E,i))?p(E):i&&Oa(i),o.delete(_),s.delete(_)}Ze(()=>[e.include,e.exclude],([_,E])=>{_&&m(g=>Io(_,g)),E&&m(g=>!Io(E,g))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(yi(n.subTree.type)?dt(()=>{o.set(b,Os(n.subTree))},n.subTree.suspense):o.set(b,Os(n.subTree)))};return Ln(y),om(y),Zi(()=>{o.forEach(_=>{const{subTree:E,suspense:g}=n,A=Os(E);if(_.type===A.type&&_.key===A.key){Oa(A);const C=A.component.da;C&&dt(C,g);return}p(_)})}),()=>{if(b=null,!t.default)return i=null;const _=t.default(),E=_[0];if(_.length>1)return i=null,_;if(!oo(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let g=Os(E);if(g.type===In)return i=null,g;const A=g.type,C=Fl(lr(g)?g.type.__asyncResolved||{}:A),{include:x,exclude:w,max:O}=e;if(x&&(!C||!Io(x,C))||w&&C&&Io(w,C))return g.shapeFlag&=-257,i=g,E;const $=g.key==null?A:g.key,M=o.get($);return g.el&&(g=Ir(g),E.shapeFlag&128&&(E.ssContent=g)),b=$,M?(g.el=M.el,g.component=M.component,g.transition&&Ji(g,g.transition),g.shapeFlag|=512,s.delete($),s.add($)):(s.add($),O&&s.size>parseInt(O,10)&&h(s.values().next().value)),g.shapeFlag|=256,i=g,yi(E.type)?E:g}}},Rv=Lv;function Io(e,t){return fe(e)?e.some(n=>Io(n,t)):Ke(e)?e.split(",").includes(t):L_(e)?(e.lastIndex=0,e.test(t)):!1}function Nv(e,t){rm(e,"a",t)}function Mv(e,t){rm(e,"da",t)}function rm(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Qi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)nm(o.parent.vnode)&&Dv(r,t,n,o),o=o.parent}}function Dv(e,t,n,r){const o=Qi(t,e,r,!0);go(()=>{Lc(r[t],o)},n)}function Oa(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Os(e){return e.shapeFlag&128?e.ssContent:e}function Qi(e,t,n=St,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{qn();const a=gs(n),l=On(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Jn=e=>(t,n=St)=>{(!ns||e==="sp")&&Qi(e,(...r)=>t(...r),n)},Fv=Jn("bm"),Ln=Jn("m"),$v=Jn("bu"),om=Jn("u"),Zi=Jn("bum"),go=Jn("um"),Uv=Jn("sp"),jv=Jn("rtg"),zv=Jn("rtc");function Bv(e,t=St){Qi("ec",e,t)}const Bc="components",Hv="directives";function sm(e,t){return Hc(Bc,e,!0,t)||e}const im=Symbol.for("v-ndc");function Vv(e){return Ke(e)?Hc(Bc,e,!1)||e:e||im}function Wv(e){return Hc(Hv,e)}function Hc(e,t,n=!0,r=!1){const o=mt||St;if(o){const s=o.type;if(e===Bc){const a=Fl(s,!1);if(a&&(a===t||a===It(t)||a===Bi(It(t))))return s}const i=Vu(o[e]||s[e],t)||Vu(o.appContext[e],t);return!i&&r?s:i}}function Vu(e,t){return e&&(e[t]||e[It(t)]||e[Bi(It(t))])}function yo(e,t,n,r){let o;const s=n&&n[r],i=fe(e);if(i||Ke(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Ht(e),c=Yn(e),e=Gi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?ro(un(e[u])):un(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(Ne(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function cr(e,t,n={},r,o){if(mt.ce||mt.parent&&lr(mt.parent)&&mt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ge(),Mt(at,null,[Qe("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ge();const i=s&&am(s(n)),a=n.key||i&&i.key,l=Mt(at,{key:(a&&!Wt(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 am(e){return e.some(t=>oo(t)?!(t.type===In||t.type===at&&!am(t.children)):!0)?e:null}const Ll=e=>e?xm(e)?ta(e):Ll(e.parent):null,Wo=bt(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=>Ll(e.parent),$root:e=>Ll(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>cm(e),$forceUpdate:e=>e.f||(e.f=()=>{Uc(e.update)}),$nextTick:e=>e.n||(e.n=dr.bind(e.proxy)),$watch:e=>Av.bind(e)}),Ia=(e,t)=>e!==je&&!e.__isScriptSetup&&Le(e,t),Gv={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(Ia(r,t))return i[t]=1,r[t];if(o!==je&&Le(o,t))return i[t]=2,o[t];if(Le(s,t))return i[t]=3,s[t];if(n!==je&&Le(n,t))return i[t]=4,n[t];Rl&&(i[t]=0)}}const c=Wo[t];let u,f;if(c)return t==="$attrs"&&Et(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==je&&Le(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Le(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ia(o,t)?(o[t]=n,!0):r!==je&&Le(r,t)?(r[t]=n,!0):Le(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!==je&&a[0]!=="$"&&Le(e,a)||Ia(t,a)||Le(s,a)||Le(r,a)||Le(Wo,a)||Le(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qv(){return Kv().attrs}function Kv(e){const t=Rn();return t.setupContext||(t.setupContext=Am(t))}function Wu(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rl=!0;function Yv(e){const t=cm(e),n=e.proxy,r=e.ctx;Rl=!1,t.beforeCreate&&Gu(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:m,activated:h,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:E,unmounted:g,render:A,renderTracked:C,renderTriggered:x,errorCaptured:w,serverPrefetch:O,expose:$,inheritAttrs:M,components:te,directives:se,filters:V}=t;if(c&&Xv(c,r,null),i)for(const ne in i){const pe=i[ne];he(pe)&&(r[ne]=pe.bind(n))}if(o){const ne=o.call(n,n);Ne(ne)&&(e.data=ps(ne))}if(Rl=!0,s)for(const ne in s){const pe=s[ne],Xe=he(pe)?pe.bind(n,n):he(pe.get)?pe.get.bind(n,n):Cn,Z=!he(pe)&&he(pe.set)?pe.set.bind(n):Cn,W=J({get:Xe,set:Z});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>W.value,set:X=>W.value=X})}if(a)for(const ne in a)lm(a[ne],r,n,ne);if(l){const ne=he(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(pe=>{Ho(pe,ne[pe])})}u&&Gu(u,e,"c");function Y(ne,pe){fe(pe)?pe.forEach(Xe=>ne(Xe.bind(n))):pe&&ne(pe.bind(n))}if(Y(Fv,f),Y(Ln,d),Y($v,p),Y(om,m),Y(Nv,h),Y(Mv,b),Y(Bv,w),Y(zv,C),Y(jv,x),Y(Zi,_),Y(go,g),Y(Uv,O),fe($))if($.length){const ne=e.exposed||(e.exposed={});$.forEach(pe=>{Object.defineProperty(ne,pe,{get:()=>n[pe],set:Xe=>n[pe]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===Cn&&(e.render=A),M!=null&&(e.inheritAttrs=M),te&&(e.components=te),se&&(e.directives=se),O&&em(e)}function Xv(e,t,n=Cn){fe(e)&&(e=Nl(e));for(const r in e){const o=e[r];let s;Ne(o)?"default"in o?s=Vt(o.from||r,o.default,!0):s=Vt(o.from||r):s=Vt(o),Ye(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Gu(e,t,n){On(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function lm(e,t,n,r){let o=r.includes(".")?Zh(n,r):()=>n[r];if(Ke(e)){const s=t[e];he(s)&&Ze(o,s)}else if(he(e))Ze(o,e.bind(n));else if(Ne(e))if(fe(e))e.forEach(s=>lm(s,t,n,r));else{const s=he(e.handler)?e.handler.bind(n):t[e.handler];he(s)&&Ze(o,s,e)}}function cm(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=>mi(l,c,i,!0)),mi(l,t,i)),Ne(t)&&s.set(t,l),l}function mi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&mi(e,s,n,!0),o&&o.forEach(i=>mi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Jv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Jv={data:qu,props:Ku,emits:Ku,methods:Po,computed:Po,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:Po,directives:Po,watch:Zv,provide:qu,inject:Qv};function qu(e,t){return t?e?function(){return bt(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Qv(e,t){return Po(Nl(e),Nl(t))}function Nl(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Tt(e,t){return e?[...new Set([].concat(e,t))]:t}function Po(e,t){return e?bt(Object.create(null),e,t):t}function Ku(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:bt(Object.create(null),Wu(e),Wu(t??{})):t}function Zv(e,t){if(!e)return t;if(!t)return e;const n=bt(Object.create(null),e);for(const r in t)n[r]=Tt(e[r],t[r]);return n}function um(){return{app:null,config:{isNativeTag:gh,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 ew=0;function tw(e,t){return function(r,o=null){he(r)||(r=bt({},r)),o!=null&&!Ne(o)&&(o=null);const s=um(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:ew++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Ow,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&he(u.install)?(i.add(u),u.install(c,...f)):he(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||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,ta(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(On(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=xr;xr=c;try{return u()}finally{xr=f}}};return c}}let xr=null;const nw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Rr(t)}Modifiers`];function rw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||je;let o=n;const s=t.startsWith("update:"),i=s&&nw(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ke(u)?u.trim():u)),i.number&&(o=n.map(D_)));let a,l=r[a=Ys(t)]||r[a=Ys(It(t))];!l&&s&&(l=r[a=Ys(Rr(t))]),l&&On(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,On(c,e,6,o)}}const ow=new WeakMap;function fm(e,t,n=!1){const r=n?ow:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!he(e)){const l=c=>{const u=fm(c,t,!0);u&&(a=!0,bt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ne(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):bt(i,s),Ne(e)&&r.set(e,i),i)}function ea(e,t){return!e||!$i(t)?!1:(t=t.slice(2).replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,Rr(t))||Le(e,t))}function Yu(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:m,inheritAttrs:h}=e,b=pi(e);let y,_;try{if(n.shapeFlag&4){const g=o||r,A=g;y=vn(c.call(A,g,u,f,p,d,m)),_=a}else{const g=t;y=vn(g.length>1?g(f,{attrs:a,slots:i,emit:l}):g(f,null)),_=t.props?a:sw(a)}}catch(g){Go.length=0,Xi(g,e,1),y=Qe(In)}let E=y;if(_&&h!==!1){const g=Object.keys(_),{shapeFlag:A}=E;g.length&&A&7&&(s&&g.some(Ui)&&(_=iw(_,s)),E=Ir(E,_,!1,!0))}return n.dirs&&(E=Ir(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Ji(E,n.transition),y=E,pi(b),y}const sw=e=>{let t;for(const n in e)(n==="class"||n==="style"||$i(n))&&((t||(t={}))[n]=e[n]);return t},iw=(e,t)=>{const n={};for(const r in e)(!Ui(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function aw(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?Xu(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(dm(i,r,d)&&!ea(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Xu(r,i,c):!0:!!i;return!1}function Xu(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(dm(t,e,s)&&!ea(n,s))return!0}return!1}function dm(e,t,n){const r=e[n],o=t[n];return n==="style"&&Ne(r)&&Ne(o)?!Rc(r,o):r!==o}function lw({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const pm={},hm=()=>Object.create(pm),mm=e=>Object.getPrototypeOf(e)===pm;function cw(e,t,n,r=!1){const o={},s=hm();e.propsDefaults=Object.create(null),gm(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Hh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function uw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ce(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(ea(e.emitsOptions,d))continue;const p=t[d];if(l)if(Le(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const m=It(d);o[m]=Ml(l,a,m,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{gm(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Le(t,f)&&((u=Rr(f))===f||!Le(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ml(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Le(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function gm(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Uo(l))continue;const c=t[l];let u;o&&Le(o,u=It(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:ea(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Ce(n),c=a||je;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Ml(o,l,f,c[f],e,!Le(c,f))}}return i}function Ml(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Le(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&he(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=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===Rr(n))&&(r=!0))}return r}const fw=new WeakMap;function ym(e,t,n=!1){const r=n?fw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!he(e)){const u=f=>{l=!0;const[d,p]=ym(f,t,!0);bt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ne(e)&&r.set(e,Qr),Qr;if(fe(s))for(let u=0;u<s.length;u++){const f=It(s[u]);Ju(f)&&(i[f]=je)}else if(s)for(const u in s){const f=It(u);if(Ju(f)){const d=s[u],p=i[f]=fe(d)||he(d)?{type:d}:bt({},d),m=p.type;let h=!1,b=!0;if(fe(m))for(let y=0;y<m.length;++y){const _=m[y],E=he(_)&&_.name;if(E==="Boolean"){h=!0;break}else E==="String"&&(b=!1)}else h=he(m)&&m.name==="Boolean";p[0]=h,p[1]=b,(h||Le(p,"default"))&&a.push(f)}}const c=[i,a];return Ne(e)&&r.set(e,c),c}function Ju(e){return e[0]!=="$"&&!Uo(e)}const Vc=e=>e==="_"||e==="_ctx"||e==="$stable",Wc=e=>fe(e)?e.map(vn):[vn(e)],dw=(e,t,n)=>{if(t._n)return t;const r=Or((...o)=>Wc(t(...o)),n);return r._c=!1,r},bm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Vc(o))continue;const s=e[o];if(he(s))t[o]=dw(o,s,r);else if(s!=null){const i=Wc(s);t[o]=()=>i}}},_m=(e,t)=>{const n=Wc(t);e.slots.default=()=>n},vm=(e,t,n)=>{for(const r in t)(n||!Vc(r))&&(e[r]=t[r])},pw=(e,t,n)=>{const r=e.slots=hm();if(e.vnode.shapeFlag&32){const o=t._;o?(vm(r,t,n),n&&wh(r,"_",o,!0)):bm(t,r)}else t&&_m(e,t)},hw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=je;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:vm(o,t,n):(s=!t.$stable,bm(t,o)),i=t}else t&&(_m(e,t),i={default:1});if(s)for(const a in o)!Vc(a)&&i[a]==null&&delete o[a]},dt=_w;function mw(e){return gw(e)}function gw(e,t){const n=Hi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Cn,insertStaticContent:m}=e,h=(k,T,L,U=null,z=null,j=null,v=void 0,S=null,I=!!T.dynamicChildren)=>{if(k===T)return;k&&!Wr(k,T)&&(U=F(k),X(k,z,j,!0),k=null),T.patchFlag===-2&&(I=!1,T.dynamicChildren=null);const{type:R,ref:K,shapeFlag:B}=T;switch(R){case ms:b(k,T,L,U);break;case In:y(k,T,L,U);break;case La:k==null&&_(T,L,U,v);break;case at:te(k,T,L,U,z,j,v,S,I);break;default:B&1?A(k,T,L,U,z,j,v,S,I):B&6?se(k,T,L,U,z,j,v,S,I):(B&64||B&128)&&R.process(k,T,L,U,z,j,v,S,I,oe)}K!=null&&z?Vo(K,k&&k.ref,j,T||k,!T):K==null&&k&&k.ref!=null&&Vo(k.ref,null,j,k,!0)},b=(k,T,L,U)=>{if(k==null)r(T.el=a(T.children),L,U);else{const z=T.el=k.el;T.children!==k.children&&c(z,T.children)}},y=(k,T,L,U)=>{k==null?r(T.el=l(T.children||""),L,U):T.el=k.el},_=(k,T,L,U)=>{[k.el,k.anchor]=m(k.children,T,L,U,k.el,k.anchor)},E=({el:k,anchor:T},L,U)=>{let z;for(;k&&k!==T;)z=d(k),r(k,L,U),k=z;r(T,L,U)},g=({el:k,anchor:T})=>{let L;for(;k&&k!==T;)L=d(k),o(k),k=L;o(T)},A=(k,T,L,U,z,j,v,S,I)=>{if(T.type==="svg"?v="svg":T.type==="math"&&(v="mathml"),k==null)C(T,L,U,z,j,v,S,I);else{const R=k.el&&k.el._isVueCE?k.el:null;try{R&&R._beginPatch(),O(k,T,z,j,v,S,I)}finally{R&&R._endPatch()}}},C=(k,T,L,U,z,j,v,S)=>{let I,R;const{props:K,shapeFlag:B,transition:P,dirs:D}=k;if(I=k.el=i(k.type,j,K&&K.is,K),B&8?u(I,k.children):B&16&&w(k.children,I,null,U,z,Pa(k,j),v,S),D&&gr(k,null,U,"created"),x(I,k,k.scopeId,v,U),K){for(const ce in K)ce!=="value"&&!Uo(ce)&&s(I,ce,null,K[ce],j,U);"value"in K&&s(I,"value",null,K.value,j),(R=K.onVnodeBeforeMount)&&Xt(R,U,k)}D&&gr(k,null,U,"beforeMount");const re=yw(z,P);re&&P.beforeEnter(I),r(I,T,L),((R=K&&K.onVnodeMounted)||re||D)&&dt(()=>{R&&Xt(R,U,k),re&&P.enter(I),D&&gr(k,null,U,"mounted")},z)},x=(k,T,L,U,z)=>{if(L&&p(k,L),U)for(let j=0;j<U.length;j++)p(k,U[j]);if(z){let j=z.subTree;if(T===j||yi(j.type)&&(j.ssContent===T||j.ssFallback===T)){const v=z.vnode;x(k,v,v.scopeId,v.slotScopeIds,z.parent)}}},w=(k,T,L,U,z,j,v,S,I=0)=>{for(let R=I;R<k.length;R++){const K=k[R]=S?jn(k[R]):vn(k[R]);h(null,K,T,L,U,z,j,v,S)}},O=(k,T,L,U,z,j,v)=>{const S=T.el=k.el;let{patchFlag:I,dynamicChildren:R,dirs:K}=T;I|=k.patchFlag&16;const B=k.props||je,P=T.props||je;let D;if(L&&yr(L,!1),(D=P.onVnodeBeforeUpdate)&&Xt(D,L,T,k),K&&gr(T,k,L,"beforeUpdate"),L&&yr(L,!0),(B.innerHTML&&P.innerHTML==null||B.textContent&&P.textContent==null)&&u(S,""),R?$(k.dynamicChildren,R,S,L,U,Pa(T,z),j):v||pe(k,T,S,null,L,U,Pa(T,z),j,!1),I>0){if(I&16)M(S,B,P,L,z);else if(I&2&&B.class!==P.class&&s(S,"class",null,P.class,z),I&4&&s(S,"style",B.style,P.style,z),I&8){const re=T.dynamicProps;for(let ce=0;ce<re.length;ce++){const Ee=re[ce],$e=B[Ee],Oe=P[Ee];(Oe!==$e||Ee==="value")&&s(S,Ee,$e,Oe,z,L)}}I&1&&k.children!==T.children&&u(S,T.children)}else!v&&R==null&&M(S,B,P,L,z);((D=P.onVnodeUpdated)||K)&&dt(()=>{D&&Xt(D,L,T,k),K&&gr(T,k,L,"updated")},U)},$=(k,T,L,U,z,j,v)=>{for(let S=0;S<T.length;S++){const I=k[S],R=T[S],K=I.el&&(I.type===at||!Wr(I,R)||I.shapeFlag&198)?f(I.el):L;h(I,R,K,null,U,z,j,v,!0)}},M=(k,T,L,U,z)=>{if(T!==L){if(T!==je)for(const j in T)!Uo(j)&&!(j in L)&&s(k,j,T[j],null,z,U);for(const j in L){if(Uo(j))continue;const v=L[j],S=T[j];v!==S&&j!=="value"&&s(k,j,S,v,z,U)}"value"in L&&s(k,"value",T.value,L.value,z)}},te=(k,T,L,U,z,j,v,S,I)=>{const R=T.el=k?k.el:a(""),K=T.anchor=k?k.anchor:a("");let{patchFlag:B,dynamicChildren:P,slotScopeIds:D}=T;D&&(S=S?S.concat(D):D),k==null?(r(R,L,U),r(K,L,U),w(T.children||[],L,K,z,j,v,S,I)):B>0&&B&64&&P&&k.dynamicChildren&&k.dynamicChildren.length===P.length?($(k.dynamicChildren,P,L,z,j,v,S),(T.key!=null||z&&T===z.subTree)&&wm(k,T,!0)):pe(k,T,L,K,z,j,v,S,I)},se=(k,T,L,U,z,j,v,S,I)=>{T.slotScopeIds=S,k==null?T.shapeFlag&512?z.ctx.activate(T,L,U,v,I):V(T,L,U,z,j,v,I):Q(k,T,I)},V=(k,T,L,U,z,j,v)=>{const S=k.component=Cw(k,U,z);if(nm(k)&&(S.ctx.renderer=oe),kw(S,!1,v),S.asyncDep){if(z&&z.registerDep(S,Y,v),!k.el){const I=S.subTree=Qe(In);y(null,I,T,L),k.placeholder=I.el}}else Y(S,k,T,L,z,j,v)},Q=(k,T,L)=>{const U=T.component=k.component;if(aw(k,T,L))if(U.asyncDep&&!U.asyncResolved){ne(U,T,L);return}else U.next=T,U.update();else T.el=k.el,U.vnode=T},Y=(k,T,L,U,z,j,v)=>{const S=()=>{if(k.isMounted){let{next:B,bu:P,u:D,parent:re,vnode:ce}=k;{const nn=Em(k);if(nn){B&&(B.el=ce.el,ne(k,B,v)),nn.asyncDep.then(()=>{dt(()=>{k.isUnmounted||R()},z)});return}}let Ee=B,$e;yr(k,!1),B?(B.el=ce.el,ne(k,B,v)):B=ce,P&&jo(P),($e=B.props&&B.props.onVnodeBeforeUpdate)&&Xt($e,re,B,ce),yr(k,!0);const Oe=Yu(k),Kt=k.subTree;k.subTree=Oe,h(Kt,Oe,f(Kt.el),F(Kt),k,z,j),B.el=Oe.el,Ee===null&&lw(k,Oe.el),D&&dt(D,z),($e=B.props&&B.props.onVnodeUpdated)&&dt(()=>Xt($e,re,B,ce),z)}else{let B;const{el:P,props:D}=T,{bm:re,m:ce,parent:Ee,root:$e,type:Oe}=k,Kt=lr(T);yr(k,!1),re&&jo(re),!Kt&&(B=D&&D.onVnodeBeforeMount)&&Xt(B,Ee,T),yr(k,!0);{$e.ce&&$e.ce._hasShadowRoot()&&$e.ce._injectChildStyle(Oe,k.parent?k.parent.type:void 0);const nn=k.subTree=Yu(k);h(null,nn,L,U,k,z,j),T.el=nn.el}if(ce&&dt(ce,z),!Kt&&(B=D&&D.onVnodeMounted)){const nn=T;dt(()=>Xt(B,Ee,nn),z)}(T.shapeFlag&256||Ee&&lr(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&k.a&&dt(k.a,z),k.isMounted=!0,T=L=U=null}};k.scope.on();const I=k.effect=new Th(S);k.scope.off();const R=k.update=I.run.bind(I),K=k.job=I.runIfDirty.bind(I);K.i=k,K.id=k.uid,I.scheduler=()=>Uc(K),yr(k,!0),R()},ne=(k,T,L)=>{T.component=k;const U=k.vnode.props;k.vnode=T,k.next=null,uw(k,T.props,U,L),hw(k,T.children,L),qn(),zu(k),Kn()},pe=(k,T,L,U,z,j,v,S,I=!1)=>{const R=k&&k.children,K=k?k.shapeFlag:0,B=T.children,{patchFlag:P,shapeFlag:D}=T;if(P>0){if(P&128){Z(R,B,L,U,z,j,v,S,I);return}else if(P&256){Xe(R,B,L,U,z,j,v,S,I);return}}D&8?(K&16&&De(R,z,j),B!==R&&u(L,B)):K&16?D&16?Z(R,B,L,U,z,j,v,S,I):De(R,z,j,!0):(K&8&&u(L,""),D&16&&w(B,L,U,z,j,v,S,I))},Xe=(k,T,L,U,z,j,v,S,I)=>{k=k||Qr,T=T||Qr;const R=k.length,K=T.length,B=Math.min(R,K);let P;for(P=0;P<B;P++){const D=T[P]=I?jn(T[P]):vn(T[P]);h(k[P],D,L,null,z,j,v,S,I)}R>K?De(k,z,j,!0,!1,B):w(T,L,U,z,j,v,S,I,B)},Z=(k,T,L,U,z,j,v,S,I)=>{let R=0;const K=T.length;let B=k.length-1,P=K-1;for(;R<=B&&R<=P;){const D=k[R],re=T[R]=I?jn(T[R]):vn(T[R]);if(Wr(D,re))h(D,re,L,null,z,j,v,S,I);else break;R++}for(;R<=B&&R<=P;){const D=k[B],re=T[P]=I?jn(T[P]):vn(T[P]);if(Wr(D,re))h(D,re,L,null,z,j,v,S,I);else break;B--,P--}if(R>B){if(R<=P){const D=P+1,re=D<K?T[D].el:U;for(;R<=P;)h(null,T[R]=I?jn(T[R]):vn(T[R]),L,re,z,j,v,S,I),R++}}else if(R>P)for(;R<=B;)X(k[R],z,j,!0),R++;else{const D=R,re=R,ce=new Map;for(R=re;R<=P;R++){const jt=T[R]=I?jn(T[R]):vn(T[R]);jt.key!=null&&ce.set(jt.key,R)}let Ee,$e=0;const Oe=P-re+1;let Kt=!1,nn=0;const vo=new Array(Oe);for(R=0;R<Oe;R++)vo[R]=0;for(R=D;R<=B;R++){const jt=k[R];if($e>=Oe){X(jt,z,j,!0);continue}let hn;if(jt.key!=null)hn=ce.get(jt.key);else for(Ee=re;Ee<=P;Ee++)if(vo[Ee-re]===0&&Wr(jt,T[Ee])){hn=Ee;break}hn===void 0?X(jt,z,j,!0):(vo[hn-re]=R+1,hn>=nn?nn=hn:Kt=!0,h(jt,T[hn],L,null,z,j,v,S,I),$e++)}const Nu=Kt?bw(vo):Qr;for(Ee=Nu.length-1,R=Oe-1;R>=0;R--){const jt=re+R,hn=T[jt],Mu=T[jt+1],Du=jt+1<K?Mu.el||Sm(Mu):U;vo[R]===0?h(null,hn,L,Du,z,j,v,S,I):Kt&&(Ee<0||R!==Nu[Ee]?W(hn,L,Du,2):Ee--)}}},W=(k,T,L,U,z=null)=>{const{el:j,type:v,transition:S,children:I,shapeFlag:R}=k;if(R&6){W(k.component.subTree,T,L,U);return}if(R&128){k.suspense.move(T,L,U);return}if(R&64){v.move(k,T,L,oe);return}if(v===at){r(j,T,L);for(let B=0;B<I.length;B++)W(I[B],T,L,U);r(k.anchor,T,L);return}if(v===La){E(k,T,L);return}if(U!==2&&R&1&&S)if(U===0)S.beforeEnter(j),r(j,T,L),dt(()=>S.enter(j),z);else{const{leave:B,delayLeave:P,afterLeave:D}=S,re=()=>{k.ctx.isUnmounted?o(j):r(j,T,L)},ce=()=>{j._isLeaving&&j[Pv](!0),B(j,()=>{re(),D&&D()})};P?P(j,re,ce):ce()}else r(j,T,L)},X=(k,T,L,U=!1,z=!1)=>{const{type:j,props:v,ref:S,children:I,dynamicChildren:R,shapeFlag:K,patchFlag:B,dirs:P,cacheIndex:D,memo:re}=k;if(B===-2&&(z=!1),S!=null&&(qn(),Vo(S,null,L,k,!0),Kn()),D!=null&&(T.renderCache[D]=void 0),K&256){T.ctx.deactivate(k);return}const ce=K&1&&P,Ee=!lr(k);let $e;if(Ee&&($e=v&&v.onVnodeBeforeUnmount)&&Xt($e,T,k),K&6)Me(k.component,L,U);else{if(K&128){k.suspense.unmount(L,U);return}ce&&gr(k,null,T,"beforeUnmount"),K&64?k.type.remove(k,T,L,oe,U):R&&!R.hasOnce&&(j!==at||B>0&&B&64)?De(R,T,L,!1,!0):(j===at&&B&384||!z&&K&16)&&De(I,T,L),U&&le(k)}const Oe=re!=null&&D==null;(Ee&&($e=v&&v.onVnodeUnmounted)||ce||Oe)&&dt(()=>{$e&&Xt($e,T,k),ce&&gr(k,null,T,"unmounted"),Oe&&(k.el=null)},L)},le=k=>{const{type:T,el:L,anchor:U,transition:z}=k;if(T===at){ie(L,U);return}if(T===La){g(k);return}const j=()=>{o(L),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(k.shapeFlag&1&&z&&!z.persisted){const{leave:v,delayLeave:S}=z,I=()=>v(L,j);S?S(k.el,j,I):I()}else j()},ie=(k,T)=>{let L;for(;k!==T;)L=d(k),o(k),k=L;o(T)},Me=(k,T,L)=>{const{bum:U,scope:z,job:j,subTree:v,um:S,m:I,a:R}=k;gi(I),gi(R),U&&jo(U),z.stop(),j&&(j.flags|=8,X(v,k,T,L)),S&&dt(S,T),dt(()=>{k.isUnmounted=!0},T)},De=(k,T,L,U=!1,z=!1,j=0)=>{for(let v=j;v<k.length;v++)X(k[v],T,L,U,z)},F=k=>{if(k.shapeFlag&6)return F(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const T=d(k.anchor||k.el),L=T&&T[Ov];return L?d(L):T};let G=!1;const q=(k,T,L)=>{let U;k==null?T._vnode&&(X(T._vnode,null,null,!0),U=T._vnode.component):h(T._vnode||null,k,T,null,null,null,L),T._vnode=k,G||(G=!0,zu(U),Yh(),G=!1)},oe={p:h,um:X,m:W,r:le,mt:V,mc:w,pc:pe,pbc:$,n:F,o:e};return{render:q,hydrate:void 0,createApp:tw(q)}}function Pa({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 yr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function yw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function wm(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&wm(i,a)),a.type===ms&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===In&&!a.el&&(a.el=i.el)}}function bw(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 Em(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Em(t)}function gi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Sm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Sm(t.subTree):null}const yi=e=>e.__isSuspense;function _w(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Cv(e)}const at=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),In=Symbol.for("v-cmt"),La=Symbol.for("v-stc"),Go=[];let Bt=null;function ge(e=!1){Go.push(Bt=e?null:[])}function vw(){Go.pop(),Bt=Go[Go.length-1]||null}let ts=1;function bi(e,t=!1){ts+=e,e<0&&Bt&&t&&(Bt.hasOnce=!0)}function Cm(e){return e.dynamicChildren=ts>0?Bt||Qr:null,vw(),ts>0&&Bt&&Bt.push(e),e}function ze(e,t,n,r,o,s){return Cm(qe(e,t,n,r,o,s,!0))}function Mt(e,t,n,r,o){return Cm(Qe(e,t,n,r,o,!0))}function oo(e){return e?e.__v_isVNode===!0:!1}function Wr(e,t){return e.type===t.type&&e.key===t.key}const km=({key:e})=>e??null,Xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||Ye(e)||he(e)?{i:mt,r:e,k:t,f:!!n}:e:null);function qe(e,t=null,n=null,r=0,o=null,s=e===at?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&km(t),ref:t&&Xs(t),scopeId:Jh,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:mt};return a?(Gc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),ts>0&&!i&&Bt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Bt.push(l),l}const Qe=ww;function ww(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===im)&&(e=In),oo(e)){const a=Ir(e,t,!0);return n&&Gc(a,n),ts>0&&!s&&Bt&&(a.shapeFlag&6?Bt[Bt.indexOf(e)]=a:Bt.push(a)),a.patchFlag=-2,a}if(Aw(e)&&(e=e.__vccOpts),t){t=bo(t);let{class:a,style:l}=t;a&&!Ke(a)&&(t.class=Ge(a)),Ne(l)&&(Yi(l)&&!fe(l)&&(l=bt({},l)),t.style=Nt(l))}const i=Ke(e)?1:yi(e)?128:Iv(e)?64:Ne(e)?4:he(e)?2:0;return qe(e,t,n,r,o,i,s,!0)}function bo(e){return e?Yi(e)||mm(e)?bt({},e):e:null}function Ir(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?so(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&km(c),ref:t&&t.ref?n&&s?fe(s)?s.concat(Xs(t)):[s,Xs(t)]:Xs(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!==at?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&&Ir(e.ssContent),ssFallback:e.ssFallback&&Ir(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ji(u,l.clone(u)),u}function _i(e=" ",t=0){return Qe(ms,null,e,t)}function Tn(e="",t=!1){return t?(ge(),Mt(In,null,e)):Qe(In,null,e)}function vn(e){return e==null||typeof e=="boolean"?Qe(In):fe(e)?Qe(at,null,e.slice()):oo(e)?jn(e):Qe(ms,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ir(e)}function Gc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Gc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!mm(t)?t._ctx=mt:o===3&&mt&&(mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:mt},n=32):(t=String(t),r&64?(n=16,t=[_i(t)]):n=8);e.children=t,e.shapeFlag|=n}function so(...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=Ge([t.class,r.class]));else if(o==="style")t.style=Nt([t.style,r.style]);else if($i(o)){const s=t[o],i=r[o];i&&s!==i&&!(fe(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Ui(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Xt(e,t,n,r=null){On(e,t,7,[n,r])}const Ew=um();let Sw=0;function Cw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Ew,s={uid:Sw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kh(!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:ym(r,o),emitsOptions:fm(r,o),emit:null,emitted:null,propsDefaults:je,inheritAttrs:r.inheritAttrs,ctx:je,data:je,props:je,attrs:je,slots:je,refs:je,setupState:je,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=rw.bind(null,s),e.ce&&e.ce(s),s}let St=null;const Rn=()=>St||mt;let vi,Dl;{const e=Hi(),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)}};vi=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Dl=t("__VUE_SSR_SETTERS__",n=>ns=n)}const gs=e=>{const t=St;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}},Qu=()=>{St&&St.scope.off(),vi(null)};function xm(e){return e.vnode.shapeFlag&4}let ns=!1;function kw(e,t=!1,n=!1){t&&Dl(t);const{props:r,children:o}=e.vnode,s=xm(e);cw(e,r,s,t),pw(e,o,n||t);const i=s?xw(e,t):void 0;return t&&Dl(!1),i}function xw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gv);const{setup:r}=n;if(r){qn();const o=e.setupContext=r.length>1?Am(e):null,s=gs(e),i=hs(r,e,0,[e.props,o]),a=bh(i);if(Kn(),s(),(a||e.sp)&&!lr(e)&&em(e),a){if(i.then(Qu,Qu),t)return i.then(l=>{Zu(e,l)}).catch(l=>{Xi(l,e,0)});e.asyncDep=i}else Zu(e,i)}else Tm(e)}function Zu(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=Wh(t)),Tm(e)}function Tm(e,t,n){const r=e.type;e.render||(e.render=r.render||Cn);{const o=gs(e);qn();try{Yv(e)}finally{Kn(),o()}}}const Tw={get(e,t){return Et(e,"get",""),e[t]}};function Am(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Tw),slots:e.slots,emit:e.emit,expose:t}}function ta(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wh($c(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wo)return Wo[n](e)},has(t,n){return n in t||n in Wo}})):e.proxy}function Fl(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function Aw(e){return he(e)&&"__vccOpts"in e}const J=(e,t)=>_v(e,t,ns);function ur(e,t,n){try{bi(-1);const r=arguments.length;return r===2?Ne(t)&&!fe(t)?oo(t)?Qe(e,null,[t]):Qe(e,t):Qe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&oo(n)&&(n=[n]),Qe(e,t,n))}finally{bi(1)}}const Ow="3.5.34";let $l;const ef=typeof window<"u"&&window.trustedTypes;if(ef)try{$l=ef.createPolicy("vue",{createHTML:e=>e})}catch{}const Om=$l?e=>$l.createHTML(e):e=>e,Iw="http://www.w3.org/2000/svg",Pw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,tf=Un&&Un.createElement("template"),Lw={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(Iw,e):t==="mathml"?Un.createElementNS(Pw,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{tf.innerHTML=Om(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=tf.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]}},Rw=Symbol("_vtc");function Nw(e,t,n){const r=e[Rw];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wi=Symbol("_vod"),Im=Symbol("_vsh"),Mw={name:"show",beforeMount(e,{value:t},{transition:n}){e[wi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Eo(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),Eo(e,!0),r.enter(e)):r.leave(e,()=>{Eo(e,!1)}):Eo(e,t))},beforeUnmount(e,{value:t}){Eo(e,t)}};function Eo(e,t){e.style.display=t?e[wi]:"none",e[Im]=!t}const Dw=Symbol(""),Fw=/(?:^|;)\s*display\s*:/;function $w(e,t,n){const r=e.style,o=Ke(n);let s=!1;if(n&&!o){if(t)if(Ke(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?jw(e,i,!Ke(t)&&t?t[i]:void 0,a)||Lo(r,i,a):Lo(r,i,"")}}else if(o){if(t!==n){const i=r[Dw];i&&(n+=";"+i),r.cssText=n,s=Fw.test(n)}}else t&&e.removeAttribute("style");wi in e&&(e[wi]=s?r.display:"",e[Im]&&(r.display="none"))}const nf=/\s*!important$/;function Lo(e,t,n){if(fe(n))n.forEach(r=>Lo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Uw(e,t);nf.test(n)?e.setProperty(Rr(r),n.replace(nf,""),"important"):e[r]=n}}const rf=["Webkit","Moz","ms"],Ra={};function Uw(e,t){const n=Ra[t];if(n)return n;let r=It(t);if(r!=="filter"&&r in e)return Ra[t]=r;r=Bi(r);for(let o=0;o<rf.length;o++){const s=rf[o]+r;if(s in e)return Ra[t]=s}return t}function jw(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ke(r)&&n===r}const of="http://www.w3.org/1999/xlink";function sf(e,t,n,r,o,s=B_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(of,t.slice(6,t.length)):e.setAttributeNS(of,t,n):n==null||s&&!Eh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Wt(n)?String(n):n)}function af(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Om(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=Eh(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 zw(e,t,n,r){e.addEventListener(t,n,r)}function Bw(e,t,n,r){e.removeEventListener(t,n,r)}const lf=Symbol("_vei");function Hw(e,t,n,r,o=null){const s=e[lf]||(e[lf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=Vw(t);if(r){const c=s[t]=qw(r,o);zw(e,a,c,l)}else i&&(Bw(e,a,i,l),s[t]=void 0)}}const cf=/(?:Once|Passive|Capture)$/;function Vw(e){let t;if(cf.test(e)){t={};let r;for(;r=e.match(cf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rr(e.slice(2)),t]}let Na=0;const Ww=Promise.resolve(),Gw=()=>Na||(Ww.then(()=>Na=0),Na=Date.now());function qw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;On(Kw(r,n.value),t,5,[r])};return n.value=e,n.attached=Gw(),n}function Kw(e,t){if(fe(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 uf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yw=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Nw(e,r,i):t==="style"?$w(e,n,r):$i(t)?Ui(t)||Hw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xw(e,t,r,i))?(af(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&sf(e,t,r,i,s,t!=="value")):e._isVueCE&&(Jw(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ke(r)))?af(e,It(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sf(e,t,r,i))};function Xw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&uf(t)&&he(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return uf(t)&&Ke(n)?!1:t in e}function Jw(e,t){const n=e._def.props;if(!n)return!1;const r=It(t);return Array.isArray(n)?n.some(o=>It(o)===r):Object.keys(n).some(o=>It(o)===r)}const Qw=["ctrl","shift","alt","meta"],Zw={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)=>Qw.some(n=>e[`${n}Key`]&&!t.includes(n))},ff=(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=Zw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},eE=bt({patchProp:Yw},Lw);let df;function tE(){return df||(df=mw(eE))}const nE=((...e)=>{const t=tE().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=oE(r);if(!o)return;const s=t._component;!he(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,rE(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function rE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function oE(e){return Ke(e)?document.querySelector(e):e}const Ma=new WeakMap,sE=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??Vi();if(o==null&&!jc())throw new Error("injectLocal must be called in setup");return o&&Ma.has(o)&&n in Ma.get(o)?Ma.get(o)[n]:Vt(...e)},iE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const aE=Object.prototype.toString,lE=e=>aE.call(e)==="[object Object]",cE=()=>{};function Pm(...e){if(e.length!==1)return yv(...e);const t=e[0];return typeof t=="function"?ui(pv(()=>({get:t,set:cE}))):_e(t)}function uE(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 Lm=e=>e();function fE(e=Lm,t={}){const{initialState:n="active"}=t,r=Pm(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:cv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function pf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Da(e){return Array.isArray(e)?e:[e]}function dE(e){return Rn()}function pE(e,t,n={}){const{eventFilter:r=Lm,...o}=n;return Ze(e,uE(r,t),o)}function hE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=fE(r,{initialState:o});return{stop:pE(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Rm(e,t=!0,n){dE()?Ln(e,n):t?e():dr(e)}function mE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ye(e),s=kn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=xn(n);return s.value=s.value===l?xn(r):l,s.value}}return o?i:[s,i]}function gE(e,t,n){return Ze(e,t,{...n,immediate:!0})}const wr=iE?window:void 0;function Nm(e){var t;const n=xn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ul(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=J(()=>{const r=Da(xn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return gE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Nm(s)))!==null&&r!==void 0?r:[wr].filter(s=>s!=null),Da(xn(n.value?e[1]:e[0])),Da(Re(n.value?e[2]:e[1])),xn(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=lE(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 yE(){const e=kn(!1),t=Rn();return t&&Ln(()=>{e.value=!0},t),e}function bE(e){const t=yE();return J(()=>(t.value,!!e()))}const _E=Symbol("vueuse-ssr-width");function vE(){const e=jc()?sE(_E,null):null;return typeof e=="number"?e:void 0}function wE(e,t={}){const{window:n=wr,ssrWidth:r=vE()}=t,o=bE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=kn(typeof r=="number"),i=kn(),a=kn(!1),l=c=>{a.value=c.matches};return Tv(()=>{if(s.value){s.value=!o.value,a.value=xn(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=pf(f[1])),d&&p&&(p=r<=pf(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(xn(e)),a.value=i.value.matches)}),Ul(i,"change",l,{passive:!0}),J(()=>a.value)}const Is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ps="__vueuse_ssr_handlers__",EE=SE();function SE(){return Ps in Is||(Is[Ps]=Is[Ps]||{}),Is[Ps]}function Mm(e,t){return EE[e]||t}function CE(e){return wE("(prefers-color-scheme: dark)",e)}function kE(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 xE={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()}},hf="vueuse-storage";function TE(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=wr,eventFilter:d,onError:p=V=>{console.error(V)},initOnMounted:m}=r,h=(u?kn:_e)(typeof t=="function"?t():t),b=J(()=>xn(e));if(!n)try{n=Mm("getDefaultStorage",()=>wr?.localStorage)()}catch(V){p(V)}if(!n)return h;const y=xn(t),_=kE(y),E=(o=r.serializer)!==null&&o!==void 0?o:xE[_],{pause:g,resume:A}=hE(h,V=>$(V),{flush:s,deep:i,eventFilter:d});Ze(b,()=>te(),{flush:s});let C=!1;const x=V=>{m&&!C||te(V)},w=V=>{m&&!C||se(V)};f&&a&&(n instanceof Storage?Ul(f,"storage",x,{passive:!0}):Ul(f,hf,w)),m?Rm(()=>{C=!0,te()}):te();function O(V,Q){if(f){const Y={key:b.value,oldValue:V,newValue:Q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",Y):new CustomEvent(hf,{detail:Y}))}}function $(V){try{const Q=n.getItem(b.value);if(V==null)O(Q,null),n.removeItem(b.value);else{const Y=E.write(V);Q!==Y&&(n.setItem(b.value,Y),O(Q,Y))}}catch(Q){p(Q)}}function M(V){const Q=V?V.newValue:n.getItem(b.value);if(Q==null)return l&&y!=null&&n.setItem(b.value,E.write(y)),y;if(!V&&c){const Y=E.read(Q);return typeof c=="function"?c(Y,y):_==="object"&&!Array.isArray(Y)?{...y,...Y}:Y}else return typeof Q!="string"?Q:E.read(Q)}function te(V){if(!(V&&V.storageArea!==n)){if(V&&V.key==null){h.value=y;return}if(!(V&&V.key!==b.value)){g();try{const Q=E.write(h.value);(V===void 0||V?.newValue!==Q)&&(h.value=M(V))}catch(Q){p(Q)}finally{V?dr(A):A()}}}}function se(V){te(V.detail)}return h}const AE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function OE(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=wr,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=CE({window:o}),p=J(()=>d.value?"dark":"light"),m=l||(i==null?Pm(r):TE(i,r,s,{window:o,listenToStorageChanges:a})),h=J(()=>m.value==="auto"?p.value:m.value),b=Mm("updateHTMLAttrs",(g,A,C)=>{const x=typeof g=="string"?o?.document.querySelector(g):Nm(g);if(!x)return;const w=new Set,O=new Set;let $=null;if(A==="class"){const te=C.split(/\s/g);Object.values(f).flatMap(se=>(se||"").split(/\s/g)).filter(Boolean).forEach(se=>{te.includes(se)?w.add(se):O.add(se)})}else $={key:A,value:C};if(w.size===0&&O.size===0&&$===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(AE)),o.document.head.appendChild(M));for(const te of w)x.classList.add(te);for(const te of O)x.classList.remove(te);$&&x.setAttribute($.key,$.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(g){var A;b(t,n,(A=f[g])!==null&&A!==void 0?A:g)}function _(g){e.onChanged?e.onChanged(g,y):y(g)}Ze(h,_,{flush:"post",immediate:!0}),Rm(()=>_(h.value));const E=J({get(){return c?m.value:h.value},set(g){m.value=g}});return Object.assign(E,{store:m,system:p,state:h})}function qc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=OE({...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=J(()=>r.system.value);return J({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const IE="local://",PE="main",LE="container",RE="item",NE="/__global_config__",ME="/node_modules/.prebuild_module",DE="_metadata.json",FE="/_module_load_prefix_",$E="/_node_modules_load_prefix_",UE="/_comp_preview_prefix_local_",jE="/__proxy__",zE="/__master__",BE="__remote__",HE="__local__",VE="https://api.comphub.cn:5696",WE="http://localhost:7002",GE="http://localhost:5000",qE="http://localhost:5001",KE="Comp Hub",YE="csrfToken",XE="authorization",JE="x-refresh-token",QE="x-csrf-token",ZE="accept-language",eS="isGuestLogin",tS="comp-hub-db",nS="file-compiled",rS="https://oss.comphub.cn",oS="oss:sts:token",sS="oss:sts:expire",iS="comp.json",aS="README.md",lS="/.comp_hub_temp",cS="main.js",uS="index.vue",Dm="list_local",Fm="list_remote",fS={COMP_LIST_TYPE_LOCAL:Dm,COMP_LIST_TYPE_REMOTE:Fm},$m="config",Um="error",jm="dir",zm="preview",Bm="extra",Hm="deps",Vm="upgradeLog",Wm="readme",dS={TAB_TYPE_CONFIG:$m,TAB_TYPE_ERROR:Um,TAB_TYPE_DIR:jm,TAB_TYPE_PREVIEW:zm,TAB_TYPE_EXTRA:Bm,TAB_TYPE_DEPS:Hm,TAB_TYPE_UPGRADE_LOG:Vm,TAB_TYPE_README:Wm},Gm="mini",qm="full",pS={COMP_EDIT_TAB_TYPE_MINI:Gm,COMP_EDIT_TAB_TYPE_FULL:qm},Km="EDIT",Ym="ADD",hS={DIALOG_TYPE_EDIT:Km,DIALOG_TYPE_ADD:Ym},Xm="ONLY_INSTALL",Jm="MAJOR_VERSION",Qm="MINOR_VERSION",Zm="EXACT_VERSION",mS={COMP_MATCH_TYPE_ONLY_INSTALL:Xm,COMP_MATCH_TYPE_MAJOR_VERSION:Jm,COMP_MATCH_TYPE_MINOR_VERSION:Qm,COMP_MATCH_TYPE_EXACT_VERSION:Zm},eg="online",tg="offline",gS={COMP_UPDATE_TYPE_ONLINE:eg,COMP_UPDATE_TYPE_OFFLINE:tg},yS=0,bS=1,_S=-1,ng="checkPreviewListForm",rg="checkExtraInfoForm",og="checkCompConfig",sg="afterCompDel",ig="openCompTerminal",ag="afterCompCancelCollect",lg="afterCompRenderRetry",cg="getCompError",ug="checkUpgradeLogForm",vS={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:ng,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:rg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:og,COMP_METHOD_KEY_AFTER_COMP_DEL:sg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:ig,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:ag,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:lg,COMP_METHOD_KEY_GET_COMP_ERROR:cg,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ug},wS={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},ES="http://127.0.0.1",SS="http://localhost:8095",CS="http://localhost:8096",kS="http://localhost:5198",xS="/item",TS="/container",AS="CREATE",OS="JOIN",IS="EXIT",PS="teamAddMyComp",LS="teamCompList",RS="teamCompGroupList",NS="teamMyCompList",MS="teamMyCompUpdate",DS="vue/dist/vue.esm-bundler.js",FS="__v__",$S="compListStore",US="compEditStore",jS="callbacks",zS="comphubConfig",BS="local",HS="prod",VS="local",WS="prod",GS="http://localhost:5173/en/",qS="https://docs.comphub.cn",KS=20,YS=20,ye=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:ZE,AUTHORIZATION_HEADER_NAME:XE,CACHE_KEY_STS_EXPIRE_TIME:sS,CACHE_KEY_STS_TOKEN:oS,COMPHUB_CONFIG_KEY:zS,COMP_ACTION_ICON_HEIGHT:YS,COMP_ACTION_ICON_WIDTH:KS,COMP_CONFIG_FILENAME:iS,COMP_EDIT_TAB_TYPES:pS,COMP_EDIT_TAB_TYPE_FULL:qm,COMP_EDIT_TAB_TYPE_MINI:Gm,COMP_ENTRY_FILE:cS,COMP_HUB_DEV_DOCS_URL:GS,COMP_HUB_PROD_DOCS_URL:qS,COMP_LIST_TYPES:fS,COMP_LIST_TYPE_LOCAL:Dm,COMP_LIST_TYPE_REMOTE:Fm,COMP_MATCH_TYPES:mS,COMP_MATCH_TYPE_EXACT_VERSION:Zm,COMP_MATCH_TYPE_MAJOR_VERSION:Jm,COMP_MATCH_TYPE_MINOR_VERSION:Qm,COMP_MATCH_TYPE_ONLY_INSTALL:Xm,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:ag,COMP_METHOD_KEY_AFTER_COMP_DEL:sg,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:lg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:og,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:rg,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:ng,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:ug,COMP_METHOD_KEY_GET_COMP_ERROR:cg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:ig,COMP_PREVIEW_PREFIX_LOCAL:UE,COMP_README_FILENAME:aS,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:lS,COMP_UPDATE_TYPES:gS,COMP_UPDATE_TYPE_OFFLINE:tg,COMP_UPDATE_TYPE_ONLINE:eg,COMP_USE_ENTRY_FILE:uS,CSRF_KEY:YE,CSRF_TOKEN_HEADER_NAME:QE,DIALOG_TYPES:hS,DIALOG_TYPE_ADD:Ym,DIALOG_TYPE_EDIT:Km,FILE_MANAGER_DIRNAME:IE,GLOBAL_CONFIG_PATH:NE,IFRAME_CONTAINER_WEBSITE_PATH:TS,IFRAME_HOST:ES,IFRAME_ITEM_WEBSITE_PATH:xS,IFRAME_ROUTES:wS,INDEX_DB_NAME:tS,INDEX_DB_TABLE_NAME:nS,IS_GUEST_LOGIN:eS,LOCAL_CHILD_IFRAME_URL:SS,LOCAL_LEAF_IFRAME_URL:CS,LOCAL_MIDWAY_ENV_LOCAL:BS,LOCAL_MIDWAY_ENV_PROD:HS,LOCAL_SERVICE_PREFIX:HE,LOCAL_SERVICE_URL_DEV:GE,LOCAL_SERVICE_URL_DEV_SUB:qE,LOCAL_TOP_IFRAME_URL:kS,MASTER_API_PREFIX:zE,META_FILE_NAME:DE,MODULE_LOAD_PREFIX:FE,NODE_MODULES_LOAD_PREFIX:$E,OSS_CUSTOM_DOMAIN:rS,PREBUILD_MODULE_DIR:ME,PROVIDE_KEYS:vS,PROVIDE_KEY_CALLBACKS:jS,PROVIDE_KEY_COMP_EDIT_STORE:US,PROVIDE_KEY_COMP_LIST_STORE:$S,PROXY_PATH_PREFIX:jE,REFRESH_TOKEN_HEADER_NAME:JE,REMOTE_MIDWAY_ENV_LOCAL:VS,REMOTE_MIDWAY_ENV_PROD:WS,REMOTE_SERVICE_PREFIX:BE,REMOTE_SERVICE_URL_DEV:WE,REMOTE_SERVICE_URL_PROD:VE,ROUTE_STATE_KEY_VERSION:FS,SCOPE_ID_TEAM_ADD_MY_COMP:PS,SCOPE_ID_TEAM_COMP_GROUP_LIST:RS,SCOPE_ID_TEAM_COMP_LIST:LS,SCOPE_ID_TEAM_MY_COMP_LIST:NS,SCOPE_ID_TEAM_MY_COMP_UPDATE:MS,SITE_TITLE:KE,TAB_TYPES:dS,TAB_TYPE_CONFIG:$m,TAB_TYPE_DEPS:Hm,TAB_TYPE_DIR:jm,TAB_TYPE_ERROR:Um,TAB_TYPE_EXTRA:Bm,TAB_TYPE_PREVIEW:zm,TAB_TYPE_README:Wm,TAB_TYPE_UPGRADE_LOG:Vm,TEAM_OPERATE_TYPE_CREATE:AS,TEAM_OPERATE_TYPE_EXIT:IS,TEAM_OPERATE_TYPE_JOIN:OS,VERSION_COMPARE_GREATER:bS,VERSION_COMPARE_LESS:_S,VERSION_COMPARE_SAME:yS,VUE_ESM_BUNDLER:DS,WEBSITE_PATH_CONTAINER:LE,WEBSITE_PATH_ITEM:RE,WEBSITE_PATH_MAIN:PE},Symbol.toStringTag,{value:"Module"})),XS=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],JS=[".css"],QS=[{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"}],fg=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:QS,DEFAULT_TAG_GROUP:XS,PREBUILD_MODULE_SKIP_EXT:JS},Symbol.toStringTag,{value:"Module"})),ZS="comp-hub-locale",eC=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:ZS},Symbol.toStringTag,{value:"Module"}));function tC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa={exports:{}},mf;function nC(){return mf||(mf=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={},m={},h="",b="",y="",_=2,E=3,g=2,A=[],C=0,x=0,w;for(w=0;w<l.length;w+=1)if(h=l.charAt(w),Object.prototype.hasOwnProperty.call(p,h)||(p[h]=E++,m[h]=!0),b=y+h,Object.prototype.hasOwnProperty.call(p,b))y=b;else{if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete m[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++),p[b]=E++,y=String(h)}if(y!==""){if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.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,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete m[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++)}for(d=2,f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;for(;;)if(C=C<<1,x==c-1){A.push(u(C));break}else x++;return A.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,m=3,h="",b=[],y,_,E,g,A,C,x,w={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,A=Math.pow(2,2),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 2:return""}for(f[3]=x,_=x,b.push(x);;){if(w.index>l)return"";for(E=0,A=Math.pow(2,m),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(x=E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return b.join("")}if(d==0&&(d=Math.pow(2,m),m++),f[x])h=f[x];else if(x===p)h=_+_.charAt(0);else return null;b.push(h),f[p++]=_+h.charAt(0),d--,_=h,d==0&&(d=Math.pow(2,m),m++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Fa)),Fa.exports}var rC=nC();const gf=tC(rC),yf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],Nr=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!yf.includes(l)).length)throw new Error(`iframe参数键名只能包含${yf.join(", ")}`);return gf.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=gf.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}},ys=e=>{const{params:{topOrigin:t}}=Nr();return t},Fe={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",COMP_RENDER_ERROR_SET:"comp_render_error_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function bs(){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(m=>m===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),go(()=>{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:J(()=>e?.uid?.toString()??"")}}function oC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ei=typeof window<"u",pr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),sC=(e,t,n)=>iC({l:e,k:t,s:n}),iC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),lt=e=>typeof e=="number"&&isFinite(e),dg=e=>Yc(e)==="[object Date]",io=e=>Yc(e)==="[object RegExp]",na=e=>Se(e)&&Object.keys(e).length===0,ct=Object.assign,aC=Object.create,Be=(e=null)=>aC(e);let bf;const Er=()=>bf||(bf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Be());function _f(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function lC(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const cC=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,uC=/^(?:href|src|action|formaction)$/i;function Kc(e){return cC.test(e)}function fC(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,i=t.lastIndex-1;let a=i+1,l=1,c=null;for(;a<e.length;a++){const d=e[a];if(c){d===c&&(c=null);continue}if(d==='"'||d==="'")c=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const u=e.slice(i+1,a).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;n+=e.slice(r,s),n+=Kc(f)?"url(about:blank)":e.slice(s,a+1),r=a+1}return n+e.slice(r)}function vf(e,t){if(uC.test(e)&&Kc(t))return"about:blank";const n=e.toLowerCase()==="style"?fC(t):t;return lC(n)}function dC(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${vf(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${vf(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>Kc(o)?`${r}about:blank`:n),e}const pC=Object.prototype.hasOwnProperty;function Zt(e,t){return pC.call(e,t)}const rt=Array.isArray,Je=e=>typeof e=="function",ee=e=>typeof e=="string",ke=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",hC=e=>xe(e)&&Je(e.then)&&Je(e.catch),pg=Object.prototype.toString,Yc=e=>pg.call(e),Se=e=>Yc(e)==="[object Object]",mC=e=>e==null?"":rt(e)||Se(e)&&e.toString===pg?JSON.stringify(e,null,2):String(e);function Xc(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ls=e=>!xe(e)||rt(e);function Js(e,t){if(Ls(e)||Ls(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(xe(r[s])&&!xe(o[s])&&(o[s]=Array.isArray(r[s])?[]:Be()),Ls(o[s])||Ls(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function gC(e,t,n){return{line:e,column:t,offset:n}}function jl(e,t,n){return{start:e,end:t}}const Pe={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},yC=17;function ra(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 bC(e){throw e}const mn=" ",_C="\r",_t=`
2
+ `,vC="\u2028",wC="\u2029";function EC(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===_C&&t[x+1]===_t,a=x=>t[x]===_t,l=x=>t[x]===wC,c=x=>t[x]===vC,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,m=()=>s,h=x=>i(x)||l(x)||c(x)?_t:t[x],b=()=>h(n),y=()=>h(n+s);function _(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function g(){n=0,r=1,o=1,s=0}function A(x=0){s=x}function C(){const x=n+s;for(;x!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:m,charAt:h,currentChar:b,currentPeek:y,next:_,peek:E,reset:g,resetPeek:A,skipToPeek:C}}const Mn=void 0,SC=".",wf="'",CC="tokenizer";function kC(e,t={}){const n=t.location!==!1,r=EC(e),o=()=>r.index(),s=()=>gC(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(v,S,I,...R){const K=c();if(S.column+=I,S.offset+=I,u){const B=n?jl(K.startLoc,S):null,P=ra(v,B,{domain:CC,args:R});u(P)}}function d(v,S,I){v.endLoc=s(),v.currentType=S;const R={type:S};return n&&(R.loc=jl(v.startLoc,v.endLoc)),I!=null&&(R.value=I),R}const p=v=>d(v,13);function m(v,S){return v.currentChar()===S?(v.next(),S):(f(Pe.EXPECTED_TOKEN,s(),0,S),"")}function h(v){let S="";for(;v.currentPeek()===mn||v.currentPeek()===_t;)S+=v.currentPeek(),v.peek();return S}function b(v){const S=h(v);return v.skipToPeek(),S}function y(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function _(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=48&&S<=57}function E(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=y(v.currentPeek());return v.resetPeek(),R}function g(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=v.currentPeek()==="-"?v.peek():v.currentPeek(),K=_(R);return v.resetPeek(),K}function A(v,S){const{currentType:I}=S;if(I!==2)return!1;h(v);const R=v.currentPeek()===wf;return v.resetPeek(),R}function C(v,S){const{currentType:I}=S;if(I!==7)return!1;h(v);const R=v.currentPeek()===".";return v.resetPeek(),R}function x(v,S){const{currentType:I}=S;if(I!==8)return!1;h(v);const R=y(v.currentPeek());return v.resetPeek(),R}function w(v,S){const{currentType:I}=S;if(!(I===7||I===11))return!1;h(v);const R=v.currentPeek()===":";return v.resetPeek(),R}function O(v,S){const{currentType:I}=S;if(I!==9)return!1;const R=()=>{const B=v.currentPeek();return B==="{"?y(v.peek()):B==="@"||B==="|"||B===":"||B==="."||B===mn||!B?!1:B===_t?(v.peek(),R()):M(v,!1)},K=R();return v.resetPeek(),K}function $(v){h(v);const S=v.currentPeek()==="|";return v.resetPeek(),S}function M(v,S=!0){const I=(K=!1,B="")=>{const P=v.currentPeek();return P==="{"||P==="@"||!P?K:P==="|"?!(B===mn||B===_t):P===mn?(v.peek(),I(!0,mn)):P===_t?(v.peek(),I(!0,_t)):!0},R=I();return S&&v.resetPeek(),R}function te(v,S){const I=v.currentChar();return I===Mn?Mn:S(I)?(v.next(),I):null}function se(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function V(v){return te(v,se)}function Q(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function Y(v){return te(v,Q)}function ne(v){const S=v.charCodeAt(0);return S>=48&&S<=57}function pe(v){return te(v,ne)}function Xe(v){const S=v.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function Z(v){return te(v,Xe)}function W(v){let S="",I="";for(;S=pe(v);)I+=S;return I}function X(v){let S="";for(;;){const I=v.currentChar();if(I==="\\"){const R=v.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=I+R,v.next(),v.next()):(v.resetPeek(),S+=I,v.next())}else{if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===mn||I===_t)if(M(v))S+=I,v.next();else{if($(v))break;S+=I,v.next()}else S+=I,v.next()}}return S}function le(v){b(v);let S="",I="";for(;S=Y(v);)I+=S;const R=v.currentChar();if(R&&R!=="}"&&R!==Mn&&R!==mn&&R!==_t&&R!==" "){const K=oe(v);return f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I+K),I+K}return v.currentChar()===Mn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I}function ie(v){b(v);let S="";return v.currentChar()==="-"?(v.next(),S+=`-${W(v)}`):S+=W(v),v.currentChar()===Mn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),S}function Me(v){return v!==wf&&v!==_t}function De(v){b(v),m(v,"'");let S="",I="";for(;S=te(v,Me);)S==="\\"?I+=F(v):I+=S;const R=v.currentChar();return R===_t||R===Mn?(f(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===_t&&(v.next(),m(v,"'")),I):(m(v,"'"),I)}function F(v){const S=v.currentChar();switch(S){case"\\":case"'":return v.next(),`\\${S}`;case"u":return G(v,S,4);case"U":return G(v,S,6);default:return f(Pe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function G(v,S,I){m(v,S);let R="";for(let K=0;K<I;K++){const B=Z(v);if(!B){f(Pe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${v.currentChar()}`);break}R+=B}return`\\${S}${R}`}function q(v){return v!=="{"&&v!=="}"&&v!==mn&&v!==_t}function oe(v){b(v);let S="",I="";for(;S=te(v,q);)I+=S;return I}function be(v){let S="",I="";for(;S=V(v);)I+=S;return I}function k(v){const S=I=>{const R=v.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===mn?I:(I+=R,v.next(),S(I))};return S("")}function T(v){b(v);const S=m(v,"|");return b(v),S}function L(v,S){let I=null;switch(v.currentChar()){case"{":return S.braceNest>=1&&f(Pe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),v.next(),I=d(S,2,"{"),b(v),S.braceNest++,I;case"}":return S.braceNest>0&&S.currentType===2&&f(Pe.EMPTY_PLACEHOLDER,s(),0),v.next(),I=d(S,3,"}"),S.braceNest--,S.braceNest>0&&b(v),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),I;case"@":return S.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I=U(v,S)||p(S),S.braceNest=0,I;default:{let K=!0,B=!0,P=!0;if($(v))return S.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(v,S);if(K=E(v,S))return I=d(S,4,le(v)),b(v),I;if(B=g(v,S))return I=d(S,5,ie(v)),b(v),I;if(P=A(v,S))return I=d(S,6,De(v)),b(v),I;if(!K&&!B&&!P)return I=d(S,12,oe(v)),f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),b(v),I;break}}return I}function U(v,S){const{currentType:I}=S;let R=null;const K=v.currentChar();switch((I===7||I===8||I===11||I===9)&&(K===_t||K===mn)&&f(Pe.INVALID_LINKED_FORMAT,s(),0),K){case"@":return v.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return b(v),v.next(),d(S,8,".");case":":return b(v),v.next(),d(S,9,":");default:return $(v)?(R=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,R):C(v,S)||w(v,S)?(b(v),U(v,S)):x(v,S)?(b(v),d(S,11,be(v))):O(v,S)?(b(v),K==="{"?L(v,S)||R:d(S,10,k(v))):(I===7&&f(Pe.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(v,S))}}function z(v,S){let I={type:13};if(S.braceNest>0)return L(v,S)||p(S);if(S.inLinked)return U(v,S)||p(S);switch(v.currentChar()){case"{":return L(v,S)||p(S);case"}":return f(Pe.UNBALANCED_CLOSING_BRACE,s(),0),v.next(),d(S,3,"}");case"@":return U(v,S)||p(S);default:{if($(v))return I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(M(v))return d(S,0,X(v));break}}return I}function j(){const{currentType:v,offset:S,startLoc:I,endLoc:R}=l;return l.lastType=v,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:j,currentOffset:o,currentPosition:s,context:c}}const xC="parser",TC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,AC=/\\([\\@{}|])/g;function OC(e,t){return t}function IC(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 PC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,_,E,g,...A){const C=y.currentPosition();if(C.offset+=g,C.column+=g,n){const x=t?jl(E,C):null,w=ra(_,x,{domain:xC,args:A});n(w)}}function o(y,_,E){const g={type:y};return t&&(g.start=_,g.end=_,g.loc={start:E,end:E}),g}function s(y,_,E,g){t&&(y.end=_,y.loc&&(y.loc.end=E))}function i(y,_){const E=y.context(),g=o(3,E.offset,E.startLoc);return g.value=_.replace(AC,OC),s(g,y.currentOffset(),y.currentPosition()),g}function a(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(5,g,A);return C.index=parseInt(_,10),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function l(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(4,g,A);return C.key=_,y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function c(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(9,g,A);return C.value=_.replace(TC,IC),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function u(y){const _=y.nextToken(),E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(8,g,A);return _.type!==11?(r(y,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),C.value="",s(C,g,A),{nextConsumeToken:_,node:C}):(_.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,gn(_)),C.value=_.value||"",s(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,_){const E=y.context(),g=o(7,E.offset,E.startLoc);return g.value=_,s(g,y.currentOffset(),y.currentPosition()),g}function d(y){const _=y.context(),E=o(6,_.offset,_.startLoc);let g=y.nextToken();if(g.type===8){const A=u(y);E.modifier=A.node,g=A.nextConsumeToken||y.nextToken()}switch(g.type!==9&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 10:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=f(y,g.value||"");break;case 4:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=l(y,g.value||"");break;case 5:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=a(y,g.value||"");break;case 6:g.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(g)),E.key=c(y,g.value||"");break;default:{r(y,Pe.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const A=y.context(),C=o(7,A.offset,A.startLoc);return C.value="",s(C,A.offset,A.startLoc),E.key=C,s(E,A.offset,A.startLoc),{nextConsumeToken:g,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const _=y.context(),E=_.currentType===1?y.currentOffset():_.offset,g=_.currentType===1?_.endLoc:_.startLoc,A=o(2,E,g);A.items=[];let C=null;do{const O=C||y.nextToken();switch(C=null,O.type){case 0:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(i(y,O.value||""));break;case 5:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(a(y,O.value||""));break;case 4:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(l(y,O.value||""));break;case 6:O.value==null&&r(y,Pe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,gn(O)),A.items.push(c(y,O.value||""));break;case 7:{const $=d(y);A.items.push($.node),C=$.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const x=_.currentType===1?_.lastOffset:y.currentOffset(),w=_.currentType===1?_.lastEndLoc:y.currentPosition();return s(A,x,w),A}function m(y,_,E,g){const A=y.context();let C=g.items.length===0;const x=o(1,_,E);x.cases=[],x.cases.push(g);do{const w=p(y);C||(C=w.items.length===0),x.cases.push(w)}while(A.currentType!==13);return C&&r(y,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function h(y){const _=y.context(),{offset:E,startLoc:g}=_,A=p(y);return _.currentType===13?A:m(y,E,g,A)}function b(y){const _=kC(y,ct({},e)),E=_.context(),g=o(0,E.offset,E.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=h(_),e.onCacheKey&&(g.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(g,_.currentOffset(),_.currentPosition()),g}return{parse:b}}function gn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function LC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Ef(e,t){for(let n=0;n<e.length;n++)Jc(e[n],t)}function Jc(e,t){switch(e.type){case 1:Ef(e.cases,t),t.helper("plural");break;case 2:Ef(e.items,t);break;case 6:{Jc(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 RC(e,t={}){const n=LC(e);n.helper("normalize"),e.body&&Jc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function NC(e){const t=e.body;return t.type===2?Sf(t):t.cases.forEach(n=>Sf(n)),e}function Sf(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=Xc(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 Gr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Gr(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++)Gr(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++)Gr(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;Gr(t.key),t.k=t.key,delete t.key,t.modifier&&(Gr(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 MC(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,b){i.code+=h}function c(h,b=!0){const y=b?r:"";l(o?y+" ".repeat(h):y)}function u(h=!0){const b=++i.indentLevel;h&&c(b)}function f(h=!0){const b=--i.indentLevel;h&&c(b)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:h=>`_${h}`,needIndent:()=>i.needIndent}}function DC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ao(e,t.key),t.modifier?(e.push(", "),ao(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function FC(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&&(ao(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function $C(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&&(ao(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function UC(e,t){t.body?ao(e,t.body):e.push("null")}function ao(e,t){const{helper:n}=e;switch(t.type){case 0:UC(e,t);break;case 1:$C(e,t);break;case 2:FC(e,t);break;case 6:DC(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 jC=(e,t={})=>{const n=ee(t.mode)?t.mode:"normal",r=ee(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=MC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Xc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),ao(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 zC(e,t={}){const n=ct({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=PC(n).parse(e);return r?(s&&NC(a),o&&Gr(a),{ast:a,code:""}):(RC(a,n),jC(a,n))}function BC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function An(e){return xe(e)&&Qc(e)===0&&(Zt(e,"b")||Zt(e,"body"))}const hg=["b","body"];function HC(e){return hr(e,hg)}const mg=["c","cases"];function VC(e){return hr(e,mg,[])}const gg=["s","static"];function WC(e){return hr(e,gg)}const yg=["i","items"];function GC(e){return hr(e,yg,[])}const bg=["t","type"];function Qc(e){return hr(e,bg)}const _g=["v","value"];function Rs(e,t){const n=hr(e,_g);if(n!=null)return n;throw rs(t)}const vg=["m","modifier"];function qC(e){return hr(e,vg)}const wg=["k","key"];function KC(e){const t=hr(e,wg);if(t)return t;throw rs(6)}function hr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Zt(e,o)&&e[o]!=null)return e[o]}return n}const Eg=[...hg,...mg,...gg,...yg,...wg,...vg,..._g,...bg];function rs(e){return new Error(`unhandled node type: ${e}`)}function $a(e){return n=>YC(n,e)}function YC(e,t){const n=HC(t);if(n==null)throw rs(0);if(Qc(n)===1){const s=VC(n);return e.plural(s.reduce((i,a)=>[...i,Cf(e,a)],[]))}else return Cf(e,n)}function Cf(e,t){const n=WC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=GC(t).reduce((o,s)=>[...o,zl(e,s)],[]);return e.normalize(r)}}function zl(e,t){const n=Qc(t);switch(n){case 3:return Rs(t,n);case 9:return Rs(t,n);case 4:{const r=t;if(Zt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Zt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw rs(n)}case 5:{const r=t;if(Zt(r,"i")&&lt(r.i))return e.interpolate(e.list(r.i));if(Zt(r,"index")&&lt(r.index))return e.interpolate(e.list(r.index));throw rs(n)}case 6:{const r=t,o=qC(r),s=KC(r);return e.linked(zl(e,s),o?zl(e,o):void 0,e.type)}case 7:return Rs(t,n);case 8:return Rs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const XC=e=>e;let Ns=Be();function JC(e,t={}){let n=!1;const r=t.onError||bC;return t.onError=o=>{n=!0,r(o)},{...zC(e,t),detectError:n}}function QC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ee(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||XC)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=JC(e,{...t,location:!1,jit:!0}),a=$a(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=$a(e))}else return $a(e)}}let os=null;function ZC(e){os=e}function e0(e,t,n){os&&os.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const t0=n0("function:translate");function n0(e){return t=>os&&os.emit(e,t)}const Hn={INVALID_ARGUMENT:yC,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},r0=24;function Vn(e){return ra(e,null,void 0)}function Zc(e,t){return t.locale!=null?kf(t.locale):kf(e.locale)}let Ua;function kf(e){if(ee(e))return e;if(Je(e)){if(e.resolvedOnce&&Ua!=null)return Ua;if(e.constructor.name==="Function"){const t=e();if(hC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ua=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function o0(e,t,n){return[...new Set([n,...rt(t)?t:xe(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Bl(e,t,n){const r=ee(n)?n:ss,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;rt(i);)i=xf(s,i,t);const a=rt(t)||!Se(t)?t:t.default?t.default:null;i=ee(a)?[a]:a,rt(i)&&xf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function xf(e,t,n){let r=!0;for(let o=0;o<t.length&&ke(r);o++){const s=t[o];ee(s)&&(r=s0(e,t[o],n))}return r}function s0(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=i0(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function i0(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(rt(n)||Se(n))&&n[o]&&(r=n[o])}return r}const mr=[];mr[0]={w:[0],i:[3,0],"[":[4],o:[7]};mr[1]={w:[1],".":[2],"[":[4],o:[7]};mr[2]={w:[2],i:[3,0],0:[3,0]};mr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};mr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};mr[5]={"'":[4,0],o:8,l:[5,0]};mr[6]={'"':[4,0],o:8,l:[6,0]};const a0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function l0(e){return a0.test(e)}function c0(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 u0(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 f0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:l0(t)?c0(t):"*"+t}function d0(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=f0(i),i===!1))return!1;d[1]()}};function p(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,a="\\"+m,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=u0(s),f=mr[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 Tf=new Map;function p0(e,t){return xe(e)?e[t]:null}function h0(e,t){if(!xe(e))return null;let n=Tf.get(t);if(n||(n=d0(t),n&&Tf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(Eg.includes(i)&&An(o)||!xe(o)||!Zt(o,i))return null;const a=o[i];if(a===void 0||Je(o))return null;o=a,s++}return o}const m0="11.4.4",oa=-1,ss="en-US",Si="",Af=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function g0(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?Af(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?Af(e.children):e}}let Sg;function y0(e){Sg=e}let Cg;function b0(e){Cg=e}let kg;function _0(e){kg=e}let xg=null;const v0=e=>{xg=e},w0=()=>xg;let Tg=null;const Of=e=>{Tg=e},E0=()=>Tg;let If=0;function S0(e={}){const t=Je(e.onWarn)?e.onWarn:oC,n=ee(e.version)?e.version:m0,r=ee(e.locale)||Je(e.locale)?e.locale:ss,o=Je(r)?ss:r,s=rt(e.fallbackLocale)||Se(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Se(e.messages)?e.messages:ja(o),a=Se(e.datetimeFormats)?e.datetimeFormats:ja(o),l=Se(e.numberFormats)?e.numberFormats:ja(o),c=ct(Be(),e.modifiers,g0()),u=e.pluralRules||Be(),f=Je(e.missing)?e.missing:null,d=ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,b=Je(e.postTranslation)?e.postTranslation:null,y=Se(e.processor)?e.processor:null,_=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Je(e.messageCompiler)?e.messageCompiler:Sg,A=Je(e.messageResolver)?e.messageResolver:Cg||p0,C=Je(e.localeFallbacker)?e.localeFallbacker:kg||o0,x=xe(e.fallbackContext)?e.fallbackContext:void 0,w=e,O=xe(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,$=xe(w.__numberFormatters)?w.__numberFormatters:new Map,M=xe(w.__meta)?w.__meta:{};If++;const te={version:n,cid:If,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return te.datetimeFormats=a,te.numberFormats=l,te.__datetimeFormatters=O,te.__numberFormatters=$,__INTLIFY_PROD_DEVTOOLS__&&e0(te,n,M),te}const ja=e=>({[e]:Be()});function eu(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return ee(a)?a:t}else return t}function So(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function C0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function k0(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(C0(e,t[r]))return!0;return!1}function Pf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!ee(t[0])&&!dg(t[0])&&!lt(t[0]))return Si;const[l,c,u,f]=Hl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=Zc(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.DateTimeFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)eu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Ag=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Hl(...e){const[t,n,r,o]=e,s=Be();let i=Be(),a;if(ee(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(dg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(lt(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Ag.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Lf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Rf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!lt(t[0]))return Si;const[l,c,u,f]=Vl(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,m=Zc(e,u),h=i(e,o,m);if(!ee(l)||l==="")return new Intl.NumberFormat(m.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let C=0;C<h.length&&(y=h[C],b=n[y]||{},_=b[l],!Se(_));C++)eu(e,l,y,d,E);if(!Se(_)||!ee(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,ct({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Og=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vl(...e){const[t,n,r,o]=e,s=Be();let i=Be();if(!lt(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return ee(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Og.includes(l)?i[l]=n[l]:s[l]=n[l]}),ee(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Nf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const x0=e=>e,T0=e=>"",A0="text",O0=e=>e.length===0?"":Xc(e),I0=mC;function za(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function P0(e){const t=lt(e.pluralIndex)?e.pluralIndex:-1;return lt(e.named?.count)?e.named.count:lt(e.named?.n)?e.named.n:t}function L0(e={}){const t=e.locale,n=P0(e),r=ee(t)&&Je(e.pluralRules?.[t])?e.pluralRules[t]:za,o=r===za?void 0:za,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||Be();lt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Je(e.messages)?e.messages(y,!!_):xe(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):T0)}const f=y=>e.modifiers?e.modifiers[y]:x0,d=Je(e.processor?.normalize)?e.processor.normalize:O0,p=Je(e.processor?.interpolate)?e.processor.interpolate:I0,m=ee(e.processor?.type)?e.processor.type:A0,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",C="";_.length===1?xe(E)?(C=E.modifier||C,A=E.type||A):ee(E)&&(C=E||C):_.length===2&&(ee(E)&&(C=E||C),ee(g)&&(A=g||A));const x=u(y,!0)(b),w=x===""||x===void 0?y:x,O=A==="vnode"&&rt(w)&&C?w[0]:w;return C?f(C)(O,A):O},message:u,type:m,interpolate:p,normalize:d,values:ct(Be(),i,l)};return b}const Mf=()=>"",Qt=e=>Je(e);function Df(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Wl(...t),u=ke(c.missingWarn)?c.missingWarn:e.missingWarn,f=ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,m=ee(c.default)||ke(c.default)?ke(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,h=n||m!=null&&(ee(m)||Je(m)),b=Zc(e,c);d&&R0(c);let[y,_,E]=p?[l,b,a[b]||Be()]:Ig(e,l,b,i,f,u),g=y,A=l;if(!p&&!(ee(g)||An(g)||Qt(g))&&h&&(g=m,A=g),!p&&(!(ee(g)||An(g)||Qt(g))||!ee(_)))return o?oa:l;let C=!1;const x=()=>{C=!0},w=Qt(g)?g:Pg(e,l,_,g,A,x);if(C)return g;const O=D0(e,_,E,c),$=L0(O),M=N0(e,w,$);let te=r?r(M,l):M;if(d&&ee(te)&&(te=dC(te)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:ee(l)?l:Qt(g)?g.key:"",locale:_||(Qt(g)?g.locale:""),format:ee(g)?g:Qt(g)?g.source:"",message:te};se.meta=ct({},e.__meta,w0()||{}),t0(se)}return te}function R0(e){rt(e.list)?e.list=e.list.map(t=>ee(t)?_f(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=_f(e.named[t]))})}function Ig(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Be(),d,p=null;const m="translate";for(let h=0;h<u.length&&(d=u[h],f=i[d]||Be(),(p=l(f,t))===null&&(p=f[t]),!(ee(p)||An(p)||Qt(p)));h++)if(!k0(d,u)){const b=eu(e,t,d,s,m);b!==t&&(p=b)}return[p,d,f]}function Pg(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Qt(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,M0(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function N0(e,t,n){return t(n)}function Wl(...e){const[t,n,r]=e,o=Be();if(!ee(t)&&!lt(t)&&!Qt(t)&&!An(t))throw Vn(Hn.INVALID_ARGUMENT);const s=lt(t)?String(t):(Qt(t),t);return lt(n)?o.plural=n:ee(n)?o.default=n:Se(n)&&!na(n)?o.named=n:rt(n)&&(o.list=n),lt(r)?o.plural=r:ee(r)?o.default=r:Se(r)&&ct(o,r),[s,o]}function M0(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>sC(t,n,i)}}function D0(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,m)=>{let h=i(n,p);if(h==null&&(u||m)){const[b,,y]=Ig(u||e,p,t,a,l,c);h=b??i(y,p)}if(ee(h)||An(h)){let b=!1;const _=Pg(e,p,t,h,p,()=>{b=!0});return b?Mf:_}else return Qt(h)?h:Mf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),lt(r.plural)&&(d.pluralIndex=r.plural),d}BC();const F0="11.4.4";function $0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Er().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Er().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Er().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Er().__INTLIFY_PROD_DEVTOOLS__=!1)}const Pt={UNEXPECTED_RETURN_TYPE:r0,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 Dt(e,...t){return ra(e,null,void 0)}const Gl=pr("__translateVNode"),ql=pr("__datetimeParts"),Kl=pr("__numberParts"),Lg=pr("__setPluralRules"),Rg=pr("__injectWithOption"),Yr=pr("__dispose");function is(e){if(!xe(e)||An(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))xe(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]]=Be()),!xe(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(An(o)?Eg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!An(o)){const i=o[n[r]];xe(i)&&is(i)}}return e}function tu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Se(n)?n:rt(r)?Be():{[e]:Be()};if(rt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Be(),Js(c,i[l])):Js(c,i)}else ee(a)&&Js(JSON.parse(a),i)}),o==null&&s)for(const a in i)Zt(i,a)&&is(i[a]);return i}function Ng(e){return e.type}function Mg(e,t,n){let r=xe(t.messages)?t.messages:Be();"__i18nGlobal"in n&&(r=tu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(xe(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ff(e){return Qe(ms,null,e,0)}function as(){return Rn()}const $f="__INTLIFY_META__",Uf=()=>[],U0=()=>!1;let jf=0;function zf(e){return((t,n,r,o)=>e(n,r,as()||void 0,o))}const j0=()=>{const e=as();let t=null;return e&&(t=Ng(e)[$f])?{[$f]:t}:null};function Ci(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Ei?_e:kn;let i=ke(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:ee(e.locale)?e.locale:ss),l=s(t&&i?t.fallbackLocale.value:ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(tu(a.value,e)),u=s(Se(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Se(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:ke(e.missingWarn)||io(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ke(e.fallbackWarn)||io(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,b=Je(e.missing)?e.missing:null,y=Je(e.missing)?zf(e.missing):null,_=Je(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Se(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&Of(null);const P={version:F0,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=u.value,P.numberFormats=f.value,P.__datetimeFormatters=Se(x)?x.__datetimeFormatters:void 0,P.__numberFormatters=Se(x)?x.__numberFormatters:void 0;const D=S0(P);return r&&Of(D),D})(),So(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const $=J({get:()=>a.value,set:P=>{x.locale=P,a.value=P}}),M=J({get:()=>l.value,set:P=>{x.fallbackLocale=P,l.value=P,So(x,a.value,P)}}),te=J(()=>c.value),se=J(()=>u.value),V=J(()=>f.value);function Q(){return Je(_)?_:null}function Y(P){_=P,x.postTranslation=P}function ne(){return b}function pe(P){P!==null&&(y=zf(P)),b=P,x.missing=y}const Xe=(P,D,re,ce,Ee,$e)=>{O();let Oe;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?E0():void 0),Oe=P(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(re!=="translate exists"&&lt(Oe)&&Oe===oa||re==="translate exists"&&!Oe){const[Kt,nn]=D();return t&&m?ce(t):Ee(Kt)}else{if($e(Oe))return Oe;throw Dt(Pt.UNEXPECTED_RETURN_TYPE)}};function Z(...P){return Xe(D=>Reflect.apply(Df,null,[D,...P]),()=>Wl(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>ee(D))}function W(...P){const[D,re,ce]=P;if(ce&&!xe(ce))throw Dt(Pt.INVALID_ARGUMENT);return Z(D,re,ct({resolvedMessage:!0},ce||{}))}function X(...P){return Xe(D=>Reflect.apply(Pf,null,[D,...P]),()=>Hl(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function le(...P){return Xe(D=>Reflect.apply(Rf,null,[D,...P]),()=>Vl(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>Si,D=>ee(D)||rt(D))}function ie(P){return P.map(D=>ee(D)||lt(D)||ke(D)?Ff(String(D)):D)}const De={normalize:ie,interpolate:P=>P,type:"vnode"};function F(...P){return Xe(D=>{let re;const ce=D;try{ce.processor=De,re=Reflect.apply(Df,null,[ce,...P])}finally{ce.processor=null}return re},()=>Wl(...P),"translate",D=>D[Gl](...P),D=>[Ff(D)],D=>rt(D))}function G(...P){return Xe(D=>Reflect.apply(Rf,null,[D,...P]),()=>Vl(...P),"number format",D=>D[Kl](...P),Uf,D=>ee(D)||rt(D))}function q(...P){return Xe(D=>Reflect.apply(Pf,null,[D,...P]),()=>Hl(...P),"datetime format",D=>D[ql](...P),Uf,D=>ee(D)||rt(D))}function oe(P){C=P,x.pluralRules=C}function be(P,D){return Xe(()=>{if(!P)return!1;const re=ee(D)?D:a.value,ce=ee(D)?[re]:Bl(x,l.value,re);for(let Ee=0;Ee<ce.length;Ee++){const $e=L(ce[Ee]);let Oe=x.messageResolver($e,P);if(Oe===null&&(Oe=$e[P]),An(Oe)||Qt(Oe)||ee(Oe))return!0}return!1},()=>[P],"translate exists",re=>Reflect.apply(re.te,re,[P,D]),U0,re=>ke(re))}function k(P){let D=null;const re=Bl(x,l.value,a.value);for(let ce=0;ce<re.length;ce++){const Ee=c.value[re[ce]]||{},$e=x.messageResolver(Ee,P);if($e!=null){D=$e;break}}return D}function T(P){const D=k(P);return D??(t?t.tm(P)||{}:{})}function L(P){return c.value[P]||{}}function U(P,D){if(o){const re={[P]:D};for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P]}c.value[P]=D,x.messages=c.value}function z(P,D){c.value[P]=c.value[P]||{};const re={[P]:D};if(o)for(const ce in re)Zt(re,ce)&&is(re[ce]);D=re[P],Js(D,c.value[P]),x.messages=c.value}function j(P){return u.value[P]||{}}function v(P,D){u.value[P]=D,x.datetimeFormats=u.value,Lf(x,P,D)}function S(P,D){u.value[P]=ct(u.value[P]||{},D),x.datetimeFormats=u.value,Lf(x,P,D)}function I(P){return f.value[P]||{}}function R(P,D){f.value[P]=D,x.numberFormats=f.value,Nf(x,P,D)}function K(P,D){f.value[P]=ct(f.value[P]||{},D),x.numberFormats=f.value,Nf(x,P,D)}jf++,t&&Ei&&(Ze(t.locale,P=>{i&&(a.value=P,x.locale=P,So(x,a.value,l.value))}),Ze(t.fallbackLocale,P=>{i&&(l.value=P,x.fallbackLocale=P,So(x,a.value,l.value))}));const B={id:jf,locale:$,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(P){i=P,P&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,So(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:te,get modifiers(){return A},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(P){d=P,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(P){p=P,x.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(P){m=P},get fallbackFormat(){return h},set fallbackFormat(P){h=P,x.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(P){E=P,x.warnHtmlMessage=P},get escapeParameter(){return g},set escapeParameter(P){g=P,x.escapeParameter=P},t:Z,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:Q,setPostTranslationHandler:Y,getMissingHandler:ne,setMissingHandler:pe,[Lg]:oe};return B.datetimeFormats=se,B.numberFormats=V,B.rt=W,B.te=be,B.tm=T,B.d=X,B.n=le,B.getDateTimeFormat=j,B.setDateTimeFormat=v,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Rg]=n,B[Gl]=F,B[ql]=q,B[Kl]=G,B}function z0(e){const t=ee(e.locale)?e.locale:ss,n=ee(e.fallbackLocale)||rt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Je(e.missing)?e.missing:void 0,o=ke(e.silentTranslationWarn)||io(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=ke(e.silentFallbackWarn)||io(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ke(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Je(e.postTranslation)?e.postTranslation:void 0,f=ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ke(e.sync)?e.sync:!0;let m=e.messages;if(Se(e.sharedMessages)){const A=e.sharedMessages;m=Object.keys(A).reduce((x,w)=>{const O=x[w]||(x[w]={});return ct(O,A[w]),x},m||{})}const{__i18n:h,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:g,datetimeFormats:_,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:b,__injectWithOption:y}}function Yl(e={}){const t=Ci(z0(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=ke(o)?!o:o},get silentFallbackWarn(){return ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=ke(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function B0(e,t,n){return{beforeCreate(){const r=as();if(!r)throw Dt(Pt.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=Bf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Yl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Bf(e,o);else{this.$i18n=Yl({__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&&Mg(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 Dt(Pt.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 Bf(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[Lg](t.pluralizationRules||e.pluralizationRules);const n=tu(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 nu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function H0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===at?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Be())}function Dg(){return at}const V0=ot({name:"i18n-t",props:ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>lt(e)||!isNaN(e)}},nu),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Be();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=ee(e.plural)?+e.plural:e.plural);const u=H0(t,l);return o[Gl](e.keypath,u,c)},i=ct(Be(),r),a=ee(e.tag)||xe(e.tag)?e.tag:Dg();return xe(a)?ur(a,i,{default:s}):ur(a,i,s())}}}),Hf=V0;function W0(e){return rt(e)&&!ee(e[0])}function Fg(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Be();e.locale&&(c.locale=e.locale),ee(e.format)?c.key=e.format:xe(e.format)&&(ee(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,m)=>n.includes(m)?ct(Be(),p,{[m]:e.format[m]}):p,Be()));const f=r(e.value,c,u);let d=[c.key];return rt(f)?d=f.map((p,m)=>{const h=o[p.type],b=h?h({[p.type]:p.value,index:m,parts:f}):[p.value];return W0(b)&&(b[0].key=`${p.type}-${m}`),b}):ee(f)&&(d=[f]),d},a=ct(Be(),s),l=ee(e.tag)||xe(e.tag)?e.tag:Dg();return xe(l)?ur(l,a,{default:i}):ur(l,a,i())}}const G0=ot({name:"i18n-n",props:ct({value:{type:Number,required:!0},format:{type:[String,Object]}},nu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return Fg(e,t,Og,(...r)=>n[Kl](...r))}}),Vf=G0;function q0(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 K0(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Dt(Pt.UNEXPECTED_ERROR);const c=q0(e,a.$),u=Wf(l);return[Reflect.apply(c.t,c,[...Gf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Ei&&(i.__i18nWatcher=Ze(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ei&&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=Wf(a);i.textContent=Reflect.apply(l.t,l,[...Gf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Wf(e){if(ee(e))return{path:e};if(Se(e)){if(!("path"in e))throw Dt(Pt.REQUIRED_VALUE,"path");return e}else throw Dt(Pt.INVALID_VALUE)}function Gf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return ee(n)&&(i.locale=n),lt(o)&&(i.plural=o),lt(s)&&(i.plural=s),[t,a,i]}function Y0(e,t,...n){const r=Se(n[0])?n[0]:{};(!ke(r.globalInstall)||r.globalInstall)&&([Hf.name,"I18nT"].forEach(s=>e.component(s,Hf)),[Vf.name,"I18nN"].forEach(s=>e.component(s,Vf)),[Yf.name,"I18nD"].forEach(s=>e.component(s,Yf))),e.directive("t",K0(t))}const X0=pr("global-vue-i18n");function J0(e={}){const t=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=ke(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Q0(e,t),i=pr("");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),Se(d[0])){const h=d[0];u.__composerExtend=h.__composerExtend,u.__vueI18nExtend=h.__vueI18nExtend}let p=null;!t&&n&&(p=sk(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Y0(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(B0(s,s.__composer,u));const m=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),m()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=as();if(t==null)throw Dt(Pt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dt(Pt.NOT_INSTALLED);const n=Z0(t),r=tk(n),o=Ng(t),s=ek(e,o);if(s==="global")return Mg(r,e,o),r;if(s==="parent"){let l=qf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Dt(Pt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ct({},e),u=qf(n,t);c.__root=u||r;const f=Ci(c);return l.__composerExtend&&(f[Yr]=l.__composerExtend(f)),Vi()&&xh(()=>{const p=f[Yr];p&&(p(),delete f[Yr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ct({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ci(l),i.__composerExtend&&(a[Yr]=i.__composerExtend(a)),rk(i,t,a),i.__setInstance(t,a)}return a}function Q0(e,t){const n=Nc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Yl(e)):n.run(()=>Ci(e));if(r==null)throw Dt(Pt.UNEXPECTED_ERROR);return[n,r]}function Z0(e){const t=Vt(e.isCE?X0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dt(e.isCE?Pt.NOT_INSTALLED_WITH_PROVIDE:Pt.UNEXPECTED_ERROR);return t}function ek(e,t){return na(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tk(e){return e.mode==="composition"?e.global:e.global.__composer}function qf(e,t,n=!1){let r=null;const o=t.root;let s=nk(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[Rg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function nk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function rk(e,t,n){Ln(()=>{},t),go(()=>{const r=n;e.__deleteInstance(t);const o=r[Yr];o&&(o(),delete r[Yr])},t)}const ok=["locale","fallbackLocale","availableLocales"],Kf=["t","rt","d","n","tm","te"];function sk(e,t){const n=Object.create(null);return ok.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Dt(Pt.UNEXPECTED_ERROR);const i=Ye(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,Kf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Dt(Pt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Kf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const ik=ot({name:"i18n-d",props:ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},nu),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return Fg(e,t,Ag,(...r)=>n[ql](...r))}}),Yf=ik;$0();y0(QC);b0(h0);_0(Bl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Er();e.__INTLIFY__=!0,ZC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ak={class:"app-container"},lk=ot({__name:"App",setup(e){const{locale:t}=Mr(),n=qc(),r=mE(n),{params:{compId:o="",instanceUid:s}}=Nr(),{messageListener:i,sendMessageToTop:a}=bs(),{addListener:l}=i(),c=ys();return l(Fe.THEME_CHANGE_SET,u=>{r(u.isDark??!1)}),l(Fe.LOCALE_SET,u=>{t.value=u}),a(Fe.LOCALE_GET,o,c,s),a(Fe.THEME_CHANGE_GET,o,c,s),Ln(()=>{const u=document.getElementById("loadingContainer");u&&u.remove()}),(u,f)=>{const d=sm("router-view");return ge(),ze("div",ak,[Qe(d)])}}}),tn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ck=tn(lk,[["__scopeId","data-v-288f0b68"]]),Ms=window.parent,Xf=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Ds=null;function uk(){return Ds||(Ds=new Proxy(Ms,{get(e,t){if(Xf.includes(String(t)))return t==="postMessage"?Ms.postMessage.bind(Ms):Reflect.get(Ms,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return Xf.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Ds)}Object.defineProperty(window,"parent",{get(){return uk()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const fk={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},dk={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:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},pk={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:"支持创建分组菜单,灵活组织团队组件"},hk={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:"去登录"},mk={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},gk={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!"}},yk={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},bk={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},_k={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},vk={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},wk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},Ek={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},Sk={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},Ck={submit:"提交"},kk={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},xk={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},Tk={common:fk,comp:dk,team:pk,user:hk,file:mk,message:gk,route:yk,markdown:bk,terminal:_k,deps:vk,setting:wk,upgrade:Ek,tag:Sk,formCreate:Ck,validateHash:kk,project:xk},Ak={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},Ok={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",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},Ik={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"},Pk={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"},Lk={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"},Rk={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!"}},Nk={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"},Mk={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},Dk={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},Fk={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"}},$k={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Uk={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"},jk={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},zk={submit:"Submit"},Bk={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'},Hk={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},Vk={common:Ak,comp:Ok,team:Ik,user:Pk,file:Lk,message:Rk,route:Nk,markdown:Mk,terminal:Dk,deps:Fk,setting:$k,upgrade:Uk,tag:jk,formCreate:zk,validateHash:Bk,project:Hk},Wk={zh:Tk,en:Vk},Gk=localStorage.getItem(eC.LOCALE_KEY)||"zh",qk=J0({locale:Gk,messages:Wk,legacy:!1});function Kk(e){e.use(qk)}let $g;const sa=e=>$g=e,Ug=Symbol();function Xl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qo||(qo={}));function Yk(){const e=Nc(!0),t=e.run(()=>_e({}));let n=[],r=[];const o=$c({install(s){sa(o),o._a=s,s.provide(Ug,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 jg=()=>{};function Jf(e,t,n,r=jg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Vi()&&xh(o),o}function Fr(e,...t){e.forEach(n=>{n(...t)})}const Xk=e=>e(),Qf=Symbol(),Ba=Symbol();function Jl(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];Xl(o)&&Xl(r)&&e.hasOwnProperty(n)&&!Ye(r)&&!Wn(r)?e[n]=Jl(o,r):e[n]=r}return e}const Jk=Symbol();function Qk(e){return!Xl(e)||!Object.prototype.hasOwnProperty.call(e,Jk)}const{assign:nr}=Object;function Zk(e){return!!(Ye(e)&&e.effect)}function ex(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=hv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=$c(J(()=>{sa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=zg(e,c,t,n,r,!0),l}function zg(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={});let h;function b(w){let O;c=u=!1,typeof w=="function"?(w(r.state.value[e]),O={type:qo.patchFunction,storeId:e,events:p}):(Jl(r.state.value[e],w),O={type:qo.patchObject,payload:w,storeId:e,events:p});const $=h=Symbol();dr().then(()=>{h===$&&(c=!0)}),u=!0,Fr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,$=O?O():{};this.$patch(M=>{nr(M,$)})}:jg;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(w,O="")=>{if(Qf in w)return w[Ba]=O,w;const $=function(){sa(r);const M=Array.from(arguments),te=new Set,se=new Set;function V(ne){te.add(ne)}function Q(ne){se.add(ne)}Fr(d,{args:M,name:$[Ba],store:A,after:V,onError:Q});let Y;try{Y=w.apply(this&&this.$id===e?this:A,M)}catch(ne){throw Fr(se,ne),ne}return Y instanceof Promise?Y.then(ne=>(Fr(te,ne),ne)).catch(ne=>(Fr(se,ne),Promise.reject(ne))):(Fr(te,Y),Y)};return $[Qf]=!0,$[Ba]=O,$},g={_p:r,$id:e,$onAction:Jf.bind(null,d),$patch:b,$reset:y,$subscribe(w,O={}){const $=Jf(f,w,O.detached,()=>M()),M=i.run(()=>Ze(()=>r.state.value[e],te=>{(O.flush==="sync"?u:c)&&w({storeId:e,type:qo.direct,events:p},te)},nr({},l,O)));return $},$dispose:_},A=ps(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||Xk)(()=>r._e.run(()=>(i=Nc()).run(()=>t({action:E}))));for(const w in x){const O=x[w];if(Ye(O)&&!Zk(O)||Wn(O))s||(m&&Qk(O)&&(Ye(O)?O.value=m[w]:Jl(O,m[w])),r.state.value[e][w]=O);else if(typeof O=="function"){const $=E(O,w);x[w]=$,a.actions[w]=O}}return nr(A,x),nr(Ce(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:w=>{b(O=>{nr(O,w)})}}),r._p.forEach(w=>{nr(A,i.run(()=>w({store:A,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(A.$state,m),c=!0,u=!0,A}function Bg(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=jc();return i=i||(l?Vt(Ug,null):null),i&&sa(i),i=$g,i._s.has(e)||(o?zg(e,t,r,i):ex(e,r,i)),i._s.get(e)}return s.$id=e,s}function tx({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const Zf=Yk();function nx(e){Zf.use(tx),e.use(Zf)}var rx=typeof global=="object"&&global&&global.Object===Object&&global,ox=typeof self=="object"&&self&&self.Object===Object&&self,sx=rx||ox||Function("return this")(),ki=sx.Symbol,Hg=Object.prototype,ix=Hg.hasOwnProperty,ax=Hg.toString,Co=ki?ki.toStringTag:void 0;function lx(e){var t=ix.call(e,Co),n=e[Co];try{e[Co]=void 0;var r=!0}catch{}var o=ax.call(e);return r&&(t?e[Co]=n:delete e[Co]),o}var cx=Object.prototype,ux=cx.toString;function fx(e){return ux.call(e)}var dx="[object Null]",px="[object Undefined]",ed=ki?ki.toStringTag:void 0;function Vg(e){return e==null?e===void 0?px:dx:ed&&ed in Object(e)?lx(e):fx(e)}function hx(e){return e!=null&&typeof e=="object"}var mx="[object Symbol]";function gx(e){return typeof e=="symbol"||hx(e)&&Vg(e)==mx}var yx=/\s/;function bx(e){for(var t=e.length;t--&&yx.test(e.charAt(t)););return t}var _x=/^\s+/;function vx(e){return e&&e.slice(0,bx(e)+1).replace(_x,"")}function xi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var td=NaN,wx=/^[-+]0x[0-9a-f]+$/i,Ex=/^0b[01]+$/i,Sx=/^0o[0-7]+$/i,Cx=parseInt;function kx(e){if(typeof e=="number")return e;if(gx(e))return td;if(xi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=xi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=vx(e);var n=Ex.test(e);return n||Sx.test(e)?Cx(e.slice(2),n?2:8):wx.test(e)?td:+e}var nd=1/0,xx=17976931348623157e292;function rd(e){if(!e)return e===0?e:0;if(e=kx(e),e===nd||e===-nd){var t=e<0?-1:1;return t*xx}return e===e?e:0}var Tx="[object AsyncFunction]",Ax="[object Function]",Ox="[object GeneratorFunction]",Ix="[object Proxy]";function Px(e){if(!xi(e))return!1;var t=Vg(e);return t==Ax||t==Ox||t==Tx||t==Ix}var Lx=9007199254740991,Rx=/^(?:0|[1-9]\d*)$/;function Nx(e,t){var n=typeof e;return t=t??Lx,!!t&&(n=="number"||n!="symbol"&&Rx.test(e))&&e>-1&&e%1==0&&e<t}function Mx(e,t){return e===t||e!==e&&t!==t}var Dx=9007199254740991;function Fx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Dx}function $x(e){return e!=null&&Fx(e.length)&&!Px(e)}function Ux(e,t,n){if(!xi(n))return!1;var r=typeof t;return(r=="number"?$x(n)&&Nx(t,n.length):r=="string"&&t in n)?Mx(n[t],e):!1}var jx=Math.floor,zx=Math.random;function Bx(e,t){return e+jx(zx()*(t-e+1))}var Hx=parseFloat,Vx=Math.min,Wx=Math.random;function Gx(e,t,n){if(n&&typeof n!="boolean"&&Ux(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=rd(e),t===void 0?(t=e,e=0):t=rd(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Wx();return Vx(e+o*(t-e+Hx("1e-"+((o+"").length-1))),t)}return Bx(e,t)}const Wg=/^[a-z0-9]+(-[a-z0-9]+)*$/,ia=(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&&!Qs(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&&!Qs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Qs(a,n)?null:a}return null},Qs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function qx(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 Gg=Object.freeze({left:0,top:0,width:16,height:16}),Ti=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),aa=Object.freeze({...Gg,...Ti}),Ql=Object.freeze({...aa,body:"",hidden:!1});function Kx(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 od(e,t){const n=Kx(e,t);for(const r in Ql)r in Ti?r in e&&!(r in n)&&(n[r]=Ti[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Yx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=od(r[a]||o[a],s)}return i(t),n.forEach(i),od(e,s)}function qg(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=qx(e);for(const o in r){const s=r[o];s&&(t(o,Yx(e,o,s)),n.push(o))}return n}const Xx={provider:"",aliases:{},not_found:{},...Gg};function Ha(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Kg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ha(e,Xx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Ha(s,Ql))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]||!Ha(s,Ql))return null}return t}const sd=Object.create(null);function Jx(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function lo(e,t){const n=sd[e]||(sd[e]=Object.create(null));return n[t]||(n[t]=Jx(e,t))}function Yg(e,t){return Kg(t)?qg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Qx(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ls=!1;function Xg(e){return typeof e=="boolean"&&(ls=e),ls}function Zx(e){const t=typeof e=="string"?ia(e,!0,ls):e;if(t){const n=lo(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function eT(e,t){const n=ia(e,!0,ls);if(!n)return!1;const r=lo(n.provider,n.prefix);return t?Qx(r,n.name,t):(r.missing.add(n.name),!0)}function tT(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ls&&!t&&!e.prefix){let r=!1;return Kg(e)&&(e.prefix="",qg(e,(o,s)=>{eT(o,s)&&(r=!0)})),r}const n=e.prefix;return Qs({prefix:n,name:"a"})?!!Yg(lo(t,n),e):!1}const Jg=Object.freeze({width:null,height:null}),Qg=Object.freeze({...Jg,...Ti}),nT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function id(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(nT);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=rT.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 oT(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 sT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function iT(e,t,n){const r=oT(e);return sT(r.defs,t+r.content+n)}const aT=e=>e==="unset"||e==="undefined"||e==="none";function lT(e,t){const n={...aa,...e},r={...Qg,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const b=[],y=h.hFlip,_=h.vFlip;let E=h.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=iT(s,'<g transform="'+b.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=id(f,l/c)):(u=i==="auto"?l:i,f=a===null?id(u,c/l):a==="auto"?c:a);const d={},p=(h,b)=>{aT(b)||(d[h]=b.toString())};p("width",u),p("height",f);const m=[o.left,o.top,l,c];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:s}}const cT=/\sid="(\S+)"/g,ad=new Map;function uT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=ad.get(e)||0;return ad.set(e,t+1),t?`${e}${t}`:e}function fT(e){const t=[];let n;for(;n=cT.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=uT(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 Zl=Object.create(null);function dT(e,t){Zl[e]=t}function ec(e){return Zl[e]||Zl[""]}function ru(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 ou=Object.create(null),ko=["https://api.simplesvg.com","https://api.unisvg.com"],Zs=[];for(;ko.length>0;)ko.length===1||Math.random()>.5?Zs.push(ko.shift()):Zs.push(ko.pop());ou[""]=ru({resources:["https://api.iconify.design"].concat(Zs)});function pT(e,t){const n=ru(t);return n===null?!1:(ou[e]=n,!0)}function su(e){return ou[e]}const hT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ld=hT();function mT(e,t){const n=su(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 gT(e){return e===404}const yT=(e,t,n)=>{const r=[],o=mT(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 bT(e){if(typeof e=="string"){const t=su(e);if(t)return t.path}return"/"}const _T=(e,t,n)=>{if(!ld){n("abort",424);return}let r=bT(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;ld(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(gT(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)})},vT={prepare:yT,send:_T};function Zg(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function wT(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||Zg([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let ET=0;function ST(e,t,n){const r=ET++,o=Zg.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 CT(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]=lo(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 kT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ia(o,t,n):o;s&&r.push(s)}),r}const xT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function TT(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 m(){f&&(clearTimeout(f),f=null)}function h(){l==="pending"&&(l="aborted"),m(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(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:b,abort:h}}function _(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function g(C,x,w){const O=x!=="success";switch(d=d.filter($=>$!==C),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=w,_();return}if(O){u=w,d.length||(i.length?A():_());return}if(m(),E(),!e.random){const $=e.resources.indexOf(C.resource);$!==-1&&$!==e.index&&(e.index=$)}l="completed",p.forEach($=>{$(w)})}function A(){if(l!=="pending")return;m();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{m(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:C,callback:(w,O)=>{g(x,w,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(C,t,x.callback)}return setTimeout(A),y}function ey(e){const t={...xT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=TT(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 cd(){}const Va=Object.create(null);function AT(e){if(!Va[e]){const t=su(e);if(!t)return;Va[e]={config:t,redundancy:ey(t)}}return Va[e]}function OT(e,t,n){let r,o;if(typeof e=="string"){const s=ec(e);if(!s)return n(void 0,424),cd;o=s.send;const i=AT(e);i&&(r=i.redundancy)}else{const s=ru(e);if(s){r=ey(s);const i=ec(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),cd):r.query(t,o,n)().abort}function ud(){}function IT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,wT(e)}))}function PT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Wg)?t:n).push(r)}),{valid:t,invalid:n}}function xo(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(!Yg(e,n).length){r();return}}catch(o){console.error(o)}r(),IT(e)}function fd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function LT(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)){fd(e.loadIcons(o,r,n),c=>{xo(e,o,c)});return}if(s){o.forEach(c=>{fd(s(c,r,n),u=>{xo(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=PT(o);if(a.length&&xo(e,a,null),!i.length)return;const l=r.match(Wg)?ec(n):null;if(!l){xo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{OT(n,c,u=>{xo(e,c.icons,u)})})}))}const RT=(e,t)=>{const n=CT(kT(e,!0,Xg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,ud)}),()=>{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(lo(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=lo(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&&LT(a,l)}),t?ST(t,n,o):ud};function NT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Jg?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const MT=/[\s,]+/;function DT(e,t){t.split(MT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function FT(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 $T(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 UT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jT(e){return"data:image/svg+xml,"+UT(e)}function zT(e){return'url("'+jT(e)+'")'}const dd={...Qg,inline:!1},BT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},HT={display:"inline-block"},tc={backgroundColor:"currentColor"},ty={backgroundColor:"transparent"},pd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hd={webkitMask:tc,mask:tc,background:ty};for(const e in hd){const t=hd[e];for(const n in pd)t[e+n]=pd[n]}const ei={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ei[e+"-flip"]=t,ei[e.slice(0,1)+"-flip"]=t,ei[e+"Flip"]=t});function md(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gd=(e,t)=>{const n=NT(dd,t),r={...BT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const b=t[h];if(b!==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]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&DT(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[h]=FT(b):typeof b=="number"&&(n[h]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ei[h];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):dd[h]===void 0&&(r[h]=b)}}}const l=lT(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=fT(l.body),ur("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),m=$T(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":zT(m),width:md(c.width),height:md(c.height),...HT,...p?tc:ty,...a},ur("span",r)};Xg(!0);dT("",vT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!tT(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;pT(n,o)||console.error(r)}catch{console.error(r)}}}}const VT={...aa,body:""},WT=ot((e,{emit:t})=>{const n=_e(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=_e(!!e.ssr),s=_e(""),i=kn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=ia(c,!1,!0))===null)return null;let f=Zx(u);if(!f){const m=n.value;return(!m||m.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:RT([u],l)}),null}r(),s.value!==c&&(s.value=c,dr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const m=d(f.body,u.name,u.prefix,u.provider);typeof m=="string"&&(f.body=m)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():Ln(()=>{o.value=!0,l()}),Ze(()=>e.icon,l),go(r),()=>{const c=i.value;if(!c)return gd(VT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),gd({...aa,...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 GT(e){e.component("Icon",WT)}const la="v-loading-mask",ny="v-loading-spinner",ry="v-loading-parent";function qT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function KT(){const e=document.createElement("div");e.className=la,e.innerHTML=`<div class="${ny}"></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=qT(),t.zIndex="999",t.borderRadius="inherit",e}function YT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
4
4
  .${ny} {
5
5
  width: 40px;
6
6
  height: 40px;
@@ -14,7 +14,7 @@
14
14
  0% { transform: rotate(0deg); }
15
15
  100% { transform: rotate(360deg); }
16
16
  }
17
- `,document.head.appendChild(e)}const XT=200,Fs=new WeakMap;function JT(e){if(e.querySelector(`.${la}`))return;e.classList.add(ry),getComputedStyle(e).position==="static"&&(e.style.position="relative"),YT(),e.appendChild(KT())}function QT(e){const t=e.querySelector(`.${la}`);t&&t.remove(),e.classList.remove(ry)}function yd(e,t){const n=Fs.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${la}`)){const o=setTimeout(()=>{Fs.delete(e),JT(e)},XT);Fs.set(e,o)}}else n&&(clearTimeout(n),Fs.delete(e)),QT(e)}const ZT={mounted(e,t){yd(e,t)},updated(e,t){t.value!==t.oldValue&&yd(e,t)}};function eA(e){nx(e),Kk(e),GT(e),e.directive("loading",ZT)}const qr=typeof document<"u";function oy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&oy(e.default)}const Ie=Object.assign;function Wa(e,t){const n={};for(const r in t){const o=t[r];n[r]=fn(o)?o.map(e):e(o)}return n}const Ko=()=>{},fn=Array.isArray;function bd(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let nt=(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 sy=Symbol("");nt.MATCHER_NOT_FOUND+"",nt.NAVIGATION_GUARD_REDIRECT+"",nt.NAVIGATION_ABORTED+"",nt.NAVIGATION_CANCELLED+"",nt.NAVIGATION_DUPLICATED+"";function co(e,t){return Ie(new Error,{type:e,[sy]:!0},t)}function Dn(e,t){return e instanceof Error&&sy in e&&(t==null||!!(e.type&t))}const nA=["params","query","hash"];function rA(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of nA)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const oA=Symbol(""),_d=Symbol(""),iu=Symbol(""),iy=Symbol(""),nc=Symbol("");const ay=/#/g,sA=/&/g,iA=/\//g,aA=/=/g,lA=/\?/g,ly=/\+/g,cA=/%5B/g,uA=/%5D/g,cy=/%5E/g,fA=/%60/g,uy=/%7B/g,dA=/%7C/g,fy=/%7D/g,pA=/%20/g;function au(e){return e==null?"":encodeURI(""+e).replace(dA,"|").replace(cA,"[").replace(uA,"]")}function hA(e){return au(e).replace(uy,"{").replace(fy,"}").replace(cy,"^")}function rc(e){return au(e).replace(ly,"%2B").replace(pA,"+").replace(ay,"%23").replace(sA,"%26").replace(fA,"`").replace(uy,"{").replace(fy,"}").replace(cy,"^")}function mA(e){return rc(e).replace(aA,"%3D")}function gA(e){return au(e).replace(ay,"%23").replace(lA,"%3F")}function yA(e){return gA(e).replace(iA,"%2F")}function Ai(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bA=/\/$/,_A=e=>e.replace(bA,"");function Ga(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=SA(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:Ai(i)}}function vA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uo(t.matched[r],n.matched[o])&&dy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function dy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!EA(e[n],t[n]))return!1;return!0}function EA(e,t){return fn(e)?wd(e,t):fn(t)?wd(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function wd(e,t){return fn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function SA(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 Qn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oc=(function(e){return e.pop="pop",e.push="push",e})({}),qa=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function CA(e){if(!e)if(qr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_A(e)}const kA=/^[^#]+#/;function xA(e,t){return e.replace(kA,"#")+t}function TA(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 ca=()=>({left:window.scrollX,top:window.scrollY});function AA(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=TA(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 Ed(e,t){return(history.state?history.state.position-t:-1)+e}const sc=new Map;function OA(e,t){sc.set(e,t)}function IA(e){const t=sc.get(e);return sc.delete(e),t}function PA(e){return typeof e=="string"||e&&typeof e=="object"}function py(e){return typeof e=="string"||typeof e=="symbol"}function LA(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(ly," "),s=o.indexOf("="),i=Ai(s<0?o:o.slice(0,s)),a=s<0?null:Ai(o.slice(s+1));if(i in t){let l=t[i];fn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Sd(e){let t="";for(let n in e){const r=e[n];if(n=mA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(fn(r)?r.map(o=>o&&rc(o)):[r&&rc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function RA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=fn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function To(){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 sr(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(co(nt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):PA(d)?l(co(nt.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 Ka(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(oy(l)){const c=(l.__vccOpts||l)[t];c&&s.push(sr(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=tA(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&sr(d,n,r,i,a,o)()}))}}return s}function NA(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=>uo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>uo(c,l))||o.push(l))}return[n,r,o]}let MA=()=>location.protocol+"//"+location.host;function hy(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),vd(a,"")}return vd(n,e)+r+o}function DA(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=hy(e,location),m=n.value,h=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===m){i=null;return}b=h?d.position-h.position:0}else r(p);o.forEach(y=>{y(n.value,m,{delta:b,type:oc.pop,direction:b?b>0?qa.forward:qa.back:qa.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return s.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Ie({},d.state,{scroll:ca()}),"")}}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 Cd(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ca():null}}function FA(e){const{history:t,location:n}=window,r={value:hy(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:MA()+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,Ie({},t.state,Cd(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=Ie({},o.value,t.state,{forward:l,scroll:ca()});s(u.current,u,!0),s(l,Ie({},Cd(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function $A(e){e=CA(e);const t=FA(e),n=DA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Ie({location:"",base:e,go:r,createHref:xA.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 Sr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ft=(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})(ft||{});const UA={type:Sr.Static,value:""},jA=/[a-zA-Z0-9_]/;function zA(e){if(!e)return[[]];if(e==="/")return[[UA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=ft.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===ft.Static?s.push({type:Sr.Static,value:c}):n===ft.Param||n===ft.ParamRegExp||n===ft.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Sr.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 ft.Static:l==="\\"?(r=n,n=ft.EscapeNext):l==="/"?(c&&f(),i()):l===":"?(f(),n=ft.Param):d();break;case ft.EscapeNext:d(),n=r;break;case ft.Param:l==="("?n=ft.ParamRegExp:jA.test(l)?d():(f(),n=ft.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ft.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=ft.ParamRegExpEnd:u+=l;break;case ft.ParamRegExpEnd:f(),n=ft.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===ft.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const kd="[^/]+?",BA={sensitive:!1,strict:!1,start:!0,end:!0};var At=(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})(At||{});const HA=/[.+*?^${}()[\]/\\]/g;function VA(e,t){const n=Ie({},BA,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[At.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=At.Segment+(n.sensitive?At.BonusCaseSensitive:0);if(d.type===Sr.Static)f||(o+="/"),o+=d.value.replace(HA,"\\$&"),p+=At.Static;else if(d.type===Sr.Param){const{value:m,repeatable:h,optional:b,regexp:y}=d;s.push({name:m,repeatable:h,optional:b});const _=y||kd;if(_!==kd){p+=At.BonusCustomRegExp;try{new RegExp(`(${_})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${m}" (${_}): `+g.message)}}let E=h?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(E=b&&c.length<2?`(?:/${E})`:"/"+E),b&&(E+="?"),o+=E,p+=At.Dynamic,b&&(p+=At.BonusOptional),h&&(p+=At.BonusRepeatable),_===".*"&&(p+=At.BonusWildcard)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=At.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]||"",m=s[d-1];f[m.name]=p&&m.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===Sr.Static)u+=p.value;else if(p.type===Sr.Param){const{value:m,repeatable:h,optional:b}=p,y=m in c?c[m]:"";if(fn(y)&&!h)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const _=fn(y)?y.join("/"):y;if(!_)if(b)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function WA(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]===At.Static+At.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===At.Static+At.Segment?1:-1:0}function my(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=WA(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(xd(r))return 1;if(xd(o))return-1}return o.length-r.length}function xd(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const GA={strict:!1,end:!0,sensitive:!1};function qA(e,t,n){const r=VA(zA(e.path),n),o=Ie(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function KA(e,t){const n=[],r=new Map;t=bd(GA,t);function o(f){return r.get(f)}function s(f,d,p){const m=!p,h=Ad(f);h.aliasOf=p&&p.record;const b=bd(t,f),y=[h];if("alias"in f){const g=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of g)y.push(Ad(Ie({},h,{components:p?p.record.components:h.components,path:A,aliasOf:p?p.record:h})))}let _,E;for(const g of y){const{path:A}=g;if(d&&A[0]!=="/"){const C=d.record.path,x=C[C.length-1]==="/"?"":"/";g.path=d.record.path+(A&&x+A)}if(_=qA(g,d,b),p?p.alias.push(_):(E=E||_,E!==_&&E.alias.push(_),m&&f.name&&!Od(_)&&i(f.name)),gy(_)&&l(_),h.children){const C=h.children;for(let x=0;x<C.length;x++)s(C[x],_,p&&p.children[x])}p=p||_}return E?()=>{i(E)}:Ko}function i(f){if(py(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=JA(f,n);n.splice(d,0,f),f.record.name&&!Od(f)&&r.set(f.record.name,f)}function c(f,d){let p,m={},h,b;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw co(nt.MATCHER_NOT_FOUND,{location:f});b=p.record.name,m=Ie(Td(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&Td(f.params,p.keys.map(E=>E.name))),h=p.stringify(m)}else if(f.path!=null)h=f.path,p=n.find(E=>E.re.test(h)),p&&(m=p.parse(h),b=p.record.name,p.keys.forEach(E=>{E.optional&&!m[E.name]&&delete m[E.name]}));else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw co(nt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});b=p.record.name,m=Ie({},d.params,f.params),h=p.stringify(m)}const y=[];let _=p;for(;_;)y.unshift(_.record),_=_.parent;return{name:b,path:h,params:m,matched:y,meta:XA(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 Td(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ad(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:YA(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 YA(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 Od(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function XA(e){return e.reduce((t,n)=>Ie(t,n.meta),{})}function JA(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;my(e,t[s])<0?r=s:n=s+1}const o=QA(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function QA(e){let t=e;for(;t=t.parent;)if(gy(t)&&my(e,t)===0)return t}function gy({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Id(e){const t=Vt(iu),n=Vt(iy),r=J(()=>{const l=Re(e.to);return t.resolve(l)}),o=J(()=>{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(uo.bind(null,u));if(d>-1)return d;const p=Pd(l[c-2]);return c>1&&Pd(u)===p&&f[f.length-1].path!==p?f.findIndex(uo.bind(null,l[c-2])):d}),s=J(()=>o.value>-1&&rO(n.params,r.value.params)),i=J(()=>o.value>-1&&o.value===n.matched.length-1&&dy(n.params,r.value.params));function a(l={}){if(nO(l)){const c=t[Re(e.replace)?"replace":"push"](Re(e.to)).catch(Ko);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:J(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function ZA(e){return e.length===1?e[0]:e}const eO=ot({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:Id,setup(e,{slots:t}){const n=ps(Id(e)),{options:r}=Vt(iu),o=J(()=>({[Ld(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ld(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ZA(t.default(n));return e.custom?s:ur("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),tO=eO;function nO(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 rO(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(!fn(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function Pd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ld=(e,t,n)=>e??t??n,oO=ot({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Vt(nc),o=J(()=>e.route||r.value),s=Vt(_d,0),i=J(()=>{let c=Re(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=J(()=>o.value.matched[i.value]);Ho(_d,J(()=>i.value+1)),Ho(oA,a),Ho(nc,o);const l=_e();return Ze(()=>[l.value,a.value,e.name],([c,u,f],[d,p,m])=>{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||!uo(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 Rd(n.default,{Component:d,route:c});const p=f.props[u],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=ur(d,Ie({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Rd(n.default,{Component:b,route:c})||b}}});function Rd(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sO=oO;function iO(e){const t=KA(e.routes,e),n=e.parseQuery||LA,r=e.stringifyQuery||Sd,o=e.history,s=To(),i=To(),a=To(),l=kn(Qn);let c=Qn;qr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Wa.bind(null,F=>""+F),f=Wa.bind(null,yA),d=Wa.bind(null,Ai);function p(F,G){let q,oe;return py(F)?(q=t.getRecordMatcher(F),oe=G):oe=F,t.addRoute(oe,q)}function m(F){const G=t.getRecordMatcher(F);G&&t.removeRoute(G)}function h(){return t.getRoutes().map(F=>F.record)}function b(F){return!!t.getRecordMatcher(F)}function y(F,G){if(G=Ie({},G||l.value),typeof F=="string"){const L=Ga(n,F,G.path),U=t.resolve({path:L.path},G),z=o.createHref(L.fullPath);return Ie(L,U,{params:d(U.params),redirectedFrom:void 0,href:z})}let q;if(F.path!=null)q=Ie({},F,{path:Ga(n,F.path,G.path).path});else{const L=Ie({},F.params);for(const U in L)L[U]==null&&delete L[U];q=Ie({},F,{params:f(L)}),G.params=f(G.params)}const oe=t.resolve(q,G),be=F.hash||"";oe.params=u(d(oe.params));const k=vA(r,Ie({},F,{hash:hA(be),path:oe.path})),T=o.createHref(k);return Ie({fullPath:k,hash:be,query:r===Sd?RA(F.query):F.query||{}},oe,{redirectedFrom:void 0,href:T})}function _(F){return typeof F=="string"?Ga(n,F,l.value.path):Ie({},F)}function E(F,G){if(c!==F)return co(nt.NAVIGATION_CANCELLED,{from:G,to:F})}function g(F){return x(F)}function A(F){return g(Ie(_(F),{replace:!0}))}function C(F,G){const q=F.matched[F.matched.length-1];if(q&&q.redirect){const{redirect:oe}=q;let be=typeof oe=="function"?oe(F,G):oe;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=_(be):{path:be},be.params={}),Ie({query:F.query,hash:F.hash,params:be.path!=null?{}:F.params},be)}}function x(F,G){const q=c=y(F),oe=l.value,be=F.state,k=F.force,T=F.replace===!0,L=C(q,oe);if(L)return x(Ie(_(L),{state:typeof L=="object"?Ie({},be,L.state):be,force:k,replace:T}),G||q);const U=q;U.redirectedFrom=G;let z;return!k&&wA(r,oe,q)&&(z=co(nt.NAVIGATION_DUPLICATED,{to:U,from:oe}),W(oe,oe,!0,!1)),(z?Promise.resolve(z):$(U,oe)).catch(j=>Dn(j)?Dn(j,nt.NAVIGATION_GUARD_REDIRECT)?j:Z(j):pe(j,U,oe)).then(j=>{if(j){if(Dn(j,nt.NAVIGATION_GUARD_REDIRECT))return x(Ie({replace:T},_(j.to),{state:typeof j.to=="object"?Ie({},be,j.to.state):be,force:k}),G||U)}else j=te(U,oe,!0,T,be);return M(U,oe,j),j})}function w(F,G){const q=E(F,G);return q?Promise.reject(q):Promise.resolve()}function O(F){const G=ie.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(F):F()}function $(F,G){let q;const[oe,be,k]=NA(F,G);q=Ka(oe.reverse(),"beforeRouteLeave",F,G);for(const L of oe)L.leaveGuards.forEach(U=>{q.push(sr(U,F,G))});const T=w.bind(null,F,G);return q.push(T),De(q).then(()=>{q=[];for(const L of s.list())q.push(sr(L,F,G));return q.push(T),De(q)}).then(()=>{q=Ka(be,"beforeRouteUpdate",F,G);for(const L of be)L.updateGuards.forEach(U=>{q.push(sr(U,F,G))});return q.push(T),De(q)}).then(()=>{q=[];for(const L of k)if(L.beforeEnter)if(fn(L.beforeEnter))for(const U of L.beforeEnter)q.push(sr(U,F,G));else q.push(sr(L.beforeEnter,F,G));return q.push(T),De(q)}).then(()=>(F.matched.forEach(L=>L.enterCallbacks={}),q=Ka(k,"beforeRouteEnter",F,G,O),q.push(T),De(q))).then(()=>{q=[];for(const L of i.list())q.push(sr(L,F,G));return q.push(T),De(q)}).catch(L=>Dn(L,nt.NAVIGATION_CANCELLED)?L:Promise.reject(L))}function M(F,G,q){a.list().forEach(oe=>O(()=>oe(F,G,q)))}function te(F,G,q,oe,be){const k=E(F,G);if(k)return k;const T=G===Qn,L=qr?history.state:{};q&&(oe||T?o.replace(F.fullPath,Ie({scroll:T&&L&&L.scroll},be)):o.push(F.fullPath,be)),l.value=F,W(F,G,q,T),Z()}let se;function V(){se||(se=o.listen((F,G,q)=>{if(!Me.listening)return;const oe=y(F),be=C(oe,Me.currentRoute.value);if(be){x(Ie(be,{replace:!0,force:!0}),oe).catch(Ko);return}c=oe;const k=l.value;qr&&OA(Ed(k.fullPath,q.delta),ca()),$(oe,k).catch(T=>Dn(T,nt.NAVIGATION_ABORTED|nt.NAVIGATION_CANCELLED)?T:Dn(T,nt.NAVIGATION_GUARD_REDIRECT)?(x(Ie(_(T.to),{force:!0}),oe).then(L=>{Dn(L,nt.NAVIGATION_ABORTED|nt.NAVIGATION_DUPLICATED)&&!q.delta&&q.type===oc.pop&&o.go(-1,!1)}).catch(Ko),Promise.reject()):(q.delta&&o.go(-q.delta,!1),pe(T,oe,k))).then(T=>{T=T||te(oe,k,!1),T&&(q.delta&&!Dn(T,nt.NAVIGATION_CANCELLED)?o.go(-q.delta,!1):q.type===oc.pop&&Dn(T,nt.NAVIGATION_ABORTED|nt.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(oe,k,T)}).catch(Ko)}))}let Q=To(),Y=To(),ne;function pe(F,G,q){Z(F);const oe=Y.list();return oe.length?oe.forEach(be=>be(F,G,q)):console.error(F),Promise.reject(F)}function Ye(){return ne&&l.value!==Qn?Promise.resolve():new Promise((F,G)=>{Q.add([F,G])})}function Z(F){return ne||(ne=!F,V(),Q.list().forEach(([G,q])=>F?q(F):G()),Q.reset()),F}function W(F,G,q,oe){const{scrollBehavior:be}=e;if(!qr||!be)return Promise.resolve();const k=!q&&IA(Ed(F.fullPath,0))||(oe||!q)&&history.state&&history.state.scroll||null;return dr().then(()=>be(F,G,k)).then(T=>T&&AA(T)).catch(T=>pe(T,F,G))}const X=F=>o.go(F);let le;const ie=new Set,Me={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:h,resolve:y,options:e,push:g,replace:A,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:Y.add,isReady:Ye,install(F){F.component("RouterLink",tO),F.component("RouterView",sO),F.config.globalProperties.$router=Me,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Re(l)}),qr&&!le&&l.value===Qn&&(le=!0,g(o.location).catch(oe=>{}));const G={};for(const oe in Qn)Object.defineProperty(G,oe,{get:()=>l.value[oe],enumerable:!0});F.provide(iu,Me),F.provide(iy,Hh(G)),F.provide(nc,l);const q=F.unmount;ie.add(F),F.unmount=function(){ie.delete(F),ie.size<1&&(c=Qn,se&&se(),se=null,l.value=Qn,le=!1,ne=!1),q()}}};function De(F){return F.reduce((G,q)=>G.then(()=>O(q)),Promise.resolve())}return Me}const aO="modulepreload",lO=function(e){return"/item/"+e},Nd={},cO=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=lO(u),u in Nd)return;Nd[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":aO,f||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((m,h)=>{p.addEventListener("load",m),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)})},Ro={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},uO=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case Ro.WIDTH_FIRST:s=e/n;break;case Ro.HEIGHT_FIRST:s=t/r;break;case Ro.CONTAIN:s=Math.min(e/n,t/r);break;case Ro.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),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"}},Ya=(e,t=Ro.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:uO({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),ir=0,H=1,me=2,it=3,We=4,dn=5,ua=6,wt=7,Lt=8,we=9,de=10,et=11,ve=12,tt=13,_s=14,Rt=15,kt=16,xt=17,Ut=18,qt=19,en=20,Te=21,ue=22,ht=23,Gt=24,yt=25,fO=0;function gt(e){return e>=48&&e<=57}function fr(e){return gt(e)||e>=65&&e<=70||e>=97&&e<=102}function lu(e){return e>=65&&e<=90}function dO(e){return e>=97&&e<=122}function pO(e){return lu(e)||dO(e)}function hO(e){return e>=128}function Oi(e){return pO(e)||hO(e)||e===95}function yy(e){return Oi(e)||gt(e)||e===45}function mO(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Ii(e){return e===10||e===13||e===12}function Pr(e){return Ii(e)||e===32||e===9}function Sn(e,t){return!(e!==92||Ii(t)||t===fO)}function ti(e,t,n){return e===45?Oi(t)||t===45||Sn(t,n):Oi(e)?!0:e===92?Sn(e,t):!1}function Xa(e,t,n){return e===43||e===45?gt(t)?2:t===46&&gt(n)?3:0:e===46?gt(t)?2:0:gt(e)?1:0}function by(e){return e===65279||e===65534?1:0}const ic=new Array(128),gO=128,ni=130,_y=131,cu=132,vy=133;for(let e=0;e<ic.length;e++)ic[e]=Pr(e)&&ni||gt(e)&&_y||Oi(e)&&cu||mO(e)&&vy||e||gO;function Ja(e){return e<128?ic[e]:cu}function to(e,t){return t<e.length?e.charCodeAt(t):0}function ac(e,t,n){return n===13&&to(e,t+1)===10?2:1}function no(e,t,n){let r=e.charCodeAt(t);return lu(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(lu(i)&&(i=i|32),i!==s)return!1}return!0}function yO(e,t){for(;t>=0&&Pr(e.charCodeAt(t));t--);return t+1}function $s(e,t){for(;t<e.length&&Pr(e.charCodeAt(t));t++);return t}function Qa(e,t){for(;t<e.length&&gt(e.charCodeAt(t));t++);return t}function fo(e,t){if(t+=2,fr(to(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&fr(to(e,t));t++);const n=to(e,t);Pr(n)&&(t+=ac(e,t,n))}return t}function Us(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!yy(n)){if(Sn(n,to(e,t+1))){t=fo(e,t)-1;continue}break}}return t}function fa(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),gt(n)&&(t=Qa(e,t+1),n=e.charCodeAt(t)),n===46&&gt(e.charCodeAt(t+1))&&(t+=2,t=Qa(e,t)),no(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),gt(n)&&(t=Qa(e,t+1+r+1))}return t}function Za(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}Sn(n,to(e,t+1))&&(t=fo(e,t))}return t}function wy(e){if(e.length===1&&!fr(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 lc=["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"],bO=16*1024;function Pi(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,bO)):e}const Md=10,_O=12,Dd=13;function Fd(e){const t=e.source,n=t.length,r=t.length>0?by(t.charCodeAt(0)):0,o=Pi(e.lines,n),s=Pi(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===Md||c===Dd||c===_O)&&(c===Dd&&l+1<n&&t.charCodeAt(l+1)===Md&&(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 vO{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||Fd(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||Fd(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 rn=16777215,on=24,vs=1,da=2,ar=new Uint8Array(32);ar[me]=ue;ar[Te]=ue;ar[qt]=en;ar[ht]=Gt;const an=new Uint8Array(32);an[me]=vs;an[Te]=vs;an[qt]=vs;an[ht]=vs;an[ue]=da;an[en]=da;an[Gt]=da;function $d(e,t,n){return e<t?t:e>n?n:e}class wO{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=Pi(this.offsetAndType,t.length+1),s=Pi(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<<on|d,a===-1&&(a=f),s[p]=c,u===l){const m=s[c];s[c]=p,c=m,l=ar[o[m]>>on]}else this.isBlockOpenerTokenType(u)&&(c=p,l=ar[u])}),o[i]=ir<<on|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]>>on:ir}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>on;if(r!==tt&&r!==yt&&t--===0)return r}return ir}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&rn:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>on;if(r!==tt&&r!==yt&&t--===0)return n-this.tokenIndex}return ir}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?cs(this.source,this.offsetAndType[t-1]&rn,this.offsetAndType[t]&rn,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&rn:this.offsetAndType[this.tokenCount]&rn:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[$d(t,0,this.tokenCount)]&rn}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[$d(t,0,this.tokenCount)]>>on}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return an[t]===vs}isBlockCloserTokenType(t){return an[t]===da}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(an[n]===1){const r=this.balance[t],o=this.getTokenType(r);return ar[n]===o?r:-1}else if(an[n]===2){const r=this.balance[t],o=this.getTokenType(r);return ar[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===we&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===we&&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]&rn,n=this.offsetAndType[n],this.tokenType=n>>on,this.tokenEnd=n&rn):(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>>on,this.tokenEnd=t&rn):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=ir,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===tt||this.tokenType===yt;)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]&rn:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>on)&&(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&rn,a=s>>on;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:lc[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function pa(e,t){function n(f){return f<a?e.charCodeAt(f):0}function r(){if(c=fa(e,c),ti(n(c),n(c+1),n(c+2))){u=ve,c=Us(e,c);return}if(n(c)===37){u=et,c++;return}u=de}function o(){const f=c;if(c=Us(e,c),cs(e,f,c,"url")&&n(c)===40){if(c=$s(e,c+1),n(c)===34||n(c)===39){u=me,c=f+4;return}i();return}if(n(c)===40){u=me,c++;return}u=H}function s(f){for(f||(f=n(c++)),u=dn;c<e.length;c++){const d=e.charCodeAt(c);switch(Ja(d)){case f:c++;return;case ni:if(Ii(d)){c+=ac(e,c,d),u=ua;return}break;case 92:if(c===e.length-1)break;const p=n(c+1);Ii(p)?c+=ac(e,c+1,p):Sn(d,p)&&(c=fo(e,c)-1);break}}}function i(){for(u=wt,c=$s(e,c);c<e.length;c++){const f=e.charCodeAt(c);switch(Ja(f)){case 41:c++;return;case ni:if(c=$s(e,c),n(c)===41||c>=e.length){c<e.length&&c++;return}c=Za(e,c),u=Lt;return;case 34:case 39:case 40:case vy:c=Za(e,c),u=Lt;return;case 92:if(Sn(f,n(c+1))){c=fo(e,c)-1;break}c=Za(e,c),u=Lt;return}}}e=String(e||"");const a=e.length;let l=by(n(0)),c=l,u;for(;c<a;){const f=e.charCodeAt(c);switch(Ja(f)){case ni:u=tt,c=$s(e,c+1);break;case 34:s();break;case 35:yy(n(c+1))||Sn(n(c+1),n(c+2))?(u=We,c=Us(e,c+1)):(u=we,c++);break;case 39:s();break;case 40:u=Te,c++;break;case 41:u=ue,c++;break;case 43:Xa(f,n(c+1),n(c+2))?r():(u=we,c++);break;case 44:u=Ut,c++;break;case 45:Xa(f,n(c+1),n(c+2))?r():n(c+1)===45&&n(c+2)===62?(u=Rt,c=c+3):ti(f,n(c+1),n(c+2))?o():(u=we,c++);break;case 46:Xa(f,n(c+1),n(c+2))?r():(u=we,c++);break;case 47:n(c+1)===42?(u=yt,c=e.indexOf("*/",c+2),c=c===-1?e.length:c+2):(u=we,c++);break;case 58:u=kt,c++;break;case 59:u=xt,c++;break;case 60:n(c+1)===33&&n(c+2)===45&&n(c+3)===45?(u=_s,c=c+4):(u=we,c++);break;case 64:ti(n(c+1),n(c+2),n(c+3))?(u=it,c=Us(e,c+1)):(u=we,c++);break;case 91:u=qt,c++;break;case 92:Sn(f,n(c+1))?o():(u=we,c++);break;case 93:u=en,c++;break;case 123:u=ht,c++;break;case 125:u=Gt,c++;break;case _y:r();break;case cu:o();break;default:u=we,c++}t(u,l,l=c)}}let $r=null;class pt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pt.createItem(t)}allocateCursor(t,n){let r;return $r!==null?(r=$r,$r=$r.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=$r,$r=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=pt.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 pt;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 pt;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 pt;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(pt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(pt.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(pt.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(pt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pt.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 ha(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}
17
+ `,document.head.appendChild(e)}const XT=200,Fs=new WeakMap;function JT(e){if(e.querySelector(`.${la}`))return;e.classList.add(ry),getComputedStyle(e).position==="static"&&(e.style.position="relative"),YT(),e.appendChild(KT())}function QT(e){const t=e.querySelector(`.${la}`);t&&t.remove(),e.classList.remove(ry)}function yd(e,t){const n=Fs.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${la}`)){const o=setTimeout(()=>{Fs.delete(e),JT(e)},XT);Fs.set(e,o)}}else n&&(clearTimeout(n),Fs.delete(e)),QT(e)}const ZT={mounted(e,t){yd(e,t)},updated(e,t){t.value!==t.oldValue&&yd(e,t)}};function eA(e){nx(e),Kk(e),GT(e),e.directive("loading",ZT)}const qr=typeof document<"u";function oy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&oy(e.default)}const Ie=Object.assign;function Wa(e,t){const n={};for(const r in t){const o=t[r];n[r]=fn(o)?o.map(e):e(o)}return n}const Ko=()=>{},fn=Array.isArray;function bd(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let nt=(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 sy=Symbol("");nt.MATCHER_NOT_FOUND+"",nt.NAVIGATION_GUARD_REDIRECT+"",nt.NAVIGATION_ABORTED+"",nt.NAVIGATION_CANCELLED+"",nt.NAVIGATION_DUPLICATED+"";function co(e,t){return Ie(new Error,{type:e,[sy]:!0},t)}function Dn(e,t){return e instanceof Error&&sy in e&&(t==null||!!(e.type&t))}const nA=["params","query","hash"];function rA(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of nA)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const oA=Symbol(""),_d=Symbol(""),iu=Symbol(""),iy=Symbol(""),nc=Symbol("");const ay=/#/g,sA=/&/g,iA=/\//g,aA=/=/g,lA=/\?/g,ly=/\+/g,cA=/%5B/g,uA=/%5D/g,cy=/%5E/g,fA=/%60/g,uy=/%7B/g,dA=/%7C/g,fy=/%7D/g,pA=/%20/g;function au(e){return e==null?"":encodeURI(""+e).replace(dA,"|").replace(cA,"[").replace(uA,"]")}function hA(e){return au(e).replace(uy,"{").replace(fy,"}").replace(cy,"^")}function rc(e){return au(e).replace(ly,"%2B").replace(pA,"+").replace(ay,"%23").replace(sA,"%26").replace(fA,"`").replace(uy,"{").replace(fy,"}").replace(cy,"^")}function mA(e){return rc(e).replace(aA,"%3D")}function gA(e){return au(e).replace(ay,"%23").replace(lA,"%3F")}function yA(e){return gA(e).replace(iA,"%2F")}function Ai(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bA=/\/$/,_A=e=>e.replace(bA,"");function Ga(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=SA(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:Ai(i)}}function vA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uo(t.matched[r],n.matched[o])&&dy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function dy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!EA(e[n],t[n]))return!1;return!0}function EA(e,t){return fn(e)?wd(e,t):fn(t)?wd(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function wd(e,t){return fn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function SA(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 Qn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oc=(function(e){return e.pop="pop",e.push="push",e})({}),qa=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function CA(e){if(!e)if(qr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_A(e)}const kA=/^[^#]+#/;function xA(e,t){return e.replace(kA,"#")+t}function TA(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 ca=()=>({left:window.scrollX,top:window.scrollY});function AA(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=TA(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 Ed(e,t){return(history.state?history.state.position-t:-1)+e}const sc=new Map;function OA(e,t){sc.set(e,t)}function IA(e){const t=sc.get(e);return sc.delete(e),t}function PA(e){return typeof e=="string"||e&&typeof e=="object"}function py(e){return typeof e=="string"||typeof e=="symbol"}function LA(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(ly," "),s=o.indexOf("="),i=Ai(s<0?o:o.slice(0,s)),a=s<0?null:Ai(o.slice(s+1));if(i in t){let l=t[i];fn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Sd(e){let t="";for(let n in e){const r=e[n];if(n=mA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(fn(r)?r.map(o=>o&&rc(o)):[r&&rc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function RA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=fn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function To(){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 sr(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(co(nt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):PA(d)?l(co(nt.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 Ka(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(oy(l)){const c=(l.__vccOpts||l)[t];c&&s.push(sr(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=tA(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&sr(d,n,r,i,a,o)()}))}}return s}function NA(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=>uo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>uo(c,l))||o.push(l))}return[n,r,o]}let MA=()=>location.protocol+"//"+location.host;function hy(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),vd(a,"")}return vd(n,e)+r+o}function DA(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=hy(e,location),m=n.value,h=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===m){i=null;return}b=h?d.position-h.position:0}else r(p);o.forEach(y=>{y(n.value,m,{delta:b,type:oc.pop,direction:b?b>0?qa.forward:qa.back:qa.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return s.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Ie({},d.state,{scroll:ca()}),"")}}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 Cd(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ca():null}}function FA(e){const{history:t,location:n}=window,r={value:hy(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:MA()+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,Ie({},t.state,Cd(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=Ie({},o.value,t.state,{forward:l,scroll:ca()});s(u.current,u,!0),s(l,Ie({},Cd(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function $A(e){e=CA(e);const t=FA(e),n=DA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Ie({location:"",base:e,go:r,createHref:xA.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 Sr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ft=(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})(ft||{});const UA={type:Sr.Static,value:""},jA=/[a-zA-Z0-9_]/;function zA(e){if(!e)return[[]];if(e==="/")return[[UA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=ft.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===ft.Static?s.push({type:Sr.Static,value:c}):n===ft.Param||n===ft.ParamRegExp||n===ft.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Sr.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 ft.Static:l==="\\"?(r=n,n=ft.EscapeNext):l==="/"?(c&&f(),i()):l===":"?(f(),n=ft.Param):d();break;case ft.EscapeNext:d(),n=r;break;case ft.Param:l==="("?n=ft.ParamRegExp:jA.test(l)?d():(f(),n=ft.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ft.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=ft.ParamRegExpEnd:u+=l;break;case ft.ParamRegExpEnd:f(),n=ft.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===ft.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const kd="[^/]+?",BA={sensitive:!1,strict:!1,start:!0,end:!0};var At=(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})(At||{});const HA=/[.+*?^${}()[\]/\\]/g;function VA(e,t){const n=Ie({},BA,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[At.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=At.Segment+(n.sensitive?At.BonusCaseSensitive:0);if(d.type===Sr.Static)f||(o+="/"),o+=d.value.replace(HA,"\\$&"),p+=At.Static;else if(d.type===Sr.Param){const{value:m,repeatable:h,optional:b,regexp:y}=d;s.push({name:m,repeatable:h,optional:b});const _=y||kd;if(_!==kd){p+=At.BonusCustomRegExp;try{new RegExp(`(${_})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${m}" (${_}): `+g.message)}}let E=h?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(E=b&&c.length<2?`(?:/${E})`:"/"+E),b&&(E+="?"),o+=E,p+=At.Dynamic,b&&(p+=At.BonusOptional),h&&(p+=At.BonusRepeatable),_===".*"&&(p+=At.BonusWildcard)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=At.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]||"",m=s[d-1];f[m.name]=p&&m.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===Sr.Static)u+=p.value;else if(p.type===Sr.Param){const{value:m,repeatable:h,optional:b}=p,y=m in c?c[m]:"";if(fn(y)&&!h)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const _=fn(y)?y.join("/"):y;if(!_)if(b)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function WA(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]===At.Static+At.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===At.Static+At.Segment?1:-1:0}function my(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=WA(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(xd(r))return 1;if(xd(o))return-1}return o.length-r.length}function xd(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const GA={strict:!1,end:!0,sensitive:!1};function qA(e,t,n){const r=VA(zA(e.path),n),o=Ie(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function KA(e,t){const n=[],r=new Map;t=bd(GA,t);function o(f){return r.get(f)}function s(f,d,p){const m=!p,h=Ad(f);h.aliasOf=p&&p.record;const b=bd(t,f),y=[h];if("alias"in f){const g=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of g)y.push(Ad(Ie({},h,{components:p?p.record.components:h.components,path:A,aliasOf:p?p.record:h})))}let _,E;for(const g of y){const{path:A}=g;if(d&&A[0]!=="/"){const C=d.record.path,x=C[C.length-1]==="/"?"":"/";g.path=d.record.path+(A&&x+A)}if(_=qA(g,d,b),p?p.alias.push(_):(E=E||_,E!==_&&E.alias.push(_),m&&f.name&&!Od(_)&&i(f.name)),gy(_)&&l(_),h.children){const C=h.children;for(let x=0;x<C.length;x++)s(C[x],_,p&&p.children[x])}p=p||_}return E?()=>{i(E)}:Ko}function i(f){if(py(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=JA(f,n);n.splice(d,0,f),f.record.name&&!Od(f)&&r.set(f.record.name,f)}function c(f,d){let p,m={},h,b;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw co(nt.MATCHER_NOT_FOUND,{location:f});b=p.record.name,m=Ie(Td(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&Td(f.params,p.keys.map(E=>E.name))),h=p.stringify(m)}else if(f.path!=null)h=f.path,p=n.find(E=>E.re.test(h)),p&&(m=p.parse(h),b=p.record.name,p.keys.forEach(E=>{E.optional&&!m[E.name]&&delete m[E.name]}));else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw co(nt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});b=p.record.name,m=Ie({},d.params,f.params),h=p.stringify(m)}const y=[];let _=p;for(;_;)y.unshift(_.record),_=_.parent;return{name:b,path:h,params:m,matched:y,meta:XA(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 Td(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ad(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:YA(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 YA(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 Od(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function XA(e){return e.reduce((t,n)=>Ie(t,n.meta),{})}function JA(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;my(e,t[s])<0?r=s:n=s+1}const o=QA(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function QA(e){let t=e;for(;t=t.parent;)if(gy(t)&&my(e,t)===0)return t}function gy({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Id(e){const t=Vt(iu),n=Vt(iy),r=J(()=>{const l=Re(e.to);return t.resolve(l)}),o=J(()=>{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(uo.bind(null,u));if(d>-1)return d;const p=Pd(l[c-2]);return c>1&&Pd(u)===p&&f[f.length-1].path!==p?f.findIndex(uo.bind(null,l[c-2])):d}),s=J(()=>o.value>-1&&rO(n.params,r.value.params)),i=J(()=>o.value>-1&&o.value===n.matched.length-1&&dy(n.params,r.value.params));function a(l={}){if(nO(l)){const c=t[Re(e.replace)?"replace":"push"](Re(e.to)).catch(Ko);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:J(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function ZA(e){return e.length===1?e[0]:e}const eO=ot({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:Id,setup(e,{slots:t}){const n=ps(Id(e)),{options:r}=Vt(iu),o=J(()=>({[Ld(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ld(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ZA(t.default(n));return e.custom?s:ur("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),tO=eO;function nO(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 rO(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(!fn(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function Pd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ld=(e,t,n)=>e??t??n,oO=ot({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Vt(nc),o=J(()=>e.route||r.value),s=Vt(_d,0),i=J(()=>{let c=Re(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=J(()=>o.value.matched[i.value]);Ho(_d,J(()=>i.value+1)),Ho(oA,a),Ho(nc,o);const l=_e();return Ze(()=>[l.value,a.value,e.name],([c,u,f],[d,p,m])=>{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||!uo(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 Rd(n.default,{Component:d,route:c});const p=f.props[u],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=ur(d,Ie({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Rd(n.default,{Component:b,route:c})||b}}});function Rd(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sO=oO;function iO(e){const t=KA(e.routes,e),n=e.parseQuery||LA,r=e.stringifyQuery||Sd,o=e.history,s=To(),i=To(),a=To(),l=kn(Qn);let c=Qn;qr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Wa.bind(null,F=>""+F),f=Wa.bind(null,yA),d=Wa.bind(null,Ai);function p(F,G){let q,oe;return py(F)?(q=t.getRecordMatcher(F),oe=G):oe=F,t.addRoute(oe,q)}function m(F){const G=t.getRecordMatcher(F);G&&t.removeRoute(G)}function h(){return t.getRoutes().map(F=>F.record)}function b(F){return!!t.getRecordMatcher(F)}function y(F,G){if(G=Ie({},G||l.value),typeof F=="string"){const L=Ga(n,F,G.path),U=t.resolve({path:L.path},G),z=o.createHref(L.fullPath);return Ie(L,U,{params:d(U.params),redirectedFrom:void 0,href:z})}let q;if(F.path!=null)q=Ie({},F,{path:Ga(n,F.path,G.path).path});else{const L=Ie({},F.params);for(const U in L)L[U]==null&&delete L[U];q=Ie({},F,{params:f(L)}),G.params=f(G.params)}const oe=t.resolve(q,G),be=F.hash||"";oe.params=u(d(oe.params));const k=vA(r,Ie({},F,{hash:hA(be),path:oe.path})),T=o.createHref(k);return Ie({fullPath:k,hash:be,query:r===Sd?RA(F.query):F.query||{}},oe,{redirectedFrom:void 0,href:T})}function _(F){return typeof F=="string"?Ga(n,F,l.value.path):Ie({},F)}function E(F,G){if(c!==F)return co(nt.NAVIGATION_CANCELLED,{from:G,to:F})}function g(F){return x(F)}function A(F){return g(Ie(_(F),{replace:!0}))}function C(F,G){const q=F.matched[F.matched.length-1];if(q&&q.redirect){const{redirect:oe}=q;let be=typeof oe=="function"?oe(F,G):oe;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=_(be):{path:be},be.params={}),Ie({query:F.query,hash:F.hash,params:be.path!=null?{}:F.params},be)}}function x(F,G){const q=c=y(F),oe=l.value,be=F.state,k=F.force,T=F.replace===!0,L=C(q,oe);if(L)return x(Ie(_(L),{state:typeof L=="object"?Ie({},be,L.state):be,force:k,replace:T}),G||q);const U=q;U.redirectedFrom=G;let z;return!k&&wA(r,oe,q)&&(z=co(nt.NAVIGATION_DUPLICATED,{to:U,from:oe}),W(oe,oe,!0,!1)),(z?Promise.resolve(z):$(U,oe)).catch(j=>Dn(j)?Dn(j,nt.NAVIGATION_GUARD_REDIRECT)?j:Z(j):pe(j,U,oe)).then(j=>{if(j){if(Dn(j,nt.NAVIGATION_GUARD_REDIRECT))return x(Ie({replace:T},_(j.to),{state:typeof j.to=="object"?Ie({},be,j.to.state):be,force:k}),G||U)}else j=te(U,oe,!0,T,be);return M(U,oe,j),j})}function w(F,G){const q=E(F,G);return q?Promise.reject(q):Promise.resolve()}function O(F){const G=ie.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(F):F()}function $(F,G){let q;const[oe,be,k]=NA(F,G);q=Ka(oe.reverse(),"beforeRouteLeave",F,G);for(const L of oe)L.leaveGuards.forEach(U=>{q.push(sr(U,F,G))});const T=w.bind(null,F,G);return q.push(T),De(q).then(()=>{q=[];for(const L of s.list())q.push(sr(L,F,G));return q.push(T),De(q)}).then(()=>{q=Ka(be,"beforeRouteUpdate",F,G);for(const L of be)L.updateGuards.forEach(U=>{q.push(sr(U,F,G))});return q.push(T),De(q)}).then(()=>{q=[];for(const L of k)if(L.beforeEnter)if(fn(L.beforeEnter))for(const U of L.beforeEnter)q.push(sr(U,F,G));else q.push(sr(L.beforeEnter,F,G));return q.push(T),De(q)}).then(()=>(F.matched.forEach(L=>L.enterCallbacks={}),q=Ka(k,"beforeRouteEnter",F,G,O),q.push(T),De(q))).then(()=>{q=[];for(const L of i.list())q.push(sr(L,F,G));return q.push(T),De(q)}).catch(L=>Dn(L,nt.NAVIGATION_CANCELLED)?L:Promise.reject(L))}function M(F,G,q){a.list().forEach(oe=>O(()=>oe(F,G,q)))}function te(F,G,q,oe,be){const k=E(F,G);if(k)return k;const T=G===Qn,L=qr?history.state:{};q&&(oe||T?o.replace(F.fullPath,Ie({scroll:T&&L&&L.scroll},be)):o.push(F.fullPath,be)),l.value=F,W(F,G,q,T),Z()}let se;function V(){se||(se=o.listen((F,G,q)=>{if(!Me.listening)return;const oe=y(F),be=C(oe,Me.currentRoute.value);if(be){x(Ie(be,{replace:!0,force:!0}),oe).catch(Ko);return}c=oe;const k=l.value;qr&&OA(Ed(k.fullPath,q.delta),ca()),$(oe,k).catch(T=>Dn(T,nt.NAVIGATION_ABORTED|nt.NAVIGATION_CANCELLED)?T:Dn(T,nt.NAVIGATION_GUARD_REDIRECT)?(x(Ie(_(T.to),{force:!0}),oe).then(L=>{Dn(L,nt.NAVIGATION_ABORTED|nt.NAVIGATION_DUPLICATED)&&!q.delta&&q.type===oc.pop&&o.go(-1,!1)}).catch(Ko),Promise.reject()):(q.delta&&o.go(-q.delta,!1),pe(T,oe,k))).then(T=>{T=T||te(oe,k,!1),T&&(q.delta&&!Dn(T,nt.NAVIGATION_CANCELLED)?o.go(-q.delta,!1):q.type===oc.pop&&Dn(T,nt.NAVIGATION_ABORTED|nt.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(oe,k,T)}).catch(Ko)}))}let Q=To(),Y=To(),ne;function pe(F,G,q){Z(F);const oe=Y.list();return oe.length?oe.forEach(be=>be(F,G,q)):console.error(F),Promise.reject(F)}function Xe(){return ne&&l.value!==Qn?Promise.resolve():new Promise((F,G)=>{Q.add([F,G])})}function Z(F){return ne||(ne=!F,V(),Q.list().forEach(([G,q])=>F?q(F):G()),Q.reset()),F}function W(F,G,q,oe){const{scrollBehavior:be}=e;if(!qr||!be)return Promise.resolve();const k=!q&&IA(Ed(F.fullPath,0))||(oe||!q)&&history.state&&history.state.scroll||null;return dr().then(()=>be(F,G,k)).then(T=>T&&AA(T)).catch(T=>pe(T,F,G))}const X=F=>o.go(F);let le;const ie=new Set,Me={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:h,resolve:y,options:e,push:g,replace:A,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:Y.add,isReady:Xe,install(F){F.component("RouterLink",tO),F.component("RouterView",sO),F.config.globalProperties.$router=Me,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Re(l)}),qr&&!le&&l.value===Qn&&(le=!0,g(o.location).catch(oe=>{}));const G={};for(const oe in Qn)Object.defineProperty(G,oe,{get:()=>l.value[oe],enumerable:!0});F.provide(iu,Me),F.provide(iy,Hh(G)),F.provide(nc,l);const q=F.unmount;ie.add(F),F.unmount=function(){ie.delete(F),ie.size<1&&(c=Qn,se&&se(),se=null,l.value=Qn,le=!1,ne=!1),q()}}};function De(F){return F.reduce((G,q)=>G.then(()=>O(q)),Promise.resolve())}return Me}const aO="modulepreload",lO=function(e){return"/item/"+e},Nd={},cO=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=lO(u),u in Nd)return;Nd[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":aO,f||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((m,h)=>{p.addEventListener("load",m),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)})},Ro={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},uO=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case Ro.WIDTH_FIRST:s=e/n;break;case Ro.HEIGHT_FIRST:s=t/r;break;case Ro.CONTAIN:s=Math.min(e/n,t/r);break;case Ro.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),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"}},Ya=(e,t=Ro.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:uO({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),ir=0,H=1,me=2,it=3,We=4,dn=5,ua=6,wt=7,Lt=8,we=9,de=10,et=11,ve=12,tt=13,_s=14,Rt=15,kt=16,xt=17,Ut=18,qt=19,en=20,Te=21,ue=22,ht=23,Gt=24,yt=25,fO=0;function gt(e){return e>=48&&e<=57}function fr(e){return gt(e)||e>=65&&e<=70||e>=97&&e<=102}function lu(e){return e>=65&&e<=90}function dO(e){return e>=97&&e<=122}function pO(e){return lu(e)||dO(e)}function hO(e){return e>=128}function Oi(e){return pO(e)||hO(e)||e===95}function yy(e){return Oi(e)||gt(e)||e===45}function mO(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Ii(e){return e===10||e===13||e===12}function Pr(e){return Ii(e)||e===32||e===9}function Sn(e,t){return!(e!==92||Ii(t)||t===fO)}function ti(e,t,n){return e===45?Oi(t)||t===45||Sn(t,n):Oi(e)?!0:e===92?Sn(e,t):!1}function Xa(e,t,n){return e===43||e===45?gt(t)?2:t===46&&gt(n)?3:0:e===46?gt(t)?2:0:gt(e)?1:0}function by(e){return e===65279||e===65534?1:0}const ic=new Array(128),gO=128,ni=130,_y=131,cu=132,vy=133;for(let e=0;e<ic.length;e++)ic[e]=Pr(e)&&ni||gt(e)&&_y||Oi(e)&&cu||mO(e)&&vy||e||gO;function Ja(e){return e<128?ic[e]:cu}function to(e,t){return t<e.length?e.charCodeAt(t):0}function ac(e,t,n){return n===13&&to(e,t+1)===10?2:1}function no(e,t,n){let r=e.charCodeAt(t);return lu(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(lu(i)&&(i=i|32),i!==s)return!1}return!0}function yO(e,t){for(;t>=0&&Pr(e.charCodeAt(t));t--);return t+1}function $s(e,t){for(;t<e.length&&Pr(e.charCodeAt(t));t++);return t}function Qa(e,t){for(;t<e.length&&gt(e.charCodeAt(t));t++);return t}function fo(e,t){if(t+=2,fr(to(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&fr(to(e,t));t++);const n=to(e,t);Pr(n)&&(t+=ac(e,t,n))}return t}function Us(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!yy(n)){if(Sn(n,to(e,t+1))){t=fo(e,t)-1;continue}break}}return t}function fa(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),gt(n)&&(t=Qa(e,t+1),n=e.charCodeAt(t)),n===46&&gt(e.charCodeAt(t+1))&&(t+=2,t=Qa(e,t)),no(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),gt(n)&&(t=Qa(e,t+1+r+1))}return t}function Za(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}Sn(n,to(e,t+1))&&(t=fo(e,t))}return t}function wy(e){if(e.length===1&&!fr(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 lc=["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"],bO=16*1024;function Pi(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,bO)):e}const Md=10,_O=12,Dd=13;function Fd(e){const t=e.source,n=t.length,r=t.length>0?by(t.charCodeAt(0)):0,o=Pi(e.lines,n),s=Pi(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===Md||c===Dd||c===_O)&&(c===Dd&&l+1<n&&t.charCodeAt(l+1)===Md&&(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 vO{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||Fd(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||Fd(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 rn=16777215,on=24,vs=1,da=2,ar=new Uint8Array(32);ar[me]=ue;ar[Te]=ue;ar[qt]=en;ar[ht]=Gt;const an=new Uint8Array(32);an[me]=vs;an[Te]=vs;an[qt]=vs;an[ht]=vs;an[ue]=da;an[en]=da;an[Gt]=da;function $d(e,t,n){return e<t?t:e>n?n:e}class wO{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=Pi(this.offsetAndType,t.length+1),s=Pi(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<<on|d,a===-1&&(a=f),s[p]=c,u===l){const m=s[c];s[c]=p,c=m,l=ar[o[m]>>on]}else this.isBlockOpenerTokenType(u)&&(c=p,l=ar[u])}),o[i]=ir<<on|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]>>on:ir}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>on;if(r!==tt&&r!==yt&&t--===0)return r}return ir}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&rn:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>on;if(r!==tt&&r!==yt&&t--===0)return n-this.tokenIndex}return ir}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?cs(this.source,this.offsetAndType[t-1]&rn,this.offsetAndType[t]&rn,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&rn:this.offsetAndType[this.tokenCount]&rn:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[$d(t,0,this.tokenCount)]&rn}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[$d(t,0,this.tokenCount)]>>on}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return an[t]===vs}isBlockCloserTokenType(t){return an[t]===da}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(an[n]===1){const r=this.balance[t],o=this.getTokenType(r);return ar[n]===o?r:-1}else if(an[n]===2){const r=this.balance[t],o=this.getTokenType(r);return ar[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===we&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===we&&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]&rn,n=this.offsetAndType[n],this.tokenType=n>>on,this.tokenEnd=n&rn):(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>>on,this.tokenEnd=t&rn):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=ir,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===tt||this.tokenType===yt;)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]&rn:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>on)&&(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&rn,a=s>>on;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:lc[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function pa(e,t){function n(f){return f<a?e.charCodeAt(f):0}function r(){if(c=fa(e,c),ti(n(c),n(c+1),n(c+2))){u=ve,c=Us(e,c);return}if(n(c)===37){u=et,c++;return}u=de}function o(){const f=c;if(c=Us(e,c),cs(e,f,c,"url")&&n(c)===40){if(c=$s(e,c+1),n(c)===34||n(c)===39){u=me,c=f+4;return}i();return}if(n(c)===40){u=me,c++;return}u=H}function s(f){for(f||(f=n(c++)),u=dn;c<e.length;c++){const d=e.charCodeAt(c);switch(Ja(d)){case f:c++;return;case ni:if(Ii(d)){c+=ac(e,c,d),u=ua;return}break;case 92:if(c===e.length-1)break;const p=n(c+1);Ii(p)?c+=ac(e,c+1,p):Sn(d,p)&&(c=fo(e,c)-1);break}}}function i(){for(u=wt,c=$s(e,c);c<e.length;c++){const f=e.charCodeAt(c);switch(Ja(f)){case 41:c++;return;case ni:if(c=$s(e,c),n(c)===41||c>=e.length){c<e.length&&c++;return}c=Za(e,c),u=Lt;return;case 34:case 39:case 40:case vy:c=Za(e,c),u=Lt;return;case 92:if(Sn(f,n(c+1))){c=fo(e,c)-1;break}c=Za(e,c),u=Lt;return}}}e=String(e||"");const a=e.length;let l=by(n(0)),c=l,u;for(;c<a;){const f=e.charCodeAt(c);switch(Ja(f)){case ni:u=tt,c=$s(e,c+1);break;case 34:s();break;case 35:yy(n(c+1))||Sn(n(c+1),n(c+2))?(u=We,c=Us(e,c+1)):(u=we,c++);break;case 39:s();break;case 40:u=Te,c++;break;case 41:u=ue,c++;break;case 43:Xa(f,n(c+1),n(c+2))?r():(u=we,c++);break;case 44:u=Ut,c++;break;case 45:Xa(f,n(c+1),n(c+2))?r():n(c+1)===45&&n(c+2)===62?(u=Rt,c=c+3):ti(f,n(c+1),n(c+2))?o():(u=we,c++);break;case 46:Xa(f,n(c+1),n(c+2))?r():(u=we,c++);break;case 47:n(c+1)===42?(u=yt,c=e.indexOf("*/",c+2),c=c===-1?e.length:c+2):(u=we,c++);break;case 58:u=kt,c++;break;case 59:u=xt,c++;break;case 60:n(c+1)===33&&n(c+2)===45&&n(c+3)===45?(u=_s,c=c+4):(u=we,c++);break;case 64:ti(n(c+1),n(c+2),n(c+3))?(u=it,c=Us(e,c+1)):(u=we,c++);break;case 91:u=qt,c++;break;case 92:Sn(f,n(c+1))?o():(u=we,c++);break;case 93:u=en,c++;break;case 123:u=ht,c++;break;case 125:u=Gt,c++;break;case _y:r();break;case cu:o();break;default:u=we,c++}t(u,l,l=c)}}let $r=null;class pt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pt.createItem(t)}allocateCursor(t,n){let r;return $r!==null?(r=$r,$r=$r.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=$r,$r=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=pt.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 pt;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 pt;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 pt;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(pt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(pt.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(pt.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(pt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pt.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 ha(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
18
  `)}})}const el=100,Ud=60,jd=" ";function zd({source:e,line:t,column:n,baseLine:r,baseColumn:o},s){function i(m,h){return c.slice(m,h).map((b,y)=>String(m+y+1).padStart(d)+" |"+b).join(`
19
19
  `)}const a=`
20
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+=(jd.length-1)*(c[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>el&&(p=n-Ud+3,n=Ud-2);for(let m=u;m<=f;m++)m>=0&&m<c.length&&(c[m]=c[m].replace(/\t/g,jd),c[m]=(p>0&&c[m].length>p?"…":"")+c[m].substr(p,el-2)+(c[m].length>p+el-1?"…":""));return[i(u,t),new Array(n+d+2).join("-")+"^",i(t,f)].filter(Boolean).join(`
@@ -25,9 +25,9 @@
25
25
  value: `+(s||"<empty string>")+`
26
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},Hs=new Map,jr=new Map,Ri=45,ll=eI,op=tI;function pu(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ri&&e.charCodeAt(t+1)===Ri}function ky(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ri&&e.charCodeAt(t+1)!==Ri){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function eI(e){if(Hs.has(e))return Hs.get(e);const t=e.toLowerCase();let n=Hs.get(t);if(n===void 0){const r=pu(t,0),o=r?"":ky(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return Hs.set(e,n),n}function tI(e){if(jr.has(e))return jr.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=pu(t,n.length);if(!r&&(t=t.toLowerCase(),jr.has(t))){const a=jr.get(t);return jr.set(e,a),a}const o=r?"":ky(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 jr.set(e,i),i}const hu=["initial","inherit","unset","revert","revert-layer"],us=43,bn=45,cl=110,zr=!0,nI=!1;function cc(e,t){return e!==null&&e.type===we&&e.value.charCodeAt(0)===t}function Yo(e,t,n){for(;e!==null&&(e.type===tt||e.type===yt);)e=n(++t);return t}function rr(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===us||o===bn){if(n)return 0;t++}for(;t<e.value.length;t++)if(!gt(e.value.charCodeAt(t)))return 0;return r+1}function ul(e,t,n){let r=!1,o=Yo(e,t,n);if(e=n(o),e===null)return t;if(e.type!==de)if(cc(e,us)||cc(e,bn)){if(r=!0,o=Yo(n(++o),o,n),e=n(o),e===null||e.type!==de)return 0}else return t;if(!r){const s=e.value.charCodeAt(0);if(s!==us&&s!==bn)return 0}return rr(e,r?0:1,r,o)}function rI(e,t){let n=0;if(!e)return 0;if(e.type===de)return rr(e,0,nI,n);if(e.type===H&&e.value.charCodeAt(0)===bn){if(!no(e.value,1,cl))return 0;switch(e.value.length){case 2:return ul(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==bn?0:(n=Yo(t(++n),n,t),e=t(n),rr(e,0,zr,n));default:return e.value.charCodeAt(2)!==bn?0:rr(e,3,zr,n)}}else if(e.type===H||cc(e,us)&&t(n+1).type===H){if(e.type!==H&&(e=t(++n)),e===null||!no(e.value,0,cl))return 0;switch(e.value.length){case 1:return ul(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==bn?0:(n=Yo(t(++n),n,t),e=t(n),rr(e,0,zr,n));default:return e.value.charCodeAt(1)!==bn?0:rr(e,2,zr,n)}}else if(e.type===ve){let r=e.value.charCodeAt(0),o=r===us||r===bn?1:0,s=o;for(;s<e.value.length&&gt(e.value.charCodeAt(s));s++);return s===o||!no(e.value,s,cl)?0:s+1===e.value.length?ul(t(++n),n,t):e.value.charCodeAt(s+1)!==bn?0:s+2===e.value.length?(n=Yo(t(++n),n,t),e=t(n),rr(e,0,zr,n)):rr(e,s+2,zr,n)}return 0}const oI=43,xy=45,Ty=63,sI=117;function uc(e,t){return e!==null&&e.type===we&&e.value.charCodeAt(0)===t}function iI(e,t){return e.value.charCodeAt(0)===t}function Do(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const s=e.value.charCodeAt(o);if(s===xy&&n&&r!==0)return Do(e,t+r+1,!1),6;if(!fr(s)||++r>6)return 0}return r}function Vs(e,t,n){if(!e)return 0;for(;uc(n(t),Ty);){if(++e>6)return 0;t++}return t}function aI(e,t){let n=0;if(e===null||e.type!==H||!no(e.value,0,sI)||(e=t(++n),e===null))return 0;if(uc(e,oI))return e=t(++n),e===null?0:e.type===H?Vs(Do(e,0,!0),++n,t):uc(e,Ty)?Vs(1,++n,t):0;if(e.type===de){const r=Do(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===ve||e.type===de?!iI(e,xy)||!Do(e,1,!1)?0:n+1:Vs(r,n,t))}return e.type===ve?Vs(Do(e,1,!0),++n,t):0}const mu=["calc(","-moz-calc(","-webkit-calc("],gu=["min(","max(","clamp("],yu=["round(","mod(","rem("],lI=["sin(","cos(","tan("],cI=["asin(","acos(","atan(","atan2("],uI=["pow(","sqrt(","log(","exp(","sign("],bu=["hypot("],_u=["abs("],sp=[...mu,...gu,...yu,...lI,...uI,...bu,..._u],fI=[...mu,...gu,...yu,...bu,..._u],Fn=[...mu,...gu,...yu,...cI,...bu,..._u],vu=new Map([[me,ue],[Te,ue],[qt,en],[ht,Gt]]);function cn(e,t){return t<e.length?e.charCodeAt(t):0}function Ay(e,t){return cs(e,0,e.length,t)}function Oy(e,t){for(let n=0;n<t.length;n++)if(Ay(e,t[n]))return!0;return!1}function Iy(e,t){return t!==e.length-2?!1:cn(e,t)===92&&gt(cn(e,t+1))}function ma(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 dI(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case Gt:case ue:case en:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case me:case Te:case qt:case ht:r.push(n),n=vu.get(e.type);break}o++}while(e=t(o));return o}function Jt(e,t){return function(n,r,o){return n===null?0:n.type===me&&Oy(n.value,t)?dI(n,r):e(n,r,o)}}function He(e){return function(t){return t===null||t.type!==e?0:1}}function pI(e){if(e===null||e.type!==H)return 0;const t=e.value.toLowerCase();return Oy(t,hu)||Ay(t,"default")?0:1}function Py(e){return e===null||e.type!==H||cn(e.value,0)!==45||cn(e.value,1)!==45?0:1}function hI(e){return!Py(e)||e.value==="--"?0:1}function mI(e){if(e===null||e.type!==We)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(!fr(cn(e.value,n)))return 0;return 1}function gI(e){return e===null||e.type!==We||!ti(cn(e.value,1),cn(e.value,2),cn(e.value,3))?0:1}function yI(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ua:case Lt:break e;case Gt:case ue:case en:if(e.type!==n)break e;n=r.pop();break;case xt:if(n===0)break e;break;case we:if(n===0&&e.value==="!")break e;break;case me:case Te:case qt:case ht:r.push(n),n=vu.get(e.type);break}o++}while(e=t(o));return o}function bI(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ua:case Lt:break e;case Gt:case ue:case en:if(e.type!==n)break e;n=r.pop();break;case me:case Te:case qt:case ht:r.push(n),n=vu.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!==ve)return 0;const o=fa(t.value,0);if(e!==null){const s=t.value.indexOf("\\",o),i=s===-1||!Iy(t.value,s)?t.value.substr(o):t.value.substring(o,s);if(e.has(i.toLowerCase())===!1)return 0}return ma(r,t.value,o)?0:1}}function _I(e,t,n){return e===null||e.type!==et||ma(n,e.value,e.value.length-1)?0:1}function Ly(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===de&&Number(t.value)===0?1:e(t,n,r)}}function vI(e,t,n){if(e===null)return 0;const r=fa(e.value,0);return!(r===e.value.length)&&!Iy(e.value,r)||ma(n,e.value,r)?0:1}function wI(e,t,n){if(e===null||e.type!==de)return 0;let r=cn(e.value,0)===43||cn(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!gt(cn(e.value,r)))return 0;return ma(n,e.value,r)?0:1}const EI={"ident-token":He(H),"function-token":He(me),"at-keyword-token":He(it),"hash-token":He(We),"string-token":He(dn),"bad-string-token":He(ua),"url-token":He(wt),"bad-url-token":He(Lt),"delim-token":He(we),"number-token":He(de),"percentage-token":He(et),"dimension-token":He(ve),"whitespace-token":He(tt),"CDO-token":He(_s),"CDC-token":He(Rt),"colon-token":He(kt),"semicolon-token":He(xt),"comma-token":He(Ut),"[-token":He(qt),"]-token":He(en),"(-token":He(Te),")-token":He(ue),"{-token":He(ht),"}-token":He(Gt)},SI={string:He(dn),ident:He(H),percentage:Jt(_I,fI),zero:Ly(),number:Jt(vI,sp),integer:Jt(wI,sp),"custom-ident":pI,"dashed-ident":Py,"custom-property-name":hI,"hex-color":mI,"id-selector":gI,"an-plus-b":rI,urange:aI,"declaration-value":yI,"any-value":bI},CI=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function kI(e){const{angle:t,decibel:n,frequency:r,flex:o,length:s,resolution:i,semitones:a,time:l}=e||{};return{dimension:Jt($n(null),Fn),angle:Jt($n(t),Fn),decibel:Jt($n(n),Fn),frequency:Jt($n(r),Fn),flex:Jt($n(o),Fn),length:Jt(Ly($n(s)),Fn),resolution:Jt($n(i),Fn),semitones:Jt($n(a),Fn),time:Jt($n(l),Fn)}}function xI(e){const t=new Set;for(const n of CI)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(r){return r===null?0:r.type===we&&r.value==="%"||r.type===H&&t.has(r.value.toLowerCase())?1:0}}function TI(e){return{...EI,...SI,...kI(e),"attr-unit":xI(e)}}const AI=["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"],OI=["deg","grad","rad","turn"],II=["s","ms"],PI=["hz","khz"],LI=["dpi","dpcm","dppx","x"],RI=["fr"],NI=["db"],MI=["st"],ip=Object.freeze(Object.defineProperty({__proto__:null,angle:OI,decibel:NI,flex:RI,frequency:PI,length:AI,resolution:LI,semitones:MI,time:II},Symbol.toStringTag,{value:"Module"}));function DI(e,t,n){return Object.assign(ha("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
27
27
  `+t+`
28
- --`+new Array((n||t.length)+1).join("-")+"^"})}const FI=9,$I=10,UI=12,jI=13,zI=32,ap=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class BI{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&&ap[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!==jI&&n!==$I&&n!==UI&&n!==zI&&n!==FI)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 DI(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||ap[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 HI=9,VI=10,WI=12,GI=13,qI=32,Ry=33,wu=35,lp=38,Ni=39,Ny=40,My=41,Dy=42,Eu=43,Su=44,cp=45,Cu=60,fc=62,Mi=63,KI=64,fs=91,po=93,Di=123,up=124,dc=125,fp=8734,dp={" ":1,"&&":2,"||":3,"|":4};function pp(e){let t=null,n=null;return e.eat(Di),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Su?(e.pos++,e.skipWs(),e.charCode()!==dc&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(dc),{min:Number(t),max:n?Number(n):0}}function YI(e){let t=null,n=!1;switch(e.charCode()){case Dy:e.pos++,t={min:0,max:0};break;case Eu:e.pos++,t={min:1,max:0};break;case Mi:e.pos++,t={min:0,max:1};break;case wu:e.pos++,n=!0,e.charCode()===Di?t=pp(e):e.charCode()===Mi?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Di:t=pp(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Xn(e,t){const n=YI(e);return n!==null?(n.term=t,e.charCode()===wu&&e.charCodeAt(e.pos-1)===Eu||e.charCode()===Mi&&e.charCodeAt(e.pos-1)===dc?Xn(e,n):n):t}function fl(e){const t=e.peek();return t===""?null:Xn(e,{type:"Token",value:t})}function XI(e){let t;return e.eat(Cu),e.eat(Ni),t=e.scanWord(),e.eat(Ni),e.eat(fc),Xn(e,{type:"Property",name:t})}function JI(e){let t=null,n=null,r=1;return e.eat(fs),e.charCode()===cp&&(e.peek(),r=-1),r==-1&&e.charCode()===fp?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Su),e.skipWs(),e.charCode()===fp?e.peek():(r=1,e.charCode()===cp&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(po),{type:"Range",min:t,max:n}}function QI(e){let t,n=null;if(e.eat(Cu),t=e.scanWord(),t==="boolean-expr"){e.eat(fs);const r=ga(e,po);return e.eat(po),e.eat(fc),Xn(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===Ny&&e.nextCharCode()===My&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===fs&&(e.skipWs(),n=JI(e)),e.eat(fc),Xn(e,{type:"Type",name:t,opts:n})}function ZI(e){const t=e.scanWord();return e.charCode()===Ny?(e.pos++,{type:"Function",name:t}):Xn(e,{type:"Keyword",name:t})}function e1(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)=>dp[o]-dp[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 ga(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,i=!1;for(;e.charCode()!==t;){let a=i?ga(e,My):n1(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:e1(r,n)||" ",disallowEmpty:!1,explicit:!1}}function t1(e){let t;return e.eat(fs),t=ga(e,po),e.eat(po),t.explicit=!0,e.charCode()===Ry&&(e.pos++,t.disallowEmpty=!0),t}function n1(e){let t=e.charCode();switch(t){case po:break;case fs:return Xn(e,t1(e));case Cu:return e.nextCharCode()===Ni?XI(e):QI(e);case up:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===up?2:1))};case lp:return e.pos++,e.eat(lp),{type:"Combinator",value:"&&"};case Su:return e.pos++,{type:"Comma"};case Ni:return Xn(e,{type:"String",value:e.scanString()});case qI:case HI:case VI:case GI:case WI:return{type:"Spaces",value:e.scanSpaces()};case KI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):fl(e);case Dy:case Eu:case Mi:case wu:case Ry:break;case Di:if(t=e.nextCharCode(),t<48||t>57)return fl(e);break;default:return e.isNameCharCode(t)?ZI(e):fl(e)}}function Fy(e){const t=new BI(e),n=ga(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const Fo=function(){};function hp(e){return typeof e=="function"?e:Fo}function r1(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=Fo,s=Fo;if(typeof t=="function"?o=t:t&&(o=hp(t.enter),s=hp(t.leave)),o===Fo&&s===Fo)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const o1={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 s1(e){const t=[];return pa(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function i1(e,t){return typeof e=="string"?s1(e):t.generate(e,o1)}const Ae={type:"Match"},je={type:"Mismatch"},ku={type:"DisallowEmpty"},a1=40,l1=41;function vt(e,t,n){return t===Ae&&n===je||e===Ae&&t===Ae&&n===Ae?e:(e.type==="If"&&e.else===je&&t===Ae&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function $y(e){return e.length>2&&e.charCodeAt(e.length-2)===a1&&e.charCodeAt(e.length-1)===l1}function mp(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&$y(e.name)}function Zn(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Xo(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Xo(e.match,t,n),e.then=Xo(e.then,t,n),e.else=Xo(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function pc(e,t,n){switch(e){case" ":{let r=Ae;for(let o=t.length-1;o>=0;o--){const s=t[o];r=vt(s,r,je)}return r}case"|":{let r=je,o=null;for(let s=t.length-1;s>=0;s--){let i=t[s];if(mp(i)&&(o===null&&s>0&&mp(t[s-1])&&(o=Object.create(null),r=vt({type:"Enum",map:o},Ae,r)),o!==null)){const a=($y(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(a in o)){o[a]=i;continue}}o=null,r=vt(i,Ae,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=je;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=pc(e,t.filter(function(a){return a!==s}),!1):i=Ae,r=vt(s,i,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Ae:je;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=pc(e,t.filter(function(a){return a!==s}),!0):i=Ae,r=vt(s,i,r)}return r}}}function c1(e){let t=Ae,n=Xr(e.term);if(e.max===0)n=vt(n,ku,je),t=vt(n,null,je),t.then=vt(Ae,Ae,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,je));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Ae&&(t=vt({type:"Comma",syntax:e},t,je)),t=vt(n,vt(Ae,Ae,t),je);if(e.min===0)t=vt(Ae,Ae,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Ae&&(t=vt({type:"Comma",syntax:e},t,je)),t=vt(n,t,je);return t}function Xr(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=pc(e.combinator,e.terms.map(Xr),!1);return e.disallowEmpty&&(t=vt(t,ku,je)),t}case"Multiplier":return c1(e);case"Boolean":{const t=Xr(e.term),n=Xr(Zn([Zn([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Zn([{type:"Type",name:"!boolean-group"},Zn([{type:"Multiplier",comma:!1,min:0,max:0,term:Zn([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Zn([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=Xr(Zn([{type:"Type",name:"!term"},Zn([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Xo(r,{"!term":t,"!self":n}),Xo(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 Ws(e,t){return typeof e=="string"&&(e=Fy(e)),{type:"MatchGraph",match:Xr(e),syntax:t||null,source:e}}const{hasOwnProperty:gp}=Object.prototype,u1=0,f1=1,hc=2,Uy=3,yp="Match",d1="Mismatch",p1="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",bp=15e3;function h1(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function dl(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 m1(e){return e.type!==we?!1:e.value!=="?"}function _p(e){return e===null?!0:e.type===Ut||e.type===me||e.type===Te||e.type===qt||e.type===ht||m1(e)}function vp(e){return e===null?!0:e.type===ue||e.type===en||e.type===Gt||e.type===we&&e.value==="/"}function g1(e,t,n){function r(){do _++,y=_<e.length?e[_]:null;while(y!==null&&(y.type===tt||y.type===yt))}function o(A){const C=_+A;return C<e.length?e[C]:null}function s(A,C){return{nextState:A,matchStack:g,syntaxStack:f,thenStack:d,tokenIndex:_,prev:C}}function i(A){d={nextState:A,matchStack:g,syntaxStack:f,prev:d}}function a(A){p=s(A,p)}function l(){g={type:f1,syntax:t.syntax,token:y,prev:g},r(),m=null,_>E&&(E=_)}function c(){f={syntax:t.syntax,opts:t.syntax.opts||f!==null&&f.opts||null,prev:f},g={type:hc,syntax:t.syntax,token:g.token,prev:g}}function u(){g.type===hc?g=g.prev:g={type:Uy,syntax:f.syntax,token:g.token,prev:g},f=f.prev}let f=null,d=null,p=null,m=null,h=0,b=null,y=null,_=-1,E=0,g={type:u1,syntax:null,token:null,prev:null};for(r();b===null&&++h<bp;)switch(t.type){case"Match":if(d===null){if(y!==null&&(_!==e.length-1||y.value!=="\\0"&&y.value!=="\\9")){t=je;break}b=yp;break}if(t=d.nextState,t===ku)if(d.matchStack===g){t=je;break}else t=Ae;for(;d.syntaxStack!==f;)u();d=d.prev;break;case"Mismatch":if(m!==null&&m!==!1)(p===null||_>p.tokenIndex)&&(p=m,m=!1);else if(p===null){b=d1;break}t=p.nextState,d=p.thenStack,f=p.syntaxStack,g=p.matchStack,_=p.tokenIndex,y=_<e.length?e[_]:null,p=p.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==je&&a(t.else),t.then!==Ae&&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=je;break}t=Ae;break}if(t.mask===(1<<x.length)-1){t=Ae;break}for(;t.index<x.length;t.index++){const w=1<<t.index;if((t.mask&w)===0){a(t),i({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|w}),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].*$/,"")),gp.call(t.map,x)){t=t.map[x];break}}t=je;break;case"Generic":{const x=f!==null?f.opts:null,w=_+Math.floor(t.fn(y,o,x));if(!isNaN(w)&&w>_){for(;_<w;)l();t=Ae}else t=je;break}case"Type":case"Property":{const x=t.type==="Type"?"types":"properties",w=gp.call(n,x)?n[x][t.name]:null;if(!w||!w.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(m!==!1&&y!==null&&t.type==="Type"&&(t.name==="custom-ident"&&y.type===H||t.name==="length"&&y.value==="0")){m===null&&(m=s(t,p)),t=je;break}c(),t=w.matchRef||w.match;break}case"Keyword":{const x=t.name;if(y!==null){let w=y.value;if(w.indexOf("\\")!==-1&&(w=w.replace(/\\[09].*$/,"")),dl(w,x)){l(),t=Ae;break}}t=je;break}case"AtKeyword":case"Function":if(y!==null&&dl(y.value,t.name)){l(),t=Ae;break}t=je;break;case"Token":if(y!==null&&y.value===t.value){l(),t=Ae;break}t=je;break;case"Comma":y!==null&&y.type===Ut?_p(g.token)?t=je:(l(),t=vp(y)?je:Ae):t=_p(g.token)||vp(y)?Ae:je;break;case"String":let A="",C=_;for(;C<e.length&&A.length<t.value.length;C++)A+=e[C].value;if(dl(A,t.value)){for(;_<C;)l();t=Ae}else t=je;break;default:throw new Error("Unknown node type: "+t.type)}switch(b){case null:console.warn("[csstree-match] BREAK after "+bp+" iterations"),b=p1,g=null;break;case yp:for(;f!==null;)u();break;default:g=null}return{tokens:e,reason:b,iterations:h,match:g,longestMatch:E}}function wp(e,t,n){const r=g1(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=h1(o).prev;o!==null;){switch(o.type){case hc:s.match.push(s={syntax:o.syntax,match:[]}),i.push(s);break;case Uy: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 jy(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 y1(e,t){return xu(this,e,n=>n.type==="Type"&&n.name===t)}function b1(e,t){return xu(this,e,n=>n.type==="Property"&&n.name===t)}function _1(e){return xu(this,e,t=>t.type==="Keyword")}function xu(e,t,n){const r=jy.call(e,t);return r===null?!1:r.some(n)}const v1=Object.freeze(Object.defineProperty({__proto__:null,getTrace:jy,isKeyword:_1,isProperty:b1,isType:y1},Symbol.toStringTag,{value:"Module"}));function zy(e){return"node"in e?e.node:zy(e.match[0])}function By(e){return"node"in e?e.node:By(e.match[e.match.length-1])}function Ep(e,t,n,r,o){function s(a){if(a.syntax!==null&&a.syntax.type===r&&a.syntax.name===o){const l=zy(a),c=By(a);e.syntax.walk(t,function(u,f,d){if(u===l){const p=new pt;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:Jo}=Object.prototype;function pl(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Sp(e){return!!e&&pl(e.offset)&&pl(e.line)&&pl(e.column)}function w1(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(Jo.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(!Sp(r.loc.start))s+=".start";else if(!Sp(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 pt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");i||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Jo.call(t,s)&&Jo.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function Hy(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<"+(Hy(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function E1(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Jo.call(n,s)===!1)continue;const i=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=Hy(i,e+"."+s)}return{docs:o,check:w1(e,r)}}function S1(e){const t={};if(e.node){for(const n in e.node)if(Jo.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=E1(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function mc(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:du(e[o].syntax,{compact:t}));return r}function C1(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:du(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&mc(s.descriptors,t,n)};return r}function k1(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function x1(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function sn(e,t,n){return{matched:e,iterations:n,error:t,...v1}}function Br(e,t,n,r){const o=i1(n,e.syntax);let s;return k1(o)?sn(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=wp(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=wp(o,t.match,e),!s.match)?sn(null,new ZO(s.reason,t.syntax,n,s),s.iterations):sn(s.match,null,s.iterations))}class Cp{constructor(t,n,r){if(this.cssWideKeywords=hu,this.syntax=n,this.generic=!1,this.units={...ip},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||S1(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(ip))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(TI(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=Ws(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=Ws(t,s):(typeof t=="string"?Object.defineProperty(i,"syntax",{get(){return Object.defineProperty(i,"syntax",{value:Fy(t)}),i.syntax}}):i.syntax=t,Object.defineProperty(i,"match",{get(){return Object.defineProperty(i,"match",{value:Ws(i.syntax,s)}),i.match}}),n==="Property"&&Object.defineProperty(i,"matchRef",{get(){const a=i.syntax,l=x1(a)?Ws({...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 Ao("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&&!Br(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=ll(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 Ao("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new Ao("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return sn(null,r);const o=this.getAtrule(t);return o.prelude?Br(this,o.prelude,n||"",!1):sn(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return sn(null,o);const s=this.getAtrule(t),i=ll(n);return Br(this,s.descriptors[i.name]||s.descriptors[i.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?sn(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(op(t).custom)return sn(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?sn(null,r):Br(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?Br(this,r,n,!1):sn(null,new Ao("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?sn(null,new Ao("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Br(this,t,n,!1))}findValueFragments(t,n,r,o){return Ep(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return Ep(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=ll(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=op(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&&r1(f.syntax,function(d){if(d.type!=="Type"&&d.type!=="Property")return;const p=d.type==="Type"?l.types:l.properties,m=d.type==="Type"?o:s;hasOwnProperty.call(p,d.name)?n(l,d.name,m,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:mc(this.types,!n,t),properties:mc(this.properties,!n,t),atrules:C1(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function hl(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function T1(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function ml(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?T1(s,n):s};return r}function gc(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?hl(l.prelude,i.prelude):l.prelude||null;for(const[c,u]of Object.entries(i.descriptors||{}))l.descriptors[c]=u?hl(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]=hl(n[r][s],i);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=ml(e[r],o);break;case"atrule":case"pseudo":n[r]=ml(e[r],o,["parse"]);break;case"node":n[r]=ml(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function Vy(e){const t=OO(e),n=qO(e),r=HO(e),{fromPlainObject:o,toPlainObject:s}=VO(n),i={lexer:null,createLexer:a=>new Cp(a,i,i.lexer.structure),tokenize:pa,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(a){const l=gc({},e);return Vy(typeof a=="function"?a(l):gc(l,a))}};return i.lexer=new Cp({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},i),i}const A1=e=>Vy(gc({},e)),O1={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"}}}},En=43,zt=45,ri=110,vr=!0,I1=!1;function oi(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===En||r===zt)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)gt(this.charCodeAt(n))||this.error("Integer is expected",n)}function Jr(e){return oi.call(this,0,e)}function er(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case ri:n="N is expected";break;case zt:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function gl(){let e=0,t=0,n=this.tokenType;for(;n===tt||n===yt;)n=this.lookupType(++e);if(n!==de)if(this.isDelim(En,e)||this.isDelim(zt,e)){t=this.isDelim(En,e)?En:zt;do n=this.lookupType(++e);while(n===tt||n===yt);n!==de&&(this.skip(e),Jr.call(this,vr))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==En&&n!==zt&&this.error("Number sign is expected")),Jr.call(this,t!==0),t===zt?"-"+this.consume(de):this.consume(de)}const P1="AnPlusB",L1={a:[String,null],b:[String,null]};function Wy(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===de)Jr.call(this,I1),n=this.consume(de);else if(this.tokenType===H&&this.cmpChar(this.tokenStart,zt))switch(t="-1",er.call(this,1,ri),this.tokenEnd-this.tokenStart){case 2:this.next(),n=gl.call(this);break;case 3:er.call(this,2,zt),this.next(),this.skipSC(),Jr.call(this,vr),n="-"+this.consume(de);break;default:er.call(this,2,zt),oi.call(this,3,vr),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===H||this.isDelim(En)&&this.lookupType(1)===H){let r=0;switch(t="1",this.isDelim(En)&&(r=1,this.next()),er.call(this,0,ri),this.tokenEnd-this.tokenStart){case 1:this.next(),n=gl.call(this);break;case 2:er.call(this,1,zt),this.next(),this.skipSC(),Jr.call(this,vr),n="-"+this.consume(de);break;default:er.call(this,1,zt),oi.call(this,2,vr),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===ve){const r=this.charCodeAt(this.tokenStart),o=r===En||r===zt;let s=this.tokenStart+o;for(;s<this.tokenEnd&&gt(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),er.call(this,s-this.tokenStart,ri),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=gl.call(this)):(er.call(this,s-this.tokenStart+1,zt),s+2===this.tokenEnd?(this.next(),this.skipSC(),Jr.call(this,vr),n="-"+this.consume(de)):(oi.call(this,s-this.tokenStart+2,vr),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===En&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===En&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function R1(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 N1=Object.freeze(Object.defineProperty({__proto__:null,generate:R1,name:P1,parse:Wy,structure:L1},Symbol.toStringTag,{value:"Module"}));function kp(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function M1(){for(let e=1,t;t=this.lookupType(e);e++){if(t===Gt)return!0;if(t===ht||t===it)return!1}return!1}const D1="Atrule",F1="atrule",$1={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Gy(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(it),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==ht&&this.tokenType!==xt&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),kp):o=kp.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case xt:this.next();break;case ht:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(M1.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function U1(e){this.token(it,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(xt,";")}const j1=Object.freeze(Object.defineProperty({__proto__:null,generate:U1,name:D1,parse:Gy,structure:$1,walkContext:F1},Symbol.toStringTag,{value:"Module"})),z1="AtrulePrelude",B1="atrulePrelude",H1={children:[[]]};function qy(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!==ht&&this.tokenType!==xt&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function V1(e){this.children(e)}const W1=Object.freeze(Object.defineProperty({__proto__:null,generate:V1,name:z1,parse:qy,structure:H1,walkContext:B1},Symbol.toStringTag,{value:"Module"})),G1=36,Ky=42,si=61,q1=94,yc=124,K1=126;function Y1(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(Ky)?(t=!0,this.next()):this.isDelim(yc)||this.eat(H),this.isDelim(yc)?this.charCodeAt(this.tokenStart+1)!==si?(this.next(),this.eat(H)):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 X1(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==si&&t!==K1&&t!==q1&&t!==G1&&t!==Ky&&t!==yc&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==si&&(this.isDelim(si)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const J1="AttributeSelector",Q1={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Yy(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(qt),this.skipSC(),t=Y1.call(this),this.skipSC(),this.tokenType!==en&&(this.tokenType!==H&&(n=X1.call(this),this.skipSC(),r=this.tokenType===dn?this.String():this.Identifier(),this.skipSC()),this.tokenType===H&&(o=this.consume(H),this.skipSC())),this.eat(en),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function Z1(e){this.token(we,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(H,e.flags),this.token(we,"]")}const eP=Object.freeze(Object.defineProperty({__proto__:null,generate:Z1,name:J1,parse:Yy,structure:Q1},Symbol.toStringTag,{value:"Module"})),tP=38;function Xy(){return this.Raw(null,!0)}function xp(){return this.parseWithFallback(this.Rule,Xy)}function Tp(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function nP(){if(this.tokenType===xt)return Tp.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Tp);return this.tokenType===xt&&this.next(),e}const rP="Block",oP="block",sP={children:[["Atrule","Rule","Declaration"]]};function Jy(e){const t=e?nP:xp,n=this.tokenStart;let r=this.createList();this.eat(ht);e:for(;!this.eof;)switch(this.tokenType){case Gt:break e;case tt:case yt:this.next();break;case it:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Xy));break;default:e&&this.isDelim(tP)?r.push(xp.call(this)):r.push(t.call(this))}return this.eof||this.eat(Gt),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function iP(e){this.token(ht,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(xt,";")}),this.token(Gt,"}")}const aP=Object.freeze(Object.defineProperty({__proto__:null,generate:iP,name:rP,parse:Jy,structure:sP,walkContext:oP},Symbol.toStringTag,{value:"Module"})),lP="Brackets",cP={children:[[]]};function Qy(e,t){const n=this.tokenStart;let r=null;return this.eat(qt),r=e.call(this,t),this.eof||this.eat(en),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function uP(e){this.token(we,"["),this.children(e),this.token(we,"]")}const fP=Object.freeze(Object.defineProperty({__proto__:null,generate:uP,name:lP,parse:Qy,structure:cP},Symbol.toStringTag,{value:"Module"})),dP="CDC",pP=[];function Zy(){const e=this.tokenStart;return this.eat(Rt),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function hP(){this.token(Rt,"-->")}const mP=Object.freeze(Object.defineProperty({__proto__:null,generate:hP,name:dP,parse:Zy,structure:pP},Symbol.toStringTag,{value:"Module"})),gP="CDO",yP=[];function eb(){const e=this.tokenStart;return this.eat(_s),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function bP(){this.token(_s,"<!--")}const _P=Object.freeze(Object.defineProperty({__proto__:null,generate:bP,name:gP,parse:eb,structure:yP},Symbol.toStringTag,{value:"Module"})),vP=46,wP="ClassSelector",EP={name:String};function tb(){return this.eatDelim(vP),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(H)}}function SP(e){this.token(we,"."),this.token(H,e.name)}const CP=Object.freeze(Object.defineProperty({__proto__:null,generate:SP,name:wP,parse:tb,structure:EP},Symbol.toStringTag,{value:"Module"})),kP=43,Ap=47,xP=62,TP=126,AP="Combinator",OP={name:String};function nb(){const e=this.tokenStart;let t;switch(this.tokenType){case tt:t=" ";break;case we:switch(this.charCodeAt(this.tokenStart)){case xP:case kP:case TP:this.next();break;case Ap:this.next(),this.eatIdent("deep"),this.eatDelim(Ap);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function IP(e){this.tokenize(e.name)}const PP=Object.freeze(Object.defineProperty({__proto__:null,generate:IP,name:AP,parse:nb,structure:OP},Symbol.toStringTag,{value:"Module"})),LP=42,RP=47,NP="Comment",MP={value:String};function rb(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(yt),t-e+2>=2&&this.charCodeAt(t-2)===LP&&this.charCodeAt(t-1)===RP&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function DP(e){this.token(yt,"/*"+e.value+"*/")}const FP=Object.freeze(Object.defineProperty({__proto__:null,generate:DP,name:NP,parse:rb,structure:MP},Symbol.toStringTag,{value:"Module"})),$P=new Set([kt,ue,ir]),UP="Condition",jP={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Op(e){return this.lookupTypeNonSC(1)===H&&$P.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const zP={media:Op,container:Op,supports(){return this.SupportsDeclaration()}};function ob(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case yt:case tt:this.next();continue;case H:t.push(this.Identifier());break;case Te:{let n=this.parseWithFallback(()=>zP[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(Te);const r=this.Condition(e);return this.eat(ue),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case me:{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 BP(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(Te,"("),this.node(t),this.token(ue,")")):this.node(t)})}const HP=Object.freeze(Object.defineProperty({__proto__:null,generate:BP,name:UP,parse:ob,structure:jP},Symbol.toStringTag,{value:"Module"})),sb=33,VP=35,WP=36,GP=38,qP=42,KP=43,Ip=47;function YP(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function XP(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function JP(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==xt&&this.isDelim(sb)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const QP="Declaration",ZP="declaration",eL={important:[Boolean,String],property:String,value:["Value","Raw"]};function ib(){const e=this.tokenStart,t=this.tokenIndex,n=nL.call(this),r=pu(n),o=r?this.parseCustomProperty:this.parseValue,s=r?XP:YP;let i=!1,a;this.skipSC(),this.eat(kt);const l=this.tokenIndex;if(r||this.skipSC(),o?a=this.parseWithFallback(JP,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)===tt){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(sb)&&(i=rL.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==xt&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:i,property:n,value:a}}function tL(e){this.token(H,e.property),this.token(kt,":"),this.node(e.value),e.important&&(this.token(we,"!"),this.token(H,e.important===!0?"important":e.important))}function nL(){const e=this.tokenStart;if(this.tokenType===we)switch(this.charCodeAt(this.tokenStart)){case qP:case WP:case KP:case VP:case GP:this.next();break;case Ip:this.next(),this.isDelim(Ip)&&this.next();break}return this.tokenType===We?this.eat(We):this.eat(H),this.substrToCursor(e)}function rL(){this.eat(we),this.skipSC();const e=this.consume(H);return e==="important"?!0:e}const oL=Object.freeze(Object.defineProperty({__proto__:null,generate:tL,name:QP,parse:ib,structure:eL,walkContext:ZP},Symbol.toStringTag,{value:"Module"})),sL=38;function yl(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const iL="DeclarationList",aL={children:[["Declaration","Atrule","Rule"]]};function ab(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case tt:case yt:case xt:this.next();break;case it:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),yl));break;default:this.isDelim(sL)?e.push(this.parseWithFallback(this.Rule,yl)):e.push(this.parseWithFallback(this.Declaration,yl))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function lL(e){this.children(e,t=>{t.type==="Declaration"&&this.token(xt,";")})}const cL=Object.freeze(Object.defineProperty({__proto__:null,generate:lL,name:iL,parse:ab,structure:aL},Symbol.toStringTag,{value:"Module"})),uL="Dimension",fL={value:String,unit:String};function lb(){const e=this.tokenStart,t=this.consumeNumber(ve);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function dL(e){this.token(ve,e.value+e.unit)}const pL=Object.freeze(Object.defineProperty({__proto__:null,generate:dL,name:uL,parse:lb,structure:fL},Symbol.toStringTag,{value:"Module"})),hL=47,mL="Feature",gL={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function cb(e){const t=this.tokenStart;let n,r=null;if(this.eat(Te),this.skipSC(),n=this.consume(H),this.skipSC(),this.tokenType!==ue){switch(this.eat(kt),this.skipSC(),this.tokenType){case de:this.lookupNonWSType(1)===we?r=this.Ratio():r=this.Number();break;case ve:r=this.Dimension();break;case H:r=this.Identifier();break;case me:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(hL)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(ue),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function yL(e){this.token(Te,"("),this.token(H,e.name),e.value!==null&&(this.token(kt,":"),this.node(e.value)),this.token(ue,")")}const bL=Object.freeze(Object.defineProperty({__proto__:null,generate:yL,name:mL,parse:cb,structure:gL},Symbol.toStringTag,{value:"Module"})),_L="FeatureFunction",vL={kind:String,feature:String,value:["Declaration","Selector"]};function wL(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function ub(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=wL.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(ue),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function EL(e){this.token(me,e.feature+"("),this.node(e.value),this.token(ue,")")}const SL=Object.freeze(Object.defineProperty({__proto__:null,generate:EL,name:_L,parse:ub,structure:vL},Symbol.toStringTag,{value:"Module"})),Pp=47,CL=60,Lp=61,kL=62,xL="FeatureRange",TL={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 bl(){switch(this.skipSC(),this.tokenType){case de:return this.isDelim(Pp,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case ve:return this.Dimension();case H:return this.Identifier();case me:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Pp)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Rp(e){if(this.skipSC(),this.isDelim(CL)||this.isDelim(kL)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(Lp)?(this.next(),t+"="):t}if(this.isDelim(Lp))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function fb(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(Te);const n=bl.call(this),r=Rp.call(this,n.type==="Identifier"),o=bl.call(this);let s=null,i=null;return this.lookupNonWSType(0)!==ue&&(s=Rp.call(this),i=bl.call(this)),this.skipSC(),this.eat(ue),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:i}}function AL(e){this.token(Te,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(ue,")")}const OL=Object.freeze(Object.defineProperty({__proto__:null,generate:AL,name:xL,parse:fb,structure:TL},Symbol.toStringTag,{value:"Module"})),IL="Function",PL="function",LL={name:String,children:[[]]};function db(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(ue),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function RL(e){this.token(me,e.name+"("),this.children(e),this.token(ue,")")}const NL=Object.freeze(Object.defineProperty({__proto__:null,generate:RL,name:IL,parse:db,structure:LL,walkContext:PL},Symbol.toStringTag,{value:"Module"})),ML="GeneralEnclosed",DL={kind:String,function:[String,null],children:[[]]};function pb(e){const t=this.tokenStart;let n=null;this.tokenType===me?n=this.consumeFunctionName():this.eat(Te);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(ue),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function FL(e){e.function?this.token(me,e.function+"("):this.token(Te,"("),this.children(e),this.token(ue,")")}const $L=Object.freeze(Object.defineProperty({__proto__:null,generate:FL,name:ML,parse:pb,structure:DL},Symbol.toStringTag,{value:"Module"})),UL="XXX",jL="Hash",zL={value:String};function hb(){const e=this.tokenStart;return this.eat(We),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function BL(e){this.token(We,"#"+e.value)}const HL=Object.freeze(Object.defineProperty({__proto__:null,generate:BL,name:jL,parse:hb,structure:zL,xxx:UL},Symbol.toStringTag,{value:"Module"})),VL="Identifier",WL={name:String};function mb(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(H)}}function GL(e){this.token(H,e.name)}const qL=Object.freeze(Object.defineProperty({__proto__:null,generate:GL,name:VL,parse:mb,structure:WL},Symbol.toStringTag,{value:"Module"})),KL="IdSelector",YL={name:String};function gb(){const e=this.tokenStart;return this.eat(We),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function XL(e){this.token(we,"#"+e.name)}const JL=Object.freeze(Object.defineProperty({__proto__:null,generate:XL,name:KL,parse:gb,structure:YL},Symbol.toStringTag,{value:"Module"})),QL=46,ZL="Layer",eR={name:String};function yb(){let e=this.tokenStart,t=this.consume(H);for(;this.isDelim(QL);)this.eat(we),t+="."+this.consume(H);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function tR(e){this.tokenize(e.name)}const nR=Object.freeze(Object.defineProperty({__proto__:null,generate:tR,name:ZL,parse:yb,structure:eR},Symbol.toStringTag,{value:"Module"})),rR="LayerList",oR={children:[["Layer"]]};function bb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Ut);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function sR(e){this.children(e,()=>this.token(Ut,","))}const iR=Object.freeze(Object.defineProperty({__proto__:null,generate:sR,name:rR,parse:bb,structure:oR},Symbol.toStringTag,{value:"Module"})),aR="MediaQuery",lR={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function _b(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===H&&this.lookupTypeNonSC(1)!==Te){const o=this.consume(H),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(H)):n=o,this.lookupTypeNonSC(0)){case H:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case ht:case xt:case Ut:case ir:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case H:case Te:case me:{r=this.Condition("media");break}case ht:case xt:case ir: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 cR(e){e.mediaType?(e.modifier&&this.token(H,e.modifier),this.token(H,e.mediaType),e.condition&&(this.token(H,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const uR=Object.freeze(Object.defineProperty({__proto__:null,generate:cR,name:aR,parse:_b,structure:lR},Symbol.toStringTag,{value:"Module"})),fR="MediaQueryList",dR={children:[["MediaQuery"]]};function vb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Ut);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function pR(e){this.children(e,()=>this.token(Ut,","))}const hR=Object.freeze(Object.defineProperty({__proto__:null,generate:pR,name:fR,parse:vb,structure:dR},Symbol.toStringTag,{value:"Module"})),mR=38,gR="NestingSelector",yR={};function wb(){const e=this.tokenStart;return this.eatDelim(mR),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function bR(){this.token(we,"&")}const _R=Object.freeze(Object.defineProperty({__proto__:null,generate:bR,name:gR,parse:wb,structure:yR},Symbol.toStringTag,{value:"Module"})),vR="Nth",wR={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Eb(){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 ER(e){this.node(e.nth),e.selector!==null&&(this.token(H,"of"),this.node(e.selector))}const SR=Object.freeze(Object.defineProperty({__proto__:null,generate:ER,name:vR,parse:Eb,structure:wR},Symbol.toStringTag,{value:"Module"})),CR="Number",kR={value:String};function Sb(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(de)}}function xR(e){this.token(de,e.value)}const TR=Object.freeze(Object.defineProperty({__proto__:null,generate:xR,name:CR,parse:Sb,structure:kR},Symbol.toStringTag,{value:"Module"})),AR="Operator",OR={value:String};function Cb(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function IR(e){this.tokenize(e.value)}const PR=Object.freeze(Object.defineProperty({__proto__:null,generate:IR,name:AR,parse:Cb,structure:OR},Symbol.toStringTag,{value:"Module"})),LR="Parentheses",RR={children:[[]]};function kb(e,t){const n=this.tokenStart;let r=null;return this.eat(Te),r=e.call(this,t),this.eof||this.eat(ue),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function NR(e){this.token(Te,"("),this.children(e),this.token(ue,")")}const MR=Object.freeze(Object.defineProperty({__proto__:null,generate:NR,name:LR,parse:kb,structure:RR},Symbol.toStringTag,{value:"Module"})),DR="Percentage",FR={value:String};function xb(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(et)}}function $R(e){this.token(et,e.value+"%")}const UR=Object.freeze(Object.defineProperty({__proto__:null,generate:$R,name:DR,parse:xb,structure:FR},Symbol.toStringTag,{value:"Module"})),jR="PseudoClassSelector",zR="function",BR={name:String,children:[["Raw"],null]};function Tb(){const e=this.tokenStart;let t=null,n,r;return this.eat(kt),this.tokenType===me?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==ue?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(ue)):n=this.consume(H),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function HR(e){this.token(kt,":"),e.children===null?this.token(H,e.name):(this.token(me,e.name+"("),this.children(e),this.token(ue,")"))}const VR=Object.freeze(Object.defineProperty({__proto__:null,generate:HR,name:jR,parse:Tb,structure:BR,walkContext:zR},Symbol.toStringTag,{value:"Module"})),WR="PseudoElementSelector",GR="function",qR={name:String,children:[["Raw"],null]};function Ab(){const e=this.tokenStart;let t=null,n,r;return this.eat(kt),this.eat(kt),this.tokenType===me?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==ue?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(ue)):n=this.consume(H),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function KR(e){this.token(kt,":"),this.token(kt,":"),e.children===null?this.token(H,e.name):(this.token(me,e.name+"("),this.children(e),this.token(ue,")"))}const YR=Object.freeze(Object.defineProperty({__proto__:null,generate:KR,name:WR,parse:Ab,structure:qR,walkContext:GR},Symbol.toStringTag,{value:"Module"})),Np=47;function Mp(){switch(this.skipSC(),this.tokenType){case de:return this.Number();case me:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const XR="Ratio",JR={left:["Number","Function"],right:["Number","Function",null]};function Ob(){const e=this.tokenStart,t=Mp.call(this);let n=null;return this.skipSC(),this.isDelim(Np)&&(this.eatDelim(Np),n=Mp.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function QR(e){this.node(e.left),this.token(we,"/"),e.right?this.node(e.right):this.node(de,1)}const ZR=Object.freeze(Object.defineProperty({__proto__:null,generate:QR,name:XR,parse:Ob,structure:JR},Symbol.toStringTag,{value:"Module"}));function eN(){return this.tokenIndex>0&&this.lookupType(-1)===tt?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const tN="Raw",nN={value:String};function Ib(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=eN.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function rN(e){this.tokenize(e.value)}const oN=Object.freeze(Object.defineProperty({__proto__:null,generate:rN,name:tN,parse:Ib,structure:nN},Symbol.toStringTag,{value:"Module"}));function Dp(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function sN(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==ht&&this.error(),e}const iN="Rule",aN="rule",lN={prelude:["SelectorList","Raw"],block:["Block"]};function Pb(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(sN,Dp):n=Dp.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function cN(e){this.node(e.prelude),this.node(e.block)}const uN=Object.freeze(Object.defineProperty({__proto__:null,generate:cN,name:iN,parse:Pb,structure:lN,walkContext:aN},Symbol.toStringTag,{value:"Module"})),fN="Scope",dN={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Lb(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===Te&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ue)),this.lookupNonWSType(0)===H&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(Te),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ue)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function pN(e){e.root&&(this.token(Te,"("),this.node(e.root),this.token(ue,")")),e.limit&&(this.token(H,"to"),this.token(Te,"("),this.node(e.limit),this.token(ue,")"))}const hN=Object.freeze(Object.defineProperty({__proto__:null,generate:pN,name:fN,parse:Lb,structure:dN},Symbol.toStringTag,{value:"Module"})),mN="Selector",gN={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Rb(){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 yN(e){this.children(e)}const bN=Object.freeze(Object.defineProperty({__proto__:null,generate:yN,name:mN,parse:Rb,structure:gN},Symbol.toStringTag,{value:"Module"})),_N="SelectorList",vN="selector",wN={children:[["Selector","Raw"]]};function Nb(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Ut){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function EN(e){this.children(e,()=>this.token(Ut,","))}const SN=Object.freeze(Object.defineProperty({__proto__:null,generate:EN,name:_N,parse:Nb,structure:wN,walkContext:vN},Symbol.toStringTag,{value:"Module"})),bc=92,Mb=34,CN=39;function Db(e){const t=e.length,n=e.charCodeAt(0),r=n===Mb||n===CN?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===bc){if(i===o){i!==t-1&&(s=e.substr(i+1));break}if(a=e.charCodeAt(++i),Sn(bc,a)){const l=i-1,c=fo(e,l);i=c-1,s+=wy(e.substring(l+1,c))}else a===13&&e.charCodeAt(i+1)===10&&i++}else s+=e[i]}return s}function kN(e,t){const r=Mb;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===bc?(o+="\\"+e.charAt(i),s=!1):(s&&(fr(a)||Pr(a))&&(o+=" "),o+=e.charAt(i),s=!1)}return'"'+o+'"'}const xN="String",TN={value:String};function Fb(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Db(this.consume(dn))}}function AN(e){this.token(dn,kN(e.value))}const ON=Object.freeze(Object.defineProperty({__proto__:null,generate:AN,name:xN,parse:Fb,structure:TN},Symbol.toStringTag,{value:"Module"})),IN=33;function Fp(){return this.Raw(null,!1)}const PN="StyleSheet",LN="stylesheet",RN={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function $b(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case tt:this.next();continue;case yt:if(this.charCodeAt(this.tokenStart+2)!==IN){this.next();continue}n=this.Comment();break;case _s:n=this.CDO();break;case Rt:n=this.CDC();break;case it:n=this.parseWithFallback(this.Atrule,Fp);break;default:n=this.parseWithFallback(this.Rule,Fp)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function NN(e){this.children(e)}const MN=Object.freeze(Object.defineProperty({__proto__:null,generate:NN,name:PN,parse:$b,structure:RN,walkContext:LN},Symbol.toStringTag,{value:"Module"})),DN="SupportsDeclaration",FN={declaration:"Declaration"};function Ub(){const e=this.tokenStart;this.eat(Te),this.skipSC();const t=this.Declaration();return this.eof||this.eat(ue),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function $N(e){this.token(Te,"("),this.node(e.declaration),this.token(ue,")")}const UN=Object.freeze(Object.defineProperty({__proto__:null,generate:$N,name:DN,parse:Ub,structure:FN},Symbol.toStringTag,{value:"Module"})),jN=42,$p=124;function _l(){this.tokenType!==H&&this.isDelim(jN)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const zN="TypeSelector",BN={name:String};function jb(){const e=this.tokenStart;return this.isDelim($p)?(this.next(),_l.call(this)):(_l.call(this),this.isDelim($p)&&(this.next(),_l.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function HN(e){this.tokenize(e.name)}const VN=Object.freeze(Object.defineProperty({__proto__:null,generate:HN,name:zN,parse:jb,structure:BN},Symbol.toStringTag,{value:"Module"})),zb=43,Bb=45,_c=63;function $o(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===Bb&&t&&n!==0)return $o.call(this,e+n+1,!1),-1;fr(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 Gs(e){let t=0;for(;this.isDelim(_c);)++t>e&&this.error("Too many question marks"),this.next()}function WN(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===zb?"Plus sign":"Hyphen minus")+" is expected")}function GN(){let e=0;switch(this.tokenType){case de:if(e=$o.call(this,1,!0),this.isDelim(_c)){Gs.call(this,6-e);break}if(this.tokenType===ve||this.tokenType===de){WN.call(this,Bb),$o.call(this,1,!1);break}break;case ve:e=$o.call(this,1,!0),e>0&&Gs.call(this,6-e);break;default:if(this.eatDelim(zb),this.tokenType===H){e=$o.call(this,0,!0),e>0&&Gs.call(this,6-e);break}if(this.isDelim(_c)){this.next(),Gs.call(this,5);break}this.error("Hex digit or question mark is expected")}}const qN="UnicodeRange",KN={value:String};function Hb(){const e=this.tokenStart;return this.eatIdent("u"),GN.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function YN(e){this.tokenize(e.value)}const XN=Object.freeze(Object.defineProperty({__proto__:null,generate:YN,name:qN,parse:Hb,structure:KN},Symbol.toStringTag,{value:"Module"})),JN=32,vc=92,QN=34,ZN=39,eM=40,Vb=41;function tM(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===Vb?t-2:t-1,o="";for(;n<r&&Pr(e.charCodeAt(n));)n++;for(;n<r&&Pr(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let i=e.charCodeAt(s);if(i===vc){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(i=e.charCodeAt(++s),Sn(vc,i)){const a=s-1,l=fo(e,a);s=l-1,o+=wy(e.substring(a+1,l))}else i===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function nM(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===JN||o===vc||o===QN||o===ZN||o===eM||o===Vb?(t+="\\"+e.charAt(r),n=!1):(n&&fr(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const rM="Url",oM={value:String};function Wb(){const e=this.tokenStart;let t;switch(this.tokenType){case wt:t=tM(this.consume(wt));break;case me:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(me),this.skipSC(),t=Db(this.consume(dn)),this.skipSC(),this.eof||this.eat(ue);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function sM(e){this.token(wt,nM(e.value))}const iM=Object.freeze(Object.defineProperty({__proto__:null,generate:sM,name:rM,parse:Wb,structure:oM},Symbol.toStringTag,{value:"Module"})),aM="Value",lM={children:[[]]};function Gb(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function cM(e){this.children(e)}const uM=Object.freeze(Object.defineProperty({__proto__:null,generate:cM,name:aM,parse:Gb,structure:lM},Symbol.toStringTag,{value:"Module"})),fM=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),dM="WhiteSpace",pM={value:String};function qb(){return this.eat(tt),fM}function hM(e){this.token(tt,e.value)}const mM=Object.freeze(Object.defineProperty({__proto__:null,generate:hM,name:dM,parse:qb,structure:pM},Symbol.toStringTag,{value:"Module"})),Kb=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:N1,Atrule:j1,AtrulePrelude:W1,AttributeSelector:eP,Block:aP,Brackets:fP,CDC:mP,CDO:_P,ClassSelector:CP,Combinator:PP,Comment:FP,Condition:HP,Declaration:oL,DeclarationList:cL,Dimension:pL,Feature:bL,FeatureFunction:SL,FeatureRange:OL,Function:NL,GeneralEnclosed:$L,Hash:HL,IdSelector:JL,Identifier:qL,Layer:nR,LayerList:iR,MediaQuery:uR,MediaQueryList:hR,NestingSelector:_R,Nth:SR,Number:TR,Operator:PR,Parentheses:MR,Percentage:UR,PseudoClassSelector:VR,PseudoElementSelector:YR,Ratio:ZR,Raw:oN,Rule:uN,Scope:hN,Selector:bN,SelectorList:SN,String:ON,StyleSheet:MN,SupportsDeclaration:UN,TypeSelector:VN,UnicodeRange:XN,Url:iM,Value:uM,WhiteSpace:mM},Symbol.toStringTag,{value:"Module"})),gM={generic:!0,cssWideKeywords:hu,...O1,node:Kb},yM=35,bM=42,Up=43,_M=45,vM=47,wM=117;function Yb(e){switch(this.tokenType){case We:return this.Hash();case Ut:return this.Operator();case Te:return this.Parentheses(this.readSequence,e.recognizer);case qt:return this.Brackets(this.readSequence,e.recognizer);case dn:return this.String();case ve:return this.Dimension();case et:return this.Percentage();case de:return this.Number();case me:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case wt:return this.Url();case H:return this.cmpChar(this.tokenStart,wM)&&this.cmpChar(this.tokenStart+1,Up)?this.UnicodeRange():this.Identifier();case we:{const t=this.charCodeAt(this.tokenStart);if(t===vM||t===bM||t===Up||t===_M)return this.Operator();t===yM&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const EM={getNode:Yb},SM=35,CM=38,kM=42,xM=43,TM=47,jp=46,AM=62,OM=124,IM=126;function PM(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function LM(){switch(this.tokenType){case qt:return this.AttributeSelector();case We:return this.IdSelector();case kt:return this.lookupType(1)===kt?this.PseudoElementSelector():this.PseudoClassSelector();case H:return this.TypeSelector();case de:case et:return this.Percentage();case ve:this.charCodeAt(this.tokenStart)===jp&&this.error("Identifier is expected",this.tokenStart+1);break;case we:{switch(this.charCodeAt(this.tokenStart)){case xM:case AM:case IM:case TM:return this.Combinator();case jp:return this.ClassSelector();case kM:case OM:return this.TypeSelector();case SM:return this.IdSelector();case CM:return this.NestingSelector()}break}}}const RM={onWhiteSpace:PM,getNode:LM};function NM(){return this.createSingleNodeList(this.Raw(null,!1))}function MM(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Ut){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)===tt){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function zp(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const DM={getNode:Yb,onWhiteSpace(e,t){zp(e)&&(e.value=" "+e.value),zp(t.last)&&(t.last.value+=" ")},expression:NM,var:MM},FM=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:EM,Selector:RM,Value:DM},Symbol.toStringTag,{value:"Module"})),$M=new Set(["none","and","not","or"]),UM={parse:{prelude(){const e=this.createList();if(this.tokenType===H){const t=this.substring(this.tokenStart,this.tokenEnd);$M.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},jM={parse:{prelude:null,block(){return this.Block(!0)}}};function vl(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==ue&&this.error()}},t||(()=>this.Raw(null,!0)))}const Bp={layer(){this.skipSC();const e=this.createList(),t=vl.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=vl.call(this,this.Declaration,()=>vl.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},zM={parse:{prelude(){const e=this.createList();switch(this.tokenType){case dn:e.push(this.String());break;case wt:case me:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===H&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===me&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Bp)),this.skipSC(),this.tokenType===me&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Bp)),(this.lookupNonWSType(0)===H||this.lookupNonWSType(0)===Te)&&e.push(this.MediaQueryList()),e},block:null}},BM={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},HM={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},VM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},WM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},GM={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},qM={parse:{prelude:null,block(e=!1){return this.Block(e)}}},KM={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},YM={container:UM,"font-face":jM,import:zM,layer:BM,media:HM,nest:VM,page:WM,scope:GM,"starting-style":qM,supports:KM};function XM(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case H:e.push(this.Identifier());break;case dn:e.push(this.String());break;case Ut:e.push(this.Operator());break;case ue:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const br={parse(){return this.createSingleNodeList(this.SelectorList())}},wl={parse(){return this.createSingleNodeList(this.Selector())}},JM={parse(){return this.createSingleNodeList(this.Identifier())}},QM={parse:XM},qs={parse(){return this.createSingleNodeList(this.Nth())}},ZM={dir:JM,has:br,lang:QM,matches:br,is:br,"-moz-any":br,"-webkit-any":br,where:br,not:br,"nth-child":qs,"nth-last-child":qs,"nth-last-of-type":qs,"nth-of-type":qs,slotted:wl,host:wl,"host-context":wl},eD=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Wy,Atrule:Gy,AtrulePrelude:qy,AttributeSelector:Yy,Block:Jy,Brackets:Qy,CDC:Zy,CDO:eb,ClassSelector:tb,Combinator:nb,Comment:rb,Condition:ob,Declaration:ib,DeclarationList:ab,Dimension:lb,Feature:cb,FeatureFunction:ub,FeatureRange:fb,Function:db,GeneralEnclosed:pb,Hash:hb,IdSelector:gb,Identifier:mb,Layer:yb,LayerList:bb,MediaQuery:_b,MediaQueryList:vb,NestingSelector:wb,Nth:Eb,Number:Sb,Operator:Cb,Parentheses:kb,Percentage:xb,PseudoClassSelector:Tb,PseudoElementSelector:Ab,Ratio:Ob,Raw:Ib,Rule:Pb,Scope:Lb,Selector:Rb,SelectorList:Nb,String:Fb,StyleSheet:$b,SupportsDeclaration:Ub,TypeSelector:jb,UnicodeRange:Hb,Url:Wb,Value:Gb,WhiteSpace:qb},Symbol.toStringTag,{value:"Module"})),tD={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:FM,atrule:YM,pseudo:ZM,node:eD},nD={node:Kb},rD=A1({...gM,...tD,...nD}),{tokenize:vU,parse:oD,generate:sD,lexer:wU,createLexer:EU,walk:iD,find:SU,findLast:CU,findAll:kU,toPlainObject:xU,fromPlainObject:TU,fork:AU}=rD;function aD(e,t,n){if(!e.includes("url("))return e;const r=oD(e,{positions:!1});return iD(r,o=>{if(o.type==="Url"&&o.value){const s=typeof o.value=="string"?o.value.replace(/["']/g,""):o.value;if(!s.startsWith("/")&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.startsWith("data:")){const a=new URL(s,t),l=n?.find(c=>a.href.endsWith(c.path));l?o.value=l.signedUrl:o.value=a.href}}}),sD(r)}function lD(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function cD(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}const wc=(e,t)=>t.some(n=>e instanceof n);let Hp,Vp;function uD(){return Hp||(Hp=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function fD(){return Vp||(Vp=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ec=new WeakMap,El=new WeakMap,ya=new WeakMap;function dD(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",i)},s=()=>{n(Tr(e.result)),o()},i=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",i)});return ya.set(t,e),t}function pD(e){if(Ec.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)});Ec.set(e,t)}let Sc={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Ec.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Tr(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 Xb(e){Sc=e(Sc)}function hD(e){return fD().includes(e)?function(...t){return e.apply(Cc(this),t),Tr(this.request)}:function(...t){return Tr(e.apply(Cc(this),t))}}function mD(e){return typeof e=="function"?hD(e):(e instanceof IDBTransaction&&pD(e),wc(e,uD())?new Proxy(e,Sc):e)}function Tr(e){if(e instanceof IDBRequest)return dD(e);if(El.has(e))return El.get(e);const t=mD(e);return t!==e&&(El.set(e,t),ya.set(t,e)),t}const Cc=e=>ya.get(e);function gD(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const i=indexedDB.open(e,t),a=Tr(i);return r&&i.addEventListener("upgradeneeded",l=>{r(Tr(i.result),l.oldVersion,l.newVersion,Tr(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 yD=["get","getKey","getAll","getAllKeys","count"],bD=["put","add","delete","clear"],Sl=new Map;function Wp(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Sl.get(t))return Sl.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=bD.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||yD.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 Sl.set(t,s),s}Xb(e=>({...e,get:(t,n,r)=>Wp(t,n)||e.get(t,n,r),has:(t,n)=>!!Wp(t,n)||e.has(t,n)}));const _D=["continue","continuePrimaryKey","advance"],Gp={},kc=new WeakMap,Jb=new WeakMap,vD={get(e,t){if(!_D.includes(t))return e[t];let n=Gp[t];return n||(n=Gp[t]=function(...r){kc.set(this,Jb.get(this)[t](...r))}),n}};async function*wD(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,vD);for(Jb.set(n,t),ya.set(n,Cc(t));t;)yield n,t=await(kc.get(n)||t.continue()),kc.delete(n)}function qp(e,t){return t===Symbol.asyncIterator&&wc(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&wc(e,[IDBIndex,IDBObjectStore])}Xb(e=>({...e,get(t,n,r){return qp(t,n)?wD:e.get(t,n,r)},has(t,n){return qp(t,n)||e.has(t,n)}}));let tr=null;const Kp=Bg("indexedDB",{actions:{async open(e=1){return tr||(tr=await gD(ye.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(ye.INDEX_DB_TABLE_NAME)||t.createObjectStore(ye.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),tr)},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(){tr?.close(),tr=null},async deleteDatabase(){if(tr){const e=tr.name;this.close(),indexedDB.deleteDatabase(e)}}}});function Qb(e,t){return function(){return e.apply(t,arguments)}}const{toString:ED}=Object.prototype,{getPrototypeOf:ba}=Object,{iterator:_a,toStringTag:Zb}=Symbol,va=(e=>t=>{const n=ED.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pn=e=>(e=e.toLowerCase(),t=>va(t)===e),wa=e=>t=>typeof t===e,{isArray:_o}=Array,ho=wa("undefined");function ws(e){return e!==null&&!ho(e)&&e.constructor!==null&&!ho(e.constructor)&&Ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const e_=pn("ArrayBuffer");function SD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e_(e.buffer),t}const CD=wa("string"),Ft=wa("function"),t_=wa("number"),Es=e=>e!==null&&typeof e=="object",kD=e=>e===!0||e===!1,ii=e=>{if(va(e)!=="object")return!1;const t=ba(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Zb in e)&&!(_a in e)},xD=e=>{if(!Es(e)||ws(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},TD=pn("Date"),AD=pn("File"),OD=e=>!!(e&&typeof e.uri<"u"),ID=e=>e&&typeof e.getParts<"u",PD=pn("Blob"),LD=pn("FileList"),RD=e=>Es(e)&&Ft(e.pipe);function ND(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Yp=ND(),Xp=typeof Yp.FormData<"u"?Yp.FormData:void 0,MD=e=>{if(!e)return!1;if(Xp&&e instanceof Xp)return!0;const t=ba(e);if(!t||t===Object.prototype||!Ft(e.append))return!1;const n=va(e);return n==="formdata"||n==="object"&&Ft(e.toString)&&e.toString()==="[object FormData]"},DD=pn("URLSearchParams"),[FD,$D,UD,jD]=["ReadableStream","Request","Response","Headers"].map(pn),zD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ss(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(ws(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 n_(e,t){if(ws(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 Cr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,r_=e=>!ho(e)&&e!==Cr;function xc(){const{caseless:e,skipUndefined:t}=r_(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=e&&n_(n,s)||s;ii(n[i])&&ii(o)?n[i]=xc(n[i],o):ii(o)?n[i]=xc({},o):_o(o)?n[i]=o.slice():(!t||!ho(o))&&(n[i]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Ss(arguments[o],r);return n}const BD=(e,t,n,{allOwnKeys:r}={})=>(Ss(t,(o,s)=>{n&&Ft(o)?Object.defineProperty(e,s,{value:Qb(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),HD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),VD=(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)},WD=(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&&ba(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},GD=(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},qD=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!t_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},KD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ba(Uint8Array)),YD=(e,t)=>{const r=(e&&e[_a]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},XD=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},JD=pn("HTMLFormElement"),QD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Jp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ZD=pn("RegExp"),o_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ss(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},eF=e=>{o_(e,(t,n)=>{if(Ft(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ft(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+"'")})}})},tF=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return _o(e)?r(e):r(String(e).split(t)),n},nF=()=>{},rF=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function oF(e){return!!(e&&Ft(e.append)&&e[Zb]==="FormData"&&e[_a])}const sF=e=>{const t=new Array(10),n=(r,o)=>{if(Es(r)){if(t.indexOf(r)>=0)return;if(ws(r))return r;if(!("toJSON"in r)){t[o]=r;const s=_o(r)?[]:{};return Ss(r,(i,a)=>{const l=n(i,o+1);!ho(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},iF=pn("AsyncFunction"),aF=e=>e&&(Es(e)||Ft(e))&&Ft(e.then)&&Ft(e.catch),s_=((e,t)=>e?setImmediate:t?((n,r)=>(Cr.addEventListener("message",({source:o,data:s})=>{o===Cr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Cr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ft(Cr.postMessage)),lF=typeof queueMicrotask<"u"?queueMicrotask.bind(Cr):typeof process<"u"&&process.nextTick||s_,cF=e=>e!=null&&Ft(e[_a]),N={isArray:_o,isArrayBuffer:e_,isBuffer:ws,isFormData:MD,isArrayBufferView:SD,isString:CD,isNumber:t_,isBoolean:kD,isObject:Es,isPlainObject:ii,isEmptyObject:xD,isReadableStream:FD,isRequest:$D,isResponse:UD,isHeaders:jD,isUndefined:ho,isDate:TD,isFile:AD,isReactNativeBlob:OD,isReactNative:ID,isBlob:PD,isRegExp:ZD,isFunction:Ft,isStream:RD,isURLSearchParams:DD,isTypedArray:KD,isFileList:LD,forEach:Ss,merge:xc,extend:BD,trim:zD,stripBOM:HD,inherits:VD,toFlatObject:WD,kindOf:va,kindOfTest:pn,endsWith:GD,toArray:qD,forEachEntry:YD,matchAll:XD,isHTMLForm:JD,hasOwnProperty:Jp,hasOwnProp:Jp,reduceDescriptors:o_,freezeMethods:eF,toObjectSet:tF,toCamelCase:QD,noop:nF,toFiniteNumber:rF,findKey:n_,global:Cr,isContextDefined:r_,isSpecCompliantForm:oF,toJSONObject:sF,isAsyncFn:iF,isThenable:aF,setImmediate:s_,asap:lF,isIterable:cF};let ae=class i_ extends Error{static from(t,n,r,o,s,i){const a=new i_(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:N.toJSONObject(this.config),code:this.code,status:this.status}}};ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ae.ERR_BAD_OPTION="ERR_BAD_OPTION";ae.ECONNABORTED="ECONNABORTED";ae.ETIMEDOUT="ETIMEDOUT";ae.ERR_NETWORK="ERR_NETWORK";ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ae.ERR_DEPRECATED="ERR_DEPRECATED";ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ae.ERR_CANCELED="ERR_CANCELED";ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ae.ERR_INVALID_URL="ERR_INVALID_URL";ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const uF=null;function Tc(e){return N.isPlainObject(e)||N.isArray(e)}function a_(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Cl(e,t,n){return e?e.concat(t).map(function(o,s){return o=a_(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function fF(e){return N.isArray(e)&&!e.some(Tc)}const dF=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Ea(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!N.isUndefined(y[b])});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&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(N.isDate(h))return h.toISOString();if(N.isBoolean(h))return h.toString();if(!c&&N.isBlob(h))throw new ae("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(h)||N.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function f(h,b,y){let _=h;if(N.isReactNative(t)&&N.isReactNativeBlob(h))return t.append(Cl(y,b,s),u(h)),!1;if(h&&!y&&typeof h=="object"){if(N.endsWith(b,"{}"))b=r?b:b.slice(0,-2),h=JSON.stringify(h);else if(N.isArray(h)&&fF(h)||(N.isFileList(h)||N.endsWith(b,"[]"))&&(_=N.toArray(h)))return b=a_(b),_.forEach(function(g,A){!(N.isUndefined(g)||g===null)&&t.append(i===!0?Cl([b],A,s):i===null?b:b+"[]",u(g))}),!1}return Tc(h)?!0:(t.append(Cl(y,b,s),u(h)),!1)}const d=[],p=Object.assign(dF,{defaultVisitor:f,convertValue:u,isVisitable:Tc});function m(h,b,y=0){if(!N.isUndefined(h)){if(y>l)throw new ae("Object is too deeply nested ("+y+" levels). Max depth: "+l,ae.ERR_FORM_DATA_DEPTH_EXCEEDED);if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(h),N.forEach(h,function(E,g){(!(N.isUndefined(E)||E===null)&&o.call(t,E,N.isString(g)?g.trim():g,b,p))===!0&&m(E,b?b.concat(g):[g],y+1)}),d.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return m(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 Tu(e,t){this._pairs=[],e&&Ea(e,this,t)}const l_=Tu.prototype;l_.append=function(t,n){this._pairs.push([t,n])};l_.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 pF(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function c_(e,t,n){if(!t)return e;const r=n&&n.encode||pF,o=N.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=N.isURLSearchParams(t)?t.toString():new Tu(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Zp{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){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Au={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},hF=typeof URLSearchParams<"u"?URLSearchParams:Tu,mF=typeof FormData<"u"?FormData:null,gF=typeof Blob<"u"?Blob:null,yF={isBrowser:!0,classes:{URLSearchParams:hF,FormData:mF,Blob:gF},protocols:["http","https","file","blob","url","data"]},Ou=typeof window<"u"&&typeof document<"u",Ac=typeof navigator=="object"&&navigator||void 0,bF=Ou&&(!Ac||["ReactNative","NativeScript","NS"].indexOf(Ac.product)<0),_F=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vF=Ou&&window.location.href||"http://localhost",wF=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ou,hasStandardBrowserEnv:bF,hasStandardBrowserWebWorkerEnv:_F,navigator:Ac,origin:vF},Symbol.toStringTag,{value:"Module"})),Ct={...wF,...yF};function EF(e,t){return Ea(e,new Ct.classes.URLSearchParams,{visitor:function(n,r,o,s){return Ct.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function SF(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function CF(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 u_(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&&N.isArray(o)?o.length:i,l?(N.hasOwnProp(o,i)?o[i]=N.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!o[i]||!N.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&N.isArray(o[i])&&(o[i]=CF(o[i])),!a)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,o)=>{t(SF(r),o,n,0)}),n}return null}const Hr=(e,t)=>e!=null&&N.hasOwnProp(e,t)?e[t]:void 0;function kF(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Cs={transitional:Au,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=N.isObject(t);if(s&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return o?JSON.stringify(u_(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Hr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return EF(t,l).toString();if((a=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=Hr(this,"env"),u=c&&c.FormData;return Ea(a?{"files[]":t}:t,u&&new u,l)}}return s||o?(n.setContentType("application/json",!1),kF(t)):t}],transformResponse:[function(t){const n=Hr(this,"transitional")||Cs.transitional,r=n&&n.forcedJSONParsing,o=Hr(this,"responseType"),s=o==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Hr(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?ae.from(l,ae.ERR_BAD_RESPONSE,this,null,Hr(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Cs.headers[e]={}});const xF=N.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"]),TF=e=>{const t={};let n,r,o;return e&&e.split(`
28
+ --`+new Array((n||t.length)+1).join("-")+"^"})}const FI=9,$I=10,UI=12,jI=13,zI=32,ap=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class BI{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&&ap[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!==jI&&n!==$I&&n!==UI&&n!==zI&&n!==FI)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 DI(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||ap[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 HI=9,VI=10,WI=12,GI=13,qI=32,Ry=33,wu=35,lp=38,Ni=39,Ny=40,My=41,Dy=42,Eu=43,Su=44,cp=45,Cu=60,fc=62,Mi=63,KI=64,fs=91,po=93,Di=123,up=124,dc=125,fp=8734,dp={" ":1,"&&":2,"||":3,"|":4};function pp(e){let t=null,n=null;return e.eat(Di),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Su?(e.pos++,e.skipWs(),e.charCode()!==dc&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(dc),{min:Number(t),max:n?Number(n):0}}function YI(e){let t=null,n=!1;switch(e.charCode()){case Dy:e.pos++,t={min:0,max:0};break;case Eu:e.pos++,t={min:1,max:0};break;case Mi:e.pos++,t={min:0,max:1};break;case wu:e.pos++,n=!0,e.charCode()===Di?t=pp(e):e.charCode()===Mi?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Di:t=pp(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Xn(e,t){const n=YI(e);return n!==null?(n.term=t,e.charCode()===wu&&e.charCodeAt(e.pos-1)===Eu||e.charCode()===Mi&&e.charCodeAt(e.pos-1)===dc?Xn(e,n):n):t}function fl(e){const t=e.peek();return t===""?null:Xn(e,{type:"Token",value:t})}function XI(e){let t;return e.eat(Cu),e.eat(Ni),t=e.scanWord(),e.eat(Ni),e.eat(fc),Xn(e,{type:"Property",name:t})}function JI(e){let t=null,n=null,r=1;return e.eat(fs),e.charCode()===cp&&(e.peek(),r=-1),r==-1&&e.charCode()===fp?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Su),e.skipWs(),e.charCode()===fp?e.peek():(r=1,e.charCode()===cp&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(po),{type:"Range",min:t,max:n}}function QI(e){let t,n=null;if(e.eat(Cu),t=e.scanWord(),t==="boolean-expr"){e.eat(fs);const r=ga(e,po);return e.eat(po),e.eat(fc),Xn(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===Ny&&e.nextCharCode()===My&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===fs&&(e.skipWs(),n=JI(e)),e.eat(fc),Xn(e,{type:"Type",name:t,opts:n})}function ZI(e){const t=e.scanWord();return e.charCode()===Ny?(e.pos++,{type:"Function",name:t}):Xn(e,{type:"Keyword",name:t})}function e1(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)=>dp[o]-dp[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 ga(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,i=!1;for(;e.charCode()!==t;){let a=i?ga(e,My):n1(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:e1(r,n)||" ",disallowEmpty:!1,explicit:!1}}function t1(e){let t;return e.eat(fs),t=ga(e,po),e.eat(po),t.explicit=!0,e.charCode()===Ry&&(e.pos++,t.disallowEmpty=!0),t}function n1(e){let t=e.charCode();switch(t){case po:break;case fs:return Xn(e,t1(e));case Cu:return e.nextCharCode()===Ni?XI(e):QI(e);case up:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===up?2:1))};case lp:return e.pos++,e.eat(lp),{type:"Combinator",value:"&&"};case Su:return e.pos++,{type:"Comma"};case Ni:return Xn(e,{type:"String",value:e.scanString()});case qI:case HI:case VI:case GI:case WI:return{type:"Spaces",value:e.scanSpaces()};case KI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):fl(e);case Dy:case Eu:case Mi:case wu:case Ry:break;case Di:if(t=e.nextCharCode(),t<48||t>57)return fl(e);break;default:return e.isNameCharCode(t)?ZI(e):fl(e)}}function Fy(e){const t=new BI(e),n=ga(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const Fo=function(){};function hp(e){return typeof e=="function"?e:Fo}function r1(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=Fo,s=Fo;if(typeof t=="function"?o=t:t&&(o=hp(t.enter),s=hp(t.leave)),o===Fo&&s===Fo)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const o1={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 s1(e){const t=[];return pa(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function i1(e,t){return typeof e=="string"?s1(e):t.generate(e,o1)}const Ae={type:"Match"},Ue={type:"Mismatch"},ku={type:"DisallowEmpty"},a1=40,l1=41;function vt(e,t,n){return t===Ae&&n===Ue||e===Ae&&t===Ae&&n===Ae?e:(e.type==="If"&&e.else===Ue&&t===Ae&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function $y(e){return e.length>2&&e.charCodeAt(e.length-2)===a1&&e.charCodeAt(e.length-1)===l1}function mp(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&$y(e.name)}function Zn(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Xo(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Xo(e.match,t,n),e.then=Xo(e.then,t,n),e.else=Xo(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function pc(e,t,n){switch(e){case" ":{let r=Ae;for(let o=t.length-1;o>=0;o--){const s=t[o];r=vt(s,r,Ue)}return r}case"|":{let r=Ue,o=null;for(let s=t.length-1;s>=0;s--){let i=t[s];if(mp(i)&&(o===null&&s>0&&mp(t[s-1])&&(o=Object.create(null),r=vt({type:"Enum",map:o},Ae,r)),o!==null)){const a=($y(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(a in o)){o[a]=i;continue}}o=null,r=vt(i,Ae,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=Ue;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=pc(e,t.filter(function(a){return a!==s}),!1):i=Ae,r=vt(s,i,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Ae:Ue;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=pc(e,t.filter(function(a){return a!==s}),!0):i=Ae,r=vt(s,i,r)}return r}}}function c1(e){let t=Ae,n=Xr(e.term);if(e.max===0)n=vt(n,ku,Ue),t=vt(n,null,Ue),t.then=vt(Ae,Ae,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,Ue));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Ae&&(t=vt({type:"Comma",syntax:e},t,Ue)),t=vt(n,vt(Ae,Ae,t),Ue);if(e.min===0)t=vt(Ae,Ae,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Ae&&(t=vt({type:"Comma",syntax:e},t,Ue)),t=vt(n,t,Ue);return t}function Xr(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=pc(e.combinator,e.terms.map(Xr),!1);return e.disallowEmpty&&(t=vt(t,ku,Ue)),t}case"Multiplier":return c1(e);case"Boolean":{const t=Xr(e.term),n=Xr(Zn([Zn([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Zn([{type:"Type",name:"!boolean-group"},Zn([{type:"Multiplier",comma:!1,min:0,max:0,term:Zn([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Zn([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=Xr(Zn([{type:"Type",name:"!term"},Zn([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Xo(r,{"!term":t,"!self":n}),Xo(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 Ws(e,t){return typeof e=="string"&&(e=Fy(e)),{type:"MatchGraph",match:Xr(e),syntax:t||null,source:e}}const{hasOwnProperty:gp}=Object.prototype,u1=0,f1=1,hc=2,Uy=3,yp="Match",d1="Mismatch",p1="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",bp=15e3;function h1(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function dl(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 m1(e){return e.type!==we?!1:e.value!=="?"}function _p(e){return e===null?!0:e.type===Ut||e.type===me||e.type===Te||e.type===qt||e.type===ht||m1(e)}function vp(e){return e===null?!0:e.type===ue||e.type===en||e.type===Gt||e.type===we&&e.value==="/"}function g1(e,t,n){function r(){do _++,y=_<e.length?e[_]:null;while(y!==null&&(y.type===tt||y.type===yt))}function o(A){const C=_+A;return C<e.length?e[C]:null}function s(A,C){return{nextState:A,matchStack:g,syntaxStack:f,thenStack:d,tokenIndex:_,prev:C}}function i(A){d={nextState:A,matchStack:g,syntaxStack:f,prev:d}}function a(A){p=s(A,p)}function l(){g={type:f1,syntax:t.syntax,token:y,prev:g},r(),m=null,_>E&&(E=_)}function c(){f={syntax:t.syntax,opts:t.syntax.opts||f!==null&&f.opts||null,prev:f},g={type:hc,syntax:t.syntax,token:g.token,prev:g}}function u(){g.type===hc?g=g.prev:g={type:Uy,syntax:f.syntax,token:g.token,prev:g},f=f.prev}let f=null,d=null,p=null,m=null,h=0,b=null,y=null,_=-1,E=0,g={type:u1,syntax:null,token:null,prev:null};for(r();b===null&&++h<bp;)switch(t.type){case"Match":if(d===null){if(y!==null&&(_!==e.length-1||y.value!=="\\0"&&y.value!=="\\9")){t=Ue;break}b=yp;break}if(t=d.nextState,t===ku)if(d.matchStack===g){t=Ue;break}else t=Ae;for(;d.syntaxStack!==f;)u();d=d.prev;break;case"Mismatch":if(m!==null&&m!==!1)(p===null||_>p.tokenIndex)&&(p=m,m=!1);else if(p===null){b=d1;break}t=p.nextState,d=p.thenStack,f=p.syntaxStack,g=p.matchStack,_=p.tokenIndex,y=_<e.length?e[_]:null,p=p.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Ue&&a(t.else),t.then!==Ae&&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=Ue;break}t=Ae;break}if(t.mask===(1<<x.length)-1){t=Ae;break}for(;t.index<x.length;t.index++){const w=1<<t.index;if((t.mask&w)===0){a(t),i({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|w}),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].*$/,"")),gp.call(t.map,x)){t=t.map[x];break}}t=Ue;break;case"Generic":{const x=f!==null?f.opts:null,w=_+Math.floor(t.fn(y,o,x));if(!isNaN(w)&&w>_){for(;_<w;)l();t=Ae}else t=Ue;break}case"Type":case"Property":{const x=t.type==="Type"?"types":"properties",w=gp.call(n,x)?n[x][t.name]:null;if(!w||!w.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(m!==!1&&y!==null&&t.type==="Type"&&(t.name==="custom-ident"&&y.type===H||t.name==="length"&&y.value==="0")){m===null&&(m=s(t,p)),t=Ue;break}c(),t=w.matchRef||w.match;break}case"Keyword":{const x=t.name;if(y!==null){let w=y.value;if(w.indexOf("\\")!==-1&&(w=w.replace(/\\[09].*$/,"")),dl(w,x)){l(),t=Ae;break}}t=Ue;break}case"AtKeyword":case"Function":if(y!==null&&dl(y.value,t.name)){l(),t=Ae;break}t=Ue;break;case"Token":if(y!==null&&y.value===t.value){l(),t=Ae;break}t=Ue;break;case"Comma":y!==null&&y.type===Ut?_p(g.token)?t=Ue:(l(),t=vp(y)?Ue:Ae):t=_p(g.token)||vp(y)?Ae:Ue;break;case"String":let A="",C=_;for(;C<e.length&&A.length<t.value.length;C++)A+=e[C].value;if(dl(A,t.value)){for(;_<C;)l();t=Ae}else t=Ue;break;default:throw new Error("Unknown node type: "+t.type)}switch(b){case null:console.warn("[csstree-match] BREAK after "+bp+" iterations"),b=p1,g=null;break;case yp:for(;f!==null;)u();break;default:g=null}return{tokens:e,reason:b,iterations:h,match:g,longestMatch:E}}function wp(e,t,n){const r=g1(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=h1(o).prev;o!==null;){switch(o.type){case hc:s.match.push(s={syntax:o.syntax,match:[]}),i.push(s);break;case Uy: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 jy(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 y1(e,t){return xu(this,e,n=>n.type==="Type"&&n.name===t)}function b1(e,t){return xu(this,e,n=>n.type==="Property"&&n.name===t)}function _1(e){return xu(this,e,t=>t.type==="Keyword")}function xu(e,t,n){const r=jy.call(e,t);return r===null?!1:r.some(n)}const v1=Object.freeze(Object.defineProperty({__proto__:null,getTrace:jy,isKeyword:_1,isProperty:b1,isType:y1},Symbol.toStringTag,{value:"Module"}));function zy(e){return"node"in e?e.node:zy(e.match[0])}function By(e){return"node"in e?e.node:By(e.match[e.match.length-1])}function Ep(e,t,n,r,o){function s(a){if(a.syntax!==null&&a.syntax.type===r&&a.syntax.name===o){const l=zy(a),c=By(a);e.syntax.walk(t,function(u,f,d){if(u===l){const p=new pt;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:Jo}=Object.prototype;function pl(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Sp(e){return!!e&&pl(e.offset)&&pl(e.line)&&pl(e.column)}function w1(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(Jo.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(!Sp(r.loc.start))s+=".start";else if(!Sp(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 pt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");i||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Jo.call(t,s)&&Jo.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function Hy(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<"+(Hy(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function E1(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Jo.call(n,s)===!1)continue;const i=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=Hy(i,e+"."+s)}return{docs:o,check:w1(e,r)}}function S1(e){const t={};if(e.node){for(const n in e.node)if(Jo.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=E1(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function mc(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:du(e[o].syntax,{compact:t}));return r}function C1(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:du(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&mc(s.descriptors,t,n)};return r}function k1(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function x1(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function sn(e,t,n){return{matched:e,iterations:n,error:t,...v1}}function Br(e,t,n,r){const o=i1(n,e.syntax);let s;return k1(o)?sn(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=wp(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=wp(o,t.match,e),!s.match)?sn(null,new ZO(s.reason,t.syntax,n,s),s.iterations):sn(s.match,null,s.iterations))}class Cp{constructor(t,n,r){if(this.cssWideKeywords=hu,this.syntax=n,this.generic=!1,this.units={...ip},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||S1(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(ip))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(TI(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=Ws(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=Ws(t,s):(typeof t=="string"?Object.defineProperty(i,"syntax",{get(){return Object.defineProperty(i,"syntax",{value:Fy(t)}),i.syntax}}):i.syntax=t,Object.defineProperty(i,"match",{get(){return Object.defineProperty(i,"match",{value:Ws(i.syntax,s)}),i.match}}),n==="Property"&&Object.defineProperty(i,"matchRef",{get(){const a=i.syntax,l=x1(a)?Ws({...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 Ao("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&&!Br(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=ll(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 Ao("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new Ao("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return sn(null,r);const o=this.getAtrule(t);return o.prelude?Br(this,o.prelude,n||"",!1):sn(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return sn(null,o);const s=this.getAtrule(t),i=ll(n);return Br(this,s.descriptors[i.name]||s.descriptors[i.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?sn(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(op(t).custom)return sn(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?sn(null,r):Br(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?Br(this,r,n,!1):sn(null,new Ao("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?sn(null,new Ao("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Br(this,t,n,!1))}findValueFragments(t,n,r,o){return Ep(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return Ep(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=ll(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=op(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&&r1(f.syntax,function(d){if(d.type!=="Type"&&d.type!=="Property")return;const p=d.type==="Type"?l.types:l.properties,m=d.type==="Type"?o:s;hasOwnProperty.call(p,d.name)?n(l,d.name,m,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:mc(this.types,!n,t),properties:mc(this.properties,!n,t),atrules:C1(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function hl(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function T1(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function ml(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?T1(s,n):s};return r}function gc(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?hl(l.prelude,i.prelude):l.prelude||null;for(const[c,u]of Object.entries(i.descriptors||{}))l.descriptors[c]=u?hl(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]=hl(n[r][s],i);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=ml(e[r],o);break;case"atrule":case"pseudo":n[r]=ml(e[r],o,["parse"]);break;case"node":n[r]=ml(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function Vy(e){const t=OO(e),n=qO(e),r=HO(e),{fromPlainObject:o,toPlainObject:s}=VO(n),i={lexer:null,createLexer:a=>new Cp(a,i,i.lexer.structure),tokenize:pa,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(a){const l=gc({},e);return Vy(typeof a=="function"?a(l):gc(l,a))}};return i.lexer=new Cp({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},i),i}const A1=e=>Vy(gc({},e)),O1={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"}}}},En=43,zt=45,ri=110,vr=!0,I1=!1;function oi(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===En||r===zt)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)gt(this.charCodeAt(n))||this.error("Integer is expected",n)}function Jr(e){return oi.call(this,0,e)}function er(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case ri:n="N is expected";break;case zt:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function gl(){let e=0,t=0,n=this.tokenType;for(;n===tt||n===yt;)n=this.lookupType(++e);if(n!==de)if(this.isDelim(En,e)||this.isDelim(zt,e)){t=this.isDelim(En,e)?En:zt;do n=this.lookupType(++e);while(n===tt||n===yt);n!==de&&(this.skip(e),Jr.call(this,vr))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==En&&n!==zt&&this.error("Number sign is expected")),Jr.call(this,t!==0),t===zt?"-"+this.consume(de):this.consume(de)}const P1="AnPlusB",L1={a:[String,null],b:[String,null]};function Wy(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===de)Jr.call(this,I1),n=this.consume(de);else if(this.tokenType===H&&this.cmpChar(this.tokenStart,zt))switch(t="-1",er.call(this,1,ri),this.tokenEnd-this.tokenStart){case 2:this.next(),n=gl.call(this);break;case 3:er.call(this,2,zt),this.next(),this.skipSC(),Jr.call(this,vr),n="-"+this.consume(de);break;default:er.call(this,2,zt),oi.call(this,3,vr),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===H||this.isDelim(En)&&this.lookupType(1)===H){let r=0;switch(t="1",this.isDelim(En)&&(r=1,this.next()),er.call(this,0,ri),this.tokenEnd-this.tokenStart){case 1:this.next(),n=gl.call(this);break;case 2:er.call(this,1,zt),this.next(),this.skipSC(),Jr.call(this,vr),n="-"+this.consume(de);break;default:er.call(this,1,zt),oi.call(this,2,vr),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===ve){const r=this.charCodeAt(this.tokenStart),o=r===En||r===zt;let s=this.tokenStart+o;for(;s<this.tokenEnd&&gt(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),er.call(this,s-this.tokenStart,ri),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=gl.call(this)):(er.call(this,s-this.tokenStart+1,zt),s+2===this.tokenEnd?(this.next(),this.skipSC(),Jr.call(this,vr),n="-"+this.consume(de)):(oi.call(this,s-this.tokenStart+2,vr),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===En&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===En&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function R1(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 N1=Object.freeze(Object.defineProperty({__proto__:null,generate:R1,name:P1,parse:Wy,structure:L1},Symbol.toStringTag,{value:"Module"}));function kp(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function M1(){for(let e=1,t;t=this.lookupType(e);e++){if(t===Gt)return!0;if(t===ht||t===it)return!1}return!1}const D1="Atrule",F1="atrule",$1={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Gy(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(it),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==ht&&this.tokenType!==xt&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),kp):o=kp.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case xt:this.next();break;case ht:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(M1.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function U1(e){this.token(it,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(xt,";")}const j1=Object.freeze(Object.defineProperty({__proto__:null,generate:U1,name:D1,parse:Gy,structure:$1,walkContext:F1},Symbol.toStringTag,{value:"Module"})),z1="AtrulePrelude",B1="atrulePrelude",H1={children:[[]]};function qy(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!==ht&&this.tokenType!==xt&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function V1(e){this.children(e)}const W1=Object.freeze(Object.defineProperty({__proto__:null,generate:V1,name:z1,parse:qy,structure:H1,walkContext:B1},Symbol.toStringTag,{value:"Module"})),G1=36,Ky=42,si=61,q1=94,yc=124,K1=126;function Y1(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(Ky)?(t=!0,this.next()):this.isDelim(yc)||this.eat(H),this.isDelim(yc)?this.charCodeAt(this.tokenStart+1)!==si?(this.next(),this.eat(H)):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 X1(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==si&&t!==K1&&t!==q1&&t!==G1&&t!==Ky&&t!==yc&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==si&&(this.isDelim(si)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const J1="AttributeSelector",Q1={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Yy(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(qt),this.skipSC(),t=Y1.call(this),this.skipSC(),this.tokenType!==en&&(this.tokenType!==H&&(n=X1.call(this),this.skipSC(),r=this.tokenType===dn?this.String():this.Identifier(),this.skipSC()),this.tokenType===H&&(o=this.consume(H),this.skipSC())),this.eat(en),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function Z1(e){this.token(we,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(H,e.flags),this.token(we,"]")}const eP=Object.freeze(Object.defineProperty({__proto__:null,generate:Z1,name:J1,parse:Yy,structure:Q1},Symbol.toStringTag,{value:"Module"})),tP=38;function Xy(){return this.Raw(null,!0)}function xp(){return this.parseWithFallback(this.Rule,Xy)}function Tp(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function nP(){if(this.tokenType===xt)return Tp.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Tp);return this.tokenType===xt&&this.next(),e}const rP="Block",oP="block",sP={children:[["Atrule","Rule","Declaration"]]};function Jy(e){const t=e?nP:xp,n=this.tokenStart;let r=this.createList();this.eat(ht);e:for(;!this.eof;)switch(this.tokenType){case Gt:break e;case tt:case yt:this.next();break;case it:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Xy));break;default:e&&this.isDelim(tP)?r.push(xp.call(this)):r.push(t.call(this))}return this.eof||this.eat(Gt),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function iP(e){this.token(ht,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(xt,";")}),this.token(Gt,"}")}const aP=Object.freeze(Object.defineProperty({__proto__:null,generate:iP,name:rP,parse:Jy,structure:sP,walkContext:oP},Symbol.toStringTag,{value:"Module"})),lP="Brackets",cP={children:[[]]};function Qy(e,t){const n=this.tokenStart;let r=null;return this.eat(qt),r=e.call(this,t),this.eof||this.eat(en),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function uP(e){this.token(we,"["),this.children(e),this.token(we,"]")}const fP=Object.freeze(Object.defineProperty({__proto__:null,generate:uP,name:lP,parse:Qy,structure:cP},Symbol.toStringTag,{value:"Module"})),dP="CDC",pP=[];function Zy(){const e=this.tokenStart;return this.eat(Rt),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function hP(){this.token(Rt,"-->")}const mP=Object.freeze(Object.defineProperty({__proto__:null,generate:hP,name:dP,parse:Zy,structure:pP},Symbol.toStringTag,{value:"Module"})),gP="CDO",yP=[];function eb(){const e=this.tokenStart;return this.eat(_s),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function bP(){this.token(_s,"<!--")}const _P=Object.freeze(Object.defineProperty({__proto__:null,generate:bP,name:gP,parse:eb,structure:yP},Symbol.toStringTag,{value:"Module"})),vP=46,wP="ClassSelector",EP={name:String};function tb(){return this.eatDelim(vP),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(H)}}function SP(e){this.token(we,"."),this.token(H,e.name)}const CP=Object.freeze(Object.defineProperty({__proto__:null,generate:SP,name:wP,parse:tb,structure:EP},Symbol.toStringTag,{value:"Module"})),kP=43,Ap=47,xP=62,TP=126,AP="Combinator",OP={name:String};function nb(){const e=this.tokenStart;let t;switch(this.tokenType){case tt:t=" ";break;case we:switch(this.charCodeAt(this.tokenStart)){case xP:case kP:case TP:this.next();break;case Ap:this.next(),this.eatIdent("deep"),this.eatDelim(Ap);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function IP(e){this.tokenize(e.name)}const PP=Object.freeze(Object.defineProperty({__proto__:null,generate:IP,name:AP,parse:nb,structure:OP},Symbol.toStringTag,{value:"Module"})),LP=42,RP=47,NP="Comment",MP={value:String};function rb(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(yt),t-e+2>=2&&this.charCodeAt(t-2)===LP&&this.charCodeAt(t-1)===RP&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function DP(e){this.token(yt,"/*"+e.value+"*/")}const FP=Object.freeze(Object.defineProperty({__proto__:null,generate:DP,name:NP,parse:rb,structure:MP},Symbol.toStringTag,{value:"Module"})),$P=new Set([kt,ue,ir]),UP="Condition",jP={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Op(e){return this.lookupTypeNonSC(1)===H&&$P.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const zP={media:Op,container:Op,supports(){return this.SupportsDeclaration()}};function ob(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case yt:case tt:this.next();continue;case H:t.push(this.Identifier());break;case Te:{let n=this.parseWithFallback(()=>zP[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(Te);const r=this.Condition(e);return this.eat(ue),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case me:{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 BP(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(Te,"("),this.node(t),this.token(ue,")")):this.node(t)})}const HP=Object.freeze(Object.defineProperty({__proto__:null,generate:BP,name:UP,parse:ob,structure:jP},Symbol.toStringTag,{value:"Module"})),sb=33,VP=35,WP=36,GP=38,qP=42,KP=43,Ip=47;function YP(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function XP(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function JP(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==xt&&this.isDelim(sb)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const QP="Declaration",ZP="declaration",eL={important:[Boolean,String],property:String,value:["Value","Raw"]};function ib(){const e=this.tokenStart,t=this.tokenIndex,n=nL.call(this),r=pu(n),o=r?this.parseCustomProperty:this.parseValue,s=r?XP:YP;let i=!1,a;this.skipSC(),this.eat(kt);const l=this.tokenIndex;if(r||this.skipSC(),o?a=this.parseWithFallback(JP,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)===tt){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(sb)&&(i=rL.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==xt&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:i,property:n,value:a}}function tL(e){this.token(H,e.property),this.token(kt,":"),this.node(e.value),e.important&&(this.token(we,"!"),this.token(H,e.important===!0?"important":e.important))}function nL(){const e=this.tokenStart;if(this.tokenType===we)switch(this.charCodeAt(this.tokenStart)){case qP:case WP:case KP:case VP:case GP:this.next();break;case Ip:this.next(),this.isDelim(Ip)&&this.next();break}return this.tokenType===We?this.eat(We):this.eat(H),this.substrToCursor(e)}function rL(){this.eat(we),this.skipSC();const e=this.consume(H);return e==="important"?!0:e}const oL=Object.freeze(Object.defineProperty({__proto__:null,generate:tL,name:QP,parse:ib,structure:eL,walkContext:ZP},Symbol.toStringTag,{value:"Module"})),sL=38;function yl(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const iL="DeclarationList",aL={children:[["Declaration","Atrule","Rule"]]};function ab(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case tt:case yt:case xt:this.next();break;case it:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),yl));break;default:this.isDelim(sL)?e.push(this.parseWithFallback(this.Rule,yl)):e.push(this.parseWithFallback(this.Declaration,yl))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function lL(e){this.children(e,t=>{t.type==="Declaration"&&this.token(xt,";")})}const cL=Object.freeze(Object.defineProperty({__proto__:null,generate:lL,name:iL,parse:ab,structure:aL},Symbol.toStringTag,{value:"Module"})),uL="Dimension",fL={value:String,unit:String};function lb(){const e=this.tokenStart,t=this.consumeNumber(ve);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function dL(e){this.token(ve,e.value+e.unit)}const pL=Object.freeze(Object.defineProperty({__proto__:null,generate:dL,name:uL,parse:lb,structure:fL},Symbol.toStringTag,{value:"Module"})),hL=47,mL="Feature",gL={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function cb(e){const t=this.tokenStart;let n,r=null;if(this.eat(Te),this.skipSC(),n=this.consume(H),this.skipSC(),this.tokenType!==ue){switch(this.eat(kt),this.skipSC(),this.tokenType){case de:this.lookupNonWSType(1)===we?r=this.Ratio():r=this.Number();break;case ve:r=this.Dimension();break;case H:r=this.Identifier();break;case me:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(hL)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(ue),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function yL(e){this.token(Te,"("),this.token(H,e.name),e.value!==null&&(this.token(kt,":"),this.node(e.value)),this.token(ue,")")}const bL=Object.freeze(Object.defineProperty({__proto__:null,generate:yL,name:mL,parse:cb,structure:gL},Symbol.toStringTag,{value:"Module"})),_L="FeatureFunction",vL={kind:String,feature:String,value:["Declaration","Selector"]};function wL(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function ub(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=wL.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(ue),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function EL(e){this.token(me,e.feature+"("),this.node(e.value),this.token(ue,")")}const SL=Object.freeze(Object.defineProperty({__proto__:null,generate:EL,name:_L,parse:ub,structure:vL},Symbol.toStringTag,{value:"Module"})),Pp=47,CL=60,Lp=61,kL=62,xL="FeatureRange",TL={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 bl(){switch(this.skipSC(),this.tokenType){case de:return this.isDelim(Pp,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case ve:return this.Dimension();case H:return this.Identifier();case me:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Pp)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Rp(e){if(this.skipSC(),this.isDelim(CL)||this.isDelim(kL)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(Lp)?(this.next(),t+"="):t}if(this.isDelim(Lp))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function fb(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(Te);const n=bl.call(this),r=Rp.call(this,n.type==="Identifier"),o=bl.call(this);let s=null,i=null;return this.lookupNonWSType(0)!==ue&&(s=Rp.call(this),i=bl.call(this)),this.skipSC(),this.eat(ue),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:i}}function AL(e){this.token(Te,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(ue,")")}const OL=Object.freeze(Object.defineProperty({__proto__:null,generate:AL,name:xL,parse:fb,structure:TL},Symbol.toStringTag,{value:"Module"})),IL="Function",PL="function",LL={name:String,children:[[]]};function db(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(ue),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function RL(e){this.token(me,e.name+"("),this.children(e),this.token(ue,")")}const NL=Object.freeze(Object.defineProperty({__proto__:null,generate:RL,name:IL,parse:db,structure:LL,walkContext:PL},Symbol.toStringTag,{value:"Module"})),ML="GeneralEnclosed",DL={kind:String,function:[String,null],children:[[]]};function pb(e){const t=this.tokenStart;let n=null;this.tokenType===me?n=this.consumeFunctionName():this.eat(Te);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(ue),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function FL(e){e.function?this.token(me,e.function+"("):this.token(Te,"("),this.children(e),this.token(ue,")")}const $L=Object.freeze(Object.defineProperty({__proto__:null,generate:FL,name:ML,parse:pb,structure:DL},Symbol.toStringTag,{value:"Module"})),UL="XXX",jL="Hash",zL={value:String};function hb(){const e=this.tokenStart;return this.eat(We),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function BL(e){this.token(We,"#"+e.value)}const HL=Object.freeze(Object.defineProperty({__proto__:null,generate:BL,name:jL,parse:hb,structure:zL,xxx:UL},Symbol.toStringTag,{value:"Module"})),VL="Identifier",WL={name:String};function mb(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(H)}}function GL(e){this.token(H,e.name)}const qL=Object.freeze(Object.defineProperty({__proto__:null,generate:GL,name:VL,parse:mb,structure:WL},Symbol.toStringTag,{value:"Module"})),KL="IdSelector",YL={name:String};function gb(){const e=this.tokenStart;return this.eat(We),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function XL(e){this.token(we,"#"+e.name)}const JL=Object.freeze(Object.defineProperty({__proto__:null,generate:XL,name:KL,parse:gb,structure:YL},Symbol.toStringTag,{value:"Module"})),QL=46,ZL="Layer",eR={name:String};function yb(){let e=this.tokenStart,t=this.consume(H);for(;this.isDelim(QL);)this.eat(we),t+="."+this.consume(H);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function tR(e){this.tokenize(e.name)}const nR=Object.freeze(Object.defineProperty({__proto__:null,generate:tR,name:ZL,parse:yb,structure:eR},Symbol.toStringTag,{value:"Module"})),rR="LayerList",oR={children:[["Layer"]]};function bb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Ut);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function sR(e){this.children(e,()=>this.token(Ut,","))}const iR=Object.freeze(Object.defineProperty({__proto__:null,generate:sR,name:rR,parse:bb,structure:oR},Symbol.toStringTag,{value:"Module"})),aR="MediaQuery",lR={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function _b(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===H&&this.lookupTypeNonSC(1)!==Te){const o=this.consume(H),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(H)):n=o,this.lookupTypeNonSC(0)){case H:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case ht:case xt:case Ut:case ir:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case H:case Te:case me:{r=this.Condition("media");break}case ht:case xt:case ir: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 cR(e){e.mediaType?(e.modifier&&this.token(H,e.modifier),this.token(H,e.mediaType),e.condition&&(this.token(H,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const uR=Object.freeze(Object.defineProperty({__proto__:null,generate:cR,name:aR,parse:_b,structure:lR},Symbol.toStringTag,{value:"Module"})),fR="MediaQueryList",dR={children:[["MediaQuery"]]};function vb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Ut);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function pR(e){this.children(e,()=>this.token(Ut,","))}const hR=Object.freeze(Object.defineProperty({__proto__:null,generate:pR,name:fR,parse:vb,structure:dR},Symbol.toStringTag,{value:"Module"})),mR=38,gR="NestingSelector",yR={};function wb(){const e=this.tokenStart;return this.eatDelim(mR),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function bR(){this.token(we,"&")}const _R=Object.freeze(Object.defineProperty({__proto__:null,generate:bR,name:gR,parse:wb,structure:yR},Symbol.toStringTag,{value:"Module"})),vR="Nth",wR={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Eb(){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 ER(e){this.node(e.nth),e.selector!==null&&(this.token(H,"of"),this.node(e.selector))}const SR=Object.freeze(Object.defineProperty({__proto__:null,generate:ER,name:vR,parse:Eb,structure:wR},Symbol.toStringTag,{value:"Module"})),CR="Number",kR={value:String};function Sb(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(de)}}function xR(e){this.token(de,e.value)}const TR=Object.freeze(Object.defineProperty({__proto__:null,generate:xR,name:CR,parse:Sb,structure:kR},Symbol.toStringTag,{value:"Module"})),AR="Operator",OR={value:String};function Cb(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function IR(e){this.tokenize(e.value)}const PR=Object.freeze(Object.defineProperty({__proto__:null,generate:IR,name:AR,parse:Cb,structure:OR},Symbol.toStringTag,{value:"Module"})),LR="Parentheses",RR={children:[[]]};function kb(e,t){const n=this.tokenStart;let r=null;return this.eat(Te),r=e.call(this,t),this.eof||this.eat(ue),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function NR(e){this.token(Te,"("),this.children(e),this.token(ue,")")}const MR=Object.freeze(Object.defineProperty({__proto__:null,generate:NR,name:LR,parse:kb,structure:RR},Symbol.toStringTag,{value:"Module"})),DR="Percentage",FR={value:String};function xb(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(et)}}function $R(e){this.token(et,e.value+"%")}const UR=Object.freeze(Object.defineProperty({__proto__:null,generate:$R,name:DR,parse:xb,structure:FR},Symbol.toStringTag,{value:"Module"})),jR="PseudoClassSelector",zR="function",BR={name:String,children:[["Raw"],null]};function Tb(){const e=this.tokenStart;let t=null,n,r;return this.eat(kt),this.tokenType===me?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==ue?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(ue)):n=this.consume(H),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function HR(e){this.token(kt,":"),e.children===null?this.token(H,e.name):(this.token(me,e.name+"("),this.children(e),this.token(ue,")"))}const VR=Object.freeze(Object.defineProperty({__proto__:null,generate:HR,name:jR,parse:Tb,structure:BR,walkContext:zR},Symbol.toStringTag,{value:"Module"})),WR="PseudoElementSelector",GR="function",qR={name:String,children:[["Raw"],null]};function Ab(){const e=this.tokenStart;let t=null,n,r;return this.eat(kt),this.eat(kt),this.tokenType===me?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==ue?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(ue)):n=this.consume(H),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function KR(e){this.token(kt,":"),this.token(kt,":"),e.children===null?this.token(H,e.name):(this.token(me,e.name+"("),this.children(e),this.token(ue,")"))}const YR=Object.freeze(Object.defineProperty({__proto__:null,generate:KR,name:WR,parse:Ab,structure:qR,walkContext:GR},Symbol.toStringTag,{value:"Module"})),Np=47;function Mp(){switch(this.skipSC(),this.tokenType){case de:return this.Number();case me:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const XR="Ratio",JR={left:["Number","Function"],right:["Number","Function",null]};function Ob(){const e=this.tokenStart,t=Mp.call(this);let n=null;return this.skipSC(),this.isDelim(Np)&&(this.eatDelim(Np),n=Mp.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function QR(e){this.node(e.left),this.token(we,"/"),e.right?this.node(e.right):this.node(de,1)}const ZR=Object.freeze(Object.defineProperty({__proto__:null,generate:QR,name:XR,parse:Ob,structure:JR},Symbol.toStringTag,{value:"Module"}));function eN(){return this.tokenIndex>0&&this.lookupType(-1)===tt?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const tN="Raw",nN={value:String};function Ib(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=eN.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function rN(e){this.tokenize(e.value)}const oN=Object.freeze(Object.defineProperty({__proto__:null,generate:rN,name:tN,parse:Ib,structure:nN},Symbol.toStringTag,{value:"Module"}));function Dp(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function sN(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==ht&&this.error(),e}const iN="Rule",aN="rule",lN={prelude:["SelectorList","Raw"],block:["Block"]};function Pb(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(sN,Dp):n=Dp.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function cN(e){this.node(e.prelude),this.node(e.block)}const uN=Object.freeze(Object.defineProperty({__proto__:null,generate:cN,name:iN,parse:Pb,structure:lN,walkContext:aN},Symbol.toStringTag,{value:"Module"})),fN="Scope",dN={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Lb(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===Te&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ue)),this.lookupNonWSType(0)===H&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(Te),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ue)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function pN(e){e.root&&(this.token(Te,"("),this.node(e.root),this.token(ue,")")),e.limit&&(this.token(H,"to"),this.token(Te,"("),this.node(e.limit),this.token(ue,")"))}const hN=Object.freeze(Object.defineProperty({__proto__:null,generate:pN,name:fN,parse:Lb,structure:dN},Symbol.toStringTag,{value:"Module"})),mN="Selector",gN={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Rb(){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 yN(e){this.children(e)}const bN=Object.freeze(Object.defineProperty({__proto__:null,generate:yN,name:mN,parse:Rb,structure:gN},Symbol.toStringTag,{value:"Module"})),_N="SelectorList",vN="selector",wN={children:[["Selector","Raw"]]};function Nb(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Ut){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function EN(e){this.children(e,()=>this.token(Ut,","))}const SN=Object.freeze(Object.defineProperty({__proto__:null,generate:EN,name:_N,parse:Nb,structure:wN,walkContext:vN},Symbol.toStringTag,{value:"Module"})),bc=92,Mb=34,CN=39;function Db(e){const t=e.length,n=e.charCodeAt(0),r=n===Mb||n===CN?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===bc){if(i===o){i!==t-1&&(s=e.substr(i+1));break}if(a=e.charCodeAt(++i),Sn(bc,a)){const l=i-1,c=fo(e,l);i=c-1,s+=wy(e.substring(l+1,c))}else a===13&&e.charCodeAt(i+1)===10&&i++}else s+=e[i]}return s}function kN(e,t){const r=Mb;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===bc?(o+="\\"+e.charAt(i),s=!1):(s&&(fr(a)||Pr(a))&&(o+=" "),o+=e.charAt(i),s=!1)}return'"'+o+'"'}const xN="String",TN={value:String};function Fb(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Db(this.consume(dn))}}function AN(e){this.token(dn,kN(e.value))}const ON=Object.freeze(Object.defineProperty({__proto__:null,generate:AN,name:xN,parse:Fb,structure:TN},Symbol.toStringTag,{value:"Module"})),IN=33;function Fp(){return this.Raw(null,!1)}const PN="StyleSheet",LN="stylesheet",RN={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function $b(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case tt:this.next();continue;case yt:if(this.charCodeAt(this.tokenStart+2)!==IN){this.next();continue}n=this.Comment();break;case _s:n=this.CDO();break;case Rt:n=this.CDC();break;case it:n=this.parseWithFallback(this.Atrule,Fp);break;default:n=this.parseWithFallback(this.Rule,Fp)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function NN(e){this.children(e)}const MN=Object.freeze(Object.defineProperty({__proto__:null,generate:NN,name:PN,parse:$b,structure:RN,walkContext:LN},Symbol.toStringTag,{value:"Module"})),DN="SupportsDeclaration",FN={declaration:"Declaration"};function Ub(){const e=this.tokenStart;this.eat(Te),this.skipSC();const t=this.Declaration();return this.eof||this.eat(ue),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function $N(e){this.token(Te,"("),this.node(e.declaration),this.token(ue,")")}const UN=Object.freeze(Object.defineProperty({__proto__:null,generate:$N,name:DN,parse:Ub,structure:FN},Symbol.toStringTag,{value:"Module"})),jN=42,$p=124;function _l(){this.tokenType!==H&&this.isDelim(jN)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const zN="TypeSelector",BN={name:String};function jb(){const e=this.tokenStart;return this.isDelim($p)?(this.next(),_l.call(this)):(_l.call(this),this.isDelim($p)&&(this.next(),_l.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function HN(e){this.tokenize(e.name)}const VN=Object.freeze(Object.defineProperty({__proto__:null,generate:HN,name:zN,parse:jb,structure:BN},Symbol.toStringTag,{value:"Module"})),zb=43,Bb=45,_c=63;function $o(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===Bb&&t&&n!==0)return $o.call(this,e+n+1,!1),-1;fr(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 Gs(e){let t=0;for(;this.isDelim(_c);)++t>e&&this.error("Too many question marks"),this.next()}function WN(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===zb?"Plus sign":"Hyphen minus")+" is expected")}function GN(){let e=0;switch(this.tokenType){case de:if(e=$o.call(this,1,!0),this.isDelim(_c)){Gs.call(this,6-e);break}if(this.tokenType===ve||this.tokenType===de){WN.call(this,Bb),$o.call(this,1,!1);break}break;case ve:e=$o.call(this,1,!0),e>0&&Gs.call(this,6-e);break;default:if(this.eatDelim(zb),this.tokenType===H){e=$o.call(this,0,!0),e>0&&Gs.call(this,6-e);break}if(this.isDelim(_c)){this.next(),Gs.call(this,5);break}this.error("Hex digit or question mark is expected")}}const qN="UnicodeRange",KN={value:String};function Hb(){const e=this.tokenStart;return this.eatIdent("u"),GN.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function YN(e){this.tokenize(e.value)}const XN=Object.freeze(Object.defineProperty({__proto__:null,generate:YN,name:qN,parse:Hb,structure:KN},Symbol.toStringTag,{value:"Module"})),JN=32,vc=92,QN=34,ZN=39,eM=40,Vb=41;function tM(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===Vb?t-2:t-1,o="";for(;n<r&&Pr(e.charCodeAt(n));)n++;for(;n<r&&Pr(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let i=e.charCodeAt(s);if(i===vc){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(i=e.charCodeAt(++s),Sn(vc,i)){const a=s-1,l=fo(e,a);s=l-1,o+=wy(e.substring(a+1,l))}else i===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function nM(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===JN||o===vc||o===QN||o===ZN||o===eM||o===Vb?(t+="\\"+e.charAt(r),n=!1):(n&&fr(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const rM="Url",oM={value:String};function Wb(){const e=this.tokenStart;let t;switch(this.tokenType){case wt:t=tM(this.consume(wt));break;case me:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(me),this.skipSC(),t=Db(this.consume(dn)),this.skipSC(),this.eof||this.eat(ue);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function sM(e){this.token(wt,nM(e.value))}const iM=Object.freeze(Object.defineProperty({__proto__:null,generate:sM,name:rM,parse:Wb,structure:oM},Symbol.toStringTag,{value:"Module"})),aM="Value",lM={children:[[]]};function Gb(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function cM(e){this.children(e)}const uM=Object.freeze(Object.defineProperty({__proto__:null,generate:cM,name:aM,parse:Gb,structure:lM},Symbol.toStringTag,{value:"Module"})),fM=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),dM="WhiteSpace",pM={value:String};function qb(){return this.eat(tt),fM}function hM(e){this.token(tt,e.value)}const mM=Object.freeze(Object.defineProperty({__proto__:null,generate:hM,name:dM,parse:qb,structure:pM},Symbol.toStringTag,{value:"Module"})),Kb=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:N1,Atrule:j1,AtrulePrelude:W1,AttributeSelector:eP,Block:aP,Brackets:fP,CDC:mP,CDO:_P,ClassSelector:CP,Combinator:PP,Comment:FP,Condition:HP,Declaration:oL,DeclarationList:cL,Dimension:pL,Feature:bL,FeatureFunction:SL,FeatureRange:OL,Function:NL,GeneralEnclosed:$L,Hash:HL,IdSelector:JL,Identifier:qL,Layer:nR,LayerList:iR,MediaQuery:uR,MediaQueryList:hR,NestingSelector:_R,Nth:SR,Number:TR,Operator:PR,Parentheses:MR,Percentage:UR,PseudoClassSelector:VR,PseudoElementSelector:YR,Ratio:ZR,Raw:oN,Rule:uN,Scope:hN,Selector:bN,SelectorList:SN,String:ON,StyleSheet:MN,SupportsDeclaration:UN,TypeSelector:VN,UnicodeRange:XN,Url:iM,Value:uM,WhiteSpace:mM},Symbol.toStringTag,{value:"Module"})),gM={generic:!0,cssWideKeywords:hu,...O1,node:Kb},yM=35,bM=42,Up=43,_M=45,vM=47,wM=117;function Yb(e){switch(this.tokenType){case We:return this.Hash();case Ut:return this.Operator();case Te:return this.Parentheses(this.readSequence,e.recognizer);case qt:return this.Brackets(this.readSequence,e.recognizer);case dn:return this.String();case ve:return this.Dimension();case et:return this.Percentage();case de:return this.Number();case me:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case wt:return this.Url();case H:return this.cmpChar(this.tokenStart,wM)&&this.cmpChar(this.tokenStart+1,Up)?this.UnicodeRange():this.Identifier();case we:{const t=this.charCodeAt(this.tokenStart);if(t===vM||t===bM||t===Up||t===_M)return this.Operator();t===yM&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const EM={getNode:Yb},SM=35,CM=38,kM=42,xM=43,TM=47,jp=46,AM=62,OM=124,IM=126;function PM(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function LM(){switch(this.tokenType){case qt:return this.AttributeSelector();case We:return this.IdSelector();case kt:return this.lookupType(1)===kt?this.PseudoElementSelector():this.PseudoClassSelector();case H:return this.TypeSelector();case de:case et:return this.Percentage();case ve:this.charCodeAt(this.tokenStart)===jp&&this.error("Identifier is expected",this.tokenStart+1);break;case we:{switch(this.charCodeAt(this.tokenStart)){case xM:case AM:case IM:case TM:return this.Combinator();case jp:return this.ClassSelector();case kM:case OM:return this.TypeSelector();case SM:return this.IdSelector();case CM:return this.NestingSelector()}break}}}const RM={onWhiteSpace:PM,getNode:LM};function NM(){return this.createSingleNodeList(this.Raw(null,!1))}function MM(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Ut){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)===tt){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function zp(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const DM={getNode:Yb,onWhiteSpace(e,t){zp(e)&&(e.value=" "+e.value),zp(t.last)&&(t.last.value+=" ")},expression:NM,var:MM},FM=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:EM,Selector:RM,Value:DM},Symbol.toStringTag,{value:"Module"})),$M=new Set(["none","and","not","or"]),UM={parse:{prelude(){const e=this.createList();if(this.tokenType===H){const t=this.substring(this.tokenStart,this.tokenEnd);$M.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},jM={parse:{prelude:null,block(){return this.Block(!0)}}};function vl(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==ue&&this.error()}},t||(()=>this.Raw(null,!0)))}const Bp={layer(){this.skipSC();const e=this.createList(),t=vl.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=vl.call(this,this.Declaration,()=>vl.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},zM={parse:{prelude(){const e=this.createList();switch(this.tokenType){case dn:e.push(this.String());break;case wt:case me:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===H&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===me&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Bp)),this.skipSC(),this.tokenType===me&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Bp)),(this.lookupNonWSType(0)===H||this.lookupNonWSType(0)===Te)&&e.push(this.MediaQueryList()),e},block:null}},BM={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},HM={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},VM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},WM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},GM={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},qM={parse:{prelude:null,block(e=!1){return this.Block(e)}}},KM={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},YM={container:UM,"font-face":jM,import:zM,layer:BM,media:HM,nest:VM,page:WM,scope:GM,"starting-style":qM,supports:KM};function XM(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case H:e.push(this.Identifier());break;case dn:e.push(this.String());break;case Ut:e.push(this.Operator());break;case ue:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const br={parse(){return this.createSingleNodeList(this.SelectorList())}},wl={parse(){return this.createSingleNodeList(this.Selector())}},JM={parse(){return this.createSingleNodeList(this.Identifier())}},QM={parse:XM},qs={parse(){return this.createSingleNodeList(this.Nth())}},ZM={dir:JM,has:br,lang:QM,matches:br,is:br,"-moz-any":br,"-webkit-any":br,where:br,not:br,"nth-child":qs,"nth-last-child":qs,"nth-last-of-type":qs,"nth-of-type":qs,slotted:wl,host:wl,"host-context":wl},eD=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Wy,Atrule:Gy,AtrulePrelude:qy,AttributeSelector:Yy,Block:Jy,Brackets:Qy,CDC:Zy,CDO:eb,ClassSelector:tb,Combinator:nb,Comment:rb,Condition:ob,Declaration:ib,DeclarationList:ab,Dimension:lb,Feature:cb,FeatureFunction:ub,FeatureRange:fb,Function:db,GeneralEnclosed:pb,Hash:hb,IdSelector:gb,Identifier:mb,Layer:yb,LayerList:bb,MediaQuery:_b,MediaQueryList:vb,NestingSelector:wb,Nth:Eb,Number:Sb,Operator:Cb,Parentheses:kb,Percentage:xb,PseudoClassSelector:Tb,PseudoElementSelector:Ab,Ratio:Ob,Raw:Ib,Rule:Pb,Scope:Lb,Selector:Rb,SelectorList:Nb,String:Fb,StyleSheet:$b,SupportsDeclaration:Ub,TypeSelector:jb,UnicodeRange:Hb,Url:Wb,Value:Gb,WhiteSpace:qb},Symbol.toStringTag,{value:"Module"})),tD={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:FM,atrule:YM,pseudo:ZM,node:eD},nD={node:Kb},rD=A1({...gM,...tD,...nD}),{tokenize:vU,parse:oD,generate:sD,lexer:wU,createLexer:EU,walk:iD,find:SU,findLast:CU,findAll:kU,toPlainObject:xU,fromPlainObject:TU,fork:AU}=rD;function aD(e,t,n){if(!e.includes("url("))return e;const r=oD(e,{positions:!1});return iD(r,o=>{if(o.type==="Url"&&o.value){const s=typeof o.value=="string"?o.value.replace(/["']/g,""):o.value;if(!s.startsWith("/")&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.startsWith("data:")){const a=new URL(s,t),l=n?.find(c=>a.href.endsWith(c.path));l?o.value=l.signedUrl:o.value=a.href}}}),sD(r)}function lD(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function cD(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}const wc=(e,t)=>t.some(n=>e instanceof n);let Hp,Vp;function uD(){return Hp||(Hp=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function fD(){return Vp||(Vp=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ec=new WeakMap,El=new WeakMap,ya=new WeakMap;function dD(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",i)},s=()=>{n(Tr(e.result)),o()},i=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",i)});return ya.set(t,e),t}function pD(e){if(Ec.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)});Ec.set(e,t)}let Sc={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Ec.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Tr(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 Xb(e){Sc=e(Sc)}function hD(e){return fD().includes(e)?function(...t){return e.apply(Cc(this),t),Tr(this.request)}:function(...t){return Tr(e.apply(Cc(this),t))}}function mD(e){return typeof e=="function"?hD(e):(e instanceof IDBTransaction&&pD(e),wc(e,uD())?new Proxy(e,Sc):e)}function Tr(e){if(e instanceof IDBRequest)return dD(e);if(El.has(e))return El.get(e);const t=mD(e);return t!==e&&(El.set(e,t),ya.set(t,e)),t}const Cc=e=>ya.get(e);function gD(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const i=indexedDB.open(e,t),a=Tr(i);return r&&i.addEventListener("upgradeneeded",l=>{r(Tr(i.result),l.oldVersion,l.newVersion,Tr(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 yD=["get","getKey","getAll","getAllKeys","count"],bD=["put","add","delete","clear"],Sl=new Map;function Wp(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Sl.get(t))return Sl.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=bD.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||yD.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 Sl.set(t,s),s}Xb(e=>({...e,get:(t,n,r)=>Wp(t,n)||e.get(t,n,r),has:(t,n)=>!!Wp(t,n)||e.has(t,n)}));const _D=["continue","continuePrimaryKey","advance"],Gp={},kc=new WeakMap,Jb=new WeakMap,vD={get(e,t){if(!_D.includes(t))return e[t];let n=Gp[t];return n||(n=Gp[t]=function(...r){kc.set(this,Jb.get(this)[t](...r))}),n}};async function*wD(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,vD);for(Jb.set(n,t),ya.set(n,Cc(t));t;)yield n,t=await(kc.get(n)||t.continue()),kc.delete(n)}function qp(e,t){return t===Symbol.asyncIterator&&wc(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&wc(e,[IDBIndex,IDBObjectStore])}Xb(e=>({...e,get(t,n,r){return qp(t,n)?wD:e.get(t,n,r)},has(t,n){return qp(t,n)||e.has(t,n)}}));let tr=null;const Kp=Bg("indexedDB",{actions:{async open(e=1){return tr||(tr=await gD(ye.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(ye.INDEX_DB_TABLE_NAME)||t.createObjectStore(ye.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),tr)},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(){tr?.close(),tr=null},async deleteDatabase(){if(tr){const e=tr.name;this.close(),indexedDB.deleteDatabase(e)}}}});function Qb(e,t){return function(){return e.apply(t,arguments)}}const{toString:ED}=Object.prototype,{getPrototypeOf:ba}=Object,{iterator:_a,toStringTag:Zb}=Symbol,va=(e=>t=>{const n=ED.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pn=e=>(e=e.toLowerCase(),t=>va(t)===e),wa=e=>t=>typeof t===e,{isArray:_o}=Array,ho=wa("undefined");function ws(e){return e!==null&&!ho(e)&&e.constructor!==null&&!ho(e.constructor)&&Ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const e_=pn("ArrayBuffer");function SD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e_(e.buffer),t}const CD=wa("string"),Ft=wa("function"),t_=wa("number"),Es=e=>e!==null&&typeof e=="object",kD=e=>e===!0||e===!1,ii=e=>{if(va(e)!=="object")return!1;const t=ba(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Zb in e)&&!(_a in e)},xD=e=>{if(!Es(e)||ws(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},TD=pn("Date"),AD=pn("File"),OD=e=>!!(e&&typeof e.uri<"u"),ID=e=>e&&typeof e.getParts<"u",PD=pn("Blob"),LD=pn("FileList"),RD=e=>Es(e)&&Ft(e.pipe);function ND(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Yp=ND(),Xp=typeof Yp.FormData<"u"?Yp.FormData:void 0,MD=e=>{if(!e)return!1;if(Xp&&e instanceof Xp)return!0;const t=ba(e);if(!t||t===Object.prototype||!Ft(e.append))return!1;const n=va(e);return n==="formdata"||n==="object"&&Ft(e.toString)&&e.toString()==="[object FormData]"},DD=pn("URLSearchParams"),[FD,$D,UD,jD]=["ReadableStream","Request","Response","Headers"].map(pn),zD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ss(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),_o(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(ws(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 n_(e,t){if(ws(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 Cr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,r_=e=>!ho(e)&&e!==Cr;function xc(){const{caseless:e,skipUndefined:t}=r_(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=e&&n_(n,s)||s;ii(n[i])&&ii(o)?n[i]=xc(n[i],o):ii(o)?n[i]=xc({},o):_o(o)?n[i]=o.slice():(!t||!ho(o))&&(n[i]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Ss(arguments[o],r);return n}const BD=(e,t,n,{allOwnKeys:r}={})=>(Ss(t,(o,s)=>{n&&Ft(o)?Object.defineProperty(e,s,{value:Qb(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),HD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),VD=(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)},WD=(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&&ba(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},GD=(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},qD=e=>{if(!e)return null;if(_o(e))return e;let t=e.length;if(!t_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},KD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ba(Uint8Array)),YD=(e,t)=>{const r=(e&&e[_a]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},XD=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},JD=pn("HTMLFormElement"),QD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Jp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ZD=pn("RegExp"),o_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ss(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},eF=e=>{o_(e,(t,n)=>{if(Ft(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ft(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+"'")})}})},tF=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return _o(e)?r(e):r(String(e).split(t)),n},nF=()=>{},rF=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function oF(e){return!!(e&&Ft(e.append)&&e[Zb]==="FormData"&&e[_a])}const sF=e=>{const t=new Array(10),n=(r,o)=>{if(Es(r)){if(t.indexOf(r)>=0)return;if(ws(r))return r;if(!("toJSON"in r)){t[o]=r;const s=_o(r)?[]:{};return Ss(r,(i,a)=>{const l=n(i,o+1);!ho(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},iF=pn("AsyncFunction"),aF=e=>e&&(Es(e)||Ft(e))&&Ft(e.then)&&Ft(e.catch),s_=((e,t)=>e?setImmediate:t?((n,r)=>(Cr.addEventListener("message",({source:o,data:s})=>{o===Cr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Cr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ft(Cr.postMessage)),lF=typeof queueMicrotask<"u"?queueMicrotask.bind(Cr):typeof process<"u"&&process.nextTick||s_,cF=e=>e!=null&&Ft(e[_a]),N={isArray:_o,isArrayBuffer:e_,isBuffer:ws,isFormData:MD,isArrayBufferView:SD,isString:CD,isNumber:t_,isBoolean:kD,isObject:Es,isPlainObject:ii,isEmptyObject:xD,isReadableStream:FD,isRequest:$D,isResponse:UD,isHeaders:jD,isUndefined:ho,isDate:TD,isFile:AD,isReactNativeBlob:OD,isReactNative:ID,isBlob:PD,isRegExp:ZD,isFunction:Ft,isStream:RD,isURLSearchParams:DD,isTypedArray:KD,isFileList:LD,forEach:Ss,merge:xc,extend:BD,trim:zD,stripBOM:HD,inherits:VD,toFlatObject:WD,kindOf:va,kindOfTest:pn,endsWith:GD,toArray:qD,forEachEntry:YD,matchAll:XD,isHTMLForm:JD,hasOwnProperty:Jp,hasOwnProp:Jp,reduceDescriptors:o_,freezeMethods:eF,toObjectSet:tF,toCamelCase:QD,noop:nF,toFiniteNumber:rF,findKey:n_,global:Cr,isContextDefined:r_,isSpecCompliantForm:oF,toJSONObject:sF,isAsyncFn:iF,isThenable:aF,setImmediate:s_,asap:lF,isIterable:cF};let ae=class i_ extends Error{static from(t,n,r,o,s,i){const a=new i_(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:N.toJSONObject(this.config),code:this.code,status:this.status}}};ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ae.ERR_BAD_OPTION="ERR_BAD_OPTION";ae.ECONNABORTED="ECONNABORTED";ae.ETIMEDOUT="ETIMEDOUT";ae.ERR_NETWORK="ERR_NETWORK";ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ae.ERR_DEPRECATED="ERR_DEPRECATED";ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ae.ERR_CANCELED="ERR_CANCELED";ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ae.ERR_INVALID_URL="ERR_INVALID_URL";ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const uF=null;function Tc(e){return N.isPlainObject(e)||N.isArray(e)}function a_(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Cl(e,t,n){return e?e.concat(t).map(function(o,s){return o=a_(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function fF(e){return N.isArray(e)&&!e.some(Tc)}const dF=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Ea(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!N.isUndefined(y[b])});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&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(N.isDate(h))return h.toISOString();if(N.isBoolean(h))return h.toString();if(!c&&N.isBlob(h))throw new ae("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(h)||N.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function f(h,b,y){let _=h;if(N.isReactNative(t)&&N.isReactNativeBlob(h))return t.append(Cl(y,b,s),u(h)),!1;if(h&&!y&&typeof h=="object"){if(N.endsWith(b,"{}"))b=r?b:b.slice(0,-2),h=JSON.stringify(h);else if(N.isArray(h)&&fF(h)||(N.isFileList(h)||N.endsWith(b,"[]"))&&(_=N.toArray(h)))return b=a_(b),_.forEach(function(g,A){!(N.isUndefined(g)||g===null)&&t.append(i===!0?Cl([b],A,s):i===null?b:b+"[]",u(g))}),!1}return Tc(h)?!0:(t.append(Cl(y,b,s),u(h)),!1)}const d=[],p=Object.assign(dF,{defaultVisitor:f,convertValue:u,isVisitable:Tc});function m(h,b,y=0){if(!N.isUndefined(h)){if(y>l)throw new ae("Object is too deeply nested ("+y+" levels). Max depth: "+l,ae.ERR_FORM_DATA_DEPTH_EXCEEDED);if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(h),N.forEach(h,function(E,g){(!(N.isUndefined(E)||E===null)&&o.call(t,E,N.isString(g)?g.trim():g,b,p))===!0&&m(E,b?b.concat(g):[g],y+1)}),d.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return m(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 Tu(e,t){this._pairs=[],e&&Ea(e,this,t)}const l_=Tu.prototype;l_.append=function(t,n){this._pairs.push([t,n])};l_.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 pF(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function c_(e,t,n){if(!t)return e;const r=n&&n.encode||pF,o=N.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=N.isURLSearchParams(t)?t.toString():new Tu(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Zp{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){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Au={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},hF=typeof URLSearchParams<"u"?URLSearchParams:Tu,mF=typeof FormData<"u"?FormData:null,gF=typeof Blob<"u"?Blob:null,yF={isBrowser:!0,classes:{URLSearchParams:hF,FormData:mF,Blob:gF},protocols:["http","https","file","blob","url","data"]},Ou=typeof window<"u"&&typeof document<"u",Ac=typeof navigator=="object"&&navigator||void 0,bF=Ou&&(!Ac||["ReactNative","NativeScript","NS"].indexOf(Ac.product)<0),_F=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vF=Ou&&window.location.href||"http://localhost",wF=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ou,hasStandardBrowserEnv:bF,hasStandardBrowserWebWorkerEnv:_F,navigator:Ac,origin:vF},Symbol.toStringTag,{value:"Module"})),Ct={...wF,...yF};function EF(e,t){return Ea(e,new Ct.classes.URLSearchParams,{visitor:function(n,r,o,s){return Ct.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function SF(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function CF(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 u_(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&&N.isArray(o)?o.length:i,l?(N.hasOwnProp(o,i)?o[i]=N.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!o[i]||!N.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&N.isArray(o[i])&&(o[i]=CF(o[i])),!a)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,o)=>{t(SF(r),o,n,0)}),n}return null}const Hr=(e,t)=>e!=null&&N.hasOwnProp(e,t)?e[t]:void 0;function kF(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Cs={transitional:Au,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=N.isObject(t);if(s&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return o?JSON.stringify(u_(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Hr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return EF(t,l).toString();if((a=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=Hr(this,"env"),u=c&&c.FormData;return Ea(a?{"files[]":t}:t,u&&new u,l)}}return s||o?(n.setContentType("application/json",!1),kF(t)):t}],transformResponse:[function(t){const n=Hr(this,"transitional")||Cs.transitional,r=n&&n.forcedJSONParsing,o=Hr(this,"responseType"),s=o==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Hr(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?ae.from(l,ae.ERR_BAD_RESPONSE,this,null,Hr(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Cs.headers[e]={}});const xF=N.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"]),TF=e=>{const t={};let n,r,o;return e&&e.split(`
29
29
  `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&xF[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},eh=Symbol("internals"),AF=/[^\x09\x20-\x7E\x80-\xFF]/g;function OF(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 Oo(e){return e&&String(e).trim().toLowerCase()}function IF(e){return OF(e.replace(AF,""))}function ai(e){return e===!1||e==null?e:N.isArray(e)?e.map(ai):IF(String(e))}function PF(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 LF=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function kl(e,t,n,r,o){if(N.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function RF(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function NF(e,t){const n=N.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 $t=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=Oo(l);if(!u)throw new Error("header name must be a non-empty string");const f=N.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=ai(a))}const i=(a,l)=>N.forEach(a,(c,u)=>s(c,u,l));if(N.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(N.isString(t)&&(t=t.trim())&&!LF(t))i(TF(t),n);else if(N.isObject(t)&&N.isIterable(t)){let a={},l,c;for(const u of t){if(!N.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?N.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=Oo(t),t){const r=N.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return PF(o);if(N.isFunction(n))return n.call(this,o,r);if(N.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Oo(t),t){const r=N.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||kl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Oo(i),i){const a=N.findKey(r,i);a&&(!n||kl(r,r[a],a,n))&&(delete r[a],o=!0)}}return N.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||kl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return N.forEach(this,(o,s)=>{const i=N.findKey(r,s);if(i){n[i]=ai(o),delete n[s];return}const a=t?RF(s):String(s).trim();a!==s&&delete n[s],n[a]=ai(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&N.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[eh]=this[eh]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Oo(i);r[a]||(NF(o,i),r[a]=!0)}return N.isArray(t)?t.forEach(s):s(t),this}};$t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors($t.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods($t);function xl(e,t){const n=this||Cs,r=t||n,o=$t.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function f_(e){return!!(e&&e.__CANCEL__)}let ks=class extends ae{constructor(t,n,r){super(t??"canceled",ae.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function d_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ae("Request failed with status code "+n.status,[ae.ERR_BAD_REQUEST,ae.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function MF(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function DF(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 FF(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 Fi=(e,t,n=3)=>{let r=0;const o=DF(50,250);return FF(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)},th=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},nh=e=>(...t)=>N.asap(()=>e(...t)),$F=Ct.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ct.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ct.origin),Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent)):()=>!0,UF=Ct.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];N.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),N.isString(r)&&a.push(`path=${r}`),N.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),N.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 jF(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zF(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function p_(e,t,n){let r=!jF(t);return e&&(r||n===!1)?zF(e,t):t}const rh=e=>e instanceof $t?{...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 N.isPlainObject(c)&&N.isPlainObject(u)?N.merge.call({caseless:d},c,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function o(c,u,f,d){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c,f,d)}else return r(c,u,f,d)}function s(c,u){if(!N.isUndefined(u))return r(void 0,u)}function i(c,u){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,f){if(N.hasOwnProp(t,f))return r(c,u);if(N.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(rh(c),rh(u),f,!0)};return N.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const f=N.hasOwnProp(l,u)?l[u]:o,d=N.hasOwnProp(e,u)?e[u]:void 0,p=N.hasOwnProp(t,u)?t[u]:void 0,m=f(d,p,u);N.isUndefined(m)&&f!==a||(n[u]=m)}),n}const h_=e=>{const t=Lr({},e),n=d=>N.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=$t.from(a),t.url=c_(p_(c,f,u),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),N.isFormData(r)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(N.isFunction(r.getHeaders)){const d=r.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([m,h])=>{p.includes(m.toLowerCase())&&a.set(m,h)})}}if(Ct.hasStandardBrowserEnv&&(N.isFunction(o)&&(o=o(t)),o===!0||o==null&&$F(t.url))){const p=s&&i&&UF.read(i);p&&a.set(s,p)}return t},BF=typeof XMLHttpRequest<"u",HF=BF&&function(e){return new Promise(function(n,r){const o=h_(e);let s=o.data;const i=$t.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,f,d,p,m;function h(){p&&p(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function y(){if(!b)return;const E=$t.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:E,config:e,request:b};d_(function(x){n(x),h()},function(x){r(x),h()},A),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(r(new ae("Request aborted",ae.ECONNABORTED,e,b)),b=null)},b.onerror=function(g){const A=g&&g.message?g.message:"Network Error",C=new ae(A,ae.ERR_NETWORK,e,b);C.event=g||null,r(C),b=null},b.ontimeout=function(){let g=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||Au;o.timeoutErrorMessage&&(g=o.timeoutErrorMessage),r(new ae(g,A.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,b)),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&N.forEach(i.toJSON(),function(g,A){b.setRequestHeader(A,g)}),N.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),c&&([d,m]=Fi(c,!0),b.addEventListener("progress",d)),l&&b.upload&&([f,p]=Fi(l),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(u=E=>{b&&(r(!E||E.type?new ks(null,e,b):E),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const _=MF(o.url);if(_&&Ct.protocols.indexOf(_)===-1){r(new ae("Unsupported protocol "+_+":",ae.ERR_BAD_REQUEST,e));return}b.send(s||null)})},VF=(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 ae?u:new ks(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,s(new ae(`timeout of ${t}ms exceeded`,ae.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=()=>N.asap(a),l}},WF=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},GF=async function*(e,t){for await(const n of qF(e))yield*WF(n,t)},qF=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()}},oh=(e,t,n,r)=>{const o=GF(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})},sh=64*1024,{isFunction:Ks}=N,KF=(({Request:e,Response:t})=>({Request:e,Response:t}))(N.global),{ReadableStream:ih,TextEncoder:ah}=N.global,lh=(e,...t)=>{try{return!!e(...t)}catch{return!1}},YF=e=>{e=N.merge.call({skipUndefined:!0},KF,e);const{fetch:t,Request:n,Response:r}=e,o=t?Ks(t):typeof fetch=="function",s=Ks(n),i=Ks(r);if(!o)return!1;const a=o&&Ks(ih),l=o&&(typeof ah=="function"?(m=>h=>m.encode(h))(new ah):async m=>new Uint8Array(await new n(m).arrayBuffer())),c=s&&a&&lh(()=>{let m=!1;const h=new n(Ct.origin,{body:new ih,method:"POST",get duplex(){return m=!0,"half"}}),b=h.headers.has("Content-Type");return h.body!=null&&h.body.cancel(),m&&!b}),u=i&&a&&lh(()=>N.isReadableStream(new r("").body)),f={stream:u&&(m=>m.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!f[m]&&(f[m]=(h,b)=>{let y=h&&h[m];if(y)return y.call(h);throw new ae(`Response type '${m}' is not supported`,ae.ERR_NOT_SUPPORT,b)})});const d=async m=>{if(m==null)return 0;if(N.isBlob(m))return m.size;if(N.isSpecCompliantForm(m))return(await new n(Ct.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(N.isArrayBufferView(m)||N.isArrayBuffer(m))return m.byteLength;if(N.isURLSearchParams(m)&&(m=m+""),N.isString(m))return(await l(m)).byteLength},p=async(m,h)=>{const b=N.toFiniteNumber(m.getContentLength());return b??d(h)};return async m=>{let{url:h,method:b,data:y,signal:_,cancelToken:E,timeout:g,onDownloadProgress:A,onUploadProgress:C,responseType:x,headers:w,withCredentials:O="same-origin",fetchOptions:$}=h_(m),M=t||fetch;x=x?(x+"").toLowerCase():"text";let te=VF([_,E&&E.toAbortSignal()],g),se=null;const V=te&&te.unsubscribe&&(()=>{te.unsubscribe()});let Q;try{if(C&&c&&b!=="get"&&b!=="head"&&(Q=await p(w,y))!==0){let W=new n(h,{method:"POST",body:y,duplex:"half"}),X;if(N.isFormData(y)&&(X=W.headers.get("content-type"))&&w.setContentType(X),W.body){const[le,ie]=th(Q,Fi(nh(C)));y=oh(W.body,sh,le,ie)}}N.isString(O)||(O=O?"include":"omit");const Y=s&&"credentials"in n.prototype;if(N.isFormData(y)){const W=w.getContentType();W&&/^multipart\/form-data/i.test(W)&&!/boundary=/i.test(W)&&w.delete("content-type")}const ne={...$,signal:te,method:b.toUpperCase(),headers:w.normalize().toJSON(),body:y,duplex:"half",credentials:Y?O:void 0};se=s&&new n(h,ne);let pe=await(s?M(se,$):M(h,ne));const Ye=u&&(x==="stream"||x==="response");if(u&&(A||Ye&&V)){const W={};["status","statusText","headers"].forEach(Me=>{W[Me]=pe[Me]});const X=N.toFiniteNumber(pe.headers.get("content-length")),[le,ie]=A&&th(X,Fi(nh(A),!0))||[];pe=new r(oh(pe.body,sh,le,()=>{ie&&ie(),V&&V()}),W)}x=x||"text";let Z=await f[N.findKey(f,x)||"text"](pe,m);return!Ye&&V&&V(),await new Promise((W,X)=>{d_(W,X,{data:Z,headers:$t.from(pe.headers),status:pe.status,statusText:pe.statusText,config:m,request:se})})}catch(Y){throw V&&V(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new ae("Network Error",ae.ERR_NETWORK,m,se,Y&&Y.response),{cause:Y.cause||Y}):ae.from(Y,Y&&Y.code,m,se,Y&&Y.response)}}},XF=new Map,m_=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=XF;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:YF(t)),u=c;return c};m_();const Iu={http:uF,xhr:HF,fetch:{get:m_}};N.forEach(Iu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ch=e=>`- ${e}`,JF=e=>N.isFunction(e)||e===null||e===!1;function QF(e,t){e=N.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,!JF(r)&&(o=Iu[(a=String(r)).toLowerCase()],o===void 0))throw new ae(`Unknown adapter '${a}'`);if(o&&(N.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 :
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[eh]=this[eh]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Oo(i);r[a]||(NF(o,i),r[a]=!0)}return N.isArray(t)?t.forEach(s):s(t),this}};$t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors($t.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods($t);function xl(e,t){const n=this||Cs,r=t||n,o=$t.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function f_(e){return!!(e&&e.__CANCEL__)}let ks=class extends ae{constructor(t,n,r){super(t??"canceled",ae.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function d_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ae("Request failed with status code "+n.status,[ae.ERR_BAD_REQUEST,ae.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function MF(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function DF(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 FF(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 Fi=(e,t,n=3)=>{let r=0;const o=DF(50,250);return FF(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)},th=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},nh=e=>(...t)=>N.asap(()=>e(...t)),$F=Ct.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ct.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ct.origin),Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent)):()=>!0,UF=Ct.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];N.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),N.isString(r)&&a.push(`path=${r}`),N.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),N.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 jF(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zF(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function p_(e,t,n){let r=!jF(t);return e&&(r||n===!1)?zF(e,t):t}const rh=e=>e instanceof $t?{...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 N.isPlainObject(c)&&N.isPlainObject(u)?N.merge.call({caseless:d},c,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function o(c,u,f,d){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c,f,d)}else return r(c,u,f,d)}function s(c,u){if(!N.isUndefined(u))return r(void 0,u)}function i(c,u){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,f){if(N.hasOwnProp(t,f))return r(c,u);if(N.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(rh(c),rh(u),f,!0)};return N.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const f=N.hasOwnProp(l,u)?l[u]:o,d=N.hasOwnProp(e,u)?e[u]:void 0,p=N.hasOwnProp(t,u)?t[u]:void 0,m=f(d,p,u);N.isUndefined(m)&&f!==a||(n[u]=m)}),n}const h_=e=>{const t=Lr({},e),n=d=>N.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=$t.from(a),t.url=c_(p_(c,f,u),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),N.isFormData(r)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(N.isFunction(r.getHeaders)){const d=r.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([m,h])=>{p.includes(m.toLowerCase())&&a.set(m,h)})}}if(Ct.hasStandardBrowserEnv&&(N.isFunction(o)&&(o=o(t)),o===!0||o==null&&$F(t.url))){const p=s&&i&&UF.read(i);p&&a.set(s,p)}return t},BF=typeof XMLHttpRequest<"u",HF=BF&&function(e){return new Promise(function(n,r){const o=h_(e);let s=o.data;const i=$t.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,f,d,p,m;function h(){p&&p(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function y(){if(!b)return;const E=$t.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:E,config:e,request:b};d_(function(x){n(x),h()},function(x){r(x),h()},A),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(r(new ae("Request aborted",ae.ECONNABORTED,e,b)),b=null)},b.onerror=function(g){const A=g&&g.message?g.message:"Network Error",C=new ae(A,ae.ERR_NETWORK,e,b);C.event=g||null,r(C),b=null},b.ontimeout=function(){let g=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||Au;o.timeoutErrorMessage&&(g=o.timeoutErrorMessage),r(new ae(g,A.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,b)),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&N.forEach(i.toJSON(),function(g,A){b.setRequestHeader(A,g)}),N.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),c&&([d,m]=Fi(c,!0),b.addEventListener("progress",d)),l&&b.upload&&([f,p]=Fi(l),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(u=E=>{b&&(r(!E||E.type?new ks(null,e,b):E),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const _=MF(o.url);if(_&&Ct.protocols.indexOf(_)===-1){r(new ae("Unsupported protocol "+_+":",ae.ERR_BAD_REQUEST,e));return}b.send(s||null)})},VF=(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 ae?u:new ks(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,s(new ae(`timeout of ${t}ms exceeded`,ae.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=()=>N.asap(a),l}},WF=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},GF=async function*(e,t){for await(const n of qF(e))yield*WF(n,t)},qF=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()}},oh=(e,t,n,r)=>{const o=GF(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})},sh=64*1024,{isFunction:Ks}=N,KF=(({Request:e,Response:t})=>({Request:e,Response:t}))(N.global),{ReadableStream:ih,TextEncoder:ah}=N.global,lh=(e,...t)=>{try{return!!e(...t)}catch{return!1}},YF=e=>{e=N.merge.call({skipUndefined:!0},KF,e);const{fetch:t,Request:n,Response:r}=e,o=t?Ks(t):typeof fetch=="function",s=Ks(n),i=Ks(r);if(!o)return!1;const a=o&&Ks(ih),l=o&&(typeof ah=="function"?(m=>h=>m.encode(h))(new ah):async m=>new Uint8Array(await new n(m).arrayBuffer())),c=s&&a&&lh(()=>{let m=!1;const h=new n(Ct.origin,{body:new ih,method:"POST",get duplex(){return m=!0,"half"}}),b=h.headers.has("Content-Type");return h.body!=null&&h.body.cancel(),m&&!b}),u=i&&a&&lh(()=>N.isReadableStream(new r("").body)),f={stream:u&&(m=>m.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!f[m]&&(f[m]=(h,b)=>{let y=h&&h[m];if(y)return y.call(h);throw new ae(`Response type '${m}' is not supported`,ae.ERR_NOT_SUPPORT,b)})});const d=async m=>{if(m==null)return 0;if(N.isBlob(m))return m.size;if(N.isSpecCompliantForm(m))return(await new n(Ct.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(N.isArrayBufferView(m)||N.isArrayBuffer(m))return m.byteLength;if(N.isURLSearchParams(m)&&(m=m+""),N.isString(m))return(await l(m)).byteLength},p=async(m,h)=>{const b=N.toFiniteNumber(m.getContentLength());return b??d(h)};return async m=>{let{url:h,method:b,data:y,signal:_,cancelToken:E,timeout:g,onDownloadProgress:A,onUploadProgress:C,responseType:x,headers:w,withCredentials:O="same-origin",fetchOptions:$}=h_(m),M=t||fetch;x=x?(x+"").toLowerCase():"text";let te=VF([_,E&&E.toAbortSignal()],g),se=null;const V=te&&te.unsubscribe&&(()=>{te.unsubscribe()});let Q;try{if(C&&c&&b!=="get"&&b!=="head"&&(Q=await p(w,y))!==0){let W=new n(h,{method:"POST",body:y,duplex:"half"}),X;if(N.isFormData(y)&&(X=W.headers.get("content-type"))&&w.setContentType(X),W.body){const[le,ie]=th(Q,Fi(nh(C)));y=oh(W.body,sh,le,ie)}}N.isString(O)||(O=O?"include":"omit");const Y=s&&"credentials"in n.prototype;if(N.isFormData(y)){const W=w.getContentType();W&&/^multipart\/form-data/i.test(W)&&!/boundary=/i.test(W)&&w.delete("content-type")}const ne={...$,signal:te,method:b.toUpperCase(),headers:w.normalize().toJSON(),body:y,duplex:"half",credentials:Y?O:void 0};se=s&&new n(h,ne);let pe=await(s?M(se,$):M(h,ne));const Xe=u&&(x==="stream"||x==="response");if(u&&(A||Xe&&V)){const W={};["status","statusText","headers"].forEach(Me=>{W[Me]=pe[Me]});const X=N.toFiniteNumber(pe.headers.get("content-length")),[le,ie]=A&&th(X,Fi(nh(A),!0))||[];pe=new r(oh(pe.body,sh,le,()=>{ie&&ie(),V&&V()}),W)}x=x||"text";let Z=await f[N.findKey(f,x)||"text"](pe,m);return!Xe&&V&&V(),await new Promise((W,X)=>{d_(W,X,{data:Z,headers:$t.from(pe.headers),status:pe.status,statusText:pe.statusText,config:m,request:se})})}catch(Y){throw V&&V(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new ae("Network Error",ae.ERR_NETWORK,m,se,Y&&Y.response),{cause:Y.cause||Y}):ae.from(Y,Y&&Y.code,m,se,Y&&Y.response)}}},XF=new Map,m_=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=XF;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:YF(t)),u=c;return c};m_();const Iu={http:uF,xhr:HF,fetch:{get:m_}};N.forEach(Iu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ch=e=>`- ${e}`,JF=e=>N.isFunction(e)||e===null||e===!1;function QF(e,t){e=N.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,!JF(r)&&(o=Iu[(a=String(r)).toLowerCase()],o===void 0))throw new ae(`Unknown adapter '${a}'`);if(o&&(N.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
31
  `+i.map(ch).join(`
32
32
  `):" "+ch(i[0]):"as no adapter specified";throw new ae("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const g_={getAdapter:QF,adapters:Iu};function Tl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ks(null,e)}function uh(e){return Tl(e),e.headers=$t.from(e.headers),e.data=xl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),g_.getAdapter(e.adapter||Cs.adapter,e)(e).then(function(r){return Tl(e),r.data=xl.call(e,e.transformResponse,r),r.headers=$t.from(r.headers),r},function(r){return f_(r)||(Tl(e),r&&r.response&&(r.response.data=xl.call(e,e.transformResponse,r.response),r.response.headers=$t.from(r.response.headers))),Promise.reject(r)})}const y_="1.15.2",Sa={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sa[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const fh={};Sa.transitional=function(t,n,r){function o(s,i){return"[Axios v"+y_+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new ae(o(i," has been removed"+(n?" in "+n:"")),ae.ERR_DEPRECATED);return n&&!fh[i]&&(fh[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}};Sa.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function ZF(e,t,n){if(typeof e!="object")throw new ae("options must be an object",ae.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 ae("option "+s+" must be "+l,ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ae("Unknown option "+s,ae.ERR_BAD_OPTION)}}const li={assertOptions:ZF,validators:Sa},Yt=li.validators;let Ar=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Zp,response:new Zp}}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
33
  `);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
@@ -36,5 +36,4 @@
36
36
  `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Lr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&li.assertOptions(r,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean),legacyInterceptorReqResOrdering:Yt.transitional(Yt.boolean)},!1),o!=null&&(N.isFunction(o)?n.paramsSerializer={serialize:o}:li.assertOptions(o,{encode:Yt.function,serialize:Yt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),li.assertOptions(n,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&N.merge(s.common,s[n.method]);s&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete s[m]}),n.headers=$t.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 b=n.transitional||Au;b&&b.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 m=[uh.bind(this),void 0];for(m.unshift(...a),m.push(...c),d=m.length,u=Promise.resolve(n);f<d;)u=u.then(m[f++],m[f++]);return u}d=a.length;let p=n;for(;f<d;){const m=a[f++],h=a[f++];try{p=m(p)}catch(b){h.call(this,b);break}}try{u=uh.call(this,p)}catch(m){return Promise.reject(m)}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=p_(t.baseURL,t.url,t.allowAbsoluteUrls);return c_(n,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Ar.prototype[t]=function(n,r){return this.request(Lr(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Lr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Ar.prototype[t]=n(),Ar.prototype[t+"Form"]=n(!0)});let e$=class b_{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 ks(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 b_(function(o){t=o}),cancel:t}}};function t$(e){return function(n){return e.apply(null,n)}}function n$(e){return N.isObject(e)&&e.isAxiosError===!0}const Oc={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(Oc).forEach(([e,t])=>{Oc[t]=e});function __(e){const t=new Ar(e),n=Qb(Ar.prototype.request,t);return N.extend(n,Ar.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return __(Lr(e,o))},n}const st=__(Cs);st.Axios=Ar;st.CanceledError=ks;st.CancelToken=e$;st.isCancel=f_;st.VERSION=y_;st.toFormData=Ea;st.AxiosError=ae;st.Cancel=st.CanceledError;st.all=function(t){return Promise.all(t)};st.spread=t$;st.isAxiosError=n$;st.mergeConfig=Lr;st.AxiosHeaders=$t;st.formToJSON=e=>u_(N.isHTMLForm(e)?new FormData(e):e);st.getAdapter=g_.getAdapter;st.HttpStatusCode=Oc;st.default=st;const{Axios:LU,AxiosError:RU,CanceledError:NU,isCancel:MU,CancelToken:DU,VERSION:FU,all:$U,Cancel:UU,isAxiosError:jU,spread:zU,toFormData:BU,AxiosHeaders:HU,HttpStatusCode:VU,formToJSON:WU,getAdapter:GU,mergeConfig:qU}=st,v_=new Map,r$={baseURL:"",timeout:1e4};function o$(e,t){const n=st.create({...r$,...t});return v_.set(e,n),n}function s$(e="default"){const t=v_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function i$(e,t){const n=e.split("/")[0],r=s$(n);return e=e.replace(n,""),r.request({url:e,...t})}async function a$(e,t){return i$("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const l$=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:a$},Symbol.toStringTag,{value:"Module"})),dh={v1Preprocessing:l$},ph=[".png",".jpg",".jpeg",".gif"],c$=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o})=>{const s={moduleCache:e,pathResolve({refPath:i,relPath:a},l){if(a===".")return i;if(l.moduleCache[a])return a;const c=t[a];if(c)return fg.PREBUILD_MODULE_SKIP_EXT.some(u=>c.endsWith(u))?new URL(`${ye.NODE_MODULES_LOAD_PREFIX}/${c}`,window.location.origin).href:new URL(`${ye.MODULE_LOAD_PREFIX}/${c}`,window.location.origin).href;if(n?.length&&i){const{origin:u,pathname:f}=new URL(i),d=`${u}${f}`,p=new URL(a,d),m=n.find(h=>h.signedUrl.startsWith(p.href));if(m)return m.signedUrl}return String(new URL(a,i??window.location.href))},async getFile(i){const a=i.toString(),l=new URL(i).pathname;if(ph.some(u=>l.endsWith(u))){const u=await fetch(a);if(!u.ok)throw Object.assign(new Error(u.statusText+" "+i),{res:u});const f=await u.blob();return URL.createObjectURL(f)}const c=await fetch(a);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+i),{res:c});return{type:lD(c.url),getContentData:u=>u?c.arrayBuffer():c.text()}},async addStyle(i,a,l){let c=i;l&&i&&(c=aD(i,l,n||[])),document.head.querySelector(`style#${a}`)?.remove();const f=Object.assign(document.createElement("style"),{textContent:c,...a?{id:a}:{}});document.head.appendChild(f)},async processStyles(i,a){if(i.trim()&&a){const c=await dh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:i,precompilerType:a}),{preprocessedCode:u}=c.data;return u}return i},async handleModule(i,a,l){if(ph.includes(i))return await a(!1);switch(i){case".css":{const c=await a(!1);return typeof c=="string"&&await s.addStyle(c,void 0,l),null}case".less":case".scss":case".sass":{const c=await a(!1),f={".scss":"scss",".sass":"sass",".less":"less"}[i];if(typeof c=="string"){const d=c.trim();if(d){const p=await dh.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:d,precompilerType:f}),{preprocessedCode:m}=p.data;await s.addStyle(m,void 0,l)}}return null}}},compiledCache:{async set(i,a){try{await Kp().put(ye.INDEX_DB_TABLE_NAME,{hash:i,code:a})}catch(l){console.error("将编译后的模块存储到IndexedDB失败",l)}},async get(i){try{return(await Kp().get(ye.INDEX_DB_TABLE_NAME,i))?.code??void 0}catch(a){console.error("从IndexedDB获取编译后的模块失败",a),r?.(a);return}}},log(i,...a){i==="error"?r?.(new Error(a.join(`
37
37
  `))):i==="warn"&&o?.(a.join(`
38
38
  `))},createCJSModule(i,a,l){const{moduleCache:c,pathResolve:u,getResource:f}=l,d=function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`require(${JSON.stringify(y)}) failed. module not found in moduleCache`)},p=async function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`Dynamic import(${JSON.stringify(y)}) failed. module not found in moduleCache`)},m={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",a).call(m.exports,m.exports,d,m,i,u({refPath:i,relPath:"."},l),p),m}};return s};function Pu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u$(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${Pu(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function f$(e,t,n="hl"){if(!t?.trim())return e;const r=Pu(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function d$(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const w_=e=>e.replace(/[/\\]/g,"/"),p$=(e,t="/")=>e.replace(/[\\/]+/g,t);function h$(){return"#"+Gx(0,16777215).toString(16).padStart(6,"0")}const m$=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),E_=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Ic=e=>{if(Array.isArray(e))return e.map(n=>Ic(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=E_(n);t[r]=Ic(e[n])}return t};function g$(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function y$(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 S_(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
39
- `?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function b$(e){return S_(e).valid}const _$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Ic,escapeRegExp:Pu,findKeywordLineIndex:d$,generateNumberString:y$,highlightText:f$,isEmail:m$,isValidHash:b$,randomColor:h$,replaceBackslashWithSlash:w_,replaceSlashWithSpecifiedSeparator:p$,splitTextByKeyword:u$,toCamelCase:E_,validateCompName:g$,validateHash:S_},Symbol.toStringTag,{value:"Module"}));function v$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=w_(n);return`${e.replace(ye.FILE_MANAGER_DIRNAME,"")}${r}`}function w$(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 E$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:v$,handleDepData:w$},Symbol.toStringTag,{value:"Module"})),hh=/^[\^~>=<]+/,C_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function S$(e){return C_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(hh),n=t?t[0]:"",r=e.replace(hh,"").match(C_);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 C$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function k$(e){return Pn(e).majorVersion}function x$(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 Kr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=ye;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 T$(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 Kr(e,t.replace(">=",""))>=0;case">":return Kr(e,t.replace(">",""))>0;case"<=":return Kr(e,t.replace("<=",""))<=0;case"<":return Kr(e,t.replace("<",""))<0;case"=":case"":return Kr(e,t.replace("=",""))===0;default:return!1}}function A$(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 O$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Kr,getMajorVersion:k$,isVersionEqual:C$,parseDependencies:x$,parseVersion:Pn,satisfiesRange:T$,validateVersion:S$,versionToNumber:A$},Symbol.toStringTag,{value:"Module"})),I$=["id","aria-label","aria-disabled"],P$=["onClick"],L$=["name","value","checked","disabled","onChange"],R$={class:"segmented__label"},N$=ot({__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=_e(),s=_e({opacity:"0"}),i=J(()=>n.segProps?.value||"value"),a=J(()=>n.segProps?.label||"label"),l=J(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=J(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function m(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){dr(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const C=y.item(A);if(C&&C.classList.contains("is-selected")){_=C;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Ze(()=>n.modelValue,h),Ze(()=>n.options,h),Ze(()=>n.direction,h),Ln(h),(b,y)=>(ge(),$e("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Ge(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[Je("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Nt(s.value)},null,4),(ge(!0),$e(at,null,yo(d.value,(_,E)=>(ge(),$e("label",{key:c(_),class:Ge(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>m(_)},[Je("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>m(_)},null,40,L$),Je("span",R$,[cr(b.$slots,"default",{item:_,index:E},()=>[_i(Gn(u(_)),1)],!0)])],10,P$))),128))],10,I$))}}),M$=tn(N$,[["__scopeId","data-v-1ee57095"]]),D$={class:"ec-list"},F$={class:"ec-actions"},$$=ot({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=qc();return(r,o)=>(ge(),$e("div",{class:Ge(["ec-outer",Re(n)?"ec-outer--dark":"ec-outer--light"])},[Je("div",{class:Ge(["ec-inner",Re(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=Je("div",{class:"ec-icon"},"🔧",-1)),Je("h4",{class:Ge(["ec-title",Re(n)?"ec-title--dark":"ec-title--light"])},Gn(Re(t)("comp.compileError")),3),Je("div",D$,[(ge(!0),$e(at,null,yo(e.error,(s,i)=>(ge(),$e("div",{key:i,class:Ge(["ec-item",Re(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),Je("div",F$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),U$=tn($$,[["__scopeId","data-v-5cf301e4"]]),j$={class:"wc-list"},z$={class:"wc-actions"},B$=ot({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=qc();return(r,o)=>(ge(),$e("div",{class:Ge(["wc-outer",Re(n)?"wc-outer--dark":"wc-outer--light"])},[Je("div",{class:Ge(["wc-inner",Re(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=Je("div",{class:"wc-icon"},"⚠️",-1)),Je("h4",{class:Ge(["wc-title",Re(n)?"wc-title--dark":"wc-title--light"])},Gn(Re(t)("comp.compileWarn")),3),Je("div",j$,[(ge(!0),$e(at,null,yo(e.warn,(s,i)=>(ge(),$e("div",{key:i,class:Ge(["wc-item",Re(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),Je("div",z$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),H$=tn(B$,[["__scopeId","data-v-cce09743"]]),V$=ot({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ge(),$e("div",{class:Ge(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ge(),$e("div",{key:0,class:Ge(["card__header",e.headerClass])},[cr(t.$slots,"header",{},()=>[_i(Gn(e.header),1)],!0)],2)):Tn("",!0),Je("div",{class:Ge(["card__body",e.bodyClass]),style:Nt(e.bodyStyle)},[cr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ge(),$e("div",{key:1,class:Ge(["card__footer",e.footerClass])},[cr(t.$slots,"footer",{},()=>[_i(Gn(e.footer),1)],!0)],2)):Tn("",!0)],2))}}),k_=tn(V$,[["__scopeId","data-v-cb6453d5"]]),W$=ot({__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=_e(r.initialIndex),i=_e(!1),a=_e(!1),l=_e(),c=_e([]);function u(V){c.value.push(V)}function f(V){const Q=c.value.findIndex(Y=>Y.uid===V);Q!==-1&&(c.value.splice(Q,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=J(()=>r.direction==="vertical"),p=J(()=>r.type==="card"),m=J(()=>r.cardScale);Ho("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:m,translating:J(()=>i.value),animating:J(()=>i.value),slideTo:A});const h=J(()=>{const V={};return r.height&&r.height!=="auto"&&(V.height=r.height),V}),b=J(()=>{if(p.value)return{};if(c.value.length===0)return{};const Q=-s.value*100;return d.value?{transform:`translateY(${Q}%)`}:{transform:`translateX(${Q}%)`}}),y=J(()=>r.trigger==="click"?"click":"mouseenter"),_=J(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=J(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(V){const Q=c.value.length;return Q===0?0:r.loop?(V%Q+Q)%Q:Math.max(0,Math.min(V,Q-1))}function A(V){if(c.value.length===0)return;const Y=g(V);if(Y===s.value)return;const ne=s.value;s.value=Y,i.value=!0,o("change",Y,ne),setTimeout(()=>{i.value=!1},400)}function C(){A(s.value+1)}function x(){A(s.value-1)}function w(V){if(typeof V=="number"){A(V);return}const Q=c.value.findIndex(Y=>Y.name===V);Q!==-1&&A(Q)}let O=null;function $(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function te(){a.value=!0}function se(){a.value=!1}return Ze(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&$()}),Ze(()=>r.autoplay,V=>{V?$():M()}),Ze(()=>r.interval,()=>{r.autoplay&&$()}),Ln(()=>{r.autoplay&&$()}),Zi(()=>{M()}),t({activeIndex:s,setActiveItem:w,prev:x,next:C}),(V,Q)=>(ge(),$e("div",{ref_key:"carouselRef",ref:l,class:Ge(["carousel",[`carousel--${e.direction}`]]),style:Nt(h.value),onMouseenter:te,onMouseleave:se},[Je("div",{class:Ge(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[Je("div",{class:Ge(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Nt(b.value)},[cr(V.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ge(),$e("button",{key:0,class:Ge(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(_.value),onClick:ff(x,["stop"])},[...Q[0]||(Q[0]=[Je("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Tn("",!0),e.arrow!=="never"&&c.value.length>1?(ge(),$e("button",{key:1,class:Ge(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(E.value),onClick:ff(C,["stop"])},[...Q[1]||(Q[1]=[Je("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Tn("",!0),c.value.length>1?(ge(),$e("ul",{key:2,class:Ge(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ge(!0),$e(at,null,yo(c.value,(Y,ne)=>(ge(),$e("li",so({key:Y.uid,class:["carousel__indicator",{"carousel__indicator--active":ne===s.value}]},{[Ys(y.value)]:pe=>w(ne)}),[Je("span",null,Gn(Y.label||""),1)],16))),128))],2)):Tn("",!0)],38))}}),x_=tn(W$,[["__scopeId","data-v-3f525847"]]),G$=ot({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=_e(!1),r=Vt("carousel"),o=_e(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Zi(()=>{r?.removeItem(o.value)});const s=J(()=>r?.items.value??[]),i=J(()=>r?.activeIndex.value??0),a=J(()=>r?.isCard.value??!1),l=J(()=>r?.cardScale.value??.83),c=J(()=>s.value.findIndex(h=>h.uid===o.value)),u=J(()=>c.value===i.value),f=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=J(()=>{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 m(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,b)=>Qh((ge(),$e("div",{class:Ge(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Nt(p.value),onClick:m},[cr(h.$slots,"default",{},void 0,!0)],6)),[[Mw,n.value]])}}),T_=tn(G$,[["__scopeId","data-v-9638f2b6"]]);var Al,mh;function q$(){if(mh)return Al;mh=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,m=-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?m=h:h===0&&(m=0));break}var b=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(b!==y)break;b===47&&(m=h)}var _="";for(h=a+m+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+m):(u+=m,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,m=s.length-1,h=0;m>=c;--m){if(a=s.charCodeAt(m),a===47){if(!p){f=m+1;break}continue}d===-1&&(p=!1,d=m+1),a===46?u===-1?u=m: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,Al=r,Al}var A_=q$();function K$(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 Y$=Bg("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}}=Nr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=A_.join(`/${ye.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await K$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),X$={class:"async-comp-wrapper"},J$={key:0,class:"async-comp-error"},Q$={key:1,class:"async-comp-error"},Z$=ot({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{},r=0;const o=Z=>Z instanceof Error?Z.message:typeof Z=="string"?Z:"未知错误",s=Y$(),i=tm("compContainer"),a=new Set;let l=null;const c=()=>{const Z=i.value;Z&&a.forEach(({params:W,callback:X})=>{X(Ya(Z,W.mode,W.width,W.height))})},u=()=>{l||!i.value||(l=new ResizeObserver(()=>c()),l.observe(i.value))},f=Z=>{Z.$onScaleChange=(W,X)=>{const le={params:W,callback:X};return a.add(le),i.value&&X(Ya(i.value,W.mode,W.width,W.height)),()=>{a.delete(le)}},Z.$getScaleStyle=({mode:W,width:X,height:le})=>Ya(i.value,W,X,le)},{sendMessageToTop:d}=bs(),p=ys(),{params:{instanceUid:m}}=Nr(),h=_e(!1),b=_e(""),y=_e(""),_=_e(""),E=_e(""),g=_e([]),A=_e(""),C=_e([]),x=J(()=>({"async-comp-overflow-auto":t.panelType===ye.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===ye.COMP_EDIT_TAB_TYPE_MINI})),w=J(()=>{const Z=[...C.value,b.value,y.value,E.value,A.value].filter(Boolean);return[...new Set(Z)]}),O=J(()=>{const Z=[_.value,...g.value].filter(Boolean);return[...new Set(Z)]}),$=()=>{b.value="",y.value="",_.value="",E.value="",g.value=[],A.value="",C.value=[]},M=()=>{const Z={};(t.dep?.map(X=>X.name)||[]).forEach(X=>{if(!t.depToFile[X]){const le=t.dep?.find(Me=>Me.name===X),ie=le?.parent?.name||le?.name||X;Z[ie]=`${ie}${le?.version||""}`}}),Object.keys(Z).length&&(A.value=Object.values(Z).map(X=>`${X} uninstalled`).join(`
40
- `))},te=async()=>{const Z=[...t.dep];return Z.sort((X,le)=>X.name==="vue"?-1:le.name==="vue"?1:0),await Z.reduce(async(X,le)=>{const{name:ie}=le,Me=await X,De=t.depToFile[ie];if(!De||fg.PREBUILD_MODULE_SKIP_EXT.find(G=>De.endsWith(G)))return Me;try{const G=await cO(()=>import(`${ye.MODULE_LOAD_PREFIX}/${De}`),[]);Me[ie]={...G.default,...G,__esModule:!0}}catch(G){console.warn(`[cacheModule] 模块 "${ie}" 预加载失败,将交由 vue3-sfc-loader 处理:`,o(G))}return Me},Promise.resolve({}))},se=async Z=>{if(t.localCompRootPath){const W=A_.join(t.localCompRootPath,ye.COMP_ENTRY_FILE);await cD(W)&&await Z(W)}else if(t.signedUrls?.length){const W=t.signedUrls.find(X=>X.path===`/${ye.COMP_ENTRY_FILE}`);W&&await Z(W.signedUrl)}},V=async(Z,W,X)=>{try{const le=await s.loadSfcLoader(Z),{loadModule:ie}=le,Me=await ie("vue",W);return await X(ie,Me)}catch(le){console.error(le);const ie=o(le);return console.error(`sfcLoaderError:${ie}`),E.value=ie,null}},Q=async Z=>V("vue3",Z,async(W,X)=>{const{createApp:le,defineAsyncComponent:ie}=X;if(!le||!ie)return b.value="createApp or defineAsyncComponent is not defined",null;const Me=ie({loader:async()=>await W(t.finalEntryUrl,Z),delay:100,timeout:2e4,onError:(F,G,q)=>{if(console.error(`onError:${F.message}`),b.value=F.message,F)return q()}}),De=le({template:"<AsyncComp />"});return X.app=De,await se(async F=>{await W(F,Z)}),De.component("AsyncComp",Me),f(De.config.globalProperties),De.config.errorHandler=F=>{console.error(F),console.error(`errorHandler:${F}`),y.value=F,h.value=!1},De.config.warnHandler=function(F){console.warn(F),console.warn(`warnHandler:${F}`),_.value=F,h.value=!1},De}),Y=async Z=>V("vue2",Z,async(W,X)=>{f(X.default.prototype),X.default.config.errorHandler=function(ie){console.error(ie),console.error(`errorHandler:${ie}`),y.value=ie,h.value=!1},X.default.config.warnHandler=function(ie){console.warn(ie),console.warn(`warnHandler:${ie}`),_.value=ie,h.value=!1},await se(async ie=>{await W(ie,Z)});const le=await W(t.finalEntryUrl,Z);return new X.default(le)}),ne=(Z,W)=>Z.mount?(Z.mount(W),X=>{console.log("vue3组件卸载"),Z?.unmount(),W.remove(),X?.()}):(Z.$mount(W),X=>{console.log("vue2组件卸载"),Z?.$destroy(),W.remove(),X?.()}),pe=async()=>{h.value=!0,$();try{const Z=t.dep?.find(ie=>ie.name==="vue"),W=O$.getMajorVersion(Z?.version||"3.0.0");if(M(),A.value)return null;const X=await te(),le=c$({moduleCache:X,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:ie=>{console.error(ie);const Me=o(ie);console.error(`sfcLoaderError:${Me}`),E.value=Me},warnCallBack:ie=>{console.warn(ie),g.value=[...g.value,ie]}});return W==="3"?await Q(le):W==="2"?await Y(le):null}catch(Z){console.error(Z);const W=o(Z);return console.error(`loadAsyncComp error:${W}`),E.value=W,null}finally{h.value=!1}};async function Ye(){if(!i.value){console.error("组件挂载点不存在");return}r++;const Z=r,W=document.createElement("div");W.style.height="100%",W.style.width="100%",i.value.appendChild(W);const X=()=>{W.parentNode&&W.remove()};try{const le=await pe();if(Z!==r){le?ne(le,W)(()=>{}):X();return}if(!le){console.error("组件实例创建失败"),X();return}n=ne(le,W),u()}catch(le){console.error(le),console.error(`handleCompRender error:${o(le)}`),X()}}return Ze(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(Z,W)=>{const[X,le]=Z,[ie,Me]=W??[],De=X+""+le,F=ie+""+Me,G=De===F;(!G||!X)&&(console.log("卸载当前预览"),n(()=>{i.value&&(i.value.innerHTML="")})),!(G||!X)&&(await dr(),await Ye())},{immediate:!0}),Ze(()=>[w.value,O.value],([Z,W])=>{!Z.length&&!W.length||n(()=>{i.value&&(i.value.innerHTML="")})}),Ze(()=>({hasError:w.value.length>0,hasWarn:O.value.length>0}),({hasError:Z,hasWarn:W})=>{console.log("comp render state",{hasError:Z,hasWarn:W}),d(Fe.COMP_RENDER_ERROR_SET,{hasError:Z,hasWarn:W},p,m)},{immediate:!0}),go(()=>{n(()=>{i.value&&(i.value.innerHTML="")}),l?.disconnect(),l=null,a.clear()}),(Z,W)=>{const X=Wv("loading");return Qh((ge(),$e("div",X$,[Je("div",{ref:"compContainer",class:Ge(["async-comp-container",x.value])},null,2),w.value.length?(ge(),$e("div",J$,[Qe(Re(U$),{error:w.value},null,8,["error"])])):Tn("",!0),!w.value.length&&O.value.length?(ge(),$e("div",Q$,[Qe(Re(H$),{warn:O.value},null,8,["warn"])])):Tn("",!0)])),[[X,h.value]])}}}),Lu=tn(Z$,[["__scopeId","data-v-4f2ed23f"]]),eU=ot({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:ye.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=qv(),n=e;return(r,o)=>(ge(),Mt(Re(x_),so({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Re(t)),{default:Or(()=>[(ge(!0),$e(at,null,yo(e.previews,(s,i)=>(ge(),Mt(Re(T_),{key:i,class:"comp-mini-carousel-item"},{default:Or(()=>[Je("div",{class:"comp-mini-carousel-slide",style:Nt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ge(),Mt(Lu,so({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):Tn("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ca=tn(eU,[["__scopeId","data-v-da931a53"]]);function O_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=J(()=>l.value?.item),u=J(()=>l.value?.dep??[]),f=J(()=>l.value?.depToFile??{}),d=J(()=>{if(!c.value)return[];const m=t===ye.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(h=>m?h.miniPath?.length:h.fullPath?.length||h.miniPath?.length).slice(0,e).map(h=>{const b=m?h.miniPath:h.fullPath?.length?h.fullPath:h.miniPath,y=E$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${ye.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=J(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(Fe.ITEM_INIT_SET_LOCAL,m=>{l.value=m}),s(Fe.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const tU=ot({__name:"index",setup(e){const{carouselBind:t}=O_(3,ye.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ge(),Mt(Ca,ds(bo(Re(t))),null,16))}});function I_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=_e(),u=J(()=>l.value?.item),f=J(()=>l.value?.depEntryNameToFile),d=J(()=>l.value?.versionToFileAccessPath),p=J(()=>l.value?.item?.version??""),m=J(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:C})=>[A,C])),g=t===ye.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const C=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=_$.replaceBackslashWithSlash(C?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),h=J(()=>({previews:m.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(Fe.ITEM_INIT_SET,_=>{l.value=_}),a(Fe.BG_COLOR_SET,_=>{c.value=_}),s(Fe.ITEM_INIT_GET,n,i,r),s(Fe.BG_COLOR_GET,"",i,r),Ze(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:h,setInitVersion:y}}const nU=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=I_(3),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,ds(bo(o.value)),null,16))}}),rU={class:"panel-mini-wrapper"},oU=ot({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ge(),$e("div",rU,[Qe(Re(k_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Lu,ds(bo(n.value)),null,16)]),_:1},8,["style"])]))}}),sU=tn(oU,[["__scopeId","data-v-9b8be58c"]]),iU=ot({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Re(k_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Lu,ds(bo(n.value)),null,16)]),_:1},8,["style"]))}}),aU=tn(iU,[["__scopeId","data-v-5b3d03a7"]]),lU={class:"edit-panel"},cU={key:0,class:"edit-panel__content"},uU={class:"edit-panel__tools"},fU=["onClick"],dU=ot({__name:"index",setup(e){const{t}=Mr(),{messageListener:n,sendMessageToTop:r}=bs(),{addListener:o}=n(),s=ys(),{params:{instanceUid:i}}=Nr(),a=tm("carousel"),l=_e({entryNameToFile:{},compDep:[]}),c=J(()=>[{label:t("comp.miniPanel"),value:ye.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:ye.COMP_EDIT_TAB_TYPE_FULL}]),u=_e([]),f=_e(),d=_e(!1),p=_e(!1),m=_e(!1),h=_e(""),b=J(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=J(()=>Object.keys(l.value.entryNameToFile).length>0&&l.value.compDep.length>0),_=J(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:b.value,bg:h.value}));function E(C){return C===ye.COMP_EDIT_TAB_TYPE_MINI?sU:aU}function g(C,x){if(!C._id)return;const w={...C,activeTab:x};r(Fe.COMP_EDIT_TAB_TYPE_SET,w,s,i)}function A(C){r(Fe.ACTION_REFRESH,C,s,i)}return o(Fe.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Fe.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Fe.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Fe.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Fe.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Fe.IS_ADD_SET,C=>{m.value=C}),o(Fe.BG_COLOR_SET,C=>{h.value=C}),o(Fe.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Fe.COMP_PREVIEW_LIST_GET,"",s,i),r(Fe.COMP_RENDER_INFO_GET,"",s,i),r(Fe.SHOW_REFRESH_BTN_GET,"",s,i),r(Fe.IS_ONLINE_UPDATE_GET,"",s,i),r(Fe.IS_ADD_GET,"",s,i),r(Fe.CAROUSEL_INDEX_GET,"",s,i),r(Fe.BG_COLOR_GET,"",s,i),r(Fe.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const w=sm("Icon");return ge(),$e("div",lU,[Qe(Re(x_),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Or(()=>[(ge(!0),$e(at,null,yo(u.value,(O,$)=>(ge(),Mt(Re(T_),{key:$},{default:Or(()=>[y.value?(ge(),$e("div",cU,[Je("div",uU,[Qe(Re(M$),{options:c.value,"model-value":O.activeTab,onChange:M=>g(O,M)},null,8,["options","model-value","onChange"]),d.value?(ge(),$e("span",{key:0,class:"edit-panel__refresh-btn",onClick:M=>A(O)},[Qe(w,{icon:"material-symbols:refresh-rounded"})],8,fU)):Tn("",!0)]),(ge(),Mt(Rv,null,[(ge(),Mt(Vv(E(O.activeTab)),so({ref_for:!0},{miniEntryUrl:O.miniEntryUrl,fullEntryUrl:O.fullEntryUrl,..._.value}),null,16))],1024))])):Tn("",!0)]),_:2},1024))),128))]),_:1},512)])}}}),pU=tn(dU,[["__scopeId","data-v-c733576f"]]),hU=ot({__name:"index",setup(e){const{carouselBind:t}=O_(5,ye.COMP_EDIT_TAB_TYPE_FULL),n=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Ca,ds(bo(n.value)),null,16))}}),mU=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=I_(5,ye.COMP_EDIT_TAB_TYPE_FULL),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,so(o.value,{"show-indicator":!0}),null,16))}}),gU={carouselLocal:tU,carouselRemote:nU,editPanel:pU,previewLocal:hU,previewRemote:mU};function yU(){const e=[],t=ye.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=gU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const bU=iO({history:$A(`/${ye.WEBSITE_PATH_ITEM}/`),routes:yU()}),_U=o$(ye.LOCAL_SERVICE_PREFIX,{baseURL:`/${ye.LOCAL_SERVICE_PREFIX}`});_U.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Ru=nE(ck);eA(Ru);Ru.use(bU);Ru.mount("#app");
39
+ `?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function b$(e){return S_(e).valid}const _$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Ic,escapeRegExp:Pu,findKeywordLineIndex:d$,generateNumberString:y$,highlightText:f$,isEmail:m$,isValidHash:b$,randomColor:h$,replaceBackslashWithSlash:w_,replaceSlashWithSpecifiedSeparator:p$,splitTextByKeyword:u$,toCamelCase:E_,validateCompName:g$,validateHash:S_},Symbol.toStringTag,{value:"Module"}));function v$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=w_(n);return`${e.replace(ye.FILE_MANAGER_DIRNAME,"")}${r}`}function w$(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 E$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:v$,handleDepData:w$},Symbol.toStringTag,{value:"Module"})),hh=/^[\^~>=<]+/,C_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function S$(e){return C_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(hh),n=t?t[0]:"",r=e.replace(hh,"").match(C_);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 C$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function k$(e){return Pn(e).majorVersion}function x$(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 Kr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=ye;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 T$(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 Kr(e,t.replace(">=",""))>=0;case">":return Kr(e,t.replace(">",""))>0;case"<=":return Kr(e,t.replace("<=",""))<=0;case"<":return Kr(e,t.replace("<",""))<0;case"=":case"":return Kr(e,t.replace("=",""))===0;default:return!1}}function A$(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 O$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Kr,getMajorVersion:k$,isVersionEqual:C$,parseDependencies:x$,parseVersion:Pn,satisfiesRange:T$,validateVersion:S$,versionToNumber:A$},Symbol.toStringTag,{value:"Module"})),I$=["id","aria-label","aria-disabled"],P$=["onClick"],L$=["name","value","checked","disabled","onChange"],R$={class:"segmented__label"},N$=ot({__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=_e(),s=_e({opacity:"0"}),i=J(()=>n.segProps?.value||"value"),a=J(()=>n.segProps?.label||"label"),l=J(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=J(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function m(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function h(){dr(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const C=y.item(A);if(C&&C.classList.contains("is-selected")){_=C;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Ze(()=>n.modelValue,h),Ze(()=>n.options,h),Ze(()=>n.direction,h),Ln(h),(b,y)=>(ge(),ze("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Ge(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[qe("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Nt(s.value)},null,4),(ge(!0),ze(at,null,yo(d.value,(_,E)=>(ge(),ze("label",{key:c(_),class:Ge(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>m(_)},[qe("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>m(_)},null,40,L$),qe("span",R$,[cr(b.$slots,"default",{item:_,index:E},()=>[_i(Gn(u(_)),1)],!0)])],10,P$))),128))],10,I$))}}),M$=tn(N$,[["__scopeId","data-v-1ee57095"]]),D$={class:"ec-list"},F$={class:"ec-actions"},$$=ot({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=qc();return(r,o)=>(ge(),ze("div",{class:Ge(["ec-outer",Re(n)?"ec-outer--dark":"ec-outer--light"])},[qe("div",{class:Ge(["ec-inner",Re(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=qe("div",{class:"ec-icon"},"🔧",-1)),qe("h4",{class:Ge(["ec-title",Re(n)?"ec-title--dark":"ec-title--light"])},Gn(Re(t)("comp.compileError")),3),qe("div",D$,[(ge(!0),ze(at,null,yo(e.error,(s,i)=>(ge(),ze("div",{key:i,class:Ge(["ec-item",Re(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),qe("div",F$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),U$=tn($$,[["__scopeId","data-v-5cf301e4"]]),j$={class:"wc-list"},z$={class:"wc-actions"},B$=ot({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=qc();return(r,o)=>(ge(),ze("div",{class:Ge(["wc-outer",Re(n)?"wc-outer--dark":"wc-outer--light"])},[qe("div",{class:Ge(["wc-inner",Re(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=qe("div",{class:"wc-icon"},"⚠️",-1)),qe("h4",{class:Ge(["wc-title",Re(n)?"wc-title--dark":"wc-title--light"])},Gn(Re(t)("comp.compileWarn")),3),qe("div",j$,[(ge(!0),ze(at,null,yo(e.warn,(s,i)=>(ge(),ze("div",{key:i,class:Ge(["wc-item",Re(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),qe("div",z$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),H$=tn(B$,[["__scopeId","data-v-cce09743"]]),V$=ot({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ge(),ze("div",{class:Ge(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ge(),ze("div",{key:0,class:Ge(["card__header",e.headerClass])},[cr(t.$slots,"header",{},()=>[_i(Gn(e.header),1)],!0)],2)):Tn("",!0),qe("div",{class:Ge(["card__body",e.bodyClass]),style:Nt(e.bodyStyle)},[cr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ge(),ze("div",{key:1,class:Ge(["card__footer",e.footerClass])},[cr(t.$slots,"footer",{},()=>[_i(Gn(e.footer),1)],!0)],2)):Tn("",!0)],2))}}),k_=tn(V$,[["__scopeId","data-v-cb6453d5"]]),W$=ot({__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=_e(r.initialIndex),i=_e(!1),a=_e(!1),l=_e(),c=_e([]);function u(V){c.value.push(V)}function f(V){const Q=c.value.findIndex(Y=>Y.uid===V);Q!==-1&&(c.value.splice(Q,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=J(()=>r.direction==="vertical"),p=J(()=>r.type==="card"),m=J(()=>r.cardScale);Ho("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:m,translating:J(()=>i.value),animating:J(()=>i.value),slideTo:A});const h=J(()=>{const V={};return r.height&&r.height!=="auto"&&(V.height=r.height),V}),b=J(()=>{if(p.value)return{};if(c.value.length===0)return{};const Q=-s.value*100;return d.value?{transform:`translateY(${Q}%)`}:{transform:`translateX(${Q}%)`}}),y=J(()=>r.trigger==="click"?"click":"mouseenter"),_=J(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=J(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(V){const Q=c.value.length;return Q===0?0:r.loop?(V%Q+Q)%Q:Math.max(0,Math.min(V,Q-1))}function A(V){if(c.value.length===0)return;const Y=g(V);if(Y===s.value)return;const ne=s.value;s.value=Y,i.value=!0,o("change",Y,ne),setTimeout(()=>{i.value=!1},400)}function C(){A(s.value+1)}function x(){A(s.value-1)}function w(V){if(typeof V=="number"){A(V);return}const Q=c.value.findIndex(Y=>Y.name===V);Q!==-1&&A(Q)}let O=null;function $(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function te(){a.value=!0}function se(){a.value=!1}return Ze(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&$()}),Ze(()=>r.autoplay,V=>{V?$():M()}),Ze(()=>r.interval,()=>{r.autoplay&&$()}),Ln(()=>{r.autoplay&&$()}),Zi(()=>{M()}),t({activeIndex:s,setActiveItem:w,prev:x,next:C}),(V,Q)=>(ge(),ze("div",{ref_key:"carouselRef",ref:l,class:Ge(["carousel",[`carousel--${e.direction}`]]),style:Nt(h.value),onMouseenter:te,onMouseleave:se},[qe("div",{class:Ge(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[qe("div",{class:Ge(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Nt(b.value)},[cr(V.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ge(),ze("button",{key:0,class:Ge(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(_.value),onClick:ff(x,["stop"])},[...Q[0]||(Q[0]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Tn("",!0),e.arrow!=="never"&&c.value.length>1?(ge(),ze("button",{key:1,class:Ge(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Nt(E.value),onClick:ff(C,["stop"])},[...Q[1]||(Q[1]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Tn("",!0),c.value.length>1?(ge(),ze("ul",{key:2,class:Ge(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ge(!0),ze(at,null,yo(c.value,(Y,ne)=>(ge(),ze("li",so({key:Y.uid,class:["carousel__indicator",{"carousel__indicator--active":ne===s.value}]},{[Ys(y.value)]:pe=>w(ne)}),[qe("span",null,Gn(Y.label||""),1)],16))),128))],2)):Tn("",!0)],38))}}),x_=tn(W$,[["__scopeId","data-v-3f525847"]]),G$=ot({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=_e(!1),r=Vt("carousel"),o=_e(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Zi(()=>{r?.removeItem(o.value)});const s=J(()=>r?.items.value??[]),i=J(()=>r?.activeIndex.value??0),a=J(()=>r?.isCard.value??!1),l=J(()=>r?.cardScale.value??.83),c=J(()=>s.value.findIndex(h=>h.uid===o.value)),u=J(()=>c.value===i.value),f=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value-1+h)%h}),d=J(()=>{if(!a.value)return!1;const h=s.value.length;return h<=1?!1:c.value===(i.value+1)%h}),p=J(()=>{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 m(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(h,b)=>Qh((ge(),ze("div",{class:Ge(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Nt(p.value),onClick:m},[cr(h.$slots,"default",{},void 0,!0)],6)),[[Mw,n.value]])}}),T_=tn(G$,[["__scopeId","data-v-9638f2b6"]]);var Al,mh;function q$(){if(mh)return Al;mh=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,m=-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?m=h:h===0&&(m=0));break}var b=s.charCodeAt(a+h),y=i.charCodeAt(u+h);if(b!==y)break;b===47&&(m=h)}var _="";for(h=a+m+1;h<=l;++h)(h===l||s.charCodeAt(h)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+m):(u+=m,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,m=s.length-1,h=0;m>=c;--m){if(a=s.charCodeAt(m),a===47){if(!p){f=m+1;break}continue}d===-1&&(p=!1,d=m+1),a===46?u===-1?u=m: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,Al=r,Al}var A_=q$();function K$(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 Y$=Bg("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}}=Nr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=A_.join(`/${ye.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await K$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),X$={class:"async-comp-wrapper"},J$={key:0,class:"async-comp-error"},Q$={key:1,class:"async-comp-error"},Z$=ot({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e;let n=()=>{},r=0;const o=Z=>Z instanceof Error?Z.message:typeof Z=="string"?Z:"未知错误",s=Y$(),i=tm("compContainer"),a=new Set;let l=null;const c=()=>{const Z=i.value;Z&&a.forEach(({params:W,callback:X})=>{X(Ya(Z,W.mode,W.width,W.height))})},u=()=>{l||!i.value||(l=new ResizeObserver(()=>c()),l.observe(i.value))},f=Z=>{Z.$onScaleChange=(W,X)=>{const le={params:W,callback:X};return a.add(le),i.value&&X(Ya(i.value,W.mode,W.width,W.height)),()=>{a.delete(le)}},Z.$getScaleStyle=({mode:W,width:X,height:le})=>Ya(i.value,W,X,le)},{sendMessageToTop:d}=bs(),p=ys(),{params:{instanceUid:m}}=Nr(),h=_e(!1),b=_e(""),y=_e(""),_=_e(""),E=_e(""),g=_e([]),A=_e(""),C=_e([]),x=J(()=>({"async-comp-overflow-auto":t.panelType===ye.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===ye.COMP_EDIT_TAB_TYPE_MINI})),w=J(()=>{const Z=[...C.value,b.value,y.value,E.value,A.value].filter(Boolean);return[...new Set(Z)]}),O=J(()=>{const Z=[_.value,...g.value].filter(Boolean);return[...new Set(Z)]}),$=()=>{b.value="",y.value="",_.value="",E.value="",g.value=[],A.value="",C.value=[]},M=()=>{const Z={};(t.dep?.map(X=>X.name)||[]).forEach(X=>{if(!t.depToFile[X]){const le=t.dep?.find(Me=>Me.name===X),ie=le?.parent?.name||le?.name||X;Z[ie]=`${ie}${le?.version||""}`}}),Object.keys(Z).length&&(A.value=Object.values(Z).map(X=>`${X} uninstalled`).join(", "))},te=async()=>{const Z=[...t.dep];return Z.sort((X,le)=>X.name==="vue"?-1:le.name==="vue"?1:0),await Z.reduce(async(X,le)=>{const{name:ie}=le,Me=await X,De=t.depToFile[ie];if(!De||fg.PREBUILD_MODULE_SKIP_EXT.find(G=>De.endsWith(G)))return Me;try{const G=await cO(()=>import(`${ye.MODULE_LOAD_PREFIX}/${De}`),[]);Me[ie]={...G.default,...G,__esModule:!0}}catch(G){console.warn(`[cacheModule] 模块 "${ie}" 预加载失败,将交由 vue3-sfc-loader 处理:`,o(G))}return Me},Promise.resolve({}))},se=async Z=>{if(t.localCompRootPath){const W=A_.join(t.localCompRootPath,ye.COMP_ENTRY_FILE);await cD(W)&&await Z(W)}else if(t.signedUrls?.length){const W=t.signedUrls.find(X=>X.path===`/${ye.COMP_ENTRY_FILE}`);W&&await Z(W.signedUrl)}},V=async(Z,W,X)=>{try{const le=await s.loadSfcLoader(Z),{loadModule:ie}=le,Me=await ie("vue",W);return await X(ie,Me)}catch(le){console.error(le);const ie=o(le);return console.error(`sfcLoaderError:${ie}`),E.value=ie,null}},Q=async Z=>V("vue3",Z,async(W,X)=>{const{createApp:le,defineAsyncComponent:ie}=X;if(!le||!ie)return b.value="createApp or defineAsyncComponent is not defined",null;const Me=ie({loader:async()=>await W(t.finalEntryUrl,Z),delay:100,timeout:2e4,onError:(F,G,q)=>{if(console.error(`onError:${F.message}`),b.value=F.message,F)return q()}}),De=le({template:"<AsyncComp />"});return X.app=De,await se(async F=>{await W(F,Z)}),De.component("AsyncComp",Me),f(De.config.globalProperties),De.config.errorHandler=F=>{console.error(F),console.error(`errorHandler:${F}`),y.value=F,h.value=!1},De.config.warnHandler=function(F){console.warn(F),console.warn(`warnHandler:${F}`),_.value=F,h.value=!1},De}),Y=async Z=>V("vue2",Z,async(W,X)=>{f(X.default.prototype),X.default.config.errorHandler=function(ie){console.error(ie),console.error(`errorHandler:${ie}`),y.value=ie,h.value=!1},X.default.config.warnHandler=function(ie){console.warn(ie),console.warn(`warnHandler:${ie}`),_.value=ie,h.value=!1},await se(async ie=>{await W(ie,Z)});const le=await W(t.finalEntryUrl,Z);return new X.default(le)}),ne=(Z,W)=>Z.mount?(Z.mount(W),X=>{console.log("vue3组件卸载"),Z?.unmount(),W.remove(),X?.()}):(Z.$mount(W),X=>{console.log("vue2组件卸载"),Z?.$destroy(),W.remove(),X?.()}),pe=async()=>{h.value=!0,$();try{const Z=t.dep?.find(ie=>ie.name==="vue"),W=O$.getMajorVersion(Z?.version||"3.0.0");if(M(),A.value)return null;const X=await te(),le=c$({moduleCache:X,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:ie=>{console.error(ie);const Me=o(ie);console.error(`sfcLoaderError:${Me}`),E.value=Me},warnCallBack:ie=>{console.warn(ie),g.value=[...g.value,ie]}});return W==="3"?await Q(le):W==="2"?await Y(le):null}catch(Z){console.error(Z);const W=o(Z);return console.error(`loadAsyncComp error:${W}`),E.value=W,null}finally{h.value=!1}};async function Xe(){if(!i.value){console.error("组件挂载点不存在");return}r++;const Z=r,W=document.createElement("div");W.style.height="100%",W.style.width="100%",i.value.appendChild(W);const X=()=>{W.parentNode&&W.remove()};try{const le=await pe();if(Z!==r){le?ne(le,W)(()=>{}):X();return}if(!le){console.error("组件实例创建失败"),X();return}n=ne(le,W),u()}catch(le){console.error(le),console.error(`handleCompRender error:${o(le)}`),X()}}return Ze(()=>[t.finalEntryUrl,JSON.stringify(t.depToFile)],async(Z,W)=>{const[X,le]=Z,[ie,Me]=W??[],De=X+""+le,F=ie+""+Me,G=De===F;(!G||!X)&&(console.log("卸载当前预览"),n(()=>{i.value&&(i.value.innerHTML="")})),!(G||!X)&&(await dr(),await Xe())},{immediate:!0}),Ze(()=>[w.value,O.value],([Z,W])=>{!Z.length&&!W.length||n(()=>{i.value&&(i.value.innerHTML="")})}),Ze(()=>({hasError:w.value.length>0,hasWarn:O.value.length>0}),({hasError:Z,hasWarn:W})=>{console.log("comp render state",{hasError:Z,hasWarn:W}),d(Fe.COMP_RENDER_ERROR_SET,{hasError:Z,hasWarn:W},p,m)},{immediate:!0}),go(()=>{n(()=>{i.value&&(i.value.innerHTML="")}),l?.disconnect(),l=null,a.clear()}),(Z,W)=>{const X=Wv("loading");return Qh((ge(),ze("div",X$,[qe("div",{ref:"compContainer",class:Ge(["async-comp-container",x.value])},null,2),w.value.length?(ge(),ze("div",J$,[Qe(Re(U$),{error:w.value},null,8,["error"])])):Tn("",!0),!w.value.length&&O.value.length?(ge(),ze("div",Q$,[Qe(Re(H$),{warn:O.value},null,8,["warn"])])):Tn("",!0)])),[[X,h.value]])}}}),Lu=tn(Z$,[["__scopeId","data-v-3df687be"]]),eU=ot({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:ye.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=qv(),n=e;return(r,o)=>(ge(),Mt(Re(x_),so({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Re(t)),{default:Or(()=>[(ge(!0),ze(at,null,yo(e.previews,(s,i)=>(ge(),Mt(Re(T_),{key:i,class:"comp-mini-carousel-item"},{default:Or(()=>[qe("div",{class:"comp-mini-carousel-slide",style:Nt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ge(),Mt(Lu,so({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):Tn("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ca=tn(eU,[["__scopeId","data-v-da931a53"]]);function O_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=J(()=>l.value?.item),u=J(()=>l.value?.dep??[]),f=J(()=>l.value?.depToFile??{}),d=J(()=>{if(!c.value)return[];const m=t===ye.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(h=>m?h.miniPath?.length:h.fullPath?.length||h.miniPath?.length).slice(0,e).map(h=>{const b=m?h.miniPath:h.fullPath?.length?h.fullPath:h.miniPath,y=E$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${ye.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=J(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(Fe.ITEM_INIT_SET_LOCAL,m=>{l.value=m}),s(Fe.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const tU=ot({__name:"index",setup(e){const{carouselBind:t}=O_(3,ye.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ge(),Mt(Ca,ds(bo(Re(t))),null,16))}});function I_(e=3,t=ye.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Nr(),{messageListener:o,sendMessageToTop:s}=bs(),i=ys(),{addListener:a}=o(),l=_e(),c=_e(),u=J(()=>l.value?.item),f=J(()=>l.value?.depEntryNameToFile),d=J(()=>l.value?.versionToFileAccessPath),p=J(()=>l.value?.item?.version??""),m=J(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:C})=>[A,C])),g=t===ye.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const C=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=_$.replaceBackslashWithSlash(C?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),h=J(()=>({previews:m.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(Fe.ITEM_INIT_SET,_=>{l.value=_}),a(Fe.BG_COLOR_SET,_=>{c.value=_}),s(Fe.ITEM_INIT_GET,n,i,r),s(Fe.BG_COLOR_GET,"",i,r),Ze(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:h,setInitVersion:y}}const nU=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=I_(3),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,ds(bo(o.value)),null,16))}}),rU={class:"panel-mini-wrapper"},oU=ot({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ge(),ze("div",rU,[Qe(Re(k_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Lu,ds(bo(n.value)),null,16)]),_:1},8,["style"])]))}}),sU=tn(oU,[["__scopeId","data-v-9b8be58c"]]),iU=ot({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=J(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Re(k_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Nt({backgroundColor:e.bg})},{default:Or(()=>[Qe(Lu,ds(bo(n.value)),null,16)]),_:1},8,["style"]))}}),aU=tn(iU,[["__scopeId","data-v-5b3d03a7"]]),lU={key:0,class:"edit-panel"},cU={class:"edit-panel__content"},uU={class:"edit-panel__tools"},fU=["onClick"],dU=ot({__name:"index",setup(e){const{t}=Mr(),{messageListener:n,sendMessageToTop:r}=bs(),{addListener:o}=n(),s=ys(),{params:{instanceUid:i}}=Nr(),a=tm("carousel"),l=_e({entryNameToFile:{},compDep:[]}),c=J(()=>[{label:t("comp.miniPanel"),value:ye.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:ye.COMP_EDIT_TAB_TYPE_FULL}]),u=_e([]),f=_e(),d=_e(!1),p=_e(!1),m=_e(!1),h=_e(""),b=J(()=>Object.keys(f.value??{}).length>0?f.value?.path.replace(ye.FILE_MANAGER_DIRNAME,ye.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),y=J(()=>l.value.compDep.length>0),_=J(()=>({dep:l.value.compDep,depToFile:l.value.entryNameToFile,signedUrls:l.value.signedUrls,localCompRootPath:b.value,bg:h.value}));function E(C){return C===ye.COMP_EDIT_TAB_TYPE_MINI?sU:aU}function g(C,x){if(!C._id)return;const w={...C,activeTab:x};r(Fe.COMP_EDIT_TAB_TYPE_SET,w,s,i)}function A(C){r(Fe.ACTION_REFRESH,C,s,i)}return o(Fe.COMP_PREVIEW_LIST_SET,C=>{u.value=C}),o(Fe.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Fe.COMP_RENDER_INFO_SET,C=>{l.value=C}),o(Fe.SHOW_REFRESH_BTN_SET,C=>{d.value=C}),o(Fe.IS_ONLINE_UPDATE_SET,C=>{p.value=C}),o(Fe.IS_ADD_SET,C=>{m.value=C}),o(Fe.BG_COLOR_SET,C=>{h.value=C}),o(Fe.SELECTED_FOLDER_SET,C=>{f.value=C}),r(Fe.COMP_PREVIEW_LIST_GET,"",s,i),r(Fe.COMP_RENDER_INFO_GET,"",s,i),r(Fe.SHOW_REFRESH_BTN_GET,"",s,i),r(Fe.IS_ONLINE_UPDATE_GET,"",s,i),r(Fe.IS_ADD_GET,"",s,i),r(Fe.CAROUSEL_INDEX_GET,"",s,i),r(Fe.BG_COLOR_GET,"",s,i),r(Fe.SELECTED_FOLDER_GET,"",s,i),(C,x)=>{const w=sm("Icon");return y.value?(ge(),ze("div",lU,[Qe(Re(x_),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Or(()=>[(ge(!0),ze(at,null,yo(u.value,(O,$)=>(ge(),Mt(Re(T_),{key:$},{default:Or(()=>[qe("div",cU,[qe("div",uU,[Qe(Re(M$),{options:c.value,"model-value":O.activeTab,onChange:M=>g(O,M)},null,8,["options","model-value","onChange"]),d.value?(ge(),ze("span",{key:0,class:"edit-panel__refresh-btn",onClick:M=>A(O)},[Qe(w,{icon:"material-symbols:refresh-rounded"})],8,fU)):Tn("",!0)]),(ge(),Mt(Rv,null,[(ge(),Mt(Vv(E(O.activeTab)),so({ref_for:!0},{miniEntryUrl:O.miniEntryUrl,fullEntryUrl:O.fullEntryUrl,..._.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Tn("",!0)}}}),pU=tn(dU,[["__scopeId","data-v-087b3bc7"]]),hU=ot({__name:"index",setup(e){const{carouselBind:t}=O_(5,ye.COMP_EDIT_TAB_TYPE_FULL),n=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Mt(Ca,ds(bo(n.value)),null,16))}}),mU=ot({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=I_(5,ye.COMP_EDIT_TAB_TYPE_FULL),r=_e(""),o=J(()=>({...t.value,panelType:ye.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,i)=>(ge(),Mt(Ca,so(o.value,{"show-indicator":!0}),null,16))}}),gU={carouselLocal:tU,carouselRemote:nU,editPanel:pU,previewLocal:hU,previewRemote:mU};function yU(){const e=[],t=ye.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=gU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const bU=iO({history:$A(`/${ye.WEBSITE_PATH_ITEM}/`),routes:yU()}),_U=o$(ye.LOCAL_SERVICE_PREFIX,{baseURL:`/${ye.LOCAL_SERVICE_PREFIX}`});_U.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Ru=nE(ck);eA(Ru);Ru.use(bU);Ru.mount("#app");