comp-hub 0.31.2 → 0.41.2

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 (107) hide show
  1. package/README.md +3 -2
  2. package/bin/lib/startup.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/master.js +23 -23
  5. package/dist/website/container/assets/{index-BR_ZVtEf.js → index-BF46-8S8.js} +13 -13
  6. package/dist/website/container/assets/{index-Y--RAA6W.css → index-DN-EG3Qh.css} +1 -1
  7. package/dist/website/container/index.html +3 -2
  8. package/dist/website/container/js/react-jsx-loader.js +233 -0
  9. package/dist/website/item/assets/index-iYpmJN_Z.css +1 -0
  10. package/dist/website/item/assets/index-r0gnU8T3.js +62 -0
  11. package/dist/website/item/index.html +2 -2
  12. package/dist/website/main/assets/{AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-C5to3ZQC.js → AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-XaDuBXZe.js} +1 -1
  13. package/dist/website/main/assets/{BaseBadge-DUuZfvYd.js → BaseBadge-CwPduDSy.js} +1 -1
  14. package/dist/website/main/assets/{BaseDialog.vue_vue_type_script_setup_true_lang-DhPHn879.js → BaseDialog.vue_vue_type_script_setup_true_lang-CkNHSg5g.js} +1 -1
  15. package/dist/website/main/assets/{BaseSegmented.vue_vue_type_script_setup_true_lang-D46cMrVi.js → BaseSegmented.vue_vue_type_script_setup_true_lang-QoRVS1cj.js} +1 -1
  16. package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-CisWACfW.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-C4ID6BIz.js} +1 -1
  17. package/dist/website/main/assets/{CodeMirrorEditor-Cqow8ROO-DMgFI1zV.js → CodeMirrorEditor-Cqow8ROO-Cb1F80wf.js} +3 -3
  18. package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CAB4mEGu.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-D9ipEmGE.js} +1 -1
  19. package/dist/website/main/assets/GithubCallback-CvYaECQV.js +1 -0
  20. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-Cg6jGDaf.js +1 -0
  21. package/dist/website/main/assets/{core-DIlcfMir.js → core-yetgou6F.js} +1 -1
  22. package/dist/website/main/assets/{el-table-column-DUFMPIr5.js → el-table-column-BpgDq_WF.js} +1 -1
  23. package/dist/website/main/assets/index-3zCQDZnh.js +2 -0
  24. package/dist/website/main/assets/{index-72rReQ2I-sU_re5gS.js → index-72rReQ2I-BUkUG78x.js} +1 -1
  25. package/dist/website/main/assets/index-74ZEuWc8.js +1 -0
  26. package/dist/website/main/assets/index-9wcpsZe1.js +1 -0
  27. package/dist/website/main/assets/index-BCpgCtua.js +1 -0
  28. package/dist/website/main/assets/{index-HnLIbMTX.js → index-BJKOBdMx.js} +1 -1
  29. package/dist/website/main/assets/index-BMOsY3cQ.js +2 -0
  30. package/dist/website/main/assets/index-BMVmqejS.js +1 -0
  31. package/dist/website/main/assets/{index-BiQ2dJm4.js → index-BcfC5qCh.js} +1 -1
  32. package/dist/website/main/assets/{index-DwDo8mID.js → index-BnX30az1.js} +1 -1
  33. package/dist/website/main/assets/{index-Ct_U5I7y.js → index-BouHS9Ky.js} +1 -1
  34. package/dist/website/main/assets/index-Bp79GOY4.js +1 -0
  35. package/dist/website/main/assets/{index-Cbpqtmwk.js → index-BsZl8udl.js} +1 -1
  36. package/dist/website/main/assets/{index-B-fZjRMn.js → index-Bucicr-O.js} +1 -1
  37. package/dist/website/main/assets/index-CXKzXFNq.js +1 -0
  38. package/dist/website/main/assets/{index-DlU_hLR3.js → index-CbpqTP74.js} +1 -1
  39. package/dist/website/main/assets/{index-CxLzXF-b.js → index-CgJn84pE.js} +1 -1
  40. package/dist/website/main/assets/{index-CvGH1xqJ.css → index-CioMG7I6.css} +1 -1
  41. package/dist/website/main/assets/index-ClqLWOrM.js +1 -0
  42. package/dist/website/main/assets/index-CopP0_Oh.js +1 -0
  43. package/dist/website/main/assets/{index-Da5ZhB-r.js → index-CxeWFTBn.js} +1 -1
  44. package/dist/website/main/assets/index-CzxUr7HV.js +1 -0
  45. package/dist/website/main/assets/{index-CjE-geY_.css → index-D-8GYlU8.css} +1 -1
  46. package/dist/website/main/assets/{index-Jp4YN25a.js → index-D4WFMTSP.js} +1 -1
  47. package/dist/website/main/assets/{index-D76eWsZ1-BUecZt4E.js → index-D76eWsZ1-7KvuCuMg.js} +1 -1
  48. package/dist/website/main/assets/index-DCet9p8Y.js +1 -0
  49. package/dist/website/main/assets/{index-Cz3keLmq.js → index-DMO6XTC0.js} +1 -1
  50. package/dist/website/main/assets/{index-DKv4dFPY.js → index-DP0Xav0B.js} +1 -1
  51. package/dist/website/main/assets/index-DXY5BNS4.js +1 -0
  52. package/dist/website/main/assets/{index-Dms7ZQ2h-DY4-ZFKr.js → index-Dms7ZQ2h-BXeasSDQ.js} +1 -1
  53. package/dist/website/main/assets/{index-DqiFCfGx-BY8MJk0B.js → index-DqiFCfGx-4HZIi15Y.js} +1 -1
  54. package/dist/website/main/assets/{index-DxypSQ0K-CDh8t7kw.js → index-DxypSQ0K-DsBZbAQO.js} +1 -1
  55. package/dist/website/main/assets/{index-CnhaF7r3.js → index-FOvWqIoM.js} +1 -1
  56. package/dist/website/main/assets/{index-CQSvO48y.js → index-HvNFjpLq.js} +1 -1
  57. package/dist/website/main/assets/{index-Cu1aNpBv.js → index-KZ5xMbrf.js} +1 -1
  58. package/dist/website/main/assets/index-PtEeGBK6.js +1 -0
  59. package/dist/website/main/assets/{index-T76vWLBU-Bpnxnyfv.js → index-T76vWLBU-C2L4ZR6a.js} +1 -1
  60. package/dist/website/main/assets/{index-CnTuJQbj.js → index-YvDl_1WK.js} +23 -23
  61. package/dist/website/main/assets/{index-fZBcgzqR-QE1WZxps.js → index-fZBcgzqR-DZ4VEjtI.js} +1 -1
  62. package/dist/website/main/assets/{index-mqeGrL6B-DZ51JJUI.js → index-mqeGrL6B-zaO8HgOa.js} +1 -1
  63. package/dist/website/main/assets/{index-QDS7dx0M.js → index-rm7l2BT_.js} +1 -1
  64. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B5HoY3_0.js → index.vue_vue_type_script_setup_true_lang-2Z80ry6F.js} +1 -1
  65. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C7h-Ycpm.js +1 -0
  66. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BBmEjb-A.js → index.vue_vue_type_script_setup_true_lang-CHyooj4T.js} +1 -1
  67. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-t73JgDYM.js → index.vue_vue_type_script_setup_true_lang-ChXDjhzT.js} +2 -2
  68. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Cy3ZPsfb.js +1 -0
  69. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-87WT-7PF.js → index.vue_vue_type_script_setup_true_lang-DHWblo58.js} +1 -1
  70. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-SpJl7c7B.js → index.vue_vue_type_style_index_0_lang-Bsi5S1XY.js} +1 -1
  71. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C30OZgOy.js → index.vue_vue_type_style_index_0_lang-DfBu8zdC.js} +1 -1
  72. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-YYZCGIEM.js → index.vue_vue_type_style_index_0_lang-Digz_UdY.js} +1 -1
  73. package/dist/website/main/assets/{md5-BaIvdSuD.js → md5-CWhVn6LA.js} +1 -1
  74. package/dist/website/main/assets/{useCacheOssStore-B5wqgiBM.js → useCacheOssStore-KoEbWj57.js} +1 -1
  75. package/dist/website/main/assets/useCompEditStore-Ch5sDzy4.js +1 -0
  76. package/dist/website/main/assets/useCompEditStore-GUrodzAV.css +1 -0
  77. package/dist/website/main/assets/{useKeyword-BygMrCvJ.js → useKeyword-Bmq02ywx.js} +1 -1
  78. package/dist/website/main/assets/{useMessage-CHhLVawp.js → useMessage-BLwQdu5o.js} +1 -1
  79. package/dist/website/main/assets/{useTeamHeaders-a-XSRO3U.css → useTeamHeaders-BMHQzwDq.css} +1 -1
  80. package/dist/website/main/assets/{useTeamHeaders-C1Nwzx4f.js → useTeamHeaders-Bttl7tEb.js} +2 -2
  81. package/dist/website/main/assets/{useUnreadStore-D50CXC_9.js → useUnreadStore-kWR1ykK7.js} +1 -1
  82. package/dist/website/main/assets/{useVscodeOpen-CJ-3bg9h.js → useVscodeOpen-DyvB87xz.js} +1 -1
  83. package/dist/website/main/assets/{vendor-ui-BAx7vAkH.js → vendor-ui-KquZSIP0.js} +10 -10
  84. package/dist/website/main/index.html +3 -3
  85. package/package.json +1 -1
  86. package/dist/website/item/assets/index-BxlM4TBc.js +0 -60
  87. package/dist/website/item/assets/index-Cg5t9Ndz.css +0 -1
  88. package/dist/website/main/assets/GithubCallback-DP3YU9rH.js +0 -1
  89. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-BnN1jBiO.js +0 -1
  90. package/dist/website/main/assets/index--J05rNIX.js +0 -1
  91. package/dist/website/main/assets/index-B2rWNHgy.js +0 -1
  92. package/dist/website/main/assets/index-B6fwGRmY.js +0 -1
  93. package/dist/website/main/assets/index-B8TdXR68.js +0 -1
  94. package/dist/website/main/assets/index-BBzEF7CC.js +0 -1
  95. package/dist/website/main/assets/index-BQKN7xQr.js +0 -2
  96. package/dist/website/main/assets/index-BWKB83Cd.js +0 -1
  97. package/dist/website/main/assets/index-BjKOeMxH.js +0 -1
  98. package/dist/website/main/assets/index-D03XtNqB.js +0 -1
  99. package/dist/website/main/assets/index-DEvtplax.js +0 -2
  100. package/dist/website/main/assets/index-DQTRYmEL.js +0 -1
  101. package/dist/website/main/assets/index-DRytU1Iu.js +0 -1
  102. package/dist/website/main/assets/index-DcfKevFQ.js +0 -1
  103. package/dist/website/main/assets/index-tSn-zTTf.js +0 -1
  104. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C1EYwhRp.js +0 -1
  105. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Dl1KwcTe.js +0 -1
  106. package/dist/website/main/assets/useCompEditStore-Br3x5A7Q.css +0 -1
  107. package/dist/website/main/assets/useCompEditStore-rtFXUPNg.js +0 -1
@@ -0,0 +1,62 @@
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 a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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 Sh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const bt={},_s=[],to=()=>{},Jw=()=>!1,uu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),fu=e=>e.startsWith("onUpdate:"),nn=Object.assign,Ch=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dR=Object.prototype.hasOwnProperty,dt=(e,t)=>dR.call(e,t),Le=Array.isArray,vs=e=>Ns(e)==="[object Map]",Qw=e=>Ns(e)==="[object Set]",lb=e=>Ns(e)==="[object Date]",pR=e=>Ns(e)==="[object RegExp]",Ne=e=>typeof e=="function",At=e=>typeof e=="string",ir=e=>typeof e=="symbol",ht=e=>e!==null&&typeof e=="object",Zw=e=>(ht(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),e0=Object.prototype.toString,Ns=e=>e0.call(e),hR=e=>Ns(e).slice(8,-1),t0=e=>Ns(e)==="[object Object]",du=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,va=Sh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pu=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},mR=/-\w/g,Ln=pu(e=>e.replace(mR,t=>t.slice(1).toUpperCase())),gR=/\B([A-Z])/g,Di=pu(e=>e.replace(gR,"-$1").toLowerCase()),hu=pu(e=>e.charAt(0).toUpperCase()+e.slice(1)),_c=pu(e=>e?`on${hu(e)}`:""),Qr=(e,t)=>!Object.is(e,t),wa=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},n0=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},yR=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let cb;const mu=()=>cb||(cb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(Le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=At(r)?wR(r):Bn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(At(e)||ht(e))return e}const bR=/;(?![^(]*\))/g,_R=/:([^]+)/,vR=/\/\*[^]*?\*\//g;function wR(e){const t={};return e.replace(vR,"").split(bR).forEach(n=>{if(n){const r=n.split(_R);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xt(e){let t="";if(At(e))t=e;else if(Le(e))for(let n=0;n<e.length;n++){const r=xt(e[n]);r&&(t+=r+" ")}else if(ht(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ii(e){if(!e)return null;let{class:t,style:n}=e;return t&&!At(t)&&(e.class=xt(t)),n&&(e.style=Bn(n)),e}const ER="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",SR=Sh(ER);function r0(e){return!!e||e===""}function CR(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=kh(e[r],t[r]);return n}function kh(e,t){if(e===t)return!0;let n=lb(e),r=lb(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ir(e),r=ir(t),n||r)return e===t;if(n=Le(e),r=Le(t),n||r)return n&&r?CR(e,t):!1;if(n=ht(e),r=ht(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 a in e){const c=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(c&&!u||!c&&u||!kh(e[a],t[a]))return!1}}return String(e)===String(t)}const o0=e=>!!(e&&e.__v_isRef===!0),Oo=e=>At(e)?e:e==null?"":Le(e)||ht(e)&&(e.toString===e0||!Ne(e.toString))?o0(e)?Oo(e.value):JSON.stringify(e,i0,2):String(e),i0=(e,t)=>o0(t)?i0(e,t.value):vs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[dd(r,s)+" =>"]=o,n),{})}:Qw(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>dd(n))}:ir(t)?dd(t):ht(t)&&!Le(t)&&!t0(t)?String(t):t,dd=(e,t="")=>{var n;return ir(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Jt;class s0{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&&Jt&&(Jt.active?(this.parent=Jt,this.index=(Jt.scopes||(Jt.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){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[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){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=Jt;try{return Jt=this,t()}finally{Jt=n}}}on(){++this._on===1&&(this.prevScope=Jt,Jt=this)}off(){if(this._on>0&&--this._on===0){if(Jt===this)Jt=this.prevScope;else{let t=Jt;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){const o=this.scopes.slice();for(n=0,r=o.length;n<r;n++)o[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 xh(e){return new s0(e)}function Ga(){return Jt}function Th(e,t=!1){Jt&&Jt.cleanups.push(e)}let Ct;const pd=new WeakSet;class a0{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,Jt&&(Jt.active?Jt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pd.has(this)&&(pd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||c0(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ub(this),u0(this);const t=Ct,n=Rr;Ct=this,Rr=!0;try{return this.fn()}finally{f0(this),Ct=t,Rr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ph(t);this.deps=this.depsTail=void 0,ub(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bp(this)&&this.run()}get dirty(){return bp(this)}}let l0=0,Ea,Sa;function c0(e,t=!1){if(e.flags|=8,t){e.next=Sa,Sa=e;return}e.next=Ea,Ea=e}function Oh(){l0++}function Ah(){if(--l0>0)return;if(Sa){let t=Sa;for(Sa=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ea;){let t=Ea;for(Ea=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 u0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function f0(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Ph(r),kR(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function bp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(d0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function d0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ia)||(e.globalVersion=Ia,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!bp(e))))return;e.flags|=2;const t=e.dep,n=Ct,r=Rr;Ct=e,Rr=!0;try{u0(e);const o=e.fn(e._value);(t.version===0||Qr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ct=n,Rr=r,f0(e),e.flags&=-3}}function Ph(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)Ph(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function kR(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Rr=!0;const p0=[];function Ao(){p0.push(Rr),Rr=!1}function Po(){const e=p0.pop();Rr=e===void 0?!0:e}function ub(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ct;Ct=void 0;try{t()}finally{Ct=n}}}let Ia=0;class xR{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 gu{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(!Ct||!Rr||Ct===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ct)n=this.activeLink=new xR(Ct,this),Ct.deps?(n.prevDep=Ct.depsTail,Ct.depsTail.nextDep=n,Ct.depsTail=n):Ct.deps=Ct.depsTail=n,h0(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=Ct.depsTail,n.nextDep=void 0,Ct.depsTail.nextDep=n,Ct.depsTail=n,Ct.deps===n&&(Ct.deps=r)}return n}trigger(t){this.version++,Ia++,this.notify(t)}notify(t){Oh();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ah()}}}function h0(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)h0(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Mc=new WeakMap,xi=Symbol(""),_p=Symbol(""),La=Symbol("");function _n(e,t,n){if(Rr&&Ct){let r=Mc.get(e);r||Mc.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new gu),o.map=r,o.key=n),o.track()}}function Eo(e,t,n,r,o,s){const a=Mc.get(e);if(!a){Ia++;return}const c=u=>{u&&u.trigger()};if(Oh(),t==="clear")a.forEach(c);else{const u=Le(e),f=u&&du(n);if(u&&n==="length"){const p=Number(r);a.forEach((h,g)=>{(g==="length"||g===La||!ir(g)&&g>=p)&&c(h)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),f&&c(a.get(La)),t){case"add":u?f&&c(a.get("length")):(c(a.get(xi)),vs(e)&&c(a.get(_p)));break;case"delete":u||(c(a.get(xi)),vs(e)&&c(a.get(_p)));break;case"set":vs(e)&&c(a.get(xi));break}}Ah()}function TR(e,t){const n=Mc.get(e);return n&&n.get(t)}function ts(e){const t=nt(e);return t===e?t:(_n(t,"iterate",La),or(e)?t:t.map(Fr))}function yu(e){return _n(e=nt(e),"iterate",La),e}function Xr(e,t){return Io(e)?ks(xo(e)?Fr(t):t):Fr(t)}const OR={__proto__:null,[Symbol.iterator](){return hd(this,Symbol.iterator,e=>Xr(this,e))},concat(...e){return ts(this).concat(...e.map(t=>Le(t)?ts(t):t))},entries(){return hd(this,"entries",e=>(e[1]=Xr(this,e[1]),e))},every(e,t){return mo(this,"every",e,t,void 0,arguments)},filter(e,t){return mo(this,"filter",e,t,n=>n.map(r=>Xr(this,r)),arguments)},find(e,t){return mo(this,"find",e,t,n=>Xr(this,n),arguments)},findIndex(e,t){return mo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mo(this,"findLast",e,t,n=>Xr(this,n),arguments)},findLastIndex(e,t){return mo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mo(this,"forEach",e,t,void 0,arguments)},includes(...e){return md(this,"includes",e)},indexOf(...e){return md(this,"indexOf",e)},join(e){return ts(this).join(e)},lastIndexOf(...e){return md(this,"lastIndexOf",e)},map(e,t){return mo(this,"map",e,t,void 0,arguments)},pop(){return ra(this,"pop")},push(...e){return ra(this,"push",e)},reduce(e,...t){return fb(this,"reduce",e,t)},reduceRight(e,...t){return fb(this,"reduceRight",e,t)},shift(){return ra(this,"shift")},some(e,t){return mo(this,"some",e,t,void 0,arguments)},splice(...e){return ra(this,"splice",e)},toReversed(){return ts(this).toReversed()},toSorted(e){return ts(this).toSorted(e)},toSpliced(...e){return ts(this).toSpliced(...e)},unshift(...e){return ra(this,"unshift",e)},values(){return hd(this,"values",e=>Xr(this,e))}};function hd(e,t,n){const r=yu(e),o=r[t]();return r!==e&&!or(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const AR=Array.prototype;function mo(e,t,n,r,o,s){const a=yu(e),c=a!==e&&!or(e),u=a[t];if(u!==AR[t]){const h=u.apply(e,s);return c?Fr(h):h}let f=n;a!==e&&(c?f=function(h,g){return n.call(this,Xr(e,h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const p=u.call(a,f,r);return c&&o?o(p):p}function fb(e,t,n,r){const o=yu(e),s=o!==e&&!or(e);let a=n,c=!1;o!==e&&(s?(c=r.length===0,a=function(f,p,h){return c&&(c=!1,f=Xr(e,f)),n.call(this,f,Xr(e,p),h,e)}):n.length>3&&(a=function(f,p,h){return n.call(this,f,p,h,e)}));const u=o[t](a,...r);return c?Xr(e,u):u}function md(e,t,n){const r=nt(e);_n(r,"iterate",La);const o=r[t](...n);return(o===-1||o===!1)&&vu(n[0])?(n[0]=nt(n[0]),r[t](...n)):o}function ra(e,t,n=[]){Ao(),Oh();const r=nt(e)[t].apply(e,n);return Ah(),Po(),r}const PR=Sh("__proto__,__v_isRef,__isVue"),m0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ir));function IR(e){ir(e)||(e=String(e));const t=nt(this);return _n(t,"has",e),t.hasOwnProperty(e)}class g0{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?E0:w0:s?v0:_0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Le(t);if(!o){let u;if(a&&(u=OR[n]))return u;if(n==="hasOwnProperty")return IR}const c=Reflect.get(t,n,Pt(t)?t:r);if((ir(n)?m0.has(n):PR(n))||(o||_n(t,"get",n),s))return c;if(Pt(c)){const u=a&&du(n)?c:c.value;return o&&ht(u)?Cs(u):u}return ht(c)?o?Cs(c):Ka(c):c}}class y0 extends g0{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Le(t)&&du(n);if(!this._isShallow){const f=Io(s);if(!or(r)&&!Io(r)&&(s=nt(s),r=nt(r)),!a&&Pt(s)&&!Pt(r))return f||(s.value=r),!0}const c=a?Number(n)<t.length:dt(t,n),u=Reflect.set(t,n,r,Pt(t)?t:o);return t===nt(o)&&u&&(c?Qr(r,s)&&Eo(t,"set",n,r):Eo(t,"add",n,r)),u}deleteProperty(t,n){const r=dt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Eo(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ir(n)||!m0.has(n))&&_n(t,"has",n),r}ownKeys(t){return _n(t,"iterate",Le(t)?"length":xi),Reflect.ownKeys(t)}}class b0 extends g0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const LR=new y0,RR=new b0,MR=new y0(!0),NR=new b0(!0),vp=e=>e,Gl=e=>Reflect.getPrototypeOf(e);function DR(e,t,n){return function(...r){const o=this.__v_raw,s=nt(o),a=vs(s),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=o[e](...r),p=n?vp:t?ks:Fr;return!t&&_n(s,"iterate",u?_p:xi),nn(Object.create(f),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[p(h[0]),p(h[1])]:p(h),done:g}}})}}function Kl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function FR(e,t){const n={get(o){const s=this.__v_raw,a=nt(s),c=nt(o);e||(Qr(o,c)&&_n(a,"get",o),_n(a,"get",c));const{has:u}=Gl(a),f=t?vp:e?ks:Fr;if(u.call(a,o))return f(s.get(o));if(u.call(a,c))return f(s.get(c));s!==a&&s.get(o)},get size(){const o=this.__v_raw;return!e&&_n(nt(o),"iterate",xi),o.size},has(o){const s=this.__v_raw,a=nt(s),c=nt(o);return e||(Qr(o,c)&&_n(a,"has",o),_n(a,"has",c)),o===c?s.has(o):s.has(o)||s.has(c)},forEach(o,s){const a=this,c=a.__v_raw,u=nt(c),f=t?vp:e?ks:Fr;return!e&&_n(u,"iterate",xi),c.forEach((p,h)=>o.call(s,f(p),f(h),a))}};return nn(n,e?{add:Kl("add"),set:Kl("set"),delete:Kl("delete"),clear:Kl("clear")}:{add(o){const s=nt(this),a=Gl(s),c=nt(o),u=!t&&!or(o)&&!Io(o)?c:o;return a.has.call(s,u)||Qr(o,u)&&a.has.call(s,o)||Qr(c,u)&&a.has.call(s,c)||(s.add(u),Eo(s,"add",u,u)),this},set(o,s){!t&&!or(s)&&!Io(s)&&(s=nt(s));const a=nt(this),{has:c,get:u}=Gl(a);let f=c.call(a,o);f||(o=nt(o),f=c.call(a,o));const p=u.call(a,o);return a.set(o,s),f?Qr(s,p)&&Eo(a,"set",o,s):Eo(a,"add",o,s),this},delete(o){const s=nt(this),{has:a,get:c}=Gl(s);let u=a.call(s,o);u||(o=nt(o),u=a.call(s,o)),c&&c.call(s,o);const f=s.delete(o);return u&&Eo(s,"delete",o,void 0),f},clear(){const o=nt(this),s=o.size!==0,a=o.clear();return s&&Eo(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=DR(o,e,t)}),n}function bu(e,t){const n=FR(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(dt(n,o)&&o in r?n:r,o,s)}const $R={get:bu(!1,!1)},jR={get:bu(!1,!0)},UR={get:bu(!0,!1)},zR={get:bu(!0,!0)},_0=new WeakMap,v0=new WeakMap,w0=new WeakMap,E0=new WeakMap;function BR(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ka(e){return Io(e)?e:_u(e,!1,LR,$R,_0)}function S0(e){return _u(e,!1,MR,jR,v0)}function Cs(e){return _u(e,!0,RR,UR,w0)}function WR(e){return _u(e,!0,NR,zR,E0)}function _u(e,t,n,r,o){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const a=BR(hR(e));if(a===0)return e;const c=new Proxy(e,a===2?r:n);return o.set(e,c),c}function xo(e){return Io(e)?xo(e.__v_raw):!!(e&&e.__v_isReactive)}function Io(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function vu(e){return e?!!e.__v_raw:!1}function nt(e){const t=e&&e.__v_raw;return t?nt(t):e}function Ih(e){return!dt(e,"__v_skip")&&Object.isExtensible(e)&&n0(e,"__v_skip",!0),e}const Fr=e=>ht(e)?Ka(e):e,ks=e=>ht(e)?Cs(e):e;function Pt(e){return e?e.__v_isRef===!0:!1}function Oe(e){return C0(e,!1)}function Rn(e){return C0(e,!0)}function C0(e,t){return Pt(e)?e:new HR(e,t)}class HR{constructor(t,n){this.dep=new gu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:nt(t),this._value=n?t:Fr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||or(t)||Io(t);t=r?t:nt(t),Qr(t,n)&&(this._rawValue=t,this._value=r?t:Fr(t),this.dep.trigger())}}function Ue(e){return Pt(e)?e.value:e}function tn(e){return Ne(e)?e():Ue(e)}const VR={get:(e,t,n)=>t==="__v_raw"?e:Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pt(o)&&!Pt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function k0(e){return xo(e)?e:new Proxy(e,VR)}class GR{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new gu,{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 x0(e){return new GR(e)}function KR(e){const t=Le(e)?new Array(e.length):{};for(const n in e)t[n]=O0(e,n);return t}class qR{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ir(n)?n:String(n),this._raw=nt(t);let o=!0,s=t;if(!Le(t)||ir(this._key)||!du(this._key))do o=!vu(s)||or(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Ue(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Pt(this._raw[this._key])){const n=this._object[this._key];if(Pt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return TR(this._raw,this._key)}}class YR{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 T0(e,t,n){return Pt(e)?e:Ne(e)?new YR(e):ht(e)&&arguments.length>1?O0(e,t,n):Oe(e)}function O0(e,t,n){return new qR(e,t,n)}class XR{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new gu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ia-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return c0(this,!0),!0}get value(){const t=this.dep.track();return d0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function JR(e,t,n=!1){let r,o;return Ne(e)?r=e:(r=e.get,o=e.set),new XR(r,o,n)}const ql={},Nc=new WeakMap;let wi;function QR(e,t=!1,n=wi){if(n){let r=Nc.get(n);r||Nc.set(n,r=[]),r.push(e)}}function ZR(e,t,n=bt){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:c,call:u}=n,f=S=>o?S:or(S)||o===!1||o===0?So(S,1):So(S);let p,h,g,y,E=!1,b=!1;if(Pt(e)?(h=()=>e.value,E=or(e)):xo(e)?(h=()=>f(e),E=!0):Le(e)?(b=!0,E=e.some(S=>xo(S)||or(S)),h=()=>e.map(S=>{if(Pt(S))return S.value;if(xo(S))return f(S);if(Ne(S))return u?u(S,2):S()})):Ne(e)?t?h=u?()=>u(e,2):e:h=()=>{if(g){Ao();try{g()}finally{Po()}}const S=wi;wi=p;try{return u?u(e,3,[y]):e(y)}finally{wi=S}}:h=to,t&&o){const S=h,N=o===!0?1/0:o;h=()=>So(S(),N)}const T=Ga(),v=()=>{p.stop(),T&&T.active&&Ch(T.effects,p)};if(s&&t){const S=t;t=(...N)=>{const O=S(...N);return v(),O}}let w=b?new Array(e.length).fill(ql):ql;const A=S=>{if(!(!(p.flags&1)||!p.dirty&&!S))if(t){const N=p.run();if(S||o||E||(b?N.some((O,I)=>Qr(O,w[I])):Qr(N,w))){g&&g();const O=wi;wi=p;try{const I=[N,w===ql?void 0:b&&w[0]===ql?[]:w,y];w=N,u?u(t,3,I):t(...I)}finally{wi=O}}}else p.run()};return c&&c(A),p=new a0(h),p.scheduler=a?()=>a(A,!1):A,y=S=>QR(S,!1,p),g=p.onStop=()=>{const S=Nc.get(p);if(S){if(u)u(S,4);else for(const N of S)N();Nc.delete(p)}},t?r?A(!0):w=p.run():a?a(A.bind(null,!0),!0):p.run(),v.pause=p.pause.bind(p),v.resume=p.resume.bind(p),v.stop=v,v}function So(e,t=1/0,n){if(t<=0||!ht(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Pt(e))So(e.value,t,n);else if(Le(e))for(let r=0;r<e.length;r++)So(e[r],t,n);else if(Qw(e)||vs(e))e.forEach(r=>{So(r,t,n)});else if(t0(e)){for(const r in e)So(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&So(e[r],t,n)}return e}function qa(e,t,n,r){try{return r?e(...r):e()}catch(o){wu(o,t,n)}}function $r(e,t,n,r){if(Ne(e)){const o=qa(e,t,n,r);return o&&Zw(o)&&o.catch(s=>{wu(s,t,n)}),o}if(Le(e)){const o=[];for(let s=0;s<e.length;s++)o.push($r(e[s],t,n,r));return o}}function wu(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||bt;if(t){let c=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,u,f)===!1)return}c=c.parent}if(s){Ao(),qa(s,null,10,[e,u,f]),Po();return}}eM(e,n,o,r,a)}function eM(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const In=[];let qr=-1;const ws=[];let Jo=null,fs=0;const A0=Promise.resolve();let Dc=null;function Ur(e){const t=Dc||A0;return e?t.then(this?e.bind(this):e):t}function tM(e){let t=qr+1,n=In.length;for(;t<n;){const r=t+n>>>1,o=In[r],s=Ra(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Lh(e){if(!(e.flags&1)){const t=Ra(e),n=In[In.length-1];!n||!(e.flags&2)&&t>=Ra(n)?In.push(e):In.splice(tM(t),0,e),e.flags|=1,P0()}}function P0(){Dc||(Dc=A0.then(L0))}function nM(e){Le(e)?ws.push(...e):Jo&&e.id===-1?Jo.splice(fs+1,0,e):e.flags&1||(ws.push(e),e.flags|=1),P0()}function db(e,t,n=qr+1){for(;n<In.length;n++){const r=In[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;In.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function I0(e){if(ws.length){const t=[...new Set(ws)].sort((n,r)=>Ra(n)-Ra(r));if(ws.length=0,Jo){Jo.push(...t);return}for(Jo=t,fs=0;fs<Jo.length;fs++){const n=Jo[fs];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Jo=null,fs=0}}const Ra=e=>e.id==null?e.flags&2?-1:1/0:e.id;function L0(e){try{for(qr=0;qr<In.length;qr++){const t=In[qr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),qa(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qr<In.length;qr++){const t=In[qr];t&&(t.flags&=-2)}qr=-1,In.length=0,I0(),Dc=null,(In.length||ws.length)&&L0()}}let cn=null,R0=null;function Fc(e){const t=cn;return cn=e,R0=e&&e.type.__scopeId||null,t}function Li(e,t=cn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Bc(-1);const s=Fc(t),a=To.length;let c;try{c=e(...o)}finally{for(let u=To.length;u>a;u--)jh();Fc(s),r._d&&Bc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function wp(e,t){if(cn===null)return e;const n=Tu(cn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,a,c,u=bt]=t[o];s&&(Ne(s)&&(s={mounted:s,updated:s}),s.deep&&So(a),r.push({dir:s,instance:n,value:a,oldValue:void 0,arg:c,modifiers:u}))}return e}function bi(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let a=0;a<o.length;a++){const c=o[a];s&&(c.oldValue=s[a].value);let u=c.dir[r];u&&(Ao(),$r(u,n,8,[e.el,c,e,t]),Po())}}function Ti(e,t){if(vn){let n=vn.provides;const r=vn.parent&&vn.parent.provides;r===n&&(n=vn.provides=Object.create(r)),n[e]=t}}function En(e,t,n=!1){const r=ar();if(r||Oi){let o=Oi?Oi._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&&Ne(t)?t.call(r&&r.proxy):t}}function Ya(){return!!(ar()||Oi)}const rM=Symbol.for("v-scx"),oM=()=>En(rM);function M0(e,t){return Rh(e,null,t)}function gt(e,t,n){return Rh(e,t,n)}function Rh(e,t,n=bt){const{immediate:r,deep:o,flush:s,once:a}=n,c=nn({},n),u=t&&r||!t&&s!=="post";let f;if(Na){if(s==="sync"){const y=oM();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!u){const y=()=>{};return y.stop=to,y.resume=to,y.pause=to,y}}const p=vn;c.call=(y,E,b)=>$r(y,p,E,b);let h=!1;s==="post"?c.scheduler=y=>{Zt(y,p&&p.suspense)}:s!=="sync"&&(h=!0,c.scheduler=(y,E)=>{E?y():Lh(y)}),c.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,p&&(y.id=p.uid,y.i=p))};const g=ZR(e,t,c);return Na&&(f?f.push(g):u&&g()),g}function iM(e,t,n){const r=this.proxy,o=At(e)?e.includes(".")?N0(r,e):()=>r[e]:e.bind(r,r);let s;Ne(t)?s=t:(s=t.handler,n=t);const a=Ja(this),c=Rh(o,s.bind(r),n);return a(),c}function N0(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 sM=Symbol("_vte"),aM=e=>e.__isTeleport,gd=Symbol("_leaveCb");function Eu(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Eu(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 Rt(e,t){return Ne(e)?nn({name:e.name},t,{setup:e}):e}function D0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ds(e){const t=ar(),n=Rn(null);if(t){const o=t.refs===bt?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function pb(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const $c=new WeakMap;function Ca(e,t,n,r,o=!1){if(Le(e)){e.forEach((b,T)=>Ca(b,t&&(Le(t)?t[T]:t),n,r,o));return}if(ti(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ca(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Tu(r.component):r.el,a=o?null:s,{i:c,r:u}=e,f=t&&t.r,p=c.refs===bt?c.refs={}:c.refs,h=c.setupState,g=nt(h),y=h===bt?Jw:b=>pb(p,b)?!1:dt(g,b),E=(b,T)=>!(T&&pb(p,T));if(f!=null&&f!==u){if(hb(t),At(f))p[f]=null,y(f)&&(h[f]=null);else if(Pt(f)){const b=t;E(f,b.k)&&(f.value=null),b.k&&(p[b.k]=null)}}if(Ne(u))qa(u,c,12,[a,p]);else{const b=At(u),T=Pt(u);if(b||T){const v=()=>{if(e.f){const w=b?y(u)?h[u]:p[u]:E()||!e.k?u.value:p[e.k];if(o)Le(w)&&Ch(w,s);else if(Le(w))w.includes(s)||w.push(s);else if(b)p[u]=[s],y(u)&&(h[u]=p[u]);else{const A=[s];E(u,e.k)&&(u.value=A),e.k&&(p[e.k]=A)}}else b?(p[u]=a,y(u)&&(h[u]=a)):T&&(E(u,e.k)&&(u.value=a),e.k&&(p[e.k]=a))};if(a){const w=()=>{v(),$c.delete(e)};w.id=-1,$c.set(e,w),Zt(w,n)}else hb(e),v()}}}function hb(e){const t=$c.get(e);t&&(t.flags|=8,$c.delete(e))}mu().requestIdleCallback;mu().cancelIdleCallback;const ti=e=>!!e.type.__asyncLoader,F0=e=>e.type.__isKeepAlive,lM={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,s=new Set;let a=null;const c=n.suspense,{renderer:{p:u,m:f,um:p,o:{createElement:h}}}=r,g=h("div");r.activate=(w,A,S,N,O)=>{const I=w.component;f(w,A,S,0,c),u(I.vnode,w,A,S,I,c,N,w.slotScopeIds,O),Zt(()=>{I.isDeactivated=!1,I.a&&wa(I.a);const k=w.props&&w.props.onVnodeMounted;k&&yr(k,I.parent,w)},c)},r.deactivate=w=>{const A=w.component;Uc(A.m),Uc(A.a),f(w,g,null,1,c),Zt(()=>{A.da&&wa(A.da);const S=w.props&&w.props.onVnodeUnmounted;S&&yr(S,A.parent,w),A.isDeactivated=!0},c)};function y(w){yd(w),p(w,n,c,!0)}function E(w){o.forEach((A,S)=>{const N=Tp(ti(A)?A.type.__asyncResolved||{}:A.type);N&&!w(N)&&b(S)})}function b(w){const A=o.get(w);A&&(!a||!ds(A,a))?y(A):a&&yd(a),o.delete(w),s.delete(w)}gt(()=>[e.include,e.exclude],([w,A])=>{w&&E(S=>fa(w,S)),A&&E(S=>!fa(A,S))},{flush:"post",deep:!0});let T=null;const v=()=>{T!=null&&(zc(n.subTree.type)?Zt(()=>{o.set(T,Yl(n.subTree))},n.subTree.suspense):o.set(T,Yl(n.subTree)))};return Er(v),j0(v),Cu(()=>{o.forEach(w=>{const{subTree:A,suspense:S}=n,N=Yl(A);if(w.type===N.type&&w.key===N.key){yd(N);const O=N.component.da;O&&Zt(O,S);return}y(w)})}),()=>{if(T=null,!t.default)return a=null;const w=t.default(),A=w[0];if(w.length>1)return a=null,w;if(!xs(A)||!(A.shapeFlag&4)&&!(A.shapeFlag&128))return a=null,A;let S=Yl(A);if(S.type===ro)return a=null,S;const N=S.type,O=Tp(ti(S)?S.type.__asyncResolved||{}:N),{include:I,exclude:k,max:D}=e;if(I&&(!O||!fa(I,O))||k&&O&&fa(k,O))return S.shapeFlag&=-257,a=S,A;const B=S.key==null?N:S.key,K=o.get(B);return S.el&&(S=Ri(S),A.shapeFlag&128&&(A.ssContent=S)),T=B,K?(S.el=K.el,S.component=K.component,S.transition&&Eu(S,S.transition),S.shapeFlag|=512,s.delete(B),s.add(B)):(s.add(B),D&&s.size>parseInt(D,10)&&b(s.values().next().value)),S.shapeFlag|=256,a=S,zc(A.type)?A:S}}},cM=lM;function fa(e,t){return Le(e)?e.some(n=>fa(n,t)):At(e)?e.split(",").includes(t):pR(e)?(e.lastIndex=0,e.test(t)):!1}function uM(e,t){$0(e,"a",t)}function fM(e,t){$0(e,"da",t)}function $0(e,t,n=vn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Su(t,r,n),n){let o=n.parent;for(;o&&o.parent;)F0(o.parent.vnode)&&dM(r,t,n,o),o=o.parent}}function dM(e,t,n,r){const o=Su(t,e,r,!0);Fs(()=>{Ch(r[t],o)},n)}function yd(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Yl(e){return e.shapeFlag&128?e.ssContent:e}function Su(e,t,n=vn,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Ao();const c=Ja(n),u=$r(t,n,e,a);return c(),Po(),u});return r?o.unshift(s):o.push(s),s}}const Ro=e=>(t,n=vn)=>{(!Na||e==="sp")&&Su(e,(...r)=>t(...r),n)},pM=Ro("bm"),Er=Ro("m"),hM=Ro("bu"),j0=Ro("u"),Cu=Ro("bum"),Fs=Ro("um"),mM=Ro("sp"),gM=Ro("rtg"),yM=Ro("rtc");function bM(e,t=vn){Su("ec",e,t)}const Mh="components",_M="directives";function Nh(e,t){return Dh(Mh,e,!0,t)||e}const U0=Symbol.for("v-ndc");function vM(e){return At(e)?Dh(Mh,e,!1)||e:e||U0}function wM(e){return Dh(_M,e)}function Dh(e,t,n=!0,r=!1){const o=cn||vn;if(o){const s=o.type;if(e===Mh){const c=Tp(s,!1);if(c&&(c===t||c===Ln(t)||c===hu(Ln(t))))return s}const a=mb(o[e]||s[e],t)||mb(o.appContext[e],t);return!a&&r?s:a}}function mb(e,t){return e&&(e[t]||e[Ln(t)]||e[hu(Ln(t))])}function $s(e,t,n,r){let o;const s=n&&n[r],a=Le(e);if(a||At(e)){const c=a&&xo(e);let u=!1,f=!1;c&&(u=!or(e),f=Io(e),e=yu(e)),o=new Array(e.length);for(let p=0,h=e.length;p<h;p++)o[p]=t(u?f?ks(Fr(e[p])):Fr(e[p]):e[p],p,void 0,s&&s[p])}else if(typeof e=="number"){o=new Array(e);for(let c=0;c<e;c++)o[c]=t(c+1,c,void 0,s&&s[c])}else if(ht(e))if(e[Symbol.iterator])o=Array.from(e,(c,u)=>t(c,u,void 0,s&&s[u]));else{const c=Object.keys(e);o=new Array(c.length);for(let u=0,f=c.length;u<f;u++){const p=c[u];o[u]=t(e[p],p,u,s&&s[u])}}else o=[];return n&&(n[r]=o),o}function ni(e,t,n={},r,o,s){if(cn.ce||cn.parent&&ti(cn.parent)&&cn.parent.ce){const f=s!=null&&n.key==null?nn({},n,{key:s}):n,p=Object.keys(f).length>0;return t!=="default"&&(f.name=t),Se(),_t(Vt,null,[Gt("slot",f,r&&r())],p?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const c=To.length;Se();let u;try{const f=a&&z0(a(n)),p=n.key||s||f&&f.key;u=_t(Vt,{key:(p&&!ir(p)?p:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let p=To.length;p>c;p--)jh();throw f}finally{a&&a._c&&(a._d=!0)}return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function z0(e){return e.some(t=>xs(t)?!(t.type===ro||t.type===Vt&&!z0(t.children)):!0)?e:null}const Ep=e=>e?sE(e)?Tu(e):Ep(e.parent):null,ka=nn(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=>Ep(e.parent),$root:e=>Ep(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>W0(e),$forceUpdate:e=>e.f||(e.f=()=>{Lh(e.update)}),$nextTick:e=>e.n||(e.n=Ur.bind(e.proxy)),$watch:e=>iM.bind(e)}),bd=(e,t)=>e!==bt&&!e.__isScriptSetup&&dt(e,t),EM={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:c,appContext:u}=e;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(bd(r,t))return a[t]=1,r[t];if(o!==bt&&dt(o,t))return a[t]=2,o[t];if(dt(s,t))return a[t]=3,s[t];if(n!==bt&&dt(n,t))return a[t]=4,n[t];Sp&&(a[t]=0)}}const f=ka[t];let p,h;if(f)return t==="$attrs"&&_n(e.attrs,"get",""),f(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==bt&&dt(n,t))return a[t]=4,n[t];if(h=u.config.globalProperties,dt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return bd(o,t)?(o[t]=n,!0):r!==bt&&dt(r,t)?(r[t]=n,!0):dt(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:a}},c){let u;return!!(n[c]||e!==bt&&c[0]!=="$"&&dt(e,c)||bd(t,c)||dt(s,c)||dt(r,c)||dt(ka,c)||dt(o.config.globalProperties,c)||(u=a.__cssModules)&&u[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function SM(){return CM().attrs}function CM(e){const t=ar();return t.setupContext||(t.setupContext=lE(t))}function gb(e){return Le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Sp=!0;function kM(e){const t=W0(e),n=e.proxy,r=e.ctx;Sp=!1,t.beforeCreate&&yb(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:c,provide:u,inject:f,created:p,beforeMount:h,mounted:g,beforeUpdate:y,updated:E,activated:b,deactivated:T,beforeDestroy:v,beforeUnmount:w,destroyed:A,unmounted:S,render:N,renderTracked:O,renderTriggered:I,errorCaptured:k,serverPrefetch:D,expose:B,inheritAttrs:K,components:le,directives:se,filters:z}=t;if(f&&xM(f,r,null),a)for(const de in a){const ve=a[de];Ne(ve)&&(r[de]=ve.bind(n))}if(o){const de=o.call(n,n);ht(de)&&(e.data=Ka(de))}if(Sp=!0,s)for(const de in s){const ve=s[de],ze=Ne(ve)?ve.bind(n,n):Ne(ve.get)?ve.get.bind(n,n):to,Ut=!Ne(ve)&&Ne(ve.set)?ve.set.bind(n):to,Ze=ue({get:ze,set:Ut});Object.defineProperty(r,de,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:De=>Ze.value=De})}if(c)for(const de in c)B0(c[de],r,n,de);if(u){const de=Ne(u)?u.call(n):u;Reflect.ownKeys(de).forEach(ve=>{Ti(ve,de[ve])})}p&&yb(p,e,"c");function ae(de,ve){Le(ve)?ve.forEach(ze=>de(ze.bind(n))):ve&&de(ve.bind(n))}if(ae(pM,h),ae(Er,g),ae(hM,y),ae(j0,E),ae(uM,b),ae(fM,T),ae(bM,k),ae(yM,O),ae(gM,I),ae(Cu,w),ae(Fs,S),ae(mM,D),Le(B))if(B.length){const de=e.exposed||(e.exposed={});B.forEach(ve=>{Object.defineProperty(de,ve,{get:()=>n[ve],set:ze=>n[ve]=ze,enumerable:!0})})}else e.exposed||(e.exposed={});N&&e.render===to&&(e.render=N),K!=null&&(e.inheritAttrs=K),le&&(e.components=le),se&&(e.directives=se),D&&D0(e)}function xM(e,t,n=to){Le(e)&&(e=Cp(e));for(const r in e){const o=e[r];let s;ht(o)?"default"in o?s=En(o.from||r,o.default,!0):s=En(o.from||r):s=En(o),Pt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function yb(e,t,n){$r(Le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function B0(e,t,n,r){let o=r.includes(".")?N0(n,r):()=>n[r];if(At(e)){const s=t[e];Ne(s)&&gt(o,s)}else if(Ne(e))gt(o,e.bind(n));else if(ht(e))if(Le(e))e.forEach(s=>B0(s,t,n,r));else{const s=Ne(e.handler)?e.handler.bind(n):t[e.handler];Ne(s)&&gt(o,s,e)}}function W0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,c=s.get(t);let u;return c?u=c:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(f=>jc(u,f,a,!0)),jc(u,t,a)),ht(t)&&s.set(t,u),u}function jc(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&jc(e,s,n,!0),o&&o.forEach(a=>jc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const c=TM[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const TM={data:bb,props:_b,emits:_b,methods:da,computed:da,beforeCreate:Pn,created:Pn,beforeMount:Pn,mounted:Pn,beforeUpdate:Pn,updated:Pn,beforeDestroy:Pn,beforeUnmount:Pn,destroyed:Pn,unmounted:Pn,activated:Pn,deactivated:Pn,errorCaptured:Pn,serverPrefetch:Pn,components:da,directives:da,watch:AM,provide:bb,inject:OM};function bb(e,t){return t?e?function(){return nn(Ne(e)?e.call(this,this):e,Ne(t)?t.call(this,this):t)}:t:e}function OM(e,t){return da(Cp(e),Cp(t))}function Cp(e){if(Le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pn(e,t){return e?[...new Set([].concat(e,t))]:t}function da(e,t){return e?nn(Object.create(null),e,t):t}function _b(e,t){return e?Le(e)&&Le(t)?[...new Set([...e,...t])]:nn(Object.create(null),gb(e),gb(t??{})):t}function AM(e,t){if(!e)return t;if(!t)return e;const n=nn(Object.create(null),e);for(const r in t)n[r]=Pn(e[r],t[r]);return n}function H0(){return{app:null,config:{isNativeTag:Jw,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 PM=0;function IM(e,t){return function(r,o=null){Ne(r)||(r=nn({},r)),o!=null&&!ht(o)&&(o=null);const s=H0(),a=new WeakSet,c=[];let u=!1;const f=s.app={_uid:PM++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:oN,get config(){return s.config},set config(p){},use(p,...h){return a.has(p)||(p&&Ne(p.install)?(a.add(p),p.install(f,...h)):Ne(p)&&(a.add(p),p(f,...h))),f},mixin(p){return s.mixins.includes(p)||s.mixins.push(p),f},component(p,h){return h?(s.components[p]=h,f):s.components[p]},directive(p,h){return h?(s.directives[p]=h,f):s.directives[p]},mount(p,h,g){if(!u){const y=f._ceVNode||Gt(r,o);return y.appContext=s,g===!0?g="svg":g===!1&&(g=void 0),e(y,p,g),u=!0,f._container=p,p.__vue_app__=f,Tu(y.component)}},onUnmount(p){c.push(p)},unmount(){u&&($r(c,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(p,h){return s.provides[p]=h,f},runWithContext(p){const h=Oi;Oi=f;try{return p()}finally{Oi=h}}};return f}}let Oi=null;const LM=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ln(t)}Modifiers`]||e[`${Di(t)}Modifiers`];function RM(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||bt;let o=n;const s=t.startsWith("update:"),a=s&&LM(r,t.slice(7));a&&(a.trim&&(o=n.map(p=>At(p)?p.trim():p)),a.number&&(o=n.map(yR)));let c,u=r[c=_c(t)]||r[c=_c(Ln(t))];!u&&s&&(u=r[c=_c(Di(t))]),u&&$r(u,e,6,o);const f=r[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,$r(f,e,6,o)}}const MM=new WeakMap;function V0(e,t,n=!1){const r=n?MM:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},c=!1;if(!Ne(e)){const u=f=>{const p=V0(f,t,!0);p&&(c=!0,nn(a,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!c?(ht(e)&&r.set(e,null),null):(Le(s)?s.forEach(u=>a[u]=null):nn(a,s),ht(e)&&r.set(e,a),a)}function ku(e,t){return!e||!uu(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,Di(t))||dt(e,t))}function vb(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:p,props:h,data:g,setupState:y,ctx:E,inheritAttrs:b}=e,T=Fc(e);let v,w;try{if(n.shapeFlag&4){const S=o||r,N=S;v=Jr(f.call(N,S,p,h,y,g,E)),w=c}else{const S=t;v=Jr(S.length>1?S(h,{attrs:c,slots:a,emit:u}):S(h,null)),w=t.props?c:NM(c)}}catch(S){To.length=0,wu(S,e,1),v=Gt(ro)}let A=v;if(w&&b!==!1){const S=Object.keys(w),{shapeFlag:N}=A;S.length&&N&7&&(s&&S.some(fu)&&(w=DM(w,s)),A=Ri(A,w,!1,!0))}return n.dirs&&(A=Ri(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&Eu(A,n.transition),v=A,Fc(T),v}const NM=e=>{let t;for(const n in e)(n==="class"||n==="style"||uu(n))&&((t||(t={}))[n]=e[n]);return t},DM=(e,t)=>{const n={};for(const r in e)(!fu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function FM(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:c,patchFlag:u}=t,f=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?wb(r,a,f):!!a;if(u&8){const p=t.dynamicProps;for(let h=0;h<p.length;h++){const g=p[h];if(G0(a,r,g)&&!ku(f,g))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:r===a?!1:r?a?wb(r,a,f):!0:!!a;return!1}function wb(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(G0(t,e,s)&&!ku(n,s))return!0}return!1}function G0(e,t,n){const r=e[n],o=t[n];return n==="style"&&ht(r)&&ht(o)?!kh(r,o):r!==o}function $M({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 K0={},q0=()=>Object.create(K0),Y0=e=>Object.getPrototypeOf(e)===K0;function jM(e,t,n,r=!1){const o={},s=q0();e.propsDefaults=Object.create(null),X0(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:S0(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function UM(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,c=nt(o),[u]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let h=0;h<p.length;h++){let g=p[h];if(ku(e.emitsOptions,g))continue;const y=t[g];if(u)if(dt(s,g))y!==s[g]&&(s[g]=y,f=!0);else{const E=Ln(g);o[E]=kp(u,c,E,y,e,!1)}else y!==s[g]&&(s[g]=y,f=!0)}}}else{X0(e,t,o,s)&&(f=!0);let p;for(const h in c)(!t||!dt(t,h)&&((p=Di(h))===h||!dt(t,p)))&&(u?n&&(n[h]!==void 0||n[p]!==void 0)&&(o[h]=kp(u,c,h,void 0,e,!0)):delete o[h]);if(s!==c)for(const h in s)(!t||!dt(t,h))&&(delete s[h],f=!0)}f&&Eo(e.attrs,"set","")}function X0(e,t,n,r){const[o,s]=e.propsOptions;let a=!1,c;if(t)for(let u in t){if(va(u))continue;const f=t[u];let p;o&&dt(o,p=Ln(u))?!s||!s.includes(p)?n[p]=f:(c||(c={}))[p]=f:ku(e.emitsOptions,u)||(!(u in r)||f!==r[u])&&(r[u]=f,a=!0)}if(s){const u=nt(n),f=c||bt;for(let p=0;p<s.length;p++){const h=s[p];n[h]=kp(o,u,h,f[h],e,!dt(f,h))}}return a}function kp(e,t,n,r,o,s){const a=e[n];if(a!=null){const c=dt(a,"default");if(c&&r===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&Ne(u)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const p=Ja(o);r=f[n]=u.call(null,t),p()}}else r=u;o.ce&&o.ce._setProp(n,r)}a[0]&&(s&&!c?r=!1:a[1]&&(r===""||r===Di(n))&&(r=!0))}return r}const zM=new WeakMap;function J0(e,t,n=!1){const r=n?zM:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,a={},c=[];let u=!1;if(!Ne(e)){const p=h=>{u=!0;const[g,y]=J0(h,t,!0);nn(a,g),y&&c.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!s&&!u)return ht(e)&&r.set(e,_s),_s;if(Le(s))for(let p=0;p<s.length;p++){const h=Ln(s[p]);Eb(h)&&(a[h]=bt)}else if(s)for(const p in s){const h=Ln(p);if(Eb(h)){const g=s[p],y=a[h]=Le(g)||Ne(g)?{type:g}:nn({},g),E=y.type;let b=!1,T=!0;if(Le(E))for(let v=0;v<E.length;++v){const w=E[v],A=Ne(w)&&w.name;if(A==="Boolean"){b=!0;break}else A==="String"&&(T=!1)}else b=Ne(E)&&E.name==="Boolean";y[0]=b,y[1]=T,(b||dt(y,"default"))&&c.push(h)}}const f=[a,c];return ht(e)&&r.set(e,f),f}function Eb(e){return e[0]!=="$"&&!va(e)}const Fh=e=>e==="_"||e==="_ctx"||e==="$stable",$h=e=>Le(e)?e.map(Jr):[Jr(e)],BM=(e,t,n)=>{if(t._n)return t;const r=Li((...o)=>$h(t(...o)),n);return r._c=!1,r},Q0=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Fh(o))continue;const s=e[o];if(Ne(s))t[o]=BM(o,s,r);else if(s!=null){const a=$h(s);t[o]=()=>a}}},Z0=(e,t)=>{const n=$h(t);e.slots.default=()=>n},eE=(e,t,n)=>{for(const r in t)(n||!Fh(r))&&(e[r]=t[r])},WM=(e,t,n)=>{const r=e.slots=q0();if(e.vnode.shapeFlag&32){const o=t._;o?(eE(r,t,n),n&&n0(r,"_",o,!0)):Q0(t,r)}else t&&Z0(e,t)},HM=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=bt;if(r.shapeFlag&32){const c=t._;c?n&&c===1?s=!1:eE(o,t,n):(s=!t.$stable,Q0(t,o)),a=t}else t&&(Z0(e,t),a={default:1});if(s)for(const c in o)!Fh(c)&&a[c]==null&&delete o[c]},Zt=YM;function VM(e){return GM(e)}function GM(e,t){const n=mu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:c,createComment:u,setText:f,setElementText:p,parentNode:h,nextSibling:g,setScopeId:y=to,insertStaticContent:E}=e,b=(R,F,G,J=null,ne=null,Q=null,P=void 0,L=null,j=!!F.dynamicChildren)=>{if(R===F)return;R&&!ds(R,F)&&(J=te(R),De(R,ne,Q,!0),R=null),F.patchFlag===-2&&(j=!1,F.dynamicChildren=null);const{type:H,ref:fe,shapeFlag:oe}=F;switch(H){case Xa:T(R,F,G,J);break;case ro:v(R,F,G,J);break;case vd:R==null&&w(F,G,J,P);break;case Vt:le(R,F,G,J,ne,Q,P,L,j);break;default:oe&1?N(R,F,G,J,ne,Q,P,L,j):oe&6?se(R,F,G,J,ne,Q,P,L,j):(oe&64||oe&128)&&H.process(R,F,G,J,ne,Q,P,L,j,we)}fe!=null&&ne?Ca(fe,R&&R.ref,Q,F||R,!F):fe==null&&R&&R.ref!=null&&Ca(R.ref,null,Q,R,!0)},T=(R,F,G,J)=>{if(R==null)r(F.el=c(F.children),G,J);else{const ne=F.el=R.el;F.children!==R.children&&f(ne,F.children)}},v=(R,F,G,J)=>{R==null?r(F.el=u(F.children||""),G,J):F.el=R.el},w=(R,F,G,J)=>{[R.el,R.anchor]=E(R.children,F,G,J,R.el,R.anchor)},A=({el:R,anchor:F},G,J)=>{let ne;for(;R&&R!==F;)ne=g(R),r(R,G,J),R=ne;r(F,G,J)},S=({el:R,anchor:F})=>{let G;for(;R&&R!==F;)G=g(R),o(R),R=G;o(F)},N=(R,F,G,J,ne,Q,P,L,j)=>{if(F.type==="svg"?P="svg":F.type==="math"&&(P="mathml"),R==null)O(F,G,J,ne,Q,P,L,j);else{const H=R.el&&R.el._isVueCE?R.el:null;try{H&&H._beginPatch(),D(R,F,ne,Q,P,L,j)}finally{H&&H._endPatch()}}},O=(R,F,G,J,ne,Q,P,L)=>{let j,H;const{props:fe,shapeFlag:oe,transition:U,dirs:X}=R;if(j=R.el=a(R.type,Q,fe&&fe.is,fe),oe&8?p(j,R.children):oe&16&&k(R.children,j,null,J,ne,_d(R,Q),P,L),X&&bi(R,null,J,"created"),I(j,R,R.scopeId,P,J),fe){for(const ke in fe)ke!=="value"&&!va(ke)&&s(j,ke,null,fe[ke],Q,J);"value"in fe&&s(j,"value",null,fe.value,Q),(H=fe.onVnodeBeforeMount)&&yr(H,J,R)}X&&bi(R,null,J,"beforeMount");const be=KM(ne,U);be&&U.beforeEnter(j),r(j,F,G),((H=fe&&fe.onVnodeMounted)||be||X)&&Zt(()=>{H&&yr(H,J,R),be&&U.enter(j),X&&bi(R,null,J,"mounted")},ne)},I=(R,F,G,J,ne)=>{if(G&&y(R,G),J)for(let Q=0;Q<J.length;Q++)y(R,J[Q]);if(ne){let Q=ne.subTree;if(F===Q||zc(Q.type)&&(Q.ssContent===F||Q.ssFallback===F)){const P=ne.vnode;I(R,P,P.scopeId,P.slotScopeIds,ne.parent)}}},k=(R,F,G,J,ne,Q,P,L,j=0)=>{for(let H=j;H<R.length;H++){const fe=R[H]=L?wo(R[H]):Jr(R[H]);b(null,fe,F,G,J,ne,Q,P,L)}},D=(R,F,G,J,ne,Q,P)=>{const L=F.el=R.el;let{patchFlag:j,dynamicChildren:H,dirs:fe}=F;j|=R.patchFlag&16;const oe=R.props||bt,U=F.props||bt;let X;if(G&&_i(G,!1),(X=U.onVnodeBeforeUpdate)&&yr(X,G,F,R),fe&&bi(F,R,G,"beforeUpdate"),G&&_i(G,!0),H&&(!R.dynamicChildren||R.dynamicChildren.length!==H.length)&&(j=0,P=!1,H=null),(oe.innerHTML&&U.innerHTML==null||oe.textContent&&U.textContent==null)&&p(L,""),H?B(R.dynamicChildren,H,L,G,J,_d(F,ne),Q):P||ve(R,F,L,null,G,J,_d(F,ne),Q,!1),j>0){if(j&16)K(L,oe,U,G,ne);else if(j&2&&oe.class!==U.class&&s(L,"class",null,U.class,ne),j&4&&s(L,"style",oe.style,U.style,ne),j&8){const be=F.dynamicProps;for(let ke=0;ke<be.length;ke++){const je=be[ke],Xe=oe[je],et=U[je];(et!==Xe||je==="value")&&s(L,je,Xe,et,ne,G)}}j&1&&R.children!==F.children&&p(L,F.children)}else!P&&H==null&&K(L,oe,U,G,ne);((X=U.onVnodeUpdated)||fe)&&Zt(()=>{X&&yr(X,G,F,R),fe&&bi(F,R,G,"updated")},J)},B=(R,F,G,J,ne,Q,P)=>{for(let L=0;L<F.length;L++){const j=R[L],H=F[L],fe=j.el&&(j.type===Vt||!ds(j,H)||j.shapeFlag&198)?h(j.el):G;b(j,H,fe,null,J,ne,Q,P,!0)}},K=(R,F,G,J,ne)=>{if(F!==G){if(F!==bt)for(const Q in F)!va(Q)&&!(Q in G)&&s(R,Q,F[Q],null,ne,J);for(const Q in G){if(va(Q))continue;const P=G[Q],L=F[Q];P!==L&&Q!=="value"&&s(R,Q,L,P,ne,J)}"value"in G&&s(R,"value",F.value,G.value,ne)}},le=(R,F,G,J,ne,Q,P,L,j)=>{const H=F.el=R?R.el:c(""),fe=F.anchor=R?R.anchor:c("");let{patchFlag:oe,dynamicChildren:U,slotScopeIds:X}=F;X&&(L=L?L.concat(X):X),R==null?(r(H,G,J),r(fe,G,J),k(F.children||[],G,fe,ne,Q,P,L,j)):oe>0&&oe&64&&U&&R.dynamicChildren&&R.dynamicChildren.length===U.length?(B(R.dynamicChildren,U,G,ne,Q,P,L),(F.key!=null||ne&&F===ne.subTree)&&tE(R,F,!0)):ve(R,F,G,fe,ne,Q,P,L,j)},se=(R,F,G,J,ne,Q,P,L,j)=>{F.slotScopeIds=L,R==null?F.shapeFlag&512?ne.ctx.activate(F,G,J,P,j):z(F,G,J,ne,Q,P,j):ee(R,F,j)},z=(R,F,G,J,ne,Q,P)=>{const L=R.component=ZM(R,J,ne);if(F0(R)&&(L.ctx.renderer=we),eN(L,!1,P),L.asyncDep){if(ne&&ne.registerDep(L,ae,P),!R.el){const j=L.subTree=Gt(ro);v(null,j,F,G),R.placeholder=j.el}}else ae(L,R,F,G,ne,Q,P)},ee=(R,F,G)=>{const J=F.component=R.component;if(FM(R,F,G))if(J.asyncDep&&!J.asyncResolved){de(J,F,G);return}else J.next=F,J.update();else F.el=R.el,J.vnode=F},ae=(R,F,G,J,ne,Q,P)=>{const L=()=>{if(R.isMounted){let{next:oe,bu:U,u:X,parent:be,vnode:ke}=R;{const xn=nE(R);if(xn){oe&&(oe.el=ke.el,de(R,oe,P)),xn.asyncDep.then(()=>{Zt(()=>{R.isUnmounted||H()},ne)});return}}let je=oe,Xe;_i(R,!1),oe?(oe.el=ke.el,de(R,oe,P)):oe=ke,U&&wa(U),(Xe=oe.props&&oe.props.onVnodeBeforeUpdate)&&yr(Xe,be,oe,ke),_i(R,!0);const et=vb(R),pn=R.subTree;R.subTree=et,b(pn,et,h(pn.el),te(pn),R,ne,Q),oe.el=et.el,je===null&&$M(R,et.el),X&&Zt(X,ne),(Xe=oe.props&&oe.props.onVnodeUpdated)&&Zt(()=>yr(Xe,be,oe,ke),ne)}else{let oe;const{el:U,props:X}=F,{bm:be,m:ke,parent:je,root:Xe,type:et}=R,pn=ti(F);_i(R,!1),be&&wa(be),!pn&&(oe=X&&X.onVnodeBeforeMount)&&yr(oe,je,F),_i(R,!0);{Xe.ce&&Xe.ce._hasShadowRoot()&&Xe.ce._injectChildStyle(et,R.parent?R.parent.type:void 0);const xn=R.subTree=vb(R);b(null,xn,G,J,R,ne,Q),F.el=xn.el}if(ke&&Zt(ke,ne),!pn&&(oe=X&&X.onVnodeMounted)){const xn=F;Zt(()=>yr(oe,je,xn),ne)}(F.shapeFlag&256||je&&ti(je.vnode)&&je.vnode.shapeFlag&256)&&R.a&&Zt(R.a,ne),R.isMounted=!0,F=G=J=null}};R.scope.on();const j=R.effect=new a0(L);R.scope.off();const H=R.update=j.run.bind(j),fe=R.job=j.runIfDirty.bind(j);fe.i=R,fe.id=R.uid,j.scheduler=()=>Lh(fe),_i(R,!0),H()},de=(R,F,G)=>{F.component=R;const J=R.vnode.props;R.vnode=F,R.next=null,UM(R,F.props,J,G),HM(R,F.children,G),Ao(),db(R),Po()},ve=(R,F,G,J,ne,Q,P,L,j=!1)=>{const H=R&&R.children,fe=R?R.shapeFlag:0,oe=F.children,{patchFlag:U,shapeFlag:X}=F;if(U>0){if(U&128){Ut(H,oe,G,J,ne,Q,P,L,j);return}else if(U&256){ze(H,oe,G,J,ne,Q,P,L,j);return}}X&8?(fe&16&&Mt(H,ne,Q),oe!==H&&p(G,oe)):fe&16?X&16?Ut(H,oe,G,J,ne,Q,P,L,j):Mt(H,ne,Q,!0):(fe&8&&p(G,""),X&16&&k(oe,G,J,ne,Q,P,L,j))},ze=(R,F,G,J,ne,Q,P,L,j)=>{R=R||_s,F=F||_s;const H=R.length,fe=F.length,oe=Math.min(H,fe);let U;for(U=0;U<oe;U++){const X=F[U]=j?wo(F[U]):Jr(F[U]);b(R[U],X,G,null,ne,Q,P,L,j)}H>fe?Mt(R,ne,Q,!0,!1,oe):k(F,G,J,ne,Q,P,L,j,oe)},Ut=(R,F,G,J,ne,Q,P,L,j)=>{let H=0;const fe=F.length;let oe=R.length-1,U=fe-1;for(;H<=oe&&H<=U;){const X=R[H],be=F[H]=j?wo(F[H]):Jr(F[H]);if(ds(X,be))b(X,be,G,null,ne,Q,P,L,j);else break;H++}for(;H<=oe&&H<=U;){const X=R[oe],be=F[U]=j?wo(F[U]):Jr(F[U]);if(ds(X,be))b(X,be,G,null,ne,Q,P,L,j);else break;oe--,U--}if(H>oe){if(H<=U){const X=U+1,be=X<fe?F[X].el:J;for(;H<=U;)b(null,F[H]=j?wo(F[H]):Jr(F[H]),G,be,ne,Q,P,L,j),H++}}else if(H>U)for(;H<=oe;)De(R[H],ne,Q,!0),H++;else{const X=H,be=H,ke=new Map;for(H=be;H<=U;H++){const sn=F[H]=j?wo(F[H]):Jr(F[H]);sn.key!=null&&ke.set(sn.key,H)}let je,Xe=0;const et=U-be+1;let pn=!1,xn=0;const io=new Array(et);for(H=0;H<et;H++)io[H]=0;for(H=X;H<=oe;H++){const sn=R[H];if(Xe>=et){De(sn,ne,Q,!0);continue}let Nn;if(sn.key!=null)Nn=ke.get(sn.key);else for(je=be;je<=U;je++)if(io[je-be]===0&&ds(sn,F[je])){Nn=je;break}Nn===void 0?De(sn,ne,Q,!0):(io[Nn-be]=H+1,Nn>=xn?xn=Nn:pn=!0,b(sn,F[Nn],G,null,ne,Q,P,L,j),Xe++)}const $i=pn?qM(io):_s;for(je=$i.length-1,H=et-1;H>=0;H--){const sn=be+H,Nn=F[sn],ji=F[sn+1],Ui=sn+1<fe?ji.el||rE(ji):J;io[H]===0?b(null,Nn,G,Ui,ne,Q,P,L,j):pn&&(je<0||H!==$i[je]?Ze(Nn,G,Ui,2):je--)}}},Ze=(R,F,G,J,ne=null)=>{const{el:Q,type:P,transition:L,children:j,shapeFlag:H}=R;if(H&6){Ze(R.component.subTree,F,G,J);return}if(H&128){R.suspense.move(F,G,J);return}if(H&64){P.move(R,F,G,we);return}if(P===Vt){r(Q,F,G);for(let oe=0;oe<j.length;oe++)Ze(j[oe],F,G,J);r(R.anchor,F,G);return}if(P===vd){A(R,F,G);return}if(J!==2&&H&1&&L)if(J===0)L.persisted&&!Q[gd]?r(Q,F,G):(L.beforeEnter(Q),r(Q,F,G),Zt(()=>L.enter(Q),ne));else{const{leave:oe,delayLeave:U,afterLeave:X}=L,be=()=>{R.ctx.isUnmounted?o(Q):r(Q,F,G)},ke=()=>{const je=Q._isLeaving||!!Q[gd];Q._isLeaving&&Q[gd](!0),L.persisted&&!je?be():oe(Q,()=>{be(),X&&X()})};U?U(Q,be,ke):ke()}else r(Q,F,G)},De=(R,F,G,J=!1,ne=!1)=>{const{type:Q,props:P,ref:L,children:j,dynamicChildren:H,shapeFlag:fe,patchFlag:oe,dirs:U,cacheIndex:X,memo:be}=R;if(oe===-2&&(ne=!1),L!=null&&(Ao(),Ca(L,null,G,R,!0),Po()),X!=null&&(F.renderCache[X]=void 0),fe&256){F.ctx.deactivate(R);return}const ke=fe&1&&U,je=!ti(R);let Xe;if(je&&(Xe=P&&P.onVnodeBeforeUnmount)&&yr(Xe,F,R),fe&6)kn(R.component,G,J);else{if(fe&128){R.suspense.unmount(G,J);return}ke&&bi(R,null,F,"beforeUnmount"),fe&64?R.type.remove(R,F,G,we,J):H&&!H.hasOnce&&(Q!==Vt||oe>0&&oe&64)?Mt(H,F,G,!1,!0):(Q===Vt&&oe&384||!ne&&fe&16)&&Mt(j,F,G),J&&dn(R)}const et=be!=null&&X==null;(je&&(Xe=P&&P.onVnodeUnmounted)||ke||et)&&Zt(()=>{Xe&&yr(Xe,F,R),ke&&bi(R,null,F,"unmounted"),et&&(R.el=null)},G)},dn=R=>{const{type:F,el:G,anchor:J,transition:ne}=R;if(F===Vt){on(G,J);return}if(F===vd){S(R);return}const Q=()=>{o(G),ne&&!ne.persisted&&ne.afterLeave&&ne.afterLeave()};if(R.shapeFlag&1&&ne&&!ne.persisted){const{leave:P,delayLeave:L}=ne,j=()=>P(G,Q);L?L(R.el,Q,j):j()}else Q()},on=(R,F)=>{let G;for(;R!==F;)G=g(R),o(R),R=G;o(F)},kn=(R,F,G)=>{const{bum:J,scope:ne,job:Q,subTree:P,um:L,m:j,a:H}=R;Uc(j),Uc(H),J&&wa(J),ne.stop(),Q&&(Q.flags|=8,De(P,R,F,G)),L&&Zt(L,F),Zt(()=>{R.isUnmounted=!0},F)},Mt=(R,F,G,J=!1,ne=!1,Q=0)=>{for(let P=Q;P<R.length;P++)De(R[P],F,G,J,ne)},te=R=>{if(R.shapeFlag&6)return te(R.component.subTree);if(R.shapeFlag&128)return R.suspense.next();const F=g(R.anchor||R.el),G=F&&F[sM];return G?g(G):F};let ge=!1;const he=(R,F,G)=>{let J;R==null?F._vnode&&(De(F._vnode,null,null,!0),J=F._vnode.component):b(F._vnode||null,R,F,null,null,null,G),F._vnode=R,ge||(ge=!0,db(J),I0(),ge=!1)},we={p:b,um:De,m:Ze,r:dn,mt:z,mc:k,pc:ve,pbc:B,n:te,o:e};return{render:he,hydrate:void 0,createApp:IM(he)}}function _d({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 _i({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function KM(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tE(e,t,n=!1){const r=e.children,o=t.children;if(Le(r)&&Le(o))for(let s=0;s<r.length;s++){const a=r[s];let c=o[s];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[s]=wo(o[s]),c.el=a.el),!n&&c.patchFlag!==-2&&tE(a,c)),c.type===Xa&&(c.patchFlag===-1&&(c=o[s]=wo(c)),c.el=a.el),c.type===ro&&!c.el&&(c.el=a.el)}}function qM(e){const t=e.slice(),n=[0];let r,o,s,a,c;const u=e.length;for(r=0;r<u;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(s=0,a=n.length-1;s<a;)c=s+a>>1,e[n[c]]<f?s=c+1:a=c;f<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function nE(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nE(t)}function Uc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function rE(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?rE(t.subTree):null}const zc=e=>e.__isSuspense;function YM(e,t){t&&t.pendingBranch?Le(e)?t.effects.push(...e):t.effects.push(e):nM(e)}const Vt=Symbol.for("v-fgt"),Xa=Symbol.for("v-txt"),ro=Symbol.for("v-cmt"),vd=Symbol.for("v-stc"),To=[];let rr=null;function Se(e=!1){To.push(rr=e?null:[])}function jh(){To.pop(),rr=To[To.length-1]||null}let Ma=1;function Bc(e,t=!1){Ma+=e,e<0&&rr&&t&&(rr.hasOnce=!0)}function oE(e){return e.dynamicChildren=Ma>0?rr||_s:null,jh(),Ma>0&&rr&&rr.push(e),e}function pt(e,t,n,r,o,s){return oE(mt(e,t,n,r,o,s,!0))}function _t(e,t,n,r,o){return oE(Gt(e,t,n,r,o,!0))}function xs(e){return e?e.__v_isVNode===!0:!1}function ds(e,t){return e.type===t.type&&e.key===t.key}const iE=({key:e})=>e??null,vc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?At(e)||Pt(e)||Ne(e)?{i:cn,r:e,k:t,f:!!n}:e:null);function mt(e,t=null,n=null,r=0,o=null,s=e===Vt?0:1,a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&iE(t),ref:t&&vc(t),scopeId:R0,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:cn};return c?(Hc(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=At(n)?8:16),Ma>0&&!a&&rr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&rr.push(u),u}const Gt=XM;function XM(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===U0)&&(e=ro),xs(e)){const c=Ri(e,t,!0);return n&&Hc(c,n),Ma>0&&!s&&rr&&(c.shapeFlag&6?rr[rr.indexOf(e)]=c:rr.push(c)),c.patchFlag=-2,c}if(rN(e)&&(e=e.__vccOpts),t){t=xu(t);let{class:c,style:u}=t;c&&!At(c)&&(t.class=xt(c)),ht(u)&&(vu(u)&&!Le(u)&&(u=nn({},u)),t.style=Bn(u))}const a=At(e)?1:zc(e)?128:aM(e)?64:ht(e)?4:Ne(e)?2:0;return mt(e,t,n,r,o,a,s,!0)}function xu(e){return e?vu(e)||Y0(e)?nn({},e):e:null}function Ri(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:c,transition:u}=e,f=t?Nr(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&iE(f),ref:t&&t.ref?n&&s?Le(s)?s.concat(vc(t)):[s,vc(t)]:vc(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ri(e.ssContent),ssFallback:e.ssFallback&&Ri(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&Eu(p,u.clone(p)),p}function Wc(e=" ",t=0){return Gt(Xa,null,e,t)}function Mr(e="",t=!1){return t?(Se(),_t(ro,null,e)):Gt(ro,null,e)}function Jr(e){return e==null||typeof e=="boolean"?Gt(ro):Le(e)?Gt(Vt,null,e.slice()):xs(e)?wo(e):Gt(Xa,null,String(e))}function wo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ri(e)}function Hc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Hc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Y0(t)?t._ctx=cn:o===3&&cn&&(cn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ne(t)){if(r&65){Hc(e,{default:t});return}t={default:t,_ctx:cn},n=32}else t=String(t),r&64?(n=16,t=[Wc(t)]):n=8;e.children=t,e.shapeFlag|=n}function Nr(...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=xt([t.class,r.class]));else if(o==="style")t.style=Bn([t.style,r.style]);else if(uu(o)){const s=t[o],a=r[o];a&&s!==a&&!(Le(s)&&s.includes(a))?t[o]=s?[].concat(s,a):a:a==null&&s==null&&!fu(o)&&(t[o]=a)}else o!==""&&(t[o]=r[o])}return t}function yr(e,t,n,r=null){$r(e,t,7,[n,r])}const JM=H0();let QM=0;function ZM(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||JM,s={uid:QM++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new s0(!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:J0(r,o),emitsOptions:V0(r,o),emit:null,emitted:null,propsDefaults:bt,inheritAttrs:r.inheritAttrs,ctx:bt,data:bt,props:bt,attrs:bt,slots:bt,refs:bt,setupState:bt,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=RM.bind(null,s),e.ce&&e.ce(s),s}let vn=null;const ar=()=>vn||cn;let Vc,xp;{const e=mu(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};Vc=t("__VUE_INSTANCE_SETTERS__",n=>vn=n),xp=t("__VUE_SSR_SETTERS__",n=>Na=n)}const Ja=e=>{const t=vn;return Vc(e),e.scope.on(),()=>{e.scope.off(),Vc(t)}},Sb=()=>{vn&&vn.scope.off(),Vc(null)};function sE(e){return e.vnode.shapeFlag&4}let Na=!1;function eN(e,t=!1,n=!1){t&&xp(t);const{props:r,children:o}=e.vnode,s=sE(e);jM(e,r,s,t),WM(e,o,n||t);const a=s?tN(e,t):void 0;return t&&xp(!1),a}function tN(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,EM);const{setup:r}=n;if(r){Ao();const o=e.setupContext=r.length>1?lE(e):null,s=Ja(e),a=qa(r,e,0,[e.props,o]),c=Zw(a);if(Po(),s(),(c||e.sp)&&!ti(e)&&D0(e),c){if(a.then(Sb,Sb),t)return a.then(u=>{Cb(e,u)}).catch(u=>{wu(u,e,0)});e.asyncDep=a}else Cb(e,a)}else aE(e)}function Cb(e,t,n){Ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=k0(t)),aE(e)}function aE(e,t,n){const r=e.type;e.render||(e.render=r.render||to);{const o=Ja(e);Ao();try{kM(e)}finally{Po(),o()}}}const nN={get(e,t){return _n(e,"get",""),e[t]}};function lE(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,nN),slots:e.slots,emit:e.emit,expose:t}}function Tu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(k0(Ih(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ka)return ka[n](e)},has(t,n){return n in t||n in ka}})):e.proxy}function Tp(e,t=!0){return Ne(e)?e.displayName||e.name:e.name||t&&e.__name}function rN(e){return Ne(e)&&"__vccOpts"in e}const ue=(e,t)=>JR(e,t,Na);function oi(e,t,n){try{Bc(-1);const r=arguments.length;return r===2?ht(t)&&!Le(t)?xs(t)?Gt(e,null,[t]):Gt(e,t):Gt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&xs(n)&&(n=[n]),Gt(e,t,n))}finally{Bc(1)}}const oN="3.5.40";let Op;const kb=typeof window<"u"&&window.trustedTypes;if(kb)try{Op=kb.createPolicy("vue",{createHTML:e=>e})}catch{}const cE=Op?e=>Op.createHTML(e):e=>e,iN="http://www.w3.org/2000/svg",sN="http://www.w3.org/1998/Math/MathML",vo=typeof document<"u"?document:null,xb=vo&&vo.createElement("template"),aN={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"?vo.createElementNS(iN,e):t==="mathml"?vo.createElementNS(sN,e):n?vo.createElement(e,{is:n}):vo.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>vo.createTextNode(e),createComment:e=>vo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xb.innerHTML=cE(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=xb.content;if(r==="svg"||r==="mathml"){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lN=Symbol("_vtc");function cN(e,t,n){const r=e[lN];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gc=Symbol("_vod"),uE=Symbol("_vsh"),fE={name:"show",beforeMount(e,{value:t},{transition:n}){e[Gc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):oa(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),oa(e,!0),r.enter(e)):r.leave(e,()=>{oa(e,!1)}):oa(e,t))},beforeUnmount(e,{value:t}){oa(e,t)}};function oa(e,t){e.style.display=t?e[Gc]:"none",e[uE]=!t}const uN=Symbol(""),fN=/(?:^|;)\s*display\s*:/;function dN(e,t,n){const r=e.style,o=At(n);let s=!1;if(n&&!o){if(t)if(At(t))for(const a of t.split(";")){const c=a.slice(0,a.indexOf(":")).trim();n[c]==null&&pa(r,c,"")}else for(const a in t)n[a]==null&&pa(r,a,"");for(const a in n){a==="display"&&(s=!0);const c=n[a];c!=null?hN(e,a,!At(t)&&t?t[a]:void 0,c)||pa(r,a,c):pa(r,a,"")}}else if(o){if(t!==n){const a=r[uN];a&&(n+=";"+a),r.cssText=n,s=fN.test(n)}}else t&&e.removeAttribute("style");Gc in e&&(e[Gc]=s?r.display:"",e[uE]&&(r.display="none"))}const Tb=/\s*!important$/;function pa(e,t,n){if(Le(n))n.forEach(r=>pa(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pN(e,t);Tb.test(n)?e.setProperty(Di(r),n.replace(Tb,""),"important"):e[r]=n}}const Ob=["Webkit","Moz","ms"],wd={};function pN(e,t){const n=wd[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return wd[t]=r;r=hu(r);for(let o=0;o<Ob.length;o++){const s=Ob[o]+r;if(s in e)return wd[t]=s}return t}function hN(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&At(r)&&n===r}const Ab="http://www.w3.org/1999/xlink";function Pb(e,t,n,r,o,s=SR(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ab,t.slice(6,t.length)):e.setAttributeNS(Ab,t,n):n==null||s&&!r0(n)?e.removeAttribute(t):e.setAttribute(t,s?"":ir(n)?String(n):n)}function Ib(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?cE(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const c=s==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=r0(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function mN(e,t,n,r){e.addEventListener(t,n,r)}function gN(e,t,n,r){e.removeEventListener(t,n,r)}const Lb=Symbol("_vei");function yN(e,t,n,r,o=null){const s=e[Lb]||(e[Lb]={}),a=s[t];if(r&&a)a.value=r;else{const[c,u]=vN(t);if(r){const f=s[t]=SN(r,o);mN(e,c,f,u)}else a&&(gN(e,c,a,u),s[t]=void 0)}}const bN=/(Once|Passive|Capture)$/,_N=/^on:?(?:Once|Passive|Capture)$/;function vN(e){let t,n;for(;(n=e.match(bN))&&!_N.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Di(e.slice(2)),t]}let Ed=0;const wN=Promise.resolve(),EN=()=>Ed||(wN.then(()=>Ed=0),Ed=Date.now());function SN(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(Le(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const a=o.slice(),c=[r];for(let u=0;u<a.length&&!r._stopped;u++){const f=a[u];f&&$r(f,t,5,c)}}else $r(o,t,5,[r])};return n.value=e,n.attached=EN(),n}const Rb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,CN=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?cN(e,r,a):t==="style"?dN(e,n,r):uu(t)?fu(t)||yN(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kN(e,t,r,a))?(Ib(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pb(e,t,r,a,s,t!=="value")):e._isVueCE&&(xN(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!At(r)))?Ib(e,Ln(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Pb(e,t,r,a))};function kN(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Rb(t)&&Ne(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 Rb(t)&&At(n)?!1:t in e}function xN(e,t){const n=e._def.props;if(!n)return!1;const r=Ln(t);return Array.isArray(n)?n.some(o=>Ln(o)===r):Object.keys(n).some(o=>Ln(o)===r)}const TN=["ctrl","shift","alt","meta"],ON={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)=>TN.some(n=>e[`${n}Key`]&&!t.includes(n))},Mb=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let a=0;a<t.length;a++){const c=ON[t[a]];if(c&&c(o,t))return}return e(o,...s)}))},AN=nn({patchProp:CN},aN);let Nb;function PN(){return Nb||(Nb=VM(AN))}const IN=((...e)=>{const t=PN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=RN(r);if(!o)return;const s=t._component;!Ne(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,LN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function LN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function RN(e){return At(e)?document.querySelector(e):e}const Sd=new WeakMap,MN=(...e)=>{var t;const n=e[0],r=(t=ar())===null||t===void 0?void 0:t.proxy,o=r??Ga();if(o==null&&!Ya())throw new Error("injectLocal must be called in setup");return o&&Sd.has(o)&&n in Sd.get(o)?Sd.get(o)[n]:En(...e)},NN=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const DN=Object.prototype.toString,FN=e=>DN.call(e)==="[object Object]",$N=()=>{};function dE(...e){if(e.length!==1)return T0(...e);const t=e[0];return typeof t=="function"?Cs(x0(()=>({get:t,set:$N}))):Oe(t)}function jN(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 pE=e=>e();function UN(e=pE,t={}){const{initialState:n="active"}=t,r=dE(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:WR(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function Db(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Cd(e){return Array.isArray(e)?e:[e]}function zN(e){return ar()}function BN(e,t,n={}){const{eventFilter:r=pE,...o}=n;return gt(e,jN(r,t),o)}function WN(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=UN(r,{initialState:o});return{stop:BN(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function hE(e,t=!0,n){zN()?Er(e,n):t?e():Ur(e)}function HN(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Pt(e),s=Rn(e);function a(c){if(arguments.length)return s.value=c,s.value;{const u=tn(n);return s.value=s.value===u?tn(r):u,s.value}}return o?a:[s,a]}function VN(e,t,n){return gt(e,t,{...n,immediate:!0})}const Si=NN?window:void 0;function mE(e){var t;const n=tn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ap(...e){const t=(r,o,s,a)=>(r.addEventListener(o,s,a),()=>r.removeEventListener(o,s,a)),n=ue(()=>{const r=Cd(tn(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return VN(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>mE(s)))!==null&&r!==void 0?r:[Si].filter(s=>s!=null),Cd(tn(n.value?e[1]:e[0])),Cd(Ue(n.value?e[2]:e[1])),tn(n.value?e[3]:e[2])]},([r,o,s,a],c,u)=>{if(!r?.length||!o?.length||!s?.length)return;const f=FN(a)?{...a}:a,p=r.flatMap(h=>o.flatMap(g=>s.map(y=>t(h,g,y,f))));u(()=>{p.forEach(h=>h())})},{flush:"post"})}function GN(){const e=Rn(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function KN(e){const t=GN();return ue(()=>(t.value,!!e()))}const qN=Symbol("vueuse-ssr-width");function YN(){const e=Ya()?MN(qN,null):null;return typeof e=="number"?e:void 0}function XN(e,t={}){const{window:n=Si,ssrWidth:r=YN()}=t,o=KN(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Rn(typeof r=="number"),a=Rn(),c=Rn(!1),u=f=>{c.value=f.matches};return M0(()=>{if(s.value){s.value=!o.value,c.value=tn(e).split(",").some(f=>{const p=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let y=!!(h||g);return h&&y&&(y=r>=Db(h[1])),g&&y&&(y=r<=Db(g[1])),p?!y:y});return}o.value&&(a.value=n.matchMedia(tn(e)),c.value=a.value.matches)}),Ap(a,"change",u,{passive:!0}),ue(()=>c.value)}const Xl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Jl="__vueuse_ssr_handlers__",JN=QN();function QN(){return Jl in Xl||(Xl[Jl]=Xl[Jl]||{}),Xl[Jl]}function gE(e,t){return JN[e]||t}function ZN(e){return XN("(prefers-color-scheme: dark)",e)}function eD(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 tD={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()}},Fb="vueuse-storage";function nD(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=Si,eventFilter:g,onError:y=z=>{console.error(z)},initOnMounted:E}=r,b=(p?Rn:Oe)(typeof t=="function"?t():t),T=ue(()=>tn(e));if(!n)try{n=gE("getDefaultStorage",()=>Si?.localStorage)()}catch(z){y(z)}if(!n)return b;const v=tn(t),w=eD(v),A=(o=r.serializer)!==null&&o!==void 0?o:tD[w],{pause:S,resume:N}=WN(b,z=>B(z),{flush:s,deep:a,eventFilter:g});gt(T,()=>le(),{flush:s});let O=!1;const I=z=>{E&&!O||le(z)},k=z=>{E&&!O||se(z)};h&&c&&(n instanceof Storage?Ap(h,"storage",I,{passive:!0}):Ap(h,Fb,k)),E?hE(()=>{O=!0,le()}):le();function D(z,ee){if(h){const ae={key:T.value,oldValue:z,newValue:ee,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",ae):new CustomEvent(Fb,{detail:ae}))}}function B(z){try{const ee=n.getItem(T.value);if(z==null)D(ee,null),n.removeItem(T.value);else{const ae=A.write(z);ee!==ae&&(n.setItem(T.value,ae),D(ee,ae))}}catch(ee){y(ee)}}function K(z){const ee=z?z.newValue:n.getItem(T.value);if(ee==null)return u&&v!=null&&n.setItem(T.value,A.write(v)),v;if(!z&&f){const ae=A.read(ee);return typeof f=="function"?f(ae,v):w==="object"&&!Array.isArray(ae)?{...v,...ae}:ae}else return typeof ee!="string"?ee:A.read(ee)}function le(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){b.value=v;return}if(!(z&&z.key!==T.value)){S();try{const ee=A.write(b.value);(z===void 0||z?.newValue!==ee)&&(b.value=K(z))}catch(ee){y(ee)}finally{z?Ur(N):N()}}}}function se(z){le(z.detail)}return b}const rD="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function oD(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Si,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=ZN({window:o}),y=ue(()=>g.value?"dark":"light"),E=u||(a==null?dE(r):nD(a,r,s,{window:o,listenToStorageChanges:c})),b=ue(()=>E.value==="auto"?y.value:E.value),T=gE("updateHTMLAttrs",(S,N,O)=>{const I=typeof S=="string"?o?.document.querySelector(S):mE(S);if(!I)return;const k=new Set,D=new Set;let B=null;if(N==="class"){const le=O.split(/\s/g);Object.values(h).flatMap(se=>(se||"").split(/\s/g)).filter(Boolean).forEach(se=>{le.includes(se)?k.add(se):D.add(se)})}else B={key:N,value:O};if(k.size===0&&D.size===0&&B===null)return;let K;p&&(K=o.document.createElement("style"),K.appendChild(document.createTextNode(rD)),o.document.head.appendChild(K));for(const le of k)I.classList.add(le);for(const le of D)I.classList.remove(le);B&&I.setAttribute(B.key,B.value),p&&(o.getComputedStyle(K).opacity,document.head.removeChild(K))});function v(S){var N;T(t,n,(N=h[S])!==null&&N!==void 0?N:S)}function w(S){e.onChanged?e.onChanged(S,v):v(S)}gt(b,w,{flush:"post",immediate:!0}),hE(()=>w(b.value));const A=ue({get(){return f?E.value:b.value},set(S){E.value=S}});return Object.assign(A,{store:E,system:y,state:b})}function iD(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=oD({...e,onChanged:(s,a)=>{var c;e.onChanged?(c=e.onChanged)===null||c===void 0||c.call(e,s==="dark",a,s):a(s)},modes:{dark:t,light:n}}),o=ue(()=>r.system.value);return ue({get(){return r.value==="dark"},set(s){const a=s?"dark":"light";o.value===a?r.value="auto":r.value=a}})}const sD="Comp Hub",aD="main",lD="container",cD="item",uD="/__global_config__",fD="local://",dD="comphubConfig",pD="__remote__",hD="__local__",mD="__admin__",gD="https://api.comphub.cn",yD="http://localhost:7002",bD="http://localhost:5000",_D="http://localhost:5001",vD="http://localhost:3580",wD="/_module_load_prefix_",ED="/_node_modules_load_prefix_",SD="/_comp_preview_prefix_local_",CD="/__proxy__",kD="/__master__",xD="csrfToken",TD="authorization",OD="x-refresh-token",AD="x-csrf-token",PD="accept-language",ID="comp-hub-db",LD="file-compiled",RD="https://oss.comphub.cn",MD="oss:sts:token",ND="oss:sts:expire",DD="/node_modules/.prebuild_module",FD="_metadata.json",$D="vue/dist/vue.esm-bundler.js",jD="react-jsx-loader",yE="react",UD={COMP_FRAMEWORK_VUE:"vue",COMP_FRAMEWORK_REACT:yE},zD="comp.json",BD="README.md",WD="main.js",HD="index.vue",VD=["index.jsx","index.js","index.tsx"],GD="/.comp_hub_temp",KD="screenshot_mini.png",qD=1024*1024*10,YD=1024*1024*3,XD=30,bE="list_local",_E="list_remote",JD={COMP_LIST_TYPE_LOCAL:bE,COMP_LIST_TYPE_REMOTE:_E},vE="config",wE="error",EE="dir",SE="preview",CE="extra",kE="deps",xE="readme",TE="upgradeLog",QD={TAB_TYPE_CONFIG:vE,TAB_TYPE_ERROR:wE,TAB_TYPE_DIR:EE,TAB_TYPE_PREVIEW:SE,TAB_TYPE_EXTRA:CE,TAB_TYPE_DEPS:kE,TAB_TYPE_README:xE,TAB_TYPE_UPGRADE_LOG:TE},OE="mini",AE="full",ZD={COMP_EDIT_TAB_TYPE_MINI:OE,COMP_EDIT_TAB_TYPE_FULL:AE},PE="EDIT",IE="ADD",eF={DIALOG_TYPE_EDIT:PE,DIALOG_TYPE_ADD:IE},LE="ONLY_INSTALL",RE="AUTO",ME="MAJOR_VERSION",NE="MINOR_VERSION",DE="EXACT_VERSION",tF={COMP_MATCH_TYPE_ONLY_INSTALL:LE,COMP_MATCH_TYPE_AUTO:RE,COMP_MATCH_TYPE_MAJOR_VERSION:ME,COMP_MATCH_TYPE_MINOR_VERSION:NE,COMP_MATCH_TYPE_EXACT_VERSION:DE},FE="online",$E="offline",nF={COMP_UPDATE_TYPE_ONLINE:FE,COMP_UPDATE_TYPE_OFFLINE:$E},jE="NOT_EXIST",UE="EXIST",rF={COMP_CHECK_STATUS_NOT_EXIST:jE,COMP_CHECK_STATUS_EXIST:UE},zE="__id__",oF=0,iF=1,sF=-1,BE="checkPreviewListForm",WE="checkExtraInfoForm",HE="checkCompConfig",VE="checkUpgradeLogForm",GE="getCompError",KE="afterCompDel",qE="afterCompCancelCollect",YE="afterCompRenderRetry",XE="openCompTerminal",aF={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:BE,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:WE,COMP_METHOD_KEY_CHECK_COMP_CONFIG:HE,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:VE,COMP_METHOD_KEY_GET_COMP_ERROR:GE,COMP_METHOD_KEY_AFTER_COMP_DEL:KE,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:qE,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:YE,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:XE},lF="compListStore",cF="compEditStore",uF="callbacks",fF={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"}},dF="http://127.0.0.1",pF="http://localhost:8095",hF="http://localhost:8096",mF="http://localhost:5198",gF="/item",yF="/container",bF="CREATE",_F="JOIN",vF="EXIT",wF="teamAddMyComp",EF="teamCompList",SF="teamCompGroupList",CF="teamMyCompList",kF="teamMyCompUpdate",xF="__v__",TF="local",OF="prod",AF="local",PF="prod",IF="http://localhost:5173/en/",LF="https://docs.comphub.cn",RF=20,MF=20,NF="SUPER_ADMIN",DF="ADMIN",Ce=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:PD,ADMIN_SERVICE_PREFIX:mD,ADMIN_SERVICE_URL_DEV:vD,AUTHORIZATION_HEADER_NAME:TD,CACHE_KEY_STS_EXPIRE_TIME:ND,CACHE_KEY_STS_TOKEN:MD,COMPHUB_CONFIG_KEY:dD,COMP_ACTION_ICON_HEIGHT:MF,COMP_ACTION_ICON_WIDTH:RF,COMP_CHECK_STATUSES:rF,COMP_CHECK_STATUS_EXIST:UE,COMP_CHECK_STATUS_NOT_EXIST:jE,COMP_CONFIG_FILENAME:zD,COMP_EDIT_TAB_TYPES:ZD,COMP_EDIT_TAB_TYPE_FULL:AE,COMP_EDIT_TAB_TYPE_MINI:OE,COMP_ENTRY_FILE:WD,COMP_FIELD_COMP_ID:zE,COMP_FRAMEWORK_REACT:yE,COMP_FRAMEWORK_TYPES:UD,COMP_FRAMEWORK_VUE:"vue",COMP_HUB_DEV_DOCS_URL:IF,COMP_HUB_PROD_DOCS_URL:LF,COMP_LIST_TYPES:JD,COMP_LIST_TYPE_LOCAL:bE,COMP_LIST_TYPE_REMOTE:_E,COMP_MATCH_TYPES:tF,COMP_MATCH_TYPE_AUTO:RE,COMP_MATCH_TYPE_EXACT_VERSION:DE,COMP_MATCH_TYPE_MAJOR_VERSION:ME,COMP_MATCH_TYPE_MINOR_VERSION:NE,COMP_MATCH_TYPE_ONLY_INSTALL:LE,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:qE,COMP_METHOD_KEY_AFTER_COMP_DEL:KE,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:YE,COMP_METHOD_KEY_CHECK_COMP_CONFIG:HE,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:WE,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:BE,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:VE,COMP_METHOD_KEY_GET_COMP_ERROR:GE,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:XE,COMP_PREVIEW_PREFIX_LOCAL:SD,COMP_README_FILENAME:BD,COMP_SCREENSHOT_MINI_FILENAME:KD,COMP_SUBMIT_MAX_FILE_COUNT:XD,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:YD,COMP_SUBMIT_MAX_TOTAL_SIZE:qD,COMP_TEMP_DIR:GD,COMP_UPDATE_TYPES:nF,COMP_UPDATE_TYPE_OFFLINE:$E,COMP_UPDATE_TYPE_ONLINE:FE,COMP_USE_ENTRY_FILE:HD,COMP_USE_ENTRY_FILE_REACT:VD,CSRF_KEY:xD,CSRF_TOKEN_HEADER_NAME:AD,DIALOG_TYPES:eF,DIALOG_TYPE_ADD:IE,DIALOG_TYPE_EDIT:PE,FILE_MANAGER_DIRNAME:fD,GLOBAL_CONFIG_PATH:uD,IFRAME_CONTAINER_WEBSITE_PATH:yF,IFRAME_HOST:dF,IFRAME_ITEM_WEBSITE_PATH:gF,IFRAME_ROUTES:fF,INDEX_DB_NAME:ID,INDEX_DB_TABLE_NAME:LD,LOCAL_CHILD_IFRAME_URL:pF,LOCAL_LEAF_IFRAME_URL:hF,LOCAL_MIDWAY_ENV_LOCAL:TF,LOCAL_MIDWAY_ENV_PROD:OF,LOCAL_SERVICE_PREFIX:hD,LOCAL_SERVICE_URL_DEV:bD,LOCAL_SERVICE_URL_DEV_SUB:_D,LOCAL_TOP_IFRAME_URL:mF,MASTER_API_PREFIX:kD,META_FILE_NAME:FD,MODULE_LOAD_PREFIX:wD,NODE_MODULES_LOAD_PREFIX:ED,OSS_CUSTOM_DOMAIN:RD,PREBUILD_MODULE_DIR:DD,PROVIDE_KEYS:aF,PROVIDE_KEY_CALLBACKS:uF,PROVIDE_KEY_COMP_EDIT_STORE:cF,PROVIDE_KEY_COMP_LIST_STORE:lF,PROXY_PATH_PREFIX:CD,REACT_JSX_LOADER_KEY:jD,REFRESH_TOKEN_HEADER_NAME:OD,REMOTE_MIDWAY_ENV_LOCAL:AF,REMOTE_MIDWAY_ENV_PROD:PF,REMOTE_SERVICE_PREFIX:pD,REMOTE_SERVICE_URL_DEV:yD,REMOTE_SERVICE_URL_PROD:gD,ROLE_CODE_ADMIN:DF,ROLE_CODE_SUPER_ADMIN:NF,ROUTE_STATE_KEY_VERSION:xF,SCOPE_ID_TEAM_ADD_MY_COMP:wF,SCOPE_ID_TEAM_COMP_GROUP_LIST:SF,SCOPE_ID_TEAM_COMP_LIST:EF,SCOPE_ID_TEAM_MY_COMP_LIST:CF,SCOPE_ID_TEAM_MY_COMP_UPDATE:kF,SITE_TITLE:sD,TAB_TYPES:QD,TAB_TYPE_CONFIG:vE,TAB_TYPE_DEPS:kE,TAB_TYPE_DIR:EE,TAB_TYPE_ERROR:wE,TAB_TYPE_EXTRA:CE,TAB_TYPE_PREVIEW:SE,TAB_TYPE_README:xE,TAB_TYPE_UPGRADE_LOG:TE,TEAM_OPERATE_TYPE_CREATE:bF,TEAM_OPERATE_TYPE_EXIT:vF,TEAM_OPERATE_TYPE_JOIN:_F,VERSION_COMPARE_GREATER:iF,VERSION_COMPARE_LESS:sF,VERSION_COMPARE_SAME:oF,VUE_ESM_BUNDLER:$D,WEBSITE_PATH_CONTAINER:lD,WEBSITE_PATH_ITEM:cD,WEBSITE_PATH_MAIN:aD},Symbol.toStringTag,{value:"Module"})),FF=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],$F=[".css"],jF=[{name:zE,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"}],JE=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:jF,DEFAULT_TAG_GROUP:FF,PREBUILD_MODULE_SKIP_EXT:$F},Symbol.toStringTag,{value:"Module"})),UF="comp-hub-locale",zF=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:UF},Symbol.toStringTag,{value:"Module"}));function BF(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kd={exports:{}},$b;function WF(){return $b||($b=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function a(u,f){if(!s[u]){s[u]={};for(var p=0;p<u.length;p++)s[u][u.charAt(p)]=p}return s[u][f]}var c={compressToBase64:function(u){if(u==null)return"";var f=c._compress(u,6,function(p){return r.charAt(p)});switch(f.length%4){default:case 0:return f;case 1:return f+"===";case 2:return f+"==";case 3:return f+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:c._decompress(u.length,32,function(f){return a(r,u.charAt(f))})},compressToUTF16:function(u){return u==null?"":c._compress(u,15,function(f){return n(f+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:c._decompress(u.length,16384,function(f){return u.charCodeAt(f)-32})},compressToUint8Array:function(u){for(var f=c.compress(u),p=new Uint8Array(f.length*2),h=0,g=f.length;h<g;h++){var y=f.charCodeAt(h);p[h*2]=y>>>8,p[h*2+1]=y%256}return p},decompressFromUint8Array:function(u){if(u==null)return c.decompress(u);for(var f=new Array(u.length/2),p=0,h=f.length;p<h;p++)f[p]=u[p*2]*256+u[p*2+1];var g=[];return f.forEach(function(y){g.push(n(y))}),c.decompress(g.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":c._compress(u,6,function(f){return o.charAt(f)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),c._decompress(u.length,32,function(f){return a(o,u.charAt(f))}))},compress:function(u){return c._compress(u,16,function(f){return n(f)})},_compress:function(u,f,p){if(u==null)return"";var h,g,y={},E={},b="",T="",v="",w=2,A=3,S=2,N=[],O=0,I=0,k;for(k=0;k<u.length;k+=1)if(b=u.charAt(k),Object.prototype.hasOwnProperty.call(y,b)||(y[b]=A++,E[b]=!0),T=v+b,Object.prototype.hasOwnProperty.call(y,T))v=T;else{if(Object.prototype.hasOwnProperty.call(E,v)){if(v.charCodeAt(0)<256){for(h=0;h<S;h++)O=O<<1,I==f-1?(I=0,N.push(p(O)),O=0):I++;for(g=v.charCodeAt(0),h=0;h<8;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1}else{for(g=1,h=0;h<S;h++)O=O<<1|g,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=0;for(g=v.charCodeAt(0),h=0;h<16;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1}w--,w==0&&(w=Math.pow(2,S),S++),delete E[v]}else for(g=y[v],h=0;h<S;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1;w--,w==0&&(w=Math.pow(2,S),S++),y[T]=A++,v=String(b)}if(v!==""){if(Object.prototype.hasOwnProperty.call(E,v)){if(v.charCodeAt(0)<256){for(h=0;h<S;h++)O=O<<1,I==f-1?(I=0,N.push(p(O)),O=0):I++;for(g=v.charCodeAt(0),h=0;h<8;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1}else{for(g=1,h=0;h<S;h++)O=O<<1|g,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=0;for(g=v.charCodeAt(0),h=0;h<16;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1}w--,w==0&&(w=Math.pow(2,S),S++),delete E[v]}else for(g=y[v],h=0;h<S;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1;w--,w==0&&(w=Math.pow(2,S),S++)}for(g=2,h=0;h<S;h++)O=O<<1|g&1,I==f-1?(I=0,N.push(p(O)),O=0):I++,g=g>>1;for(;;)if(O=O<<1,I==f-1){N.push(p(O));break}else I++;return N.join("")},decompress:function(u){return u==null?"":u==""?null:c._decompress(u.length,32768,function(f){return u.charCodeAt(f)})},_decompress:function(u,f,p){var h=[],g=4,y=4,E=3,b="",T=[],v,w,A,S,N,O,I,k={val:p(0),position:f,index:1};for(v=0;v<3;v+=1)h[v]=v;for(A=0,N=Math.pow(2,2),O=1;O!=N;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=p(k.index++)),A|=(S>0?1:0)*O,O<<=1;switch(A){case 0:for(A=0,N=Math.pow(2,8),O=1;O!=N;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=p(k.index++)),A|=(S>0?1:0)*O,O<<=1;I=n(A);break;case 1:for(A=0,N=Math.pow(2,16),O=1;O!=N;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=p(k.index++)),A|=(S>0?1:0)*O,O<<=1;I=n(A);break;case 2:return""}for(h[3]=I,w=I,T.push(I);;){if(k.index>u)return"";for(A=0,N=Math.pow(2,E),O=1;O!=N;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=p(k.index++)),A|=(S>0?1:0)*O,O<<=1;switch(I=A){case 0:for(A=0,N=Math.pow(2,8),O=1;O!=N;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=p(k.index++)),A|=(S>0?1:0)*O,O<<=1;h[y++]=n(A),I=y-1,g--;break;case 1:for(A=0,N=Math.pow(2,16),O=1;O!=N;)S=k.val&k.position,k.position>>=1,k.position==0&&(k.position=f,k.val=p(k.index++)),A|=(S>0?1:0)*O,O<<=1;h[y++]=n(A),I=y-1,g--;break;case 2:return T.join("")}if(g==0&&(g=Math.pow(2,E),E++),h[I])b=h[I];else if(I===y)b=w+w.charAt(0);else return null;T.push(b),h[y++]=w+b.charAt(0),g--,w=b,g==0&&(g=Math.pow(2,E),E++)}}};return c})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(kd)),kd.exports}var HF=WF();const jb=BF(HF),Ub=["topOrigin","compType","userId","instanceUid","compId","isSfc"],Mo=()=>{const e=r();function t(a){if(Object.keys(a).filter(u=>!Ub.includes(u)).length)throw new Error(`iframe参数键名只能包含${Ub.join(", ")}`);return jb.compressToEncodedURIComponent(JSON.stringify(a))}function n(a){const c=jb.decompressFromEncodedURIComponent(a);return JSON.parse(c)}function r(){const c=new URLSearchParams(window.location.search).get("params")??"";return n(c)}function o(a){const c={...e,...a};return t(c)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},js=e=>{const{params:{topOrigin:t}}=Mo();return t},Qe={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",COMP_SCREENSHOT_AUTO:"comp_screenshot_auto",COMP_SCREENSHOT_MANUAL_SET:"comp_screenshot_manual_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function Us(){const e=ar(),t=(a,c,u,f)=>{a.postMessage({type:c,payload:JSON.stringify(u)},f)};return{sendMessageToParent:(a,c,u)=>{window.parent.postMessage({type:a,payload:JSON.stringify(c)},u)},sendMessageToTop:(a,c,u,f)=>{if(!u)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:a,payload:JSON.stringify(c),instanceUid:f},u)},sendMessageToTargetIframe:t,messageListener:()=>{const a=new Map,c=u=>{const{type:f,payload:p,instanceUid:h}=u.data??{},g=u.source===window.parent||u.source===window.top,y=h?.split(",").some(b=>b===e?.uid.toString()),E=a.get(f);(y||g)&&E?.(JSON.parse(p))};return window.addEventListener("message",c),Fs(()=>{window.removeEventListener("message",c),a.clear()}),{addListener:(u,f)=>{a.set(u,p=>{f(p)})},removeListener:u=>{u?a.delete(u):(a.clear(),window.removeEventListener("message",c))}}},requestResponse:async({targetWindow:a,requestType:c,responseType:u,data:f,targetOrigin:p,timeout:h=1e4})=>a?new Promise(g=>{let y=!1;const E=setTimeout(()=>{y||(y=!0,window.removeEventListener("message",b),g(null))},h),b=T=>{if(!y)try{const{type:v,payload:w}=T.data;v===u&&(y=!0,clearTimeout(E),window.removeEventListener("message",b),g(JSON.parse(w)))}catch{}};window.addEventListener("message",b),t(a,c,f,p)}):null,instanceUid:ue(()=>e?.uid?.toString()??"")}}function VF(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Kc=typeof window<"u",si=(e,t=!1)=>t?Symbol.for(e):Symbol(e),GF=(e,t,n)=>KF({l:e,k:t,s:n}),KF=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Kt=e=>typeof e=="number"&&isFinite(e),QE=e=>zh(e)==="[object Date]",Ts=e=>zh(e)==="[object RegExp]",Ou=e=>tt(e)&&Object.keys(e).length===0,qt=Object.assign,qF=Object.create,vt=(e=null)=>qF(e);let zb;const Ci=()=>zb||(zb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:vt());function Bb(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 YF(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 XF=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,JF=/^(?:href|src|action|formaction)$/i;function Uh(e){return XF.test(e)}function QF(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,a=t.lastIndex-1;let c=a+1,u=1,f=null;for(;c<e.length;c++){const g=e[c];if(f){g===f&&(f=null);continue}if(g==='"'||g==="'")f=g;else if(g==="(")u++;else if(g===")"&&(u--,u===0))break}if(u!==0)break;const p=e.slice(a+1,c).trim(),h=p.startsWith('"')&&p.endsWith('"')||p.startsWith("'")&&p.endsWith("'")?p.slice(1,-1).trim():p;n+=e.slice(r,s),n+=Uh(h)?"url(about:blank)":e.slice(s,c+1),r=c+1}return n+e.slice(r)}function Wb(e,t){if(JF.test(e)&&Uh(t))return"about:blank";const n=e.toLowerCase()==="style"?QF(t):t;return YF(n)}function ZF(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${Wb(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${Wb(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)=>Uh(o)?`${r}about:blank`:n),e}const e$=Object.prototype.hasOwnProperty;function vr(e,t){return e$.call(e,t)}const jt=Array.isArray,Lt=e=>typeof e=="function",ye=e=>typeof e=="string",rt=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",t$=e=>ot(e)&&Lt(e.then)&&Lt(e.catch),ZE=Object.prototype.toString,zh=e=>ZE.call(e),tt=e=>zh(e)==="[object Object]",n$=e=>e==null?"":jt(e)||tt(e)&&e.toString===ZE?JSON.stringify(e,null,2):String(e);function Bh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ql=e=>!ot(e)||jt(e);function wc(e,t){if(Ql(e)||Ql(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__"&&(ot(r[s])&&!ot(o[s])&&(o[s]=Array.isArray(r[s])?[]:vt()),Ql(o[s])||Ql(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function r$(e,t,n){return{line:e,column:t,offset:n}}function Pp(e,t,n){return{start:e,end:t}}const ft={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},o$=17;function Au(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,c=new SyntaxError(String(a));return c.code=e,t&&(c.location=t),c.domain=r,c}function i$(e){throw e}const Gr=" ",s$="\r",gn=`
2
+ `,a$="\u2028",l$="\u2029";function c$(e){const t=e;let n=0,r=1,o=1,s=0;const a=I=>t[I]===s$&&t[I+1]===gn,c=I=>t[I]===gn,u=I=>t[I]===l$,f=I=>t[I]===a$,p=I=>a(I)||c(I)||u(I)||f(I),h=()=>n,g=()=>r,y=()=>o,E=()=>s,b=I=>a(I)||u(I)||f(I)?gn:t[I],T=()=>b(n),v=()=>b(n+s);function w(){return s=0,p(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function A(){return a(n+s)&&s++,s++,t[n+s]}function S(){n=0,r=1,o=1,s=0}function N(I=0){s=I}function O(){const I=n+s;for(;I!==n;)w();s=0}return{index:h,line:g,column:y,peekOffset:E,charAt:b,currentChar:T,currentPeek:v,next:w,peek:A,reset:S,resetPeek:N,skipToPeek:O}}const go=void 0,u$=".",Hb="'",f$="tokenizer";function d$(e,t={}){const n=t.location!==!1,r=c$(e),o=()=>r.index(),s=()=>r$(r.line(),r.column(),r.index()),a=s(),c=o(),u={currentType:13,offset:c,startLoc:a,endLoc:a,lastType:13,lastOffset:c,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:p}=t;function h(P,L,j,...H){const fe=f();if(L.column+=j,L.offset+=j,p){const oe=n?Pp(fe.startLoc,L):null,U=Au(P,oe,{domain:f$,args:H});p(U)}}function g(P,L,j){P.endLoc=s(),P.currentType=L;const H={type:L};return n&&(H.loc=Pp(P.startLoc,P.endLoc)),j!=null&&(H.value=j),H}const y=P=>g(P,13);function E(P,L){return P.currentChar()===L?(P.next(),L):(h(ft.EXPECTED_TOKEN,s(),0,L),"")}function b(P){let L="";for(;P.currentPeek()===Gr||P.currentPeek()===gn;)L+=P.currentPeek(),P.peek();return L}function T(P){const L=b(P);return P.skipToPeek(),L}function v(P){if(P===go)return!1;const L=P.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L===95}function w(P){if(P===go)return!1;const L=P.charCodeAt(0);return L>=48&&L<=57}function A(P,L){const{currentType:j}=L;if(j!==2)return!1;b(P);const H=v(P.currentPeek());return P.resetPeek(),H}function S(P,L){const{currentType:j}=L;if(j!==2)return!1;b(P);const H=P.currentPeek()==="-"?P.peek():P.currentPeek(),fe=w(H);return P.resetPeek(),fe}function N(P,L){const{currentType:j}=L;if(j!==2)return!1;b(P);const H=P.currentPeek()===Hb;return P.resetPeek(),H}function O(P,L){const{currentType:j}=L;if(j!==7)return!1;b(P);const H=P.currentPeek()===".";return P.resetPeek(),H}function I(P,L){const{currentType:j}=L;if(j!==8)return!1;b(P);const H=v(P.currentPeek());return P.resetPeek(),H}function k(P,L){const{currentType:j}=L;if(!(j===7||j===11))return!1;b(P);const H=P.currentPeek()===":";return P.resetPeek(),H}function D(P,L){const{currentType:j}=L;if(j!==9)return!1;const H=()=>{const oe=P.currentPeek();return oe==="{"?v(P.peek()):oe==="@"||oe==="|"||oe===":"||oe==="."||oe===Gr||!oe?!1:oe===gn?(P.peek(),H()):K(P,!1)},fe=H();return P.resetPeek(),fe}function B(P){b(P);const L=P.currentPeek()==="|";return P.resetPeek(),L}function K(P,L=!0){const j=(fe=!1,oe="")=>{const U=P.currentPeek();return U==="{"||U==="@"||!U?fe:U==="|"?!(oe===Gr||oe===gn):U===Gr?(P.peek(),j(!0,Gr)):U===gn?(P.peek(),j(!0,gn)):!0},H=j();return L&&P.resetPeek(),H}function le(P,L){const j=P.currentChar();return j===go?go:L(j)?(P.next(),j):null}function se(P){const L=P.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36}function z(P){return le(P,se)}function ee(P){const L=P.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36||L===45}function ae(P){return le(P,ee)}function de(P){const L=P.charCodeAt(0);return L>=48&&L<=57}function ve(P){return le(P,de)}function ze(P){const L=P.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102}function Ut(P){return le(P,ze)}function Ze(P){let L="",j="";for(;L=ve(P);)j+=L;return j}function De(P){let L="";for(;;){const j=P.currentChar();if(j==="\\"){const H=P.peek();H==="{"||H==="}"||H==="@"||H==="|"||H==="\\"?(L+=j+H,P.next(),P.next()):(P.resetPeek(),L+=j,P.next())}else{if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j===Gr||j===gn)if(K(P))L+=j,P.next();else{if(B(P))break;L+=j,P.next()}else L+=j,P.next()}}return L}function dn(P){T(P);let L="",j="";for(;L=ae(P);)j+=L;const H=P.currentChar();if(H&&H!=="}"&&H!==go&&H!==Gr&&H!==gn&&H!==" "){const fe=we(P);return h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j+fe),j+fe}return P.currentChar()===go&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j}function on(P){T(P);let L="";return P.currentChar()==="-"?(P.next(),L+=`-${Ze(P)}`):L+=Ze(P),P.currentChar()===go&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),L}function kn(P){return P!==Hb&&P!==gn}function Mt(P){T(P),E(P,"'");let L="",j="";for(;L=le(P,kn);)L==="\\"?j+=te(P):j+=L;const H=P.currentChar();return H===gn||H===go?(h(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),H===gn&&(P.next(),E(P,"'")),j):(E(P,"'"),j)}function te(P){const L=P.currentChar();switch(L){case"\\":case"'":return P.next(),`\\${L}`;case"u":return ge(P,L,4);case"U":return ge(P,L,6);default:return h(ft.UNKNOWN_ESCAPE_SEQUENCE,s(),0,L),""}}function ge(P,L,j){E(P,L);let H="";for(let fe=0;fe<j;fe++){const oe=Ut(P);if(!oe){h(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${L}${H}${P.currentChar()}`);break}H+=oe}return`\\${L}${H}`}function he(P){return P!=="{"&&P!=="}"&&P!==Gr&&P!==gn}function we(P){T(P);let L="",j="";for(;L=le(P,he);)j+=L;return j}function We(P){let L="",j="";for(;L=z(P);)j+=L;return j}function R(P){const L=j=>{const H=P.currentChar();return H==="{"||H==="@"||H==="|"||H==="("||H===")"||!H||H===Gr?j:(j+=H,P.next(),L(j))};return L("")}function F(P){T(P);const L=E(P,"|");return T(P),L}function G(P,L){let j=null;switch(P.currentChar()){case"{":return L.braceNest>=1&&h(ft.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),P.next(),j=g(L,2,"{"),T(P),L.braceNest++,j;case"}":return L.braceNest>0&&L.currentType===2&&h(ft.EMPTY_PLACEHOLDER,s(),0),P.next(),j=g(L,3,"}"),L.braceNest--,L.braceNest>0&&T(P),L.inLinked&&L.braceNest===0&&(L.inLinked=!1),j;case"@":return L.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=J(P,L)||y(L),L.braceNest=0,j;default:{let fe=!0,oe=!0,U=!0;if(B(P))return L.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=g(L,1,F(P)),L.braceNest=0,L.inLinked=!1,j;if(L.braceNest>0&&(L.currentType===4||L.currentType===5||L.currentType===6))return h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),L.braceNest=0,ne(P,L);if(fe=A(P,L))return j=g(L,4,dn(P)),T(P),j;if(oe=S(P,L))return j=g(L,5,on(P)),T(P),j;if(U=N(P,L))return j=g(L,6,Mt(P)),T(P),j;if(!fe&&!oe&&!U)return j=g(L,12,we(P)),h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j.value),T(P),j;break}}return j}function J(P,L){const{currentType:j}=L;let H=null;const fe=P.currentChar();switch((j===7||j===8||j===11||j===9)&&(fe===gn||fe===Gr)&&h(ft.INVALID_LINKED_FORMAT,s(),0),fe){case"@":return P.next(),H=g(L,7,"@"),L.inLinked=!0,H;case".":return T(P),P.next(),g(L,8,".");case":":return T(P),P.next(),g(L,9,":");default:return B(P)?(H=g(L,1,F(P)),L.braceNest=0,L.inLinked=!1,H):O(P,L)||k(P,L)?(T(P),J(P,L)):I(P,L)?(T(P),g(L,11,We(P))):D(P,L)?(T(P),fe==="{"?G(P,L)||H:g(L,10,R(P))):(j===7&&h(ft.INVALID_LINKED_FORMAT,s(),0),L.braceNest=0,L.inLinked=!1,ne(P,L))}}function ne(P,L){let j={type:13};if(L.braceNest>0)return G(P,L)||y(L);if(L.inLinked)return J(P,L)||y(L);switch(P.currentChar()){case"{":return G(P,L)||y(L);case"}":return h(ft.UNBALANCED_CLOSING_BRACE,s(),0),P.next(),g(L,3,"}");case"@":return J(P,L)||y(L);default:{if(B(P))return j=g(L,1,F(P)),L.braceNest=0,L.inLinked=!1,j;if(K(P))return g(L,0,De(P));break}}return j}function Q(){const{currentType:P,offset:L,startLoc:j,endLoc:H}=u;return u.lastType=P,u.lastOffset=L,u.lastStartLoc=j,u.lastEndLoc=H,u.offset=o(),u.startLoc=s(),r.currentChar()===go?g(u,13):ne(r,u)}return{nextToken:Q,currentOffset:o,currentPosition:s,context:f}}const p$="parser",h$=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,m$=/\\([\\@{}|])/g;function g$(e,t){return t}function y$(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 b$(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,w,A,S,...N){const O=v.currentPosition();if(O.offset+=S,O.column+=S,n){const I=t?Pp(A,O):null,k=Au(w,I,{domain:p$,args:N});n(k)}}function o(v,w,A){const S={type:v};return t&&(S.start=w,S.end=w,S.loc={start:A,end:A}),S}function s(v,w,A,S){t&&(v.end=w,v.loc&&(v.loc.end=A))}function a(v,w){const A=v.context(),S=o(3,A.offset,A.startLoc);return S.value=w.replace(m$,g$),s(S,v.currentOffset(),v.currentPosition()),S}function c(v,w){const A=v.context(),{lastOffset:S,lastStartLoc:N}=A,O=o(5,S,N);return O.index=parseInt(w,10),v.nextToken(),s(O,v.currentOffset(),v.currentPosition()),O}function u(v,w){const A=v.context(),{lastOffset:S,lastStartLoc:N}=A,O=o(4,S,N);return O.key=w,v.nextToken(),s(O,v.currentOffset(),v.currentPosition()),O}function f(v,w){const A=v.context(),{lastOffset:S,lastStartLoc:N}=A,O=o(9,S,N);return O.value=w.replace(h$,y$),v.nextToken(),s(O,v.currentOffset(),v.currentPosition()),O}function p(v){const w=v.nextToken(),A=v.context(),{lastOffset:S,lastStartLoc:N}=A,O=o(8,S,N);return w.type!==11?(r(v,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),O.value="",s(O,S,N),{nextConsumeToken:w,node:O}):(w.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Kr(w)),O.value=w.value||"",s(O,v.currentOffset(),v.currentPosition()),{node:O})}function h(v,w){const A=v.context(),S=o(7,A.offset,A.startLoc);return S.value=w,s(S,v.currentOffset(),v.currentPosition()),S}function g(v){const w=v.context(),A=o(6,w.offset,w.startLoc);let S=v.nextToken();if(S.type===8){const N=p(v);A.modifier=N.node,S=N.nextConsumeToken||v.nextToken()}switch(S.type!==9&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(S)),S=v.nextToken(),S.type===2&&(S=v.nextToken()),S.type){case 10:S.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(S)),A.key=h(v,S.value||"");break;case 4:S.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(S)),A.key=u(v,S.value||"");break;case 5:S.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(S)),A.key=c(v,S.value||"");break;case 6:S.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(S)),A.key=f(v,S.value||"");break;default:{r(v,ft.UNEXPECTED_EMPTY_LINKED_KEY,w.lastStartLoc,0);const N=v.context(),O=o(7,N.offset,N.startLoc);return O.value="",s(O,N.offset,N.startLoc),A.key=O,s(A,N.offset,N.startLoc),{nextConsumeToken:S,node:A}}}return s(A,v.currentOffset(),v.currentPosition()),{node:A}}function y(v){const w=v.context(),A=w.currentType===1?v.currentOffset():w.offset,S=w.currentType===1?w.endLoc:w.startLoc,N=o(2,A,S);N.items=[];let O=null;do{const D=O||v.nextToken();switch(O=null,D.type){case 0:D.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(D)),N.items.push(a(v,D.value||""));break;case 5:D.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(D)),N.items.push(c(v,D.value||""));break;case 4:D.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(D)),N.items.push(u(v,D.value||""));break;case 6:D.value==null&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(D)),N.items.push(f(v,D.value||""));break;case 7:{const B=g(v);N.items.push(B.node),O=B.nextConsumeToken||null;break}}}while(w.currentType!==13&&w.currentType!==1);const I=w.currentType===1?w.lastOffset:v.currentOffset(),k=w.currentType===1?w.lastEndLoc:v.currentPosition();return s(N,I,k),N}function E(v,w,A,S){const N=v.context();let O=S.items.length===0;const I=o(1,w,A);I.cases=[],I.cases.push(S);do{const k=y(v);O||(O=k.items.length===0),I.cases.push(k)}while(N.currentType!==13);return O&&r(v,ft.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),s(I,v.currentOffset(),v.currentPosition()),I}function b(v){const w=v.context(),{offset:A,startLoc:S}=w,N=y(v);return w.currentType===13?N:E(v,A,S,N)}function T(v){const w=d$(v,qt({},e)),A=w.context(),S=o(0,A.offset,A.startLoc);return t&&S.loc&&(S.loc.source=v),S.body=b(w),e.onCacheKey&&(S.cacheKey=e.onCacheKey(v)),A.currentType!==13&&r(w,ft.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,v[A.offset]||""),s(S,w.currentOffset(),w.currentPosition()),S}return{parse:T}}function Kr(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 _$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Vb(e,t){for(let n=0;n<e.length;n++)Wh(e[n],t)}function Wh(e,t){switch(e.type){case 1:Vb(e.cases,t),t.helper("plural");break;case 2:Vb(e.items,t);break;case 6:{Wh(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 v$(e,t={}){const n=_$(e);n.helper("normalize"),e.body&&Wh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function w$(e){const t=e.body;return t.type===2?Gb(t):t.cases.forEach(n=>Gb(n)),e}function Gb(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=Bh(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 ps(e){switch(e.t=e.type,e.type){case 0:{const t=e;ps(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++)ps(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++)ps(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;ps(t.key),t.k=t.key,delete t.key,t.modifier&&(ps(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 E$(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const c=()=>a;function u(b,T){a.code+=b}function f(b,T=!0){const v=T?r:"";u(o?v+" ".repeat(b):v)}function p(b=!0){const T=++a.indentLevel;b&&f(T)}function h(b=!0){const T=--a.indentLevel;b&&f(T)}function g(){f(a.indentLevel)}return{context:c,push:u,indent:p,deindent:h,newline:g,helper:b=>`_${b}`,needIndent:()=>a.needIndent}}function S$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Os(e,t.key),t.modifier?(e.push(", "),Os(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function C$(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&&(Os(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function k$(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&&(Os(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function x$(e,t){t.body?Os(e,t.body):e.push("null")}function Os(e,t){const{helper:n}=e;switch(t.type){case 0:x$(e,t);break;case 1:k$(e,t);break;case 2:C$(e,t);break;case 6:S$(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 T$=(e,t={})=>{const n=ye(t.mode)?t.mode:"normal",r=ye(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",a=e.helpers||[],c=E$(e,{filename:r,breakLineCode:o,needIndent:s});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${Bh(a.map(p=>`${p}: _${p}`),", ")} } = ctx`),c.newline()),c.push("return "),Os(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:u,map:f}=c.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function O$(e,t={}){const n=qt({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,c=b$(n).parse(e);return r?(s&&w$(c),o&&ps(c),{ast:c,code:""}):(v$(c,n),T$(c,n))}function A$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ci().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ci().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function no(e){return ot(e)&&Hh(e)===0&&(vr(e,"b")||vr(e,"body"))}const eS=["b","body"];function P$(e){return ai(e,eS)}const tS=["c","cases"];function I$(e){return ai(e,tS,[])}const nS=["s","static"];function L$(e){return ai(e,nS)}const rS=["i","items"];function R$(e){return ai(e,rS,[])}const oS=["t","type"];function Hh(e){return ai(e,oS)}const iS=["v","value"];function Zl(e,t){const n=ai(e,iS);if(n!=null)return n;throw Da(t)}const sS=["m","modifier"];function M$(e){return ai(e,sS)}const aS=["k","key"];function N$(e){const t=ai(e,aS);if(t)return t;throw Da(6)}function ai(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(vr(e,o)&&e[o]!=null)return e[o]}return n}const lS=[...eS,...tS,...nS,...rS,...aS,...sS,...iS,...oS];function Da(e){return new Error(`unhandled node type: ${e}`)}function xd(e){return n=>D$(n,e)}function D$(e,t){const n=P$(t);if(n==null)throw Da(0);if(Hh(n)===1){const s=I$(n);return e.plural(s.reduce((a,c)=>[...a,Kb(e,c)],[]))}else return Kb(e,n)}function Kb(e,t){const n=L$(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=R$(t).reduce((o,s)=>[...o,Ip(e,s)],[]);return e.normalize(r)}}function Ip(e,t){const n=Hh(t);switch(n){case 3:return Zl(t,n);case 9:return Zl(t,n);case 4:{const r=t;if(vr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(vr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Da(n)}case 5:{const r=t;if(vr(r,"i")&&Kt(r.i))return e.interpolate(e.list(r.i));if(vr(r,"index")&&Kt(r.index))return e.interpolate(e.list(r.index));throw Da(n)}case 6:{const r=t,o=M$(r),s=N$(r);return e.linked(Ip(e,s),o?Ip(e,o):void 0,e.type)}case 7:return Zl(t,n);case 8:return Zl(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const F$=e=>e;let ec=vt();function $$(e,t={}){let n=!1;const r=t.onError||i$;return t.onError=o=>{n=!0,r(o)},{...O$(e,t),detectError:n}}function j$(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ye(e)){rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||F$)(e),o=ec[r];if(o)return o;const{ast:s,detectError:a}=$$(e,{...t,location:!1,jit:!0}),c=xd(s);return a?c:ec[r]=c}else{const n=e.cacheKey;if(n){const r=ec[n];return r||(ec[n]=xd(e))}else return xd(e)}}let Fa=null;function U$(e){Fa=e}function z$(e,t,n){Fa&&Fa.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const B$=W$("function:translate");function W$(e){return t=>Fa&&Fa.emit(e,t)}const Co={INVALID_ARGUMENT:o$,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},H$=24;function ko(e){return Au(e,null,void 0)}function Vh(e,t){return t.locale!=null?qb(t.locale):qb(e.locale)}let Td;function qb(e){if(ye(e))return e;if(Lt(e)){if(e.resolvedOnce&&Td!=null)return Td;if(e.constructor.name==="Function"){const t=e();if(t$(t))throw ko(Co.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Td=t}else throw ko(Co.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ko(Co.NOT_SUPPORT_LOCALE_TYPE)}function V$(e,t,n){return[...new Set([n,...jt(t)?t:ot(t)?Object.keys(t):ye(t)?[t]:[n]])]}function Lp(e,t,n){const r=ye(n)?n:$a,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;jt(a);)a=Yb(s,a,t);const c=jt(t)||!tt(t)?t:t.default?t.default:null;a=ye(c)?[c]:c,jt(a)&&Yb(s,a,!1),o.__localeChainCache.set(r,s)}return s}function Yb(e,t,n){let r=!0;for(let o=0;o<t.length&&rt(r);o++){const s=t[o];ye(s)&&(r=G$(e,t[o],n))}return r}function G$(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=K$(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function K$(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),(jt(n)||tt(n))&&n[o]&&(r=n[o])}return r}const li=[];li[0]={w:[0],i:[3,0],"[":[4],o:[7]};li[1]={w:[1],".":[2],"[":[4],o:[7]};li[2]={w:[2],i:[3,0],0:[3,0]};li[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};li[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};li[5]={"'":[4,0],o:8,l:[5,0]};li[6]={'"':[4,0],o:8,l:[6,0]};const q$=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Y$(e){return q$.test(e)}function X$(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 J$(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 Q$(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Y$(t)?X$(t):"*"+t}function Z$(e){const t=[];let n=-1,r=0,o=0,s,a,c,u,f,p,h;const g=[];g[0]=()=>{a===void 0?a=c:a+=c},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,r=4,g[0]();else{if(o=0,a===void 0||(a=Q$(a),a===!1))return!1;g[1]()}};function y(){const E=e[n+1];if(r===5&&E==="'"||r===6&&E==='"')return n++,c="\\"+E,g[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&y())){if(u=J$(s),h=li[r],f=h[u]||h.l||8,f===8||(r=f[0],f[1]!==void 0&&(p=g[f[1]],p&&(c=s,p()===!1))))return;if(r===7)return t}}const Xb=new Map;function ej(e,t){return ot(e)?e[t]:null}function tj(e,t){if(!ot(e))return null;let n=Xb.get(t);if(n||(n=Z$(t),n&&Xb.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=n[s];if(lS.includes(a)&&no(o)||!ot(o)||!vr(o,a))return null;const c=o[a];if(c===void 0||Lt(o))return null;o=c,s++}return o}const nj="11.4.7",Pu=-1,$a="en-US",qc="",Jb=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function rj(){return{upper:(e,t)=>t==="text"&&ye(e)?e.toUpperCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ye(e)?e.toLowerCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ye(e)?Jb(e):t==="vnode"&&ot(e)&&"__v_isVNode"in e?Jb(e.children):e}}let cS;function oj(e){cS=e}let uS;function ij(e){uS=e}let fS;function sj(e){fS=e}let dS=null;const aj=e=>{dS=e},lj=()=>dS;let pS=null;const Qb=e=>{pS=e},cj=()=>pS;let Zb=0;function uj(e={}){const t=Lt(e.onWarn)?e.onWarn:VF,n=ye(e.version)?e.version:nj,r=ye(e.locale)||Lt(e.locale)?e.locale:$a,o=Lt(r)?$a:r,s=jt(e.fallbackLocale)||tt(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=tt(e.messages)?e.messages:Od(o),c=tt(e.datetimeFormats)?e.datetimeFormats:Od(o),u=tt(e.numberFormats)?e.numberFormats:Od(o),f=qt(vt(),e.modifiers,rj()),p=e.pluralRules||vt(),h=Lt(e.missing)?e.missing:null,g=rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,b=!!e.unresolving,T=Lt(e.postTranslation)?e.postTranslation:null,v=tt(e.processor)?e.processor:null,w=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,S=Lt(e.messageCompiler)?e.messageCompiler:cS,N=Lt(e.messageResolver)?e.messageResolver:uS||ej,O=Lt(e.localeFallbacker)?e.localeFallbacker:fS||V$,I=ot(e.fallbackContext)?e.fallbackContext:void 0,k=e,D=ot(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,B=ot(k.__numberFormatters)?k.__numberFormatters:new Map,K=ot(k.__meta)?k.__meta:{};Zb++;const le={version:n,cid:Zb,locale:r,fallbackLocale:s,messages:a,modifiers:f,pluralRules:p,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:E,unresolving:b,postTranslation:T,processor:v,warnHtmlMessage:w,escapeParameter:A,messageCompiler:S,messageResolver:N,localeFallbacker:O,fallbackContext:I,onWarn:t,__meta:K};return le.datetimeFormats=c,le.numberFormats=u,le.__datetimeFormatters=D,le.__numberFormatters=B,__INTLIFY_PROD_DEVTOOLS__&&z$(le,n,K),le}const Od=e=>({[e]:vt()});function Gh(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(s!==null){const c=s(e,n,t,o);return ye(c)?c:t}else return t}function ia(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function fj(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function dj(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(fj(e,t[r]))return!0;return!1}function e_(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:c}=e;if(!ye(t[0])&&!QE(t[0])&&!Kt(t[0]))return qc;const[u,f,p,h]=Rp(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,E=Vh(e,p),b=a(e,o,E);if(!ye(u)||u===""){const O=new Intl.DateTimeFormat(E.replace(/!/g,""),h);return y?O.formatToParts(f):O.format(f)}let T={},v,w=null;const A="datetime format";for(let O=0;O<b.length&&(v=b[O],T=n[v]||{},w=T[u],!tt(w));O++)Gh(e,u,v,g,A);if(!tt(w)||!ye(v))return r?Pu:u;let S=`${v}__${u}`;Ou(h)||(S=`${S}__${JSON.stringify(h)}`);let N=c.get(S);return N||(N=new Intl.DateTimeFormat(v,qt({},w,h)),c.set(S,N)),y?N.formatToParts(f):N.format(f)}const hS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Rp(...e){const[t,n,r,o]=e,s=vt();let a=vt(),c;if(ye(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw ko(Co.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();c=new Date(f);try{c.toISOString()}catch{throw ko(Co.INVALID_ISO_DATE_ARGUMENT)}}else if(QE(t)){if(isNaN(t.getTime()))throw ko(Co.INVALID_DATE_ARGUMENT);c=t}else if(Kt(t))c=t;else throw ko(Co.INVALID_ARGUMENT);return ye(n)?s.key=n:tt(n)&&Object.keys(n).forEach(u=>{hS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:tt(r)&&(a=r),tt(o)&&(a=o),[s.key||"",c,s,a]}function t_(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function n_(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:c}=e;if(!Kt(t[0]))return qc;const[u,f,p,h]=Mp(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,E=Vh(e,p),b=a(e,o,E);if(!ye(u)||u===""){const O=new Intl.NumberFormat(E.replace(/!/g,""),h);return y?O.formatToParts(f):O.format(f)}let T={},v,w=null;const A="number format";for(let O=0;O<b.length&&(v=b[O],T=n[v]||{},w=T[u],!tt(w));O++)Gh(e,u,v,g,A);if(!tt(w)||!ye(v))return r?Pu:u;let S=`${v}__${u}`;Ou(h)||(S=`${S}__${JSON.stringify(h)}`);let N=c.get(S);return N||(N=new Intl.NumberFormat(v,qt({},w,h)),c.set(S,N)),y?N.formatToParts(f):N.format(f)}const mS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Mp(...e){const[t,n,r,o]=e,s=vt();let a=vt();if(!Kt(t))throw ko(Co.INVALID_ARGUMENT);const c=t;return ye(n)?s.key=n:tt(n)&&Object.keys(n).forEach(u=>{mS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:tt(r)&&(a=r),tt(o)&&(a=o),[s.key||"",c,s,a]}function r_(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const pj=e=>e,hj=e=>"",mj="text",gj=e=>e.length===0?"":Bh(e),yj=n$;function Ad(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function bj(e){const t=Kt(e.pluralIndex)?e.pluralIndex:-1;return Kt(e.named?.count)?e.named.count:Kt(e.named?.n)?e.named.n:t}function _j(e={}){const t=e.locale,n=bj(e),r=ye(t)&&Lt(e.pluralRules?.[t])?e.pluralRules[t]:Ad,o=r===Ad?void 0:Ad,s=v=>v[r(n,v.length,o)],a=e.list||[],c=v=>a[v],u=e.named||vt();Kt(e.pluralIndex)&&(u.count||=e.pluralIndex,u.n||=e.pluralIndex);const f=v=>u[v];function p(v,w){const A=Lt(e.messages)?e.messages(v,!!w):ot(e.messages)?e.messages[v]:!1;return A||(e.parent?e.parent.message(v):hj)}const h=v=>e.modifiers?e.modifiers[v]:pj,g=Lt(e.processor?.normalize)?e.processor.normalize:gj,y=Lt(e.processor?.interpolate)?e.processor.interpolate:yj,E=ye(e.processor?.type)?e.processor.type:mj,T={list:c,named:f,plural:s,linked:(v,...w)=>{const[A,S]=w;let N="text",O="";w.length===1?ot(A)?(O=A.modifier||O,N=A.type||N):ye(A)&&(O=A||O):w.length===2&&(ye(A)&&(O=A||O),ye(S)&&(N=S||N));const I=p(v,!0)(T),k=I===""||I===void 0?v:I,D=N==="vnode"&&jt(k)&&O?k[0]:k;return O?h(O)(D,N):D},message:p,type:E,interpolate:y,normalize:g,values:qt(vt(),a,u)};return T}const o_=()=>"",_r=e=>Lt(e);function i_(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:c}=e,[u,f]=Np(...t),p=rt(f.missingWarn)?f.missingWarn:e.missingWarn,h=rt(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,g=rt(f.escapeParameter)?f.escapeParameter:e.escapeParameter,y=!!f.resolvedMessage,E=ye(f.default)||rt(f.default)?rt(f.default)?s?u:()=>u:f.default:n?s?u:()=>u:null,b=n||E!=null&&(ye(E)||Lt(E)),T=Vh(e,f);g&&vj(f);let[v,w,A]=y?[u,T,c[T]||vt()]:gS(e,u,T,a,h,p),S=v,N=u;if(!y&&!(ye(S)||no(S)||_r(S))&&b&&(S=E,N=S),!y&&(!(ye(S)||no(S)||_r(S))||!ye(w)))return o?Pu:u;let O=!1;const I=()=>{O=!0},k=_r(S)?S:yS(e,u,w,S,N,I);if(O)return S;const D=Sj(e,w,A,f),B=_j(D),K=wj(e,k,B);let le=r?r(K,u):K;if(g&&ye(le)&&(le=ZF(le)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:ye(u)?u:_r(S)?S.key:"",locale:w||(_r(S)?S.locale:""),format:ye(S)?S:_r(S)?S.source:"",message:le};se.meta=qt({},e.__meta,lj()||{}),B$(se)}return le}function vj(e){jt(e.list)?e.list=e.list.map(t=>ye(t)?Bb(t):t):ot(e.named)&&Object.keys(e.named).forEach(t=>{ye(e.named[t])&&(e.named[t]=Bb(e.named[t]))})}function gS(e,t,n,r,o,s){const{messages:a,onWarn:c,messageResolver:u,localeFallbacker:f}=e,p=f(e,r,n);let h=vt(),g,y=null;const E="translate";for(let b=0;b<p.length&&(g=p[b],h=a[g]||vt(),(y=u(h,t))===null&&(y=h[t]),!(ye(y)||no(y)||_r(y)));b++)if(!dj(g,p)){const T=Gh(e,t,g,s,E);T!==t&&(y=T)}return[y,g,h]}function yS(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:c}=e;if(_r(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=(()=>r);return f.locale=n,f.key=t,f}const u=a(r,Ej(e,n,o,r,c,s));return u.locale=n,u.key=t,u.source=r,u}function wj(e,t,n){return t(n)}function Np(...e){const[t,n,r]=e,o=vt();if(!ye(t)&&!Kt(t)&&!_r(t)&&!no(t))throw ko(Co.INVALID_ARGUMENT);const s=Kt(t)?String(t):(_r(t),t);return Kt(n)?o.plural=n:ye(n)?o.default=n:tt(n)&&!Ou(n)?o.named=n:jt(n)&&(o.list=n),Kt(r)?o.plural=r:ye(r)?o.default=r:tt(r)&&qt(o,r),[s,o]}function Ej(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw s&&s(a),a},onCacheKey:a=>GF(t,n,a)}}function Sj(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:f,fallbackContext:p}=e,g={locale:t,modifiers:o,pluralRules:s,messages:(y,E)=>{let b=a(n,y);if(b==null&&(p||E)){const[T,,v]=gS(p||e,y,t,c,u,f);b=T??a(v,y)}if(ye(b)||no(b)){let T=!1;const w=yS(e,y,t,b,y,()=>{T=!0});return T?o_:w}else return _r(b)?b:o_}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),Kt(r.plural)&&(g.pluralIndex=r.plural),g}A$();const Cj="11.4.7";function kj(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ci().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ci().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ci().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ci().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mn={UNEXPECTED_RETURN_TYPE:H$,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 Wn(e,...t){return Au(e,null,void 0)}const Dp=si("__translateVNode"),Fp=si("__datetimeParts"),$p=si("__numberParts"),bS=si("__setPluralRules"),_S=si("__injectWithOption"),gs=si("__dispose");function ja(e){if(!ot(e)||no(e))return e;for(const t in e)if(vr(e,t))if(!t.includes("."))ot(e[t])&&ja(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in o||(o[n[a]]=vt()),!ot(o[n[a]])){s=!0;break}o=o[n[a]]}if(s||(no(o)?lS.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!no(o)){const a=o[n[r]];ot(a)&&ja(a)}}return e}function Kh(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=tt(n)?n:jt(r)?vt():{[e]:vt()};if(jt(r)&&r.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:u,resource:f}=c;u?(a[u]=a[u]||vt(),wc(f,a[u])):wc(f,a)}else ye(c)&&wc(JSON.parse(c),a)}),o==null&&s)for(const c in a)vr(a,c)&&ja(a[c]);return a}function vS(e){return e.type}function wS(e,t,n){let r=ot(t.messages)?t.messages:vt();"__i18nGlobal"in n&&(r=Kh(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ot(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ot(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function s_(e){return Gt(Xa,null,e,0)}function Ua(){return ar()}const a_="__INTLIFY_META__",l_=()=>[],xj=()=>!1;let c_=0;function u_(e){return((t,n,r,o)=>e(n,r,Ua()||void 0,o))}const Tj=()=>{const e=Ua();let t=null;return e&&(t=vS(e)[a_])?{[a_]:t}:null};function Yc(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Kc?Oe:Rn;let a=rt(e.inheritLocale)?e.inheritLocale:!0;const c=s(t&&a?t.locale.value:ye(e.locale)?e.locale:$a),u=s(t&&a?t.fallbackLocale.value:ye(e.fallbackLocale)||jt(e.fallbackLocale)||tt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=s(Kh(c.value,e)),p=s(tt(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=s(tt(e.numberFormats)?e.numberFormats:{[c.value]:{}});let g=t?t.missingWarn:rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=t?t.fallbackWarn:rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,E=t?t.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,T=Lt(e.missing)?e.missing:null,v=Lt(e.missing)?u_(e.missing):null,w=Lt(e.postTranslation)?e.postTranslation:null,A=t?t.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const N=t?t.modifiers:tt(e.modifiers)?e.modifiers:{};let O=e.pluralRules||t&&t.pluralRules,I;I=(()=>{r&&Qb(null);const U={version:Cj,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:N,pluralRules:O,missing:v===null?void 0:v,missingWarn:g,fallbackWarn:y,fallbackFormat:b,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:A,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=p.value,U.numberFormats=h.value,U.__datetimeFormatters=tt(I)?I.__datetimeFormatters:void 0,U.__numberFormatters=tt(I)?I.__numberFormatters:void 0;const X=uj(U);return r&&Qb(X),X})(),ia(I,c.value,u.value);function D(){return[c.value,u.value,f.value,p.value,h.value]}const B=ue({get:()=>c.value,set:U=>{I.locale=U,c.value=U}}),K=ue({get:()=>u.value,set:U=>{I.fallbackLocale=U,u.value=U,ia(I,c.value,U)}}),le=ue(()=>f.value),se=ue(()=>p.value),z=ue(()=>h.value);function ee(){return Lt(w)?w:null}function ae(U){w=U,I.postTranslation=U}function de(){return T}function ve(U){U!==null&&(v=u_(U)),T=U,I.missing=v}const ze=(U,X,be,ke,je,Xe)=>{D();let et;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=t?cj():void 0),et=U(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(be!=="translate exists"&&Kt(et)&&et===Pu||be==="translate exists"&&!et){const[pn,xn]=X();return t&&E?ke(t):je(pn)}else{if(Xe(et))return et;throw Wn(Mn.UNEXPECTED_RETURN_TYPE)}};function Ut(...U){return ze(X=>Reflect.apply(i_,null,[X,...U]),()=>Np(...U),"translate",X=>Reflect.apply(X.t,X,[...U]),X=>X,X=>ye(X))}function Ze(...U){const[X,be,ke]=U;if(ke&&!ot(ke))throw Wn(Mn.INVALID_ARGUMENT);return Ut(X,be,qt({resolvedMessage:!0},ke||{}))}function De(...U){return ze(X=>Reflect.apply(e_,null,[X,...U]),()=>Rp(...U),"datetime format",X=>Reflect.apply(X.d,X,[...U]),()=>qc,X=>ye(X)||jt(X))}function dn(...U){return ze(X=>Reflect.apply(n_,null,[X,...U]),()=>Mp(...U),"number format",X=>Reflect.apply(X.n,X,[...U]),()=>qc,X=>ye(X)||jt(X))}function on(U){return U.map(X=>ye(X)||Kt(X)||rt(X)?s_(String(X)):X)}const Mt={normalize:on,interpolate:U=>U,type:"vnode"};function te(...U){return ze(X=>{let be;const ke=X;try{ke.processor=Mt,be=Reflect.apply(i_,null,[ke,...U])}finally{ke.processor=null}return be},()=>Np(...U),"translate",X=>X[Dp](...U),X=>[s_(X)],X=>jt(X))}function ge(...U){return ze(X=>Reflect.apply(n_,null,[X,...U]),()=>Mp(...U),"number format",X=>X[$p](...U),l_,X=>ye(X)||jt(X))}function he(...U){return ze(X=>Reflect.apply(e_,null,[X,...U]),()=>Rp(...U),"datetime format",X=>X[Fp](...U),l_,X=>ye(X)||jt(X))}function we(U){O=U,I.pluralRules=O}function We(U,X){return ze(()=>{if(!U)return!1;const be=ye(X)?X:c.value,ke=ye(X)?[be]:Lp(I,u.value,be);for(let je=0;je<ke.length;je++){const Xe=G(ke[je]);let et=I.messageResolver(Xe,U);if(et===null&&(et=Xe[U]),no(et)||_r(et)||ye(et))return!0}return!1},()=>[U],"translate exists",be=>Reflect.apply(be.te,be,[U,X]),xj,be=>rt(be))}function R(U){let X=null;const be=Lp(I,u.value,c.value);for(let ke=0;ke<be.length;ke++){const je=f.value[be[ke]]||{},Xe=I.messageResolver(je,U);if(Xe!=null){X=Xe;break}}return X}function F(U){const X=R(U);return X??(t?t.tm(U)||{}:{})}function G(U){return f.value[U]||{}}function J(U,X){if(o){const be={[U]:X};for(const ke in be)vr(be,ke)&&ja(be[ke]);X=be[U]}f.value[U]=X,I.messages=f.value}function ne(U,X){f.value[U]=f.value[U]||{};const be={[U]:X};if(o)for(const ke in be)vr(be,ke)&&ja(be[ke]);X=be[U],wc(X,f.value[U]),I.messages=f.value}function Q(U){return p.value[U]||{}}function P(U,X){p.value[U]=X,I.datetimeFormats=p.value,t_(I,U,X)}function L(U,X){p.value[U]=qt(p.value[U]||{},X),I.datetimeFormats=p.value,t_(I,U,X)}function j(U){return h.value[U]||{}}function H(U,X){h.value[U]=X,I.numberFormats=h.value,r_(I,U,X)}function fe(U,X){h.value[U]=qt(h.value[U]||{},X),I.numberFormats=h.value,r_(I,U,X)}c_++,t&&Kc&&(gt(t.locale,U=>{a&&(c.value=U,I.locale=U,ia(I,c.value,u.value))}),gt(t.fallbackLocale,U=>{a&&(u.value=U,I.fallbackLocale=U,ia(I,c.value,u.value))}));const oe={id:c_,locale:B,fallbackLocale:K,get inheritLocale(){return a},set inheritLocale(U){a=U,U&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,ia(I,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:le,get modifiers(){return N},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(U){g=U,I.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(U){y=U,I.fallbackWarn=y},get fallbackRoot(){return E},set fallbackRoot(U){E=U},get fallbackFormat(){return b},set fallbackFormat(U){b=U,I.fallbackFormat=b},get warnHtmlMessage(){return A},set warnHtmlMessage(U){A=U,I.warnHtmlMessage=U},get escapeParameter(){return S},set escapeParameter(U){S=U,I.escapeParameter=U},t:Ut,getLocaleMessage:G,setLocaleMessage:J,mergeLocaleMessage:ne,getPostTranslationHandler:ee,setPostTranslationHandler:ae,getMissingHandler:de,setMissingHandler:ve,[bS]:we};return oe.datetimeFormats=se,oe.numberFormats=z,oe.rt=Ze,oe.te=We,oe.tm=F,oe.d=De,oe.n=dn,oe.getDateTimeFormat=Q,oe.setDateTimeFormat=P,oe.mergeDateTimeFormat=L,oe.getNumberFormat=j,oe.setNumberFormat=H,oe.mergeNumberFormat=fe,oe[_S]=n,oe[Dp]=te,oe[Fp]=he,oe[$p]=ge,oe}function Oj(e){const t=ye(e.locale)?e.locale:$a,n=ye(e.fallbackLocale)||jt(e.fallbackLocale)||tt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Lt(e.missing)?e.missing:void 0,o=rt(e.silentTranslationWarn)||Ts(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=rt(e.silentFallbackWarn)||Ts(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=rt(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,u=tt(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,p=Lt(e.postTranslation)?e.postTranslation:void 0,h=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,y=rt(e.sync)?e.sync:!0;let E=e.messages;if(tt(e.sharedMessages)){const N=e.sharedMessages;E=Object.keys(N).reduce((I,k)=>{const D=I[k]||(I[k]={});return qt(D,N[k]),I},E||{})}const{__i18n:b,__root:T,__injectWithOption:v}=e,w=e.datetimeFormats,A=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:E,flatJson:S,datetimeFormats:w,numberFormats:A,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:a,fallbackFormat:c,modifiers:u,pluralRules:f,postTranslation:p,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:y,__i18n:b,__root:T,__injectWithOption:v}}function jp(e={}){const t=Yc(Oj(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 rt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=rt(o)?!o:o},get silentFallbackWarn(){return rt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=rt(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 Aj(e,t,n){return{beforeCreate(){const r=Ua();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=f_(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=jp(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=f_(e,o);else{this.$i18n=jp({__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&&wS(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,a)=>this.$i18n.te(s,a),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=Ua();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$i18n;o&&(delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o?.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n)}}}function f_(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[bS](t.pluralizationRules||e.pluralizationRules);const n=Kh(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 qh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Pj({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Vt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},vt())}function ES(){return Vt}const Ij=Rt({name:"i18n-t",props:qt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Kt(e)||!isNaN(e)}},qh),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Fi({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const u=Object.keys(n).filter(h=>h[0]!=="_"),f=vt();e.locale&&(f.locale=e.locale),e.plural!==void 0&&(f.plural=ye(e.plural)?+e.plural:e.plural);const p=Pj(t,u);return o[Dp](e.keypath,p,f)},a=qt(vt(),r),c=ye(e.tag)||ot(e.tag)?e.tag:ES();return ot(c)?oi(c,a,{default:s}):oi(c,a,s())}}}),d_=Ij;function Lj(e){return jt(e)&&!ye(e[0])}function SS(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const a=()=>{const f={part:!0};let p=vt();e.locale&&(f.locale=e.locale),ye(e.format)?f.key=e.format:ot(e.format)&&(ye(e.format.key)&&(f.key=e.format.key),p=Object.keys(e.format).reduce((y,E)=>n.includes(E)?qt(vt(),y,{[E]:e.format[E]}):y,vt()));const h=r(e.value,f,p);let g=[f.key];return jt(h)?g=h.map((y,E)=>{const b=o[y.type],T=b?b({[y.type]:y.value,index:E,parts:h}):[y.value];return Lj(T)&&(T[0].key=`${y.type}-${E}`),T}):ye(h)&&(g=[h]),g},c=qt(vt(),s),u=ye(e.tag)||ot(e.tag)?e.tag:ES();return ot(u)?oi(u,c,{default:a}):oi(u,c,a())}}const Rj=Rt({name:"i18n-n",props:qt({value:{type:Number,required:!0},format:{type:[String,Object]}},qh),setup(e,t){const n=e.i18n||Fi({useScope:e.scope,__useComponent:!0});return SS(e,t,mS,(...r)=>n[$p](...r))}}),p_=Rj;function Mj(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 Nj(e){const t=a=>{const{instance:c,value:u}=a;if(!c||!c.$)throw Wn(Mn.UNEXPECTED_ERROR);const f=Mj(e,c.$),p=h_(u);return[Reflect.apply(f.t,f,[...m_(p)]),f]};return{created:(a,c)=>{const[u,f]=t(c);Kc&&(a.__i18nWatcher=gt(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),a.__composer=f,a.textContent=u},unmounted:a=>{Kc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:c})=>{if(a.__composer){const u=a.__composer,f=h_(c);a.textContent=Reflect.apply(u.t,u,[...m_(f)])}},getSSRProps:a=>{const[c]=t(a);return{textContent:c}}}}function h_(e){if(ye(e))return{path:e};if(tt(e)){if(!("path"in e))throw Wn(Mn.REQUIRED_VALUE,"path");return e}else throw Wn(Mn.INVALID_VALUE)}function m_(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,a={},c=r||{};return ye(n)&&(a.locale=n),Kt(o)&&(a.plural=o),Kt(s)&&(a.plural=s),[t,c,a]}function Dj(e,t,...n){const r=tt(n[0])?n[0]:{};(!rt(r.globalInstall)||r.globalInstall)&&([d_.name,"I18nT"].forEach(s=>e.component(s,d_)),[p_.name,"I18nN"].forEach(s=>e.component(s,p_)),[b_.name,"I18nD"].forEach(s=>e.component(s,b_))),e.directive("t",Nj(t))}const Fj=si("global-vue-i18n");function $j(e={}){const t=__VUE_I18N_LEGACY_API__&&rt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=rt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=jj(e,t),a=si("");function c(h){return r.get(h)||null}function u(h,g){r.set(h,g)}function f(h){r.delete(h)}const p={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,...g){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,p),tt(g[0])){const b=g[0];p.__composerExtend=b.__composerExtend,p.__vueI18nExtend=b.__vueI18nExtend}let y=null;!t&&n&&(y=Gj(h,p.global)),__VUE_I18N_FULL_INSTALL__&&Dj(h,p,...g),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Aj(s,s.__composer,p));const E=h.unmount;h.unmount=()=>{y&&y(),p.dispose(),E()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:f};return p}function Fi(e={}){const t=Ua();if(t==null)throw Wn(Mn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wn(Mn.NOT_INSTALLED);const n=Uj(t),r=Bj(n),o=vS(t),s=zj(e,o);if(s==="global")return wS(r,e,o),r;if(s==="parent"){let u=g_(n,t,e.__useComponent);return u==null&&(u=r),u}if(s==="isolated"){if(n.mode!=="composition")throw Wn(Mn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=n,f=qt({},e),p=g_(n,t);f.__root=p||r;const h=Yc(f);return u.__composerExtend&&(h[gs]=u.__composerExtend(h)),Ga()&&Th(()=>{const y=h[gs];y&&(y(),delete h[gs])}),h}const a=n;let c=a.__getInstance(t);if(c==null){const u=qt({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),c=Yc(u),a.__composerExtend&&(c[gs]=a.__composerExtend(c)),Hj(a,t,c),a.__setInstance(t,c)}return c}function jj(e,t){const n=xh(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>jp(e)):n.run(()=>Yc(e));if(r==null)throw Wn(Mn.UNEXPECTED_ERROR);return[n,r]}function Uj(e){const t=En(e.isCE?Fj:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wn(e.isCE?Mn.NOT_INSTALLED_WITH_PROVIDE:Mn.UNEXPECTED_ERROR);return t}function zj(e,t){return Ou(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Bj(e){return e.mode==="composition"?e.global:e.global.__composer}function g_(e,t,n=!1){let r=null;const o=t.root;let s=Wj(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=a.__getInstance(s);c!=null&&(r=c.__composer,n&&r&&!r[_S]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Wj(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Hj(e,t,n){Er(()=>{},t),Fs(()=>{const r=n;e.__deleteInstance(t);const o=r[gs];o&&(o(),delete r[gs])},t)}const Vj=["locale","fallbackLocale","availableLocales"],y_=["t","rt","d","n","tm","te"];function Gj(e,t){const n=Object.create(null);return Vj.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Wn(Mn.UNEXPECTED_ERROR);const a=Pt(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,y_.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Wn(Mn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,y_.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Kj=Rt({name:"i18n-d",props:qt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},qh),setup(e,t){const n=e.i18n||Fi({useScope:e.scope,__useComponent:!0});return SS(e,t,hS,(...r)=>n[Fp](...r))}}),b_=Kj;kj();oj(j$);ij(tj);sj(Lp);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ci();e.__INTLIFY__=!0,U$(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const qj=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=Mo(),o=js(),{messageListener:s,sendMessageToTop:a}=Us(),{addListener:c}=s(),u=Oe([]),f=t?Qe.SETTING_DATA_LEAF_SET:Qe.SETTING_DATA_SET,p=t?Qe.SETTING_DATA_LEAF_GET:Qe.SETTING_DATA_GET;return c(f,h=>{u.value=h}),a(p,n,o,r),{depsSetting:u}},CS=Symbol("depsSetting"),Yj={class:"app-container"},Xj=Rt({__name:"App",setup(e){const{locale:t}=Fi(),n=iD(),r=HN(n),{params:{compId:o="",instanceUid:s}}=Mo(),{messageListener:a,sendMessageToTop:c}=Us(),{addListener:u}=a(),f=js(),{depsSetting:p}=qj(!1,!0),h=ue(()=>p.value.length>0);return Ti(CS,p),u(Qe.THEME_CHANGE_SET,g=>{r(g.isDark??!1)}),u(Qe.LOCALE_SET,g=>{t.value=g}),c(Qe.LOCALE_GET,o,f,s),c(Qe.THEME_CHANGE_GET,o,f,s),Er(()=>{const g=document.getElementById("loadingContainer");g&&g.remove()}),(g,y)=>{const E=Nh("router-view");return Se(),pt("div",Yj,[h.value?(Se(),_t(E,{key:0})):Mr("",!0)])}}}),Sr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Jj=Sr(Xj,[["__scopeId","data-v-6efeee9c"]]),tc=window.parent,__=["postMessage","vue2-sfc-loader","vue3-sfc-loader","react-jsx-loader"];let nc=null;function Qj(){return nc||(nc=new Proxy(tc,{get(e,t){if(__.includes(String(t)))return t==="postMessage"?tc.postMessage.bind(tc):Reflect.get(tc,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 __.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),nc)}Object.defineProperty(window,"parent",{get(){return Qj()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const Zj={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:"更新记录",ratingReview:"评分评论",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",adminSlogan:"组件管理平台 · 后台管理系统",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量",or:"或"},eU={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",previewImage:"预览图",previewImageRequired:"请上传或生成预览图",previewImageHint:"在小窗预览面板展示的截图,用于组件市场封面。如自动截图失败,请手动上传 PNG 图片",uploadPreviewImage:"上传预览图",generateScreenshot:"生成截图",previewImageFallbackHint:"预览图仅在组件无法渲染时生效",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarFound:"检测到相似组件",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}】已经下载或者有同名组件,是否覆盖?",downloadCoverTitle:"组件覆盖确认",coverConfirm:"确认覆盖",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 删除"},uploadConfirmTitle:"上传确认",renameFolderTitle:"文件夹名称不一致",renameFolderTip:"组件名称「{editedName}」与文件夹名称「{folderName}」不一致。",renameFolderQuestion:"是否在上传成功后同步修改文件夹名称?",renameSyncYes:"同步修改文件夹名称",renameSyncNo:"仅上传,不修改文件夹名称"},tU={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:"支持创建分组菜单,灵活组织团队组件"},nU={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:"修改邮箱",bindEmail:"绑定邮箱",emailBound:"邮箱绑定成功",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",pleaseBindEmailFirst:"请先绑定邮箱",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",loggingIn:"登录中…",pleaseInputAccountAndPassword:"请输入您的账号和密码",invalidAccountOrPassword:"账号或密码错误",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录",loginWithGithub:"使用 GitHub 登录",githubLoggingIn:"GitHub 登录中…",githubLoginFailed:"GitHub 登录失败",missingToken:"未获取到授权令牌",returnToLogin:"返回登录"},rU={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},oU={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功",renameFolder:"文件夹名称修改成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API",renameFolder:"文件夹重命名失败,但组件已上传成功"},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!"}},iU={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",myComments:"我的评论",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",githubCallback:"GitHub 登录回调",mdPreview:"文档预览",unknownTag:"未知标签"},sU={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},aU={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},lU={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},cU={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},uU={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},fU={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},dU={submit:"提交"},pU={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},hU={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},mU={myCommentsTitle:"我的评论",tabReceived:"收到的评论",tabMyDiscussions:"我的讨论",noMyCompsComments:"暂无评论",noReceivedComments:"暂无收到的评论",noMyDiscussions:"暂无参与讨论",new:"新",rating:"评分",ratingSuccess:"评分成功",ratingCancelSuccess:"已取消评分",ratingError:"评分失败,请重试",ratingDialogDesc:"正确的评分有助组件曝光,帮助更多人发现优秀组件",ratingThanks:"感谢你的打分,有什么意见请在评论区留言",writePlaceholder:"写下你的评论...",loginPlaceholder:"请先登录后再评论",post:"发表评论",allComments:"全部评论",empty:"暂无评论,来说两句吧",loadError:"加载评论失败",postSuccess:"评论发表成功",postError:"评论失败,请重试",anonymous:"匿名",self:"自己",cancelReply:"取消回复",reply:"回复",replyTo:"回复 {'@'}{name}...",replySuccess:"回复成功",replyError:"回复失败,请重试",expandReplies:"展开 {count} 条回复",collapseReplies:"收起回复",deleteConfirm:"确定删除这条评论吗?删除后不可恢复。",deleteTitle:"确认删除",deleteSuccess:"删除成功",deleteError:"删除失败,请重试",viewAllReplies:"查看全部 {count} 条回复",time:{justNow:"刚刚",minutesAgo:"{n}分钟前",hoursAgo:"{n}小时前",daysAgo:"{n}天前"}},gU={common:Zj,comp:eU,team:tU,user:nU,file:rU,message:oU,route:iU,markdown:sU,terminal:aU,deps:lU,setting:cU,upgrade:uU,tag:fU,formCreate:dU,validateHash:pU,project:hU,comment:mU},yU={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",ratingReview:"Ratings & Reviews",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",adminSlogan:"Component Management Platform · Admin System",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",or:"or"},bU={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",previewImage:"Preview Image",previewImageRequired:"Please upload or generate a preview image",previewImageHint:"Screenshot displayed in the mini preview panel, used as the component market cover. If auto-screenshot fails, please manually upload a PNG image",uploadPreviewImage:"Upload Preview Image",generateScreenshot:"Generate Screenshot",previewImageFallbackHint:"Preview image only takes effect when the component fails to render",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",similarFound:"Similar Components Detected",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?",downloadCoverTitle:"Overwrite Confirmation",coverConfirm:"Confirm 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"},uploadConfirmTitle:"Upload Confirmation",renameFolderTitle:"Folder Name Mismatch",renameFolderTip:'Component name "{editedName}" does not match folder name "{folderName}".',renameFolderQuestion:"Do you want to sync the folder name after upload?",renameSyncYes:"Sync folder name",renameSyncNo:"Upload only, do not modify folder name"},_U={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"},vU={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",bindEmail:"Bind Email",emailBound:"Email bound successfully",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",pleaseBindEmailFirst:"Please bind an email first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",loggingIn:"Logging in...",pleaseInputAccountAndPassword:"Please enter your account and password",invalidAccountOrPassword:"Invalid account or password",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login",loginWithGithub:"Login with GitHub",githubLoggingIn:"Logging in with GitHub...",githubLoginFailed:"GitHub Login Failed",missingToken:"Authorization token not received",returnToLogin:"Return to Login"},wU={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"},EU={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",renameFolder:"Folder name updated successfully"},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",renameFolder:"Folder rename failed, but component was uploaded successfully"},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!"}},SU={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",myComments:"My Comments",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",githubCallback:"GitHub Login Callback",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},CU={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},kU={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},xU={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},TU={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},OU={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"},AU={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},PU={submit:"Submit"},IU={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'},LU={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"},RU={myCommentsTitle:"My Comments",tabReceived:"Received",tabMyDiscussions:"My Discussions",noMyCompsComments:"No comments yet",noReceivedComments:"No comments received",noMyDiscussions:"No discussions yet",new:"New",rating:"Rating",ratingSuccess:"Rating submitted",ratingCancelSuccess:"Rating removed",ratingError:"Failed to rate, please try again",ratingDialogDesc:"Accurate ratings help components get more exposure",ratingThanks:"Thank you for your rating! Feel free to leave a comment below.",writePlaceholder:"Write a comment...",loginPlaceholder:"Please login to comment",post:"Post Comment",allComments:"All Comments",empty:"No comments yet. Be the first to comment!",loadError:"Failed to load comments",postSuccess:"Comment posted successfully",postError:"Failed to post comment, please try again",anonymous:"Anonymous",self:"Me",cancelReply:"Cancel Reply",reply:"Reply",replyTo:"Reply to {'@'}{name}...",replySuccess:"Reply posted successfully",replyError:"Failed to reply, please try again",expandReplies:"Expand {count} replies",collapseReplies:"Collapse replies",deleteConfirm:"Are you sure you want to delete this comment? This action cannot be undone.",deleteTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",deleteError:"Failed to delete, please try again",viewAllReplies:"View all {count} replies",time:{justNow:"just now",minutesAgo:"{n} minutes ago",hoursAgo:"{n} hours ago",daysAgo:"{n} days ago"}},MU={common:yU,comp:bU,team:_U,user:vU,file:wU,message:EU,route:SU,markdown:CU,terminal:kU,deps:xU,setting:TU,upgrade:OU,tag:AU,formCreate:PU,validateHash:IU,project:LU,comment:RU},NU={zh:gU,en:MU},DU=localStorage.getItem(zF.LOCALE_KEY)||"zh",FU=$j({locale:DU,messages:NU,legacy:!1});function $U(e){e.use(FU)}let kS;const Iu=e=>kS=e,xS=Symbol();function Up(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var xa;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(xa||(xa={}));function jU(){const e=xh(!0),t=e.run(()=>Oe({}));let n=[],r=[];const o=Ih({install(s){Iu(o),o._a=s,s.provide(xS,o),s.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),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 TS=()=>{};function v_(e,t,n,r=TS){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Ga()&&Th(o),o}function ns(e,...t){e.forEach(n=>{n(...t)})}const UU=e=>e(),w_=Symbol(),Pd=Symbol();function zp(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];Up(o)&&Up(r)&&e.hasOwnProperty(n)&&!Pt(r)&&!xo(r)?e[n]=zp(o,r):e[n]=r}return e}const zU=Symbol();function BU(e){return!Up(e)||!Object.prototype.hasOwnProperty.call(e,zU)}const{assign:Yo}=Object;function WU(e){return!!(Pt(e)&&e.effect)}function HU(e,t,n,r){const{state:o,actions:s,getters:a}=t,c=n.state.value[e];let u;function f(){c||(n.state.value[e]=o?o():{});const p=KR(n.state.value[e]);return Yo(p,s,Object.keys(a||{}).reduce((h,g)=>(h[g]=Ih(ue(()=>{Iu(n);const y=n._s.get(e);return a[g].call(y,y)})),h),{}))}return u=OS(e,f,t,n,r,!0),u}function OS(e,t,n={},r,o,s){let a;const c=Yo({actions:{}},n),u={deep:!0};let f,p,h=new Set,g=new Set,y;const E=r.state.value[e];!s&&!E&&(r.state.value[e]={});let b;function T(k){let D;f=p=!1,typeof k=="function"?(k(r.state.value[e]),D={type:xa.patchFunction,storeId:e,events:y}):(zp(r.state.value[e],k),D={type:xa.patchObject,payload:k,storeId:e,events:y});const B=b=Symbol();Ur().then(()=>{b===B&&(f=!0)}),p=!0,ns(h,D,r.state.value[e])}const v=s?function(){const{state:D}=n,B=D?D():{};this.$patch(K=>{Yo(K,B)})}:TS;function w(){a.stop(),h.clear(),g.clear(),r._s.delete(e)}const A=(k,D="")=>{if(w_ in k)return k[Pd]=D,k;const B=function(){Iu(r);const K=Array.from(arguments),le=new Set,se=new Set;function z(de){le.add(de)}function ee(de){se.add(de)}ns(g,{args:K,name:B[Pd],store:N,after:z,onError:ee});let ae;try{ae=k.apply(this&&this.$id===e?this:N,K)}catch(de){throw ns(se,de),de}return ae instanceof Promise?ae.then(de=>(ns(le,de),de)).catch(de=>(ns(se,de),Promise.reject(de))):(ns(le,ae),ae)};return B[w_]=!0,B[Pd]=D,B},S={_p:r,$id:e,$onAction:v_.bind(null,g),$patch:T,$reset:v,$subscribe(k,D={}){const B=v_(h,k,D.detached,()=>K()),K=a.run(()=>gt(()=>r.state.value[e],le=>{(D.flush==="sync"?p:f)&&k({storeId:e,type:xa.direct,events:y},le)},Yo({},u,D)));return B},$dispose:w},N=Ka(S);r._s.set(e,N);const I=(r._a&&r._a.runWithContext||UU)(()=>r._e.run(()=>(a=xh()).run(()=>t({action:A}))));for(const k in I){const D=I[k];if(Pt(D)&&!WU(D)||xo(D))s||(E&&BU(D)&&(Pt(D)?D.value=E[k]:zp(D,E[k])),r.state.value[e][k]=D);else if(typeof D=="function"){const B=A(D,k);I[k]=B,c.actions[k]=D}}return Yo(N,I),Yo(nt(N),I),Object.defineProperty(N,"$state",{get:()=>r.state.value[e],set:k=>{T(D=>{Yo(D,k)})}}),r._p.forEach(k=>{Yo(N,a.run(()=>k({store:N,app:r._a,pinia:r,options:c})))}),E&&s&&n.hydrate&&n.hydrate(N.$state,E),f=!0,p=!0,N}function AS(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(a,c){const u=Ya();return a=a||(u?En(xS,null):null),a&&Iu(a),a=kS,a._s.has(e)||(o?OS(e,t,r,a):HU(e,r,a)),a._s.get(e)}return s.$id=e,s}function VU({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const E_=jU();function GU(e){E_.use(VU),e.use(E_)}const PS=/^[a-z0-9]+(-[a-z0-9]+)*$/,Lu=(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 c=o.pop(),u=o.pop(),f={provider:o.length>0?o[0]:r,prefix:u,name:c};return t&&!Ec(f)?null:f}const s=o[0],a=s.split("-");if(a.length>1){const c={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Ec(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!Ec(c,n)?null:c}return null},Ec=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function KU(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const c=r[a]&&r[a].parent,u=c&&s(c);u&&(o[a]=[c].concat(u))}return o[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const IS=Object.freeze({left:0,top:0,width:16,height:16}),Xc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ru=Object.freeze({...IS,...Xc}),Bp=Object.freeze({...Ru,body:"",hidden:!1});function qU(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 S_(e,t){const n=qU(e,t);for(const r in Bp)r in Xc?r in e&&!(r in n)&&(n[r]=Xc[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function YU(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function a(c){s=S_(r[c]||o[c],s)}return a(t),n.forEach(a),S_(e,s)}function LS(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=KU(e);for(const o in r){const s=r[o];s&&(t(o,YU(e,o,s)),n.push(o))}return n}const XU={provider:"",aliases:{},not_found:{},...IS};function Id(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function RS(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Id(e,XU))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Id(s,Bp))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],a=s.parent;if(!o||typeof a!="string"||!n[a]&&!r[a]||!Id(s,Bp))return null}return t}const C_=Object.create(null);function JU(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function As(e,t){const n=C_[e]||(C_[e]=Object.create(null));return n[t]||(n[t]=JU(e,t))}function MS(e,t){return RS(t)?LS(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function QU(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let za=!1;function NS(e){return typeof e=="boolean"&&(za=e),za}function ZU(e){const t=typeof e=="string"?Lu(e,!0,za):e;if(t){const n=As(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function e2(e,t){const n=Lu(e,!0,za);if(!n)return!1;const r=As(n.provider,n.prefix);return t?QU(r,n.name,t):(r.missing.add(n.name),!0)}function t2(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),za&&!t&&!e.prefix){let r=!1;return RS(e)&&(e.prefix="",LS(e,(o,s)=>{e2(o,s)&&(r=!0)})),r}const n=e.prefix;return Ec({prefix:n,name:"a"})?!!MS(As(t,n),e):!1}const DS=Object.freeze({width:null,height:null}),FS=Object.freeze({...DS,...Xc}),n2=/(-?[0-9.]*[0-9]+[0-9.]*)/g,r2=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function k_(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(n2);if(r===null||!r.length)return e;const o=[];let s=r.shift(),a=r2.test(s);for(;;){if(a){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");a=!a}}function o2(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 a=e.indexOf(">",s);if(a===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}function i2(e,t){return e?"<defs>"+e+"</defs>"+t:t}function s2(e,t,n){const r=o2(e);return i2(r.defs,t+r.content+n)}const a2=e=>e==="unset"||e==="undefined"||e==="none";function l2(e,t){const n={...Ru,...e},r={...FS,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(b=>{const T=[],v=b.hFlip,w=b.vFlip;let A=b.rotate;v?w?A+=2:(T.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),T.push("scale(-1 1)"),o.top=o.left=0):w&&(T.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),T.push("scale(1 -1)"),o.top=o.left=0);let S;switch(A<0&&(A-=Math.floor(A/4)*4),A=A%4,A){case 1:S=o.height/2+o.top,T.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:T.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:S=o.width/2+o.left,T.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}A%2===1&&(o.left!==o.top&&(S=o.left,o.left=o.top,o.top=S),o.width!==o.height&&(S=o.width,o.width=o.height,o.height=S)),T.length&&(s=s2(s,'<g transform="'+T.join(" ")+'">',"</g>"))});const a=r.width,c=r.height,u=o.width,f=o.height;let p,h;a===null?(h=c===null?"1em":c==="auto"?f:c,p=k_(h,u/f)):(p=a==="auto"?u:a,h=c===null?k_(p,f/u):c==="auto"?f:c);const g={},y=(b,T)=>{a2(T)||(g[b]=T.toString())};y("width",p),y("height",h);const E=[o.left,o.top,u,f];return g.viewBox=E.join(" "),{attributes:g,viewBox:E,body:s}}const c2=/\sid="(\S+)"/g,x_=new Map;function u2(e){e=e.replace(/[0-9]+$/,"")||"a";const t=x_.get(e)||0;return x_.set(e,t+1),t?`${e}${t}`:e}function f2(e){const t=[];let n;for(;n=c2.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=u2(o),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Wp=Object.create(null);function d2(e,t){Wp[e]=t}function Hp(e){return Wp[e]||Wp[""]}function Yh(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 Xh=Object.create(null),sa=["https://api.simplesvg.com","https://api.unisvg.com"],Sc=[];for(;sa.length>0;)sa.length===1||Math.random()>.5?Sc.push(sa.shift()):Sc.push(sa.pop());Xh[""]=Yh({resources:["https://api.iconify.design"].concat(Sc)});function p2(e,t){const n=Yh(t);return n===null?!1:(Xh[e]=n,!0)}function Jh(e){return Xh[e]}const h2=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let T_=h2();function m2(e,t){const n=Jh(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function g2(e){return e===404}const y2=(e,t,n)=>{const r=[],o=m2(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((u,f)=>{c+=u.length+1,c>=o&&f>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},c=u.length),a.icons.push(u)}),r.push(a),r};function b2(e){if(typeof e=="string"){const t=Jh(e);if(t)return t.path}return"/"}const _2=(e,t,n)=>{if(!T_){n("abort",424);return}let r=b2(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.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;T_(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(g2(a)?"abort":"next",a)});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)})},v2={prepare:y2,send:_2};function $S(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function w2(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 a=s.icons,c=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==o)return!0;const f=u.name;if(e.icons[f])a.loaded.push({provider:r,prefix:o,name:f});else if(e.missing.has(f))a.missing.push({provider:r,prefix:o,name:f});else return n=!0,!0;return!1}),a.pending.length!==c&&(n||$S([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let E2=0;function S2(e,t,n){const r=E2++,o=$S.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),o}function C2(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,a=o.prefix,c=o.name,u=n[s]||(n[s]=Object.create(null)),f=u[a]||(u[a]=As(s,a));let p;c in f.icons?p=t.loaded:a===""||f.missing.has(c)?p=t.missing:p=t.pending;const h={provider:s,prefix:a,name:c};p.push(h)}),t}function k2(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Lu(o,t,n):o;s&&r.push(s)}),r}const x2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function T2(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let O=e.resources.slice(0);for(a=[];O.length>1;){const I=Math.floor(Math.random()*O.length);a.push(O[I]),O=O.slice(0,I).concat(O.slice(I+1))}a=a.concat(O)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let u="pending",f=0,p,h=null,g=[],y=[];typeof r=="function"&&y.push(r);function E(){h&&(clearTimeout(h),h=null)}function b(){u==="pending"&&(u="aborted"),E(),g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function T(O,I){I&&(y=[]),typeof O=="function"&&y.push(O)}function v(){return{startTime:c,payload:t,status:u,queriesSent:f,queriesPending:g.length,subscribe:T,abort:b}}function w(){u="failed",y.forEach(O=>{O(void 0,p)})}function A(){g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function S(O,I,k){const D=I!=="success";switch(g=g.filter(B=>B!==O),u){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){p=k,w();return}if(D){p=k,g.length||(a.length?N():w());return}if(E(),A(),!e.random){const B=e.resources.indexOf(O.resource);B!==-1&&B!==e.index&&(e.index=B)}u="completed",y.forEach(B=>{B(k)})}function N(){if(u!=="pending")return;E();const O=a.shift();if(O===void 0){if(g.length){h=setTimeout(()=>{E(),u==="pending"&&(A(),w())},e.timeout);return}w();return}const I={status:"pending",resource:O,callback:(k,D)=>{S(I,k,D)}};g.push(I),f++,h=setTimeout(N,e.rotate),n(O,t,I.callback)}return setTimeout(N),v}function jS(e){const t={...x2,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,u){const f=T2(t,a,c,(p,h)=>{r(),u&&u(p,h)});return n.push(f),f}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function O_(){}const Ld=Object.create(null);function O2(e){if(!Ld[e]){const t=Jh(e);if(!t)return;Ld[e]={config:t,redundancy:jS(t)}}return Ld[e]}function A2(e,t,n){let r,o;if(typeof e=="string"){const s=Hp(e);if(!s)return n(void 0,424),O_;o=s.send;const a=O2(e);a&&(r=a.redundancy)}else{const s=Yh(e);if(s){r=jS(s);const a=Hp(e.resources?e.resources[0]:"");a&&(o=a.send)}}return!r||!o?(n(void 0,424),O_):r.query(t,o,n)().abort}function A_(){}function P2(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,w2(e)}))}function I2(e){const t=[],n=[];return e.forEach(r=>{(r.match(PS)?t:n).push(r)}),{valid:t,invalid:n}}function aa(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(!MS(e,n).length){r();return}}catch(o){console.error(o)}r(),P2(e)}function P_(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function L2(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)){P_(e.loadIcons(o,r,n),f=>{aa(e,o,f)});return}if(s){o.forEach(f=>{P_(s(f,r,n),p=>{aa(e,[f],p?{prefix:r,icons:{[f]:p}}:null)})});return}const{valid:a,invalid:c}=I2(o);if(c.length&&aa(e,c,null),!a.length)return;const u=r.match(PS)?Hp(n):null;if(!u){aa(e,a,null);return}u.prepare(n,r,a).forEach(f=>{A2(n,f,p=>{aa(e,f.icons,p)})})}))}const R2=(e,t)=>{const n=C2(k2(e,!0,NS()));if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,A_)}),()=>{c=!1}}const r=Object.create(null),o=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:f}=c;if(f===a&&u===s)return;s=u,a=f,o.push(As(u,f));const p=r[u]||(r[u]=Object.create(null));p[f]||(p[f]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:f,name:p}=c,h=As(u,f),g=h.pendingIcons||(h.pendingIcons=new Set);g.has(p)||(g.add(p),r[u][f].push(p))}),o.forEach(c=>{const u=r[c.provider][c.prefix];u.length&&L2(c,u)}),t?S2(t,n,o):A_};function M2(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in DS?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const N2=/[\s,]+/;function D2(e,t){t.split(N2).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function F2(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 $2(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 j2(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function U2(e){return"data:image/svg+xml,"+j2(e)}function z2(e){return'url("'+U2(e)+'")'}const I_={...FS,inline:!1},B2={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},W2={display:"inline-block"},Vp={backgroundColor:"currentColor"},US={backgroundColor:"transparent"},L_={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},R_={webkitMask:Vp,mask:Vp,background:US};for(const e in R_){const t=R_[e];for(const n in L_)t[e+n]=L_[n]}const Cc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Cc[e+"-flip"]=t,Cc[e.slice(0,1)+"-flip"]=t,Cc[e+"Flip"]=t});function M_(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const N_=(e,t)=>{const n=M2(I_,t),r={...B2},o=t.mode||"svg",s={},a=t.style,c=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in t){const T=t[b];if(T!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[b]=T===!0||T==="true"||T===1;break;case"flip":typeof T=="string"&&D2(n,T);break;case"color":s.color=T;break;case"rotate":typeof T=="string"?n[b]=F2(T):typeof T=="number"&&(n[b]=T);break;case"ariaHidden":case"aria-hidden":T!==!0&&T!=="true"&&delete r["aria-hidden"];break;default:{const v=Cc[b];v?(T===!0||T==="true"||T===1)&&(n[v]=!0):I_[b]===void 0&&(r[b]=T)}}}const u=l2(e,n),f=u.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...c},Object.assign(r,f),r.innerHTML=f2(u.body),oi("svg",r);const{body:p,width:h,height:g}=e,y=o==="mask"||(o==="bg"?!1:p.indexOf("currentColor")!==-1),E=$2(p,{...f,width:h+"",height:g+""});return r.style={...s,"--svg":z2(E),width:M_(f.width),height:M_(f.height),...W2,...y?Vp:US,...c},oi("span",r)};NS(!0);d2("",v2);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"||!t2(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;p2(n,o)||console.error(r)}catch{console.error(r)}}}}const H2={...Ru,body:""},V2=Rt((e,{emit:t})=>{const n=Oe(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=Oe(!!e.ssr),s=Oe(""),a=Rn(null);function c(){const f=e.icon;if(typeof f=="object"&&f!==null&&typeof f.body=="string")return s.value="",{data:f};let p;if(typeof f!="string"||(p=Lu(f,!1,!0))===null)return null;let h=ZU(p);if(!h){const E=n.value;return(!E||E.name!==f)&&(h===null?n.value={name:f}:n.value={name:f,abort:R2([p],u)}),null}r(),s.value!==f&&(s.value=f,Ur(()=>{t("load",f)}));const g=e.customise;if(g){h=Object.assign({},h);const E=g(h.body,p.name,p.prefix,p.provider);typeof E=="string"&&(h.body=E)}const y=["iconify"];return p.prefix!==""&&y.push("iconify--"+p.prefix),p.provider!==""&&y.push("iconify--"+p.provider),{data:h,classes:y}}function u(){const f=c();f?f.data!==a.value?.data&&(a.value=f):a.value=null}return o.value?u():Er(()=>{o.value=!0,u()}),gt(()=>e.icon,u),Fs(r),()=>{const f=a.value;if(!f)return N_(H2,e);let p=e;return f.classes&&(p={...e,class:f.classes.join(" ")}),N_({...Ru,...f.data},p)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function G2(e){e.component("Icon",V2)}const Mu="v-loading-mask",zS="v-loading-spinner",BS="v-loading-parent";function K2(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function q2(){const e=document.createElement("div");e.className=Mu,e.innerHTML=`<div class="${zS}"></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=K2(),t.zIndex="999",t.borderRadius="inherit",e}function Y2(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
4
+ .${zS} {
5
+ width: 40px;
6
+ height: 40px;
7
+ border: 3px solid #e0e0e0;
8
+ border-top-color: #409eff;
9
+ border-radius: 50%;
10
+ animation: v-loading-rotate 0.8s linear infinite;
11
+ }
12
+
13
+ @keyframes v-loading-rotate {
14
+ 0% { transform: rotate(0deg); }
15
+ 100% { transform: rotate(360deg); }
16
+ }
17
+ `,document.head.appendChild(e)}const X2=200,rc=new WeakMap;function J2(e){if(e.querySelector(`.${Mu}`))return;e.classList.add(BS),getComputedStyle(e).position==="static"&&(e.style.position="relative"),Y2(),e.appendChild(q2())}function Q2(e){const t=e.querySelector(`.${Mu}`);t&&t.remove(),e.classList.remove(BS)}function D_(e,t){const n=rc.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${Mu}`)){const o=setTimeout(()=>{rc.delete(e),J2(e)},X2);rc.set(e,o)}}else n&&(clearTimeout(n),rc.delete(e)),Q2(e)}const Z2={mounted(e,t){D_(e,t)},updated(e,t){t.value!==t.oldValue&&D_(e,t)}};function ez(e){GU(e),$U(e),G2(e),e.directive("loading",Z2)}function WS(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tz(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&WS(e.default)}const ut=Object.assign;function Rd(e,t){const n={};for(const r in t){const o=t[r];n[r]=jr(o)?o.map(e):e(o)}return n}const Ta=()=>{},jr=Array.isArray;function F_(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const HS=Symbol("");function Ps(e,t){return ut(new Error,{type:e,[HS]:!0},t)}function yo(e,t){return e instanceof Error&&HS in e&&(t==null||!!(e.type&t))}const nz=Symbol(""),$_=Symbol(""),Qh=Symbol(""),VS=Symbol(""),Gp=Symbol("");const hs=typeof document<"u",GS=/#/g,rz=/&/g,oz=/\//g,iz=/=/g,sz=/\?/g,KS=/\+/g,az=/%5B/g,lz=/%5D/g,qS=/%5E/g,cz=/%60/g,YS=/%7B/g,uz=/%7C/g,XS=/%7D/g,fz=/%20/g;function Zh(e){return e==null?"":encodeURI(""+e).replace(uz,"|").replace(az,"[").replace(lz,"]")}function dz(e){return Zh(e).replace(YS,"{").replace(XS,"}").replace(qS,"^")}function Kp(e){return Zh(e).replace(KS,"%2B").replace(fz,"+").replace(GS,"%23").replace(rz,"%26").replace(cz,"`").replace(YS,"{").replace(XS,"}").replace(qS,"^")}function pz(e){return Kp(e).replace(iz,"%3D")}function hz(e){return Zh(e).replace(GS,"%23").replace(sz,"%3F")}function mz(e){return hz(e).replace(oz,"%2F")}function Jc(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const gz=/\/$/,yz=e=>e.replace(gz,"");function Md(e,t,n="/"){let r,o={},s="",a="";const c=t.indexOf("#");let u=t.indexOf("?");return u=c>=0&&u>c?-1:u,u>=0&&(r=t.slice(0,u),s=t.slice(u,c>0?c:t.length),o=e(s.slice(1))),c>=0&&(r=r||t.slice(0,c),a=t.slice(c,t.length)),r=wz(r??t,n),{fullPath:r+s+a,path:r,query:o,hash:Jc(a)}}function bz(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function j_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _z(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Is(t.matched[r],n.matched[o])&&JS(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Is(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function JS(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!vz(e[n],t[n]))return!1;return!0}function vz(e,t){return jr(e)?U_(e,t):jr(t)?U_(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function U_(e,t){return jr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function wz(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,a,c;for(a=0;a<r.length;a++)if(c=r[a],c!==".")if(c==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}const Ho={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function Ez(e){if(!e)if(hs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yz(e)}const Sz=/^[^#]+#/;function Cz(e,t){return e.replace(Sz,"#")+t}function kz(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 Nu=()=>({left:window.scrollX,top:window.scrollY});function xz(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=kz(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 z_(e,t){return(history.state?history.state.position-t:-1)+e}const qp=new Map;function Tz(e,t){qp.set(e,t)}function Oz(e){const t=qp.get(e);return qp.delete(e),t}function Az(e){return typeof e=="string"||e&&typeof e=="object"}function QS(e){return typeof e=="string"||typeof e=="symbol"}function Pz(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(KS," "),s=o.indexOf("="),a=Jc(s<0?o:o.slice(0,s)),c=s<0?null:Jc(o.slice(s+1));if(a in t){let u=t[a];jr(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function B_(e){let t="";for(let n in e){const r=e[n];if(n=pz(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jr(r)?r.map(o=>o&&Kp(o)):[r&&Kp(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Iz(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function la(){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 Qo(e,t,n,r,o,s=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((c,u)=>{const f=g=>{g===!1?u(Ps(4,{from:n,to:t})):g instanceof Error?u(g):Az(g)?u(Ps(2,{from:t,to:g})):(a&&r.enterCallbacks[o]===a&&typeof g=="function"&&a.push(g),c())},p=s(()=>e.call(r&&r.instances[o],t,n,f));let h=Promise.resolve(p);e.length<3&&(h=h.then(f)),h.catch(g=>u(g))})}function Nd(e,t,n,r,o=s=>s()){const s=[];for(const a of e)for(const c in a.components){let u=a.components[c];if(!(t!=="beforeRouteEnter"&&!a.instances[c]))if(WS(u)){const f=(u.__vccOpts||u)[t];f&&s.push(Qo(f,n,r,a,c,o))}else{let f=u();s.push(()=>f.then(p=>{if(!p)throw new Error(`Couldn't resolve component "${c}" at "${a.path}"`);const h=tz(p)?p.default:p;a.mods[c]=p,a.components[c]=h;const g=(h.__vccOpts||h)[t];return g&&Qo(g,n,r,a,c,o)()}))}}return s}function Lz(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const c=t.matched[a];c&&(e.matched.find(f=>Is(f,c))?r.push(c):n.push(c));const u=e.matched[a];u&&(t.matched.find(f=>Is(f,u))||o.push(u))}return[n,r,o]}let Rz=()=>location.protocol+"//"+location.host;function ZS(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),j_(c,"")}return j_(n,e)+r+o}function Mz(e,t,n,r){let o=[],s=[],a=null;const c=({state:g})=>{const y=ZS(e,location),E=n.value,b=t.value;let T=0;if(g){if(n.value=y,t.value=g,a&&a===E){a=null;return}T=b?g.position-b.position:0}else r(y);o.forEach(v=>{v(n.value,E,{delta:T,type:"pop",direction:T?T>0?"forward":"back":""})})};function u(){a=n.value}function f(g){o.push(g);const y=()=>{const E=o.indexOf(g);E>-1&&o.splice(E,1)};return s.push(y),y}function p(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(ut({},g.state,{scroll:Nu()}),"")}}function h(){for(const g of s)g();s=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",p),document.removeEventListener("visibilitychange",p)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",p),document.addEventListener("visibilitychange",p),{pauseListeners:u,listen:f,destroy:h}}function W_(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Nu():null}}function Nz(e){const{history:t,location:n}=window,r={value:ZS(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(u,f,p){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:Rz()+e+u;try{t[p?"replaceState":"pushState"](f,"",g),o.value=f}catch(y){console.error(y),n[p?"replace":"assign"](g)}}function a(u,f){s(u,ut({},t.state,W_(o.value.back,u,o.value.forward,!0),f,{position:o.value.position}),!0),r.value=u}function c(u,f){const p=ut({},o.value,t.state,{forward:u,scroll:Nu()});s(p.current,p,!0),s(u,ut({},W_(r.value,u,null),{position:p.position+1},f),!1),r.value=u}return{location:r,state:o,push:c,replace:a}}function Dz(e){e=Ez(e);const t=Nz(e),n=Mz(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:Cz.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}const Fz={type:0,value:""},$z=/[a-zA-Z0-9_]/;function jz(e){if(!e)return[[]];if(e==="/")return[[Fz]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${f}": ${y}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let c=0,u,f="",p="";function h(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:p,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=u}for(;c<e.length;)switch(u=e[c++],n){case 0:u==="\\"?(r=n,n=4):u==="/"?(f&&h(),a()):u===":"?(h(),n=1):g();break;case 4:g(),n=r;break;case 1:u==="("?n=2:$z.test(u)?g():(h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--);break;case 2:u===")"?p[p.length-1]=="\\"?p=p.slice(0,-1)+u:n=3:p+=u;break;case 3:h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--,p="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),a(),o}const H_="[^/]+?",Uz={sensitive:!1,strict:!1,start:!0,end:!0},zz=/[.+*?^${}()[\]/\\]/g;function Bz(e,t){const n=ut({},Uz,t),r=[];let o=n.start?"^":"";const s=[];for(const f of e){const p=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const g=f[h];let y=40+(n.sensitive?.25:0);if(g.type===0)h||(o+="/"),o+=g.value.replace(zz,"\\$&"),y+=40;else if(g.type===1){const{value:E,repeatable:b,optional:T,regexp:v}=g;s.push({name:E,repeatable:b,optional:T});const w=v||H_;if(w!==H_){y+=10;try{new RegExp(`(${w})`)}catch(S){throw new Error(`Invalid custom RegExp for param "${E}" (${w}): `+S.message)}}let A=b?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;h||(A=T&&f.length<2?`(?:/${A})`:"/"+A),T&&(A+="?"),o+=A,y+=20,T&&(y+=-8),b&&(y+=-20),w===".*"&&(y+=-50)}p.push(y)}r.push(p)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function c(f){const p=f.match(a),h={};if(!p)return null;for(let g=1;g<p.length;g++){const y=p[g]||"",E=s[g-1];h[E.name]=y&&E.repeatable?y.split("/"):y}return h}function u(f){let p="",h=!1;for(const g of e){(!h||!p.endsWith("/"))&&(p+="/"),h=!1;for(const y of g)if(y.type===0)p+=y.value;else if(y.type===1){const{value:E,repeatable:b,optional:T}=y,v=E in f?f[E]:"";if(jr(v)&&!b)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const w=jr(v)?v.join("/"):v;if(!w)if(T)g.length<2&&(p.endsWith("/")?p=p.slice(0,-1):h=!0);else throw new Error(`Missing required param "${E}"`);p+=w}}return p||"/"}return{re:a,score:r,keys:s,parse:c,stringify:u}}function Wz(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function eC(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Wz(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(V_(r))return 1;if(V_(o))return-1}return o.length-r.length}function V_(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Hz={strict:!1,end:!0,sensitive:!1};function Vz(e,t,n){const r=Bz(jz(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Gz(e,t){const n=[],r=new Map;t=F_(Hz,t);function o(h){return r.get(h)}function s(h,g,y){const E=!y,b=K_(h);b.aliasOf=y&&y.record;const T=F_(t,h),v=[b];if("alias"in h){const S=typeof h.alias=="string"?[h.alias]:h.alias;for(const N of S)v.push(K_(ut({},b,{components:y?y.record.components:b.components,path:N,aliasOf:y?y.record:b})))}let w,A;for(const S of v){const{path:N}=S;if(g&&N[0]!=="/"){const O=g.record.path,I=O[O.length-1]==="/"?"":"/";S.path=g.record.path+(N&&I+N)}if(w=Vz(S,g,T),y?y.alias.push(w):(A=A||w,A!==w&&A.alias.push(w),E&&h.name&&!q_(w)&&a(h.name)),tC(w)&&u(w),b.children){const O=b.children;for(let I=0;I<O.length;I++)s(O[I],w,y&&y.children[I])}y=y||w}return A?()=>{a(A)}:Ta}function a(h){if(QS(h)){const g=r.get(h);g&&(r.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function c(){return n}function u(h){const g=Yz(h,n);n.splice(g,0,h),h.record.name&&!q_(h)&&r.set(h.record.name,h)}function f(h,g){let y,E={},b,T;if("name"in h&&h.name){if(y=r.get(h.name),!y)throw Ps(1,{location:h});T=y.record.name,E=ut(G_(g.params,y.keys.filter(A=>!A.optional).concat(y.parent?y.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),h.params&&G_(h.params,y.keys.map(A=>A.name))),b=y.stringify(E)}else if(h.path!=null)b=h.path,y=n.find(A=>A.re.test(b)),y&&(E=y.parse(b),T=y.record.name,y.keys.forEach(A=>{A.optional&&!E[A.name]&&delete E[A.name]}));else{if(y=g.name?r.get(g.name):n.find(A=>A.re.test(g.path)),!y)throw Ps(1,{location:h,currentLocation:g});T=y.record.name,E=ut({},g.params,h.params),b=y.stringify(E)}const v=[];let w=y;for(;w;)v.unshift(w.record),w=w.parent;return{name:T,path:b,params:E,matched:v,meta:qz(v)}}e.forEach(h=>s(h));function p(){n.length=0,r.clear()}return{addRoute:s,resolve:f,removeRoute:a,clearRoutes:p,getRoutes:c,getRecordMatcher:o}}function G_(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function K_(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Kz(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 Kz(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 q_(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qz(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function Yz(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;eC(e,t[s])<0?r=s:n=s+1}const o=Xz(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Xz(e){let t=e;for(;t=t.parent;)if(tC(t)&&eC(e,t)===0)return t}function tC({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Y_(e){const t=En(Qh),n=En(VS),r=ue(()=>{const u=Ue(e.to);return t.resolve(u)}),o=ue(()=>{const{matched:u}=r.value,{length:f}=u,p=u[f-1],h=n.matched;if(!p||!h.length)return-1;const g=h.findIndex(Is.bind(null,p));if(g>-1)return g;const y=X_(u[f-2]);return f>1&&X_(p)===y&&h[h.length-1].path!==y?h.findIndex(Is.bind(null,u[f-2])):g}),s=ue(()=>o.value>-1&&eB(n.params,r.value.params)),a=ue(()=>o.value>-1&&o.value===n.matched.length-1&&JS(n.params,r.value.params));function c(u={}){if(Zz(u)){const f=t[Ue(e.replace)?"replace":"push"](Ue(e.to)).catch(Ta);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:ue(()=>r.value.href),isActive:s,isExactActive:a,navigate:c}}function Jz(e){return e.length===1?e[0]:e}const Qz=Rt({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:Y_,setup(e,{slots:t}){const n=Ka(Y_(e)),{options:r}=En(Qh),o=ue(()=>({[J_(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[J_(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&Jz(t.default(n));return e.custom?s:oi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function Zz(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 eB(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(!jr(o)||o.length!==r.length||r.some((s,a)=>s.valueOf()!==o[a].valueOf()))return!1}return!0}function X_(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const J_=(e,t,n)=>e??t??n,tB=Rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=En(Gp),o=ue(()=>e.route||r.value),s=En($_,0),a=ue(()=>{let f=Ue(s);const{matched:p}=o.value;let h;for(;(h=p[f])&&!h.components;)f++;return f}),c=ue(()=>o.value.matched[a.value]);Ti($_,ue(()=>a.value+1)),Ti(nz,c),Ti(Gp,o);const u=Oe();return gt(()=>[u.value,c.value,e.name],([f,p,h],[g,y,E])=>{p&&(p.instances[h]=f,y&&y!==p&&f&&f===g&&(p.leaveGuards.size||(p.leaveGuards=y.leaveGuards),p.updateGuards.size||(p.updateGuards=y.updateGuards))),f&&p&&(!y||!Is(p,y)||!g)&&(p.enterCallbacks[h]||[]).forEach(b=>b(f))},{flush:"post"}),()=>{const f=o.value,p=e.name,h=c.value,g=h&&h.components[p];if(!g)return Q_(n.default,{Component:g,route:f});const y=h.props[p],E=y?y===!0?f.params:typeof y=="function"?y(f):y:null,T=oi(g,ut({},E,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(h.instances[p]=null)},ref:u}));return Q_(n.default,{Component:T,route:f})||T}}});function Q_(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nB=tB;function rB(e){const t=Gz(e.routes,e),n=e.parseQuery||Pz,r=e.stringifyQuery||B_,o=e.history,s=la(),a=la(),c=la(),u=Rn(Ho);let f=Ho;hs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Rd.bind(null,te=>""+te),h=Rd.bind(null,mz),g=Rd.bind(null,Jc);function y(te,ge){let he,we;return QS(te)?(he=t.getRecordMatcher(te),we=ge):we=te,t.addRoute(we,he)}function E(te){const ge=t.getRecordMatcher(te);ge&&t.removeRoute(ge)}function b(){return t.getRoutes().map(te=>te.record)}function T(te){return!!t.getRecordMatcher(te)}function v(te,ge){if(ge=ut({},ge||u.value),typeof te=="string"){const G=Md(n,te,ge.path),J=t.resolve({path:G.path},ge),ne=o.createHref(G.fullPath);return ut(G,J,{params:g(J.params),redirectedFrom:void 0,href:ne})}let he;if(te.path!=null)he=ut({},te,{path:Md(n,te.path,ge.path).path});else{const G=ut({},te.params);for(const J in G)G[J]==null&&delete G[J];he=ut({},te,{params:h(G)}),ge.params=h(ge.params)}const we=t.resolve(he,ge),We=te.hash||"";we.params=p(g(we.params));const R=bz(r,ut({},te,{hash:dz(We),path:we.path})),F=o.createHref(R);return ut({fullPath:R,hash:We,query:r===B_?Iz(te.query):te.query||{}},we,{redirectedFrom:void 0,href:F})}function w(te){return typeof te=="string"?Md(n,te,u.value.path):ut({},te)}function A(te,ge){if(f!==te)return Ps(8,{from:ge,to:te})}function S(te){return I(te)}function N(te){return S(ut(w(te),{replace:!0}))}function O(te,ge){const he=te.matched[te.matched.length-1];if(he&&he.redirect){const{redirect:we}=he;let We=typeof we=="function"?we(te,ge):we;return typeof We=="string"&&(We=We.includes("?")||We.includes("#")?We=w(We):{path:We},We.params={}),ut({query:te.query,hash:te.hash,params:We.path!=null?{}:te.params},We)}}function I(te,ge){const he=f=v(te),we=u.value,We=te.state,R=te.force,F=te.replace===!0,G=O(he,we);if(G)return I(ut(w(G),{state:typeof G=="object"?ut({},We,G.state):We,force:R,replace:F}),ge||he);const J=he;J.redirectedFrom=ge;let ne;return!R&&_z(r,we,he)&&(ne=Ps(16,{to:J,from:we}),Ze(we,we,!0,!1)),(ne?Promise.resolve(ne):B(J,we)).catch(Q=>yo(Q)?yo(Q,2)?Q:Ut(Q):ve(Q,J,we)).then(Q=>{if(Q){if(yo(Q,2))return I(ut({replace:F},w(Q.to),{state:typeof Q.to=="object"?ut({},We,Q.to.state):We,force:R}),ge||J)}else Q=le(J,we,!0,F,We);return K(J,we,Q),Q})}function k(te,ge){const he=A(te,ge);return he?Promise.reject(he):Promise.resolve()}function D(te){const ge=on.values().next().value;return ge&&typeof ge.runWithContext=="function"?ge.runWithContext(te):te()}function B(te,ge){let he;const[we,We,R]=Lz(te,ge);he=Nd(we.reverse(),"beforeRouteLeave",te,ge);for(const G of we)G.leaveGuards.forEach(J=>{he.push(Qo(J,te,ge))});const F=k.bind(null,te,ge);return he.push(F),Mt(he).then(()=>{he=[];for(const G of s.list())he.push(Qo(G,te,ge));return he.push(F),Mt(he)}).then(()=>{he=Nd(We,"beforeRouteUpdate",te,ge);for(const G of We)G.updateGuards.forEach(J=>{he.push(Qo(J,te,ge))});return he.push(F),Mt(he)}).then(()=>{he=[];for(const G of R)if(G.beforeEnter)if(jr(G.beforeEnter))for(const J of G.beforeEnter)he.push(Qo(J,te,ge));else he.push(Qo(G.beforeEnter,te,ge));return he.push(F),Mt(he)}).then(()=>(te.matched.forEach(G=>G.enterCallbacks={}),he=Nd(R,"beforeRouteEnter",te,ge,D),he.push(F),Mt(he))).then(()=>{he=[];for(const G of a.list())he.push(Qo(G,te,ge));return he.push(F),Mt(he)}).catch(G=>yo(G,8)?G:Promise.reject(G))}function K(te,ge,he){c.list().forEach(we=>D(()=>we(te,ge,he)))}function le(te,ge,he,we,We){const R=A(te,ge);if(R)return R;const F=ge===Ho,G=hs?history.state:{};he&&(we||F?o.replace(te.fullPath,ut({scroll:F&&G&&G.scroll},We)):o.push(te.fullPath,We)),u.value=te,Ze(te,ge,he,F),Ut()}let se;function z(){se||(se=o.listen((te,ge,he)=>{if(!kn.listening)return;const we=v(te),We=O(we,kn.currentRoute.value);if(We){I(ut(We,{replace:!0,force:!0}),we).catch(Ta);return}f=we;const R=u.value;hs&&Tz(z_(R.fullPath,he.delta),Nu()),B(we,R).catch(F=>yo(F,12)?F:yo(F,2)?(I(ut(w(F.to),{force:!0}),we).then(G=>{yo(G,20)&&!he.delta&&he.type==="pop"&&o.go(-1,!1)}).catch(Ta),Promise.reject()):(he.delta&&o.go(-he.delta,!1),ve(F,we,R))).then(F=>{F=F||le(we,R,!1),F&&(he.delta&&!yo(F,8)?o.go(-he.delta,!1):he.type==="pop"&&yo(F,20)&&o.go(-1,!1)),K(we,R,F)}).catch(Ta)}))}let ee=la(),ae=la(),de;function ve(te,ge,he){Ut(te);const we=ae.list();return we.length?we.forEach(We=>We(te,ge,he)):console.error(te),Promise.reject(te)}function ze(){return de&&u.value!==Ho?Promise.resolve():new Promise((te,ge)=>{ee.add([te,ge])})}function Ut(te){return de||(de=!te,z(),ee.list().forEach(([ge,he])=>te?he(te):ge()),ee.reset()),te}function Ze(te,ge,he,we){const{scrollBehavior:We}=e;if(!hs||!We)return Promise.resolve();const R=!he&&Oz(z_(te.fullPath,0))||(we||!he)&&history.state&&history.state.scroll||null;return Ur().then(()=>We(te,ge,R)).then(F=>te===u.value&&F&&xz(F)).catch(F=>te===u.value&&ve(F,te,ge))}const De=te=>o.go(te);let dn;const on=new Set,kn={currentRoute:u,listening:!0,addRoute:y,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:T,getRoutes:b,resolve:v,options:e,push:S,replace:N,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:s.add,beforeResolve:a.add,afterEach:c.add,onError:ae.add,isReady:ze,install(te){te.component("RouterLink",Qz),te.component("RouterView",nB),te.config.globalProperties.$router=kn,Object.defineProperty(te.config.globalProperties,"$route",{enumerable:!0,get:()=>Ue(u)}),hs&&!dn&&u.value===Ho&&(dn=!0,S(o.location).catch(we=>{}));const ge={};for(const we in Ho)Object.defineProperty(ge,we,{get:()=>u.value[we],enumerable:!0});te.provide(Qh,kn),te.provide(VS,S0(ge)),te.provide(Gp,u);const he=te.unmount;on.add(te),te.unmount=function(){on.delete(te),on.size<1&&(f=Ho,se&&se(),se=null,u.value=Ho,dn=!1,de=!1),he()}}};function Mt(te){return te.reduce((ge,he)=>ge.then(()=>D(he)),Promise.resolve())}return kn}function oB(e){return Ga()?(Th(e),!0):!1}const Dd=new WeakMap,iB=(...e)=>{var t;const n=e[0],r=(t=ar())==null?void 0:t.proxy;if(r==null&&!Ya())throw new Error("injectLocal must be called in setup");return r&&Dd.has(r)&&n in Dd.get(r)?Dd.get(r)[n]:En(...e)},sB=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const aB=Object.prototype.toString,lB=e=>aB.call(e)==="[object Object]",cB=()=>{};function nC(...e){if(e.length!==1)return T0(...e);const t=e[0];return typeof t=="function"?Cs(x0(()=>({get:t,set:cB}))):Oe(t)}function uB(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 rC=e=>e();function fB(e=rC,t={}){const{initialState:n="active"}=t,r=nC(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:Cs(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function Z_(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Fd(e){return Array.isArray(e)?e:[e]}function dB(e){return ar()}function pB(e,t,n={}){const{eventFilter:r=rC,...o}=n;return gt(e,uB(r,t),o)}function hB(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=fB(r,{initialState:o});return{stop:pB(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function oC(e,t=!0,n){dB()?Er(e,n):t?e():Ur(e)}function mB(e,t,n){return gt(e,t,{...n,immediate:!0})}const Ba=sB?window:void 0;function iC(e){var t;const n=tn(e);return(t=n?.$el)!=null?t:n}function Yp(...e){const t=[],n=()=>{t.forEach(c=>c()),t.length=0},r=(c,u,f,p)=>(c.addEventListener(u,f,p),()=>c.removeEventListener(u,f,p)),o=ue(()=>{const c=Fd(tn(e[0])).filter(u=>u!=null);return c.every(u=>typeof u!="string")?c:void 0}),s=mB(()=>{var c,u;return[(u=(c=o.value)==null?void 0:c.map(f=>iC(f)))!=null?u:[Ba].filter(f=>f!=null),Fd(tn(o.value?e[1]:e[0])),Fd(Ue(o.value?e[2]:e[1])),tn(o.value?e[3]:e[2])]},([c,u,f,p])=>{if(n(),!c?.length||!u?.length||!f?.length)return;const h=lB(p)?{...p}:p;t.push(...c.flatMap(g=>u.flatMap(y=>f.map(E=>r(g,y,E,h)))))},{flush:"post"}),a=()=>{s(),n()};return oB(n),a}function gB(){const e=Rn(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function yB(e){const t=gB();return ue(()=>(t.value,!!e()))}const bB=Symbol("vueuse-ssr-width");function _B(){const e=Ya()?iB(bB,null):null;return typeof e=="number"?e:void 0}function vB(e,t={}){const{window:n=Ba,ssrWidth:r=_B()}=t,o=yB(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Rn(typeof r=="number"),a=Rn(),c=Rn(!1),u=f=>{c.value=f.matches};return M0(()=>{if(s.value){s.value=!o.value;const f=tn(e).split(",");c.value=f.some(p=>{const h=p.includes("not all"),g=p.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=p.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let E=!!(g||y);return g&&E&&(E=r>=Z_(g[1])),y&&E&&(E=r<=Z_(y[1])),h?!E:E});return}o.value&&(a.value=n.matchMedia(tn(e)),c.value=a.value.matches)}),Yp(a,"change",u,{passive:!0}),ue(()=>c.value)}const oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ic="__vueuse_ssr_handlers__",wB=EB();function EB(){return ic in oc||(oc[ic]=oc[ic]||{}),oc[ic]}function sC(e,t){return wB[e]||t}function SB(e){return vB("(prefers-color-scheme: dark)",e)}function CB(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 kB={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()}},ev="vueuse-storage";function xB(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=Ba,eventFilter:g,onError:y=z=>{console.error(z)},initOnMounted:E}=r,b=(p?Rn:Oe)(typeof t=="function"?t():t),T=ue(()=>tn(e));if(!n)try{n=sC("getDefaultStorage",()=>{var z;return(z=Ba)==null?void 0:z.localStorage})()}catch(z){y(z)}if(!n)return b;const v=tn(t),w=CB(v),A=(o=r.serializer)!=null?o:kB[w],{pause:S,resume:N}=hB(b,z=>B(z),{flush:s,deep:a,eventFilter:g});gt(T,()=>le(),{flush:s});let O=!1;const I=z=>{E&&!O||le(z)},k=z=>{E&&!O||se(z)};h&&c&&(n instanceof Storage?Yp(h,"storage",I,{passive:!0}):Yp(h,ev,k)),E?oC(()=>{O=!0,le()}):le();function D(z,ee){if(h){const ae={key:T.value,oldValue:z,newValue:ee,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",ae):new CustomEvent(ev,{detail:ae}))}}function B(z){try{const ee=n.getItem(T.value);if(z==null)D(ee,null),n.removeItem(T.value);else{const ae=A.write(z);ee!==ae&&(n.setItem(T.value,ae),D(ee,ae))}}catch(ee){y(ee)}}function K(z){const ee=z?z.newValue:n.getItem(T.value);if(ee==null)return u&&v!=null&&n.setItem(T.value,A.write(v)),v;if(!z&&f){const ae=A.read(ee);return typeof f=="function"?f(ae,v):w==="object"&&!Array.isArray(ae)?{...v,...ae}:ae}else return typeof ee!="string"?ee:A.read(ee)}function le(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){b.value=v;return}if(!(z&&z.key!==T.value)){S();try{const ee=A.write(b.value);(z===void 0||z?.newValue!==ee)&&(b.value=K(z))}catch(ee){y(ee)}finally{z?Ur(N):N()}}}}function se(z){le(z.detail)}return b}const TB="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function OB(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Ba,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=SB({window:o}),y=ue(()=>g.value?"dark":"light"),E=u||(a==null?nC(r):xB(a,r,s,{window:o,listenToStorageChanges:c})),b=ue(()=>E.value==="auto"?y.value:E.value),T=sC("updateHTMLAttrs",(S,N,O)=>{const I=typeof S=="string"?o?.document.querySelector(S):iC(S);if(!I)return;const k=new Set,D=new Set;let B=null;if(N==="class"){const le=O.split(/\s/g);Object.values(h).flatMap(se=>(se||"").split(/\s/g)).filter(Boolean).forEach(se=>{le.includes(se)?k.add(se):D.add(se)})}else B={key:N,value:O};if(k.size===0&&D.size===0&&B===null)return;let K;p&&(K=o.document.createElement("style"),K.appendChild(document.createTextNode(TB)),o.document.head.appendChild(K));for(const le of k)I.classList.add(le);for(const le of D)I.classList.remove(le);B&&I.setAttribute(B.key,B.value),p&&(o.getComputedStyle(K).opacity,document.head.removeChild(K))});function v(S){var N;T(t,n,(N=h[S])!=null?N:S)}function w(S){e.onChanged?e.onChanged(S,v):v(S)}gt(b,w,{flush:"post",immediate:!0}),oC(()=>w(b.value));const A=ue({get(){return f?E.value:b.value},set(S){E.value=S}});return Object.assign(A,{store:E,system:y,state:b})}function aC(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=OB({...e,onChanged:(a,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",c,a):c(a)},modes:{dark:t,light:n}}),o=ue(()=>r.system.value);return ue({get(){return r.value==="dark"},set(a){const c=a?"dark":"light";o.value===c?r.value="auto":r.value=c}})}var sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},kc={exports:{}},AB=kc.exports,tv;function PB(){return tv||(tv=1,(function(e,t){(function(){var n,r="4.18.1",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",g=1,y=2,E=4,b=1,T=2,v=1,w=2,A=4,S=8,N=16,O=32,I=64,k=128,D=256,B=512,K=30,le="...",se=800,z=16,ee=1,ae=2,de=3,ve=1/0,ze=9007199254740991,Ut=17976931348623157e292,Ze=NaN,De=4294967295,dn=De-1,on=De>>>1,kn=[["ary",k],["bind",v],["bindKey",w],["curry",S],["curryRight",N],["flip",B],["partial",O],["partialRight",I],["rearg",D]],Mt="[object Arguments]",te="[object Array]",ge="[object AsyncFunction]",he="[object Boolean]",we="[object Date]",We="[object DOMException]",R="[object Error]",F="[object Function]",G="[object GeneratorFunction]",J="[object Map]",ne="[object Number]",Q="[object Null]",P="[object Object]",L="[object Promise]",j="[object Proxy]",H="[object RegExp]",fe="[object Set]",oe="[object String]",U="[object Symbol]",X="[object Undefined]",be="[object WeakMap]",ke="[object WeakSet]",je="[object ArrayBuffer]",Xe="[object DataView]",et="[object Float32Array]",pn="[object Float64Array]",xn="[object Int8Array]",io="[object Int16Array]",$i="[object Int32Array]",sn="[object Uint8Array]",Nn="[object Uint8ClampedArray]",ji="[object Uint16Array]",Ui="[object Uint32Array]",Nx=/\b__p \+= '';/g,Dx=/\b(__p \+=) '' \+/g,Fx=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Im=/&(?:amp|lt|gt|quot|#39);/g,Lm=/[&<>"']/g,$x=RegExp(Im.source),jx=RegExp(Lm.source),Ux=/<%-([\s\S]+?)%>/g,zx=/<%([\s\S]+?)%>/g,Rm=/<%=([\s\S]+?)%>/g,Bx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wx=/^\w*$/,Hx=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qu=/[\\^$.*+?()[\]{}|]/g,Vx=RegExp(Qu.source),Zu=/^\s+/,Gx=/\s/,Kx=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qx=/\{\n\/\* \[wrapped with (.+)\] \*/,Yx=/,? & /,Xx=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mm=/[()=,{}\[\]\/\s]/,Jx=/\\(\\)?/g,Qx=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nm=/\w*$/,Zx=/^[-+]0x[0-9a-f]+$/i,eT=/^0b[01]+$/i,tT=/^\[object .+?Constructor\]$/,nT=/^0o[0-7]+$/i,rT=/^(?:0|[1-9]\d*)$/,oT=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,il=/($^)/,iT=/['\n\r\u2028\u2029\\]/g,sl="\\ud800-\\udfff",sT="\\u0300-\\u036f",aT="\\ufe20-\\ufe2f",lT="\\u20d0-\\u20ff",Dm=sT+aT+lT,Fm="\\u2700-\\u27bf",$m="a-z\\xdf-\\xf6\\xf8-\\xff",cT="\\xac\\xb1\\xd7\\xf7",uT="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fT="\\u2000-\\u206f",dT=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",jm="A-Z\\xc0-\\xd6\\xd8-\\xde",Um="\\ufe0e\\ufe0f",zm=cT+uT+fT+dT,ef="['’]",pT="["+sl+"]",Bm="["+zm+"]",al="["+Dm+"]",Wm="\\d+",hT="["+Fm+"]",Hm="["+$m+"]",Vm="[^"+sl+zm+Wm+Fm+$m+jm+"]",tf="\\ud83c[\\udffb-\\udfff]",mT="(?:"+al+"|"+tf+")",Gm="[^"+sl+"]",nf="(?:\\ud83c[\\udde6-\\uddff]){2}",rf="[\\ud800-\\udbff][\\udc00-\\udfff]",zi="["+jm+"]",Km="\\u200d",qm="(?:"+Hm+"|"+Vm+")",gT="(?:"+zi+"|"+Vm+")",Ym="(?:"+ef+"(?:d|ll|m|re|s|t|ve))?",Xm="(?:"+ef+"(?:D|LL|M|RE|S|T|VE))?",Jm=mT+"?",Qm="["+Um+"]?",yT="(?:"+Km+"(?:"+[Gm,nf,rf].join("|")+")"+Qm+Jm+")*",bT="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_T="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zm=Qm+Jm+yT,vT="(?:"+[hT,nf,rf].join("|")+")"+Zm,wT="(?:"+[Gm+al+"?",al,nf,rf,pT].join("|")+")",ET=RegExp(ef,"g"),ST=RegExp(al,"g"),of=RegExp(tf+"(?="+tf+")|"+wT+Zm,"g"),CT=RegExp([zi+"?"+Hm+"+"+Ym+"(?="+[Bm,zi,"$"].join("|")+")",gT+"+"+Xm+"(?="+[Bm,zi+qm,"$"].join("|")+")",zi+"?"+qm+"+"+Ym,zi+"+"+Xm,_T,bT,Wm,vT].join("|"),"g"),kT=RegExp("["+Km+sl+Dm+Um+"]"),xT=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,TT=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],OT=-1,Ot={};Ot[et]=Ot[pn]=Ot[xn]=Ot[io]=Ot[$i]=Ot[sn]=Ot[Nn]=Ot[ji]=Ot[Ui]=!0,Ot[Mt]=Ot[te]=Ot[je]=Ot[he]=Ot[Xe]=Ot[we]=Ot[R]=Ot[F]=Ot[J]=Ot[ne]=Ot[P]=Ot[H]=Ot[fe]=Ot[oe]=Ot[be]=!1;var Et={};Et[Mt]=Et[te]=Et[je]=Et[Xe]=Et[he]=Et[we]=Et[et]=Et[pn]=Et[xn]=Et[io]=Et[$i]=Et[J]=Et[ne]=Et[P]=Et[H]=Et[fe]=Et[oe]=Et[U]=Et[sn]=Et[Nn]=Et[ji]=Et[Ui]=!0,Et[R]=Et[F]=Et[be]=!1;var AT={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},PT={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},IT={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},LT={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},RT=parseFloat,MT=parseInt,eg=typeof sc=="object"&&sc&&sc.Object===Object&&sc,NT=typeof self=="object"&&self&&self.Object===Object&&self,an=eg||NT||Function("return this")(),sf=t&&!t.nodeType&&t,ci=sf&&!0&&e&&!e.nodeType&&e,tg=ci&&ci.exports===sf,af=tg&&eg.process,cr=(function(){try{var W=ci&&ci.require&&ci.require("util").types;return W||af&&af.binding&&af.binding("util")}catch{}})(),ng=cr&&cr.isArrayBuffer,rg=cr&&cr.isDate,og=cr&&cr.isMap,ig=cr&&cr.isRegExp,sg=cr&&cr.isSet,ag=cr&&cr.isTypedArray;function qn(W,Z,Y){switch(Y.length){case 0:return W.call(Z);case 1:return W.call(Z,Y[0]);case 2:return W.call(Z,Y[0],Y[1]);case 3:return W.call(Z,Y[0],Y[1],Y[2])}return W.apply(Z,Y)}function DT(W,Z,Y,_e){for(var Me=-1,st=W==null?0:W.length;++Me<st;){var Yt=W[Me];Z(_e,Yt,Y(Yt),W)}return _e}function Yn(W,Z){for(var Y=-1,_e=W==null?0:W.length;++Y<_e&&Z(W[Y],Y,W)!==!1;);return W}function FT(W,Z){for(var Y=W==null?0:W.length;Y--&&Z(W[Y],Y,W)!==!1;);return W}function lg(W,Z){for(var Y=-1,_e=W==null?0:W.length;++Y<_e;)if(!Z(W[Y],Y,W))return!1;return!0}function No(W,Z){for(var Y=-1,_e=W==null?0:W.length,Me=0,st=[];++Y<_e;){var Yt=W[Y];Z(Yt,Y,W)&&(st[Me++]=Yt)}return st}function ll(W,Z){var Y=W==null?0:W.length;return!!Y&&Bi(W,Z,0)>-1}function lf(W,Z,Y){for(var _e=-1,Me=W==null?0:W.length;++_e<Me;)if(Y(Z,W[_e]))return!0;return!1}function It(W,Z){for(var Y=-1,_e=W==null?0:W.length,Me=Array(_e);++Y<_e;)Me[Y]=Z(W[Y],Y,W);return Me}function Do(W,Z){for(var Y=-1,_e=Z.length,Me=W.length;++Y<_e;)W[Me+Y]=Z[Y];return W}function cf(W,Z,Y,_e){var Me=-1,st=W==null?0:W.length;for(_e&&st&&(Y=W[++Me]);++Me<st;)Y=Z(Y,W[Me],Me,W);return Y}function $T(W,Z,Y,_e){var Me=W==null?0:W.length;for(_e&&Me&&(Y=W[--Me]);Me--;)Y=Z(Y,W[Me],Me,W);return Y}function uf(W,Z){for(var Y=-1,_e=W==null?0:W.length;++Y<_e;)if(Z(W[Y],Y,W))return!0;return!1}var jT=ff("length");function UT(W){return W.split("")}function zT(W){return W.match(Xx)||[]}function cg(W,Z,Y){var _e;return Y(W,function(Me,st,Yt){if(Z(Me,st,Yt))return _e=st,!1}),_e}function cl(W,Z,Y,_e){for(var Me=W.length,st=Y+(_e?1:-1);_e?st--:++st<Me;)if(Z(W[st],st,W))return st;return-1}function Bi(W,Z,Y){return Z===Z?ZT(W,Z,Y):cl(W,ug,Y)}function BT(W,Z,Y,_e){for(var Me=Y-1,st=W.length;++Me<st;)if(_e(W[Me],Z))return Me;return-1}function ug(W){return W!==W}function fg(W,Z){var Y=W==null?0:W.length;return Y?pf(W,Z)/Y:Ze}function ff(W){return function(Z){return Z==null?n:Z[W]}}function df(W){return function(Z){return W==null?n:W[Z]}}function dg(W,Z,Y,_e,Me){return Me(W,function(st,Yt,wt){Y=_e?(_e=!1,st):Z(Y,st,Yt,wt)}),Y}function WT(W,Z){var Y=W.length;for(W.sort(Z);Y--;)W[Y]=W[Y].value;return W}function pf(W,Z){for(var Y,_e=-1,Me=W.length;++_e<Me;){var st=Z(W[_e]);st!==n&&(Y=Y===n?st:Y+st)}return Y}function hf(W,Z){for(var Y=-1,_e=Array(W);++Y<W;)_e[Y]=Z(Y);return _e}function HT(W,Z){return It(Z,function(Y){return[Y,W[Y]]})}function pg(W){return W&&W.slice(0,yg(W)+1).replace(Zu,"")}function Xn(W){return function(Z){return W(Z)}}function mf(W,Z){return It(Z,function(Y){return W[Y]})}function Bs(W,Z){return W.has(Z)}function hg(W,Z){for(var Y=-1,_e=W.length;++Y<_e&&Bi(Z,W[Y],0)>-1;);return Y}function mg(W,Z){for(var Y=W.length;Y--&&Bi(Z,W[Y],0)>-1;);return Y}function VT(W,Z){for(var Y=W.length,_e=0;Y--;)W[Y]===Z&&++_e;return _e}var GT=df(AT),KT=df(PT);function qT(W){return"\\"+LT[W]}function YT(W,Z){return W==null?n:W[Z]}function Wi(W){return kT.test(W)}function XT(W){return xT.test(W)}function JT(W){for(var Z,Y=[];!(Z=W.next()).done;)Y.push(Z.value);return Y}function gf(W){var Z=-1,Y=Array(W.size);return W.forEach(function(_e,Me){Y[++Z]=[Me,_e]}),Y}function gg(W,Z){return function(Y){return W(Z(Y))}}function Fo(W,Z){for(var Y=-1,_e=W.length,Me=0,st=[];++Y<_e;){var Yt=W[Y];(Yt===Z||Yt===h)&&(W[Y]=h,st[Me++]=Y)}return st}function ul(W){var Z=-1,Y=Array(W.size);return W.forEach(function(_e){Y[++Z]=_e}),Y}function QT(W){var Z=-1,Y=Array(W.size);return W.forEach(function(_e){Y[++Z]=[_e,_e]}),Y}function ZT(W,Z,Y){for(var _e=Y-1,Me=W.length;++_e<Me;)if(W[_e]===Z)return _e;return-1}function e1(W,Z,Y){for(var _e=Y+1;_e--;)if(W[_e]===Z)return _e;return _e}function Hi(W){return Wi(W)?n1(W):jT(W)}function Cr(W){return Wi(W)?r1(W):UT(W)}function yg(W){for(var Z=W.length;Z--&&Gx.test(W.charAt(Z)););return Z}var t1=df(IT);function n1(W){for(var Z=of.lastIndex=0;of.test(W);)++Z;return Z}function r1(W){return W.match(of)||[]}function o1(W){return W.match(CT)||[]}var i1=(function W(Z){Z=Z==null?an:Vi.defaults(an.Object(),Z,Vi.pick(an,TT));var Y=Z.Array,_e=Z.Date,Me=Z.Error,st=Z.Function,Yt=Z.Math,wt=Z.Object,yf=Z.RegExp,s1=Z.String,ur=Z.TypeError,fl=Y.prototype,a1=st.prototype,Gi=wt.prototype,dl=Z["__core-js_shared__"],pl=a1.toString,lt=Gi.hasOwnProperty,l1=0,bg=(function(){var i=/[^.]+$/.exec(dl&&dl.keys&&dl.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})(),hl=Gi.toString,c1=pl.call(wt),u1=an._,f1=yf("^"+pl.call(lt).replace(Qu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ml=tg?Z.Buffer:n,$o=Z.Symbol,gl=Z.Uint8Array,_g=ml?ml.allocUnsafe:n,yl=gg(wt.getPrototypeOf,wt),vg=wt.create,wg=Gi.propertyIsEnumerable,bl=fl.splice,Eg=$o?$o.isConcatSpreadable:n,Ws=$o?$o.iterator:n,ui=$o?$o.toStringTag:n,_l=(function(){try{var i=mi(wt,"defineProperty");return i({},"",{}),i}catch{}})(),d1=Z.clearTimeout!==an.clearTimeout&&Z.clearTimeout,p1=_e&&_e.now!==an.Date.now&&_e.now,h1=Z.setTimeout!==an.setTimeout&&Z.setTimeout,vl=Yt.ceil,wl=Yt.floor,bf=wt.getOwnPropertySymbols,m1=ml?ml.isBuffer:n,Sg=Z.isFinite,g1=fl.join,y1=gg(wt.keys,wt),Xt=Yt.max,hn=Yt.min,b1=_e.now,_1=Z.parseInt,Cg=Yt.random,v1=fl.reverse,_f=mi(Z,"DataView"),Hs=mi(Z,"Map"),vf=mi(Z,"Promise"),Ki=mi(Z,"Set"),Vs=mi(Z,"WeakMap"),Gs=mi(wt,"create"),El=Vs&&new Vs,qi={},w1=gi(_f),E1=gi(Hs),S1=gi(vf),C1=gi(Ki),k1=gi(Vs),Sl=$o?$o.prototype:n,Ks=Sl?Sl.valueOf:n,kg=Sl?Sl.toString:n;function C(i){if($t(i)&&!Fe(i)&&!(i instanceof Ke)){if(i instanceof fr)return i;if(lt.call(i,"__wrapped__"))return xy(i)}return new fr(i)}var Yi=(function(){function i(){}return function(l){if(!Nt(l))return{};if(vg)return vg(l);i.prototype=l;var d=new i;return i.prototype=n,d}})();function Cl(){}function fr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}C.templateSettings={escape:Ux,evaluate:zx,interpolate:Rm,variable:"",imports:{_:C}},C.prototype=Cl.prototype,C.prototype.constructor=C,fr.prototype=Yi(Cl.prototype),fr.prototype.constructor=fr;function Ke(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=De,this.__views__=[]}function x1(){var i=new Ke(this.__wrapped__);return i.__actions__=Dn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Dn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Dn(this.__views__),i}function T1(){if(this.__filtered__){var i=new Ke(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function O1(){var i=this.__wrapped__.value(),l=this.__dir__,d=Fe(i),m=l<0,_=d?i.length:0,x=UO(0,_,this.__views__),M=x.start,$=x.end,V=$-M,re=m?$:M-1,ie=this.__iteratees__,ce=ie.length,me=0,Ee=hn(V,this.__takeCount__);if(!d||!m&&_==V&&Ee==V)return Yg(i,this.__actions__);var Pe=[];e:for(;V--&&me<Ee;){re+=l;for(var He=-1,xe=i[re];++He<ce;){var Ge=ie[He],Je=Ge.iteratee,Zn=Ge.type,An=Je(xe);if(Zn==ae)xe=An;else if(!An){if(Zn==ee)continue e;break e}}Pe[me++]=xe}return Pe}Ke.prototype=Yi(Cl.prototype),Ke.prototype.constructor=Ke;function fi(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function A1(){this.__data__=Gs?Gs(null):{},this.size=0}function P1(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function I1(i){var l=this.__data__;if(Gs){var d=l[i];return d===f?n:d}return lt.call(l,i)?l[i]:n}function L1(i){var l=this.__data__;return Gs?l[i]!==n:lt.call(l,i)}function R1(i,l){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Gs&&l===n?f:l,this}fi.prototype.clear=A1,fi.prototype.delete=P1,fi.prototype.get=I1,fi.prototype.has=L1,fi.prototype.set=R1;function so(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function M1(){this.__data__=[],this.size=0}function N1(i){var l=this.__data__,d=kl(l,i);if(d<0)return!1;var m=l.length-1;return d==m?l.pop():bl.call(l,d,1),--this.size,!0}function D1(i){var l=this.__data__,d=kl(l,i);return d<0?n:l[d][1]}function F1(i){return kl(this.__data__,i)>-1}function $1(i,l){var d=this.__data__,m=kl(d,i);return m<0?(++this.size,d.push([i,l])):d[m][1]=l,this}so.prototype.clear=M1,so.prototype.delete=N1,so.prototype.get=D1,so.prototype.has=F1,so.prototype.set=$1;function ao(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function j1(){this.size=0,this.__data__={hash:new fi,map:new(Hs||so),string:new fi}}function U1(i){var l=Fl(this,i).delete(i);return this.size-=l?1:0,l}function z1(i){return Fl(this,i).get(i)}function B1(i){return Fl(this,i).has(i)}function W1(i,l){var d=Fl(this,i),m=d.size;return d.set(i,l),this.size+=d.size==m?0:1,this}ao.prototype.clear=j1,ao.prototype.delete=U1,ao.prototype.get=z1,ao.prototype.has=B1,ao.prototype.set=W1;function di(i){var l=-1,d=i==null?0:i.length;for(this.__data__=new ao;++l<d;)this.add(i[l])}function H1(i){return this.__data__.set(i,f),this}function V1(i){return this.__data__.has(i)}di.prototype.add=di.prototype.push=H1,di.prototype.has=V1;function kr(i){var l=this.__data__=new so(i);this.size=l.size}function G1(){this.__data__=new so,this.size=0}function K1(i){var l=this.__data__,d=l.delete(i);return this.size=l.size,d}function q1(i){return this.__data__.get(i)}function Y1(i){return this.__data__.has(i)}function X1(i,l){var d=this.__data__;if(d instanceof so){var m=d.__data__;if(!Hs||m.length<o-1)return m.push([i,l]),this.size=++d.size,this;d=this.__data__=new ao(m)}return d.set(i,l),this.size=d.size,this}kr.prototype.clear=G1,kr.prototype.delete=K1,kr.prototype.get=q1,kr.prototype.has=Y1,kr.prototype.set=X1;function xg(i,l){var d=Fe(i),m=!d&&yi(i),_=!d&&!m&&Wo(i),x=!d&&!m&&!_&&Zi(i),M=d||m||_||x,$=M?hf(i.length,s1):[],V=$.length;for(var re in i)(l||lt.call(i,re))&&!(M&&(re=="length"||_&&(re=="offset"||re=="parent")||x&&(re=="buffer"||re=="byteLength"||re=="byteOffset")||uo(re,V)))&&$.push(re);return $}function Tg(i){var l=i.length;return l?i[If(0,l-1)]:n}function J1(i,l){return $l(Dn(i),pi(l,0,i.length))}function Q1(i){return $l(Dn(i))}function wf(i,l,d){(d!==n&&!Tr(i[l],d)||d===n&&!(l in i))&&Wr(i,l,d)}function qs(i,l,d){var m=i[l];(!(lt.call(i,l)&&Tr(m,d))||d===n&&!(l in i))&&Wr(i,l,d)}function kl(i,l){for(var d=i.length;d--;)if(Tr(i[d][0],l))return d;return-1}function Z1(i,l,d,m){return jo(i,function(_,x,M){l(m,_,d(_),M)}),m}function Og(i,l){return i&&Vr(l,Qt(l),i)}function eO(i,l){return i&&Vr(l,$n(l),i)}function Wr(i,l,d){l=="__proto__"&&_l?_l(i,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[l]=d}function Ef(i,l){for(var d=-1,m=l.length,_=Y(m),x=i==null;++d<m;)_[d]=x?n:rd(i,l[d]);return _}function pi(i,l,d){return i===i&&(d!==n&&(i=i<=d?i:d),l!==n&&(i=i>=l?i:l)),i}function dr(i,l,d,m,_,x){var M,$=l&g,V=l&y,re=l&E;if(d&&(M=_?d(i,m,_,x):d(i)),M!==n)return M;if(!Nt(i))return i;var ie=Fe(i);if(ie){if(M=BO(i),!$)return Dn(i,M)}else{var ce=mn(i),me=ce==F||ce==G;if(Wo(i))return Qg(i,$);if(ce==P||ce==Mt||me&&!_){if(M=V||me?{}:yy(i),!$)return V?IO(i,eO(M,i)):PO(i,Og(M,i))}else{if(!Et[ce])return _?i:{};M=WO(i,ce,$)}}x||(x=new kr);var Ee=x.get(i);if(Ee)return Ee;x.set(i,M),Gy(i)?i.forEach(function(xe){M.add(dr(xe,l,d,xe,i,x))}):Hy(i)&&i.forEach(function(xe,Ge){M.set(Ge,dr(xe,l,d,Ge,i,x))});var Pe=re?V?Bf:zf:V?$n:Qt,He=ie?n:Pe(i);return Yn(He||i,function(xe,Ge){He&&(Ge=xe,xe=i[Ge]),qs(M,Ge,dr(xe,l,d,Ge,i,x))}),M}function tO(i){var l=Qt(i);return function(d){return Ag(d,i,l)}}function Ag(i,l,d){var m=d.length;if(i==null)return!m;for(i=wt(i);m--;){var _=d[m],x=l[_],M=i[_];if(M===n&&!(_ in i)||!x(M))return!1}return!0}function Pg(i,l,d){if(typeof i!="function")throw new ur(a);return ta(function(){i.apply(n,d)},l)}function Ys(i,l,d,m){var _=-1,x=ll,M=!0,$=i.length,V=[],re=l.length;if(!$)return V;d&&(l=It(l,Xn(d))),m?(x=lf,M=!1):l.length>=o&&(x=Bs,M=!1,l=new di(l));e:for(;++_<$;){var ie=i[_],ce=d==null?ie:d(ie);if(ie=m||ie!==0?ie:0,M&&ce===ce){for(var me=re;me--;)if(l[me]===ce)continue e;V.push(ie)}else x(l,ce,m)||V.push(ie)}return V}var jo=ry(Hr),Ig=ry(Cf,!0);function nO(i,l){var d=!0;return jo(i,function(m,_,x){return d=!!l(m,_,x),d}),d}function xl(i,l,d){for(var m=-1,_=i.length;++m<_;){var x=i[m],M=l(x);if(M!=null&&($===n?M===M&&!Qn(M):d(M,$)))var $=M,V=x}return V}function rO(i,l,d,m){var _=i.length;for(d=Be(d),d<0&&(d=-d>_?0:_+d),m=m===n||m>_?_:Be(m),m<0&&(m+=_),m=d>m?0:qy(m);d<m;)i[d++]=l;return i}function Lg(i,l){var d=[];return jo(i,function(m,_,x){l(m,_,x)&&d.push(m)}),d}function ln(i,l,d,m,_){var x=-1,M=i.length;for(d||(d=VO),_||(_=[]);++x<M;){var $=i[x];l>0&&d($)?l>1?ln($,l-1,d,m,_):Do(_,$):m||(_[_.length]=$)}return _}var Sf=oy(),Rg=oy(!0);function Hr(i,l){return i&&Sf(i,l,Qt)}function Cf(i,l){return i&&Rg(i,l,Qt)}function Tl(i,l){return No(l,function(d){return fo(i[d])})}function hi(i,l){l=zo(l,i);for(var d=0,m=l.length;i!=null&&d<m;)i=i[xr(l[d++])];return d&&d==m?i:n}function Mg(i,l,d){var m=l(i);return Fe(i)?m:Do(m,d(i))}function Tn(i){return i==null?i===n?X:Q:ui&&ui in wt(i)?jO(i):QO(i)}function kf(i,l){return i>l}function oO(i,l){return i!=null&&lt.call(i,l)}function iO(i,l){return i!=null&&l in wt(i)}function sO(i,l,d){return i>=hn(l,d)&&i<Xt(l,d)}function xf(i,l,d){for(var m=d?lf:ll,_=i[0].length,x=i.length,M=x,$=Y(x),V=1/0,re=[];M--;){var ie=i[M];M&&l&&(ie=It(ie,Xn(l))),V=hn(ie.length,V),$[M]=!d&&(l||_>=120&&ie.length>=120)?new di(M&&ie):n}ie=i[0];var ce=-1,me=$[0];e:for(;++ce<_&&re.length<V;){var Ee=ie[ce],Pe=l?l(Ee):Ee;if(Ee=d||Ee!==0?Ee:0,!(me?Bs(me,Pe):m(re,Pe,d))){for(M=x;--M;){var He=$[M];if(!(He?Bs(He,Pe):m(i[M],Pe,d)))continue e}me&&me.push(Pe),re.push(Ee)}}return re}function aO(i,l,d,m){return Hr(i,function(_,x,M){l(m,d(_),x,M)}),m}function Xs(i,l,d){l=zo(l,i),i=wy(i,l);var m=i==null?i:i[xr(hr(l))];return m==null?n:qn(m,i,d)}function Ng(i){return $t(i)&&Tn(i)==Mt}function lO(i){return $t(i)&&Tn(i)==je}function cO(i){return $t(i)&&Tn(i)==we}function Js(i,l,d,m,_){return i===l?!0:i==null||l==null||!$t(i)&&!$t(l)?i!==i&&l!==l:uO(i,l,d,m,Js,_)}function uO(i,l,d,m,_,x){var M=Fe(i),$=Fe(l),V=M?te:mn(i),re=$?te:mn(l);V=V==Mt?P:V,re=re==Mt?P:re;var ie=V==P,ce=re==P,me=V==re;if(me&&Wo(i)){if(!Wo(l))return!1;M=!0,ie=!1}if(me&&!ie)return x||(x=new kr),M||Zi(i)?hy(i,l,d,m,_,x):FO(i,l,V,d,m,_,x);if(!(d&b)){var Ee=ie&&lt.call(i,"__wrapped__"),Pe=ce&&lt.call(l,"__wrapped__");if(Ee||Pe){var He=Ee?i.value():i,xe=Pe?l.value():l;return x||(x=new kr),_(He,xe,d,m,x)}}return me?(x||(x=new kr),$O(i,l,d,m,_,x)):!1}function fO(i){return $t(i)&&mn(i)==J}function Tf(i,l,d,m){var _=d.length,x=_,M=!m;if(i==null)return!x;for(i=wt(i);_--;){var $=d[_];if(M&&$[2]?$[1]!==i[$[0]]:!($[0]in i))return!1}for(;++_<x;){$=d[_];var V=$[0],re=i[V],ie=$[1];if(M&&$[2]){if(re===n&&!(V in i))return!1}else{var ce=new kr;if(m)var me=m(re,ie,V,i,l,ce);if(!(me===n?Js(ie,re,b|T,m,ce):me))return!1}}return!0}function Dg(i){if(!Nt(i)||KO(i))return!1;var l=fo(i)?f1:tT;return l.test(gi(i))}function dO(i){return $t(i)&&Tn(i)==H}function pO(i){return $t(i)&&mn(i)==fe}function hO(i){return $t(i)&&Hl(i.length)&&!!Ot[Tn(i)]}function Fg(i){return typeof i=="function"?i:i==null?jn:typeof i=="object"?Fe(i)?Ug(i[0],i[1]):jg(i):sb(i)}function Of(i){if(!ea(i))return y1(i);var l=[];for(var d in wt(i))lt.call(i,d)&&d!="constructor"&&l.push(d);return l}function mO(i){if(!Nt(i))return JO(i);var l=ea(i),d=[];for(var m in i)m=="constructor"&&(l||!lt.call(i,m))||d.push(m);return d}function Af(i,l){return i<l}function $g(i,l){var d=-1,m=Fn(i)?Y(i.length):[];return jo(i,function(_,x,M){m[++d]=l(_,x,M)}),m}function jg(i){var l=Hf(i);return l.length==1&&l[0][2]?_y(l[0][0],l[0][1]):function(d){return d===i||Tf(d,i,l)}}function Ug(i,l){return Gf(i)&&by(l)?_y(xr(i),l):function(d){var m=rd(d,i);return m===n&&m===l?od(d,i):Js(l,m,b|T)}}function Ol(i,l,d,m,_){i!==l&&Sf(l,function(x,M){if(_||(_=new kr),Nt(x))gO(i,l,M,d,Ol,m,_);else{var $=m?m(qf(i,M),x,M+"",i,l,_):n;$===n&&($=x),wf(i,M,$)}},$n)}function gO(i,l,d,m,_,x,M){var $=qf(i,d),V=qf(l,d),re=M.get(V);if(re){wf(i,d,re);return}var ie=x?x($,V,d+"",i,l,M):n,ce=ie===n;if(ce){var me=Fe(V),Ee=!me&&Wo(V),Pe=!me&&!Ee&&Zi(V);ie=V,me||Ee||Pe?Fe($)?ie=$:zt($)?ie=Dn($):Ee?(ce=!1,ie=Qg(V,!0)):Pe?(ce=!1,ie=Zg(V,!0)):ie=[]:na(V)||yi(V)?(ie=$,yi($)?ie=Yy($):(!Nt($)||fo($))&&(ie=yy(V))):ce=!1}ce&&(M.set(V,ie),_(ie,V,m,x,M),M.delete(V)),wf(i,d,ie)}function zg(i,l){var d=i.length;if(d)return l+=l<0?d:0,uo(l,d)?i[l]:n}function Bg(i,l,d){l.length?l=It(l,function(x){return Fe(x)?function(M){return hi(M,x.length===1?x[0]:x)}:x}):l=[jn];var m=-1;l=It(l,Xn(Te()));var _=$g(i,function(x,M,$){var V=It(l,function(re){return re(x)});return{criteria:V,index:++m,value:x}});return WT(_,function(x,M){return AO(x,M,d)})}function yO(i,l){return Wg(i,l,function(d,m){return od(i,m)})}function Wg(i,l,d){for(var m=-1,_=l.length,x={};++m<_;){var M=l[m],$=hi(i,M);d($,M)&&Qs(x,zo(M,i),$)}return x}function bO(i){return function(l){return hi(l,i)}}function Pf(i,l,d,m){var _=m?BT:Bi,x=-1,M=l.length,$=i;for(i===l&&(l=Dn(l)),d&&($=It(i,Xn(d)));++x<M;)for(var V=0,re=l[x],ie=d?d(re):re;(V=_($,ie,V,m))>-1;)$!==i&&bl.call($,V,1),bl.call(i,V,1);return i}function Hg(i,l){for(var d=i?l.length:0,m=d-1;d--;){var _=l[d];if(d==m||_!==x){var x=_;uo(_)?bl.call(i,_,1):Mf(i,_)}}return i}function If(i,l){return i+wl(Cg()*(l-i+1))}function _O(i,l,d,m){for(var _=-1,x=Xt(vl((l-i)/(d||1)),0),M=Y(x);x--;)M[m?x:++_]=i,i+=d;return M}function Lf(i,l){var d="";if(!i||l<1||l>ze)return d;do l%2&&(d+=i),l=wl(l/2),l&&(i+=i);while(l);return d}function Ve(i,l){return Yf(vy(i,l,jn),i+"")}function vO(i){return Tg(es(i))}function wO(i,l){var d=es(i);return $l(d,pi(l,0,d.length))}function Qs(i,l,d,m){if(!Nt(i))return i;l=zo(l,i);for(var _=-1,x=l.length,M=x-1,$=i;$!=null&&++_<x;){var V=xr(l[_]),re=d;if(V==="__proto__"||V==="constructor"||V==="prototype")return i;if(_!=M){var ie=$[V];re=m?m(ie,V,$):n,re===n&&(re=Nt(ie)?ie:uo(l[_+1])?[]:{})}qs($,V,re),$=$[V]}return i}var Vg=El?function(i,l){return El.set(i,l),i}:jn,EO=_l?function(i,l){return _l(i,"toString",{configurable:!0,enumerable:!1,value:sd(l),writable:!0})}:jn;function SO(i){return $l(es(i))}function pr(i,l,d){var m=-1,_=i.length;l<0&&(l=-l>_?0:_+l),d=d>_?_:d,d<0&&(d+=_),_=l>d?0:d-l>>>0,l>>>=0;for(var x=Y(_);++m<_;)x[m]=i[m+l];return x}function CO(i,l){var d;return jo(i,function(m,_,x){return d=l(m,_,x),!d}),!!d}function Al(i,l,d){var m=0,_=i==null?m:i.length;if(typeof l=="number"&&l===l&&_<=on){for(;m<_;){var x=m+_>>>1,M=i[x];M!==null&&!Qn(M)&&(d?M<=l:M<l)?m=x+1:_=x}return _}return Rf(i,l,jn,d)}function Rf(i,l,d,m){var _=0,x=i==null?0:i.length;if(x===0)return 0;l=d(l);for(var M=l!==l,$=l===null,V=Qn(l),re=l===n;_<x;){var ie=wl((_+x)/2),ce=d(i[ie]),me=ce!==n,Ee=ce===null,Pe=ce===ce,He=Qn(ce);if(M)var xe=m||Pe;else re?xe=Pe&&(m||me):$?xe=Pe&&me&&(m||!Ee):V?xe=Pe&&me&&!Ee&&(m||!He):Ee||He?xe=!1:xe=m?ce<=l:ce<l;xe?_=ie+1:x=ie}return hn(x,dn)}function Gg(i,l){for(var d=-1,m=i.length,_=0,x=[];++d<m;){var M=i[d],$=l?l(M):M;if(!d||!Tr($,V)){var V=$;x[_++]=M===0?0:M}}return x}function Kg(i){return typeof i=="number"?i:Qn(i)?Ze:+i}function Jn(i){if(typeof i=="string")return i;if(Fe(i))return It(i,Jn)+"";if(Qn(i))return kg?kg.call(i):"";var l=i+"";return l=="0"&&1/i==-ve?"-0":l}function Uo(i,l,d){var m=-1,_=ll,x=i.length,M=!0,$=[],V=$;if(d)M=!1,_=lf;else if(x>=o){var re=l?null:NO(i);if(re)return ul(re);M=!1,_=Bs,V=new di}else V=l?[]:$;e:for(;++m<x;){var ie=i[m],ce=l?l(ie):ie;if(ie=d||ie!==0?ie:0,M&&ce===ce){for(var me=V.length;me--;)if(V[me]===ce)continue e;l&&V.push(ce),$.push(ie)}else _(V,ce,d)||(V!==$&&V.push(ce),$.push(ie))}return $}function Mf(i,l){l=zo(l,i);var d=-1,m=l.length;if(!m)return!0;for(;++d<m;){var _=xr(l[d]);if(_==="__proto__"&&!lt.call(i,"__proto__")||(_==="constructor"||_==="prototype")&&d<m-1)return!1}var x=wy(i,l);return x==null||delete x[xr(hr(l))]}function qg(i,l,d,m){return Qs(i,l,d(hi(i,l)),m)}function Pl(i,l,d,m){for(var _=i.length,x=m?_:-1;(m?x--:++x<_)&&l(i[x],x,i););return d?pr(i,m?0:x,m?x+1:_):pr(i,m?x+1:0,m?_:x)}function Yg(i,l){var d=i;return d instanceof Ke&&(d=d.value()),cf(l,function(m,_){return _.func.apply(_.thisArg,Do([m],_.args))},d)}function Nf(i,l,d){var m=i.length;if(m<2)return m?Uo(i[0]):[];for(var _=-1,x=Y(m);++_<m;)for(var M=i[_],$=-1;++$<m;)$!=_&&(x[_]=Ys(x[_]||M,i[$],l,d));return Uo(ln(x,1),l,d)}function Xg(i,l,d){for(var m=-1,_=i.length,x=l.length,M={};++m<_;){var $=m<x?l[m]:n;d(M,i[m],$)}return M}function Df(i){return zt(i)?i:[]}function Ff(i){return typeof i=="function"?i:jn}function zo(i,l){return Fe(i)?i:Gf(i,l)?[i]:ky(ct(i))}var kO=Ve;function Bo(i,l,d){var m=i.length;return d=d===n?m:d,!l&&d>=m?i:pr(i,l,d)}var Jg=d1||function(i){return an.clearTimeout(i)};function Qg(i,l){if(l)return i.slice();var d=i.length,m=_g?_g(d):new i.constructor(d);return i.copy(m),m}function $f(i){var l=new i.constructor(i.byteLength);return new gl(l).set(new gl(i)),l}function xO(i,l){var d=l?$f(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function TO(i){var l=new i.constructor(i.source,Nm.exec(i));return l.lastIndex=i.lastIndex,l}function OO(i){return Ks?wt(Ks.call(i)):{}}function Zg(i,l){var d=l?$f(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function ey(i,l){if(i!==l){var d=i!==n,m=i===null,_=i===i,x=Qn(i),M=l!==n,$=l===null,V=l===l,re=Qn(l);if(!$&&!re&&!x&&i>l||x&&M&&V&&!$&&!re||m&&M&&V||!d&&V||!_)return 1;if(!m&&!x&&!re&&i<l||re&&d&&_&&!m&&!x||$&&d&&_||!M&&_||!V)return-1}return 0}function AO(i,l,d){for(var m=-1,_=i.criteria,x=l.criteria,M=_.length,$=d.length;++m<M;){var V=ey(_[m],x[m]);if(V){if(m>=$)return V;var re=d[m];return V*(re=="desc"?-1:1)}}return i.index-l.index}function ty(i,l,d,m){for(var _=-1,x=i.length,M=d.length,$=-1,V=l.length,re=Xt(x-M,0),ie=Y(V+re),ce=!m;++$<V;)ie[$]=l[$];for(;++_<M;)(ce||_<x)&&(ie[d[_]]=i[_]);for(;re--;)ie[$++]=i[_++];return ie}function ny(i,l,d,m){for(var _=-1,x=i.length,M=-1,$=d.length,V=-1,re=l.length,ie=Xt(x-$,0),ce=Y(ie+re),me=!m;++_<ie;)ce[_]=i[_];for(var Ee=_;++V<re;)ce[Ee+V]=l[V];for(;++M<$;)(me||_<x)&&(ce[Ee+d[M]]=i[_++]);return ce}function Dn(i,l){var d=-1,m=i.length;for(l||(l=Y(m));++d<m;)l[d]=i[d];return l}function Vr(i,l,d,m){var _=!d;d||(d={});for(var x=-1,M=l.length;++x<M;){var $=l[x],V=m?m(d[$],i[$],$,d,i):n;V===n&&(V=i[$]),_?Wr(d,$,V):qs(d,$,V)}return d}function PO(i,l){return Vr(i,Vf(i),l)}function IO(i,l){return Vr(i,my(i),l)}function Il(i,l){return function(d,m){var _=Fe(d)?DT:Z1,x=l?l():{};return _(d,i,Te(m,2),x)}}function Xi(i){return Ve(function(l,d){var m=-1,_=d.length,x=_>1?d[_-1]:n,M=_>2?d[2]:n;for(x=i.length>3&&typeof x=="function"?(_--,x):n,M&&On(d[0],d[1],M)&&(x=_<3?n:x,_=1),l=wt(l);++m<_;){var $=d[m];$&&i(l,$,m,x)}return l})}function ry(i,l){return function(d,m){if(d==null)return d;if(!Fn(d))return i(d,m);for(var _=d.length,x=l?_:-1,M=wt(d);(l?x--:++x<_)&&m(M[x],x,M)!==!1;);return d}}function oy(i){return function(l,d,m){for(var _=-1,x=wt(l),M=m(l),$=M.length;$--;){var V=M[i?$:++_];if(d(x[V],V,x)===!1)break}return l}}function LO(i,l,d){var m=l&v,_=Zs(i);function x(){var M=this&&this!==an&&this instanceof x?_:i;return M.apply(m?d:this,arguments)}return x}function iy(i){return function(l){l=ct(l);var d=Wi(l)?Cr(l):n,m=d?d[0]:l.charAt(0),_=d?Bo(d,1).join(""):l.slice(1);return m[i]()+_}}function Ji(i){return function(l){return cf(ob(rb(l).replace(ET,"")),i,"")}}function Zs(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=Yi(i.prototype),m=i.apply(d,l);return Nt(m)?m:d}}function RO(i,l,d){var m=Zs(i);function _(){for(var x=arguments.length,M=Y(x),$=x,V=Qi(_);$--;)M[$]=arguments[$];var re=x<3&&M[0]!==V&&M[x-1]!==V?[]:Fo(M,V);if(x-=re.length,x<d)return uy(i,l,Ll,_.placeholder,n,M,re,n,n,d-x);var ie=this&&this!==an&&this instanceof _?m:i;return qn(ie,this,M)}return _}function sy(i){return function(l,d,m){var _=wt(l);if(!Fn(l)){var x=Te(d,3);l=Qt(l),d=function($){return x(_[$],$,_)}}var M=i(l,d,m);return M>-1?_[x?l[M]:M]:n}}function ay(i){return co(function(l){var d=l.length,m=d,_=fr.prototype.thru;for(i&&l.reverse();m--;){var x=l[m];if(typeof x!="function")throw new ur(a);if(_&&!M&&Dl(x)=="wrapper")var M=new fr([],!0)}for(m=M?m:d;++m<d;){x=l[m];var $=Dl(x),V=$=="wrapper"?Wf(x):n;V&&Kf(V[0])&&V[1]==(k|S|O|D)&&!V[4].length&&V[9]==1?M=M[Dl(V[0])].apply(M,V[3]):M=x.length==1&&Kf(x)?M[$]():M.thru(x)}return function(){var re=arguments,ie=re[0];if(M&&re.length==1&&Fe(ie))return M.plant(ie).value();for(var ce=0,me=d?l[ce].apply(this,re):ie;++ce<d;)me=l[ce].call(this,me);return me}})}function Ll(i,l,d,m,_,x,M,$,V,re){var ie=l&k,ce=l&v,me=l&w,Ee=l&(S|N),Pe=l&B,He=me?n:Zs(i);function xe(){for(var Ge=arguments.length,Je=Y(Ge),Zn=Ge;Zn--;)Je[Zn]=arguments[Zn];if(Ee)var An=Qi(xe),er=VT(Je,An);if(m&&(Je=ty(Je,m,_,Ee)),x&&(Je=ny(Je,x,M,Ee)),Ge-=er,Ee&&Ge<re){var Bt=Fo(Je,An);return uy(i,l,Ll,xe.placeholder,d,Je,Bt,$,V,re-Ge)}var Or=ce?d:this,ho=me?Or[i]:i;return Ge=Je.length,$?Je=ZO(Je,$):Pe&&Ge>1&&Je.reverse(),ie&&V<Ge&&(Je.length=V),this&&this!==an&&this instanceof xe&&(ho=He||Zs(ho)),ho.apply(Or,Je)}return xe}function ly(i,l){return function(d,m){return aO(d,i,l(m),{})}}function Rl(i,l){return function(d,m){var _;if(d===n&&m===n)return l;if(d!==n&&(_=d),m!==n){if(_===n)return m;typeof d=="string"||typeof m=="string"?(d=Jn(d),m=Jn(m)):(d=Kg(d),m=Kg(m)),_=i(d,m)}return _}}function jf(i){return co(function(l){return l=It(l,Xn(Te())),Ve(function(d){var m=this;return i(l,function(_){return qn(_,m,d)})})})}function Ml(i,l){l=l===n?" ":Jn(l);var d=l.length;if(d<2)return d?Lf(l,i):l;var m=Lf(l,vl(i/Hi(l)));return Wi(l)?Bo(Cr(m),0,i).join(""):m.slice(0,i)}function MO(i,l,d,m){var _=l&v,x=Zs(i);function M(){for(var $=-1,V=arguments.length,re=-1,ie=m.length,ce=Y(ie+V),me=this&&this!==an&&this instanceof M?x:i;++re<ie;)ce[re]=m[re];for(;V--;)ce[re++]=arguments[++$];return qn(me,_?d:this,ce)}return M}function cy(i){return function(l,d,m){return m&&typeof m!="number"&&On(l,d,m)&&(d=m=n),l=po(l),d===n?(d=l,l=0):d=po(d),m=m===n?l<d?1:-1:po(m),_O(l,d,m,i)}}function Nl(i){return function(l,d){return typeof l=="string"&&typeof d=="string"||(l=mr(l),d=mr(d)),i(l,d)}}function uy(i,l,d,m,_,x,M,$,V,re){var ie=l&S,ce=ie?M:n,me=ie?n:M,Ee=ie?x:n,Pe=ie?n:x;l|=ie?O:I,l&=~(ie?I:O),l&A||(l&=-4);var He=[i,l,_,Ee,ce,Pe,me,$,V,re],xe=d.apply(n,He);return Kf(i)&&Ey(xe,He),xe.placeholder=m,Sy(xe,i,l)}function Uf(i){var l=Yt[i];return function(d,m){if(d=mr(d),m=m==null?0:hn(Be(m),292),m&&Sg(d)){var _=(ct(d)+"e").split("e"),x=l(_[0]+"e"+(+_[1]+m));return _=(ct(x)+"e").split("e"),+(_[0]+"e"+(+_[1]-m))}return l(d)}}var NO=Ki&&1/ul(new Ki([,-0]))[1]==ve?function(i){return new Ki(i)}:cd;function fy(i){return function(l){var d=mn(l);return d==J?gf(l):d==fe?QT(l):HT(l,i(l))}}function lo(i,l,d,m,_,x,M,$){var V=l&w;if(!V&&typeof i!="function")throw new ur(a);var re=m?m.length:0;if(re||(l&=-97,m=_=n),M=M===n?M:Xt(Be(M),0),$=$===n?$:Be($),re-=_?_.length:0,l&I){var ie=m,ce=_;m=_=n}var me=V?n:Wf(i),Ee=[i,l,d,m,_,ie,ce,x,M,$];if(me&&XO(Ee,me),i=Ee[0],l=Ee[1],d=Ee[2],m=Ee[3],_=Ee[4],$=Ee[9]=Ee[9]===n?V?0:i.length:Xt(Ee[9]-re,0),!$&&l&(S|N)&&(l&=-25),!l||l==v)var Pe=LO(i,l,d);else l==S||l==N?Pe=RO(i,l,$):(l==O||l==(v|O))&&!_.length?Pe=MO(i,l,d,m):Pe=Ll.apply(n,Ee);var He=me?Vg:Ey;return Sy(He(Pe,Ee),i,l)}function dy(i,l,d,m){return i===n||Tr(i,Gi[d])&&!lt.call(m,d)?l:i}function py(i,l,d,m,_,x){return Nt(i)&&Nt(l)&&(x.set(l,i),Ol(i,l,n,py,x),x.delete(l)),i}function DO(i){return na(i)?n:i}function hy(i,l,d,m,_,x){var M=d&b,$=i.length,V=l.length;if($!=V&&!(M&&V>$))return!1;var re=x.get(i),ie=x.get(l);if(re&&ie)return re==l&&ie==i;var ce=-1,me=!0,Ee=d&T?new di:n;for(x.set(i,l),x.set(l,i);++ce<$;){var Pe=i[ce],He=l[ce];if(m)var xe=M?m(He,Pe,ce,l,i,x):m(Pe,He,ce,i,l,x);if(xe!==n){if(xe)continue;me=!1;break}if(Ee){if(!uf(l,function(Ge,Je){if(!Bs(Ee,Je)&&(Pe===Ge||_(Pe,Ge,d,m,x)))return Ee.push(Je)})){me=!1;break}}else if(!(Pe===He||_(Pe,He,d,m,x))){me=!1;break}}return x.delete(i),x.delete(l),me}function FO(i,l,d,m,_,x,M){switch(d){case Xe:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case je:return!(i.byteLength!=l.byteLength||!x(new gl(i),new gl(l)));case he:case we:case ne:return Tr(+i,+l);case R:return i.name==l.name&&i.message==l.message;case H:case oe:return i==l+"";case J:var $=gf;case fe:var V=m&b;if($||($=ul),i.size!=l.size&&!V)return!1;var re=M.get(i);if(re)return re==l;m|=T,M.set(i,l);var ie=hy($(i),$(l),m,_,x,M);return M.delete(i),ie;case U:if(Ks)return Ks.call(i)==Ks.call(l)}return!1}function $O(i,l,d,m,_,x){var M=d&b,$=zf(i),V=$.length,re=zf(l),ie=re.length;if(V!=ie&&!M)return!1;for(var ce=V;ce--;){var me=$[ce];if(!(M?me in l:lt.call(l,me)))return!1}var Ee=x.get(i),Pe=x.get(l);if(Ee&&Pe)return Ee==l&&Pe==i;var He=!0;x.set(i,l),x.set(l,i);for(var xe=M;++ce<V;){me=$[ce];var Ge=i[me],Je=l[me];if(m)var Zn=M?m(Je,Ge,me,l,i,x):m(Ge,Je,me,i,l,x);if(!(Zn===n?Ge===Je||_(Ge,Je,d,m,x):Zn)){He=!1;break}xe||(xe=me=="constructor")}if(He&&!xe){var An=i.constructor,er=l.constructor;An!=er&&"constructor"in i&&"constructor"in l&&!(typeof An=="function"&&An instanceof An&&typeof er=="function"&&er instanceof er)&&(He=!1)}return x.delete(i),x.delete(l),He}function co(i){return Yf(vy(i,n,Ay),i+"")}function zf(i){return Mg(i,Qt,Vf)}function Bf(i){return Mg(i,$n,my)}var Wf=El?function(i){return El.get(i)}:cd;function Dl(i){for(var l=i.name+"",d=qi[l],m=lt.call(qi,l)?d.length:0;m--;){var _=d[m],x=_.func;if(x==null||x==i)return _.name}return l}function Qi(i){var l=lt.call(C,"placeholder")?C:i;return l.placeholder}function Te(){var i=C.iteratee||ad;return i=i===ad?Fg:i,arguments.length?i(arguments[0],arguments[1]):i}function Fl(i,l){var d=i.__data__;return GO(l)?d[typeof l=="string"?"string":"hash"]:d.map}function Hf(i){for(var l=Qt(i),d=l.length;d--;){var m=l[d],_=i[m];l[d]=[m,_,by(_)]}return l}function mi(i,l){var d=YT(i,l);return Dg(d)?d:n}function jO(i){var l=lt.call(i,ui),d=i[ui];try{i[ui]=n;var m=!0}catch{}var _=hl.call(i);return m&&(l?i[ui]=d:delete i[ui]),_}var Vf=bf?function(i){return i==null?[]:(i=wt(i),No(bf(i),function(l){return wg.call(i,l)}))}:ud,my=bf?function(i){for(var l=[];i;)Do(l,Vf(i)),i=yl(i);return l}:ud,mn=Tn;(_f&&mn(new _f(new ArrayBuffer(1)))!=Xe||Hs&&mn(new Hs)!=J||vf&&mn(vf.resolve())!=L||Ki&&mn(new Ki)!=fe||Vs&&mn(new Vs)!=be)&&(mn=function(i){var l=Tn(i),d=l==P?i.constructor:n,m=d?gi(d):"";if(m)switch(m){case w1:return Xe;case E1:return J;case S1:return L;case C1:return fe;case k1:return be}return l});function UO(i,l,d){for(var m=-1,_=d.length;++m<_;){var x=d[m],M=x.size;switch(x.type){case"drop":i+=M;break;case"dropRight":l-=M;break;case"take":l=hn(l,i+M);break;case"takeRight":i=Xt(i,l-M);break}}return{start:i,end:l}}function zO(i){var l=i.match(qx);return l?l[1].split(Yx):[]}function gy(i,l,d){l=zo(l,i);for(var m=-1,_=l.length,x=!1;++m<_;){var M=xr(l[m]);if(!(x=i!=null&&d(i,M)))break;i=i[M]}return x||++m!=_?x:(_=i==null?0:i.length,!!_&&Hl(_)&&uo(M,_)&&(Fe(i)||yi(i)))}function BO(i){var l=i.length,d=new i.constructor(l);return l&&typeof i[0]=="string"&&lt.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function yy(i){return typeof i.constructor=="function"&&!ea(i)?Yi(yl(i)):{}}function WO(i,l,d){var m=i.constructor;switch(l){case je:return $f(i);case he:case we:return new m(+i);case Xe:return xO(i,d);case et:case pn:case xn:case io:case $i:case sn:case Nn:case ji:case Ui:return Zg(i,d);case J:return new m;case ne:case oe:return new m(i);case H:return TO(i);case fe:return new m;case U:return OO(i)}}function HO(i,l){var d=l.length;if(!d)return i;var m=d-1;return l[m]=(d>1?"& ":"")+l[m],l=l.join(d>2?", ":" "),i.replace(Kx,`{
18
+ /* [wrapped with `+l+`] */
19
+ `)}function VO(i){return Fe(i)||yi(i)||!!(Eg&&i&&i[Eg])}function uo(i,l){var d=typeof i;return l=l??ze,!!l&&(d=="number"||d!="symbol"&&rT.test(i))&&i>-1&&i%1==0&&i<l}function On(i,l,d){if(!Nt(d))return!1;var m=typeof l;return(m=="number"?Fn(d)&&uo(l,d.length):m=="string"&&l in d)?Tr(d[l],i):!1}function Gf(i,l){if(Fe(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||Qn(i)?!0:Wx.test(i)||!Bx.test(i)||l!=null&&i in wt(l)}function GO(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function Kf(i){var l=Dl(i),d=C[l];if(typeof d!="function"||!(l in Ke.prototype))return!1;if(i===d)return!0;var m=Wf(d);return!!m&&i===m[0]}function KO(i){return!!bg&&bg in i}var qO=dl?fo:fd;function ea(i){var l=i&&i.constructor,d=typeof l=="function"&&l.prototype||Gi;return i===d}function by(i){return i===i&&!Nt(i)}function _y(i,l){return function(d){return d==null?!1:d[i]===l&&(l!==n||i in wt(d))}}function YO(i){var l=Bl(i,function(m){return d.size===p&&d.clear(),m}),d=l.cache;return l}function XO(i,l){var d=i[1],m=l[1],_=d|m,x=_<(v|w|k),M=m==k&&d==S||m==k&&d==D&&i[7].length<=l[8]||m==(k|D)&&l[7].length<=l[8]&&d==S;if(!(x||M))return i;m&v&&(i[2]=l[2],_|=d&v?0:A);var $=l[3];if($){var V=i[3];i[3]=V?ty(V,$,l[4]):$,i[4]=V?Fo(i[3],h):l[4]}return $=l[5],$&&(V=i[5],i[5]=V?ny(V,$,l[6]):$,i[6]=V?Fo(i[5],h):l[6]),$=l[7],$&&(i[7]=$),m&k&&(i[8]=i[8]==null?l[8]:hn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=_,i}function JO(i){var l=[];if(i!=null)for(var d in wt(i))l.push(d);return l}function QO(i){return hl.call(i)}function vy(i,l,d){return l=Xt(l===n?i.length-1:l,0),function(){for(var m=arguments,_=-1,x=Xt(m.length-l,0),M=Y(x);++_<x;)M[_]=m[l+_];_=-1;for(var $=Y(l+1);++_<l;)$[_]=m[_];return $[l]=d(M),qn(i,this,$)}}function wy(i,l){return l.length<2?i:hi(i,pr(l,0,-1))}function ZO(i,l){for(var d=i.length,m=hn(l.length,d),_=Dn(i);m--;){var x=l[m];i[m]=uo(x,d)?_[x]:n}return i}function qf(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var Ey=Cy(Vg),ta=h1||function(i,l){return an.setTimeout(i,l)},Yf=Cy(EO);function Sy(i,l,d){var m=l+"";return Yf(i,HO(m,eA(zO(m),d)))}function Cy(i){var l=0,d=0;return function(){var m=b1(),_=z-(m-d);if(d=m,_>0){if(++l>=se)return arguments[0]}else l=0;return i.apply(n,arguments)}}function $l(i,l){var d=-1,m=i.length,_=m-1;for(l=l===n?m:l;++d<l;){var x=If(d,_),M=i[x];i[x]=i[d],i[d]=M}return i.length=l,i}var ky=YO(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(Hx,function(d,m,_,x){l.push(_?x.replace(Jx,"$1"):m||d)}),l});function xr(i){if(typeof i=="string"||Qn(i))return i;var l=i+"";return l=="0"&&1/i==-ve?"-0":l}function gi(i){if(i!=null){try{return pl.call(i)}catch{}try{return i+""}catch{}}return""}function eA(i,l){return Yn(kn,function(d){var m="_."+d[0];l&d[1]&&!ll(i,m)&&i.push(m)}),i.sort()}function xy(i){if(i instanceof Ke)return i.clone();var l=new fr(i.__wrapped__,i.__chain__);return l.__actions__=Dn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function tA(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Xt(Be(l),0);var m=i==null?0:i.length;if(!m||l<1)return[];for(var _=0,x=0,M=Y(vl(m/l));_<m;)M[x++]=pr(i,_,_+=l);return M}function nA(i){for(var l=-1,d=i==null?0:i.length,m=0,_=[];++l<d;){var x=i[l];x&&(_[m++]=x)}return _}function rA(){var i=arguments.length;if(!i)return[];for(var l=Y(i-1),d=arguments[0],m=i;m--;)l[m-1]=arguments[m];return Do(Fe(d)?Dn(d):[d],ln(l,1))}var oA=Ve(function(i,l){return zt(i)?Ys(i,ln(l,1,zt,!0)):[]}),iA=Ve(function(i,l){var d=hr(l);return zt(d)&&(d=n),zt(i)?Ys(i,ln(l,1,zt,!0),Te(d,2)):[]}),sA=Ve(function(i,l){var d=hr(l);return zt(d)&&(d=n),zt(i)?Ys(i,ln(l,1,zt,!0),n,d):[]});function aA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Be(l),pr(i,l<0?0:l,m)):[]}function lA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Be(l),l=m-l,pr(i,0,l<0?0:l)):[]}function cA(i,l){return i&&i.length?Pl(i,Te(l,3),!0,!0):[]}function uA(i,l){return i&&i.length?Pl(i,Te(l,3),!0):[]}function fA(i,l,d,m){var _=i==null?0:i.length;return _?(d&&typeof d!="number"&&On(i,l,d)&&(d=0,m=_),rO(i,l,d,m)):[]}function Ty(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var _=d==null?0:Be(d);return _<0&&(_=Xt(m+_,0)),cl(i,Te(l,3),_)}function Oy(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var _=m-1;return d!==n&&(_=Be(d),_=d<0?Xt(m+_,0):hn(_,m-1)),cl(i,Te(l,3),_,!0)}function Ay(i){var l=i==null?0:i.length;return l?ln(i,1):[]}function dA(i){var l=i==null?0:i.length;return l?ln(i,ve):[]}function pA(i,l){var d=i==null?0:i.length;return d?(l=l===n?1:Be(l),ln(i,l)):[]}function hA(i){for(var l=-1,d=i==null?0:i.length,m={};++l<d;){var _=i[l];Wr(m,_[0],_[1])}return m}function Py(i){return i&&i.length?i[0]:n}function mA(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var _=d==null?0:Be(d);return _<0&&(_=Xt(m+_,0)),Bi(i,l,_)}function gA(i){var l=i==null?0:i.length;return l?pr(i,0,-1):[]}var yA=Ve(function(i){var l=It(i,Df);return l.length&&l[0]===i[0]?xf(l):[]}),bA=Ve(function(i){var l=hr(i),d=It(i,Df);return l===hr(d)?l=n:d.pop(),d.length&&d[0]===i[0]?xf(d,Te(l,2)):[]}),_A=Ve(function(i){var l=hr(i),d=It(i,Df);return l=typeof l=="function"?l:n,l&&d.pop(),d.length&&d[0]===i[0]?xf(d,n,l):[]});function vA(i,l){return i==null?"":g1.call(i,l)}function hr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function wA(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var _=m;return d!==n&&(_=Be(d),_=_<0?Xt(m+_,0):hn(_,m-1)),l===l?e1(i,l,_):cl(i,ug,_,!0)}function EA(i,l){return i&&i.length?zg(i,Be(l)):n}var SA=Ve(Iy);function Iy(i,l){return i&&i.length&&l&&l.length?Pf(i,l):i}function CA(i,l,d){return i&&i.length&&l&&l.length?Pf(i,l,Te(d,2)):i}function kA(i,l,d){return i&&i.length&&l&&l.length?Pf(i,l,n,d):i}var xA=co(function(i,l){var d=i==null?0:i.length,m=Ef(i,l);return Hg(i,It(l,function(_){return uo(_,d)?+_:_}).sort(ey)),m});function TA(i,l){var d=[];if(!(i&&i.length))return d;var m=-1,_=[],x=i.length;for(l=Te(l,3);++m<x;){var M=i[m];l(M,m,i)&&(d.push(M),_.push(m))}return Hg(i,_),d}function Xf(i){return i==null?i:v1.call(i)}function OA(i,l,d){var m=i==null?0:i.length;return m?(d&&typeof d!="number"&&On(i,l,d)?(l=0,d=m):(l=l==null?0:Be(l),d=d===n?m:Be(d)),pr(i,l,d)):[]}function AA(i,l){return Al(i,l)}function PA(i,l,d){return Rf(i,l,Te(d,2))}function IA(i,l){var d=i==null?0:i.length;if(d){var m=Al(i,l);if(m<d&&Tr(i[m],l))return m}return-1}function LA(i,l){return Al(i,l,!0)}function RA(i,l,d){return Rf(i,l,Te(d,2),!0)}function MA(i,l){var d=i==null?0:i.length;if(d){var m=Al(i,l,!0)-1;if(Tr(i[m],l))return m}return-1}function NA(i){return i&&i.length?Gg(i):[]}function DA(i,l){return i&&i.length?Gg(i,Te(l,2)):[]}function FA(i){var l=i==null?0:i.length;return l?pr(i,1,l):[]}function $A(i,l,d){return i&&i.length?(l=d||l===n?1:Be(l),pr(i,0,l<0?0:l)):[]}function jA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Be(l),l=m-l,pr(i,l<0?0:l,m)):[]}function UA(i,l){return i&&i.length?Pl(i,Te(l,3),!1,!0):[]}function zA(i,l){return i&&i.length?Pl(i,Te(l,3)):[]}var BA=Ve(function(i){return Uo(ln(i,1,zt,!0))}),WA=Ve(function(i){var l=hr(i);return zt(l)&&(l=n),Uo(ln(i,1,zt,!0),Te(l,2))}),HA=Ve(function(i){var l=hr(i);return l=typeof l=="function"?l:n,Uo(ln(i,1,zt,!0),n,l)});function VA(i){return i&&i.length?Uo(i):[]}function GA(i,l){return i&&i.length?Uo(i,Te(l,2)):[]}function KA(i,l){return l=typeof l=="function"?l:n,i&&i.length?Uo(i,n,l):[]}function Jf(i){if(!(i&&i.length))return[];var l=0;return i=No(i,function(d){if(zt(d))return l=Xt(d.length,l),!0}),hf(l,function(d){return It(i,ff(d))})}function Ly(i,l){if(!(i&&i.length))return[];var d=Jf(i);return l==null?d:It(d,function(m){return qn(l,n,m)})}var qA=Ve(function(i,l){return zt(i)?Ys(i,l):[]}),YA=Ve(function(i){return Nf(No(i,zt))}),XA=Ve(function(i){var l=hr(i);return zt(l)&&(l=n),Nf(No(i,zt),Te(l,2))}),JA=Ve(function(i){var l=hr(i);return l=typeof l=="function"?l:n,Nf(No(i,zt),n,l)}),QA=Ve(Jf);function ZA(i,l){return Xg(i||[],l||[],qs)}function eP(i,l){return Xg(i||[],l||[],Qs)}var tP=Ve(function(i){var l=i.length,d=l>1?i[l-1]:n;return d=typeof d=="function"?(i.pop(),d):n,Ly(i,d)});function Ry(i){var l=C(i);return l.__chain__=!0,l}function nP(i,l){return l(i),i}function jl(i,l){return l(i)}var rP=co(function(i){var l=i.length,d=l?i[0]:0,m=this.__wrapped__,_=function(x){return Ef(x,i)};return l>1||this.__actions__.length||!(m instanceof Ke)||!uo(d)?this.thru(_):(m=m.slice(d,+d+(l?1:0)),m.__actions__.push({func:jl,args:[_],thisArg:n}),new fr(m,this.__chain__).thru(function(x){return l&&!x.length&&x.push(n),x}))});function oP(){return Ry(this)}function iP(){return new fr(this.value(),this.__chain__)}function sP(){this.__values__===n&&(this.__values__=Ky(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function aP(){return this}function lP(i){for(var l,d=this;d instanceof Cl;){var m=xy(d);m.__index__=0,m.__values__=n,l?_.__wrapped__=m:l=m;var _=m;d=d.__wrapped__}return _.__wrapped__=i,l}function cP(){var i=this.__wrapped__;if(i instanceof Ke){var l=i;return this.__actions__.length&&(l=new Ke(this)),l=l.reverse(),l.__actions__.push({func:jl,args:[Xf],thisArg:n}),new fr(l,this.__chain__)}return this.thru(Xf)}function uP(){return Yg(this.__wrapped__,this.__actions__)}var fP=Il(function(i,l,d){lt.call(i,d)?++i[d]:Wr(i,d,1)});function dP(i,l,d){var m=Fe(i)?lg:nO;return d&&On(i,l,d)&&(l=n),m(i,Te(l,3))}function pP(i,l){var d=Fe(i)?No:Lg;return d(i,Te(l,3))}var hP=sy(Ty),mP=sy(Oy);function gP(i,l){return ln(Ul(i,l),1)}function yP(i,l){return ln(Ul(i,l),ve)}function bP(i,l,d){return d=d===n?1:Be(d),ln(Ul(i,l),d)}function My(i,l){var d=Fe(i)?Yn:jo;return d(i,Te(l,3))}function Ny(i,l){var d=Fe(i)?FT:Ig;return d(i,Te(l,3))}var _P=Il(function(i,l,d){lt.call(i,d)?i[d].push(l):Wr(i,d,[l])});function vP(i,l,d,m){i=Fn(i)?i:es(i),d=d&&!m?Be(d):0;var _=i.length;return d<0&&(d=Xt(_+d,0)),Vl(i)?d<=_&&i.indexOf(l,d)>-1:!!_&&Bi(i,l,d)>-1}var wP=Ve(function(i,l,d){var m=-1,_=typeof l=="function",x=Fn(i)?Y(i.length):[];return jo(i,function(M){x[++m]=_?qn(l,M,d):Xs(M,l,d)}),x}),EP=Il(function(i,l,d){Wr(i,d,l)});function Ul(i,l){var d=Fe(i)?It:$g;return d(i,Te(l,3))}function SP(i,l,d,m){return i==null?[]:(Fe(l)||(l=l==null?[]:[l]),d=m?n:d,Fe(d)||(d=d==null?[]:[d]),Bg(i,l,d))}var CP=Il(function(i,l,d){i[d?0:1].push(l)},function(){return[[],[]]});function kP(i,l,d){var m=Fe(i)?cf:dg,_=arguments.length<3;return m(i,Te(l,4),d,_,jo)}function xP(i,l,d){var m=Fe(i)?$T:dg,_=arguments.length<3;return m(i,Te(l,4),d,_,Ig)}function TP(i,l){var d=Fe(i)?No:Lg;return d(i,Wl(Te(l,3)))}function OP(i){var l=Fe(i)?Tg:vO;return l(i)}function AP(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Be(l);var m=Fe(i)?J1:wO;return m(i,l)}function PP(i){var l=Fe(i)?Q1:SO;return l(i)}function IP(i){if(i==null)return 0;if(Fn(i))return Vl(i)?Hi(i):i.length;var l=mn(i);return l==J||l==fe?i.size:Of(i).length}function LP(i,l,d){var m=Fe(i)?uf:CO;return d&&On(i,l,d)&&(l=n),m(i,Te(l,3))}var RP=Ve(function(i,l){if(i==null)return[];var d=l.length;return d>1&&On(i,l[0],l[1])?l=[]:d>2&&On(l[0],l[1],l[2])&&(l=[l[0]]),Bg(i,ln(l,1),[])}),zl=p1||function(){return an.Date.now()};function MP(i,l){if(typeof l!="function")throw new ur(a);return i=Be(i),function(){if(--i<1)return l.apply(this,arguments)}}function Dy(i,l,d){return l=d?n:l,l=i&&l==null?i.length:l,lo(i,k,n,n,n,n,l)}function Fy(i,l){var d;if(typeof l!="function")throw new ur(a);return i=Be(i),function(){return--i>0&&(d=l.apply(this,arguments)),i<=1&&(l=n),d}}var Qf=Ve(function(i,l,d){var m=v;if(d.length){var _=Fo(d,Qi(Qf));m|=O}return lo(i,m,l,d,_)}),$y=Ve(function(i,l,d){var m=v|w;if(d.length){var _=Fo(d,Qi($y));m|=O}return lo(l,m,i,d,_)});function jy(i,l,d){l=d?n:l;var m=lo(i,S,n,n,n,n,n,l);return m.placeholder=jy.placeholder,m}function Uy(i,l,d){l=d?n:l;var m=lo(i,N,n,n,n,n,n,l);return m.placeholder=Uy.placeholder,m}function zy(i,l,d){var m,_,x,M,$,V,re=0,ie=!1,ce=!1,me=!0;if(typeof i!="function")throw new ur(a);l=mr(l)||0,Nt(d)&&(ie=!!d.leading,ce="maxWait"in d,x=ce?Xt(mr(d.maxWait)||0,l):x,me="trailing"in d?!!d.trailing:me);function Ee(Bt){var Or=m,ho=_;return m=_=n,re=Bt,M=i.apply(ho,Or),M}function Pe(Bt){return re=Bt,$=ta(Ge,l),ie?Ee(Bt):M}function He(Bt){var Or=Bt-V,ho=Bt-re,ab=l-Or;return ce?hn(ab,x-ho):ab}function xe(Bt){var Or=Bt-V,ho=Bt-re;return V===n||Or>=l||Or<0||ce&&ho>=x}function Ge(){var Bt=zl();if(xe(Bt))return Je(Bt);$=ta(Ge,He(Bt))}function Je(Bt){return $=n,me&&m?Ee(Bt):(m=_=n,M)}function Zn(){$!==n&&Jg($),re=0,m=V=_=$=n}function An(){return $===n?M:Je(zl())}function er(){var Bt=zl(),Or=xe(Bt);if(m=arguments,_=this,V=Bt,Or){if($===n)return Pe(V);if(ce)return Jg($),$=ta(Ge,l),Ee(V)}return $===n&&($=ta(Ge,l)),M}return er.cancel=Zn,er.flush=An,er}var NP=Ve(function(i,l){return Pg(i,1,l)}),DP=Ve(function(i,l,d){return Pg(i,mr(l)||0,d)});function FP(i){return lo(i,B)}function Bl(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new ur(a);var d=function(){var m=arguments,_=l?l.apply(this,m):m[0],x=d.cache;if(x.has(_))return x.get(_);var M=i.apply(this,m);return d.cache=x.set(_,M)||x,M};return d.cache=new(Bl.Cache||ao),d}Bl.Cache=ao;function Wl(i){if(typeof i!="function")throw new ur(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function $P(i){return Fy(2,i)}var jP=kO(function(i,l){l=l.length==1&&Fe(l[0])?It(l[0],Xn(Te())):It(ln(l,1),Xn(Te()));var d=l.length;return Ve(function(m){for(var _=-1,x=hn(m.length,d);++_<x;)m[_]=l[_].call(this,m[_]);return qn(i,this,m)})}),Zf=Ve(function(i,l){var d=Fo(l,Qi(Zf));return lo(i,O,n,l,d)}),By=Ve(function(i,l){var d=Fo(l,Qi(By));return lo(i,I,n,l,d)}),UP=co(function(i,l){return lo(i,D,n,n,n,l)});function zP(i,l){if(typeof i!="function")throw new ur(a);return l=l===n?l:Be(l),Ve(i,l)}function BP(i,l){if(typeof i!="function")throw new ur(a);return l=l==null?0:Xt(Be(l),0),Ve(function(d){var m=d[l],_=Bo(d,0,l);return m&&Do(_,m),qn(i,this,_)})}function WP(i,l,d){var m=!0,_=!0;if(typeof i!="function")throw new ur(a);return Nt(d)&&(m="leading"in d?!!d.leading:m,_="trailing"in d?!!d.trailing:_),zy(i,l,{leading:m,maxWait:l,trailing:_})}function HP(i){return Dy(i,1)}function VP(i,l){return Zf(Ff(l),i)}function GP(){if(!arguments.length)return[];var i=arguments[0];return Fe(i)?i:[i]}function KP(i){return dr(i,E)}function qP(i,l){return l=typeof l=="function"?l:n,dr(i,E,l)}function YP(i){return dr(i,g|E)}function XP(i,l){return l=typeof l=="function"?l:n,dr(i,g|E,l)}function JP(i,l){return l==null||Ag(i,l,Qt(l))}function Tr(i,l){return i===l||i!==i&&l!==l}var QP=Nl(kf),ZP=Nl(function(i,l){return i>=l}),yi=Ng((function(){return arguments})())?Ng:function(i){return $t(i)&&lt.call(i,"callee")&&!wg.call(i,"callee")},Fe=Y.isArray,eI=ng?Xn(ng):lO;function Fn(i){return i!=null&&Hl(i.length)&&!fo(i)}function zt(i){return $t(i)&&Fn(i)}function tI(i){return i===!0||i===!1||$t(i)&&Tn(i)==he}var Wo=m1||fd,nI=rg?Xn(rg):cO;function rI(i){return $t(i)&&i.nodeType===1&&!na(i)}function oI(i){if(i==null)return!0;if(Fn(i)&&(Fe(i)||typeof i=="string"||typeof i.splice=="function"||Wo(i)||Zi(i)||yi(i)))return!i.length;var l=mn(i);if(l==J||l==fe)return!i.size;if(ea(i))return!Of(i).length;for(var d in i)if(lt.call(i,d))return!1;return!0}function iI(i,l){return Js(i,l)}function sI(i,l,d){d=typeof d=="function"?d:n;var m=d?d(i,l):n;return m===n?Js(i,l,n,d):!!m}function ed(i){if(!$t(i))return!1;var l=Tn(i);return l==R||l==We||typeof i.message=="string"&&typeof i.name=="string"&&!na(i)}function aI(i){return typeof i=="number"&&Sg(i)}function fo(i){if(!Nt(i))return!1;var l=Tn(i);return l==F||l==G||l==ge||l==j}function Wy(i){return typeof i=="number"&&i==Be(i)}function Hl(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=ze}function Nt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function $t(i){return i!=null&&typeof i=="object"}var Hy=og?Xn(og):fO;function lI(i,l){return i===l||Tf(i,l,Hf(l))}function cI(i,l,d){return d=typeof d=="function"?d:n,Tf(i,l,Hf(l),d)}function uI(i){return Vy(i)&&i!=+i}function fI(i){if(qO(i))throw new Me(s);return Dg(i)}function dI(i){return i===null}function pI(i){return i==null}function Vy(i){return typeof i=="number"||$t(i)&&Tn(i)==ne}function na(i){if(!$t(i)||Tn(i)!=P)return!1;var l=yl(i);if(l===null)return!0;var d=lt.call(l,"constructor")&&l.constructor;return typeof d=="function"&&d instanceof d&&pl.call(d)==c1}var td=ig?Xn(ig):dO;function hI(i){return Wy(i)&&i>=-ze&&i<=ze}var Gy=sg?Xn(sg):pO;function Vl(i){return typeof i=="string"||!Fe(i)&&$t(i)&&Tn(i)==oe}function Qn(i){return typeof i=="symbol"||$t(i)&&Tn(i)==U}var Zi=ag?Xn(ag):hO;function mI(i){return i===n}function gI(i){return $t(i)&&mn(i)==be}function yI(i){return $t(i)&&Tn(i)==ke}var bI=Nl(Af),_I=Nl(function(i,l){return i<=l});function Ky(i){if(!i)return[];if(Fn(i))return Vl(i)?Cr(i):Dn(i);if(Ws&&i[Ws])return JT(i[Ws]());var l=mn(i),d=l==J?gf:l==fe?ul:es;return d(i)}function po(i){if(!i)return i===0?i:0;if(i=mr(i),i===ve||i===-ve){var l=i<0?-1:1;return l*Ut}return i===i?i:0}function Be(i){var l=po(i),d=l%1;return l===l?d?l-d:l:0}function qy(i){return i?pi(Be(i),0,De):0}function mr(i){if(typeof i=="number")return i;if(Qn(i))return Ze;if(Nt(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Nt(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=pg(i);var d=eT.test(i);return d||nT.test(i)?MT(i.slice(2),d?2:8):Zx.test(i)?Ze:+i}function Yy(i){return Vr(i,$n(i))}function vI(i){return i?pi(Be(i),-ze,ze):i===0?i:0}function ct(i){return i==null?"":Jn(i)}var wI=Xi(function(i,l){if(ea(l)||Fn(l)){Vr(l,Qt(l),i);return}for(var d in l)lt.call(l,d)&&qs(i,d,l[d])}),Xy=Xi(function(i,l){Vr(l,$n(l),i)}),Jy=Xi(function(i,l,d,m){Vr(l,$n(l),i,m)}),nd=Xi(function(i,l,d,m){Vr(l,Qt(l),i,m)}),EI=co(Ef);function SI(i,l){var d=Yi(i);return l==null?d:Og(d,l)}var CI=Ve(function(i,l){i=wt(i);var d=-1,m=l.length,_=m>2?l[2]:n;for(_&&On(l[0],l[1],_)&&(m=1);++d<m;)for(var x=l[d],M=$n(x),$=-1,V=M.length;++$<V;){var re=M[$],ie=i[re];(ie===n||Tr(ie,Gi[re])&&!lt.call(i,re))&&(i[re]=x[re])}return i}),kI=Ve(function(i){return i.push(n,py),qn(Qy,n,i)});function xI(i,l){return cg(i,Te(l,3),Hr)}function TI(i,l){return cg(i,Te(l,3),Cf)}function OI(i,l){return i==null?i:Sf(i,Te(l,3),$n)}function AI(i,l){return i==null?i:Rg(i,Te(l,3),$n)}function PI(i,l){return i&&Hr(i,Te(l,3))}function II(i,l){return i&&Cf(i,Te(l,3))}function LI(i){return i==null?[]:Tl(i,Qt(i))}function RI(i){return i==null?[]:Tl(i,$n(i))}function rd(i,l,d){var m=i==null?n:hi(i,l);return m===n?d:m}function MI(i,l){return i!=null&&gy(i,l,oO)}function od(i,l){return i!=null&&gy(i,l,iO)}var NI=ly(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=hl.call(l)),i[l]=d},sd(jn)),DI=ly(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=hl.call(l)),lt.call(i,l)?i[l].push(d):i[l]=[d]},Te),FI=Ve(Xs);function Qt(i){return Fn(i)?xg(i):Of(i)}function $n(i){return Fn(i)?xg(i,!0):mO(i)}function $I(i,l){var d={};return l=Te(l,3),Hr(i,function(m,_,x){Wr(d,l(m,_,x),m)}),d}function jI(i,l){var d={};return l=Te(l,3),Hr(i,function(m,_,x){Wr(d,_,l(m,_,x))}),d}var UI=Xi(function(i,l,d){Ol(i,l,d)}),Qy=Xi(function(i,l,d,m){Ol(i,l,d,m)}),zI=co(function(i,l){var d={};if(i==null)return d;var m=!1;l=It(l,function(x){return x=zo(x,i),m||(m=x.length>1),x}),Vr(i,Bf(i),d),m&&(d=dr(d,g|y|E,DO));for(var _=l.length;_--;)Mf(d,l[_]);return d});function BI(i,l){return Zy(i,Wl(Te(l)))}var WI=co(function(i,l){return i==null?{}:yO(i,l)});function Zy(i,l){if(i==null)return{};var d=It(Bf(i),function(m){return[m]});return l=Te(l),Wg(i,d,function(m,_){return l(m,_[0])})}function HI(i,l,d){l=zo(l,i);var m=-1,_=l.length;for(_||(_=1,i=n);++m<_;){var x=i==null?n:i[xr(l[m])];x===n&&(m=_,x=d),i=fo(x)?x.call(i):x}return i}function VI(i,l,d){return i==null?i:Qs(i,l,d)}function GI(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Qs(i,l,d,m)}var eb=fy(Qt),tb=fy($n);function KI(i,l,d){var m=Fe(i),_=m||Wo(i)||Zi(i);if(l=Te(l,4),d==null){var x=i&&i.constructor;_?d=m?new x:[]:Nt(i)?d=fo(x)?Yi(yl(i)):{}:d={}}return(_?Yn:Hr)(i,function(M,$,V){return l(d,M,$,V)}),d}function qI(i,l){return i==null?!0:Mf(i,l)}function YI(i,l,d){return i==null?i:qg(i,l,Ff(d))}function XI(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:qg(i,l,Ff(d),m)}function es(i){return i==null?[]:mf(i,Qt(i))}function JI(i){return i==null?[]:mf(i,$n(i))}function QI(i,l,d){return d===n&&(d=l,l=n),d!==n&&(d=mr(d),d=d===d?d:0),l!==n&&(l=mr(l),l=l===l?l:0),pi(mr(i),l,d)}function ZI(i,l,d){return l=po(l),d===n?(d=l,l=0):d=po(d),i=mr(i),sO(i,l,d)}function eL(i,l,d){if(d&&typeof d!="boolean"&&On(i,l,d)&&(l=d=n),d===n&&(typeof l=="boolean"?(d=l,l=n):typeof i=="boolean"&&(d=i,i=n)),i===n&&l===n?(i=0,l=1):(i=po(i),l===n?(l=i,i=0):l=po(l)),i>l){var m=i;i=l,l=m}if(d||i%1||l%1){var _=Cg();return hn(i+_*(l-i+RT("1e-"+((_+"").length-1))),l)}return If(i,l)}var tL=Ji(function(i,l,d){return l=l.toLowerCase(),i+(d?nb(l):l)});function nb(i){return id(ct(i).toLowerCase())}function rb(i){return i=ct(i),i&&i.replace(oT,GT).replace(ST,"")}function nL(i,l,d){i=ct(i),l=Jn(l);var m=i.length;d=d===n?m:pi(Be(d),0,m);var _=d;return d-=l.length,d>=0&&i.slice(d,_)==l}function rL(i){return i=ct(i),i&&jx.test(i)?i.replace(Lm,KT):i}function oL(i){return i=ct(i),i&&Vx.test(i)?i.replace(Qu,"\\$&"):i}var iL=Ji(function(i,l,d){return i+(d?"-":"")+l.toLowerCase()}),sL=Ji(function(i,l,d){return i+(d?" ":"")+l.toLowerCase()}),aL=iy("toLowerCase");function lL(i,l,d){i=ct(i),l=Be(l);var m=l?Hi(i):0;if(!l||m>=l)return i;var _=(l-m)/2;return Ml(wl(_),d)+i+Ml(vl(_),d)}function cL(i,l,d){i=ct(i),l=Be(l);var m=l?Hi(i):0;return l&&m<l?i+Ml(l-m,d):i}function uL(i,l,d){i=ct(i),l=Be(l);var m=l?Hi(i):0;return l&&m<l?Ml(l-m,d)+i:i}function fL(i,l,d){return d||l==null?l=0:l&&(l=+l),_1(ct(i).replace(Zu,""),l||0)}function dL(i,l,d){return(d?On(i,l,d):l===n)?l=1:l=Be(l),Lf(ct(i),l)}function pL(){var i=arguments,l=ct(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var hL=Ji(function(i,l,d){return i+(d?"_":"")+l.toLowerCase()});function mL(i,l,d){return d&&typeof d!="number"&&On(i,l,d)&&(l=d=n),d=d===n?De:d>>>0,d?(i=ct(i),i&&(typeof l=="string"||l!=null&&!td(l))&&(l=Jn(l),!l&&Wi(i))?Bo(Cr(i),0,d):i.split(l,d)):[]}var gL=Ji(function(i,l,d){return i+(d?" ":"")+id(l)});function yL(i,l,d){return i=ct(i),d=d==null?0:pi(Be(d),0,i.length),l=Jn(l),i.slice(d,d+l.length)==l}function bL(i,l,d){var m=C.templateSettings;d&&On(i,l,d)&&(l=n),i=ct(i),l=nd({},l,m,dy);var _=nd({},l.imports,m.imports,dy),x=Qt(_),M=mf(_,x);Yn(x,function(xe){if(Mm.test(xe))throw new Me(u)});var $,V,re=0,ie=l.interpolate||il,ce="__p += '",me=yf((l.escape||il).source+"|"+ie.source+"|"+(ie===Rm?Qx:il).source+"|"+(l.evaluate||il).source+"|$","g"),Ee="//# sourceURL="+(lt.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++OT+"]")+`
20
+ `;i.replace(me,function(xe,Ge,Je,Zn,An,er){return Je||(Je=Zn),ce+=i.slice(re,er).replace(iT,qT),Ge&&($=!0,ce+=`' +
21
+ __e(`+Ge+`) +
22
+ '`),An&&(V=!0,ce+=`';
23
+ `+An+`;
24
+ __p += '`),Je&&(ce+=`' +
25
+ ((__t = (`+Je+`)) == null ? '' : __t) +
26
+ '`),re=er+xe.length,xe}),ce+=`';
27
+ `;var Pe=lt.call(l,"variable")&&l.variable;if(!Pe)ce=`with (obj) {
28
+ `+ce+`
29
+ }
30
+ `;else if(Mm.test(Pe))throw new Me(c);ce=(V?ce.replace(Nx,""):ce).replace(Dx,"$1").replace(Fx,"$1;"),ce="function("+(Pe||"obj")+`) {
31
+ `+(Pe?"":`obj || (obj = {});
32
+ `)+"var __t, __p = ''"+($?", __e = _.escape":"")+(V?`, __j = Array.prototype.join;
33
+ function print() { __p += __j.call(arguments, '') }
34
+ `:`;
35
+ `)+ce+`return __p
36
+ }`;var He=ib(function(){return st(x,Ee+"return "+ce).apply(n,M)});if(He.source=ce,ed(He))throw He;return He}function _L(i){return ct(i).toLowerCase()}function vL(i){return ct(i).toUpperCase()}function wL(i,l,d){if(i=ct(i),i&&(d||l===n))return pg(i);if(!i||!(l=Jn(l)))return i;var m=Cr(i),_=Cr(l),x=hg(m,_),M=mg(m,_)+1;return Bo(m,x,M).join("")}function EL(i,l,d){if(i=ct(i),i&&(d||l===n))return i.slice(0,yg(i)+1);if(!i||!(l=Jn(l)))return i;var m=Cr(i),_=mg(m,Cr(l))+1;return Bo(m,0,_).join("")}function SL(i,l,d){if(i=ct(i),i&&(d||l===n))return i.replace(Zu,"");if(!i||!(l=Jn(l)))return i;var m=Cr(i),_=hg(m,Cr(l));return Bo(m,_).join("")}function CL(i,l){var d=K,m=le;if(Nt(l)){var _="separator"in l?l.separator:_;d="length"in l?Be(l.length):d,m="omission"in l?Jn(l.omission):m}i=ct(i);var x=i.length;if(Wi(i)){var M=Cr(i);x=M.length}if(d>=x)return i;var $=d-Hi(m);if($<1)return m;var V=M?Bo(M,0,$).join(""):i.slice(0,$);if(_===n)return V+m;if(M&&($+=V.length-$),td(_)){if(i.slice($).search(_)){var re,ie=V;for(_.global||(_=yf(_.source,ct(Nm.exec(_))+"g")),_.lastIndex=0;re=_.exec(ie);)var ce=re.index;V=V.slice(0,ce===n?$:ce)}}else if(i.indexOf(Jn(_),$)!=$){var me=V.lastIndexOf(_);me>-1&&(V=V.slice(0,me))}return V+m}function kL(i){return i=ct(i),i&&$x.test(i)?i.replace(Im,t1):i}var xL=Ji(function(i,l,d){return i+(d?" ":"")+l.toUpperCase()}),id=iy("toUpperCase");function ob(i,l,d){return i=ct(i),l=d?n:l,l===n?XT(i)?o1(i):zT(i):i.match(l)||[]}var ib=Ve(function(i,l){try{return qn(i,n,l)}catch(d){return ed(d)?d:new Me(d)}}),TL=co(function(i,l){return Yn(l,function(d){d=xr(d),Wr(i,d,Qf(i[d],i))}),i});function OL(i){var l=i==null?0:i.length,d=Te();return i=l?It(i,function(m){if(typeof m[1]!="function")throw new ur(a);return[d(m[0]),m[1]]}):[],Ve(function(m){for(var _=-1;++_<l;){var x=i[_];if(qn(x[0],this,m))return qn(x[1],this,m)}})}function AL(i){return tO(dr(i,g))}function sd(i){return function(){return i}}function PL(i,l){return i==null||i!==i?l:i}var IL=ay(),LL=ay(!0);function jn(i){return i}function ad(i){return Fg(typeof i=="function"?i:dr(i,g))}function RL(i){return jg(dr(i,g))}function ML(i,l){return Ug(i,dr(l,g))}var NL=Ve(function(i,l){return function(d){return Xs(d,i,l)}}),DL=Ve(function(i,l){return function(d){return Xs(i,d,l)}});function ld(i,l,d){var m=Qt(l),_=Tl(l,m);d==null&&!(Nt(l)&&(_.length||!m.length))&&(d=l,l=i,i=this,_=Tl(l,Qt(l)));var x=!(Nt(d)&&"chain"in d)||!!d.chain,M=fo(i);return Yn(_,function($){var V=l[$];i[$]=V,M&&(i.prototype[$]=function(){var re=this.__chain__;if(x||re){var ie=i(this.__wrapped__),ce=ie.__actions__=Dn(this.__actions__);return ce.push({func:V,args:arguments,thisArg:i}),ie.__chain__=re,ie}return V.apply(i,Do([this.value()],arguments))})}),i}function FL(){return an._===this&&(an._=u1),this}function cd(){}function $L(i){return i=Be(i),Ve(function(l){return zg(l,i)})}var jL=jf(It),UL=jf(lg),zL=jf(uf);function sb(i){return Gf(i)?ff(xr(i)):bO(i)}function BL(i){return function(l){return i==null?n:hi(i,l)}}var WL=cy(),HL=cy(!0);function ud(){return[]}function fd(){return!1}function VL(){return{}}function GL(){return""}function KL(){return!0}function qL(i,l){if(i=Be(i),i<1||i>ze)return[];var d=De,m=hn(i,De);l=Te(l),i-=De;for(var _=hf(m,l);++d<i;)l(d);return _}function YL(i){return Fe(i)?It(i,xr):Qn(i)?[i]:Dn(ky(ct(i)))}function XL(i){var l=++l1;return ct(i)+l}var JL=Rl(function(i,l){return i+l},0),QL=Uf("ceil"),ZL=Rl(function(i,l){return i/l},1),eR=Uf("floor");function tR(i){return i&&i.length?xl(i,jn,kf):n}function nR(i,l){return i&&i.length?xl(i,Te(l,2),kf):n}function rR(i){return fg(i,jn)}function oR(i,l){return fg(i,Te(l,2))}function iR(i){return i&&i.length?xl(i,jn,Af):n}function sR(i,l){return i&&i.length?xl(i,Te(l,2),Af):n}var aR=Rl(function(i,l){return i*l},1),lR=Uf("round"),cR=Rl(function(i,l){return i-l},0);function uR(i){return i&&i.length?pf(i,jn):0}function fR(i,l){return i&&i.length?pf(i,Te(l,2)):0}return C.after=MP,C.ary=Dy,C.assign=wI,C.assignIn=Xy,C.assignInWith=Jy,C.assignWith=nd,C.at=EI,C.before=Fy,C.bind=Qf,C.bindAll=TL,C.bindKey=$y,C.castArray=GP,C.chain=Ry,C.chunk=tA,C.compact=nA,C.concat=rA,C.cond=OL,C.conforms=AL,C.constant=sd,C.countBy=fP,C.create=SI,C.curry=jy,C.curryRight=Uy,C.debounce=zy,C.defaults=CI,C.defaultsDeep=kI,C.defer=NP,C.delay=DP,C.difference=oA,C.differenceBy=iA,C.differenceWith=sA,C.drop=aA,C.dropRight=lA,C.dropRightWhile=cA,C.dropWhile=uA,C.fill=fA,C.filter=pP,C.flatMap=gP,C.flatMapDeep=yP,C.flatMapDepth=bP,C.flatten=Ay,C.flattenDeep=dA,C.flattenDepth=pA,C.flip=FP,C.flow=IL,C.flowRight=LL,C.fromPairs=hA,C.functions=LI,C.functionsIn=RI,C.groupBy=_P,C.initial=gA,C.intersection=yA,C.intersectionBy=bA,C.intersectionWith=_A,C.invert=NI,C.invertBy=DI,C.invokeMap=wP,C.iteratee=ad,C.keyBy=EP,C.keys=Qt,C.keysIn=$n,C.map=Ul,C.mapKeys=$I,C.mapValues=jI,C.matches=RL,C.matchesProperty=ML,C.memoize=Bl,C.merge=UI,C.mergeWith=Qy,C.method=NL,C.methodOf=DL,C.mixin=ld,C.negate=Wl,C.nthArg=$L,C.omit=zI,C.omitBy=BI,C.once=$P,C.orderBy=SP,C.over=jL,C.overArgs=jP,C.overEvery=UL,C.overSome=zL,C.partial=Zf,C.partialRight=By,C.partition=CP,C.pick=WI,C.pickBy=Zy,C.property=sb,C.propertyOf=BL,C.pull=SA,C.pullAll=Iy,C.pullAllBy=CA,C.pullAllWith=kA,C.pullAt=xA,C.range=WL,C.rangeRight=HL,C.rearg=UP,C.reject=TP,C.remove=TA,C.rest=zP,C.reverse=Xf,C.sampleSize=AP,C.set=VI,C.setWith=GI,C.shuffle=PP,C.slice=OA,C.sortBy=RP,C.sortedUniq=NA,C.sortedUniqBy=DA,C.split=mL,C.spread=BP,C.tail=FA,C.take=$A,C.takeRight=jA,C.takeRightWhile=UA,C.takeWhile=zA,C.tap=nP,C.throttle=WP,C.thru=jl,C.toArray=Ky,C.toPairs=eb,C.toPairsIn=tb,C.toPath=YL,C.toPlainObject=Yy,C.transform=KI,C.unary=HP,C.union=BA,C.unionBy=WA,C.unionWith=HA,C.uniq=VA,C.uniqBy=GA,C.uniqWith=KA,C.unset=qI,C.unzip=Jf,C.unzipWith=Ly,C.update=YI,C.updateWith=XI,C.values=es,C.valuesIn=JI,C.without=qA,C.words=ob,C.wrap=VP,C.xor=YA,C.xorBy=XA,C.xorWith=JA,C.zip=QA,C.zipObject=ZA,C.zipObjectDeep=eP,C.zipWith=tP,C.entries=eb,C.entriesIn=tb,C.extend=Xy,C.extendWith=Jy,ld(C,C),C.add=JL,C.attempt=ib,C.camelCase=tL,C.capitalize=nb,C.ceil=QL,C.clamp=QI,C.clone=KP,C.cloneDeep=YP,C.cloneDeepWith=XP,C.cloneWith=qP,C.conformsTo=JP,C.deburr=rb,C.defaultTo=PL,C.divide=ZL,C.endsWith=nL,C.eq=Tr,C.escape=rL,C.escapeRegExp=oL,C.every=dP,C.find=hP,C.findIndex=Ty,C.findKey=xI,C.findLast=mP,C.findLastIndex=Oy,C.findLastKey=TI,C.floor=eR,C.forEach=My,C.forEachRight=Ny,C.forIn=OI,C.forInRight=AI,C.forOwn=PI,C.forOwnRight=II,C.get=rd,C.gt=QP,C.gte=ZP,C.has=MI,C.hasIn=od,C.head=Py,C.identity=jn,C.includes=vP,C.indexOf=mA,C.inRange=ZI,C.invoke=FI,C.isArguments=yi,C.isArray=Fe,C.isArrayBuffer=eI,C.isArrayLike=Fn,C.isArrayLikeObject=zt,C.isBoolean=tI,C.isBuffer=Wo,C.isDate=nI,C.isElement=rI,C.isEmpty=oI,C.isEqual=iI,C.isEqualWith=sI,C.isError=ed,C.isFinite=aI,C.isFunction=fo,C.isInteger=Wy,C.isLength=Hl,C.isMap=Hy,C.isMatch=lI,C.isMatchWith=cI,C.isNaN=uI,C.isNative=fI,C.isNil=pI,C.isNull=dI,C.isNumber=Vy,C.isObject=Nt,C.isObjectLike=$t,C.isPlainObject=na,C.isRegExp=td,C.isSafeInteger=hI,C.isSet=Gy,C.isString=Vl,C.isSymbol=Qn,C.isTypedArray=Zi,C.isUndefined=mI,C.isWeakMap=gI,C.isWeakSet=yI,C.join=vA,C.kebabCase=iL,C.last=hr,C.lastIndexOf=wA,C.lowerCase=sL,C.lowerFirst=aL,C.lt=bI,C.lte=_I,C.max=tR,C.maxBy=nR,C.mean=rR,C.meanBy=oR,C.min=iR,C.minBy=sR,C.stubArray=ud,C.stubFalse=fd,C.stubObject=VL,C.stubString=GL,C.stubTrue=KL,C.multiply=aR,C.nth=EA,C.noConflict=FL,C.noop=cd,C.now=zl,C.pad=lL,C.padEnd=cL,C.padStart=uL,C.parseInt=fL,C.random=eL,C.reduce=kP,C.reduceRight=xP,C.repeat=dL,C.replace=pL,C.result=HI,C.round=lR,C.runInContext=W,C.sample=OP,C.size=IP,C.snakeCase=hL,C.some=LP,C.sortedIndex=AA,C.sortedIndexBy=PA,C.sortedIndexOf=IA,C.sortedLastIndex=LA,C.sortedLastIndexBy=RA,C.sortedLastIndexOf=MA,C.startCase=gL,C.startsWith=yL,C.subtract=cR,C.sum=uR,C.sumBy=fR,C.template=bL,C.times=qL,C.toFinite=po,C.toInteger=Be,C.toLength=qy,C.toLower=_L,C.toNumber=mr,C.toSafeInteger=vI,C.toString=ct,C.toUpper=vL,C.trim=wL,C.trimEnd=EL,C.trimStart=SL,C.truncate=CL,C.unescape=kL,C.uniqueId=XL,C.upperCase=xL,C.upperFirst=id,C.each=My,C.eachRight=Ny,C.first=Py,ld(C,(function(){var i={};return Hr(C,function(l,d){lt.call(C.prototype,d)||(i[d]=l)}),i})(),{chain:!1}),C.VERSION=r,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){C[i].placeholder=C}),Yn(["drop","take"],function(i,l){Ke.prototype[i]=function(d){d=d===n?1:Xt(Be(d),0);var m=this.__filtered__&&!l?new Ke(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,De),type:i+(m.__dir__<0?"Right":"")}),m},Ke.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Yn(["filter","map","takeWhile"],function(i,l){var d=l+1,m=d==ee||d==de;Ke.prototype[i]=function(_){var x=this.clone();return x.__iteratees__.push({iteratee:Te(_,3),type:d}),x.__filtered__=x.__filtered__||m,x}}),Yn(["head","last"],function(i,l){var d="take"+(l?"Right":"");Ke.prototype[i]=function(){return this[d](1).value()[0]}}),Yn(["initial","tail"],function(i,l){var d="drop"+(l?"":"Right");Ke.prototype[i]=function(){return this.__filtered__?new Ke(this):this[d](1)}}),Ke.prototype.compact=function(){return this.filter(jn)},Ke.prototype.find=function(i){return this.filter(i).head()},Ke.prototype.findLast=function(i){return this.reverse().find(i)},Ke.prototype.invokeMap=Ve(function(i,l){return typeof i=="function"?new Ke(this):this.map(function(d){return Xs(d,i,l)})}),Ke.prototype.reject=function(i){return this.filter(Wl(Te(i)))},Ke.prototype.slice=function(i,l){i=Be(i);var d=this;return d.__filtered__&&(i>0||l<0)?new Ke(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),l!==n&&(l=Be(l),d=l<0?d.dropRight(-l):d.take(l-i)),d)},Ke.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Ke.prototype.toArray=function(){return this.take(De)},Hr(Ke.prototype,function(i,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),m=/^(?:head|last)$/.test(l),_=C[m?"take"+(l=="last"?"Right":""):l],x=m||/^find/.test(l);_&&(C.prototype[l]=function(){var M=this.__wrapped__,$=m?[1]:arguments,V=M instanceof Ke,re=$[0],ie=V||Fe(M),ce=function(Ge){var Je=_.apply(C,Do([Ge],$));return m&&me?Je[0]:Je};ie&&d&&typeof re=="function"&&re.length!=1&&(V=ie=!1);var me=this.__chain__,Ee=!!this.__actions__.length,Pe=x&&!me,He=V&&!Ee;if(!x&&ie){M=He?M:new Ke(this);var xe=i.apply(M,$);return xe.__actions__.push({func:jl,args:[ce],thisArg:n}),new fr(xe,me)}return Pe&&He?i.apply(this,$):(xe=this.thru(ce),Pe?m?xe.value()[0]:xe.value():xe)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(i){var l=fl[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);C.prototype[i]=function(){var _=arguments;if(m&&!this.__chain__){var x=this.value();return l.apply(Fe(x)?x:[],_)}return this[d](function(M){return l.apply(Fe(M)?M:[],_)})}}),Hr(Ke.prototype,function(i,l){var d=C[l];if(d){var m=d.name+"";lt.call(qi,m)||(qi[m]=[]),qi[m].push({name:l,func:d})}}),qi[Ll(n,w).name]=[{name:"wrapper",func:n}],Ke.prototype.clone=x1,Ke.prototype.reverse=T1,Ke.prototype.value=O1,C.prototype.at=rP,C.prototype.chain=oP,C.prototype.commit=iP,C.prototype.next=sP,C.prototype.plant=lP,C.prototype.reverse=cP,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=uP,C.prototype.first=C.prototype.head,Ws&&(C.prototype[Ws]=aP),C}),Vi=i1();ci?((ci.exports=Vi)._=Vi,sf._=Vi):an._=Vi}).call(AB)})(kc,kc.exports)),kc.exports}var IB=PB();function em(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function LB(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${em(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function RB(e,t,n="hl"){if(!t?.trim())return e;const r=em(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function MB(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const lC=e=>e.replace(/[/\\]/g,"/"),NB=(e,t="/")=>e.replace(/[\\/]+/g,t);function DB(){return"#"+IB.random(0,16777215).toString(16).padStart(6,"0")}const FB=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),cC=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Xp=e=>{if(Array.isArray(e))return e.map(n=>Xp(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=cC(n);t[r]=Xp(e[n])}return t};function $B(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function jB(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 uC(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===`
37
+ `?{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 UB(e){return uC(e).valid}function zB(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function BB(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const WB=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Xp,escapeRegExp:em,findKeywordLineIndex:MB,generateNumberString:jB,highlightText:RB,isEmail:FB,isValidHash:UB,normalizeTags:zB,randomColor:DB,replaceBackslashWithSlash:lC,replaceSlashWithSpecifiedSeparator:NB,splitTextByKeyword:LB,toCamelCase:cC,validateCompName:$B,validateHash:uC,validateTags:BB},Symbol.toStringTag,{value:"Module"}));function HB(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=lC(n);return`${e.replace(Ce.FILE_MANAGER_DIRNAME,"")}${r}`}function VB(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 GB=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:HB,handleDepData:VB},Symbol.toStringTag,{value:"Module"})),nv=/^[\^~>=<]+/,fC=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function KB(e){return fC.test(e)}function oo(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(nv),n=t?t[0]:"",r=e.replace(nv,"").match(fC);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",a="0",c]=r,u=parseInt(o,10),f=parseInt(s,10),p=parseInt(a,10);return{raw:e,prefix:n,major:u,minor:f,patch:p,prerelease:c||null,majorVersion:o,version:`${u}.${f}.${p}`}}function qB(e,t){const n=oo(e),r=oo(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function YB(e){return oo(e).majorVersion}function XB(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=oo(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function ms(e,t){const n=oo(e),r=oo(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:a}=Ce;return n.major!==r.major?n.major>r.major?a:s:n.minor!==r.minor?n.minor>r.minor?a:s:n.patch!==r.patch?n.patch>r.patch?a:s:o}function JB(e,t){const n=oo(e),r=oo(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return ms(e,t.replace(">=",""))>=0;case">":return ms(e,t.replace(">",""))>0;case"<=":return ms(e,t.replace("<=",""))<=0;case"<":return ms(e,t.replace("<",""))<0;case"=":case"":return ms(e,t.replace("=",""))===0;default:return!1}}function QB(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=oo(e),n=(c,u)=>{if(c<0||c>999)throw new Error(`版本号${u}位必须在 0-999 之间,当前值:${c}(原始输入:${e})`);return c},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),a=r*1e6+o*1e3+s;if(!Number.isSafeInteger(a))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${a}(原始输入:${e})`);return a}const rv=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:ms,getMajorVersion:YB,isVersionEqual:qB,parseDependencies:XB,parseVersion:oo,satisfiesRange:JB,validateVersion:KB,versionToNumber:QB},Symbol.toStringTag,{value:"Module"})),ha={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},ZB=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case ha.WIDTH_FIRST:s=e/n;break;case ha.HEIGHT_FIRST:s=t/r;break;case ha.CONTAIN:s=Math.min(e/n,t/r);break;case ha.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),s=1;break}const a=n*s,c=r*s,u=(e-a)/2,f=(t-c)/2;return{transform:`translate(${u}px, ${f}px) scale(${s})`,transformOrigin:"left top"}},ov=(e,t=ha.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:ZB({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),Zo=0,pe=1,$e=2,Ht=3,kt=4,zr=5,Du=6,bn=7,Un=8,Ye=9,Re=10,Dt=11,qe=12,Ft=13,Qa=14,zn=15,Sn=16,Cn=17,Kn=18,lr=19,wr=20,it=21,Ie=22,rn=23,sr=24,fn=25,eW=0;function un(e){return e>=48&&e<=57}function ii(e){return un(e)||e>=65&&e<=70||e>=97&&e<=102}function tm(e){return e>=65&&e<=90}function tW(e){return e>=97&&e<=122}function nW(e){return tm(e)||tW(e)}function rW(e){return e>=128}function Qc(e){return nW(e)||rW(e)||e===95}function dC(e){return Qc(e)||un(e)||e===45}function oW(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Zc(e){return e===10||e===13||e===12}function Mi(e){return Zc(e)||e===32||e===9}function eo(e,t){return!(e!==92||Zc(t)||t===eW)}function xc(e,t,n){return e===45?Qc(t)||t===45||eo(t,n):Qc(e)?!0:e===92?eo(e,t):!1}function $d(e,t,n){return e===43||e===45?un(t)?2:t===46&&un(n)?3:0:e===46?un(t)?2:0:un(e)?1:0}function pC(e){return e===65279||e===65534?1:0}const Jp=new Array(128),iW=128,Tc=130,hC=131,nm=132,mC=133;for(let e=0;e<Jp.length;e++)Jp[e]=Mi(e)&&Tc||un(e)&&hC||Qc(e)&&nm||oW(e)&&mC||e||iW;function jd(e){return e<128?Jp[e]:nm}function Es(e,t){return t<e.length?e.charCodeAt(t):0}function Qp(e,t,n){return n===13&&Es(e,t+1)===10?2:1}function Ss(e,t,n){let r=e.charCodeAt(t);return tm(r)&&(r=r|32),r===n}function Wa(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 a=e.charCodeAt(o);if(tm(a)&&(a=a|32),a!==s)return!1}return!0}function sW(e,t){for(;t>=0&&Mi(e.charCodeAt(t));t--);return t+1}function ac(e,t){for(;t<e.length&&Mi(e.charCodeAt(t));t++);return t}function Ud(e,t){for(;t<e.length&&un(e.charCodeAt(t));t++);return t}function Ls(e,t){if(t+=2,ii(Es(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&ii(Es(e,t));t++);const n=Es(e,t);Mi(n)&&(t+=Qp(e,t,n))}return t}function lc(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!dC(n)){if(eo(n,Es(e,t+1))){t=Ls(e,t)-1;continue}break}}return t}function Fu(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),un(n)&&(t=Ud(e,t+1),n=e.charCodeAt(t)),n===46&&un(e.charCodeAt(t+1))&&(t+=2,t=Ud(e,t)),Ss(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),un(n)&&(t=Ud(e,t+1+r+1))}return t}function zd(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}eo(n,Es(e,t+1))&&(t=Ls(e,t))}return t}function gC(e){if(e.length===1&&!ii(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 Zp=["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"],aW=16*1024;function eu(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,aW)):e}const iv=10,lW=12,sv=13;function av(e){const t=e.source,n=t.length,r=t.length>0?pC(t.charCodeAt(0)):0,o=eu(e.lines,n),s=eu(e.columns,n);let a=e.startLine,c=e.startColumn;for(let u=r;u<n;u++){const f=t.charCodeAt(u);o[u]=a,s[u]=c++,(f===iv||f===sv||f===lW)&&(f===sv&&u+1<n&&t.charCodeAt(u+1)===iv&&(u++,o[u]=a,s[u]=c),a++,c=1)}o[n]=a,s[n]=c,e.lines=o,e.columns=s,e.computed=!0}class cW{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||av(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||av(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 Ar=16777215,Pr=24,Za=1,$u=2,ei=new Uint8Array(32);ei[$e]=Ie;ei[it]=Ie;ei[lr]=wr;ei[rn]=sr;const Lr=new Uint8Array(32);Lr[$e]=Za;Lr[it]=Za;Lr[lr]=Za;Lr[rn]=Za;Lr[Ie]=$u;Lr[wr]=$u;Lr[sr]=$u;function lv(e,t,n){return e<t?t:e>n?n:e}class uW{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=eu(this.offsetAndType,t.length+1),s=eu(this.balance,t.length+1);let a=0,c=-1,u=0,f=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),n(t,(p,h,g)=>{const y=a++;if(o[y]=p<<Pr|g,c===-1&&(c=h),s[y]=f,p===u){const E=s[f];s[f]=y,f=E,u=ei[o[E]>>Pr]}else this.isBlockOpenerTokenType(p)&&(f=y,u=ei[p])}),o[a]=Zo<<Pr|r,s[a]=a;for(let p=0;p<a;p++){const h=s[p];if(h<=p){const g=s[h];g!==p&&(s[p]=g)}else h>a&&(s[p]=a)}this.source=t,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=o,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>Pr:Zo}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Pr;if(r!==Ft&&r!==fn&&t--===0)return r}return Zo}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Pr;if(r!==Ft&&r!==fn&&t--===0)return n-this.tokenIndex}return Zo}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?Wa(this.source,this.offsetAndType[t-1]&Ar,this.offsetAndType[t]&Ar,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.offsetAndType[this.tokenCount]&Ar:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[lv(t,0,this.tokenCount)]&Ar}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[lv(t,0,this.tokenCount)]>>Pr}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return Lr[t]===Za}isBlockCloserTokenType(t){return Lr[t]===$u}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(Lr[n]===1){const r=this.balance[t],o=this.getTokenType(r);return ei[n]===o?r:-1}else if(Lr[n]===2){const r=this.balance[t],o=this.getTokenType(r);return ei[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===Ye&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===Ye&&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]&Ar,n=this.offsetAndType[n],this.tokenType=n>>Pr,this.tokenEnd=n&Ar):(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>>Pr,this.tokenEnd=t&Ar):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Zo,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ft||this.tokenType===fn;)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]&Ar:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Pr)&&(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],a=s&Ar,c=s>>Pr;r=a,t(c,o,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,s)=>{t[s]={idx:s,type:Zp[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function ju(e,t){function n(h){return h<c?e.charCodeAt(h):0}function r(){if(f=Fu(e,f),xc(n(f),n(f+1),n(f+2))){p=qe,f=lc(e,f);return}if(n(f)===37){p=Dt,f++;return}p=Re}function o(){const h=f;if(f=lc(e,f),Wa(e,h,f,"url")&&n(f)===40){if(f=ac(e,f+1),n(f)===34||n(f)===39){p=$e,f=h+4;return}a();return}if(n(f)===40){p=$e,f++;return}p=pe}function s(h){for(h||(h=n(f++)),p=zr;f<e.length;f++){const g=e.charCodeAt(f);switch(jd(g)){case h:f++;return;case Tc:if(Zc(g)){f+=Qp(e,f,g),p=Du;return}break;case 92:if(f===e.length-1)break;const y=n(f+1);Zc(y)?f+=Qp(e,f+1,y):eo(g,y)&&(f=Ls(e,f)-1);break}}}function a(){for(p=bn,f=ac(e,f);f<e.length;f++){const h=e.charCodeAt(f);switch(jd(h)){case 41:f++;return;case Tc:if(f=ac(e,f),n(f)===41||f>=e.length){f<e.length&&f++;return}f=zd(e,f),p=Un;return;case 34:case 39:case 40:case mC:f=zd(e,f),p=Un;return;case 92:if(eo(h,n(f+1))){f=Ls(e,f)-1;break}f=zd(e,f),p=Un;return}}}e=String(e||"");const c=e.length;let u=pC(n(0)),f=u,p;for(;f<c;){const h=e.charCodeAt(f);switch(jd(h)){case Tc:p=Ft,f=ac(e,f+1);break;case 34:s();break;case 35:dC(n(f+1))||eo(n(f+1),n(f+2))?(p=kt,f=lc(e,f+1)):(p=Ye,f++);break;case 39:s();break;case 40:p=it,f++;break;case 41:p=Ie,f++;break;case 43:$d(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 44:p=Kn,f++;break;case 45:$d(h,n(f+1),n(f+2))?r():n(f+1)===45&&n(f+2)===62?(p=zn,f=f+3):xc(h,n(f+1),n(f+2))?o():(p=Ye,f++);break;case 46:$d(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 47:n(f+1)===42?(p=fn,f=e.indexOf("*/",f+2),f=f===-1?e.length:f+2):(p=Ye,f++);break;case 58:p=Sn,f++;break;case 59:p=Cn,f++;break;case 60:n(f+1)===33&&n(f+2)===45&&n(f+3)===45?(p=Qa,f=f+4):(p=Ye,f++);break;case 64:xc(n(f+1),n(f+2),n(f+3))?(p=Ht,f=lc(e,f+1)):(p=Ye,f++);break;case 91:p=lr,f++;break;case 92:eo(h,n(f+1))?o():(p=Ye,f++);break;case 93:p=wr,f++;break;case 123:p=rn,f++;break;case 125:p=sr,f++;break;case hC:r();break;case nm:o();break;default:p=Ye,f++}t(p,u,u=f)}}let rs=null;class en{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return en.createItem(t)}allocateCursor(t,n){let r;return rs!==null?(r=rs,rs=rs.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=rs,rs=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=en.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,a;for(;o.next!==null;)a=o.next,o.next=a.next,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),s=n,a;for(;o.prev!==null;)a=o.prev,o.prev=a.prev,s=t.call(r,s,a.data,a,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 en;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 en;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 en;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(en.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(en.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(en.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(en.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(en.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 Uu(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}
38
+ `)}})}const Bd=100,cv=60,uv=" ";function fv({source:e,line:t,column:n,baseLine:r,baseColumn:o},s){function a(E,b){return f.slice(E,b).map((T,v)=>String(E+v+1).padStart(g)+" |"+T).join(`
39
+ `)}const c=`
40
+ `.repeat(Math.max(r-1,0)),u=" ".repeat(Math.max(o-1,0)),f=(c+u+e).split(/\r\n?|\n|\f/),p=Math.max(1,t-s)-1,h=Math.min(t+s,f.length+1),g=Math.max(4,String(h).length)+1;let y=0;n+=(uv.length-1)*(f[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Bd&&(y=n-cv+3,n=cv-2);for(let E=p;E<=h;E++)E>=0&&E<f.length&&(f[E]=f[E].replace(/\t/g,uv),f[E]=(y>0&&f[E].length>y?"…":"")+f[E].substr(y,Bd-2)+(f[E].length>y+Bd-1?"…":""));return[a(p,t),new Array(n+g+2).join("-")+"^",a(t,h)].filter(Boolean).join(`
41
+ `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function dv(e,t,n,r,o,s=1,a=1){return Object.assign(Uu("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment(u){return fv({source:t,line:r,column:o,baseLine:s,baseColumn:a},isNaN(u)?0:u)},get formattedMessage(){return`Parse error: ${e}
42
+ `+fv({source:t,line:r,column:o,baseLine:s,baseColumn:a},2)}})}function fW(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case fn:this.next();continue;case Ft:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const os=()=>{},dW=33,pW=35,Wd=59,pv=123,hv=0,hW={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},mW={createList(){return new en},createSingleNodeList(e){return new en().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function gW(e){return function(){return this[e]()}}function Hd(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function yW(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Hd(e.atrule),pseudo:Hd(e.pseudo),node:Hd(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=gW(r);break}return{config:t,...t,...t.node}}function bW(e){let t="",n="<unknown>",r=!1,o=os,s=!1;const a=new cW,c=Object.assign(new uW,yW(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:fW,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(p){return p===pv?1:0},consumeUntilLeftCurlyBracketOrSemicolon(p){return p===pv||p===Wd?1:0},consumeUntilExclamationMarkOrSemicolon(p){return p===dW||p===Wd?1:0},consumeUntilSemicolonIncluded(p){return p===Wd?2:0},createList:os,createSingleNodeList:os,getFirstListNode:os,getLastListNode:os,parseWithFallback(p,h){const g=this.tokenIndex;try{return p.call(this)}catch(y){if(s)throw y;this.skip(g-this.tokenIndex);const E=h.call(this);return s=!0,o(y,E),s=!1,E}},lookupNonWSType(p){let h;do if(h=this.lookupType(p++),h!==Ft&&h!==fn)return h;while(h!==hv);return hv},charCodeAt(p){return p>=0&&p<t.length?t.charCodeAt(p):0},substring(p,h){return t.substring(p,h)},substrToCursor(p){return this.source.substring(p,this.tokenStart)},cmpChar(p,h){return Ss(t,p,h)},cmpStr(p,h,g){return Wa(t,p,h,g)},consume(p){const h=this.tokenStart;return this.eat(p),this.substrToCursor(h)},consumeFunctionName(){const p=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat($e),p},consumeNumber(p){const h=t.substring(this.tokenStart,Fu(t,this.tokenStart));return this.eat(p),h},eat(p){if(this.tokenType!==p){const h=Zp[p].slice(0,-6).replace(/-/g," ").replace(/^./,E=>E.toUpperCase());let g=`${/[[\](){}]/.test(h)?`"${h}"`:h} is expected`,y=this.tokenStart;switch(p){case pe:this.tokenType===$e||this.tokenType===bn?(y=this.tokenEnd-1,g="Identifier is expected but function found"):g="Identifier is expected";break;case kt:this.isDelim(pW)&&(this.next(),y++,g="Name is expected");break;case Dt:this.tokenType===Re&&(y=this.tokenEnd,g="Percent sign is expected");break}this.error(g,y)}this.next()},eatIdent(p){(this.tokenType!==pe||this.lookupValue(0,p)===!1)&&this.error(`Identifier "${p}" is expected`),this.next()},eatDelim(p){this.isDelim(p)||this.error(`Delim "${String.fromCharCode(p)}" is expected`),this.next()},getLocation(p,h){return r?a.getLocationRange(p,h,n):null},getLocationFromList(p){if(r){const h=this.getFirstListNode(p),g=this.getLastListNode(p);return a.getLocationRange(h!==null?h.loc.start.offset-a.startOffset:this.tokenStart,g!==null?g.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(p,h){const g=typeof h<"u"&&h<t.length?a.getLocation(h):this.eof?a.getLocation(sW(t,t.length-1)):a.getLocation(this.tokenStart);throw new dv(p||"Unexpected input",t,g.offset,g.line,g.column,a.startLine,a.startColumn)}}),u=()=>({filename:n,source:t,tokenCount:c.tokenCount,getTokenType:p=>c.getTokenType(p),getTokenTypeName:p=>Zp[c.getTokenType(p)],getTokenStart:p=>c.getTokenStart(p),getTokenEnd:p=>c.getTokenEnd(p),getTokenValue:p=>c.source.substring(c.getTokenStart(p),c.getTokenEnd(p)),substring:(p,h)=>c.source.substring(p,h),balance:c.balance.subarray(0,c.tokenCount+1),isBlockOpenerTokenType:c.isBlockOpenerTokenType,isBlockCloserTokenType:c.isBlockCloserTokenType,getBlockTokenPairIndex:p=>c.getBlockTokenPairIndex(p),getLocation:p=>a.getLocation(p,n),getRangeLocation:(p,h)=>a.getLocationRange(p,h,n)});return Object.assign(function(p,h){t=p,h=h||{},c.setSource(t,ju),a.setSource(t,h.offset,h.line,h.column),n=h.filename||"<unknown>",r=!!h.positions,o=typeof h.onParseError=="function"?h.onParseError:os,s=!1,c.parseAtrulePrelude="parseAtrulePrelude"in h?!!h.parseAtrulePrelude:!0,c.parseRulePrelude="parseRulePrelude"in h?!!h.parseRulePrelude:!0,c.parseValue="parseValue"in h?!!h.parseValue:!0,c.parseCustomProperty="parseCustomProperty"in h?!!h.parseCustomProperty:!1;const{context:g="default",list:y=!0,onComment:E,onToken:b}=h;if(!(g in c.context))throw new Error("Unknown context `"+g+"`");Object.assign(c,y?mW:hW),Array.isArray(b)?c.forEachToken((v,w,A)=>{b.push({type:v,start:w,end:A})}):typeof b=="function"&&c.forEachToken(b.bind(u())),typeof E=="function"&&c.forEachToken((v,w,A)=>{if(v===fn){const S=c.getLocation(w,A),N=Wa(t,A-2,A,"*/")?t.slice(w+2,A-2):t.slice(w+2,A);E(N,S)}});const T=c.context[g].call(c,h);return c.eof||c.error(),T},{SyntaxError:dv,config:c.config})}var Vd={},cc={},uc={},mv;function _W(){if(mv)return uc;mv=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return uc.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},uc.decode=function(t){var n=65,r=90,o=97,s=122,a=48,c=57,u=43,f=47,p=26,h=52;return n<=t&&t<=r?t-n:o<=t&&t<=s?t-o+p:a<=t&&t<=c?t-a+h:t==u?62:t==f?63:-1},uc}var gv;function vW(){if(gv)return cc;gv=1;var e=_W(),t=5,n=1<<t,r=n-1,o=n;function s(c){return c<0?(-c<<1)+1:(c<<1)+0}function a(c){var u=(c&1)===1,f=c>>1;return u?-f:f}return cc.encode=function(u){var f="",p,h=s(u);do p=h&r,h>>>=t,h>0&&(p|=o),f+=e.encode(p);while(h>0);return f},cc.decode=function(u,f,p){var h=u.length,g=0,y=0,E,b;do{if(f>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(b=e.decode(u.charCodeAt(f++)),b===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));E=!!(b&o),b&=r,g=g+(b<<y),y+=t}while(E);p.value=a(g),p.rest=f},cc}var Gd={},yv;function rm(){return yv||(yv=1,(function(e){function t(k,D,B){if(D in k)return k[D];if(arguments.length===3)return B;throw new Error('"'+D+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(k){var D=k.match(n);return D?{scheme:D[1],auth:D[2],host:D[3],port:D[4],path:D[5]}:null}e.urlParse=o;function s(k){var D="";return k.scheme&&(D+=k.scheme+":"),D+="//",k.auth&&(D+=k.auth+"@"),k.host&&(D+=k.host),k.port&&(D+=":"+k.port),k.path&&(D+=k.path),D}e.urlGenerate=s;var a=32;function c(k){var D=[];return function(B){for(var K=0;K<D.length;K++)if(D[K].input===B){var le=D[0];return D[0]=D[K],D[K]=le,D[0].result}var se=k(B);return D.unshift({input:B,result:se}),D.length>a&&D.pop(),se}}var u=c(function(D){var B=D,K=o(D);if(K){if(!K.path)return D;B=K.path}for(var le=e.isAbsolute(B),se=[],z=0,ee=0;;)if(z=ee,ee=B.indexOf("/",z),ee===-1){se.push(B.slice(z));break}else for(se.push(B.slice(z,ee));ee<B.length&&B[ee]==="/";)ee++;for(var ae,de=0,ee=se.length-1;ee>=0;ee--)ae=se[ee],ae==="."?se.splice(ee,1):ae===".."?de++:de>0&&(ae===""?(se.splice(ee+1,de),de=0):(se.splice(ee,2),de--));return B=se.join("/"),B===""&&(B=le?"/":"."),K?(K.path=B,s(K)):B});e.normalize=u;function f(k,D){k===""&&(k="."),D===""&&(D=".");var B=o(D),K=o(k);if(K&&(k=K.path||"/"),B&&!B.scheme)return K&&(B.scheme=K.scheme),s(B);if(B||D.match(r))return D;if(K&&!K.host&&!K.path)return K.host=D,s(K);var le=D.charAt(0)==="/"?D:u(k.replace(/\/+$/,"")+"/"+D);return K?(K.path=le,s(K)):le}e.join=f,e.isAbsolute=function(k){return k.charAt(0)==="/"||n.test(k)};function p(k,D){k===""&&(k="."),k=k.replace(/\/$/,"");for(var B=0;D.indexOf(k+"/")!==0;){var K=k.lastIndexOf("/");if(K<0||(k=k.slice(0,K),k.match(/^([^\/]+:\/)?\/*$/)))return D;++B}return Array(B+1).join("../")+D.substr(k.length+1)}e.relative=p;var h=(function(){var k=Object.create(null);return!("__proto__"in k)})();function g(k){return k}function y(k){return b(k)?"$"+k:k}e.toSetString=h?g:y;function E(k){return b(k)?k.slice(1):k}e.fromSetString=h?g:E;function b(k){if(!k)return!1;var D=k.length;if(D<9||k.charCodeAt(D-1)!==95||k.charCodeAt(D-2)!==95||k.charCodeAt(D-3)!==111||k.charCodeAt(D-4)!==116||k.charCodeAt(D-5)!==111||k.charCodeAt(D-6)!==114||k.charCodeAt(D-7)!==112||k.charCodeAt(D-8)!==95||k.charCodeAt(D-9)!==95)return!1;for(var B=D-10;B>=0;B--)if(k.charCodeAt(B)!==36)return!1;return!0}function T(k,D,B){var K=S(k.source,D.source);return K!==0||(K=k.originalLine-D.originalLine,K!==0)||(K=k.originalColumn-D.originalColumn,K!==0||B)||(K=k.generatedColumn-D.generatedColumn,K!==0)||(K=k.generatedLine-D.generatedLine,K!==0)?K:S(k.name,D.name)}e.compareByOriginalPositions=T;function v(k,D,B){var K;return K=k.originalLine-D.originalLine,K!==0||(K=k.originalColumn-D.originalColumn,K!==0||B)||(K=k.generatedColumn-D.generatedColumn,K!==0)||(K=k.generatedLine-D.generatedLine,K!==0)?K:S(k.name,D.name)}e.compareByOriginalPositionsNoSource=v;function w(k,D,B){var K=k.generatedLine-D.generatedLine;return K!==0||(K=k.generatedColumn-D.generatedColumn,K!==0||B)||(K=S(k.source,D.source),K!==0)||(K=k.originalLine-D.originalLine,K!==0)||(K=k.originalColumn-D.originalColumn,K!==0)?K:S(k.name,D.name)}e.compareByGeneratedPositionsDeflated=w;function A(k,D,B){var K=k.generatedColumn-D.generatedColumn;return K!==0||B||(K=S(k.source,D.source),K!==0)||(K=k.originalLine-D.originalLine,K!==0)||(K=k.originalColumn-D.originalColumn,K!==0)?K:S(k.name,D.name)}e.compareByGeneratedPositionsDeflatedNoLine=A;function S(k,D){return k===D?0:k===null?1:D===null?-1:k>D?1:-1}function N(k,D){var B=k.generatedLine-D.generatedLine;return B!==0||(B=k.generatedColumn-D.generatedColumn,B!==0)||(B=S(k.source,D.source),B!==0)||(B=k.originalLine-D.originalLine,B!==0)||(B=k.originalColumn-D.originalColumn,B!==0)?B:S(k.name,D.name)}e.compareByGeneratedPositionsInflated=N;function O(k){return JSON.parse(k.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=O;function I(k,D,B){if(D=D||"",k&&(k[k.length-1]!=="/"&&D[0]!=="/"&&(k+="/"),D=k+D),B){var K=o(B);if(!K)throw new Error("sourceMapURL could not be parsed");if(K.path){var le=K.path.lastIndexOf("/");le>=0&&(K.path=K.path.substring(0,le+1))}D=f(s(K),D)}return u(D)}e.computeSourceURL=I})(Gd)),Gd}var Kd={},bv;function wW(){if(bv)return Kd;bv=1;var e=rm(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(s,a){for(var c=new r,u=0,f=s.length;u<f;u++)c.add(s[u],a);return c},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(s,a){var c=n?s:e.toSetString(s),u=n?this.has(s):t.call(this._set,c),f=this._array.length;(!u||a)&&this._array.push(s),u||(n?this._set.set(s,f):this._set[c]=f)},r.prototype.has=function(s){if(n)return this._set.has(s);var a=e.toSetString(s);return t.call(this._set,a)},r.prototype.indexOf=function(s){if(n){var a=this._set.get(s);if(a>=0)return a}else{var c=e.toSetString(s);if(t.call(this._set,c))return this._set[c]}throw new Error('"'+s+'" is not in the set.')},r.prototype.at=function(s){if(s>=0&&s<this._array.length)return this._array[s];throw new Error("No element indexed by "+s)},r.prototype.toArray=function(){return this._array.slice()},Kd.ArraySet=r,Kd}var qd={},_v;function EW(){if(_v)return qd;_v=1;var e=rm();function t(r,o){var s=r.generatedLine,a=o.generatedLine,c=r.generatedColumn,u=o.generatedColumn;return a>s||a==s&&u>=c||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,s){this._array.forEach(o,s)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},qd.MappingList=n,qd}var vv;function SW(){if(vv)return Vd;vv=1;var e=vW(),t=rm(),n=wW().ArraySet,r=EW().MappingList;function o(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(s,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(a,c){var u=a.sourceRoot,f=new o(Object.assign(c||{},{file:a.file,sourceRoot:u}));return a.eachMapping(function(p){var h={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(h.source=p.source,u!=null&&(h.source=t.relative(u,h.source)),h.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(h.name=p.name)),f.addMapping(h)}),a.sources.forEach(function(p){var h=p;u!==null&&(h=t.relative(u,p)),f._sources.has(h)||f._sources.add(h);var g=a.sourceContentFor(p);g!=null&&f.setSourceContent(p,g)}),f},o.prototype.addMapping=function(a){var c=t.getArg(a,"generated"),u=t.getArg(a,"original",null),f=t.getArg(a,"source",null),p=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(c,u,f,p)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:p}))},o.prototype.setSourceContent=function(a,c){var u=a;this._sourceRoot!=null&&(u=t.relative(this._sourceRoot,u)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(u)]=c):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(a,c,u){var f=c;if(c==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var p=this._sourceRoot;p!=null&&(f=t.relative(p,f));var h=new n,g=new n;this._mappings.unsortedForEach(function(y){if(y.source===f&&y.originalLine!=null){var E=a.originalPositionFor({line:y.originalLine,column:y.originalColumn});E.source!=null&&(y.source=E.source,u!=null&&(y.source=t.join(u,y.source)),p!=null&&(y.source=t.relative(p,y.source)),y.originalLine=E.line,y.originalColumn=E.column,E.name!=null&&(y.name=E.name))}var b=y.source;b!=null&&!h.has(b)&&h.add(b);var T=y.name;T!=null&&!g.has(T)&&g.add(T)},this),this._sources=h,this._names=g,a.sources.forEach(function(y){var E=a.sourceContentFor(y);E!=null&&(u!=null&&(y=t.join(u,y)),p!=null&&(y=t.relative(p,y)),this.setSourceContent(y,E))},this)},o.prototype._validateMapping=function(a,c,u,f){if(c&&typeof c.line!="number"&&typeof c.column!="number"){var p="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!c&&!u&&!f)){if(a&&"line"in a&&"column"in a&&c&&"line"in c&&"column"in c&&a.line>0&&a.column>=0&&c.line>0&&c.column>=0&&u)return;var p="Invalid mapping: "+JSON.stringify({generated:a,source:u,original:c,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}},o.prototype._serializeMappings=function(){for(var a=0,c=1,u=0,f=0,p=0,h=0,g="",y,E,b,T,v=this._mappings.toArray(),w=0,A=v.length;w<A;w++){if(E=v[w],y="",E.generatedLine!==c)for(a=0;E.generatedLine!==c;)y+=";",c++;else if(w>0){if(!t.compareByGeneratedPositionsInflated(E,v[w-1]))continue;y+=","}y+=e.encode(E.generatedColumn-a),a=E.generatedColumn,E.source!=null&&(T=this._sources.indexOf(E.source),y+=e.encode(T-h),h=T,y+=e.encode(E.originalLine-1-f),f=E.originalLine-1,y+=e.encode(E.originalColumn-u),u=E.originalColumn,E.name!=null&&(b=this._names.indexOf(E.name),y+=e.encode(b-p),p=b)),g+=y}return g},o.prototype._generateSourcesContent=function(a,c){return a.map(function(u){if(!this._sourcesContents)return null;c!=null&&(u=t.relative(c,u));var f=t.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},o.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},Vd.SourceMapGenerator=o,Vd}var CW=SW();const wv=new Set(["Atrule","Selector","Declaration"]);function kW(e){const t=new CW.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},s={generated:o};let a=1,c=0,u=!1;const f=e.node;e.node=function(g){if(g.loc&&g.loc.start&&wv.has(g.type)){const y=g.loc.start.line,E=g.loc.start.column-1;(r.line!==y||r.column!==E)&&(r.line=y,r.column=E,n.line=a,n.column=c,u&&(u=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(s)),u=!0,t.addMapping({source:g.loc.source,original:r,generated:n}))}f.call(this,g),u&&wv.has(g.type)&&(o.line=a,o.column=c)};const p=e.emit;e.emit=function(g,y,E){for(let b=0;b<g.length;b++)g.charCodeAt(b)===10?(a++,c=0):c++;p(g,y,E)};const h=e.result;return e.result=function(){return u&&t.addMapping(s),{css:h(),map:t}},e}const xW=43,TW=45,Yd=(e,t)=>(e===Ye&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),yC=[[pe,pe],[pe,$e],[pe,bn],[pe,Un],[pe,"-"],[pe,Re],[pe,Dt],[pe,qe],[pe,zn],[pe,it],[Ht,pe],[Ht,$e],[Ht,bn],[Ht,Un],[Ht,"-"],[Ht,Re],[Ht,Dt],[Ht,qe],[Ht,zn],[kt,pe],[kt,$e],[kt,bn],[kt,Un],[kt,"-"],[kt,Re],[kt,Dt],[kt,qe],[kt,zn],[qe,pe],[qe,$e],[qe,bn],[qe,Un],[qe,"-"],[qe,Re],[qe,Dt],[qe,qe],[qe,zn],["#",pe],["#",$e],["#",bn],["#",Un],["#","-"],["#",Re],["#",Dt],["#",qe],["#",zn],["-",pe],["-",$e],["-",bn],["-",Un],["-","-"],["-",Re],["-",Dt],["-",qe],["-",zn],[Re,pe],[Re,$e],[Re,bn],[Re,Un],[Re,Re],[Re,Dt],[Re,qe],[Re,"%"],[Re,zn],["@",pe],["@",$e],["@",bn],["@",Un],["@","-"],["@",zn],[".",Re],[".",Dt],[".",qe],["+",Re],["+",Dt],["+",qe],["/","*"]],OW=yC.concat([[pe,kt],[qe,kt],[kt,kt],[Ht,it],[Ht,zr],[Ht,Sn],[Dt,Dt],[Dt,qe],[Dt,$e],[Dt,"-"],[Ie,pe],[Ie,$e],[Ie,Dt],[Ie,qe],[Ie,kt],[Ie,"-"]]);function bC(e){const t=new Set(e.map(([n,r])=>Yd(n)<<16|Yd(r)));return function(n,r,o){const s=Yd(r,o),a=o.charCodeAt(0),c=a===TW&&r!==pe&&r!==$e&&r!==zn||a===xW?t.has((n&65534)<<16|a<<7):t.has((n&65534)<<16|s);return s|c}}const AW=bC(yC),_C=bC(OW),Ev=Object.freeze(Object.defineProperty({__proto__:null,safe:_C,spec:AW},Symbol.toStringTag,{value:"Module"})),PW=92;function IW(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function LW(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let o="",s=0,a={node(u){if(t.has(u.type))t.get(u.type).call(c,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:_C,token(u,f,p){s=this.tokenBefore(s,u,f),!p&&s&1&&this.emit(" ",Ft,!0),this.emit(f,u,!1),u===Ye&&f.charCodeAt(0)===PW&&this.emit(`
43
+ `,Ft,!0)},emit(u){o+=u},result(){return o}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=kW(a)),r.mode in Ev&&(a.tokenBefore=Ev[r.mode]));const c={node:u=>a.node(u),children:IW,token:(u,f)=>a.token(u,f),tokenize:u=>ju(u,(f,p,h)=>{a.token(f,u.slice(p,h),p!==0)})};return a.node(n),a.result()}}function RW(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof en)&&(n.children=new en().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof en&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:om}=Object.prototype,ma=function(){};function Sv(e){return typeof e=="function"?e:ma}function Cv(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function MW(e,t){const n=t.structure,r=[];for(const o in n){if(om.call(n,o)===!1)continue;let s=n[o];const a={name:o,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(const c of s)c===null?a.nullable=!0:typeof c=="string"?a.type="node":Array.isArray(c)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function NW(e){const t={};for(const n in e.node)if(om.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=MW(n,r)}return t}function kv(e,t){const n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(s,a,c,u){let f;o&&(f=a[r],a[r]=s);for(const p of n){const h=s[p.name];if(!p.nullable||h){if(p.type==="list"){if(t?h.reduceRight(u,!1):h.reduce(u,!1))return!0}else if(c(h))return!0}}o&&(a[r]=f)}}function xv({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function DW(e){const t=NW(e),n={},r={},o=Symbol("break-walk"),s=Symbol("skip-node");for(const f in t)om.call(t,f)&&t[f]!==null&&(n[f]=kv(t[f],!1),r[f]=kv(t[f],!0));const a=xv(n),c=xv(r),u=function(f,p){function h(v,w,A){const S=g.call(T,v,w,A);return S===o?!0:S===s?!1:!!(E.hasOwnProperty(v.type)&&E[v.type](v,T,h,b)||y.call(T,v,w,A)===o)}let g=ma,y=ma,E=n,b=(v,w,A,S)=>v||h(w,A,S);const T={break:o,skip:s,root:f,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof p=="function")g=p;else if(p&&(g=Sv(p.enter),y=Sv(p.leave),p.reverse&&(E=r),p.visit)){if(a.hasOwnProperty(p.visit))E=p.reverse?c[p.visit]:a[p.visit];else if(!t.hasOwnProperty(p.visit))throw new Error("Bad value `"+p.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");g=Cv(g,p.visit),y=Cv(y,p.visit)}if(g===ma&&y===ma)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(f)};return u.break=o,u.skip=s,u.find=function(f,p){let h=null;return u(f,function(g,y,E){if(p.call(this,g,y,E))return h=g,o}),h},u.findLast=function(f,p){let h=null;return u(f,{reverse:!0,enter(g,y,E){if(p.call(this,g,y,E))return h=g,o}}),h},u.findAll=function(f,p){const h=[];return u(f,function(g,y,E){p.call(this,g,y,E)&&h.push(g)}),h},u}function FW(e){return e}function $W(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function jW(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function UW(e,t,n,r){const o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",s=e.terms.map(a=>tu(a,t,n,r)).join(o);return e.explicit||n?(r||s[0]===","?"[":"[ ")+s+(r?"]":" ]"):s}function tu(e,t,n,r){let o;switch(e.type){case"Group":o=UW(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return tu(e.term,t,n,r)+t($W(e),e);case"Boolean":o="<boolean-expr["+tu(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(jW(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function im(e,t){let n=FW,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),tu(e,n,r,o)}const Tv={offset:0,line:1,column:1};function zW(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,s=o!==t?o:null;let a=0,c=0,u=0,f="",p,h;for(let g=0;g<n.length;g++){const y=n[g].value;g===r&&(c=y.length,a=f.length),s!==null&&n[g].node===s&&(g<=r?u++:u=0),f+=y}return r===n.length||u>1?(p=fc(s||t,"end")||ga(Tv,f),h=ga(p)):(p=fc(s,"start")||ga(fc(t,"start")||Tv,f.slice(0,a)),h=fc(s,"end")||ga(p,f.substr(a,c))),{css:f,mismatchOffset:a,mismatchLength:c,start:p,end:h}}function fc(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?ga(n):n:null}function ga({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const s=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=s.length-1,o.column=s.length===1?o.column+r.length:s.pop().length+1}return o}const ca=function(e,t){const n=Uu("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},BW=function(e,t,n,r){const o=Uu("SyntaxMatchError",e),{css:s,mismatchOffset:a,mismatchLength:c,start:u,end:f}=zW(r,n);return o.rawMessage=e,o.syntax=t?im(t):"<generic>",o.css=s,o.mismatchOffset=a,o.mismatchLength=c,o.message=e+`
44
+ syntax: `+o.syntax+`
45
+ value: `+(s||"<empty string>")+`
46
+ --------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:f},o},dc=new Map,is=new Map,nu=45,Xd=WW,Ov=HW;function sm(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===nu&&e.charCodeAt(t+1)===nu}function vC(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===nu&&e.charCodeAt(t+1)!==nu){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function WW(e){if(dc.has(e))return dc.get(e);const t=e.toLowerCase();let n=dc.get(t);if(n===void 0){const r=sm(t,0),o=r?"":vC(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return dc.set(e,n),n}function HW(e){if(is.has(e))return is.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=sm(t,n.length);if(!r&&(t=t.toLowerCase(),is.has(t))){const c=is.get(t);return is.set(e,c),c}const o=r?"":vC(t,n.length),s=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(s.length),name:t.substr(n.length),hack:n,vendor:o,prefix:s,custom:r});return is.set(e,a),a}const am=["initial","inherit","unset","revert","revert-layer"],Ha=43,Yr=45,Jd=110,ss=!0,VW=!1;function eh(e,t){return e!==null&&e.type===Ye&&e.value.charCodeAt(0)===t}function Oa(e,t,n){for(;e!==null&&(e.type===Ft||e.type===fn);)e=n(++t);return t}function Xo(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===Ha||o===Yr){if(n)return 0;t++}for(;t<e.value.length;t++)if(!un(e.value.charCodeAt(t)))return 0;return r+1}function Qd(e,t,n){let r=!1,o=Oa(e,t,n);if(e=n(o),e===null)return t;if(e.type!==Re)if(eh(e,Ha)||eh(e,Yr)){if(r=!0,o=Oa(n(++o),o,n),e=n(o),e===null||e.type!==Re)return 0}else return t;if(!r){const s=e.value.charCodeAt(0);if(s!==Ha&&s!==Yr)return 0}return Xo(e,r?0:1,r,o)}function GW(e,t){let n=0;if(!e)return 0;if(e.type===Re)return Xo(e,0,VW,n);if(e.type===pe&&e.value.charCodeAt(0)===Yr){if(!Ss(e.value,1,Jd))return 0;switch(e.value.length){case 2:return Qd(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Yr?0:(n=Oa(t(++n),n,t),e=t(n),Xo(e,0,ss,n));default:return e.value.charCodeAt(2)!==Yr?0:Xo(e,3,ss,n)}}else if(e.type===pe||eh(e,Ha)&&t(n+1).type===pe){if(e.type!==pe&&(e=t(++n)),e===null||!Ss(e.value,0,Jd))return 0;switch(e.value.length){case 1:return Qd(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Yr?0:(n=Oa(t(++n),n,t),e=t(n),Xo(e,0,ss,n));default:return e.value.charCodeAt(1)!==Yr?0:Xo(e,2,ss,n)}}else if(e.type===qe){let r=e.value.charCodeAt(0),o=r===Ha||r===Yr?1:0,s=o;for(;s<e.value.length&&un(e.value.charCodeAt(s));s++);return s===o||!Ss(e.value,s,Jd)?0:s+1===e.value.length?Qd(t(++n),n,t):e.value.charCodeAt(s+1)!==Yr?0:s+2===e.value.length?(n=Oa(t(++n),n,t),e=t(n),Xo(e,0,ss,n)):Xo(e,s+2,ss,n)}return 0}const KW=43,wC=45,EC=63,qW=117;function th(e,t){return e!==null&&e.type===Ye&&e.value.charCodeAt(0)===t}function YW(e,t){return e.value.charCodeAt(0)===t}function ya(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const s=e.value.charCodeAt(o);if(s===wC&&n&&r!==0)return ya(e,t+r+1,!1),6;if(!ii(s)||++r>6)return 0}return r}function pc(e,t,n){if(!e)return 0;for(;th(n(t),EC);){if(++e>6)return 0;t++}return t}function XW(e,t){let n=0;if(e===null||e.type!==pe||!Ss(e.value,0,qW)||(e=t(++n),e===null))return 0;if(th(e,KW))return e=t(++n),e===null?0:e.type===pe?pc(ya(e,0,!0),++n,t):th(e,EC)?pc(1,++n,t):0;if(e.type===Re){const r=ya(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===qe||e.type===Re?!YW(e,wC)||!ya(e,1,!1)?0:n+1:pc(r,n,t))}return e.type===qe?pc(ya(e,1,!0),++n,t):0}const lm=["calc(","-moz-calc(","-webkit-calc("],cm=["min(","max(","clamp("],um=["round(","mod(","rem("],JW=["sin(","cos(","tan("],QW=["asin(","acos(","atan(","atan2("],ZW=["pow(","sqrt(","log(","exp(","sign("],fm=["hypot("],dm=["abs("],Av=[...lm,...cm,...um,...JW,...ZW,...fm,...dm],eH=[...lm,...cm,...um,...fm,...dm],bo=[...lm,...cm,...um,...QW,...fm,...dm],pm=new Map([[$e,Ie],[it,Ie],[lr,wr],[rn,sr]]);function Dr(e,t){return t<e.length?e.charCodeAt(t):0}function SC(e,t){return Wa(e,0,e.length,t)}function CC(e,t){for(let n=0;n<t.length;n++)if(SC(e,t[n]))return!0;return!1}function kC(e,t){return t!==e.length-2?!1:Dr(e,t)===92&&un(Dr(e,t+1))}function zu(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 tH(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case sr:case Ie:case wr:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case $e:case it:case lr:case rn:r.push(n),n=pm.get(e.type);break}o++}while(e=t(o));return o}function br(e,t){return function(n,r,o){return n===null?0:n.type===$e&&CC(n.value,t)?tH(n,r):e(n,r,o)}}function St(e){return function(t){return t===null||t.type!==e?0:1}}function nH(e){if(e===null||e.type!==pe)return 0;const t=e.value.toLowerCase();return CC(t,am)||SC(t,"default")?0:1}function xC(e){return e===null||e.type!==pe||Dr(e.value,0)!==45||Dr(e.value,1)!==45?0:1}function rH(e){return!xC(e)||e.value==="--"?0:1}function oH(e){if(e===null||e.type!==kt)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(!ii(Dr(e.value,n)))return 0;return 1}function iH(e){return e===null||e.type!==kt||!xc(Dr(e.value,1),Dr(e.value,2),Dr(e.value,3))?0:1}function sH(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case Du:case Un:break e;case sr:case Ie:case wr:if(e.type!==n)break e;n=r.pop();break;case Cn:if(n===0)break e;break;case Ye:if(n===0&&e.value==="!")break e;break;case $e:case it:case lr:case rn:r.push(n),n=pm.get(e.type);break}o++}while(e=t(o));return o}function aH(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case Du:case Un:break e;case sr:case Ie:case wr:if(e.type!==n)break e;n=r.pop();break;case $e:case it:case lr:case rn:r.push(n),n=pm.get(e.type);break}o++}while(e=t(o));return o}function _o(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==qe)return 0;const o=Fu(t.value,0);if(e!==null){const s=t.value.indexOf("\\",o),a=s===-1||!kC(t.value,s)?t.value.substr(o):t.value.substring(o,s);if(e.has(a.toLowerCase())===!1)return 0}return zu(r,t.value,o)?0:1}}function lH(e,t,n){return e===null||e.type!==Dt||zu(n,e.value,e.value.length-1)?0:1}function TC(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===Re&&Number(t.value)===0?1:e(t,n,r)}}function cH(e,t,n){if(e===null)return 0;const r=Fu(e.value,0);return!(r===e.value.length)&&!kC(e.value,r)||zu(n,e.value,r)?0:1}function uH(e,t,n){if(e===null||e.type!==Re)return 0;let r=Dr(e.value,0)===43||Dr(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!un(Dr(e.value,r)))return 0;return zu(n,e.value,r)?0:1}const fH={"ident-token":St(pe),"function-token":St($e),"at-keyword-token":St(Ht),"hash-token":St(kt),"string-token":St(zr),"bad-string-token":St(Du),"url-token":St(bn),"bad-url-token":St(Un),"delim-token":St(Ye),"number-token":St(Re),"percentage-token":St(Dt),"dimension-token":St(qe),"whitespace-token":St(Ft),"CDO-token":St(Qa),"CDC-token":St(zn),"colon-token":St(Sn),"semicolon-token":St(Cn),"comma-token":St(Kn),"[-token":St(lr),"]-token":St(wr),"(-token":St(it),")-token":St(Ie),"{-token":St(rn),"}-token":St(sr)},dH={string:St(zr),ident:St(pe),percentage:br(lH,eH),zero:TC(),number:br(cH,Av),integer:br(uH,Av),"custom-ident":nH,"dashed-ident":xC,"custom-property-name":rH,"hex-color":oH,"id-selector":iH,"an-plus-b":GW,urange:XW,"declaration-value":sH,"any-value":aH},pH=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function hH(e){const{angle:t,decibel:n,frequency:r,flex:o,length:s,resolution:a,semitones:c,time:u}=e||{};return{dimension:br(_o(null),bo),angle:br(_o(t),bo),decibel:br(_o(n),bo),frequency:br(_o(r),bo),flex:br(_o(o),bo),length:br(TC(_o(s)),bo),resolution:br(_o(a),bo),semitones:br(_o(c),bo),time:br(_o(u),bo)}}function mH(e){const t=new Set;for(const n of pH)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(r){return r===null?0:r.type===Ye&&r.value==="%"||r.type===pe&&t.has(r.value.toLowerCase())?1:0}}function gH(e){return{...fH,...dH,...hH(e),"attr-unit":mH(e)}}const yH=["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"],bH=["deg","grad","rad","turn"],_H=["s","ms"],vH=["hz","khz"],wH=["dpi","dpcm","dppx","x"],EH=["fr"],SH=["db"],CH=["st"],Pv=Object.freeze(Object.defineProperty({__proto__:null,angle:bH,decibel:SH,flex:EH,frequency:vH,length:yH,resolution:wH,semitones:CH,time:_H},Symbol.toStringTag,{value:"Module"}));function kH(e,t,n){return Object.assign(Uu("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
47
+ `+t+`
48
+ --`+new Array((n||t.length)+1).join("-")+"^"})}const xH=9,TH=10,OH=12,AH=13,PH=32,Iv=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class IH{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&&Iv[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!==AH&&n!==TH&&n!==OH&&n!==PH&&n!==xH)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 kH(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||Iv[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 LH=9,RH=10,MH=12,NH=13,DH=32,OC=33,hm=35,Lv=38,ru=39,AC=40,PC=41,IC=42,mm=43,gm=44,Rv=45,ym=60,nh=62,ou=63,FH=64,Va=91,Rs=93,iu=123,Mv=124,rh=125,Nv=8734,Dv={" ":1,"&&":2,"||":3,"|":4};function Fv(e){let t=null,n=null;return e.eat(iu),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===gm?(e.pos++,e.skipWs(),e.charCode()!==rh&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(rh),{min:Number(t),max:n?Number(n):0}}function $H(e){let t=null,n=!1;switch(e.charCode()){case IC:e.pos++,t={min:0,max:0};break;case mm:e.pos++,t={min:1,max:0};break;case ou:e.pos++,t={min:0,max:1};break;case hm:e.pos++,n=!0,e.charCode()===iu?t=Fv(e):e.charCode()===ou?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case iu:t=Fv(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Lo(e,t){const n=$H(e);return n!==null?(n.term=t,e.charCode()===hm&&e.charCodeAt(e.pos-1)===mm||e.charCode()===ou&&e.charCodeAt(e.pos-1)===rh?Lo(e,n):n):t}function Zd(e){const t=e.peek();return t===""?null:Lo(e,{type:"Token",value:t})}function jH(e){let t;return e.eat(ym),e.eat(ru),t=e.scanWord(),e.eat(ru),e.eat(nh),Lo(e,{type:"Property",name:t})}function UH(e){let t=null,n=null,r=1;return e.eat(Va),e.charCode()===Rv&&(e.peek(),r=-1),r==-1&&e.charCode()===Nv?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(gm),e.skipWs(),e.charCode()===Nv?e.peek():(r=1,e.charCode()===Rv&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Rs),{type:"Range",min:t,max:n}}function zH(e){let t,n=null;if(e.eat(ym),t=e.scanWord(),t==="boolean-expr"){e.eat(Va);const r=Bu(e,Rs);return e.eat(Rs),e.eat(nh),Lo(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===AC&&e.nextCharCode()===PC&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Va&&(e.skipWs(),n=UH(e)),e.eat(nh),Lo(e,{type:"Type",name:t,opts:n})}function BH(e){const t=e.scanWord();return e.charCode()===AC?(e.pos++,{type:"Function",name:t}):Lo(e,{type:"Keyword",name:t})}function WH(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)=>Dv[o]-Dv[s]);t.length>0;){r=t.shift();let o=0,s=0;for(;o<e.length;o++){const a=e[o];a.type==="Combinator"&&(a.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 Bu(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,a=!1;for(;e.charCode()!==t;){let c=a?Bu(e,PC):VH(e);if(!c)break;if(c.type!=="Spaces"){if(a){if(c.terms.length===0){a=!1;continue}if(c.combinator===" "){for(;c.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},c.terms.shift());c=c.terms[0]}}c.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),n[c.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(c),o=c,s=e.pos,a=c.type==="Function"}}return o!==null&&o.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:WH(r,n)||" ",disallowEmpty:!1,explicit:!1}}function HH(e){let t;return e.eat(Va),t=Bu(e,Rs),e.eat(Rs),t.explicit=!0,e.charCode()===OC&&(e.pos++,t.disallowEmpty=!0),t}function VH(e){let t=e.charCode();switch(t){case Rs:break;case Va:return Lo(e,HH(e));case ym:return e.nextCharCode()===ru?jH(e):zH(e);case Mv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Mv?2:1))};case Lv:return e.pos++,e.eat(Lv),{type:"Combinator",value:"&&"};case gm:return e.pos++,{type:"Comma"};case ru:return Lo(e,{type:"String",value:e.scanString()});case DH:case LH:case RH:case NH:case MH:return{type:"Spaces",value:e.scanSpaces()};case FH:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Zd(e);case IC:case mm:case ou:case hm:case OC:break;case iu:if(t=e.nextCharCode(),t<48||t>57)return Zd(e);break;default:return e.isNameCharCode(t)?BH(e):Zd(e)}}function LC(e){const t=new IH(e),n=Bu(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const ba=function(){};function $v(e){return typeof e=="function"?e:ba}function GH(e,t,n){function r(a){switch(o.call(n,a),a.type){case"Group":a.terms.forEach(r);break;case"Multiplier":case"Boolean":r(a.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: "+a.type)}s.call(n,a)}let o=ba,s=ba;if(typeof t=="function"?o=t:t&&(o=$v(t.enter),s=$v(t.leave)),o===ba&&s===ba)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const KH={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 qH(e){const t=[];return ju(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function YH(e,t){return typeof e=="string"?qH(e):t.generate(e,KH)}const at={type:"Match"},yt={type:"Mismatch"},bm={type:"DisallowEmpty"},XH=40,JH=41;function yn(e,t,n){return t===at&&n===yt||e===at&&t===at&&n===at?e:(e.type==="If"&&e.else===yt&&t===at&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function RC(e){return e.length>2&&e.charCodeAt(e.length-2)===XH&&e.charCodeAt(e.length-1)===JH}function jv(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&RC(e.name)}function Vo(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Aa(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Aa(e.match,t,n),e.then=Aa(e.then,t,n),e.else=Aa(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function oh(e,t,n){switch(e){case" ":{let r=at;for(let o=t.length-1;o>=0;o--){const s=t[o];r=yn(s,r,yt)}return r}case"|":{let r=yt,o=null;for(let s=t.length-1;s>=0;s--){let a=t[s];if(jv(a)&&(o===null&&s>0&&jv(t[s-1])&&(o=Object.create(null),r=yn({type:"Enum",map:o},at,r)),o!==null)){const c=(RC(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(c in o)){o[c]=a;continue}}o=null,r=yn(a,at,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=oh(e,t.filter(function(c){return c!==s}),!1):a=at,r=yn(s,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?at:yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=oh(e,t.filter(function(c){return c!==s}),!0):a=at,r=yn(s,a,r)}return r}}}function QH(e){let t=at,n=ys(e.term);if(e.max===0)n=yn(n,bm,yt),t=yn(n,null,yt),t.then=yn(at,at,t),e.comma&&(t.then.else=yn({type:"Comma",syntax:e},t,yt));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,yn(at,at,t),yt);if(e.min===0)t=yn(at,at,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,t,yt);return t}function ys(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=oh(e.combinator,e.terms.map(ys),!1);return e.disallowEmpty&&(t=yn(t,bm,yt)),t}case"Multiplier":return QH(e);case"Boolean":{const t=ys(e.term),n=ys(Vo([Vo([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Vo([{type:"Type",name:"!boolean-group"},Vo([{type:"Multiplier",comma:!1,min:0,max:0,term:Vo([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Vo([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=ys(Vo([{type:"Type",name:"!term"},Vo([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Aa(r,{"!term":t,"!self":n}),Aa(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 hc(e,t){return typeof e=="string"&&(e=LC(e)),{type:"MatchGraph",match:ys(e),syntax:t||null,source:e}}const{hasOwnProperty:Uv}=Object.prototype,ZH=0,eV=1,ih=2,MC=3,zv="Match",tV="Mismatch",nV="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Bv=15e3;function rV(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function ep(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 oV(e){return e.type!==Ye?!1:e.value!=="?"}function Wv(e){return e===null?!0:e.type===Kn||e.type===$e||e.type===it||e.type===lr||e.type===rn||oV(e)}function Hv(e){return e===null?!0:e.type===Ie||e.type===wr||e.type===sr||e.type===Ye&&e.value==="/"}function iV(e,t,n){function r(){do w++,v=w<e.length?e[w]:null;while(v!==null&&(v.type===Ft||v.type===fn))}function o(N){const O=w+N;return O<e.length?e[O]:null}function s(N,O){return{nextState:N,matchStack:S,syntaxStack:h,thenStack:g,tokenIndex:w,prev:O}}function a(N){g={nextState:N,matchStack:S,syntaxStack:h,prev:g}}function c(N){y=s(N,y)}function u(){S={type:eV,syntax:t.syntax,token:v,prev:S},r(),E=null,w>A&&(A=w)}function f(){h={syntax:t.syntax,opts:t.syntax.opts||h!==null&&h.opts||null,prev:h},S={type:ih,syntax:t.syntax,token:S.token,prev:S}}function p(){S.type===ih?S=S.prev:S={type:MC,syntax:h.syntax,token:S.token,prev:S},h=h.prev}let h=null,g=null,y=null,E=null,b=0,T=null,v=null,w=-1,A=0,S={type:ZH,syntax:null,token:null,prev:null};for(r();T===null&&++b<Bv;)switch(t.type){case"Match":if(g===null){if(v!==null&&(w!==e.length-1||v.value!=="\\0"&&v.value!=="\\9")){t=yt;break}T=zv;break}if(t=g.nextState,t===bm)if(g.matchStack===S){t=yt;break}else t=at;for(;g.syntaxStack!==h;)p();g=g.prev;break;case"Mismatch":if(E!==null&&E!==!1)(y===null||w>y.tokenIndex)&&(y=E,E=!1);else if(y===null){T=tV;break}t=y.nextState,g=y.thenStack,h=y.syntaxStack,S=y.matchStack,w=y.tokenIndex,v=w<e.length?e[w]:null,y=y.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==yt&&c(t.else),t.then!==at&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const I=t.syntax.terms;if(t.index===I.length){if(t.mask===0||t.syntax.all){t=yt;break}t=at;break}if(t.mask===(1<<I.length)-1){t=at;break}for(;t.index<I.length;t.index++){const k=1<<t.index;if((t.mask&k)===0){c(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|k}),t=I[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(v!==null){let I=v.value.toLowerCase();if(I.indexOf("\\")!==-1&&(I=I.replace(/\\[09].*$/,"")),Uv.call(t.map,I)){t=t.map[I];break}}t=yt;break;case"Generic":{const I=h!==null?h.opts:null,k=w+Math.floor(t.fn(v,o,I));if(!isNaN(k)&&k>w){for(;w<k;)u();t=at}else t=yt;break}case"Type":case"Property":{const I=t.type==="Type"?"types":"properties",k=Uv.call(n,I)?n[I][t.name]:null;if(!k||!k.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(E!==!1&&v!==null&&t.type==="Type"&&(t.name==="custom-ident"&&v.type===pe||t.name==="length"&&v.value==="0")){E===null&&(E=s(t,y)),t=yt;break}f(),t=k.matchRef||k.match;break}case"Keyword":{const I=t.name;if(v!==null){let k=v.value;if(k.indexOf("\\")!==-1&&(k=k.replace(/\\[09].*$/,"")),ep(k,I)){u(),t=at;break}}t=yt;break}case"AtKeyword":case"Function":if(v!==null&&ep(v.value,t.name)){u(),t=at;break}t=yt;break;case"Token":if(v!==null&&v.value===t.value){u(),t=at;break}t=yt;break;case"Comma":v!==null&&v.type===Kn?Wv(S.token)?t=yt:(u(),t=Hv(v)?yt:at):t=Wv(S.token)||Hv(v)?at:yt;break;case"String":let N="",O=w;for(;O<e.length&&N.length<t.value.length;O++)N+=e[O].value;if(ep(N,t.value)){for(;w<O;)u();t=at}else t=yt;break;default:throw new Error("Unknown node type: "+t.type)}switch(T){case null:console.warn("[csstree-match] BREAK after "+Bv+" iterations"),T=nV,S=null;break;case zv:for(;h!==null;)p();break;default:S=null}return{tokens:e,reason:T,iterations:b,match:S,longestMatch:A}}function Vv(e,t,n){const r=iV(e,t,n||{});if(r.match===null)return r;let o=r.match,s=r.match={syntax:t.syntax||null,match:[]};const a=[s];for(o=rV(o).prev;o!==null;){switch(o.type){case ih:s.match.push(s={syntax:o.syntax,match:[]}),a.push(s);break;case MC:a.pop(),s=a[a.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 NC(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 sV(e,t){return _m(this,e,n=>n.type==="Type"&&n.name===t)}function aV(e,t){return _m(this,e,n=>n.type==="Property"&&n.name===t)}function lV(e){return _m(this,e,t=>t.type==="Keyword")}function _m(e,t,n){const r=NC.call(e,t);return r===null?!1:r.some(n)}const cV=Object.freeze(Object.defineProperty({__proto__:null,getTrace:NC,isKeyword:lV,isProperty:aV,isType:sV},Symbol.toStringTag,{value:"Module"}));function DC(e){return"node"in e?e.node:DC(e.match[0])}function FC(e){return"node"in e?e.node:FC(e.match[e.match.length-1])}function Gv(e,t,n,r,o){function s(c){if(c.syntax!==null&&c.syntax.type===r&&c.syntax.name===o){const u=DC(c),f=FC(c);e.syntax.walk(t,function(p,h,g){if(p===u){const y=new en;do{if(y.appendData(h.data),h.data===f)break;h=h.next}while(h!==null);a.push({parent:g,nodes:y})}})}Array.isArray(c.match)&&c.match.forEach(s)}const a=[];return n.matched!==null&&s(n.matched),a}const{hasOwnProperty:Pa}=Object.prototype;function tp(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Kv(e){return!!e&&tp(e.offset)&&tp(e.line)&&tp(e.column)}function uV(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 a=!0;if(Pa.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(!Kv(r.loc.start))s+=".start";else if(!Kv(r.loc.end))s+=".end";else continue;a=!1}else if(t.hasOwnProperty(s)){a=!1;for(let c=0;!a&&c<t[s].length;c++){const u=t[s][c];switch(u){case String:a=typeof r[s]=="string";break;case Boolean:a=typeof r[s]=="boolean";break;case null:a=r[s]===null;break;default:typeof u=="string"?a=r[s]&&r[s].type===u:Array.isArray(u)&&(a=r[s]instanceof en)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");a||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Pa.call(t,s)&&Pa.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function $C(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<"+($C(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function fV(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Pa.call(n,s)===!1)continue;const a=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=$C(a,e+"."+s)}return{docs:o,check:uV(e,r)}}function dV(e){const t={};if(e.node){for(const n in e.node)if(Pa.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=fV(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function sh(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:im(e[o].syntax,{compact:t}));return r}function pV(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:im(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&sh(s.descriptors,t,n)};return r}function hV(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function mV(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Ir(e,t,n){return{matched:e,iterations:n,error:t,...cV}}function as(e,t,n,r){const o=YH(n,e.syntax);let s;return hV(o)?Ir(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=Vv(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=Vv(o,t.match,e),!s.match)?Ir(null,new BW(s.reason,t.syntax,n,s),s.iterations):Ir(s.match,null,s.iterations))}class qv{constructor(t,n,r){if(this.cssWideKeywords=am,this.syntax=n,this.generic=!1,this.units={...Pv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||dV(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(Pv))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(gH(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=hc(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(s,a){o.push({node:s,message:a})}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},a={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"?a.match=hc(t,s):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:LC(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:hc(a.syntax,s)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const c=a.syntax,u=mV(c)?hc({...c,terms:[c.terms[0].term]},s):null;return Object.defineProperty(a,"matchRef",{value:u}),u}})),a}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 ca("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&&!as(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=Xd(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 ca("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new ca("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return Ir(null,r);const o=this.getAtrule(t);return o.prelude?as(this,o.prelude,n||"",!1):Ir(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return Ir(null,o);const s=this.getAtrule(t),a=Xd(n);return as(this,s.descriptors[a.name]||s.descriptors[a.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?Ir(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(Ov(t).custom)return Ir(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?Ir(null,r):as(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?as(this,r,n,!1):Ir(null,new ca("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?Ir(null,new ca("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),as(this,t,n,!1))}findValueFragments(t,n,r,o){return Gv(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return Gv(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=Xd(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=Ov(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(u,f){return f?`<${u}>`:`<'${u}'>`}function n(u,f,p,h){if(p.has(f))return p.get(f);p.set(f,!1),h.syntax!==null&&GH(h.syntax,function(g){if(g.type!=="Type"&&g.type!=="Property")return;const y=g.type==="Type"?u.types:u.properties,E=g.type==="Type"?o:s;hasOwnProperty.call(y,g.name)?n(u,g.name,E,y[g.name])&&(r.push(`${t(f,p===o)} used broken syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0)):(r.push(`${t(f,p===o)} used missed syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0))},this)}const r=[];let o=new Map,s=new Map;for(const u in this.types)n(this,u,o,this.types[u]);for(const u in this.properties)n(this,u,s,this.properties[u]);const a=[...o.keys()].filter(u=>o.get(u)),c=[...s.keys()].filter(u=>s.get(u));return a.length||c.length?{errors:r,types:a,properties:c}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:sh(this.types,!n,t),properties:sh(this.properties,!n,t),atrules:pV(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function np(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function gV(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function rp(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?gV(s,n):s};return r}function ah(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,a]of Object.entries(o))n[r][s]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[s,a]of Object.entries(o)){const c=n[r][s]||{},u=n[r][s]={prelude:c.prelude||null,descriptors:{...c.descriptors}};if(a){u.prelude=a.prelude?np(u.prelude,a.prelude):u.prelude||null;for(const[f,p]of Object.entries(a.descriptors||{}))u.descriptors[f]=p?np(u.descriptors[f],p):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=np(n[r][s],a);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=rp(e[r],o);break;case"atrule":case"pseudo":n[r]=rp(e[r],o,["parse"]);break;case"node":n[r]=rp(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function jC(e){const t=bW(e),n=DW(e),r=LW(e),{fromPlainObject:o,toPlainObject:s}=RW(n),a={lexer:null,createLexer:c=>new qv(c,a,a.lexer.structure),tokenize:ju,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(c){const u=ah({},e);return jC(typeof c=="function"?c(u):ah(u,c))}};return a.lexer=new qv({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const yV=e=>jC(ah({},e)),bV={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"}}}},Zr=43,nr=45,Oc=110,Ei=!0,_V=!1;function Ac(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Zr||r===nr)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)un(this.charCodeAt(n))||this.error("Integer is expected",n)}function bs(e){return Ac.call(this,0,e)}function Go(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Oc:n="N is expected";break;case nr:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function op(){let e=0,t=0,n=this.tokenType;for(;n===Ft||n===fn;)n=this.lookupType(++e);if(n!==Re)if(this.isDelim(Zr,e)||this.isDelim(nr,e)){t=this.isDelim(Zr,e)?Zr:nr;do n=this.lookupType(++e);while(n===Ft||n===fn);n!==Re&&(this.skip(e),bs.call(this,Ei))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Zr&&n!==nr&&this.error("Number sign is expected")),bs.call(this,t!==0),t===nr?"-"+this.consume(Re):this.consume(Re)}const vV="AnPlusB",wV={a:[String,null],b:[String,null]};function UC(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===Re)bs.call(this,_V),n=this.consume(Re);else if(this.tokenType===pe&&this.cmpChar(this.tokenStart,nr))switch(t="-1",Go.call(this,1,Oc),this.tokenEnd-this.tokenStart){case 2:this.next(),n=op.call(this);break;case 3:Go.call(this,2,nr),this.next(),this.skipSC(),bs.call(this,Ei),n="-"+this.consume(Re);break;default:Go.call(this,2,nr),Ac.call(this,3,Ei),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===pe||this.isDelim(Zr)&&this.lookupType(1)===pe){let r=0;switch(t="1",this.isDelim(Zr)&&(r=1,this.next()),Go.call(this,0,Oc),this.tokenEnd-this.tokenStart){case 1:this.next(),n=op.call(this);break;case 2:Go.call(this,1,nr),this.next(),this.skipSC(),bs.call(this,Ei),n="-"+this.consume(Re);break;default:Go.call(this,1,nr),Ac.call(this,2,Ei),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===qe){const r=this.charCodeAt(this.tokenStart),o=r===Zr||r===nr;let s=this.tokenStart+o;for(;s<this.tokenEnd&&un(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Go.call(this,s-this.tokenStart,Oc),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=op.call(this)):(Go.call(this,s-this.tokenStart+1,nr),s+2===this.tokenEnd?(this.next(),this.skipSC(),bs.call(this,Ei),n="-"+this.consume(Re)):(Ac.call(this,s-this.tokenStart+2,Ei),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Zr&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Zr&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function EV(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 SV=Object.freeze(Object.defineProperty({__proto__:null,generate:EV,name:vV,parse:UC,structure:wV},Symbol.toStringTag,{value:"Module"}));function Yv(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function CV(){for(let e=1,t;t=this.lookupType(e);e++){if(t===sr)return!0;if(t===rn||t===Ht)return!1}return!1}const kV="Atrule",xV="atrule",TV={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function zC(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(Ht),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==rn&&this.tokenType!==Cn&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Yv):o=Yv.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Cn:this.next();break;case rn:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(CV.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function OV(e){this.token(Ht,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Cn,";")}const AV=Object.freeze(Object.defineProperty({__proto__:null,generate:OV,name:kV,parse:zC,structure:TV,walkContext:xV},Symbol.toStringTag,{value:"Module"})),PV="AtrulePrelude",IV="atrulePrelude",LV={children:[[]]};function BC(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!==rn&&this.tokenType!==Cn&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function RV(e){this.children(e)}const MV=Object.freeze(Object.defineProperty({__proto__:null,generate:RV,name:PV,parse:BC,structure:LV,walkContext:IV},Symbol.toStringTag,{value:"Module"})),NV=36,WC=42,Pc=61,DV=94,lh=124,FV=126;function $V(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(WC)?(t=!0,this.next()):this.isDelim(lh)||this.eat(pe),this.isDelim(lh)?this.charCodeAt(this.tokenStart+1)!==Pc?(this.next(),this.eat(pe)):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 jV(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==Pc&&t!==FV&&t!==DV&&t!==NV&&t!==WC&&t!==lh&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Pc&&(this.isDelim(Pc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const UV="AttributeSelector",zV={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function HC(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(lr),this.skipSC(),t=$V.call(this),this.skipSC(),this.tokenType!==wr&&(this.tokenType!==pe&&(n=jV.call(this),this.skipSC(),r=this.tokenType===zr?this.String():this.Identifier(),this.skipSC()),this.tokenType===pe&&(o=this.consume(pe),this.skipSC())),this.eat(wr),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function BV(e){this.token(Ye,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(pe,e.flags),this.token(Ye,"]")}const WV=Object.freeze(Object.defineProperty({__proto__:null,generate:BV,name:UV,parse:HC,structure:zV},Symbol.toStringTag,{value:"Module"})),HV=38;function VC(){return this.Raw(null,!0)}function Xv(){return this.parseWithFallback(this.Rule,VC)}function Jv(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function VV(){if(this.tokenType===Cn)return Jv.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Jv);return this.tokenType===Cn&&this.next(),e}const GV="Block",KV="block",qV={children:[["Atrule","Rule","Declaration"]]};function GC(e){const t=e?VV:Xv,n=this.tokenStart;let r=this.createList();this.eat(rn);e:for(;!this.eof;)switch(this.tokenType){case sr:break e;case Ft:case fn:this.next();break;case Ht:r.push(this.parseWithFallback(this.Atrule.bind(this,e),VC));break;default:e&&this.isDelim(HV)?r.push(Xv.call(this)):r.push(t.call(this))}return this.eof||this.eat(sr),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function YV(e){this.token(rn,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")}),this.token(sr,"}")}const XV=Object.freeze(Object.defineProperty({__proto__:null,generate:YV,name:GV,parse:GC,structure:qV,walkContext:KV},Symbol.toStringTag,{value:"Module"})),JV="Brackets",QV={children:[[]]};function KC(e,t){const n=this.tokenStart;let r=null;return this.eat(lr),r=e.call(this,t),this.eof||this.eat(wr),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function ZV(e){this.token(Ye,"["),this.children(e),this.token(Ye,"]")}const e3=Object.freeze(Object.defineProperty({__proto__:null,generate:ZV,name:JV,parse:KC,structure:QV},Symbol.toStringTag,{value:"Module"})),t3="CDC",n3=[];function qC(){const e=this.tokenStart;return this.eat(zn),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function r3(){this.token(zn,"-->")}const o3=Object.freeze(Object.defineProperty({__proto__:null,generate:r3,name:t3,parse:qC,structure:n3},Symbol.toStringTag,{value:"Module"})),i3="CDO",s3=[];function YC(){const e=this.tokenStart;return this.eat(Qa),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function a3(){this.token(Qa,"<!--")}const l3=Object.freeze(Object.defineProperty({__proto__:null,generate:a3,name:i3,parse:YC,structure:s3},Symbol.toStringTag,{value:"Module"})),c3=46,u3="ClassSelector",f3={name:String};function XC(){return this.eatDelim(c3),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(pe)}}function d3(e){this.token(Ye,"."),this.token(pe,e.name)}const p3=Object.freeze(Object.defineProperty({__proto__:null,generate:d3,name:u3,parse:XC,structure:f3},Symbol.toStringTag,{value:"Module"})),h3=43,Qv=47,m3=62,g3=126,y3="Combinator",b3={name:String};function JC(){const e=this.tokenStart;let t;switch(this.tokenType){case Ft:t=" ";break;case Ye:switch(this.charCodeAt(this.tokenStart)){case m3:case h3:case g3:this.next();break;case Qv:this.next(),this.eatIdent("deep"),this.eatDelim(Qv);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function _3(e){this.tokenize(e.name)}const v3=Object.freeze(Object.defineProperty({__proto__:null,generate:_3,name:y3,parse:JC,structure:b3},Symbol.toStringTag,{value:"Module"})),w3=42,E3=47,S3="Comment",C3={value:String};function QC(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(fn),t-e+2>=2&&this.charCodeAt(t-2)===w3&&this.charCodeAt(t-1)===E3&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function k3(e){this.token(fn,"/*"+e.value+"*/")}const x3=Object.freeze(Object.defineProperty({__proto__:null,generate:k3,name:S3,parse:QC,structure:C3},Symbol.toStringTag,{value:"Module"})),T3=new Set([Sn,Ie,Zo]),O3="Condition",A3={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Zv(e){return this.lookupTypeNonSC(1)===pe&&T3.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const P3={media:Zv,container:Zv,supports(){return this.SupportsDeclaration()}};function ZC(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case fn:case Ft:this.next();continue;case pe:t.push(this.Identifier());break;case it:{let n=this.parseWithFallback(()=>P3[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(it);const r=this.Condition(e);return this.eat(Ie),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case $e:{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 I3(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(it,"("),this.node(t),this.token(Ie,")")):this.node(t)})}const L3=Object.freeze(Object.defineProperty({__proto__:null,generate:I3,name:O3,parse:ZC,structure:A3},Symbol.toStringTag,{value:"Module"})),ek=33,R3=35,M3=36,N3=38,D3=42,F3=43,ew=47;function $3(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function j3(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function U3(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==Cn&&this.isDelim(ek)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const z3="Declaration",B3="declaration",W3={important:[Boolean,String],property:String,value:["Value","Raw"]};function tk(){const e=this.tokenStart,t=this.tokenIndex,n=V3.call(this),r=sm(n),o=r?this.parseCustomProperty:this.parseValue,s=r?j3:$3;let a=!1,c;this.skipSC(),this.eat(Sn);const u=this.tokenIndex;if(r||this.skipSC(),o?c=this.parseWithFallback(U3,s):c=s.call(this,this.tokenIndex),r&&c.type==="Value"&&c.children.isEmpty){for(let f=u-this.tokenIndex;f<=0;f++)if(this.lookupType(f)===Ft){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(ek)&&(a=G3.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Cn&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:c}}function H3(e){this.token(pe,e.property),this.token(Sn,":"),this.node(e.value),e.important&&(this.token(Ye,"!"),this.token(pe,e.important===!0?"important":e.important))}function V3(){const e=this.tokenStart;if(this.tokenType===Ye)switch(this.charCodeAt(this.tokenStart)){case D3:case M3:case F3:case R3:case N3:this.next();break;case ew:this.next(),this.isDelim(ew)&&this.next();break}return this.tokenType===kt?this.eat(kt):this.eat(pe),this.substrToCursor(e)}function G3(){this.eat(Ye),this.skipSC();const e=this.consume(pe);return e==="important"?!0:e}const K3=Object.freeze(Object.defineProperty({__proto__:null,generate:H3,name:z3,parse:tk,structure:W3,walkContext:B3},Symbol.toStringTag,{value:"Module"})),q3=38;function ip(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const Y3="DeclarationList",X3={children:[["Declaration","Atrule","Rule"]]};function nk(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case Ft:case fn:case Cn:this.next();break;case Ht:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),ip));break;default:this.isDelim(q3)?e.push(this.parseWithFallback(this.Rule,ip)):e.push(this.parseWithFallback(this.Declaration,ip))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function J3(e){this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")})}const Q3=Object.freeze(Object.defineProperty({__proto__:null,generate:J3,name:Y3,parse:nk,structure:X3},Symbol.toStringTag,{value:"Module"})),Z3="Dimension",eG={value:String,unit:String};function rk(){const e=this.tokenStart,t=this.consumeNumber(qe);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function tG(e){this.token(qe,e.value+e.unit)}const nG=Object.freeze(Object.defineProperty({__proto__:null,generate:tG,name:Z3,parse:rk,structure:eG},Symbol.toStringTag,{value:"Module"})),rG=47,oG="Feature",iG={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function ok(e){const t=this.tokenStart;let n,r=null;if(this.eat(it),this.skipSC(),n=this.consume(pe),this.skipSC(),this.tokenType!==Ie){switch(this.eat(Sn),this.skipSC(),this.tokenType){case Re:this.lookupNonWSType(1)===Ye?r=this.Ratio():r=this.Number();break;case qe:r=this.Dimension();break;case pe:r=this.Identifier();break;case $e:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(rG)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(Ie),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function sG(e){this.token(it,"("),this.token(pe,e.name),e.value!==null&&(this.token(Sn,":"),this.node(e.value)),this.token(Ie,")")}const aG=Object.freeze(Object.defineProperty({__proto__:null,generate:sG,name:oG,parse:ok,structure:iG},Symbol.toStringTag,{value:"Module"})),lG="FeatureFunction",cG={kind:String,feature:String,value:["Declaration","Selector"]};function uG(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function ik(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=uG.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const s=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(s)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(Ie),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function fG(e){this.token($e,e.feature+"("),this.node(e.value),this.token(Ie,")")}const dG=Object.freeze(Object.defineProperty({__proto__:null,generate:fG,name:lG,parse:ik,structure:cG},Symbol.toStringTag,{value:"Module"})),tw=47,pG=60,nw=61,hG=62,mG="FeatureRange",gG={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 sp(){switch(this.skipSC(),this.tokenType){case Re:return this.isDelim(tw,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case qe:return this.Dimension();case pe:return this.Identifier();case $e:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(tw)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function rw(e){if(this.skipSC(),this.isDelim(pG)||this.isDelim(hG)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(nw)?(this.next(),t+"="):t}if(this.isDelim(nw))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function sk(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(it);const n=sp.call(this),r=rw.call(this,n.type==="Identifier"),o=sp.call(this);let s=null,a=null;return this.lookupNonWSType(0)!==Ie&&(s=rw.call(this),a=sp.call(this)),this.skipSC(),this.eat(Ie),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:a}}function yG(e){this.token(it,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(Ie,")")}const bG=Object.freeze(Object.defineProperty({__proto__:null,generate:yG,name:mG,parse:sk,structure:gG},Symbol.toStringTag,{value:"Module"})),_G="Function",vG="function",wG={name:String,children:[[]]};function ak(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(Ie),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function EG(e){this.token($e,e.name+"("),this.children(e),this.token(Ie,")")}const SG=Object.freeze(Object.defineProperty({__proto__:null,generate:EG,name:_G,parse:ak,structure:wG,walkContext:vG},Symbol.toStringTag,{value:"Module"})),CG="GeneralEnclosed",kG={kind:String,function:[String,null],children:[[]]};function lk(e){const t=this.tokenStart;let n=null;this.tokenType===$e?n=this.consumeFunctionName():this.eat(it);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(Ie),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function xG(e){e.function?this.token($e,e.function+"("):this.token(it,"("),this.children(e),this.token(Ie,")")}const TG=Object.freeze(Object.defineProperty({__proto__:null,generate:xG,name:CG,parse:lk,structure:kG},Symbol.toStringTag,{value:"Module"})),OG="XXX",AG="Hash",PG={value:String};function ck(){const e=this.tokenStart;return this.eat(kt),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function IG(e){this.token(kt,"#"+e.value)}const LG=Object.freeze(Object.defineProperty({__proto__:null,generate:IG,name:AG,parse:ck,structure:PG,xxx:OG},Symbol.toStringTag,{value:"Module"})),RG="Identifier",MG={name:String};function uk(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(pe)}}function NG(e){this.token(pe,e.name)}const DG=Object.freeze(Object.defineProperty({__proto__:null,generate:NG,name:RG,parse:uk,structure:MG},Symbol.toStringTag,{value:"Module"})),FG="IdSelector",$G={name:String};function fk(){const e=this.tokenStart;return this.eat(kt),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function jG(e){this.token(Ye,"#"+e.name)}const UG=Object.freeze(Object.defineProperty({__proto__:null,generate:jG,name:FG,parse:fk,structure:$G},Symbol.toStringTag,{value:"Module"})),zG=46,BG="Layer",WG={name:String};function dk(){let e=this.tokenStart,t=this.consume(pe);for(;this.isDelim(zG);)this.eat(Ye),t+="."+this.consume(pe);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function HG(e){this.tokenize(e.name)}const VG=Object.freeze(Object.defineProperty({__proto__:null,generate:HG,name:BG,parse:dk,structure:WG},Symbol.toStringTag,{value:"Module"})),GG="LayerList",KG={children:[["Layer"]]};function pk(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Kn);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function qG(e){this.children(e,()=>this.token(Kn,","))}const YG=Object.freeze(Object.defineProperty({__proto__:null,generate:qG,name:GG,parse:pk,structure:KG},Symbol.toStringTag,{value:"Module"})),XG="MediaQuery",JG={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function hk(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===pe&&this.lookupTypeNonSC(1)!==it){const o=this.consume(pe),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(pe)):n=o,this.lookupTypeNonSC(0)){case pe:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case rn:case Cn:case Kn:case Zo:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case pe:case it:case $e:{r=this.Condition("media");break}case rn:case Cn:case Zo: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 QG(e){e.mediaType?(e.modifier&&this.token(pe,e.modifier),this.token(pe,e.mediaType),e.condition&&(this.token(pe,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const ZG=Object.freeze(Object.defineProperty({__proto__:null,generate:QG,name:XG,parse:hk,structure:JG},Symbol.toStringTag,{value:"Module"})),e4="MediaQueryList",t4={children:[["MediaQuery"]]};function mk(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Kn);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function n4(e){this.children(e,()=>this.token(Kn,","))}const r4=Object.freeze(Object.defineProperty({__proto__:null,generate:n4,name:e4,parse:mk,structure:t4},Symbol.toStringTag,{value:"Module"})),o4=38,i4="NestingSelector",s4={};function gk(){const e=this.tokenStart;return this.eatDelim(o4),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function a4(){this.token(Ye,"&")}const l4=Object.freeze(Object.defineProperty({__proto__:null,generate:a4,name:i4,parse:gk,structure:s4},Symbol.toStringTag,{value:"Module"})),c4="Nth",u4={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function yk(){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 f4(e){this.node(e.nth),e.selector!==null&&(this.token(pe,"of"),this.node(e.selector))}const d4=Object.freeze(Object.defineProperty({__proto__:null,generate:f4,name:c4,parse:yk,structure:u4},Symbol.toStringTag,{value:"Module"})),p4="Number",h4={value:String};function bk(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Re)}}function m4(e){this.token(Re,e.value)}const g4=Object.freeze(Object.defineProperty({__proto__:null,generate:m4,name:p4,parse:bk,structure:h4},Symbol.toStringTag,{value:"Module"})),y4="Operator",b4={value:String};function _k(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function _4(e){this.tokenize(e.value)}const v4=Object.freeze(Object.defineProperty({__proto__:null,generate:_4,name:y4,parse:_k,structure:b4},Symbol.toStringTag,{value:"Module"})),w4="Parentheses",E4={children:[[]]};function vk(e,t){const n=this.tokenStart;let r=null;return this.eat(it),r=e.call(this,t),this.eof||this.eat(Ie),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function S4(e){this.token(it,"("),this.children(e),this.token(Ie,")")}const C4=Object.freeze(Object.defineProperty({__proto__:null,generate:S4,name:w4,parse:vk,structure:E4},Symbol.toStringTag,{value:"Module"})),k4="Percentage",x4={value:String};function wk(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Dt)}}function T4(e){this.token(Dt,e.value+"%")}const O4=Object.freeze(Object.defineProperty({__proto__:null,generate:T4,name:k4,parse:wk,structure:x4},Symbol.toStringTag,{value:"Module"})),A4="PseudoClassSelector",P4="function",I4={name:String,children:[["Raw"],null]};function Ek(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.tokenType===$e?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Ie?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(Ie)):n=this.consume(pe),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function L4(e){this.token(Sn,":"),e.children===null?this.token(pe,e.name):(this.token($e,e.name+"("),this.children(e),this.token(Ie,")"))}const R4=Object.freeze(Object.defineProperty({__proto__:null,generate:L4,name:A4,parse:Ek,structure:I4,walkContext:P4},Symbol.toStringTag,{value:"Module"})),M4="PseudoElementSelector",N4="function",D4={name:String,children:[["Raw"],null]};function Sk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.eat(Sn),this.tokenType===$e?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Ie?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(Ie)):n=this.consume(pe),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function F4(e){this.token(Sn,":"),this.token(Sn,":"),e.children===null?this.token(pe,e.name):(this.token($e,e.name+"("),this.children(e),this.token(Ie,")"))}const $4=Object.freeze(Object.defineProperty({__proto__:null,generate:F4,name:M4,parse:Sk,structure:D4,walkContext:N4},Symbol.toStringTag,{value:"Module"})),ow=47;function iw(){switch(this.skipSC(),this.tokenType){case Re:return this.Number();case $e:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const j4="Ratio",U4={left:["Number","Function"],right:["Number","Function",null]};function Ck(){const e=this.tokenStart,t=iw.call(this);let n=null;return this.skipSC(),this.isDelim(ow)&&(this.eatDelim(ow),n=iw.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function z4(e){this.node(e.left),this.token(Ye,"/"),e.right?this.node(e.right):this.node(Re,1)}const B4=Object.freeze(Object.defineProperty({__proto__:null,generate:z4,name:j4,parse:Ck,structure:U4},Symbol.toStringTag,{value:"Module"}));function W4(){return this.tokenIndex>0&&this.lookupType(-1)===Ft?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const H4="Raw",V4={value:String};function kk(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=W4.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function G4(e){this.tokenize(e.value)}const K4=Object.freeze(Object.defineProperty({__proto__:null,generate:G4,name:H4,parse:kk,structure:V4},Symbol.toStringTag,{value:"Module"}));function sw(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function q4(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==rn&&this.error(),e}const Y4="Rule",X4="rule",J4={prelude:["SelectorList","Raw"],block:["Block"]};function xk(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(q4,sw):n=sw.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Q4(e){this.node(e.prelude),this.node(e.block)}const Z4=Object.freeze(Object.defineProperty({__proto__:null,generate:Q4,name:Y4,parse:xk,structure:J4,walkContext:X4},Symbol.toStringTag,{value:"Module"})),eK="Scope",tK={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Tk(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===it&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Ie)),this.lookupNonWSType(0)===pe&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(it),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Ie)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function nK(e){e.root&&(this.token(it,"("),this.node(e.root),this.token(Ie,")")),e.limit&&(this.token(pe,"to"),this.token(it,"("),this.node(e.limit),this.token(Ie,")"))}const rK=Object.freeze(Object.defineProperty({__proto__:null,generate:nK,name:eK,parse:Tk,structure:tK},Symbol.toStringTag,{value:"Module"})),oK="Selector",iK={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Ok(){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 sK(e){this.children(e)}const aK=Object.freeze(Object.defineProperty({__proto__:null,generate:sK,name:oK,parse:Ok,structure:iK},Symbol.toStringTag,{value:"Module"})),lK="SelectorList",cK="selector",uK={children:[["Selector","Raw"]]};function Ak(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Kn){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function fK(e){this.children(e,()=>this.token(Kn,","))}const dK=Object.freeze(Object.defineProperty({__proto__:null,generate:fK,name:lK,parse:Ak,structure:uK,walkContext:cK},Symbol.toStringTag,{value:"Module"})),ch=92,Pk=34,pK=39;function Ik(e){const t=e.length,n=e.charCodeAt(0),r=n===Pk||n===pK?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let s="";for(let a=r;a<=o;a++){let c=e.charCodeAt(a);if(c===ch){if(a===o){a!==t-1&&(s=e.substr(a+1));break}if(c=e.charCodeAt(++a),eo(ch,c)){const u=a-1,f=Ls(e,u);a=f-1,s+=gC(e.substring(u+1,f))}else c===13&&e.charCodeAt(a+1)===10&&a++}else s+=e[a]}return s}function hK(e,t){const r=Pk;let o="",s=!1;for(let a=0;a<e.length;a++){const c=e.charCodeAt(a);if(c===0){o+="�";continue}if(c<=31||c===127){o+="\\"+c.toString(16),s=!0;continue}c===r||c===ch?(o+="\\"+e.charAt(a),s=!1):(s&&(ii(c)||Mi(c))&&(o+=" "),o+=e.charAt(a),s=!1)}return'"'+o+'"'}const mK="String",gK={value:String};function Lk(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Ik(this.consume(zr))}}function yK(e){this.token(zr,hK(e.value))}const bK=Object.freeze(Object.defineProperty({__proto__:null,generate:yK,name:mK,parse:Lk,structure:gK},Symbol.toStringTag,{value:"Module"})),_K=33;function aw(){return this.Raw(null,!1)}const vK="StyleSheet",wK="stylesheet",EK={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Rk(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case Ft:this.next();continue;case fn:if(this.charCodeAt(this.tokenStart+2)!==_K){this.next();continue}n=this.Comment();break;case Qa:n=this.CDO();break;case zn:n=this.CDC();break;case Ht:n=this.parseWithFallback(this.Atrule,aw);break;default:n=this.parseWithFallback(this.Rule,aw)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function SK(e){this.children(e)}const CK=Object.freeze(Object.defineProperty({__proto__:null,generate:SK,name:vK,parse:Rk,structure:EK,walkContext:wK},Symbol.toStringTag,{value:"Module"})),kK="SupportsDeclaration",xK={declaration:"Declaration"};function Mk(){const e=this.tokenStart;this.eat(it),this.skipSC();const t=this.Declaration();return this.eof||this.eat(Ie),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function TK(e){this.token(it,"("),this.node(e.declaration),this.token(Ie,")")}const OK=Object.freeze(Object.defineProperty({__proto__:null,generate:TK,name:kK,parse:Mk,structure:xK},Symbol.toStringTag,{value:"Module"})),AK=42,lw=124;function ap(){this.tokenType!==pe&&this.isDelim(AK)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const PK="TypeSelector",IK={name:String};function Nk(){const e=this.tokenStart;return this.isDelim(lw)?(this.next(),ap.call(this)):(ap.call(this),this.isDelim(lw)&&(this.next(),ap.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function LK(e){this.tokenize(e.name)}const RK=Object.freeze(Object.defineProperty({__proto__:null,generate:LK,name:PK,parse:Nk,structure:IK},Symbol.toStringTag,{value:"Module"})),Dk=43,Fk=45,uh=63;function _a(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===Fk&&t&&n!==0)return _a.call(this,e+n+1,!1),-1;ii(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 mc(e){let t=0;for(;this.isDelim(uh);)++t>e&&this.error("Too many question marks"),this.next()}function MK(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Dk?"Plus sign":"Hyphen minus")+" is expected")}function NK(){let e=0;switch(this.tokenType){case Re:if(e=_a.call(this,1,!0),this.isDelim(uh)){mc.call(this,6-e);break}if(this.tokenType===qe||this.tokenType===Re){MK.call(this,Fk),_a.call(this,1,!1);break}break;case qe:e=_a.call(this,1,!0),e>0&&mc.call(this,6-e);break;default:if(this.eatDelim(Dk),this.tokenType===pe){e=_a.call(this,0,!0),e>0&&mc.call(this,6-e);break}if(this.isDelim(uh)){this.next(),mc.call(this,5);break}this.error("Hex digit or question mark is expected")}}const DK="UnicodeRange",FK={value:String};function $k(){const e=this.tokenStart;return this.eatIdent("u"),NK.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function $K(e){this.tokenize(e.value)}const jK=Object.freeze(Object.defineProperty({__proto__:null,generate:$K,name:DK,parse:$k,structure:FK},Symbol.toStringTag,{value:"Module"})),UK=32,fh=92,zK=34,BK=39,WK=40,jk=41;function HK(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===jk?t-2:t-1,o="";for(;n<r&&Mi(e.charCodeAt(n));)n++;for(;n<r&&Mi(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let a=e.charCodeAt(s);if(a===fh){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(a=e.charCodeAt(++s),eo(fh,a)){const c=s-1,u=Ls(e,c);s=u-1,o+=gC(e.substring(c+1,u))}else a===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function VK(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===UK||o===fh||o===zK||o===BK||o===WK||o===jk?(t+="\\"+e.charAt(r),n=!1):(n&&ii(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const GK="Url",KK={value:String};function Uk(){const e=this.tokenStart;let t;switch(this.tokenType){case bn:t=HK(this.consume(bn));break;case $e:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat($e),this.skipSC(),t=Ik(this.consume(zr)),this.skipSC(),this.eof||this.eat(Ie);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function qK(e){this.token(bn,VK(e.value))}const YK=Object.freeze(Object.defineProperty({__proto__:null,generate:qK,name:GK,parse:Uk,structure:KK},Symbol.toStringTag,{value:"Module"})),XK="Value",JK={children:[[]]};function zk(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function QK(e){this.children(e)}const ZK=Object.freeze(Object.defineProperty({__proto__:null,generate:QK,name:XK,parse:zk,structure:JK},Symbol.toStringTag,{value:"Module"})),eq=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),tq="WhiteSpace",nq={value:String};function Bk(){return this.eat(Ft),eq}function rq(e){this.token(Ft,e.value)}const oq=Object.freeze(Object.defineProperty({__proto__:null,generate:rq,name:tq,parse:Bk,structure:nq},Symbol.toStringTag,{value:"Module"})),Wk=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:SV,Atrule:AV,AtrulePrelude:MV,AttributeSelector:WV,Block:XV,Brackets:e3,CDC:o3,CDO:l3,ClassSelector:p3,Combinator:v3,Comment:x3,Condition:L3,Declaration:K3,DeclarationList:Q3,Dimension:nG,Feature:aG,FeatureFunction:dG,FeatureRange:bG,Function:SG,GeneralEnclosed:TG,Hash:LG,IdSelector:UG,Identifier:DG,Layer:VG,LayerList:YG,MediaQuery:ZG,MediaQueryList:r4,NestingSelector:l4,Nth:d4,Number:g4,Operator:v4,Parentheses:C4,Percentage:O4,PseudoClassSelector:R4,PseudoElementSelector:$4,Ratio:B4,Raw:K4,Rule:Z4,Scope:rK,Selector:aK,SelectorList:dK,String:bK,StyleSheet:CK,SupportsDeclaration:OK,TypeSelector:RK,UnicodeRange:jK,Url:YK,Value:ZK,WhiteSpace:oq},Symbol.toStringTag,{value:"Module"})),iq={generic:!0,cssWideKeywords:am,...bV,node:Wk},sq=35,aq=42,cw=43,lq=45,cq=47,uq=117;function Hk(e){switch(this.tokenType){case kt:return this.Hash();case Kn:return this.Operator();case it:return this.Parentheses(this.readSequence,e.recognizer);case lr:return this.Brackets(this.readSequence,e.recognizer);case zr:return this.String();case qe:return this.Dimension();case Dt:return this.Percentage();case Re:return this.Number();case $e:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case bn:return this.Url();case pe:return this.cmpChar(this.tokenStart,uq)&&this.cmpChar(this.tokenStart+1,cw)?this.UnicodeRange():this.Identifier();case Ye:{const t=this.charCodeAt(this.tokenStart);if(t===cq||t===aq||t===cw||t===lq)return this.Operator();t===sq&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const fq={getNode:Hk},dq=35,pq=38,hq=42,mq=43,gq=47,uw=46,yq=62,bq=124,_q=126;function vq(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function wq(){switch(this.tokenType){case lr:return this.AttributeSelector();case kt:return this.IdSelector();case Sn:return this.lookupType(1)===Sn?this.PseudoElementSelector():this.PseudoClassSelector();case pe:return this.TypeSelector();case Re:case Dt:return this.Percentage();case qe:this.charCodeAt(this.tokenStart)===uw&&this.error("Identifier is expected",this.tokenStart+1);break;case Ye:{switch(this.charCodeAt(this.tokenStart)){case mq:case yq:case _q:case gq:return this.Combinator();case uw:return this.ClassSelector();case hq:case bq:return this.TypeSelector();case dq:return this.IdSelector();case pq:return this.NestingSelector()}break}}}const Eq={onWhiteSpace:vq,getNode:wq};function Sq(){return this.createSingleNodeList(this.Raw(null,!1))}function Cq(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Kn){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)===Ft){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function fw(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const kq={getNode:Hk,onWhiteSpace(e,t){fw(e)&&(e.value=" "+e.value),fw(t.last)&&(t.last.value+=" ")},expression:Sq,var:Cq},xq=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:fq,Selector:Eq,Value:kq},Symbol.toStringTag,{value:"Module"})),Tq=new Set(["none","and","not","or"]),Oq={parse:{prelude(){const e=this.createList();if(this.tokenType===pe){const t=this.substring(this.tokenStart,this.tokenEnd);Tq.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},Aq={parse:{prelude:null,block(){return this.Block(!0)}}};function lp(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==Ie&&this.error()}},t||(()=>this.Raw(null,!0)))}const dw={layer(){this.skipSC();const e=this.createList(),t=lp.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=lp.call(this,this.Declaration,()=>lp.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},Pq={parse:{prelude(){const e=this.createList();switch(this.tokenType){case zr:e.push(this.String());break;case bn:case $e:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===pe&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===$e&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,dw)),this.skipSC(),this.tokenType===$e&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,dw)),(this.lookupNonWSType(0)===pe||this.lookupNonWSType(0)===it)&&e.push(this.MediaQueryList()),e},block:null}},Iq={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},Lq={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},Rq={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},Mq={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},Nq={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},Dq={parse:{prelude:null,block(e=!1){return this.Block(e)}}},Fq={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},$q={container:Oq,"font-face":Aq,import:Pq,layer:Iq,media:Lq,nest:Rq,page:Mq,scope:Nq,"starting-style":Dq,supports:Fq};function jq(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case pe:e.push(this.Identifier());break;case zr:e.push(this.String());break;case Kn:e.push(this.Operator());break;case Ie:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const vi={parse(){return this.createSingleNodeList(this.SelectorList())}},cp={parse(){return this.createSingleNodeList(this.Selector())}},Uq={parse(){return this.createSingleNodeList(this.Identifier())}},zq={parse:jq},gc={parse(){return this.createSingleNodeList(this.Nth())}},Bq={dir:Uq,has:vi,lang:zq,matches:vi,is:vi,"-moz-any":vi,"-webkit-any":vi,where:vi,not:vi,"nth-child":gc,"nth-last-child":gc,"nth-last-of-type":gc,"nth-of-type":gc,slotted:cp,host:cp,"host-context":cp},Wq=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:UC,Atrule:zC,AtrulePrelude:BC,AttributeSelector:HC,Block:GC,Brackets:KC,CDC:qC,CDO:YC,ClassSelector:XC,Combinator:JC,Comment:QC,Condition:ZC,Declaration:tk,DeclarationList:nk,Dimension:rk,Feature:ok,FeatureFunction:ik,FeatureRange:sk,Function:ak,GeneralEnclosed:lk,Hash:ck,IdSelector:fk,Identifier:uk,Layer:dk,LayerList:pk,MediaQuery:hk,MediaQueryList:mk,NestingSelector:gk,Nth:yk,Number:bk,Operator:_k,Parentheses:vk,Percentage:wk,PseudoClassSelector:Ek,PseudoElementSelector:Sk,Ratio:Ck,Raw:kk,Rule:xk,Scope:Tk,Selector:Ok,SelectorList:Ak,String:Lk,StyleSheet:Rk,SupportsDeclaration:Mk,TypeSelector:Nk,UnicodeRange:$k,Url:Uk,Value:zk,WhiteSpace:Bk},Symbol.toStringTag,{value:"Module"})),Hq={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:xq,atrule:$q,pseudo:Bq,node:Wq},Vq={node:Wk},Gq=yV({...iq,...Hq,...Vq}),{tokenize:wX,parse:Kq,generate:qq,lexer:EX,createLexer:SX,walk:Yq,find:CX,findLast:kX,findAll:xX,toPlainObject:TX,fromPlainObject:OX,fork:AX}=Gq;function Vk(e,t,n){if(!e.includes("url("))return e;const r=Kq(e,{positions:!1});return Yq(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 c=new URL(s,t),u=n?.find(f=>c.href.endsWith(f.path));u?o.value=u.signedUrl:o.value=c.href}}}),qq(r)}function Gk(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function Xq(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}function pw(e){return fetch(e).then(t=>t.blob()).then(t=>new Promise((n,r)=>{const o=new FileReader;o.onloadend=()=>n(o.result),o.onerror=r,o.readAsDataURL(t)}))}async function Jq(e){const t=[],n=Array.from(e.querySelectorAll("*")),r=[];for(const o of n){const s=o,a=s.style?.backgroundImage||"",c=a.match(/url\(["']?(blob:[^"')]*)["']?\)/);if(c){const u=c[1];r.push(pw(u).then(f=>{s.style.backgroundImage=a.replace(u,f),t.push(()=>{s.style.backgroundImage=a})}).catch(()=>{}))}if(s instanceof HTMLImageElement&&s.src.startsWith("blob:")){const u=s.src;r.push(pw(u).then(f=>{s.src=f,t.push(()=>{s.src=u})}).catch(()=>{}))}}return await Promise.all(r),()=>t.forEach(o=>o())}function Qq(e,t,n){const r=[];let o="";for(const s of t){const a=o+s;e.measureText(a).width>n&&o.length>0?(r.push(o),o=s):o=a}return o&&r.push(o),r.length?r:[t]}function Zq(e,t="跨域内容无法截图"){const n=e.querySelectorAll("canvas"),r=[];return n.forEach(o=>{const s=o.parentNode;if(!s)return;const a=o.offsetWidth||300,c=o.offsetHeight||200,u=document.createElement("canvas");u.width=a,u.height=c,u.style.width=o.style.width||`${a}px`,u.style.height=o.style.height||`${c}px`,u.style.display=o.style.display||"block";const f=u.getContext("2d");if(f){f.fillStyle="#f5f5f5",f.fillRect(0,0,a,c),f.setLineDash([6,4]),f.strokeStyle="#ccc",f.lineWidth=1.5,f.strokeRect(4,4,a-8,c-8),f.setLineDash([]);const p=Math.max(12,Math.min(16,Math.floor(a/30)));f.fillStyle="#999",f.font=`${p}px sans-serif`,f.textAlign="center",f.textBaseline="middle";const h=Qq(f,t,a-40),g=p*1.6,y=h.length*g,E=c/2-y/2+g/2;h.forEach((b,T)=>{f.fillText(b,a/2,E+T*g)})}s.replaceChild(u,o),r.push({parent:s,placeholder:u,original:o})}),r}function e8(e){e.forEach(({parent:t,placeholder:n,original:r})=>{t.replaceChild(r,n)})}const t8=["id","aria-label","aria-disabled"],n8=["onClick"],r8=["name","value","checked","disabled","onChange"],o8={class:"segmented__label"},i8=Rt({__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=Oe(),s=Oe({opacity:"0"}),a=ue(()=>n.segProps?.value||"value"),c=ue(()=>n.segProps?.label||"label"),u=ue(()=>n.segProps?.disabled||"disabled");function f(T){return typeof T=="object"&&T!==null?T[a.value]:T}function p(T){return typeof T=="object"&&T!==null?T[c.value]:T}function h(T){return n.disabled?!0:typeof T=="object"&&T!==null?!!T[u.value]:!1}const g=ue(()=>n.options.map(T=>typeof T=="object"&&T!==null?{...T,[a.value]:T[a.value],[c.value]:T[c.value],[u.value]:T[u.value]}:T));function y(T){return f(T)===n.modelValue}function E(T){if(h(T))return;const v=f(T);v!==n.modelValue&&(r("update:modelValue",v),r("change",v))}function b(){Ur(()=>{const T=o.value?.parentElement;if(!T)return;const v=T.querySelectorAll(".segmented__item");let w=null;for(let N=0;N<v.length;N++){const O=v.item(N);if(O&&O.classList.contains("is-selected")){w=O;break}}if(!w){s.value={opacity:"0"};return}const A=T.getBoundingClientRect(),S=w.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${S.width}px`,height:`${S.height}px`,transform:`translateY(${S.top-A.top}px)`}:s.value={opacity:"1",width:`${S.width}px`,height:`${S.height}px`,transform:`translateX(${S.left-A.left}px)`}})}return gt(()=>n.modelValue,b),gt(()=>n.options,b),gt(()=>n.direction,b),Er(b),(T,v)=>(Se(),pt("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:xt(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[mt("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Bn(s.value)},null,4),(Se(!0),pt(Vt,null,$s(g.value,(w,A)=>(Se(),pt("label",{key:f(w),class:xt(["segmented__item",{"is-selected":y(w),"is-disabled":h(w)}]),onClick:S=>E(w)},[mt("input",{type:"radio",class:"segmented__input",name:e.name,value:f(w),checked:y(w),disabled:h(w),onChange:S=>E(w)},null,40,r8),mt("span",o8,[ni(T.$slots,"default",{item:w,index:A},()=>[Wc(Oo(p(w)),1)],!0)])],10,n8))),128))],10,t8))}}),s8=Sr(i8,[["__scopeId","data-v-1ee57095"]]),a8={class:"ec-list"},l8={class:"ec-actions"},c8=Rt({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Fi(),n=aC();return(r,o)=>(Se(),pt("div",{class:xt(["ec-outer",Ue(n)?"ec-outer--dark":"ec-outer--light"])},[mt("div",{class:xt(["ec-inner",Ue(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=mt("div",{class:"ec-icon"},"🔧",-1)),mt("h4",{class:xt(["ec-title",Ue(n)?"ec-title--dark":"ec-title--light"])},Oo(Ue(t)("comp.compileError")),3),mt("div",a8,[(Se(!0),pt(Vt,null,$s(e.error,(s,a)=>(Se(),pt("div",{key:a,class:xt(["ec-item",Ue(n)?"ec-item--dark":"ec-item--light"])},Oo(s),3))),128))]),mt("div",l8,[ni(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),hw=Sr(c8,[["__scopeId","data-v-5cf301e4"]]),u8={class:"wc-list"},f8={class:"wc-actions"},d8=Rt({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Fi(),n=aC();return(r,o)=>(Se(),pt("div",{class:xt(["wc-outer",Ue(n)?"wc-outer--dark":"wc-outer--light"])},[mt("div",{class:xt(["wc-inner",Ue(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=mt("div",{class:"wc-icon"},"⚠️",-1)),mt("h4",{class:xt(["wc-title",Ue(n)?"wc-title--dark":"wc-title--light"])},Oo(Ue(t)("comp.compileWarn")),3),mt("div",u8,[(Se(!0),pt(Vt,null,$s(e.warn,(s,a)=>(Se(),pt("div",{key:a,class:xt(["wc-item",Ue(n)?"wc-item--dark":"wc-item--light"])},Oo(s),3))),128))]),mt("div",f8,[ni(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),p8=Sr(d8,[["__scopeId","data-v-cce09743"]]),h8=Rt({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=Ds("bodyRef");return t({bodyRef:n}),(r,o)=>(Se(),pt("div",{class:xt(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(Se(),pt("div",{key:0,class:xt(["card__header",e.headerClass])},[ni(r.$slots,"header",{},()=>[Wc(Oo(e.header),1)],!0)],2)):Mr("",!0),mt("div",{ref_key:"bodyRef",ref:n,class:xt(["card__body",e.bodyClass]),style:Bn(e.bodyStyle)},[ni(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(Se(),pt("div",{key:1,class:xt(["card__footer",e.footerClass])},[ni(r.$slots,"footer",{},()=>[Wc(Oo(e.footer),1)],!0)],2)):Mr("",!0)],2))}}),Kk=Sr(h8,[["__scopeId","data-v-36db9d87"]]),m8=Rt({__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=Oe(r.initialIndex),a=Oe(!1),c=Oe(!1),u=Oe(),f=Oe([]);function p(z){f.value.push(z)}function h(z){const ee=f.value.findIndex(ae=>ae.uid===z);ee!==-1&&(f.value.splice(ee,1),s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)))}const g=ue(()=>r.direction==="vertical"),y=ue(()=>r.type==="card"),E=ue(()=>r.cardScale);Ti("carousel",{items:f,addItem:p,removeItem:h,activeIndex:s,isVertical:g,isCard:y,cardScale:E,translating:ue(()=>a.value),animating:ue(()=>a.value),slideTo:N});const b=ue(()=>{const z={};return r.height&&r.height!=="auto"&&(z.height=r.height),z}),T=ue(()=>{if(y.value)return{};if(f.value.length===0)return{};const ee=-s.value*100;return g.value?{transform:`translateY(${ee}%)`}:{transform:`translateX(${ee}%)`}}),v=ue(()=>r.trigger==="click"?"click":"mouseenter"),w=ue(()=>g.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),A=ue(()=>g.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function S(z){const ee=f.value.length;return ee===0?0:r.loop?(z%ee+ee)%ee:Math.max(0,Math.min(z,ee-1))}function N(z){if(f.value.length===0)return;const ae=S(z);if(ae===s.value)return;const de=s.value;s.value=ae,a.value=!0,o("change",ae,de),setTimeout(()=>{a.value=!1},400)}function O(){N(s.value+1)}function I(){N(s.value-1)}function k(z){if(typeof z=="number"){N(z);return}const ee=f.value.findIndex(ae=>ae.name===z);ee!==-1&&N(ee)}let D=null;function B(){K(),!(!r.autoplay||f.value.length<=1)&&(D=setInterval(()=>{c.value&&r.pauseOnHover||O()},r.interval))}function K(){D!==null&&(clearInterval(D),D=null)}function le(){c.value=!0}function se(){c.value=!1}return gt(()=>f.value.length,()=>{s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)),r.autoplay&&B()}),gt(()=>r.autoplay,z=>{z?B():K()}),gt(()=>r.interval,()=>{r.autoplay&&B()}),Er(()=>{r.autoplay&&B()}),Cu(()=>{K()}),t({activeIndex:s,setActiveItem:k,prev:I,next:O}),(z,ee)=>(Se(),pt("div",{ref_key:"carouselRef",ref:u,class:xt(["carousel",[`carousel--${e.direction}`]]),style:Bn(b.value),onMouseenter:le,onMouseleave:se},[mt("div",{class:xt(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[mt("div",{class:xt(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":a.value,"carousel__track--motion-blur":e.motionBlur&&a.value}]),style:Bn(T.value)},[ni(z.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&f.value.length>1?(Se(),pt("button",{key:0,class:xt(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(w.value),onClick:Mb(I,["stop"])},[...ee[0]||(ee[0]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Mr("",!0),e.arrow!=="never"&&f.value.length>1?(Se(),pt("button",{key:1,class:xt(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(A.value),onClick:Mb(O,["stop"])},[...ee[1]||(ee[1]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Mr("",!0),f.value.length>1?(Se(),pt("ul",{key:2,class:xt(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(Se(!0),pt(Vt,null,$s(f.value,(ae,de)=>(Se(),pt("li",Nr({key:ae.uid,class:["carousel__indicator",{"carousel__indicator--active":de===s.value}]},{[_c(v.value)]:ve=>k(de)}),[mt("span",null,Oo(ae.label||""),1)],16))),128))],2)):Mr("",!0)],38))}}),qk=Sr(m8,[["__scopeId","data-v-44ca82d0"]]),g8=Rt({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=Oe(!1),r=En("carousel"),o=Oe(0);Er(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Cu(()=>{r?.removeItem(o.value)});const s=ue(()=>r?.items.value??[]),a=ue(()=>r?.activeIndex.value??0),c=ue(()=>r?.isCard.value??!1),u=ue(()=>r?.cardScale.value??.83),f=ue(()=>s.value.findIndex(b=>b.uid===o.value)),p=ue(()=>f.value===a.value),h=ue(()=>{if(!c.value)return!1;const b=s.value.length;return b<=1?!1:f.value===(a.value-1+b)%b}),g=ue(()=>{if(!c.value)return!1;const b=s.value.length;return b<=1?!1:f.value===(a.value+1)%b}),y=ue(()=>{if(c.value&&s.value.length>1){const b=u.value;return p.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:h.value?{transform:`translateX(-30%) scale(${b})`,zIndex:2,opacity:.6}:g.value?{transform:`translateX(30%) scale(${b})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${b})`,zIndex:1,opacity:0}}return{}});function E(){c.value&&(p.value||(h.value||g.value)&&r?.slideTo(f.value))}return(b,T)=>wp((Se(),pt("div",{class:xt(["carousel-item",{"carousel-item--card":c.value,"carousel-item--active":p.value,"carousel-item--prev":h.value,"carousel-item--next":g.value}]),style:Bn(y.value),onClick:E},[ni(b.$slots,"default",{},void 0,!0)],6)),[[fE,n.value]])}}),Yk=Sr(g8,[["__scopeId","data-v-6046a978"]]),y8={class:"async-comp-wrapper"},b8={key:0,class:"async-comp-error screenshot-fallback"},_8={class:"toggle-btn active error"},v8=["src"],w8={key:1,class:"async-comp-error"},E8={key:2,class:"async-comp-error"},S8={class:"toggle-btn active warn"},C8=Rt({__name:"index",props:{loading:{type:Boolean},classObj:{},currentRenderError:{},currentRenderWarn:{},screenshotUrl:{}},setup(e,{expose:t}){const n=e,r=Ds("compContainer"),o=Oe(!0),s=Oe(!1),a=ue(()=>n.currentRenderError.length>0?!1:n.currentRenderWarn.length>0?!s.value:!0);return t({compContainer:r}),(c,u)=>{const f=Nh("Icon"),p=wM("loading");return wp((Se(),pt("div",y8,[wp(mt("div",{ref_key:"compContainer",ref:r,class:xt(["async-comp-container",e.classObj])},null,2),[[fE,a.value]]),e.currentRenderError.length&&e.screenshotUrl?(Se(),pt("div",b8,[mt("div",{class:"screenshot-toggle",onClick:u[0]||(u[0]=h=>o.value=!o.value)},[mt("div",_8,[o.value?(Se(),_t(f,{key:0,icon:"material-symbols:error-outline-rounded"})):(Se(),_t(f,{key:1,icon:"material-symbols:broken-image-outline-rounded"}))])]),o.value?(Se(),pt("img",{key:0,src:e.screenshotUrl,class:"screenshot-img",alt:"组件预览截图"},null,8,v8)):(Se(),_t(Ue(hw),{key:1,error:e.currentRenderError},null,8,["error"]))])):e.currentRenderError.length?(Se(),pt("div",w8,[Gt(Ue(hw),{error:e.currentRenderError},null,8,["error"])])):e.currentRenderWarn.length?(Se(),pt("div",E8,[mt("div",{class:"screenshot-toggle",onClick:u[1]||(u[1]=h=>s.value=!s.value)},[mt("div",S8,[s.value?(Se(),_t(f,{key:1,icon:"material-symbols:visibility-outline-rounded"})):(Se(),_t(f,{key:0,icon:"material-symbols:warning-outline-rounded"}))])]),s.value?(Se(),_t(Ue(p8),{key:0,warn:e.currentRenderWarn},null,8,["warn"])):Mr("",!0)])):Mr("",!0)])),[[p,e.loading]])}}}),Xk=Sr(C8,[["__scopeId","data-v-d88466a0"]]),k8="modulepreload",x8=function(e){return"/item/"+e},mw={},T8=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let f=function(p){return Promise.all(p.map(h=>Promise.resolve(h).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};var a=f;document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),u=c?.nonce||c?.getAttribute("nonce");o=f(n.map(p=>{if(p=x8(p),p in mw)return;mw[p]=!0;const h=p.endsWith(".css"),g=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${g}`))return;const y=document.createElement("link");if(y.rel=h?"stylesheet":k8,h||(y.as="script"),y.crossOrigin="",y.href=p,u&&y.setAttribute("nonce",u),document.head.appendChild(y),h)return new Promise((E,b)=>{y.addEventListener("load",E),y.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${p}`)))})}))}function s(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return o.then(c=>{for(const u of c||[])u.status==="rejected"&&s(u.reason);return t().catch(s)})},Jk=Symbol("compRenderEvent");function O8(){const e=Oe(0);return Ti(Jk,()=>{e.value++}),{renderEvent:e}}function A8(){const e=En(Jk,null);return{notifyRendered:()=>e?.()}}function Qk(e,t){const{loaderError:n,loaderWarn:r}=t,{sendMessageToTop:o}=Us(),s=js(),{params:{instanceUid:a}}=Mo(),{notifyRendered:c}=A8(),u=Oe(!1),f=Oe(""),p=Oe(""),h=Oe(""),g=Oe(""),y=Oe([]),E=ue(()=>({"async-comp-overflow-auto":e.panelType===Ce.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":e.panelType===Ce.COMP_EDIT_TAB_TYPE_MINI})),b=ue(()=>{const se=[...y.value,f.value,p.value,n.value,g.value].filter(Boolean);return[...new Set(se)]}),T=ue(()=>{const se=[h.value,...r.value].filter(Boolean);return[...new Set(se)]}),v=ue(()=>e.signedUrls?.length&&e.signedUrls.find(z=>z.path===`/${Ce.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),w=se=>se instanceof Error?se.message:typeof se=="string"?se:"未知错误",A=()=>{f.value="",p.value="",h.value="",n.value="",r.value=[],g.value="",y.value=[]},S=new Set;let N=null;const O=se=>{S.forEach(({params:z,callback:ee})=>{ee(ov(se,z.mode,z.width,z.height))})},I=se=>{if(e.panelType!==Ce.COMP_EDIT_TAB_TYPE_MINI||N)return;const z=se();z&&(N=new ResizeObserver(()=>{const ee=se();ee&&O(ee)}),N.observe(z))},k=(se,z,ee)=>{const ae={params:se,callback:z};return S.add(ae),ee&&z(ov(ee,se.mode,se.width,se.height)),()=>{S.delete(ae)}},D=()=>{N?.disconnect(),N=null,S.clear()},B=()=>{const ee=(e.dep||[]).filter(de=>!e.depToFile[de.name]).map(de=>`${de.parent?.name||de.name}${de.version||""} uninstalled`),ae=[...new Set(ee)];ae.length&&(g.value=ae.join(", "))},K=async se=>{const z=[...e.dep];return z.sort((ae,de)=>{for(const ve of se){if(ae.name===ve)return-1;if(de.name===ve)return 1}return 0}),await z.reduce(async(ae,de)=>{const{name:ve}=de,ze=await ae,Ut=e.depToFile[ve];if(!Ut||JE.PREBUILD_MODULE_SKIP_EXT.find(De=>Ut.endsWith(De)))return ze;try{const De=await T8(()=>import(`${Ce.MODULE_LOAD_PREFIX}/${Ut}`),[]);ze[ve]={...De.default,...De,__esModule:!0}}catch(De){console.warn(`[cacheModule] dep "${ve}" preload failed, will be handled by loader:`,w(De))}return ze},Promise.resolve({}))};function le(se){gt(()=>e.finalEntryUrl,async z=>{se.unmount(),z&&(await Ur(),await se.handleCompRender())},{immediate:!0}),gt(()=>[b.value,T.value],([z,ee])=>{!z.length&&!ee.length||z.length>0&&se.unmount()}),gt(()=>({hasError:b.value.length>0,hasWarn:T.value.length>0}),({hasError:z,hasWarn:ee})=>{o(Qe.COMP_RENDER_ERROR_SET,{hasError:z,hasWarn:ee},s,a)},{immediate:!0}),Fs(()=>{se.unmount(),D()})}return{sendMessageToTop:o,topOrigin:s,instanceUid:a,notifyRendered:c,loading:u,compRenderError:f,compCodeError:p,compCodeWarn:h,moduleNotInstalledError:g,modulesLoadError:y,loaderError:n,loaderWarn:r,classObj:E,currentRenderError:b,currentRenderWarn:T,screenshotUrl:v,getErrorMessage:w,resetAllError:A,notifyScaleListeners:O,setupScaleObserver:I,addScaleListener:k,checkDepModuleExist:B,cacheModule:K,setupLifecycle:le}}const dh=(e,t)=>t.some(n=>e instanceof n);let gw,yw;function P8(){return gw||(gw=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function I8(){return yw||(yw=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const ph=new WeakMap,up=new WeakMap,Wu=new WeakMap;function L8(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{n(Ai(e.result)),o()},a=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",a)});return Wu.set(t,e),t}function R8(e){if(ph.has(e))return;const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{n(),o()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)});ph.set(e,t)}let hh={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return ph.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ai(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 Zk(e){hh=e(hh)}function M8(e){return I8().includes(e)?function(...t){return e.apply(mh(this),t),Ai(this.request)}:function(...t){return Ai(e.apply(mh(this),t))}}function N8(e){return typeof e=="function"?M8(e):(e instanceof IDBTransaction&&R8(e),dh(e,P8())?new Proxy(e,hh):e)}function Ai(e){if(e instanceof IDBRequest)return L8(e);if(up.has(e))return up.get(e);const t=N8(e);return t!==e&&(up.set(e,t),Wu.set(t,e)),t}const mh=e=>Wu.get(e);function D8(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const a=indexedDB.open(e,t),c=Ai(a);return r&&a.addEventListener("upgradeneeded",u=>{r(Ai(a.result),u.oldVersion,u.newVersion,Ai(a.transaction),u)}),n&&a.addEventListener("blocked",u=>n(u.oldVersion,u.newVersion,u)),c.then(u=>{s&&u.addEventListener("close",()=>s()),o&&u.addEventListener("versionchange",f=>o(f.oldVersion,f.newVersion,f))}).catch(()=>{}),c}const F8=["get","getKey","getAll","getAllKeys","count"],$8=["put","add","delete","clear"],fp=new Map;function bw(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(fp.get(t))return fp.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=$8.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||F8.includes(n)))return;const s=async function(a,...c){const u=this.transaction(a,o?"readwrite":"readonly");let f=u.store;return r&&(f=f.index(c.shift())),(await Promise.all([f[n](...c),o&&u.done]))[0]};return fp.set(t,s),s}Zk(e=>({...e,get:(t,n,r)=>bw(t,n)||e.get(t,n,r),has:(t,n)=>!!bw(t,n)||e.has(t,n)}));const j8=["continue","continuePrimaryKey","advance"],_w={},gh=new WeakMap,ex=new WeakMap,U8={get(e,t){if(!j8.includes(t))return e[t];let n=_w[t];return n||(n=_w[t]=function(...r){gh.set(this,ex.get(this)[t](...r))}),n}};async function*z8(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,U8);for(ex.set(n,t),Wu.set(n,mh(t));t;)yield n,t=await(gh.get(n)||t.continue()),gh.delete(n)}function vw(e,t){return t===Symbol.asyncIterator&&dh(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&dh(e,[IDBIndex,IDBObjectStore])}Zk(e=>({...e,get(t,n,r){return vw(t,n)?z8:e.get(t,n,r)},has(t,n){return vw(t,n)||e.has(t,n)}}));let Ko=null;const su=AS("indexedDB",{actions:{async open(e=1){return Ko||(Ko=await D8(Ce.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(Ce.INDEX_DB_TABLE_NAME)||t.createObjectStore(Ce.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),Ko)},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(){Ko?.close(),Ko=null},async deleteDatabase(){if(Ko){const e=Ko.name;this.close(),indexedDB.deleteDatabase(e)}}}});function tx(e,t){return function(){return e.apply(t,arguments)}}const{toString:B8}=Object.prototype,{getPrototypeOf:Hu}=Object,{iterator:Vu,toStringTag:nx}=Symbol,Gu=(e=>t=>{const n=B8.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Br=e=>(e=e.toLowerCase(),t=>Gu(t)===e),Ku=e=>t=>typeof t===e,{isArray:zs}=Array,Ms=Ku("undefined");function el(e){return e!==null&&!Ms(e)&&e.constructor!==null&&!Ms(e.constructor)&&Hn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rx=Br("ArrayBuffer");function W8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rx(e.buffer),t}const H8=Ku("string"),Hn=Ku("function"),ox=Ku("number"),tl=e=>e!==null&&typeof e=="object",V8=e=>e===!0||e===!1,Ic=e=>{if(Gu(e)!=="object")return!1;const t=Hu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(nx in e)&&!(Vu in e)},G8=e=>{if(!tl(e)||el(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},K8=Br("Date"),q8=Br("File"),Y8=e=>!!(e&&typeof e.uri<"u"),X8=e=>e&&typeof e.getParts<"u",J8=Br("Blob"),Q8=Br("FileList"),Z8=e=>tl(e)&&Hn(e.pipe);function e6(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ww=e6(),Ew=typeof ww.FormData<"u"?ww.FormData:void 0,t6=e=>{if(!e)return!1;if(Ew&&e instanceof Ew)return!0;const t=Hu(e);if(!t||t===Object.prototype||!Hn(e.append))return!1;const n=Gu(e);return n==="formdata"||n==="object"&&Hn(e.toString)&&e.toString()==="[object FormData]"},n6=Br("URLSearchParams"),[r6,o6,i6,s6]=["ReadableStream","Request","Response","Headers"].map(Br),a6=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function nl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),zs(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(el(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let c;for(r=0;r<a;r++)c=s[r],t.call(null,e[c],c,e)}}function ix(e,t){if(el(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 ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sx=e=>!Ms(e)&&e!==ki;function yh(){const{caseless:e,skipUndefined:t}=sx(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=e&&ix(n,s)||s;Ic(n[a])&&Ic(o)?n[a]=yh(n[a],o):Ic(o)?n[a]=yh({},o):zs(o)?n[a]=o.slice():(!t||!Ms(o))&&(n[a]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&nl(arguments[o],r);return n}const l6=(e,t,n,{allOwnKeys:r}={})=>(nl(t,(o,s)=>{n&&Hn(o)?Object.defineProperty(e,s,{value:tx(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),c6=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),u6=(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)},f6=(e,t,n,r)=>{let o,s,a;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=n!==!1&&Hu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},d6=(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},p6=e=>{if(!e)return null;if(zs(e))return e;let t=e.length;if(!ox(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},h6=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hu(Uint8Array)),m6=(e,t)=>{const n=(e&&e[Vu]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},g6=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},y6=Br("HTMLFormElement"),b6=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Sw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_6=Br("RegExp"),ax=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};nl(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},v6=e=>{ax(e,(t,n)=>{if(Hn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Hn(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+"'")})}})},w6=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return zs(e)?r(e):r(String(e).split(t)),n},E6=()=>{},S6=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function C6(e){return!!(e&&Hn(e.append)&&e[nx]==="FormData"&&e[Vu])}const k6=e=>{const t=new Array(10),n=(r,o)=>{if(tl(r)){if(t.indexOf(r)>=0)return;if(el(r))return r;if(!("toJSON"in r)){t[o]=r;const s=zs(r)?[]:{};return nl(r,(a,c)=>{const u=n(a,o+1);!Ms(u)&&(s[c]=u)}),t[o]=void 0,s}}return r};return n(e,0)},x6=Br("AsyncFunction"),T6=e=>e&&(tl(e)||Hn(e))&&Hn(e.then)&&Hn(e.catch),lx=((e,t)=>e?setImmediate:t?((n,r)=>(ki.addEventListener("message",({source:o,data:s})=>{o===ki&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),ki.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Hn(ki.postMessage)),O6=typeof queueMicrotask<"u"?queueMicrotask.bind(ki):typeof process<"u"&&process.nextTick||lx,A6=e=>e!=null&&Hn(e[Vu]),q={isArray:zs,isArrayBuffer:rx,isBuffer:el,isFormData:t6,isArrayBufferView:W8,isString:H8,isNumber:ox,isBoolean:V8,isObject:tl,isPlainObject:Ic,isEmptyObject:G8,isReadableStream:r6,isRequest:o6,isResponse:i6,isHeaders:s6,isUndefined:Ms,isDate:K8,isFile:q8,isReactNativeBlob:Y8,isReactNative:X8,isBlob:J8,isRegExp:_6,isFunction:Hn,isStream:Z8,isURLSearchParams:n6,isTypedArray:h6,isFileList:Q8,forEach:nl,merge:yh,extend:l6,trim:a6,stripBOM:c6,inherits:u6,toFlatObject:f6,kindOf:Gu,kindOfTest:Br,endsWith:d6,toArray:p6,forEachEntry:m6,matchAll:g6,isHTMLForm:y6,hasOwnProperty:Sw,hasOwnProp:Sw,reduceDescriptors:ax,freezeMethods:v6,toObjectSet:w6,toCamelCase:b6,noop:E6,toFiniteNumber:S6,findKey:ix,global:ki,isContextDefined:sx,isSpecCompliantForm:C6,toJSONObject:k6,isAsyncFn:x6,isThenable:T6,setImmediate:lx,asap:O6,isIterable:A6};let Ae=class cx extends Error{static from(t,n,r,o,s,a){const c=new cx(t.message,n||t.code,r,o,s);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),a&&Object.assign(c,a),c}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:q.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 P6=null;function bh(e){return q.isPlainObject(e)||q.isArray(e)}function ux(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function dp(e,t,n){return e?e.concat(t).map(function(r,o){return r=ux(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function I6(e){return q.isArray(e)&&!e.some(bh)}const L6=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function qu(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,T){return!q.isUndefined(T[b])});const r=n.metaTokens,o=n.visitor||h,s=n.dots,a=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?100:n.maxDepth,f=c&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function p(b){if(b===null)return"";if(q.isDate(b))return b.toISOString();if(q.isBoolean(b))return b.toString();if(!f&&q.isBlob(b))throw new Ae("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(b)||q.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function h(b,T,v){let w=b;if(q.isReactNative(t)&&q.isReactNativeBlob(b))return t.append(dp(v,T,s),p(b)),!1;if(b&&!v&&typeof b=="object"){if(q.endsWith(T,"{}"))T=r?T:T.slice(0,-2),b=JSON.stringify(b);else if(q.isArray(b)&&I6(b)||(q.isFileList(b)||q.endsWith(T,"[]"))&&(w=q.toArray(b)))return T=ux(T),w.forEach(function(A,S){!(q.isUndefined(A)||A===null)&&t.append(a===!0?dp([T],S,s):a===null?T:T+"[]",p(A))}),!1}return bh(b)?!0:(t.append(dp(v,T,s),p(b)),!1)}const g=[],y=Object.assign(L6,{defaultVisitor:h,convertValue:p,isVisitable:bh});function E(b,T,v=0){if(!q.isUndefined(b)){if(v>u)throw new Ae("Object is too deeply nested ("+v+" levels). Max depth: "+u,Ae.ERR_FORM_DATA_DEPTH_EXCEEDED);if(g.indexOf(b)!==-1)throw Error("Circular reference detected in "+T.join("."));g.push(b),q.forEach(b,function(w,A){(!(q.isUndefined(w)||w===null)&&o.call(t,w,q.isString(A)?A.trim():A,T,y))===!0&&E(w,T?T.concat(A):[A],v+1)}),g.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return E(e),t}function Cw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function vm(e,t){this._pairs=[],e&&qu(e,this,t)}const fx=vm.prototype;fx.append=function(e,t){this._pairs.push([e,t])};fx.toString=function(e){const t=e?function(n){return e.call(this,n,Cw)}:Cw;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function R6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function dx(e,t,n){if(!t)return e;const r=n&&n.encode||R6,o=q.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let a;if(s?a=s(t,o):a=q.isURLSearchParams(t)?t.toString():new vm(t,o).toString(r),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class kw{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){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const wm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},M6=typeof URLSearchParams<"u"?URLSearchParams:vm,N6=typeof FormData<"u"?FormData:null,D6=typeof Blob<"u"?Blob:null,F6={isBrowser:!0,classes:{URLSearchParams:M6,FormData:N6,Blob:D6},protocols:["http","https","file","blob","url","data"]},Em=typeof window<"u"&&typeof document<"u",_h=typeof navigator=="object"&&navigator||void 0,$6=Em&&(!_h||["ReactNative","NativeScript","NS"].indexOf(_h.product)<0),j6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",U6=Em&&window.location.href||"http://localhost",z6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Em,hasStandardBrowserEnv:$6,hasStandardBrowserWebWorkerEnv:j6,navigator:_h,origin:U6},Symbol.toStringTag,{value:"Module"})),wn={...z6,...F6};function B6(e,t){return qu(e,new wn.classes.URLSearchParams,{visitor:function(n,r,o,s){return wn.isNode&&q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function W6(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function H6(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 px(e){function t(n,r,o,s){let a=n[s++];if(a==="__proto__")return!0;const c=Number.isFinite(+a),u=s>=n.length;return a=!a&&q.isArray(o)?o.length:a,u?(q.hasOwnProp(o,a)?o[a]=q.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!c):((!o[a]||!q.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&q.isArray(o[a])&&(o[a]=H6(o[a])),!c)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(r,o)=>{t(W6(r),o,n,0)}),n}return null}const ls=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function V6(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const rl={transitional:wm,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);if(o&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(px(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const a=ls(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return B6(e,a).toString();if((s=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const c=ls(this,"env"),u=c&&c.FormData;return qu(s?{"files[]":e}:e,u&&new u,a)}}return o||r?(t.setContentType("application/json",!1),V6(e)):e}],transformResponse:[function(e){const t=ls(this,"transitional")||rl.transitional,n=t&&t.forcedJSONParsing,r=ls(this,"responseType"),o=r==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,ls(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?Ae.from(a,Ae.ERR_BAD_RESPONSE,this,null,ls(this,"response")):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{rl.headers[e]={}});const G6=q.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"]),K6=e=>{const t={};let n,r,o;return e&&e.split(`
49
+ `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&G6[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},xw=Symbol("internals"),q6=/[^\x09\x20-\x7E\x80-\xFF]/g;function Y6(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 ua(e){return e&&String(e).trim().toLowerCase()}function X6(e){return Y6(e.replace(q6,""))}function Lc(e){return e===!1||e==null?e:q.isArray(e)?e.map(Lc):X6(String(e))}function J6(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 Q6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pp(e,t,n,r,o){if(q.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function Z6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function eY(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let Vn=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(c,u,f){const p=ua(u);if(!p)throw new Error("header name must be a non-empty string");const h=q.findKey(o,p);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||u]=Lc(c))}const a=(c,u)=>q.forEach(c,(f,p)=>s(f,p,u));if(q.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(q.isString(t)&&(t=t.trim())&&!Q6(t))a(K6(t),n);else if(q.isObject(t)&&q.isIterable(t)){let c={},u,f;for(const p of t){if(!q.isArray(p))throw TypeError("Object iterator must return a key-value pair");c[f=p[0]]=(u=c[f])?q.isArray(u)?[...u,p[1]]:[u,p[1]]:p[1]}a(c,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=ua(t),t){const r=q.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return J6(o);if(q.isFunction(n))return n.call(this,o,r);if(q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ua(t),t){const r=q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||pp(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=ua(a),a){const c=q.findKey(r,a);c&&(!n||pp(r,r[c],c,n))&&(delete r[c],o=!0)}}return q.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||pp(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return q.forEach(this,(o,s)=>{const a=q.findKey(r,s);if(a){n[a]=Lc(o),delete n[s];return}const c=t?Z6(s):String(s).trim();c!==s&&delete n[s],n[c]=Lc(o),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&q.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(`
50
+ `)}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 n=(this[xw]=this[xw]={accessors:{}}).accessors,r=this.prototype;function o(s){const a=ua(s);n[a]||(eY(r,s),n[a]=!0)}return q.isArray(t)?t.forEach(o):o(t),this}};Vn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Vn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});q.freezeMethods(Vn);function hp(e,t){const n=this||rl,r=t||n,o=Vn.from(r.headers);let s=r.data;return q.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function hx(e){return!!(e&&e.__CANCEL__)}let ol=class extends Ae{constructor(t,n,r){super(t??"canceled",Ae.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function mx(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 tY(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nY(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[s];a||(a=u),n[o]=c,r[o]=u;let p=s,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a<t)return;const g=f&&u-f;return g?Math.round(h*1e3/g):void 0}}function rY(e,t){let n=0,r=1e3/t,o,s;const a=(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?a(c,u):(o=c,s||(s=setTimeout(()=>{s=null,a(o)},r-f)))},()=>o&&a(o)]}const au=(e,t,n=3)=>{let r=0;const o=nY(50,250);return rY(s=>{const a=s.loaded,c=s.lengthComputable?s.total:void 0,u=c!=null?Math.min(a,c):a,f=Math.max(0,u-r),p=o(f);r=Math.max(r,u);const h={loaded:u,total:c,progress:c?u/c:void 0,bytes:f,rate:p||void 0,estimated:p&&c?(c-u)/p:void 0,event:s,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(h)},n)},Tw=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ow=e=>(...t)=>q.asap(()=>e(...t)),oY=wn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wn.origin),wn.navigator&&/(msie|trident)/i.test(wn.navigator.userAgent)):()=>!0,iY=wn.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&c.push(`path=${r}`),q.isString(o)&&c.push(`domain=${o}`),s===!0&&c.push("secure"),q.isString(a)&&c.push(`SameSite=${a}`),document.cookie=c.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 sY(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function aY(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gx(e,t,n){let r=!sY(t);return e&&(r||n===!1)?aY(e,t):t}const Aw=e=>e instanceof Vn?{...e}:e;function Ni(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(f,p,h,g){return q.isPlainObject(f)&&q.isPlainObject(p)?q.merge.call({caseless:g},f,p):q.isPlainObject(p)?q.merge({},p):q.isArray(p)?p.slice():p}function o(f,p,h,g){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f,h,g)}else return r(f,p,h,g)}function s(f,p){if(!q.isUndefined(p))return r(void 0,p)}function a(f,p){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f)}else return r(void 0,p)}function c(f,p,h){if(q.hasOwnProp(t,h))return r(f,p);if(q.hasOwnProp(e,h))return r(void 0,f)}const u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:c,headers:(f,p,h)=>o(Aw(f),Aw(p),h,!0)};return q.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=q.hasOwnProp(u,f)?u[f]:o,h=q.hasOwnProp(e,f)?e[f]:void 0,g=q.hasOwnProp(t,f)?t[f]:void 0,y=p(h,g,f);q.isUndefined(y)&&p!==c||(n[f]=y)}),n}const yx=e=>{const t=Ni({},e),n=g=>q.hasOwnProp(t,g)?t[g]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let c=n("headers");const u=n("auth"),f=n("baseURL"),p=n("allowAbsoluteUrls"),h=n("url");if(t.headers=c=Vn.from(c),t.url=dx(gx(f,h,p),e.params,e.paramsSerializer),u&&c.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),q.isFormData(r)){if(wn.hasStandardBrowserEnv||wn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(q.isFunction(r.getHeaders)){const g=r.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([E,b])=>{y.includes(E.toLowerCase())&&c.set(E,b)})}}if(wn.hasStandardBrowserEnv&&(q.isFunction(o)&&(o=o(t)),o===!0||o==null&&oY(t.url))){const g=s&&a&&iY.read(a);g&&c.set(s,g)}return t},lY=typeof XMLHttpRequest<"u",cY=lY&&function(e){return new Promise(function(t,n){const r=yx(e);let o=r.data;const s=Vn.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=r,f,p,h,g,y;function E(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(f),r.signal&&r.signal.removeEventListener("abort",f)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,!0),b.timeout=r.timeout;function T(){if(!b)return;const w=Vn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};mx(function(S){t(S),E()},function(S){n(S),E()},A),b=null}"onloadend"in b?b.onloadend=T:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(T)},b.onabort=function(){b&&(n(new Ae("Request aborted",Ae.ECONNABORTED,e,b)),b=null)},b.onerror=function(w){const A=w&&w.message?w.message:"Network Error",S=new Ae(A,Ae.ERR_NETWORK,e,b);S.event=w||null,n(S),b=null},b.ontimeout=function(){let w=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const A=r.transitional||wm;r.timeoutErrorMessage&&(w=r.timeoutErrorMessage),n(new Ae(w,A.clarifyTimeoutError?Ae.ETIMEDOUT:Ae.ECONNABORTED,e,b)),b=null},o===void 0&&s.setContentType(null),"setRequestHeader"in b&&q.forEach(s.toJSON(),function(w,A){b.setRequestHeader(A,w)}),q.isUndefined(r.withCredentials)||(b.withCredentials=!!r.withCredentials),a&&a!=="json"&&(b.responseType=r.responseType),u&&([h,y]=au(u,!0),b.addEventListener("progress",h)),c&&b.upload&&([p,g]=au(c),b.upload.addEventListener("progress",p),b.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(f=w=>{b&&(n(!w||w.type?new ol(null,e,b):w),b.abort(),b=null)},r.cancelToken&&r.cancelToken.subscribe(f),r.signal&&(r.signal.aborted?f():r.signal.addEventListener("abort",f)));const v=tY(r.url);if(v&&wn.protocols.indexOf(v)===-1){n(new Ae("Unsupported protocol "+v+":",Ae.ERR_BAD_REQUEST,e));return}b.send(o||null)})},uY=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(f){if(!o){o=!0,c();const p=f instanceof Error?f:this.reason;r.abort(p instanceof Ae?p:new ol(p instanceof Error?p.message:p))}};let a=t&&setTimeout(()=>{a=null,s(new Ae(`timeout of ${t}ms exceeded`,Ae.ETIMEDOUT))},t);const c=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(s):f.removeEventListener("abort",s)}),e=null)};e.forEach(f=>f.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>q.asap(c),u}},fY=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},dY=async function*(e,t){for await(const n of pY(e))yield*fY(n,t)},pY=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()}},Pw=(e,t,n,r)=>{const o=dY(e,t);let s=0,a,c=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:p}=await o.next();if(f){c(),u.close();return}let h=p.byteLength;if(n){let g=s+=h;n(g)}u.enqueue(new Uint8Array(p))}catch(f){throw c(f),f}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},Iw=64*1024,{isFunction:yc}=q,hY=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:Lw,TextEncoder:Rw}=q.global,Mw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},mY=e=>{e=q.merge.call({skipUndefined:!0},hY,e);const{fetch:t,Request:n,Response:r}=e,o=t?yc(t):typeof fetch=="function",s=yc(n),a=yc(r);if(!o)return!1;const c=o&&yc(Lw),u=o&&(typeof Rw=="function"?(E=>b=>E.encode(b))(new Rw):async E=>new Uint8Array(await new n(E).arrayBuffer())),f=s&&c&&Mw(()=>{let E=!1;const b=new n(wn.origin,{body:new Lw,method:"POST",get duplex(){return E=!0,"half"}}),T=b.headers.has("Content-Type");return b.body!=null&&b.body.cancel(),E&&!T}),p=a&&c&&Mw(()=>q.isReadableStream(new r("").body)),h={stream:p&&(E=>E.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!h[E]&&(h[E]=(b,T)=>{let v=b&&b[E];if(v)return v.call(b);throw new Ae(`Response type '${E}' is not supported`,Ae.ERR_NOT_SUPPORT,T)})});const g=async E=>{if(E==null)return 0;if(q.isBlob(E))return E.size;if(q.isSpecCompliantForm(E))return(await new n(wn.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(q.isArrayBufferView(E)||q.isArrayBuffer(E))return E.byteLength;if(q.isURLSearchParams(E)&&(E=E+""),q.isString(E))return(await u(E)).byteLength},y=async(E,b)=>q.toFiniteNumber(E.getContentLength())??g(b);return async E=>{let{url:b,method:T,data:v,signal:w,cancelToken:A,timeout:S,onDownloadProgress:N,onUploadProgress:O,responseType:I,headers:k,withCredentials:D="same-origin",fetchOptions:B}=yx(E),K=t||fetch;I=I?(I+"").toLowerCase():"text";let le=uY([w,A&&A.toAbortSignal()],S),se=null;const z=le&&le.unsubscribe&&(()=>{le.unsubscribe()});let ee;try{if(O&&f&&T!=="get"&&T!=="head"&&(ee=await y(k,v))!==0){let Ze=new n(b,{method:"POST",body:v,duplex:"half"}),De;if(q.isFormData(v)&&(De=Ze.headers.get("content-type"))&&k.setContentType(De),Ze.body){const[dn,on]=Tw(ee,au(Ow(O)));v=Pw(Ze.body,Iw,dn,on)}}q.isString(D)||(D=D?"include":"omit");const ae=s&&"credentials"in n.prototype;if(q.isFormData(v)){const Ze=k.getContentType();Ze&&/^multipart\/form-data/i.test(Ze)&&!/boundary=/i.test(Ze)&&k.delete("content-type")}const de={...B,signal:le,method:T.toUpperCase(),headers:k.normalize().toJSON(),body:v,duplex:"half",credentials:ae?D:void 0};se=s&&new n(b,de);let ve=await(s?K(se,B):K(b,de));const ze=p&&(I==="stream"||I==="response");if(p&&(N||ze&&z)){const Ze={};["status","statusText","headers"].forEach(kn=>{Ze[kn]=ve[kn]});const De=q.toFiniteNumber(ve.headers.get("content-length")),[dn,on]=N&&Tw(De,au(Ow(N),!0))||[];ve=new r(Pw(ve.body,Iw,dn,()=>{on&&on(),z&&z()}),Ze)}I=I||"text";let Ut=await h[q.findKey(h,I)||"text"](ve,E);return!ze&&z&&z(),await new Promise((Ze,De)=>{mx(Ze,De,{data:Ut,headers:Vn.from(ve.headers),status:ve.status,statusText:ve.statusText,config:E,request:se})})}catch(ae){throw z&&z(),ae&&ae.name==="TypeError"&&/Load failed|fetch/i.test(ae.message)?Object.assign(new Ae("Network Error",Ae.ERR_NETWORK,E,se,ae&&ae.response),{cause:ae.cause||ae}):Ae.from(ae,ae&&ae.code,E,se,ae&&ae.response)}}},gY=new Map,bx=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,c=a,u,f,p=gY;for(;c--;)u=s[c],f=p.get(u),f===void 0&&p.set(u,f=c?new Map:mY(t)),p=f;return f};bx();const Sm={http:P6,xhr:cY,fetch:{get:bx}};q.forEach(Sm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Nw=e=>`- ${e}`,yY=e=>q.isFunction(e)||e===null||e===!1;function bY(e,t){e=q.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a<n;a++){r=e[a];let c;if(o=r,!yY(r)&&(o=Sm[(c=String(r)).toLowerCase()],o===void 0))throw new Ae(`Unknown adapter '${c}'`);if(o&&(q.isFunction(o)||(o=o.get(t))))break;s[c||"#"+a]=o}if(!o){const a=Object.entries(s).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=n?a.length>1?`since :
51
+ `+a.map(Nw).join(`
52
+ `):" "+Nw(a[0]):"as no adapter specified";throw new Ae("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const _x={getAdapter:bY,adapters:Sm};function mp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ol(null,e)}function Dw(e){return mp(e),e.headers=Vn.from(e.headers),e.data=hp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_x.getAdapter(e.adapter||rl.adapter,e)(e).then(function(t){return mp(e),t.data=hp.call(e,e.transformResponse,t),t.headers=Vn.from(t.headers),t},function(t){return hx(t)||(mp(e),t&&t.response&&(t.response.data=hp.call(e,e.transformResponse,t.response),t.response.headers=Vn.from(t.response.headers))),Promise.reject(t)})}const vx="1.15.2",Yu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yu[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Fw={};Yu.transitional=function(e,t,n){function r(o,s){return"[Axios v"+vx+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new Ae(r(s," has been removed"+(t?" in "+t:"")),Ae.ERR_DEPRECATED);return t&&!Fw[s]&&(Fw[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,a):!0}};Yu.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function _Y(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],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const c=e[s],u=c===void 0||a(c,s,e);if(u!==!0)throw new Ae("option "+s+" must be "+u,Ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ae("Unknown option "+s,Ae.ERR_BAD_OPTION)}}const Rc={assertOptions:_Y,validators:Yu},gr=Rc.validators;let Pi=class{constructor(e){this.defaults=e||{},this.interceptors={request:new kw,response:new kw}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=(()=>{if(!r.stack)return"";const s=r.stack.indexOf(`
53
+ `);return s===-1?"":r.stack.slice(s+1)})();try{if(!n.stack)n.stack=o;else if(o){const s=o.indexOf(`
54
+ `),a=s===-1?-1:o.indexOf(`
55
+ `,s+1),c=a===-1?"":o.slice(a+1);String(n.stack).endsWith(c)||(n.stack+=`
56
+ `+o)}}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Ni(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&Rc.assertOptions(n,{silentJSONParsing:gr.transitional(gr.boolean),forcedJSONParsing:gr.transitional(gr.boolean),clarifyTimeoutError:gr.transitional(gr.boolean),legacyInterceptorReqResOrdering:gr.transitional(gr.boolean)},!1),r!=null&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:Rc.assertOptions(r,{encode:gr.function,serialize:gr.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Rc.assertOptions(t,{baseUrl:gr.spelling("baseURL"),withXsrfToken:gr.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),t.headers=Vn.concat(s,o);const a=[];let c=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(t)===!1)return;c=c&&y.synchronous;const E=t.transitional||wm;E&&E.legacyInterceptorReqResOrdering?a.unshift(y.fulfilled,y.rejected):a.push(y.fulfilled,y.rejected)});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let f,p=0,h;if(!c){const y=[Dw.bind(this),void 0];for(y.unshift(...a),y.push(...u),h=y.length,f=Promise.resolve(t);p<h;)f=f.then(y[p++],y[p++]);return f}h=a.length;let g=t;for(;p<h;){const y=a[p++],E=a[p++];try{g=y(g)}catch(b){E.call(this,b);break}}try{f=Dw.call(this,g)}catch(y){return Promise.reject(y)}for(p=0,h=u.length;p<h;)f=f.then(u[p++],u[p++]);return f}getUri(e){e=Ni(this.defaults,e);const t=gx(e.baseURL,e.url,e.allowAbsoluteUrls);return dx(t,e.params,e.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){Pi.prototype[e]=function(t,n){return this.request(Ni(n||{},{method:e,url:t,data:(n||{}).data}))}});q.forEach(["post","put","patch"],function(e){function t(n){return function(r,o,s){return this.request(Ni(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Pi.prototype[e]=t(),Pi.prototype[e+"Form"]=t(!0)});let vY=class wx{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});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 a=new Promise(c=>{r.subscribe(c),s=c}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new ol(o,s,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 wx(function(n){t=n}),cancel:t}}};function wY(e){return function(t){return e.apply(null,t)}}function EY(e){return q.isObject(e)&&e.isAxiosError===!0}const vh={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(vh).forEach(([e,t])=>{vh[t]=e});function Ex(e){const t=new Pi(e),n=tx(Pi.prototype.request,t);return q.extend(n,Pi.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ex(Ni(e,r))},n}const Wt=Ex(rl);Wt.Axios=Pi;Wt.CanceledError=ol;Wt.CancelToken=vY;Wt.isCancel=hx;Wt.VERSION=vx;Wt.toFormData=qu;Wt.AxiosError=Ae;Wt.Cancel=Wt.CanceledError;Wt.all=function(e){return Promise.all(e)};Wt.spread=wY;Wt.isAxiosError=EY;Wt.mergeConfig=Ni;Wt.AxiosHeaders=Vn;Wt.formToJSON=e=>px(q.isHTMLForm(e)?new FormData(e):e);Wt.getAdapter=_x.getAdapter;Wt.HttpStatusCode=vh;Wt.default=Wt;const{Axios:LX,AxiosError:RX,CanceledError:MX,isCancel:NX,CancelToken:DX,VERSION:FX,all:$X,Cancel:jX,isAxiosError:UX,spread:zX,toFormData:BX,AxiosHeaders:WX,HttpStatusCode:HX,formToJSON:VX,getAdapter:GX,mergeConfig:KX}=Wt,Sx=new Map,SY={baseURL:"",timeout:1e4};function CY(e,t,n){const r=Wt.create({...SY,...t});return Sx.set(e,{instance:r,urlResolver:n}),r}async function Tt(e,t){const n=e.split("/")[0];if(!n)throw new Error("Instance name could not be extracted from url.");const r=Sx.get(n);if(!r)throw new Error(`Instance "${n}" not initialized. Call initInstance() first.`);if(!r.urlResolver)throw new Error(`Instance "${n}" has no urlResolver. Pass one to initInstance().`);return e=r.urlResolver(e),r.instance.request({url:e,...t})}async function kY(e,t){return Tt("__local__/api/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function xY(e,t){return Tt("__local__/api/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function TY(e,t){return Tt("__local__/api/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function OY(e,t){return Tt("__local__/api/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function AY(e,t){return Tt("__local__/api/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function PY(e,t){return Tt("__local__/api/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function IY(e,t){return Tt("__local__/api/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function LY(e,t){return Tt("__local__/api/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function RY(e,t){return Tt("__local__/api/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function MY(e,t){return Tt("__local__/api/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function NY(e,t){return Tt("__local__/api/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function DY(e,t){return Tt("__local__/api/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function FY(e,t){return Tt("__local__/api/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function $Y(e){return Tt("__local__/api/comp/packageJson",{method:"POST",...e||{}})}async function jY(e,t){return Tt("__local__/api/comp/renameDir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function UY(e,t){return Tt("__local__/api/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function zY(e,t){return Tt("__local__/api/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function BY(e,t){return Tt("__local__/api/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function WY(e,t){return Tt("__local__/api/comp/writeFile",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const HY=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:kY,compcontrollerCheckcomprepeat:xY,compcontrollerCompfilehash:TY,compcontrollerCompfilesosssignedurl:OY,compcontrollerDep:AY,compcontrollerDir:PY,compcontrollerDownload:IY,compcontrollerFile:LY,compcontrollerGeneratecompjson:RY,compcontrollerLocalcompdetailbypathhash:MY,compcontrollerLocalcomps:NY,compcontrollerLocalcompsbyids:DY,compcontrollerOpencomppathinvscode:FY,compcontrollerPackagejson:$Y,compcontrollerRenamedir:jY,compcontrollerSubmit:UY,compcontrollerUpdate:zY,compcontrollerUpdateversion:BY,compcontrollerWritefile:WY},Symbol.toStringTag,{value:"Module"}));async function VY(e,t){return Tt("__local__/api/module/buildTemplateCompiler",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function GY(e){return Tt("__local__/api/module/clearPreBuild",{method:"POST",...e||{}})}async function KY(e,t){return Tt("__local__/api/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function qY(e){return Tt("__local__/api/module/preBuildSize",{method:"POST",...e||{}})}const YY=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerBuildtemplatecompiler:VY,modulecontrollerClearprebuild:GY,modulecontrollerPrebuild:KY,modulecontrollerPrebuildsize:qY},Symbol.toStringTag,{value:"Module"}));async function XY(e,t){return Tt("__local__/api/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const JY=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:XY},Symbol.toStringTag,{value:"Module"}));async function QY(e,t){return Tt("__local__/api/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const ZY=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:QY},Symbol.toStringTag,{value:"Module"}));async function e5(e,t){return Tt("__local__/api/vuefinder/list",{method:"GET",params:{...e},...t||{}})}const t5=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:e5},Symbol.toStringTag,{value:"Module"})),wh={comp:HY,module:YY,oss:JY,preprocessing:ZY,vuefinder:t5},$w=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],jw=[".mp3",".wav",".ogg",".oga",".flac",".aac",".m4a",".wma",".mp4",".webm",".ogv",".avi",".mov",".flv",".mkv"],n5=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,templateCompiler:s})=>{const a={moduleCache:e,...s?{templateCompiler:s}:{},pathResolve({refPath:c,relPath:u},f){if(u===".")return c;if(f.moduleCache[u])return u;const p=t[u];if(p)return JE.PREBUILD_MODULE_SKIP_EXT.some(h=>p.endsWith(h))?new URL(`${Ce.NODE_MODULES_LOAD_PREFIX}/${p}`,window.location.origin).href:new URL(`${Ce.MODULE_LOAD_PREFIX}/${p}`,window.location.origin).href;if(n?.length&&c){const{origin:h,pathname:g}=new URL(c),y=`${h}${g}`,E=new URL(u,y),b=[".vue",".js",".ts"];for(const v of b){const w=n.find(A=>A.signedUrl.startsWith(E.href+v));if(w)return w.signedUrl}const T=n.find(v=>v.signedUrl.startsWith(E.href));if(T)return T.signedUrl}return String(new URL(u,c??window.location.href))},async getFile(c){const u=c.toString(),f=new URL(c).pathname;if($w.some(h=>f.endsWith(h))||jw.some(h=>f.endsWith(h))){const h=await fetch(u);if(!h.ok)throw Object.assign(new Error(h.statusText+" "+c),{res:h});const g=await h.blob();return URL.createObjectURL(g)}const p=await fetch(u);if(!p.ok)throw Object.assign(new Error(p.statusText+" "+c),{res:p});return{type:Gk(p.url),getContentData:h=>h?p.arrayBuffer():p.text()}},async addStyle(c,u,f){let p=c;f&&c&&(p=Vk(c,f,n||[])),document.head.querySelector(`style#${u}`)?.remove();const g=Object.assign(document.createElement("style"),{textContent:p,...u?{id:u}:{}});document.head.appendChild(g)},async processStyles(c,u){if(c.trim()&&u){const p=await wh.preprocessing.preprocessingcontrollerPreprocess({cssCode:c,precompilerType:u}),{preprocessedCode:h}=p.data;return h}return c},async handleModule(c,u,f){if($w.includes(c)||jw.includes(c))return await u(!1);switch(c){case".css":{const p=await u(!1);return typeof p=="string"&&await a.addStyle(p,void 0,f),null}case".less":case".scss":case".sass":{const p=await u(!1),g={".scss":"scss",".sass":"sass",".less":"less"}[c];if(typeof p=="string"){const y=p.trim();if(y){const E=await wh.preprocessing.preprocessingcontrollerPreprocess({cssCode:y,precompilerType:g}),{preprocessedCode:b}=E.data;await a.addStyle(b,void 0,f)}}return null}}},compiledCache:{async set(c,u){try{await su().put(Ce.INDEX_DB_TABLE_NAME,{hash:c,code:u})}catch(f){console.error("将编译后的模块存储到IndexedDB失败",f)}},async get(c){try{return(await su().get(Ce.INDEX_DB_TABLE_NAME,c))?.code??void 0}catch(u){console.error("从IndexedDB获取编译后的模块失败",u),r?.(u);return}}},log(c,...u){c==="error"?r?.(new Error(u.join(`
57
+ `))):c==="warn"&&o?.(u.join(`
58
+ `))},createCJSModule(c,u,f){const{moduleCache:p,pathResolve:h,getResource:g}=f,y=function(v){const{id:w}=g({refPath:c,relPath:v},f);if(w in p)return p[w];throw new Error(`require(${JSON.stringify(w)}) failed. module not found in moduleCache`)},E=async function(v){const{id:w}=g({refPath:c,relPath:v},f);if(w in p)return p[w];throw new Error(`Dynamic import(${JSON.stringify(w)}) failed. module not found in moduleCache`)},b={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",u).call(b.exports,b.exports,y,b,c,h({refPath:c,relPath:"."},f),E),b}};return a};var gp,Uw;function r5(){if(Uw)return gp;Uw=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 a="",c=0,u=-1,f=0,p,h=0;h<=o.length;++h){if(h<o.length)p=o.charCodeAt(h);else{if(p===47)break;p=47}if(p===47){if(!(u===h-1||f===1))if(u!==h-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),u=h,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,u=h,f=0;continue}}s&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),c=h-u-1;u=h,f=0}else p===46&&f!==-1?++f:f=-1}return a}function n(o,s){var a=s.dir||s.root,c=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+c:a+o+c:c}var r={resolve:function(){for(var s="",a=!1,c,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(s=f+"/"+s,a=f.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&c&&(s+="/"),a?"/"+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,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var u=s.length,f=u-c,p=1;p<a.length&&a.charCodeAt(p)===47;++p);for(var h=a.length,g=h-p,y=f<g?f:g,E=-1,b=0;b<=y;++b){if(b===y){if(g>y){if(a.charCodeAt(p+b)===47)return a.slice(p+b+1);if(b===0)return a.slice(p+b)}else f>y&&(s.charCodeAt(c+b)===47?E=b:b===0&&(E=0));break}var T=s.charCodeAt(c+b),v=a.charCodeAt(p+b);if(T!==v)break;T===47&&(E=b)}var w="";for(b=c+E+1;b<=u;++b)(b===u||s.charCodeAt(b)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+a.slice(p+E):(p+=E,a.charCodeAt(p)===47&&++p,a.slice(p))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),c=a===47,u=-1,f=!0,p=s.length-1;p>=1;--p)if(a=s.charCodeAt(p),a===47){if(!f){u=p;break}}else f=!1;return u===-1?c?"/":".":c&&u===1?"//":s.slice(0,u)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var c=0,u=-1,f=!0,p;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var h=a.length-1,g=-1;for(p=s.length-1;p>=0;--p){var y=s.charCodeAt(p);if(y===47){if(!f){c=p+1;break}}else g===-1&&(f=!1,g=p+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=p):(h=-1,u=g))}return c===u?u=g:u===-1&&(u=s.length),s.slice(c,u)}else{for(p=s.length-1;p>=0;--p)if(s.charCodeAt(p)===47){if(!f){c=p+1;break}}else u===-1&&(f=!1,u=p+1);return u===-1?"":s.slice(c,u)}},extname:function(s){e(s);for(var a=-1,c=0,u=-1,f=!0,p=0,h=s.length-1;h>=0;--h){var g=s.charCodeAt(h);if(g===47){if(!f){c=h+1;break}continue}u===-1&&(f=!1,u=h+1),g===46?a===-1?a=h:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===c+1?"":s.slice(a,u)},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 a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var c=s.charCodeAt(0),u=c===47,f;u?(a.root="/",f=1):f=0;for(var p=-1,h=0,g=-1,y=!0,E=s.length-1,b=0;E>=f;--E){if(c=s.charCodeAt(E),c===47){if(!y){h=E+1;break}continue}g===-1&&(y=!1,g=E+1),c===46?p===-1?p=E:b!==1&&(b=1):p!==-1&&(b=-1)}return p===-1||g===-1||b===0||b===1&&p===g-1&&p===h+1?g!==-1&&(h===0&&u?a.base=a.name=s.slice(1,g):a.base=a.name=s.slice(h,g)):(h===0&&u?(a.name=s.slice(1,p),a.base=s.slice(1,g)):(a.name=s.slice(h,p),a.base=s.slice(h,g)),a.ext=s.slice(p,g)),h>0?a.dir=s.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,gp=r,gp}var Cm=r5();function o5(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 i5=AS("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}}=Mo(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=Cm.join(`/${Ce.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),c=r||n?window:window.parent;let u=c[o];return u||(await o5(s),u=c[o]),e==="vue3"?this.setVue3SfcLoader(u):this.setVue2SfcLoader(u),u}}}),km=Rt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=En(CS),s=Qk(t,{loaderError:Oe(""),loaderWarn:Oe([])}),a=Ds("layoutRef"),c=ue(()=>a.value?.compContainer??null),u=i5();let f=()=>{},p=0;const h=ue(()=>n?.value?.find(O=>O.name==="vue")?.version||""),g=O=>{t.panelType===Ce.COMP_EDIT_TAB_TYPE_MINI&&(O.$onScaleChange=(I,k)=>s.addScaleListener(I,k,c.value))},y=async O=>{if(t.localCompRootPath){const I=Cm.join(t.localCompRootPath,Ce.COMP_ENTRY_FILE);await Xq(I)&&await O(I)}else if(t.signedUrls?.length){const I=t.signedUrls.find(k=>k.path===`/${Ce.COMP_ENTRY_FILE}`);I&&await O(I.signedUrl)}},E=async(O,I,k)=>{try{const D=await u.loadSfcLoader(O),{loadModule:B}=D,K=await B("vue",I);return await k(B,K)}catch(D){console.error(D);const B=s.getErrorMessage(D);return console.error(`sfcLoaderError:${B}`),s.loaderError.value=B,null}},b=async O=>E("vue3",O,async(I,k)=>{const{createApp:D,defineAsyncComponent:B}=k;if(!D||!B)return s.compRenderError.value="createApp or defineAsyncComponent is not defined",null;const K=B({loader:async()=>await I(t.finalEntryUrl,O),delay:100,timeout:2e4,onError:(se,z,ee)=>{if(console.error(`onError:${se.message}`),s.compRenderError.value=se.message,se)return ee()}}),le=D({template:"<AsyncComp />"});return k.app=le,await y(async se=>{await I(se,O)}),le.component("AsyncComp",K),g(le.config.globalProperties),le.config.errorHandler=se=>{console.error(se),console.error(`errorHandler:${se}`),s.compCodeError.value=se,s.loading.value=!1},le.config.warnHandler=function(se){console.warn(se),console.warn(`warnHandler:${se}`),s.compCodeWarn.value=se,s.loading.value=!1},le}),T=async O=>E("vue2",O,async(I,k)=>{g(k.default.prototype),k.default.config.errorHandler=function(B){console.error(B),console.error(`errorHandler:${B}`),s.compCodeError.value=B,s.loading.value=!1},k.default.config.warnHandler=function(B){console.warn(B),console.warn(`warnHandler:${B}`),s.compCodeWarn.value=B,s.loading.value=!1},await y(async B=>{await I(B,O)});const D=await I(t.finalEntryUrl,O);return new k.default(D)}),v=(O,I)=>O.mount?(O.mount(I),k=>{console.log("vue3组件卸载"),O?.unmount(),I.remove(),k?.()}):(O.$mount(I),k=>{console.log("vue2组件卸载"),O?.$destroy(),I.remove(),k?.()}),w=async O=>{if(rv.getMajorVersion(O)!=="2")return null;const k="__vue2TemplateCompiler__",D=window;if(D[k])return D[k];try{const B=await wh.module.modulecontrollerBuildtemplatecompiler({vueVersion:O}),{fileName:K}=B.data;console.log(`[loadTemplateCompiler] 服务端构建完成: ${K}`);const le=new URL(`${Ce.MODULE_LOAD_PREFIX}/${K}`,window.location.origin).href;await new Promise((z,ee)=>{const ae=document.createElement("script");ae.src=le,ae.onload=()=>z(),ae.onerror=()=>ee(new Error(`加载 ${le} 失败`)),document.head.appendChild(ae)});const se=D.VueTemplateCompiler;return se?(D[k]=se,console.log(`[loadTemplateCompiler] 已加载 compiler (version: ${se.version})`),se):(console.warn("[loadTemplateCompiler] window.VueTemplateCompiler 未找到,回退到默认 compiler"),null)}catch(B){return console.warn(`[loadTemplateCompiler] ${s.getErrorMessage(B)},回退到默认 compiler`),null}},A=async()=>{s.loading.value=!0,s.resetAllError();try{if(s.checkDepModuleExist(),s.moduleNotInstalledError.value)return null;const O=rv.getMajorVersion(h.value),I=await s.cacheModule(["vue"]),k=await w(h.value),D=n5({moduleCache:I,depToFile:t.depToFile,signedUrls:t.signedUrls,templateCompiler:k,errorCallBack:B=>{console.error(B);const K=s.getErrorMessage(B);console.error(`sfcLoaderError:${K}`),s.loaderError.value=K},warnCallBack:B=>{console.warn(B),s.loaderWarn.value=[...s.loaderWarn.value,B]}});return O==="3"?await b(D):O==="2"?await T(D):null}catch(O){console.error(O);const I=s.getErrorMessage(O);return console.error(`loadAsyncComp error:${I}`),s.loaderError.value=I,null}finally{s.loading.value=!1}};async function S(){const O=c.value;if(!O){console.error("组件挂载点不存在");return}p++;const I=p,k=document.createElement("div");k.style.height="100%",k.style.width="100%",O.appendChild(k);const D=()=>{k.parentNode&&k.remove()};try{const B=await A();if(I!==p){B?v(B,k)(()=>{}):D();return}if(!B){console.error("组件实例创建失败"),D();return}f=v(B,k),s.setupScaleObserver(()=>c.value),s.notifyRendered()}catch(B){console.error(B),console.error(`handleCompRender error:${s.getErrorMessage(B)}`),D()}}const N=()=>{f(()=>{c.value&&(c.value.innerHTML="")})};return s.setupLifecycle({unmount:N,handleCompRender:S}),(O,I)=>(Se(),_t(Xk,{ref_key:"layoutRef",ref:a,loading:Ue(s).loading.value,"class-obj":Ue(s).classObj.value,"current-render-error":Ue(s).currentRenderError.value,"current-render-warn":Ue(s).currentRenderWarn.value,"screenshot-url":Ue(s).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),zw=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],Bw=[".mp3",".wav",".ogg",".oga",".flac",".aac",".m4a",".wma",".mp4",".webm",".ogv",".avi",".mov",".flv",".mkv"],s5=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o})=>{const s={moduleCache:e,pathResolve({refPath:a,relPath:c},u){if(c===".")return a;if(u.moduleCache[c])return c;const f=t[c];if(f)return new URL(`${Ce.MODULE_LOAD_PREFIX}/${f}`,window.location.origin).href;if(n?.length&&a){const{origin:p,pathname:h}=new URL(a),g=`${p}${h}`,y=new URL(c,g),E=[".jsx",".js",".tsx",".ts"];for(const T of E){const v=n.find(w=>w.signedUrl.startsWith(y.href+T));if(v)return v.signedUrl}const b=n.find(T=>T.signedUrl.startsWith(y.href));if(b)return b.signedUrl}return String(new URL(c,a??window.location.href))},async getFile(a){const c=a.toString(),u=new URL(a).pathname;if(zw.some(p=>u.endsWith(p))||Bw.some(p=>u.endsWith(p))){const p=await fetch(c);if(!p.ok)throw Object.assign(new Error(`${p.statusText} ${a}`),{res:p});const h=await p.blob();return URL.createObjectURL(h)}const f=await fetch(c);if(!f.ok)throw Object.assign(new Error(`${f.statusText} ${a}`),{res:f});return{type:Gk(f.url),getContentData:p=>p?f.arrayBuffer():f.text()}},addStyle(a,c,u){let f=a;u&&a&&(f=Vk(a,u,n||[]));const p=Object.assign(document.createElement("style"),{textContent:f});return document.head.appendChild(p),Promise.resolve()},async handleModule(a,c,u){if(zw.includes(a)||Bw.includes(a))return await c(!1);if(a===".css"){const f=await c(!1);return typeof f=="string"&&await s.addStyle(f,void 0,u),null}},compiledCache:{async set(a,c){try{await su().put(Ce.INDEX_DB_TABLE_NAME,{hash:a,code:c})}catch(u){console.error("[react-jsx-loader] IndexedDB 写入失败:",u)}},async get(a){try{return(await su().get(Ce.INDEX_DB_TABLE_NAME,a))?.code??void 0}catch(c){console.error("[react-jsx-loader] IndexedDB 读取失败:",c),r?.(c);return}}},log(a,...c){a==="error"?r?.(new Error(c.join(`
59
+ `))):a==="warn"&&o?.(c.join(`
60
+ `))},createCJSModule(a,c,u){const{moduleCache:f,pathResolve:p,getResource:h}=u,g=function(T){const{id:v}=h({refPath:a,relPath:T},u);if(v in f)return f[v];throw new Error(`require(${JSON.stringify(v)}) failed. module not found in moduleCache`)},y=async function(T){const{id:v}=h({refPath:a,relPath:T},u);if(v in f)return f[v];throw new Error(`Dynamic import(${JSON.stringify(v)}) failed. module not found in moduleCache`)},E={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",c).call(E.exports,E.exports,g,E,a,p({refPath:a,relPath:"."},u),y),E}};return s},xm=e=>e.some(t=>t.name==="react");let qo=null,bc=!1;function a5(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 l5=()=>{const e=Oe(!1),t=Oe(null);return{loaderReady:e,loaderError:t,checkLoaderAvailable:()=>!!qo,loadLoader:async()=>{if(qo)return qo;if(bc)return new Promise((s,a)=>{const c=()=>{if(qo)return s(qo);if(!bc)return a(new Error("react-jsx-loader load failed"));setTimeout(c,100)};c()});bc=!0;try{const{params:{isSfc:a}}=Mo(),c=Ce.REACT_JSX_LOADER_KEY,u=Cm.join(`/${Ce.WEBSITE_PATH_CONTAINER}`,"js",`${c}.js`),p=a||!1?window:window.parent;let h=p[c];return h||(await a5(u),h=p[c]),qo=h,e.value=!0,qo}catch(s){throw t.value=s,s}finally{bc=!1}},checkModuleExist:s=>!!qo}},Tm=Rt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,o=Qk(t,{loaderError:Oe(""),loaderWarn:Oe([])}),s=Ds("layoutRef"),a=ue(()=>s.value?.compContainer??null),c=l5();let u=null,f=null,p=0,h=null;const g=async v=>{try{const w=await c.loadLoader(),{loadModule:A}=w,S=s5({moduleCache:v,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:I=>{o.loaderError.value=I.message},warnCallBack:I=>{o.loaderWarn.value=[...o.loaderWarn.value,I]}}),N=await A("react",S);if(!N)return o.loaderError.value="React runtime not found",null;const O=await A(t.finalEntryUrl,S);return!O||!O.default?(o.compRenderError.value="Component has no default export",null):{React:N,Component:O.default,loadModule:A,options:S}}catch(w){console.error(w);const A=o.getErrorMessage(w);return console.error(`loadReactComp error:${A}`),o.loaderError.value=A,null}},y=async({React:v,Component:w,loadModule:A,options:S},N)=>{const O=await A("react-dom/client",S);if(!O)return o.loaderError.value="ReactDOM runtime not found",null;const I=class extends v.Component{state={hasError:!1,errorMessage:""};static getDerivedStateFromError(le){return{hasError:!0,errorMessage:le.message}}componentDidCatch(le){console.error(`React render error:${le?.message||le}`),o.compCodeError.value=le?.message||String(le)}render(){return this.state.hasError?v.createElement("div",{style:{color:"red",padding:"16px"}},`Component render error: ${this.state.errorMessage}`):this.props.children}},k=console.error,D=/^Warning:/;console.error=(...le)=>{const se=le.join(" ");D.test(se)&&(o.compCodeWarn.value=se),k.apply(console,le)};const B=O.default.createRoot(N),K=()=>{const le={};return h&&(le.onScaleChange=h.onScaleChange),v.createElement(I,null,v.createElement(w,le))};return B.render(v.createElement(K)),{root:B,unmount:()=>{console.log("React组件卸载"),console.error=k,B.unmount(),N.remove()}}},E=async()=>{o.loading.value=!0,o.resetAllError();try{if(o.checkDepModuleExist(),o.moduleNotInstalledError.value)return null;const v=await o.cacheModule(["react","react-dom"]);return await g(v)}catch(v){console.error(v);const w=o.getErrorMessage(v);return console.error(`loadAsyncComp error:${w}`),o.loaderError.value=w,null}finally{o.loading.value=!1}},b=async()=>{const v=a.value;if(!v){console.error("组件挂载点不存在");return}p++;const w=p;t.panelType===Ce.COMP_EDIT_TAB_TYPE_MINI&&(h={onScaleChange:(S,N)=>o.addScaleListener(S,N,a.value)}),f=document.createElement("div"),f.style.height="100%",f.style.width="100%",v.appendChild(f);const A=()=>{f?.parentNode&&f.remove(),f=null};try{const S=await E();if(w!==p){A();return}if(!S){console.error("React组件加载失败"),A();return}const N=await y(S,f);if(!N){A();return}const{root:O,unmount:I}=N;u=O,f.__unmount=I,o.setupScaleObserver(()=>a.value),o.notifyRendered()}catch(S){console.error(S),console.error(`handleCompRender error:${o.getErrorMessage(S)}`),A()}},T=()=>{f&&f.__unmount&&(f.__unmount(),f=null,u=null),a.value&&(a.value.innerHTML="")};return o.setupLifecycle({unmount:T,handleCompRender:b}),(v,w)=>(Se(),_t(Xk,{ref_key:"layoutRef",ref:s,loading:Ue(o).loading.value,"class-obj":Ue(o).classObj.value,"current-render-error":Ue(o).currentRenderError.value,"current-render-warn":Ue(o).currentRenderWarn.value,"screenshot-url":Ue(o).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),c5=Rt({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:Ce.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""},framework:{default:void 0}},setup(e){const t=SM(),n=e,r=ue(()=>{const{previews:s,...a}=n;return a}),o=ue(()=>n.framework===Ce.COMP_FRAMEWORK_REACT||xm(n.dep));return(s,a)=>(Se(),_t(Ue(qk),Nr({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Ue(t)),{default:Li(()=>[(Se(!0),pt(Vt,null,$s(e.previews,(c,u)=>(Se(),_t(Ue(Yk),{key:u,class:"comp-mini-carousel-item"},{default:Li(()=>[mt("div",{class:"comp-mini-carousel-slide",style:Bn({backgroundColor:n.bgColor})},[c.finalEntryUrl&&!o.value?(Se(),_t(km,Nr({key:0,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):c.finalEntryUrl&&o.value?(Se(),_t(Tm,Nr({key:1,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):Mr("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Xu=Sr(c5,[["__scopeId","data-v-42951682"]]);function Cx(e=3,t=Ce.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=Us(),a=js(),{addListener:c}=o(),u=Oe(),f=ue(()=>u.value?.item),p=ue(()=>u.value?.dep??[]),h=ue(()=>u.value?.depToFile??{}),g=ue(()=>{if(!f.value)return[];const E=t===Ce.COMP_EDIT_TAB_TYPE_MINI;return f.value?.previewConfigs.filter(b=>E?b.miniPath?.length:b.fullPath?.length||b.miniPath?.length).slice(0,e).map(b=>{const T=E?b.miniPath:b.fullPath?.length?b.fullPath:b.miniPath,v=GB.getPreviewUrl(f.value.path,T);return{finalEntryUrl:`${Ce.COMP_PREVIEW_PREFIX_LOCAL}/${v}`}})}),y=ue(()=>({previews:g.value,dep:p.value,depToFile:h.value,localCompRootPath:f.value?.path.replace(Ce.FILE_MANAGER_DIRNAME,Ce.COMP_PREVIEW_PREFIX_LOCAL+"/"),framework:u.value?.framework}));return c(Qe.ITEM_INIT_SET_LOCAL,E=>{u.value=E}),s(Qe.ITEM_INIT_GET_LOCAL,n,a,r),{compAttrs:f,carouselBind:y,localDep:p,depToFile:h}}const u5=Rt({__name:"index",setup(e){const{carouselBind:t}=Cx(3,Ce.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(Se(),_t(Xu,Ii(xu(Ue(t))),null,16))}});function kx(e=3,t=Ce.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=Us(),a=js(),{addListener:c}=o(),u=Oe(),f=Oe(),p=ue(()=>u.value?.item),h=ue(()=>u.value?.depEntryNameToFile),g=ue(()=>u.value?.versionToFileAccessPath),y=ue(()=>u.value?.item?.version??""),E=ue(()=>{if(!Object.keys(p.value??{}).length)return[];const w=g.value??[],A=new Map(w.map(({path:N,signedUrl:O})=>[N,O])),S=t===Ce.COMP_EDIT_TAB_TYPE_MINI;return p.value?.previewConfigs.filter(N=>S?N.miniPath?.length:N.fullPath?.length||N.miniPath?.length).slice(0,e).map(N=>{const O=S?N.miniPath:N.fullPath?.length?N.fullPath:N.miniPath,I=WB.replaceBackslashWithSlash(O?.at(-1)??"");return{finalEntryUrl:A.get(I)??""}})}),b=ue(()=>({previews:E.value??[],dep:p.value?.dep??[],signedUrls:g.value??[],depToFile:h.value??{},bgColor:f.value??p.value?.bgColor??"",framework:u.value?.framework}));let T=()=>{};function v(w){T=w}return c(Qe.ITEM_INIT_SET,w=>{u.value=w}),c(Qe.BG_COLOR_SET,w=>{f.value=w}),s(Qe.ITEM_INIT_GET,n,a,r),s(Qe.BG_COLOR_GET,"",a,r),gt(()=>y.value,w=>{w&&T(w)},{once:!0}),{compAttrs:p,carouselBind:b,setInitVersion:v}}const f5=Rt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=kx(3),r=Oe(""),o=ue(()=>({...t.value,panelType:Ce.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,a)=>(Se(),_t(Xu,Ii(xu(o.value)),null,16))}});function d5(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const p5=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ri(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let cs=null;function xx(e={}){return cs||(e.includeStyleProperties?(cs=e.includeStyleProperties,cs):(cs=ri(window.getComputedStyle(document.documentElement)),cs))}function lu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function h5(e){const t=lu(e,"border-left-width"),n=lu(e,"border-right-width");return e.clientWidth+t+n}function m5(e){const t=lu(e,"border-top-width"),n=lu(e,"border-bottom-width");return e.clientHeight+t+n}function Tx(e,t={}){const n=t.width||h5(e),r=t.height||m5(e);return{width:n,height:r}}function g5(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const tr=16384;function y5(e){(e.width>tr||e.height>tr)&&(e.width>tr&&e.height>tr?e.width>e.height?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr):e.width>tr?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr))}function cu(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function b5(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function _5(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),b5(o)}const Gn=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Gn(n,t)};function v5(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function w5(e,t){return xx(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function E5(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?v5(n):w5(n,r);return document.createTextNode(`${o}{${s}}`)}function Ww(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const a=p5();try{t.className=`${t.className} ${a}`}catch{return}const c=document.createElement("style");c.appendChild(E5(a,n,o,r)),t.appendChild(c)}function S5(e,t,n){Ww(e,t,":before",n),Ww(e,t,":after",n)}const Hw="application/font-woff",Vw="image/jpeg",C5={woff:Hw,woff2:Hw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Vw,jpeg:Vw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function k5(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function Om(e){const t=k5(e).toLowerCase();return C5[t]||""}function x5(e){return e.split(/,/)[1]}function Eh(e){return e.search(/^(data:)/)!==-1}function T5(e,t){return`data:${t};base64,${e}`}async function Ox(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,a)=>{const c=new FileReader;c.onerror=a,c.onloadend=()=>{try{s(n({res:r,result:c.result}))}catch(u){a(u)}},c.readAsDataURL(o)})}const yp={};function O5(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function Am(e,t,n){const r=O5(e,t,n.includeQueryParams);if(yp[r]!=null)return yp[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await Ox(e,n.fetchRequestInit,({res:a,result:c})=>(t||(t=a.headers.get("Content-Type")||""),x5(c)));o=T5(s,t)}catch(s){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return yp[r]=o,o}async function A5(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):cu(t)}async function P5(e,t){if(e.currentSrc){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);const c=s.toDataURL();return cu(c)}const n=e.poster,r=Om(n),o=await Am(n,r,t);return cu(o)}async function I5(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await Ju(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function L5(e,t){return Gn(e,HTMLCanvasElement)?A5(e):Gn(e,HTMLVideoElement)?P5(e,t):Gn(e,HTMLIFrameElement)?I5(e,t):e.cloneNode(Ax(e))}const R5=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Ax=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function M5(e,t,n){var r,o;if(Ax(t))return t;let s=[];return R5(e)&&e.assignedNodes?s=ri(e.assignedNodes()):Gn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ri(e.contentDocument.body.childNodes):s=ri(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Gn(e,HTMLVideoElement)||await s.reduce((a,c)=>a.then(()=>Ju(c,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function N5(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):xx(n).forEach(s=>{let a=o.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Gn(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),r.setProperty(s,a,o.getPropertyPriority(s))})}function D5(e,t){Gn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Gn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function F5(e,t){if(Gn(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function $5(e,t,n){return Gn(t,Element)&&(N5(e,t,n),S5(e,t,n),D5(e,t),F5(e,t)),t}async function j5(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const c=n[s].getAttribute("xlink:href");if(c){const u=e.querySelector(c),f=document.querySelector(c);!u&&f&&!r[c]&&(r[c]=await Ju(f,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const c=document.createElementNS(s,"defs");a.appendChild(c);for(let u=0;u<o.length;u++)c.appendChild(o[u]);e.appendChild(a)}return e}async function Ju(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>L5(r,t)).then(r=>M5(e,r,t)).then(r=>$5(e,r,t)).then(r=>j5(r,t))}const Px=/url\((['"]?)([^'"]+?)\1\)/g,U5=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,z5=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function B5(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function W5(e){const t=[];return e.replace(Px,(n,r,o)=>(t.push(o),n)),t.filter(n=>!Eh(n))}async function H5(e,t,n,r,o){try{const s=n?d5(t,n):t,a=Om(t);let c;return o||(c=await Am(s,a,r)),e.replace(B5(t),`$1${c}$3`)}catch{}return e}function V5(e,{preferredFontFormat:t}){return t?e.replace(z5,n=>{for(;;){const[r,,o]=U5.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function Ix(e){return e.search(Px)!==-1}async function Lx(e,t,n){if(!Ix(e))return e;const r=V5(e,n);return W5(r).reduce((s,a)=>s.then(c=>H5(c,a,t,n)),Promise.resolve(r))}async function us(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await Lx(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function G5(e,t){await us("background",e,t)||await us("background-image",e,t),await us("mask",e,t)||await us("-webkit-mask",e,t)||await us("mask-image",e,t)||await us("-webkit-mask-image",e,t)}async function K5(e,t){const n=Gn(e,HTMLImageElement);if(!(n&&!Eh(e.src))&&!(Gn(e,SVGImageElement)&&!Eh(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await Am(r,Om(r),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...u)=>{try{s(t.onImageErrorHandler(...u))}catch(f){a(f)}}:a;const c=e;c.decode&&(c.decode=s),c.loading==="lazy"&&(c.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function q5(e,t){const r=ri(e.childNodes).map(o=>Rx(o,t));await Promise.all(r).then(()=>e)}async function Rx(e,t){Gn(e,Element)&&(await G5(e,t),await K5(e,t),await q5(e,t))}function Y5(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Gw={};async function Kw(e){let t=Gw[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Gw[e]=t,t}async function qw(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let c=a.replace(r,"$1");return c.startsWith("https://")||(c=new URL(c,e.url).href),Ox(c,t.fetchRequestInit,({result:u})=>(n=n.replace(a,`url(${u})`),[a,u]))});return Promise.all(s).then(()=>n)}function Yw(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=o.exec(r);if(u===null)break;t.push(u[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",c=new RegExp(a,"gi");for(;;){let u=s.exec(r);if(u===null){if(u=c.exec(r),u===null)break;s.lastIndex=c.lastIndex}else c.lastIndex=s.lastIndex;t.push(u[0])}return t}async function X5(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ri(o.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let c=a+1;const u=s.href,f=Kw(u).then(p=>qw(p,t)).then(p=>Yw(p).forEach(h=>{try{o.insertRule(h,h.startsWith("@import")?c+=1:o.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(f)}})}catch(s){const a=e.find(c=>c.href==null)||document.styleSheets[0];o.href!=null&&r.push(Kw(o.href).then(c=>qw(c,t)).then(c=>Yw(c).forEach(u=>{a.insertRule(u,a.cssRules.length)})).catch(c=>{console.error("Error loading remote stylesheet",c)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ri(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function J5(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Ix(t.style.getPropertyValue("src")))}async function Q5(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ri(e.ownerDocument.styleSheets),r=await X5(n,t);return J5(r)}function Mx(e){return e.trim().replace(/["']/g,"")}function Z5(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(Mx(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function eX(e,t){const n=await Q5(e,t),r=Z5(e);return(await Promise.all(n.filter(s=>r.has(Mx(s.style.fontFamily))).map(s=>{const a=s.parentStyleSheet?s.parentStyleSheet.href:null;return Lx(s.cssText,a,t)}))).join(`
61
+ `)}async function tX(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await eX(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function nX(e,t={}){const{width:n,height:r}=Tx(e,t),o=await Ju(e,t,!0);return await tX(o,t),await Rx(o,t),Y5(o,t),await _5(o,n,r)}async function rX(e,t={}){const{width:n,height:r}=Tx(e,t),o=await nX(e,t),s=await cu(o),a=document.createElement("canvas"),c=a.getContext("2d"),u=t.pixelRatio||g5(),f=t.canvasWidth||n,p=t.canvasHeight||r;return a.width=f*u,a.height=p*u,t.skipAutoScale||y5(a),a.style.width=`${f}`,a.style.height=`${p}`,t.backgroundColor&&(c.fillStyle=t.backgroundColor,c.fillRect(0,0,a.width,a.height)),c.drawImage(s,0,0,a.width,a.height),a}async function Xw(e,t={}){return(await rX(e,t)).toDataURL()}const oX={class:"panel-mini-wrapper"},iX=Rt({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e,{expose:t}){const n=Ds("cardRef");t({getBodyEl:()=>n.value?.bodyRef});const r=e,o=ue(()=>r.framework===Ce.COMP_FRAMEWORK_REACT||xm(r.dep)),s=ue(()=>({finalEntryUrl:r.miniEntryUrl,dep:r.dep,depToFile:r.depToFile,signedUrls:r.signedUrls,panelType:Ce.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:r.localCompRootPath}));return(a,c)=>(Se(),pt("div",oX,[Gt(Ue(Kk),{ref_key:"cardRef",ref:n,"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Bn({backgroundColor:e.bg})},{default:Li(()=>[o.value?(Se(),_t(Tm,Ii(Nr({key:1},s.value)),null,16)):(Se(),_t(km,Ii(Nr({key:0},s.value)),null,16))]),_:1},8,["style"])]))}}),sX=Sr(iX,[["__scopeId","data-v-b372725a"]]),aX=Rt({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e){const t=e,n=ue(()=>t.framework===Ce.COMP_FRAMEWORK_REACT||xm(t.dep)),r=ue(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:Ce.COMP_EDIT_TAB_TYPE_FULL}));return(o,s)=>(Se(),_t(Ue(Kk),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Bn({backgroundColor:e.bg})},{default:Li(()=>[n.value?(Se(),_t(Tm,Ii(Nr({key:1},r.value)),null,16)):(Se(),_t(km,Ii(Nr({key:0},r.value)),null,16))]),_:1},8,["style"]))}}),lX=Sr(aX,[["__scopeId","data-v-d33ef23f"]]),cX={key:0,class:"edit-panel"},uX={class:"edit-panel__content"},fX={class:"edit-panel__tools"},dX=["onClick"],pX=Rt({__name:"index",setup(e){const{t}=Fi(),{messageListener:n,sendMessageToTop:r}=Us(),{addListener:o}=n(),s=js(),{params:{instanceUid:a}}=Mo(),{renderEvent:c}=O8(),u=Ds("carousel"),f=Oe([]),p=Oe({entryNameToFile:{},compDep:[]}),h=Oe(),g=Oe(!1),y=Oe(!1),E=Oe(!1),b=Oe(""),T=Oe({});function v(z,ee){z&&(T.value[ee]=z)}const w=Oe(!1),A=Oe(!1),S=ue(()=>[{label:t("comp.miniPanel"),value:Ce.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:Ce.COMP_EDIT_TAB_TYPE_FULL}]),N=ue(()=>p.value.compDep.length>0);async function O(z){if(!f.value[z]?.miniEntryUrl)return;const ae=T.value[z]?.getBodyEl?.();if(!ae)return;let de="";const ve=await Jq(ae);try{de=await se(ae)}finally{ve()}de&&r(Qe.COMP_SCREENSHOT_AUTO,{screenshot:de},s,a)}gt(c,async()=>{if(!(!f.value[0]?.miniEntryUrl||w.value)){w.value=!0;try{await O(0)}catch(z){console.error("自动截图失败:",z)}}});const I=ue(()=>Object.keys(h.value??{}).length>0?h.value?.path.replace(Ce.FILE_MANAGER_DIRNAME,Ce.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),k=ue(()=>({dep:p.value.compDep,depToFile:p.value.entryNameToFile,signedUrls:p.value.signedUrls,localCompRootPath:I.value,bg:b.value,framework:p.value.framework}));function D(z){return z===Ce.COMP_EDIT_TAB_TYPE_MINI?sX:lX}function B(z,ee){K(z,ee)}function K(z,ee){if(!z._id)return;const ae={...z,activeTab:ee};r(Qe.COMP_EDIT_TAB_TYPE_SET,ae,s,a)}function le(z){r(Qe.ACTION_REFRESH,z,s,a)}async function se(z){try{return await Xw(z,{cacheBust:!0})}catch(ee){if(ee instanceof DOMException&&ee.name==="SecurityError"){const ae=`截图中部分内容被浏览器安全策略限制
62
+ ${ee.message}`,de=Zq(z,ae);try{return await Xw(z,{cacheBust:!0})}finally{e8(de)}}throw ee}}return o(Qe.COMP_PREVIEW_LIST_SET,z=>{f.value=z,w.value=!1}),o(Qe.COMP_RENDER_INFO_SET,z=>{p.value=z}),o(Qe.SELECTED_FOLDER_SET,z=>{h.value=z}),o(Qe.SHOW_REFRESH_BTN_SET,z=>{g.value=z}),o(Qe.IS_ONLINE_UPDATE_SET,z=>{y.value=z}),o(Qe.IS_ADD_SET,z=>{E.value=z}),o(Qe.CAROUSEL_INDEX_SET,z=>{u.value?.setActiveItem(z)}),o(Qe.COMP_SCREENSHOT_MANUAL_SET,async()=>{if(!A.value){A.value=!0;try{u.value?.setActiveItem(0),f.value[0]&&f.value[0].activeTab!==Ce.COMP_EDIT_TAB_TYPE_MINI&&(f.value[0].activeTab=Ce.COMP_EDIT_TAB_TYPE_MINI,await Ur()),await new Promise(z=>setTimeout(z,500)),await O(0)}catch(z){console.error("手动截图失败:",z)}finally{A.value=!1}}}),o(Qe.BG_COLOR_SET,z=>{b.value=z}),r(Qe.COMP_PREVIEW_LIST_GET,"",s,a),r(Qe.COMP_RENDER_INFO_GET,"",s,a),r(Qe.SELECTED_FOLDER_GET,"",s,a),r(Qe.SHOW_REFRESH_BTN_GET,"",s,a),r(Qe.IS_ONLINE_UPDATE_GET,"",s,a),r(Qe.IS_ADD_GET,"",s,a),r(Qe.CAROUSEL_INDEX_GET,"",s,a),r(Qe.BG_COLOR_GET,"",s,a),(z,ee)=>{const ae=Nh("Icon");return N.value?(Se(),pt("div",cX,[Gt(Ue(qk),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Li(()=>[(Se(!0),pt(Vt,null,$s(f.value,(de,ve)=>(Se(),_t(Ue(Yk),{key:ve},{default:Li(()=>[mt("div",uX,[mt("div",fX,[Gt(Ue(s8),{options:S.value,"model-value":de.activeTab,onChange:ze=>B(de,ze)},null,8,["options","model-value","onChange"]),g.value?(Se(),pt("span",{key:0,class:"edit-panel__refresh-btn",onClick:ze=>le(de)},[Gt(ae,{icon:"material-symbols:refresh-rounded"})],8,dX)):Mr("",!0)]),(Se(),_t(cM,null,[(Se(),_t(vM(D(de.activeTab)),Nr({ref_for:!0,ref:ze=>v(ze,ve)},{ref_for:!0},{miniEntryUrl:de.miniEntryUrl,fullEntryUrl:de.fullEntryUrl,...k.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Mr("",!0)}}}),hX=Sr(pX,[["__scopeId","data-v-45167757"]]),mX=Rt({__name:"index",setup(e){const{carouselBind:t}=Cx(5,Ce.COMP_EDIT_TAB_TYPE_FULL),n=ue(()=>({...t.value,panelType:Ce.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(Se(),_t(Xu,Ii(xu(n.value)),null,16))}}),gX=Rt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=kx(5,Ce.COMP_EDIT_TAB_TYPE_FULL),r=Oe(""),o=ue(()=>({...t.value,panelType:Ce.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,a)=>(Se(),_t(Xu,Nr(o.value,{"show-indicator":!0}),null,16))}}),yX={carouselLocal:u5,carouselRemote:f5,editPanel:hX,previewLocal:mX,previewRemote:gX};function bX(){const e=[],t=Ce.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=yX[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const _X=rB({history:Dz(`/${Ce.WEBSITE_PATH_ITEM}/`),routes:bX()}),vX=CY(Ce.LOCAL_SERVICE_PREFIX,{baseURL:`/${Ce.LOCAL_SERVICE_PREFIX}`},e=>e.replace(Ce.LOCAL_SERVICE_PREFIX,""));vX.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Pm=IN(Jj);ez(Pm);Pm.use(_X);Pm.mount("#app");