comp-hub 0.27.19 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +71 -86
  2. package/bin/cli.js +42 -76
  3. package/bin/lib/commands.js +147 -0
  4. package/bin/lib/constants.js +22 -0
  5. package/bin/lib/http.js +62 -0
  6. package/bin/lib/startup.js +183 -0
  7. package/bin/lib/utils.js +80 -0
  8. package/dist/index.js +16 -16
  9. package/dist/master.js +403 -0
  10. package/dist/website/container/assets/{index-CdaB9oWd.js → index-BTW7AmWY.js} +9 -9
  11. package/dist/website/container/assets/index-DqV5-Zk-.css +1 -0
  12. package/dist/website/container/index.html +31 -34
  13. package/dist/website/container/js/vue2-sfc-loader.js +1 -1
  14. package/dist/website/container/js/vue3-sfc-loader.js +1 -1
  15. package/dist/website/item/assets/index-DNn8L2ik.css +1 -0
  16. package/dist/website/item/assets/index-eJgZiYQR.js +40 -0
  17. package/dist/website/item/index.html +28 -30
  18. package/dist/website/main/assets/{AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CfufrKbA.js → AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-C2LcEFL4.js} +1 -1
  19. package/dist/website/main/assets/{BaseDialog.vue_vue_type_script_setup_true_lang-B6WkXWm7.js → BaseDialog.vue_vue_type_script_setup_true_lang-CgV6_zzd.js} +1 -1
  20. package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-CW16Y3Jx.js +1 -0
  21. package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-BwtYEYU5.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-BVY2XxV8.js} +1 -1
  22. package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-DIgE9MGd.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CofI0Rvq.js} +1 -1
  23. package/dist/website/main/assets/{LoadingWrapper.vue_vue_type_script_setup_true_lang-5GxduB08.js → LoadingWrapper.vue_vue_type_script_setup_true_lang-bBtkKtmz.js} +1 -1
  24. package/dist/website/main/assets/{PanelBackground.vue_vue_type_script_setup_true_lang-CM6wkI5V.js → PanelBackground.vue_vue_type_script_setup_true_lang-DBIlZFl0.js} +1 -1
  25. package/dist/website/main/assets/{cloud-upload-CyIQfnxU.js → cloud-upload-BRjLuSi4.js} +1 -1
  26. package/dist/website/main/assets/{core-DE5-zGKf.js → core-B1GcTOER.js} +1 -1
  27. package/dist/website/main/assets/{el-table-column-BiqynxkD.js → el-table-column-8qfe8CVK.js} +1 -1
  28. package/dist/website/main/assets/{home-rounded-Dq-TBvLG.js → home-rounded-8qNxvN2I.js} +1 -1
  29. package/dist/website/main/assets/{index-CMvx8gm3.js → index-0Y9kW7YJ.js} +1 -1
  30. package/dist/website/main/assets/index-2LGHX46G.js +1 -0
  31. package/dist/website/main/assets/index-B2xvPCaB.js +1 -0
  32. package/dist/website/main/assets/{index-CGgS1tZ0.js → index-B3dAdOL_.js} +1 -1
  33. package/dist/website/main/assets/{index-Cf69_nzt.js → index-B5qe6yln.js} +15 -15
  34. package/dist/website/main/assets/index-BANn4H7f.css +1 -0
  35. package/dist/website/main/assets/{index-DvyE3TrH.js → index-ByKMTPW3.js} +2 -2
  36. package/dist/website/main/assets/index-CDnNjG3p.css +1 -0
  37. package/dist/website/main/assets/index-CEQStqDa.js +1 -0
  38. package/dist/website/main/assets/index-CP6sOfKF.css +1 -0
  39. package/dist/website/main/assets/index-Cf5sOeOs.js +1 -0
  40. package/dist/website/main/assets/index-CmSN0r9I.css +1 -0
  41. package/dist/website/main/assets/index-Cn8OtDDR.js +1 -0
  42. package/dist/website/main/assets/{index-BQWeT5qu.js → index-CoWWi7z-.js} +2 -2
  43. package/dist/website/main/assets/index-Cqi9_pkc.js +1 -0
  44. package/dist/website/main/assets/{index-vnzmxexj.js → index-CrzWpCC3.js} +1 -1
  45. package/dist/website/main/assets/index-CtzG8xUz.js +1 -0
  46. package/dist/website/main/assets/index-DANPdG90.js +1 -0
  47. package/dist/website/main/assets/index-DI0kvKsV.js +1 -0
  48. package/dist/website/main/assets/index-DJ4AvgpT.css +1 -0
  49. package/dist/website/main/assets/index-DSED2-Jv.js +1 -0
  50. package/dist/website/main/assets/index-DUr8uU-d.js +1 -0
  51. package/dist/website/main/assets/index-DW-M9dmc.js +1 -0
  52. package/dist/website/main/assets/{index-BGLjC3BV.js → index-D_jNsofk.js} +1 -1
  53. package/dist/website/main/assets/index-DffjEud2.js +1 -0
  54. package/dist/website/main/assets/{index-ctwb4cB7.js → index-DkTzdi1V.js} +1 -1
  55. package/dist/website/main/assets/index-DoTR7Juh.css +1 -0
  56. package/dist/website/main/assets/index-DxG4_1zN.js +1 -0
  57. package/dist/website/main/assets/{index-CTLlcQoM.js → index-DyEkv8OS.js} +1 -1
  58. package/dist/website/main/assets/{index-CCFHORqg.js → index-RlxCYKYM.js} +1 -1
  59. package/dist/website/main/assets/index-ZwJcoRf3.js +2 -0
  60. package/dist/website/main/assets/index-bJb3z37F.js +1 -0
  61. package/dist/website/main/assets/{index-gOTpUrNM.js → index-dC2trX5C.js} +1 -1
  62. package/dist/website/main/assets/{index-Cu1YAWdz.js → index-dhG9Kj5W.js} +1 -1
  63. package/dist/website/main/assets/{index-q4Z3Q7p4.js → index-feqY_hvF.js} +1 -1
  64. package/dist/website/main/assets/{index-cFhtMyBi.js → index-op0bdgFk.js} +2 -2
  65. package/dist/website/main/assets/index-xqKWYiCC.js +1 -0
  66. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BDhf8t5D.js → index.vue_vue_type_script_setup_true_lang-B_VrULUy.js} +1 -1
  67. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-D3xHCy9f.js +2 -0
  68. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B4echric.js → index.vue_vue_type_script_setup_true_lang-DCQMqfel.js} +1 -1
  69. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DM_Wm4GD.js +1 -0
  70. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-qhJpeu7a.js → index.vue_vue_type_script_setup_true_lang-DX9EV5b8.js} +1 -1
  71. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-aO0L9Tak.js → index.vue_vue_type_script_setup_true_lang-RJnk970E.js} +1 -1
  72. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-rk3Yu4M8.js +1 -0
  73. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C3U7f9Ma.js → index.vue_vue_type_style_index_0_lang-BQWxY2F1.js} +5 -5
  74. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-C4fELX8m.js → index.vue_vue_type_style_index_0_lang-DQhqVyhA.js} +1 -1
  75. package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-D_eT-tA_.js → index.vue_vue_type_style_index_0_lang-xD-wMtaK.js} +1 -1
  76. package/dist/website/main/assets/{kid-star-CFLIpXDC.js → kid-star-Cr1NlTdT.js} +1 -1
  77. package/dist/website/main/assets/{md5-BZr8xhBN.js → md5-DzJRYP5-.js} +1 -1
  78. package/dist/website/main/assets/{settings-B3XnnICj.js → settings-BFJXTJ9K.js} +1 -1
  79. package/dist/website/main/assets/{supervised-user-circle-CEgKC7n7.js → supervised-user-circle-Bnx5icEm.js} +1 -1
  80. package/dist/website/main/assets/{sync-saved-locally-rounded-CmlRPNS9.js → sync-saved-locally-rounded-DtyOT0dw.js} +1 -1
  81. package/dist/website/main/assets/{terminal-DykiTSV6.js → terminal-D72IJB2N.js} +1 -1
  82. package/dist/website/main/assets/{useCacheOssStore-CU4a8b24.js → useCacheOssStore-DApHt9lQ.js} +1 -1
  83. package/dist/website/main/assets/{useCompEditStore-Du_-rNtX.css → useCompEditStore-B9HAj9va.css} +1 -1
  84. package/dist/website/main/assets/{useCompEditStore-B7KaUbOi.js → useCompEditStore-KBTFiinR.js} +94 -94
  85. package/dist/website/main/assets/{useCompMetaLocalStore-pb1Ikkq3.js → useCompMetaLocalStore-eE-CBcE9.js} +1 -1
  86. package/dist/website/main/assets/{useKeyword-D1qu8Tz-.js → useKeyword-CoagiMo1.js} +1 -1
  87. package/dist/website/main/assets/useMessage-CYVXvlqq.js +1 -0
  88. package/dist/website/main/assets/{useTeamHeaders-DELMIzHt.js → useTeamHeaders-Cc060CP0.js} +1 -1
  89. package/dist/website/main/assets/useVscodeOpen-Dx3IRL0P.js +1 -0
  90. package/dist/website/main/assets/{vendor-core-B-Si3WEf.js → vendor-core-CzvSW5ae.js} +3 -3
  91. package/dist/website/main/assets/{vendor-ui-D6wVBlls.js → vendor-ui-DXwyveTF.js} +12 -12
  92. package/dist/website/main/index.html +92 -92
  93. package/package.json +5 -3
  94. package/dist/website/container/assets/index-BnbvpvZL.css +0 -1
  95. package/dist/website/item/assets/index-B0s1uwsa.js +0 -39
  96. package/dist/website/item/assets/index-BIcNxYiU.css +0 -1
  97. package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-D5yw_wF0.js +0 -1
  98. package/dist/website/main/assets/index-B6f_06zP.js +0 -1
  99. package/dist/website/main/assets/index-BIGvC1SM.js +0 -1
  100. package/dist/website/main/assets/index-BfPdLll-.js +0 -1
  101. package/dist/website/main/assets/index-BkUBwon5.css +0 -1
  102. package/dist/website/main/assets/index-C9t3Yhe9.js +0 -1
  103. package/dist/website/main/assets/index-CFH_ugiT.js +0 -1
  104. package/dist/website/main/assets/index-CWW1M_cy.js +0 -1
  105. package/dist/website/main/assets/index-CuHNNhtE.js +0 -1
  106. package/dist/website/main/assets/index-D6Fz5rH9.css +0 -1
  107. package/dist/website/main/assets/index-D7eOWAPr.js +0 -1
  108. package/dist/website/main/assets/index-D8WDrGkh.js +0 -1
  109. package/dist/website/main/assets/index-DBM1x91X.js +0 -1
  110. package/dist/website/main/assets/index-DC94GyXj.js +0 -1
  111. package/dist/website/main/assets/index-Dl-mwEbG.js +0 -1
  112. package/dist/website/main/assets/index-DmO0JQ56.css +0 -1
  113. package/dist/website/main/assets/index-DrUAgWBX.js +0 -1
  114. package/dist/website/main/assets/index-Oo11MKfd.js +0 -1
  115. package/dist/website/main/assets/index-YUZjR2Eq.js +0 -2
  116. package/dist/website/main/assets/index-tEU6GnSH.js +0 -1
  117. package/dist/website/main/assets/index-tWc_GbBW.css +0 -1
  118. package/dist/website/main/assets/index-uu5oSUvx.js +0 -1
  119. package/dist/website/main/assets/index-wgeiSlf-.css +0 -1
  120. package/dist/website/main/assets/index-y8GEzH-z.css +0 -1
  121. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-COryHg9c.js +0 -1
  122. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-D_7jZ1zo.js +0 -2
  123. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Dtuk2wrA.js +0 -1
  124. package/dist/website/main/assets/useMessage-D7WAp245.js +0 -1
  125. package/dist/website/main/assets/useVscodeOpen-DIYbcP1e.js +0 -1
@@ -1,14 +1,14 @@
1
- var B_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var AR=B_((nn,rn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function du(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const qe={},Bo=[],pt=()=>{},xh=()=>!1,Da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ka=e=>e.startsWith("onUpdate:"),mt=Object.assign,pu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},V_=Object.prototype.hasOwnProperty,Ve=(e,t)=>V_.call(e,t),ce=Array.isArray,Vo=e=>di(e)==="[object Map]",Ra=e=>di(e)==="[object Set]",Bf=e=>di(e)==="[object Date]",be=e=>typeof e=="function",Re=e=>typeof e=="string",sn=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",bh=e=>(we(e)||be(e))&&be(e.then)&&be(e.catch),yh=Object.prototype.toString,di=e=>yh.call(e),H_=e=>di(e).slice(8,-1),hu=e=>di(e)==="[object Object]",$a=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fs=du(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ba=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},U_=/-\w/g,Pt=Ba(e=>e.replace(U_,t=>t.slice(1).toUpperCase())),j_=/\B([A-Z])/g,Vr=Ba(e=>e.replace(j_,"-$1").toLowerCase()),Va=Ba(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qi=Ba(e=>e?`on${Va(e)}`:""),Gn=(e,t)=>!Object.is(e,t),Zi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Eh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},W_=e=>{const t=parseFloat(e);return isNaN(t)?e:t},G_=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let Vf;const Ha=()=>Vf||(Vf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function St(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Re(r)?q_(r):St(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Re(e)||we(e))return e}const z_=/;(?![^(]*\))/g,K_=/:([^]+)/,Y_=/\/\*[^]*?\*\//g;function q_(e){const t={};return e.replace(Y_,"").split(z_).forEach(n=>{if(n){const r=n.split(K_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function de(e){let t="";if(Re(e))t=e;else if(ce(e))for(let n=0;n<e.length;n++){const r=de(e[n]);r&&(t+=r+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const J_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",X_=du(J_);function Ch(e){return!!e||e===""}function Q_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=pi(e[r],t[r]);return n}function pi(e,t){if(e===t)return!0;let n=Bf(e),r=Bf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=sn(e),r=sn(t),n||r)return e===t;if(n=ce(e),r=ce(t),n||r)return n&&r?Q_(e,t):!1;if(n=we(e),r=we(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!pi(e[i],t[i]))return!1}}return String(e)===String(t)}function Sh(e,t){return e.findIndex(n=>pi(n,t))}const wh=e=>!!(e&&e.__v_isRef===!0),De=e=>Re(e)?e:e==null?"":ce(e)||we(e)&&(e.toString===yh||!be(e.toString))?wh(e)?De(e.value):JSON.stringify(e,Ah,2):String(e),Ah=(e,t)=>wh(t)?Ah(e,t.value):Vo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Ol(r,s)+" =>"]=o,n),{})}:Ra(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ol(n))}:sn(t)?Ol(t):we(t)&&!ce(t)&&!hu(t)?String(t):t,Ol=(e,t="")=>{var n;return sn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Z_(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let vt;class Th{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&&vt&&(vt.active?(this.parent=vt,this.index=(vt.scopes||(vt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=vt;try{return vt=this,t()}finally{vt=n}}}on(){++this._on===1&&(this.prevScope=vt,vt=this)}off(){if(this._on>0&&--this._on===0){if(vt===this)vt=this.prevScope;else{let t=vt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ex(e){return new Th(e)}function Ua(){return vt}function Oh(e,t=!1){vt&&vt.cleanups.push(e)}let et;const Nl=new WeakSet;class Nh{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,vt&&(vt.active?vt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Nl.has(this)&&(Nl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Mh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hf(this),Lh(this);const t=et,n=Mn;et=this,Mn=!0;try{return this.fn()}finally{Ih(this),et=t,Mn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vu(t);this.deps=this.depsTail=void 0,Hf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Nl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hc(this)&&this.run()}get dirty(){return hc(this)}}let Fh=0,Ms,Ls;function Mh(e,t=!1){if(e.flags|=8,t){e.next=Ls,Ls=e;return}e.next=Ms,Ms=e}function mu(){Fh++}function gu(){if(--Fh>0)return;if(Ls){let t=Ls;for(Ls=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ms;){let t=Ms;for(Ms=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 Lh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ih(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),vu(r),tx(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function hc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ph(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ph(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ws)||(e.globalVersion=Ws,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hc(e))))return;e.flags|=2;const t=e.dep,n=et,r=Mn;et=e,Mn=!0;try{Lh(e);const o=e.fn(e._value);(t.version===0||Gn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{et=n,Mn=r,Ih(e),e.flags&=-3}}function vu(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)vu(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tx(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Mn=!0;const Dh=[];function mr(){Dh.push(Mn),Mn=!1}function gr(){const e=Dh.pop();Mn=e===void 0?!0:e}function Hf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=et;et=void 0;try{t()}finally{et=n}}}let Ws=0;class nx{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 ja{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(!et||!Mn||et===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==et)n=this.activeLink=new nx(et,this),et.deps?(n.prevDep=et.depsTail,et.depsTail.nextDep=n,et.depsTail=n):et.deps=et.depsTail=n,kh(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=et.depsTail,n.nextDep=void 0,et.depsTail.nextDep=n,et.depsTail=n,et.deps===n&&(et.deps=r)}return n}trigger(t){this.version++,Ws++,this.notify(t)}notify(t){mu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{gu()}}}function kh(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)kh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const la=new WeakMap,lo=Symbol(""),mc=Symbol(""),Gs=Symbol("");function Mt(e,t,n){if(Mn&&et){let r=la.get(e);r||la.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new ja),o.map=r,o.key=n),o.track()}}function ur(e,t,n,r,o,s){const i=la.get(e);if(!i){Ws++;return}const a=l=>{l&&l.trigger()};if(mu(),t==="clear")i.forEach(a);else{const l=ce(e),c=l&&$a(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Gs||!sn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Gs)),t){case"add":l?c&&a(i.get("length")):(a(i.get(lo)),Vo(e)&&a(i.get(mc)));break;case"delete":l||(a(i.get(lo)),Vo(e)&&a(i.get(mc)));break;case"set":Vo(e)&&a(i.get(lo));break}}gu()}function rx(e,t){const n=la.get(e);return n&&n.get(t)}function Ao(e){const t=Pe(e);return t===e?t:(Mt(t,"iterate",Gs),on(e)?t:t.map(Ln))}function Wa(e){return Mt(e=Pe(e),"iterate",Gs),e}function jn(e,t){return vr(e)?Go(co(e)?Ln(t):t):Ln(t)}const ox={__proto__:null,[Symbol.iterator](){return Fl(this,Symbol.iterator,e=>jn(this,e))},concat(...e){return Ao(this).concat(...e.map(t=>ce(t)?Ao(t):t))},entries(){return Fl(this,"entries",e=>(e[1]=jn(this,e[1]),e))},every(e,t){return nr(this,"every",e,t,void 0,arguments)},filter(e,t){return nr(this,"filter",e,t,n=>n.map(r=>jn(this,r)),arguments)},find(e,t){return nr(this,"find",e,t,n=>jn(this,n),arguments)},findIndex(e,t){return nr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return nr(this,"findLast",e,t,n=>jn(this,n),arguments)},findLastIndex(e,t){return nr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return nr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ml(this,"includes",e)},indexOf(...e){return Ml(this,"indexOf",e)},join(e){return Ao(this).join(e)},lastIndexOf(...e){return Ml(this,"lastIndexOf",e)},map(e,t){return nr(this,"map",e,t,void 0,arguments)},pop(){return ms(this,"pop")},push(...e){return ms(this,"push",e)},reduce(e,...t){return Uf(this,"reduce",e,t)},reduceRight(e,...t){return Uf(this,"reduceRight",e,t)},shift(){return ms(this,"shift")},some(e,t){return nr(this,"some",e,t,void 0,arguments)},splice(...e){return ms(this,"splice",e)},toReversed(){return Ao(this).toReversed()},toSorted(e){return Ao(this).toSorted(e)},toSpliced(...e){return Ao(this).toSpliced(...e)},unshift(...e){return ms(this,"unshift",e)},values(){return Fl(this,"values",e=>jn(this,e))}};function Fl(e,t,n){const r=Wa(e),o=r[t]();return r!==e&&!on(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const sx=Array.prototype;function nr(e,t,n,r,o,s){const i=Wa(e),a=i!==e&&!on(e),l=i[t];if(l!==sx[t]){const f=l.apply(e,s);return a?Ln(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,jn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function Uf(e,t,n,r){const o=Wa(e),s=o!==e&&!on(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=jn(e,c)),n.call(this,c,jn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?jn(e,l):l}function Ml(e,t,n){const r=Pe(e);Mt(r,"iterate",Gs);const o=r[t](...n);return(o===-1||o===!1)&&Ka(n[0])?(n[0]=Pe(n[0]),r[t](...n)):o}function ms(e,t,n=[]){mr(),mu();const r=Pe(e)[t].apply(e,n);return gu(),gr(),r}const ix=du("__proto__,__v_isRef,__isVue"),Rh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn));function ax(e){sn(e)||(e=String(e));const t=Pe(this);return Mt(t,"has",e),t.hasOwnProperty(e)}class $h{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?Wh:jh:s?Uh:Hh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ce(t);if(!o){let l;if(i&&(l=ox[n]))return l;if(n==="hasOwnProperty")return ax}const a=Reflect.get(t,n,nt(t)?t:r);if((sn(n)?Rh.has(n):ix(n))||(o||Mt(t,"get",n),s))return a;if(nt(a)){const l=i&&$a(n)?a:a.value;return o&&we(l)?Wo(l):l}return we(a)?o?Wo(a):Jt(a):a}}class Bh extends $h{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ce(t)&&$a(n);if(!this._isShallow){const c=vr(s);if(!on(r)&&!vr(r)&&(s=Pe(s),r=Pe(r)),!i&&nt(s)&&!nt(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Ve(t,n),l=Reflect.set(t,n,r,nt(t)?t:o);return t===Pe(o)&&(a?Gn(r,s)&&ur(t,"set",n,r):ur(t,"add",n,r)),l}deleteProperty(t,n){const r=Ve(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&ur(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!sn(n)||!Rh.has(n))&&Mt(t,"has",n),r}ownKeys(t){return Mt(t,"iterate",ce(t)?"length":lo),Reflect.ownKeys(t)}}class Vh extends $h{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lx=new Bh,cx=new Vh,ux=new Bh(!0),fx=new Vh(!0),gc=e=>e,Pi=e=>Reflect.getPrototypeOf(e);function dx(e,t,n){return function(...r){const o=this.__v_raw,s=Pe(o),i=Vo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?gc:t?Go:Ln;return!t&&Mt(s,"iterate",l?mc:lo),mt(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function Di(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function px(e,t){const n={get(o){const s=this.__v_raw,i=Pe(s),a=Pe(o);e||(Gn(o,a)&&Mt(i,"get",o),Mt(i,"get",a));const{has:l}=Pi(i),c=t?gc:e?Go:Ln;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Mt(Pe(o),"iterate",lo),o.size},has(o){const s=this.__v_raw,i=Pe(s),a=Pe(o);return e||(Gn(o,a)&&Mt(i,"has",o),Mt(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=Pe(a),c=t?gc:e?Go:Ln;return!e&&Mt(l,"iterate",lo),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return mt(n,e?{add:Di("add"),set:Di("set"),delete:Di("delete"),clear:Di("clear")}:{add(o){const s=Pe(this),i=Pi(s),a=Pe(o),l=!t&&!on(o)&&!vr(o)?a:o;return i.has.call(s,l)||Gn(o,l)&&i.has.call(s,o)||Gn(a,l)&&i.has.call(s,a)||(s.add(l),ur(s,"add",l,l)),this},set(o,s){!t&&!on(s)&&!vr(s)&&(s=Pe(s));const i=Pe(this),{has:a,get:l}=Pi(i);let c=a.call(i,o);c||(o=Pe(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Gn(s,u)&&ur(i,"set",o,s):ur(i,"add",o,s),this},delete(o){const s=Pe(this),{has:i,get:a}=Pi(s);let l=i.call(s,o);l||(o=Pe(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&ur(s,"delete",o,void 0),c},clear(){const o=Pe(this),s=o.size!==0,i=o.clear();return s&&ur(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=dx(o,e,t)}),n}function Ga(e,t){const n=px(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ve(n,o)&&o in r?n:r,o,s)}const hx={get:Ga(!1,!1)},mx={get:Ga(!1,!0)},gx={get:Ga(!0,!1)},vx={get:Ga(!0,!0)},Hh=new WeakMap,Uh=new WeakMap,jh=new WeakMap,Wh=new WeakMap;function _x(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xx(e){return e.__v_skip||!Object.isExtensible(e)?0:_x(H_(e))}function Jt(e){return vr(e)?e:za(e,!1,lx,hx,Hh)}function Gh(e){return za(e,!1,ux,mx,Uh)}function Wo(e){return za(e,!0,cx,gx,jh)}function bx(e){return za(e,!0,fx,vx,Wh)}function za(e,t,n,r,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=xx(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function co(e){return vr(e)?co(e.__v_raw):!!(e&&e.__v_isReactive)}function vr(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function Ka(e){return e?!!e.__v_raw:!1}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function yx(e){return!Ve(e,"__v_skip")&&Object.isExtensible(e)&&Eh(e,"__v_skip",!0),e}const Ln=e=>we(e)?Jt(e):e,Go=e=>we(e)?Wo(e):e;function nt(e){return e?e.__v_isRef===!0:!1}function Z(e){return zh(e,!1)}function wt(e){return zh(e,!0)}function zh(e,t){return nt(e)?e:new Ex(e,t)}class Ex{constructor(t,n){this.dep=new ja,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Pe(t),this._value=n?t:Ln(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||on(t)||vr(t);t=r?t:Pe(t),Gn(t,n)&&(this._rawValue=t,this._value=r?t:Ln(t),this.dep.trigger())}}function A(e){return nt(e)?e.value:e}function _t(e){return be(e)?e():A(e)}const Cx={get:(e,t,n)=>t==="__v_raw"?e:A(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return nt(o)&&!nt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Kh(e){return co(e)?e:new Proxy(e,Cx)}class Sx{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ja,{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 wx(e){return new Sx(e)}function rs(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=Yh(e,n);return t}class Ax{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=sn(n)?n:String(n),this._raw=Pe(t);let o=!0,s=t;if(!ce(t)||sn(this._key)||!$a(this._key))do o=!Ka(s)||on(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=A(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&nt(this._raw[this._key])){const n=this._object[this._key];if(nt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return rx(this._raw,this._key)}}class Tx{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 en(e,t,n){return nt(e)?e:be(e)?new Tx(e):we(e)&&arguments.length>1?Yh(e,t,n):Z(e)}function Yh(e,t,n){return new Ax(e,t,n)}class Ox{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ja(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&et!==this)return Mh(this,!0),!0}get value(){const t=this.dep.track();return Ph(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Nx(e,t,n=!1){let r,o;return be(e)?r=e:(r=e.get,o=e.set),new Ox(r,o,n)}const ki={},ca=new WeakMap;let Qr;function Fx(e,t=!1,n=Qr){if(n){let r=ca.get(n);r||ca.set(n,r=[]),r.push(e)}}function Mx(e,t,n=qe){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=x=>o?x:on(x)||o===!1||o===0?fr(x,1):fr(x);let u,f,d,p,h=!1,m=!1;if(nt(e)?(f=()=>e.value,h=on(e)):co(e)?(f=()=>c(e),h=!0):ce(e)?(m=!0,h=e.some(x=>co(x)||on(x)),f=()=>e.map(x=>{if(nt(x))return x.value;if(co(x))return c(x);if(be(x))return l?l(x,2):x()})):be(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){mr();try{d()}finally{gr()}}const x=Qr;Qr=u;try{return l?l(e,3,[p]):e(p)}finally{Qr=x}}:f=pt,t&&o){const x=f,S=o===!0?1/0:o;f=()=>fr(x(),S)}const v=Ua(),g=()=>{u.stop(),v&&v.active&&pu(v.effects,u)};if(s&&t){const x=t;t=(...S)=>{x(...S),g()}}let _=m?new Array(e.length).fill(ki):ki;const y=x=>{if(!(!(u.flags&1)||!u.dirty&&!x))if(t){const S=u.run();if(o||h||(m?S.some((E,b)=>Gn(E,_[b])):Gn(S,_))){d&&d();const E=Qr;Qr=u;try{const b=[S,_===ki?void 0:m&&_[0]===ki?[]:_,p];_=S,l?l(t,3,b):t(...b)}finally{Qr=E}}}else u.run()};return a&&a(y),u=new Nh(f),u.scheduler=i?()=>i(y,!1):y,p=x=>Fx(x,!1,u),d=u.onStop=()=>{const x=ca.get(u);if(x){if(l)l(x,4);else for(const S of x)S();ca.delete(u)}},t?r?y(!0):_=u.run():i?i(y.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function fr(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,nt(e))fr(e.value,t,n);else if(ce(e))for(let r=0;r<e.length;r++)fr(e[r],t,n);else if(Ra(e)||Vo(e))e.forEach(r=>{fr(r,t,n)});else if(hu(e)){for(const r in e)fr(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&fr(e[r],t,n)}return e}function hi(e,t,n,r){try{return r?e(...r):e()}catch(o){Ya(o,t,n)}}function In(e,t,n,r){if(be(e)){const o=hi(e,t,n,r);return o&&bh(o)&&o.catch(s=>{Ya(s,t,n)}),o}if(ce(e)){const o=[];for(let s=0;s<e.length;s++)o.push(In(e[s],t,n,r));return o}}function Ya(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||qe;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){mr(),hi(s,null,10,[e,l,c]),gr();return}}Lx(e,n,o,r,i)}function Lx(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ut=[];let Hn=-1;const Ho=[];let Ir=null,Mo=0;const qh=Promise.resolve();let ua=null;function rt(e){const t=ua||qh;return e?t.then(this?e.bind(this):e):t}function Ix(e){let t=Hn+1,n=Ut.length;for(;t<n;){const r=t+n>>>1,o=Ut[r],s=zs(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function _u(e){if(!(e.flags&1)){const t=zs(e),n=Ut[Ut.length-1];!n||!(e.flags&2)&&t>=zs(n)?Ut.push(e):Ut.splice(Ix(t),0,e),e.flags|=1,Jh()}}function Jh(){ua||(ua=qh.then(Zh))}function Xh(e){ce(e)?Ho.push(...e):Ir&&e.id===-1?Ir.splice(Mo+1,0,e):e.flags&1||(Ho.push(e),e.flags|=1),Jh()}function jf(e,t,n=Hn+1){for(;n<Ut.length;n++){const r=Ut[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ut.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Qh(e){if(Ho.length){const t=[...new Set(Ho)].sort((n,r)=>zs(n)-zs(r));if(Ho.length=0,Ir){Ir.push(...t);return}for(Ir=t,Mo=0;Mo<Ir.length;Mo++){const n=Ir[Mo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ir=null,Mo=0}}const zs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zh(e){try{for(Hn=0;Hn<Ut.length;Hn++){const t=Ut[Hn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Hn<Ut.length;Hn++){const t=Ut[Hn];t&&(t.flags&=-2)}Hn=-1,Ut.length=0,Qh(),ua=null,(Ut.length||Ho.length)&&Zh()}}let Ct=null,em=null;function fa(e){const t=Ct;return Ct=e,em=e&&e.type.__scopeId||null,t}function pe(e,t=Ct,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ma(-1);const s=fa(t);let i;try{i=e(...o)}finally{fa(s),r._d&&ma(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Jn(e,t){if(Ct===null)return e;const n=Za(Ct),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=qe]=t[o];s&&(be(s)&&(s={mounted:s,updated:s}),s.deep&&fr(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Yr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(mr(),In(l,n,8,[e.el,a,e,t]),gr())}}function At(e,t){if(Lt){let n=Lt.provides;const r=Lt.parent&&Lt.parent.provides;r===n&&(n=Lt.provides=Object.create(r)),n[e]=t}}function Te(e,t,n=!1){const r=Ye();if(r||uo){let o=uo?uo._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&&be(t)?t.call(r&&r.proxy):t}}function tm(){return!!(Ye()||uo)}const Px=Symbol.for("v-scx"),Dx=()=>Te(Px);function mi(e,t){return xu(e,null,t)}function _e(e,t,n){return xu(e,t,n)}function xu(e,t,n=qe){const{immediate:r,deep:o,flush:s,once:i}=n,a=mt({},n),l=t&&r||!t&&s!=="post";let c;if(qs){if(s==="sync"){const p=Dx();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=pt,p.resume=pt,p.pause=pt,p}}const u=Lt;a.call=(p,h,m)=>In(p,u,h,m);let f=!1;s==="post"?a.scheduler=p=>{Vt(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():_u(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=Mx(e,t,a);return qs&&(c?c.push(d):l&&d()),d}function kx(e,t,n){const r=this.proxy,o=Re(e)?e.includes(".")?nm(r,e):()=>r[e]:e.bind(r,r);let s;be(t)?s=t:(s=t.handler,n=t);const i=gi(this),a=xu(o,s.bind(r),n);return i(),a}function nm(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 Nr=new WeakMap,rm=Symbol("_vte"),om=e=>e.__isTeleport,eo=e=>e&&(e.disabled||e.disabled===""),Rx=e=>e&&(e.defer||e.defer===""),Wf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Gf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,vc=(e,t)=>{const n=e&&e.to;return Re(n)?t?t(n):null:n},$x={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v,parentNode:g}}=c,_=eo(t.props);let{dynamicChildren:y}=t;const x=(b,O,F)=>{b.shapeFlag&16&&u(b.children,O,F,o,s,i,a,l)},S=(b=t)=>{const O=eo(b.props),F=b.target=vc(b.props,h),V=_c(F,b,m,p);F&&(i!=="svg"&&Wf(F)?i="svg":i!=="mathml"&&Gf(F)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(F),O||(x(b,F,V),As(b,!1)))},E=b=>{const O=()=>{if(Nr.get(b)===O){if(Nr.delete(b),eo(b.props)){const F=g(b.el)||n;x(b,F,b.anchor),As(b,!0)}S(b)}};Nr.set(b,O),Vt(O,s)};if(e==null){const b=t.el=m(""),O=t.anchor=m("");if(p(b,n,r),p(O,n,r),Rx(t.props)||s&&s.pendingBranch){E(t);return}_&&(x(t,n,O),As(t,!0)),S()}else{t.el=e.el;const b=t.anchor=e.anchor,O=Nr.get(e);if(O){O.flags|=8,Nr.delete(e),E(t);return}t.targetStart=e.targetStart;const F=t.target=e.target,V=t.targetAnchor=e.targetAnchor,W=eo(e.props),I=W?n:F,Y=W?b:V;if(i==="svg"||Wf(F)?i="svg":(i==="mathml"||Gf(F))&&(i="mathml"),y?(d(e.dynamicChildren,y,I,o,s,i,a),Au(e,t,!0)):l||f(e,t,I,Y,o,s,i,a,!1),_)W?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ri(t,n,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=vc(t.props,h);H&&Ri(t,H,null,c,0)}else W&&Ri(t,F,V,c,1);As(t,_)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;let p=s||!eo(d);const h=Nr.get(e);if(h&&(h.flags|=8,Nr.delete(e),p=!1),f&&(o(c),o(u)),s&&o(l),i&16)for(let m=0;m<a.length;m++){const v=a[m];r(v,t,n,p,!!v.dynamicChildren)}},move:Ri,hydrate:Bx};function Ri(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(i,t,n),!Nr.has(e)&&(!f||eo(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function Bx(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){function d(v,g){let _=g;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,v._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}}function p(v,g){g.anchor=f(i(v),g,a(v),n,r,o,s)}const h=t.target=vc(t.props,l),m=eo(t.props);if(h){const v=h._lpa||h.firstChild;t.shapeFlag&16&&(m?(p(e,t),d(h,v),t.targetAnchor||_c(h,t,u,c,a(e)===h?e:null)):(t.anchor=i(e),d(h,v),t.targetAnchor||_c(h,t,u,c),f(v&&i(v),t,h,n,r,o,s))),As(t,m)}else m&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Vx=$x;function As(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function _c(e,t,n,r,o=null){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[rm]=i,e&&(r(s,e,o),r(i,e,o)),i}const Un=Symbol("_leaveCb"),gs=Symbol("_enterCb");function sm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gt(()=>{e.isMounted=!0}),Nt(()=>{e.isUnmounting=!0}),e}const dn=[Function,Array],im={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dn,onEnter:dn,onAfterEnter:dn,onEnterCancelled:dn,onBeforeLeave:dn,onLeave:dn,onAfterLeave:dn,onLeaveCancelled:dn,onBeforeAppear:dn,onAppear:dn,onAfterAppear:dn,onAppearCancelled:dn},am=e=>{const t=e.subTree;return t.component?am(t.component):t},Hx={name:"BaseTransition",props:im,setup(e,{slots:t}){const n=Ye(),r=sm();return()=>{const o=t.default&&bu(t.default(),!0),s=o&&o.length?lm(o):n.subTree?Ae():void 0;if(!s)return;const i=Pe(e),{mode:a}=i;if(r.isLeaving)return Ll(s);const l=zf(s);if(!l)return Ll(s);let c=Ks(l,i,r,n,f=>c=f);l.type!==yt&&po(l,c);let u=n.subTree&&zf(n.subTree);if(u&&u.type!==yt&&!to(u,l)&&am(n).type!==yt){let f=Ks(u,i,r,n);if(po(u,f),a==="out-in"&&l.type!==yt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Ll(s);a==="in-out"&&l.type!==yt?f.delayLeave=(d,p,h)=>{const m=cm(r,u);m[String(u.key)]=u,d[Un]=()=>{p(),d[Un]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function lm(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==yt){t=n;break}}return t}const Ux=Hx;function cm(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ks(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:_,onAppearCancelled:y}=t,x=String(e.key),S=cm(n,e),E=(F,V)=>{F&&In(F,r,9,V)},b=(F,V)=>{const W=V[1];E(F,V),ce(F)?F.every(I=>I.length<=1)&&W():F.length<=1&&W()},O={mode:i,persisted:a,beforeEnter(F){let V=l;if(!n.isMounted)if(s)V=v||l;else return;F[Un]&&F[Un](!0);const W=S[x];W&&to(e,W)&&W.el[Un]&&W.el[Un](),E(V,[F])},enter(F){if(S[x]===e)return;let V=c,W=u,I=f;if(!n.isMounted)if(s)V=g||c,W=_||u,I=y||f;else return;let Y=!1;F[gs]=D=>{Y||(Y=!0,D?E(I,[F]):E(W,[F]),O.delayedLeave&&O.delayedLeave(),F[gs]=void 0)};const H=F[gs].bind(null,!1);V?b(V,[F,H]):H()},leave(F,V){const W=String(e.key);if(F[gs]&&F[gs](!0),n.isUnmounting)return V();E(d,[F]);let I=!1;F[Un]=H=>{I||(I=!0,V(),H?E(m,[F]):E(h,[F]),F[Un]=void 0,S[W]===e&&delete S[W])};const Y=F[Un].bind(null,!1);S[W]=e,p?b(p,[F,Y]):Y()},clone(F){const V=Ks(F,t,n,r,o);return o&&o(V),V}};return O}function Ll(e){if(qa(e))return e=Xn(e),e.children=null,e}function zf(e){if(!qa(e))return om(e.type)&&e.children?lm(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&be(n.default))return n.default()}}function po(e,t){e.shapeFlag&6&&e.component?(e.transition=t,po(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 bu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===ke?(i.patchFlag&128&&o++,r=r.concat(bu(i.children,t,a))):(t||i.type!==yt)&&r.push(a!=null?Xn(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function ue(e,t){return be(e)?mt({name:e.name},t,{setup:e}):e}function um(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function da(e){const t=Ye(),n=wt(null);if(t){const o=t.refs===qe?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Kf(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const pa=new WeakMap;function Is(e,t,n,r,o=!1){if(ce(e)){e.forEach((m,v)=>Is(m,t&&(ce(t)?t[v]:t),n,r,o));return}if(Uo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Is(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Za(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===qe?a.refs={}:a.refs,f=a.setupState,d=Pe(f),p=f===qe?xh:m=>Kf(u,m)?!1:Ve(d,m),h=(m,v)=>!(v&&Kf(u,v));if(c!=null&&c!==l){if(Yf(t),Re(c))u[c]=null,p(c)&&(f[c]=null);else if(nt(c)){const m=t;h(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(be(l))hi(l,a,12,[i,u]);else{const m=Re(l),v=nt(l);if(m||v){const g=()=>{if(e.f){const _=m?p(l)?f[l]:u[l]:h()||!e.k?l.value:u[e.k];if(o)ce(_)&&pu(_,s);else if(ce(_))_.includes(s)||_.push(s);else if(m)u[l]=[s],p(l)&&(f[l]=u[l]);else{const y=[s];h(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else m?(u[l]=i,p(l)&&(f[l]=i)):v&&(h(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{g(),pa.delete(e)};_.id=-1,pa.set(e,_),Vt(_,n)}else Yf(e),g()}}}function Yf(e){const t=pa.get(e);t&&(t.flags|=8,pa.delete(e))}Ha().requestIdleCallback;Ha().cancelIdleCallback;const Uo=e=>!!e.type.__asyncLoader,qa=e=>e.type.__isKeepAlive;function fm(e,t){pm(e,"a",t)}function dm(e,t){pm(e,"da",t)}function pm(e,t,n=Lt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ja(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qa(o.parent.vnode)&&jx(r,t,n,o),o=o.parent}}function jx(e,t,n,r){const o=Ja(t,e,r,!0);yo(()=>{pu(r[t],o)},n)}function Ja(e,t,n=Lt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{mr();const a=gi(n),l=In(t,n,e,i);return a(),gr(),l});return r?o.unshift(s):o.push(s),s}}const yr=e=>(t,n=Lt)=>{(!qs||e==="sp")&&Ja(e,(...r)=>t(...r),n)},hm=yr("bm"),gt=yr("m"),mm=yr("bu"),yu=yr("u"),Nt=yr("bum"),yo=yr("um"),Wx=yr("sp"),Gx=yr("rtg"),zx=yr("rtc");function Kx(e,t=Lt){Ja("ec",e,t)}const Eu="components",Yx="directives";function sr(e,t){return Cu(Eu,e,!0,t)||e}const gm=Symbol.for("v-ndc");function vn(e){return Re(e)?Cu(Eu,e,!1)||e:e||gm}function qx(e){return Cu(Yx,e)}function Cu(e,t,n=!0,r=!1){const o=Ct||Lt;if(o){const s=o.type;if(e===Eu){const a=Mb(s,!1);if(a&&(a===t||a===Pt(t)||a===Va(Pt(t))))return s}const i=qf(o[e]||s[e],t)||qf(o.appContext[e],t);return!i&&r?s:i}}function qf(e,t){return e&&(e[t]||e[Pt(t)]||e[Va(Pt(t))])}function Nn(e,t,n,r){let o;const s=n&&n[r],i=ce(e);if(i||Re(e)){const a=i&&co(e);let l=!1,c=!1;a&&(l=!on(e),c=vr(e),e=Wa(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?Go(Ln(e[u])):Ln(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(we(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function Se(e,t,n={},r,o){if(Ct.ce||Ct.parent&&Uo(Ct.parent)&&Ct.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),U(),he(ke,null,[ee("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),U();const i=s&&vm(s(n)),a=n.key||i&&i.key,l=he(ke,{key:(a&&!sn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function vm(e){return e.some(t=>zn(t)?!(t.type===yt||t.type===ke&&!vm(t.children)):!0)?e:null}const xc=e=>e?$m(e)?Za(e):xc(e.parent):null,Ps=mt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xc(e.parent),$root:e=>xc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ym(e),$forceUpdate:e=>e.f||(e.f=()=>{_u(e.update)}),$nextTick:e=>e.n||(e.n=rt.bind(e.proxy)),$watch:e=>kx.bind(e)}),Il=(e,t)=>e!==qe&&!e.__isScriptSetup&&Ve(e,t),Jx={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Il(r,t))return i[t]=1,r[t];if(o!==qe&&Ve(o,t))return i[t]=2,o[t];if(Ve(s,t))return i[t]=3,s[t];if(n!==qe&&Ve(n,t))return i[t]=4,n[t];bc&&(i[t]=0)}}const c=Ps[t];let u,f;if(c)return t==="$attrs"&&Mt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==qe&&Ve(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Ve(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Il(o,t)?(o[t]=n,!0):r!==qe&&Ve(r,t)?(r[t]=n,!0):Ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==qe&&a[0]!=="$"&&Ve(e,a)||Il(t,a)||Ve(s,a)||Ve(r,a)||Ve(Ps,a)||Ve(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xa(){return xm().slots}function _m(){return xm().attrs}function xm(e){const t=Ye();return t.setupContext||(t.setupContext=Vm(t))}function Jf(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let bc=!0;function Xx(e){const t=ym(e),n=e.proxy,r=e.ctx;bc=!1,t.beforeCreate&&Xf(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:_,destroyed:y,unmounted:x,render:S,renderTracked:E,renderTriggered:b,errorCaptured:O,serverPrefetch:F,expose:V,inheritAttrs:W,components:I,directives:Y,filters:H}=t;if(c&&Qx(c,r,null),i)for(const R in i){const j=i[R];be(j)&&(r[R]=j.bind(n))}if(o){const R=o.call(n,n);we(R)&&(e.data=Jt(R))}if(bc=!0,s)for(const R in s){const j=s[R],ne=be(j)?j.bind(n,n):be(j.get)?j.get.bind(n,n):pt,le=!be(j)&&be(j.set)?j.set.bind(n):pt,xe=L({get:ne,set:le});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>xe.value,set:Ee=>xe.value=Ee})}if(a)for(const R in a)bm(a[R],r,n,R);if(l){const R=be(l)?l.call(n):l;Reflect.ownKeys(R).forEach(j=>{At(j,R[j])})}u&&Xf(u,e,"c");function M(R,j){ce(j)?j.forEach(ne=>R(ne.bind(n))):j&&R(j.bind(n))}if(M(hm,f),M(gt,d),M(mm,p),M(yu,h),M(fm,m),M(dm,v),M(Kx,O),M(zx,E),M(Gx,b),M(Nt,_),M(yo,x),M(Wx,F),ce(V))if(V.length){const R=e.exposed||(e.exposed={});V.forEach(j=>{Object.defineProperty(R,j,{get:()=>n[j],set:ne=>n[j]=ne,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===pt&&(e.render=S),W!=null&&(e.inheritAttrs=W),I&&(e.components=I),Y&&(e.directives=Y),F&&um(e)}function Qx(e,t,n=pt){ce(e)&&(e=yc(e));for(const r in e){const o=e[r];let s;we(o)?"default"in o?s=Te(o.from||r,o.default,!0):s=Te(o.from||r):s=Te(o),nt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Xf(e,t,n){In(ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bm(e,t,n,r){let o=r.includes(".")?nm(n,r):()=>n[r];if(Re(e)){const s=t[e];be(s)&&_e(o,s)}else if(be(e))_e(o,e.bind(n));else if(we(e))if(ce(e))e.forEach(s=>bm(s,t,n,r));else{const s=be(e.handler)?e.handler.bind(n):t[e.handler];be(s)&&_e(o,s,e)}}function ym(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>ha(l,c,i,!0)),ha(l,t,i)),we(t)&&s.set(t,l),l}function ha(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ha(e,s,n,!0),o&&o.forEach(i=>ha(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Zx[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Zx={data:Qf,props:Zf,emits:Zf,methods:Ts,computed:Ts,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:Ts,directives:Ts,watch:tb,provide:Qf,inject:eb};function Qf(e,t){return t?e?function(){return mt(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function eb(e,t){return Ts(yc(e),yc(t))}function yc(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Bt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ts(e,t){return e?mt(Object.create(null),e,t):t}function Zf(e,t){return e?ce(e)&&ce(t)?[...new Set([...e,...t])]:mt(Object.create(null),Jf(e),Jf(t??{})):t}function tb(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=Bt(e[r],t[r]);return n}function Em(){return{app:null,config:{isNativeTag:xh,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 nb=0;function rb(e,t){return function(r,o=null){be(r)||(r=mt({},r)),o!=null&&!we(o)&&(o=null);const s=Em(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:nb++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Ib,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&be(u.install)?(i.add(u),u.install(c,...f)):be(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||ee(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,Za(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(In(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=uo;uo=c;try{return u()}finally{uo=f}}};return c}}let uo=null;const ob=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${Vr(t)}Modifiers`];function sb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||qe;let o=n;const s=t.startsWith("update:"),i=s&&ob(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Re(u)?u.trim():u)),i.number&&(o=n.map(W_)));let a,l=r[a=Qi(t)]||r[a=Qi(Pt(t))];!l&&s&&(l=r[a=Qi(Vr(t))]),l&&In(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,In(c,e,6,o)}}const ib=new WeakMap;function Cm(e,t,n=!1){const r=n?ib:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!be(e)){const l=c=>{const u=Cm(c,t,!0);u&&(a=!0,mt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(we(e)&&r.set(e,null),null):(ce(s)?s.forEach(l=>i[l]=null):mt(i,s),we(e)&&r.set(e,i),i)}function Qa(e,t){return!e||!Da(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ve(e,t[0].toLowerCase()+t.slice(1))||Ve(e,Vr(t))||Ve(e,t))}function ed(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,v=fa(e);let g,_;try{if(n.shapeFlag&4){const x=o||r,S=x;g=Wn(c.call(S,x,u,f,p,d,h)),_=a}else{const x=t;g=Wn(x.length>1?x(f,{attrs:a,slots:i,emit:l}):x(f,null)),_=t.props?a:ab(a)}}catch(x){Ds.length=0,Ya(x,e,1),g=ee(yt)}let y=g;if(_&&m!==!1){const x=Object.keys(_),{shapeFlag:S}=y;x.length&&S&7&&(s&&x.some(ka)&&(_=lb(_,s)),y=Xn(y,_,!1,!0))}return n.dirs&&(y=Xn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&po(y,n.transition),g=y,fa(v),g}const ab=e=>{let t;for(const n in e)(n==="class"||n==="style"||Da(n))&&((t||(t={}))[n]=e[n]);return t},lb=(e,t)=>{const n={};for(const r in e)(!ka(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cb(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?td(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(Sm(i,r,d)&&!Qa(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?td(r,i,c):!0:!!i;return!1}function td(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(Sm(t,e,s)&&!Qa(n,s))return!0}return!1}function Sm(e,t,n){const r=e[n],o=t[n];return n==="style"&&we(r)&&we(o)?!pi(r,o):r!==o}function ub({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 wm={},Am=()=>Object.create(wm),Tm=e=>Object.getPrototypeOf(e)===wm;function fb(e,t,n,r=!1){const o={},s=Am();e.propsDefaults=Object.create(null),Om(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Gh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function db(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Pe(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Qa(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ve(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const h=Pt(d);o[h]=Ec(l,a,h,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{Om(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Ve(t,f)&&((u=Vr(f))===f||!Ve(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ec(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Ve(t,f))&&(delete s[f],c=!0)}c&&ur(e.attrs,"set","")}function Om(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Fs(l))continue;const c=t[l];let u;o&&Ve(o,u=Pt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Qa(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Pe(n),c=a||qe;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Ec(o,l,f,c[f],e,!Ve(c,f))}}return i}function Ec(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Ve(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&be(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=gi(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Vr(n))&&(r=!0))}return r}const pb=new WeakMap;function Nm(e,t,n=!1){const r=n?pb:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!be(e)){const u=f=>{l=!0;const[d,p]=Nm(f,t,!0);mt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return we(e)&&r.set(e,Bo),Bo;if(ce(s))for(let u=0;u<s.length;u++){const f=Pt(s[u]);nd(f)&&(i[f]=qe)}else if(s)for(const u in s){const f=Pt(u);if(nd(f)){const d=s[u],p=i[f]=ce(d)||be(d)?{type:d}:mt({},d),h=p.type;let m=!1,v=!0;if(ce(h))for(let g=0;g<h.length;++g){const _=h[g],y=be(_)&&_.name;if(y==="Boolean"){m=!0;break}else y==="String"&&(v=!1)}else m=be(h)&&h.name==="Boolean";p[0]=m,p[1]=v,(m||Ve(p,"default"))&&a.push(f)}}const c=[i,a];return we(e)&&r.set(e,c),c}function nd(e){return e[0]!=="$"&&!Fs(e)}const Su=e=>e==="_"||e==="_ctx"||e==="$stable",wu=e=>ce(e)?e.map(Wn):[Wn(e)],hb=(e,t,n)=>{if(t._n)return t;const r=pe((...o)=>wu(t(...o)),n);return r._c=!1,r},Fm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Su(o))continue;const s=e[o];if(be(s))t[o]=hb(o,s,r);else if(s!=null){const i=wu(s);t[o]=()=>i}}},Mm=(e,t)=>{const n=wu(t);e.slots.default=()=>n},Lm=(e,t,n)=>{for(const r in t)(n||!Su(r))&&(e[r]=t[r])},mb=(e,t,n)=>{const r=e.slots=Am();if(e.vnode.shapeFlag&32){const o=t._;o?(Lm(r,t,n),n&&Eh(r,"_",o,!0)):Fm(t,r)}else t&&Mm(e,t)},gb=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=qe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Lm(o,t,n):(s=!t.$stable,Fm(t,o)),i=t}else t&&(Mm(e,t),i={default:1});if(s)for(const a in o)!Su(a)&&i[a]==null&&delete o[a]},Vt=yb;function vb(e){return _b(e)}function _b(e,t){const n=Ha();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=pt,insertStaticContent:h}=e,m=(T,N,$,q=null,X=null,J=null,C=void 0,w=null,P=!!N.dynamicChildren)=>{if(T===N)return;T&&!to(T,N)&&(q=K(T),Ee(T,X,J,!0),T=null),N.patchFlag===-2&&(P=!1,N.dynamicChildren=null);const{type:B,ref:ie,shapeFlag:Q}=N;switch(B){case Eo:v(T,N,$,q);break;case yt:g(T,N,$,q);break;case ea:T==null&&_(N,$,q,C);break;case ke:I(T,N,$,q,X,J,C,w,P);break;default:Q&1?S(T,N,$,q,X,J,C,w,P):Q&6?Y(T,N,$,q,X,J,C,w,P):(Q&64||Q&128)&&B.process(T,N,$,q,X,J,C,w,P,re)}ie!=null&&X?Is(ie,T&&T.ref,J,N||T,!N):ie==null&&T&&T.ref!=null&&Is(T.ref,null,J,T,!0)},v=(T,N,$,q)=>{if(T==null)r(N.el=a(N.children),$,q);else{const X=N.el=T.el;N.children!==T.children&&c(X,N.children)}},g=(T,N,$,q)=>{T==null?r(N.el=l(N.children||""),$,q):N.el=T.el},_=(T,N,$,q)=>{[T.el,T.anchor]=h(T.children,N,$,q,T.el,T.anchor)},y=({el:T,anchor:N},$,q)=>{let X;for(;T&&T!==N;)X=d(T),r(T,$,q),T=X;r(N,$,q)},x=({el:T,anchor:N})=>{let $;for(;T&&T!==N;)$=d(T),o(T),T=$;o(N)},S=(T,N,$,q,X,J,C,w,P)=>{if(N.type==="svg"?C="svg":N.type==="math"&&(C="mathml"),T==null)E(N,$,q,X,J,C,w,P);else{const B=T.el&&T.el._isVueCE?T.el:null;try{B&&B._beginPatch(),F(T,N,X,J,C,w,P)}finally{B&&B._endPatch()}}},E=(T,N,$,q,X,J,C,w)=>{let P,B;const{props:ie,shapeFlag:Q,transition:k,dirs:G}=T;if(P=T.el=i(T.type,J,ie&&ie.is,ie),Q&8?u(P,T.children):Q&16&&O(T.children,P,null,q,X,Pl(T,J),C,w),G&&Yr(T,null,q,"created"),b(P,T,T.scopeId,C,q),ie){for(const ye in ie)ye!=="value"&&!Fs(ye)&&s(P,ye,null,ie[ye],J,q);"value"in ie&&s(P,"value",null,ie.value,J),(B=ie.onVnodeBeforeMount)&&kn(B,q,T)}G&&Yr(T,null,q,"beforeMount");const ve=xb(X,k);ve&&k.beforeEnter(P),r(P,N,$),((B=ie&&ie.onVnodeMounted)||ve||G)&&Vt(()=>{B&&kn(B,q,T),ve&&k.enter(P),G&&Yr(T,null,q,"mounted")},X)},b=(T,N,$,q,X)=>{if($&&p(T,$),q)for(let J=0;J<q.length;J++)p(T,q[J]);if(X){let J=X.subTree;if(N===J||Dm(J.type)&&(J.ssContent===N||J.ssFallback===N)){const C=X.vnode;b(T,C,C.scopeId,C.slotScopeIds,X.parent)}}},O=(T,N,$,q,X,J,C,w,P=0)=>{for(let B=P;B<T.length;B++){const ie=T[B]=w?lr(T[B]):Wn(T[B]);m(null,ie,N,$,q,X,J,C,w)}},F=(T,N,$,q,X,J,C)=>{const w=N.el=T.el;let{patchFlag:P,dynamicChildren:B,dirs:ie}=N;P|=T.patchFlag&16;const Q=T.props||qe,k=N.props||qe;let G;if($&&qr($,!1),(G=k.onVnodeBeforeUpdate)&&kn(G,$,N,T),ie&&Yr(N,T,$,"beforeUpdate"),$&&qr($,!0),(Q.innerHTML&&k.innerHTML==null||Q.textContent&&k.textContent==null)&&u(w,""),B?V(T.dynamicChildren,B,w,$,q,Pl(N,X),J):C||j(T,N,w,null,$,q,Pl(N,X),J,!1),P>0){if(P&16)W(w,Q,k,$,X);else if(P&2&&Q.class!==k.class&&s(w,"class",null,k.class,X),P&4&&s(w,"style",Q.style,k.style,X),P&8){const ve=N.dynamicProps;for(let ye=0;ye<ve.length;ye++){const Me=ve[ye],Ge=Q[Me],Be=k[Me];(Be!==Ge||Me==="value")&&s(w,Me,Ge,Be,X,$)}}P&1&&T.children!==N.children&&u(w,N.children)}else!C&&B==null&&W(w,Q,k,$,X);((G=k.onVnodeUpdated)||ie)&&Vt(()=>{G&&kn(G,$,N,T),ie&&Yr(N,T,$,"updated")},q)},V=(T,N,$,q,X,J,C)=>{for(let w=0;w<N.length;w++){const P=T[w],B=N[w],ie=P.el&&(P.type===ke||!to(P,B)||P.shapeFlag&198)?f(P.el):$;m(P,B,ie,null,q,X,J,C,!0)}},W=(T,N,$,q,X)=>{if(N!==$){if(N!==qe)for(const J in N)!Fs(J)&&!(J in $)&&s(T,J,N[J],null,X,q);for(const J in $){if(Fs(J))continue;const C=$[J],w=N[J];C!==w&&J!=="value"&&s(T,J,w,C,X,q)}"value"in $&&s(T,"value",N.value,$.value,X)}},I=(T,N,$,q,X,J,C,w,P)=>{const B=N.el=T?T.el:a(""),ie=N.anchor=T?T.anchor:a("");let{patchFlag:Q,dynamicChildren:k,slotScopeIds:G}=N;G&&(w=w?w.concat(G):G),T==null?(r(B,$,q),r(ie,$,q),O(N.children||[],$,ie,X,J,C,w,P)):Q>0&&Q&64&&k&&T.dynamicChildren&&T.dynamicChildren.length===k.length?(V(T.dynamicChildren,k,$,X,J,C,w),(N.key!=null||X&&N===X.subTree)&&Au(T,N,!0)):j(T,N,$,ie,X,J,C,w,P)},Y=(T,N,$,q,X,J,C,w,P)=>{N.slotScopeIds=w,T==null?N.shapeFlag&512?X.ctx.activate(N,$,q,C,P):H(N,$,q,X,J,C,P):D(T,N,P)},H=(T,N,$,q,X,J,C)=>{const w=T.component=Tb(T,q,X);if(qa(T)&&(w.ctx.renderer=re),Ob(w,!1,C),w.asyncDep){if(X&&X.registerDep(w,M,C),!T.el){const P=w.subTree=ee(yt);g(null,P,N,$),T.placeholder=P.el}}else M(w,T,N,$,X,J,C)},D=(T,N,$)=>{const q=N.component=T.component;if(cb(T,N,$))if(q.asyncDep&&!q.asyncResolved){R(q,N,$);return}else q.next=N,q.update();else N.el=T.el,q.vnode=N},M=(T,N,$,q,X,J,C)=>{const w=()=>{if(T.isMounted){let{next:Q,bu:k,u:G,parent:ve,vnode:ye}=T;{const Et=Im(T);if(Et){Q&&(Q.el=ye.el,R(T,Q,C)),Et.asyncDep.then(()=>{Vt(()=>{T.isUnmounted||B()},X)});return}}let Me=Q,Ge;qr(T,!1),Q?(Q.el=ye.el,R(T,Q,C)):Q=ye,k&&Zi(k),(Ge=Q.props&&Q.props.onVnodeBeforeUpdate)&&kn(Ge,ve,Q,ye),qr(T,!0);const Be=ed(T),Rt=T.subTree;T.subTree=Be,m(Rt,Be,f(Rt.el),K(Rt),T,X,J),Q.el=Be.el,Me===null&&ub(T,Be.el),G&&Vt(G,X),(Ge=Q.props&&Q.props.onVnodeUpdated)&&Vt(()=>kn(Ge,ve,Q,ye),X)}else{let Q;const{el:k,props:G}=N,{bm:ve,m:ye,parent:Me,root:Ge,type:Be}=T,Rt=Uo(N);qr(T,!1),ve&&Zi(ve),!Rt&&(Q=G&&G.onVnodeBeforeMount)&&kn(Q,Me,N),qr(T,!0);{Ge.ce&&Ge.ce._hasShadowRoot()&&Ge.ce._injectChildStyle(Be,T.parent?T.parent.type:void 0);const Et=T.subTree=ed(T);m(null,Et,$,q,T,X,J),N.el=Et.el}if(ye&&Vt(ye,X),!Rt&&(Q=G&&G.onVnodeMounted)){const Et=N;Vt(()=>kn(Q,Me,Et),X)}(N.shapeFlag&256||Me&&Uo(Me.vnode)&&Me.vnode.shapeFlag&256)&&T.a&&Vt(T.a,X),T.isMounted=!0,N=$=q=null}};T.scope.on();const P=T.effect=new Nh(w);T.scope.off();const B=T.update=P.run.bind(P),ie=T.job=P.runIfDirty.bind(P);ie.i=T,ie.id=T.uid,P.scheduler=()=>_u(ie),qr(T,!0),B()},R=(T,N,$)=>{N.component=T;const q=T.vnode.props;T.vnode=N,T.next=null,db(T,N.props,q,$),gb(T,N.children,$),mr(),jf(T),gr()},j=(T,N,$,q,X,J,C,w,P=!1)=>{const B=T&&T.children,ie=T?T.shapeFlag:0,Q=N.children,{patchFlag:k,shapeFlag:G}=N;if(k>0){if(k&128){le(B,Q,$,q,X,J,C,w,P);return}else if(k&256){ne(B,Q,$,q,X,J,C,w,P);return}}G&8?(ie&16&&He(B,X,J),Q!==B&&u($,Q)):ie&16?G&16?le(B,Q,$,q,X,J,C,w,P):He(B,X,J,!0):(ie&8&&u($,""),G&16&&O(Q,$,q,X,J,C,w,P))},ne=(T,N,$,q,X,J,C,w,P)=>{T=T||Bo,N=N||Bo;const B=T.length,ie=N.length,Q=Math.min(B,ie);let k;for(k=0;k<Q;k++){const G=N[k]=P?lr(N[k]):Wn(N[k]);m(T[k],G,$,null,X,J,C,w,P)}B>ie?He(T,X,J,!0,!1,Q):O(N,$,q,X,J,C,w,P,Q)},le=(T,N,$,q,X,J,C,w,P)=>{let B=0;const ie=N.length;let Q=T.length-1,k=ie-1;for(;B<=Q&&B<=k;){const G=T[B],ve=N[B]=P?lr(N[B]):Wn(N[B]);if(to(G,ve))m(G,ve,$,null,X,J,C,w,P);else break;B++}for(;B<=Q&&B<=k;){const G=T[Q],ve=N[k]=P?lr(N[k]):Wn(N[k]);if(to(G,ve))m(G,ve,$,null,X,J,C,w,P);else break;Q--,k--}if(B>Q){if(B<=k){const G=k+1,ve=G<ie?N[G].el:q;for(;B<=k;)m(null,N[B]=P?lr(N[B]):Wn(N[B]),$,ve,X,J,C,w,P),B++}}else if(B>k)for(;B<=Q;)Ee(T[B],X,J,!0),B++;else{const G=B,ve=B,ye=new Map;for(B=ve;B<=k;B++){const $t=N[B]=P?lr(N[B]):Wn(N[B]);$t.key!=null&&ye.set($t.key,B)}let Me,Ge=0;const Be=k-ve+1;let Rt=!1,Et=0;const Kr=new Array(Be);for(B=0;B<Be;B++)Kr[B]=0;for(B=G;B<=Q;B++){const $t=T[B];if(Ge>=Be){Ee($t,X,J,!0);continue}let Xt;if($t.key!=null)Xt=ye.get($t.key);else for(Me=ve;Me<=k;Me++)if(Kr[Me-ve]===0&&to($t,N[Me])){Xt=Me;break}Xt===void 0?Ee($t,X,J,!0):(Kr[Xt-ve]=B+1,Xt>=Et?Et=Xt:Rt=!0,m($t,N[Xt],$,null,X,J,C,w,P),Ge++)}const fs=Rt?bb(Kr):Bo;for(Me=fs.length-1,B=Be-1;B>=0;B--){const $t=ve+B,Xt=N[$t],ds=N[$t+1],ps=$t+1<ie?ds.el||Pm(ds):q;Kr[B]===0?m(null,Xt,$,ps,X,J,C,w,P):Rt&&(Me<0||B!==fs[Me]?xe(Xt,$,ps,2):Me--)}}},xe=(T,N,$,q,X=null)=>{const{el:J,type:C,transition:w,children:P,shapeFlag:B}=T;if(B&6){xe(T.component.subTree,N,$,q);return}if(B&128){T.suspense.move(N,$,q);return}if(B&64){C.move(T,N,$,re);return}if(C===ke){r(J,N,$);for(let Q=0;Q<P.length;Q++)xe(P[Q],N,$,q);r(T.anchor,N,$);return}if(C===ea){y(T,N,$);return}if(q!==2&&B&1&&w)if(q===0)w.beforeEnter(J),r(J,N,$),Vt(()=>w.enter(J),X);else{const{leave:Q,delayLeave:k,afterLeave:G}=w,ve=()=>{T.ctx.isUnmounted?o(J):r(J,N,$)},ye=()=>{J._isLeaving&&J[Un](!0),Q(J,()=>{ve(),G&&G()})};k?k(J,ve,ye):ye()}else r(J,N,$)},Ee=(T,N,$,q=!1,X=!1)=>{const{type:J,props:C,ref:w,children:P,dynamicChildren:B,shapeFlag:ie,patchFlag:Q,dirs:k,cacheIndex:G,memo:ve}=T;if(Q===-2&&(X=!1),w!=null&&(mr(),Is(w,null,$,T,!0),gr()),G!=null&&(N.renderCache[G]=void 0),ie&256){N.ctx.deactivate(T);return}const ye=ie&1&&k,Me=!Uo(T);let Ge;if(Me&&(Ge=C&&C.onVnodeBeforeUnmount)&&kn(Ge,N,T),ie&6)Le(T.component,$,q);else{if(ie&128){T.suspense.unmount($,q);return}ye&&Yr(T,null,N,"beforeUnmount"),ie&64?T.type.remove(T,N,$,re,q):B&&!B.hasOnce&&(J!==ke||Q>0&&Q&64)?He(B,N,$,!1,!0):(J===ke&&Q&384||!X&&ie&16)&&He(P,N,$),q&&Ne(T)}const Be=ve!=null&&G==null;(Me&&(Ge=C&&C.onVnodeUnmounted)||ye||Be)&&Vt(()=>{Ge&&kn(Ge,N,T),ye&&Yr(T,null,N,"unmounted"),Be&&(T.el=null)},$)},Ne=T=>{const{type:N,el:$,anchor:q,transition:X}=T;if(N===ke){Fe($,q);return}if(N===ea){x(T);return}const J=()=>{o($),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(T.shapeFlag&1&&X&&!X.persisted){const{leave:C,delayLeave:w}=X,P=()=>C($,J);w?w(T.el,J,P):P()}else J()},Fe=(T,N)=>{let $;for(;T!==N;)$=d(T),o(T),T=$;o(N)},Le=(T,N,$)=>{const{bum:q,scope:X,job:J,subTree:C,um:w,m:P,a:B}=T;rd(P),rd(B),q&&Zi(q),X.stop(),J&&(J.flags|=8,Ee(C,T,N,$)),w&&Vt(w,N),Vt(()=>{T.isUnmounted=!0},N)},He=(T,N,$,q=!1,X=!1,J=0)=>{for(let C=J;C<T.length;C++)Ee(T[C],N,$,q,X)},K=T=>{if(T.shapeFlag&6)return K(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const N=d(T.anchor||T.el),$=N&&N[rm];return $?d($):N};let se=!1;const oe=(T,N,$)=>{let q;T==null?N._vnode&&(Ee(N._vnode,null,null,!0),q=N._vnode.component):m(N._vnode||null,T,N,null,null,null,$),N._vnode=T,se||(se=!0,jf(q),Qh(),se=!1)},re={p:m,um:Ee,m:xe,r:Ne,mt:H,mc:O,pc:j,pbc:V,n:K,o:e};return{render:oe,hydrate:void 0,createApp:rb(oe)}}function Pl({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 qr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function xb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Au(e,t,n=!1){const r=e.children,o=t.children;if(ce(r)&&ce(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=lr(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Au(i,a)),a.type===Eo&&(a.patchFlag===-1&&(a=o[s]=lr(a)),a.el=i.el),a.type===yt&&!a.el&&(a.el=i.el)}}function bb(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Im(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Im(t)}function rd(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Pm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Pm(t.subTree):null}const Dm=e=>e.__isSuspense;function yb(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):Xh(e)}const ke=Symbol.for("v-fgt"),Eo=Symbol.for("v-txt"),yt=Symbol.for("v-cmt"),ea=Symbol.for("v-stc"),Ds=[];let tn=null;function U(e=!1){Ds.push(tn=e?null:[])}function Eb(){Ds.pop(),tn=Ds[Ds.length-1]||null}let Ys=1;function ma(e,t=!1){Ys+=e,e<0&&tn&&t&&(tn.hasOnce=!0)}function km(e){return e.dynamicChildren=Ys>0?tn||Bo:null,Eb(),Ys>0&&tn&&tn.push(e),e}function ae(e,t,n,r,o,s){return km(te(e,t,n,r,o,s,!0))}function he(e,t,n,r,o){return km(ee(e,t,n,r,o,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function to(e,t){return e.type===t.type&&e.key===t.key}const Rm=({key:e})=>e??null,ta=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||nt(e)||be(e)?{i:Ct,r:e,k:t,f:!!n}:e:null);function te(e,t=null,n=null,r=0,o=null,s=e===ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rm(t),ref:t&&ta(t),scopeId:em,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:Ct};return a?(Tu(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Re(n)?8:16),Ys>0&&!i&&tn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&tn.push(l),l}const ee=Cb;function Cb(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===gm)&&(e=yt),zn(e)){const a=Xn(e,t,!0);return n&&Tu(a,n),Ys>0&&!s&&tn&&(a.shapeFlag&6?tn[tn.indexOf(e)]=a:tn.push(a)),a.patchFlag=-2,a}if(Lb(e)&&(e=e.__vccOpts),t){t=Sb(t);let{class:a,style:l}=t;a&&!Re(a)&&(t.class=de(a)),we(l)&&(Ka(l)&&!ce(l)&&(l=mt({},l)),t.style=St(l))}const i=Re(e)?1:Dm(e)?128:om(e)?64:we(e)?4:be(e)?2:0;return te(e,t,n,r,o,i,s,!0)}function Sb(e){return e?Ka(e)||Tm(e)?mt({},e):e:null}function Xn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?Dt(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Rm(c),ref:t&&t.ref?n&&s?ce(s)?s.concat(ta(t)):[s,ta(t)]:ta(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xn(e.ssContent),ssFallback:e.ssFallback&&Xn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&po(u,l.clone(u)),u}function Tt(e=" ",t=0){return ee(Eo,null,e,t)}function Ae(e="",t=!1){return t?(U(),he(yt,null,e)):ee(yt,null,e)}function Wn(e){return e==null||typeof e=="boolean"?ee(yt):ce(e)?ee(ke,null,e.slice()):zn(e)?lr(e):ee(Eo,null,String(e))}function lr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xn(e)}function Tu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Tu(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Tm(t)?t._ctx=Ct:o===3&&Ct&&(Ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:Ct},n=32):(t=String(t),r&64?(n=16,t=[Tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dt(...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=de([t.class,r.class]));else if(o==="style")t.style=St([t.style,r.style]);else if(Da(o)){const s=t[o],i=r[o];i&&s!==i&&!(ce(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!ka(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function kn(e,t,n,r=null){In(e,t,7,[n,r])}const wb=Em();let Ab=0;function Tb(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||wb,s={uid:Ab++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Th(!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:Nm(r,o),emitsOptions:Cm(r,o),emit:null,emitted:null,propsDefaults:qe,inheritAttrs:r.inheritAttrs,ctx:qe,data:qe,props:qe,attrs:qe,slots:qe,refs:qe,setupState:qe,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=sb.bind(null,s),e.ce&&e.ce(s),s}let Lt=null;const Ye=()=>Lt||Ct;let ga,Cc;{const e=Ha(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ga=t("__VUE_INSTANCE_SETTERS__",n=>Lt=n),Cc=t("__VUE_SSR_SETTERS__",n=>qs=n)}const gi=e=>{const t=Lt;return ga(e),e.scope.on(),()=>{e.scope.off(),ga(t)}},od=()=>{Lt&&Lt.scope.off(),ga(null)};function $m(e){return e.vnode.shapeFlag&4}let qs=!1;function Ob(e,t=!1,n=!1){t&&Cc(t);const{props:r,children:o}=e.vnode,s=$m(e);fb(e,r,s,t),mb(e,o,n||t);const i=s?Nb(e,t):void 0;return t&&Cc(!1),i}function Nb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Jx);const{setup:r}=n;if(r){mr();const o=e.setupContext=r.length>1?Vm(e):null,s=gi(e),i=hi(r,e,0,[e.props,o]),a=bh(i);if(gr(),s(),(a||e.sp)&&!Uo(e)&&um(e),a){if(i.then(od,od),t)return i.then(l=>{sd(e,l)}).catch(l=>{Ya(l,e,0)});e.asyncDep=i}else sd(e,i)}else Bm(e)}function sd(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Kh(t)),Bm(e)}function Bm(e,t,n){const r=e.type;e.render||(e.render=r.render||pt);{const o=gi(e);mr();try{Xx(e)}finally{gr(),o()}}}const Fb={get(e,t){return Mt(e,"get",""),e[t]}};function Vm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Fb),slots:e.slots,emit:e.emit,expose:t}}function Za(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Kh(yx(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ps)return Ps[n](e)},has(t,n){return n in t||n in Ps}})):e.proxy}function Mb(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function Lb(e){return be(e)&&"__vccOpts"in e}const L=(e,t)=>Nx(e,t,qs);function jt(e,t,n){try{ma(-1);const r=arguments.length;return r===2?we(t)&&!ce(t)?zn(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zn(n)&&(n=[n]),ee(e,t,n))}finally{ma(1)}}const Ib="3.5.34",Pb=pt;let Sc;const id=typeof window<"u"&&window.trustedTypes;if(id)try{Sc=id.createPolicy("vue",{createHTML:e=>e})}catch{}const Hm=Sc?e=>Sc.createHTML(e):e=>e,Db="http://www.w3.org/2000/svg",kb="http://www.w3.org/1998/Math/MathML",ir=typeof document<"u"?document:null,ad=ir&&ir.createElement("template"),Rb={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"?ir.createElementNS(Db,e):t==="mathml"?ir.createElementNS(kb,e):n?ir.createElement(e,{is:n}):ir.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ir.createTextNode(e),createComment:e=>ir.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ir.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ad.innerHTML=Hm(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ad.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tr="transition",vs="animation",zo=Symbol("_vtc"),Um={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},jm=mt({},im,Um),$b=e=>(e.displayName="Transition",e.props=jm,e),el=$b((e,{slots:t})=>jt(Ux,Wm(e),t)),Jr=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},ld=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function Wm(e){const t={};for(const I in e)I in Um||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Bb(o),m=h&&h[0],v=h&&h[1],{onBeforeEnter:g,onEnter:_,onEnterCancelled:y,onLeave:x,onLeaveCancelled:S,onBeforeAppear:E=g,onAppear:b=_,onAppearCancelled:O=y}=t,F=(I,Y,H,D)=>{I._enterCancelled=D,Fr(I,Y?u:a),Fr(I,Y?c:i),H&&H()},V=(I,Y)=>{I._isLeaving=!1,Fr(I,f),Fr(I,p),Fr(I,d),Y&&Y()},W=I=>(Y,H)=>{const D=I?b:_,M=()=>F(Y,I,H);Jr(D,[Y,M]),cd(()=>{Fr(Y,I?l:s),Vn(Y,I?u:a),ld(D)||ud(Y,r,m,M)})};return mt(t,{onBeforeEnter(I){Jr(g,[I]),Vn(I,s),Vn(I,i)},onBeforeAppear(I){Jr(E,[I]),Vn(I,l),Vn(I,c)},onEnter:W(!1),onAppear:W(!0),onLeave(I,Y){I._isLeaving=!0;const H=()=>V(I,Y);Vn(I,f),I._enterCancelled?(Vn(I,d),wc(I)):(wc(I),Vn(I,d)),cd(()=>{I._isLeaving&&(Fr(I,f),Vn(I,p),ld(x)||ud(I,r,v,H))}),Jr(x,[I,H])},onEnterCancelled(I){F(I,!1,void 0,!0),Jr(y,[I])},onAppearCancelled(I){F(I,!0,void 0,!0),Jr(O,[I])},onLeaveCancelled(I){V(I),Jr(S,[I])}})}function Bb(e){if(e==null)return null;if(we(e))return[Dl(e.enter),Dl(e.leave)];{const t=Dl(e);return[t,t]}}function Dl(e){return G_(e)}function Vn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zo]||(e[zo]=new Set)).add(t)}function Fr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zo];n&&(n.delete(t),n.size||(e[zo]=void 0))}function cd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vb=0;function ud(e,t,n,r){const o=e._endId=++Vb,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Gm(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Gm(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Tr}Delay`),s=r(`${Tr}Duration`),i=fd(o,s),a=r(`${vs}Delay`),l=r(`${vs}Duration`),c=fd(a,l);let u=null,f=0,d=0;t===Tr?i>0&&(u=Tr,f=i,d=s.length):t===vs?c>0&&(u=vs,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Tr:vs:null,d=u?u===Tr?s.length:l.length:0);const p=u===Tr&&/\b(?:transform|all)(?:,|$)/.test(r(`${Tr}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function fd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>dd(n)+dd(e[r])))}function dd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wc(e){return(e?e.ownerDocument:document).body.offsetHeight}function Hb(e,t,n){const r=e[zo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const va=Symbol("_vod"),zm=Symbol("_vsh"),os={name:"show",beforeMount(e,{value:t},{transition:n}){e[va]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):_s(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),_s(e,!0),r.enter(e)):r.leave(e,()=>{_s(e,!1)}):_s(e,t))},beforeUnmount(e,{value:t}){_s(e,t)}};function _s(e,t){e.style.display=t?e[va]:"none",e[zm]=!t}const Km=Symbol("");function Ub(e){const t=Ye();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>_a(s,o))},r=()=>{const o=e(t.proxy);t.ce?_a(t.ce,o):Ac(t.subTree,o),n(o)};mm(()=>{Xh(r)}),gt(()=>{_e(r,pt,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>o.disconnect())})}function Ac(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ac(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_a(e.el,t);else if(e.type===ke)e.children.forEach(n=>Ac(n,t));else if(e.type===ea){let{el:n,anchor:r}=e;for(;n&&(_a(n,t),n!==r);)n=n.nextSibling}}function _a(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const s=Z_(t[o]);n.setProperty(`--${o}`,s),r+=`--${o}: ${s};`}n[Km]=r}}const jb=/(?:^|;)\s*display\s*:/;function Wb(e,t,n){const r=e.style,o=Re(n);let s=!1;if(n&&!o){if(t)if(Re(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Os(r,a,"")}else for(const i in t)n[i]==null&&Os(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?zb(e,i,!Re(t)&&t?t[i]:void 0,a)||Os(r,i,a):Os(r,i,"")}}else if(o){if(t!==n){const i=r[Km];i&&(n+=";"+i),r.cssText=n,s=jb.test(n)}}else t&&e.removeAttribute("style");va in e&&(e[va]=s?r.display:"",e[zm]&&(r.display="none"))}const pd=/\s*!important$/;function Os(e,t,n){if(ce(n))n.forEach(r=>Os(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Gb(e,t);pd.test(n)?e.setProperty(Vr(r),n.replace(pd,""),"important"):e[r]=n}}const hd=["Webkit","Moz","ms"],kl={};function Gb(e,t){const n=kl[t];if(n)return n;let r=Pt(t);if(r!=="filter"&&r in e)return kl[t]=r;r=Va(r);for(let o=0;o<hd.length;o++){const s=hd[o]+r;if(s in e)return kl[t]=s}return t}function zb(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Re(r)&&n===r}const md="http://www.w3.org/1999/xlink";function gd(e,t,n,r,o,s=X_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(md,t.slice(6,t.length)):e.setAttributeNS(md,t,n):n==null||s&&!Ch(n)?e.removeAttribute(t):e.setAttribute(t,s?"":sn(n)?String(n):n)}function vd(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Hm(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Ch(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Ym(e,t,n,r){e.addEventListener(t,n,r)}function Kb(e,t,n,r){e.removeEventListener(t,n,r)}const _d=Symbol("_vei");function Yb(e,t,n,r,o=null){const s=e[_d]||(e[_d]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=qb(t);if(r){const c=s[t]=Qb(r,o);Ym(e,a,c,l)}else i&&(Kb(e,a,i,l),s[t]=void 0)}}const xd=/(?:Once|Passive|Capture)$/;function qb(e){let t;if(xd.test(e)){t={};let r;for(;r=e.match(xd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vr(e.slice(2)),t]}let Rl=0;const Jb=Promise.resolve(),Xb=()=>Rl||(Jb.then(()=>Rl=0),Rl=Date.now());function Qb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;In(Zb(r,n.value),t,5,[r])};return n.value=e,n.attached=Xb(),n}function Zb(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const bd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ey=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Hb(e,r,i):t==="style"?Wb(e,n,r):Da(t)?ka(t)||Yb(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ty(e,t,r,i))?(vd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gd(e,t,r,i,s,t!=="value")):e._isVueCE&&(ny(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Re(r)))?vd(e,Pt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),gd(e,t,r,i))};function ty(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&bd(t)&&be(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 bd(t)&&Re(n)?!1:t in e}function ny(e,t){const n=e._def.props;if(!n)return!1;const r=Pt(t);return Array.isArray(n)?n.some(o=>Pt(o)===r):Object.keys(n).some(o=>Pt(o)===r)}const qm=new WeakMap,Jm=new WeakMap,xa=Symbol("_moveCb"),yd=Symbol("_enterCb"),ry=e=>(delete e.props.mode,e),oy=ry({name:"TransitionGroup",props:mt({},jm,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ye(),r=sm();let o,s;return yu(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!cy(o[0].el,n.vnode.el,i)){o=[];return}o.forEach(iy),o.forEach(ay);const a=o.filter(ly);wc(n.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Vn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[xa]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[xa]=null,Fr(c,i))};c.addEventListener("transitionend",f)}),o=[]}),()=>{const i=Pe(e),a=Wm(i);let l=i.tag||ke;if(o=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&(o.push(u),po(u,Ks(u,a,r,n)),qm.set(u,Xm(u.el)))}s=t.default?bu(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&po(u,Ks(u,a,r,n))}return ee(l,null,s)}}}),sy=oy;function iy(e){const t=e.el;t[xa]&&t[xa](),t[yd]&&t[yd]()}function ay(e){Jm.set(e,Xm(e.el))}function ly(e){const t=qm.get(e),n=Jm.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el,i=s.style,a=s.getBoundingClientRect();let l=1,c=1;return s.offsetWidth&&(l=a.width/s.offsetWidth),s.offsetHeight&&(c=a.height/s.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(l-1)<.01&&(l=1),Math.abs(c-1)<.01&&(c=1),i.transform=i.webkitTransform=`translate(${r/l}px,${o/c}px)`,i.transitionDuration="0s",e}}function Xm(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function cy(e,t,n){const r=e.cloneNode(),o=e[zo];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=Gm(r);return s.removeChild(r),i}const Ed=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ce(t)?n=>Zi(t,n):t},$l=Symbol("_assign"),Qm={deep:!0,created(e,t,n){e[$l]=Ed(n),Ym(e,"change",()=>{const r=e._modelValue,o=uy(e),s=e.checked,i=e[$l];if(ce(r)){const a=Sh(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Ra(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Zm(e,s))})},mounted:Cd,beforeUpdate(e,t,n){e[$l]=Ed(n),Cd(e,t,n)}};function Cd(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(ce(t))o=Sh(t,r.props.value)>-1;else if(Ra(t))o=t.has(r.props.value);else{if(t===n)return;o=pi(t,Zm(e,!0))}e.checked!==o&&(e.checked=o)}function uy(e){return"_value"in e?e._value:e.value}function Zm(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const fy=["ctrl","shift","alt","meta"],dy={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)=>fy.some(n=>e[`${n}Key`]&&!t.includes(n))},Tn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=dy[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},py=mt({patchProp:ey},Rb);let Sd;function hy(){return Sd||(Sd=vb(py))}const eg=((...e)=>{const t=hy().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=gy(r);if(!o)return;const s=t._component;!be(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,my(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function my(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gy(e){return Re(e)?document.querySelector(e):e}function tg(e,t){var n;const r=wt();return mi(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),Wo(r)}function Ou(e,t){return Ua()?(Oh(e,t),!0):!1}const Bl=new WeakMap,vy=(...e)=>{var t;const n=e[0],r=(t=Ye())===null||t===void 0?void 0:t.proxy,o=r??Ua();if(o==null&&!tm())throw new Error("injectLocal must be called in setup");return o&&Bl.has(o)&&n in Bl.get(o)?Bl.get(o)[n]:Te(...e)},xt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _y=e=>e!=null,xy=Object.prototype.toString,by=e=>xy.call(e)==="[object Object]",cr=()=>{},Tc=yy();function yy(){var e,t,n;return xt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function ng(...e){if(e.length!==1)return en(...e);const t=e[0];return typeof t=="function"?Wo(wx(()=>({get:t,set:cr}))):Z(t)}function rg(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 og=e=>e();function Ey(e,t={}){let n,r,o=cr;const s=l=>{clearTimeout(l),o(),o=cr};let i;return l=>{const c=_t(e),u=_t(t.maxWait);return n&&s(n),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,i=l,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,f(i())},u)),n=setTimeout(()=>{r&&s(r),r=void 0,f(l())},c)})}}function Cy(e=og,t={}){const{initialState:n="active"}=t,r=ng(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:bx(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function wd(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ks(e){return Array.isArray(e)?e:[e]}function Sy(e){return Ye()}function wy(e,t=200,n={}){return rg(Ey(t,n),e)}function Ay(e,t,n={}){const{eventFilter:r=og,...o}=n;return _e(e,rg(r,t),o)}function Ty(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=Cy(r,{initialState:o});return{stop:Ay(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Nu(e,t=!0,n){Sy()?gt(e,n):t?e():rt(e)}function Oy(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=nt(e),s=wt(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=_t(n);return s.value=s.value===l?_t(r):l,s.value}}return o?i:[s,i]}function Ny(e,t,n){return _e(e,t,{...n,immediate:!0})}const Fn=xt?window:void 0,OR=xt?window.document:void 0;function Wt(e){var t;const n=_t(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function _n(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=L(()=>{const r=ks(_t(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return Ny(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Wt(s)))!==null&&r!==void 0?r:[Fn].filter(s=>s!=null),ks(_t(n.value?e[1]:e[0])),ks(A(n.value?e[2]:e[1])),_t(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=by(i)?{...i}:i,u=r.flatMap(f=>o.flatMap(d=>s.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}let Ad=!1;function Fy(e,t,n={}){const{window:r=Fn,ignore:o=[],capture:s=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:cr,cancel:cr,trigger:cr}:cr;if(Tc&&!Ad){Ad=!0;const v={passive:!0};Array.from(r.document.body.children).forEach(g=>g.addEventListener("click",cr,v)),r.document.documentElement.addEventListener("click",cr,v)}let l=!0;const c=v=>_t(o).some(g=>{if(typeof g=="string")return Array.from(r.document.querySelectorAll(g)).some(_=>_===v.target||v.composedPath().includes(_));{const _=Wt(g);return _&&(v.target===_||v.composedPath().includes(_))}});function u(v){const g=_t(v);return g&&g.$.subTree.shapeFlag===16}function f(v,g){const _=_t(v),y=_.$.subTree&&_.$.subTree.children;return y==null||!Array.isArray(y)?!1:y.some(x=>x.el===g.target||g.composedPath().includes(x.el))}const d=v=>{const g=Wt(e);if(v.target!=null&&!(!(g instanceof Element)&&u(e)&&f(e,v))&&!(!g||g===v.target||v.composedPath().includes(g))){if("detail"in v&&v.detail===0&&(l=!c(v)),!l){l=!0;return}t(v)}};let p=!1;const h=[_n(r,"click",v=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(v))},{passive:!0,capture:s}),_n(r,"pointerdown",v=>{const g=Wt(e);l=!c(v)&&!!(g&&!v.composedPath().includes(g))},{passive:!0}),i&&_n(r,"blur",v=>{setTimeout(()=>{const g=Wt(e);let _=r.document.activeElement;for(;_?.shadowRoot;)_=_.shadowRoot.activeElement;_?.tagName==="IFRAME"&&!g?.contains(r.document.activeElement)&&t(v)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(v=>v());return a?{stop:m,cancel:()=>{l=!1},trigger:v=>{l=!0,d(v),l=!1}}:m}function My(){const e=wt(!1),t=Ye();return t&&gt(()=>{e.value=!0},t),e}function Fu(e){const t=My();return L(()=>(t.value,!!e()))}function Ly(e,t,n={}){const{window:r=Fn,...o}=n;let s;const i=Fu(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=_e(L(()=>{const f=ks(_t(e)).map(Wt).filter(_y);return new Set(f)}),f=>{a(),i.value&&f.size&&(s=new MutationObserver(t),f.forEach(d=>s.observe(d,o)))},{immediate:!0,flush:"post"}),c=()=>s?.takeRecords(),u=()=>{l(),a()};return Ou(u),{isSupported:i,stop:u,takeRecords:c}}const Iy=Symbol("vueuse-ssr-width");function Py(){const e=tm()?vy(Iy,null):null;return typeof e=="number"?e:void 0}function Dy(e,t={}){const{window:n=Fn,ssrWidth:r=Py()}=t,o=Fu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=wt(typeof r=="number"),i=wt(),a=wt(!1),l=c=>{a.value=c.matches};return mi(()=>{if(s.value){s.value=!o.value,a.value=_t(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=wd(f[1])),d&&p&&(p=r<=wd(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(_t(e)),a.value=i.value.matches)}),_n(i,"change",l,{passive:!0}),L(()=>a.value)}const $i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bi="__vueuse_ssr_handlers__",ky=Ry();function Ry(){return Bi in $i||($i[Bi]=$i[Bi]||{}),$i[Bi]}function sg(e,t){return ky[e]||t}function $y(e){return Dy("(prefers-color-scheme: dark)",e)}function By(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 Vy={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()}},Td="vueuse-storage";function Hy(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Fn,eventFilter:d,onError:p=H=>{console.error(H)},initOnMounted:h}=r,m=(u?wt:Z)(typeof t=="function"?t():t),v=L(()=>_t(e));if(!n)try{n=sg("getDefaultStorage",()=>Fn?.localStorage)()}catch(H){p(H)}if(!n)return m;const g=_t(t),_=By(g),y=(o=r.serializer)!==null&&o!==void 0?o:Vy[_],{pause:x,resume:S}=Ty(m,H=>V(H),{flush:s,deep:i,eventFilter:d});_e(v,()=>I(),{flush:s});let E=!1;const b=H=>{h&&!E||I(H)},O=H=>{h&&!E||Y(H)};f&&a&&(n instanceof Storage?_n(f,"storage",b,{passive:!0}):_n(f,Td,O)),h?Nu(()=>{E=!0,I()}):I();function F(H,D){if(f){const M={key:v.value,oldValue:H,newValue:D,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",M):new CustomEvent(Td,{detail:M}))}}function V(H){try{const D=n.getItem(v.value);if(H==null)F(D,null),n.removeItem(v.value);else{const M=y.write(H);D!==M&&(n.setItem(v.value,M),F(D,M))}}catch(D){p(D)}}function W(H){const D=H?H.newValue:n.getItem(v.value);if(D==null)return l&&g!=null&&n.setItem(v.value,y.write(g)),g;if(!H&&c){const M=y.read(D);return typeof c=="function"?c(M,g):_==="object"&&!Array.isArray(M)?{...g,...M}:M}else return typeof D!="string"?D:y.read(D)}function I(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){m.value=g;return}if(!(H&&H.key!==v.value)){x();try{const D=y.write(m.value);(H===void 0||H?.newValue!==D)&&(m.value=W(H))}catch(D){p(D)}finally{H?rt(S):S()}}}}function Y(H){I(H.detail)}return m}const Uy="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function jy(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Fn,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=$y({window:o}),p=L(()=>d.value?"dark":"light"),h=l||(i==null?ng(r):Hy(i,r,s,{window:o,listenToStorageChanges:a})),m=L(()=>h.value==="auto"?p.value:h.value),v=sg("updateHTMLAttrs",(x,S,E)=>{const b=typeof x=="string"?o?.document.querySelector(x):Wt(x);if(!b)return;const O=new Set,F=new Set;let V=null;if(S==="class"){const I=E.split(/\s/g);Object.values(f).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{I.includes(Y)?O.add(Y):F.add(Y)})}else V={key:S,value:E};if(O.size===0&&F.size===0&&V===null)return;let W;u&&(W=o.document.createElement("style"),W.appendChild(document.createTextNode(Uy)),o.document.head.appendChild(W));for(const I of O)b.classList.add(I);for(const I of F)b.classList.remove(I);V&&b.setAttribute(V.key,V.value),u&&(o.getComputedStyle(W).opacity,document.head.removeChild(W))});function g(x){var S;v(t,n,(S=f[x])!==null&&S!==void 0?S:x)}function _(x){e.onChanged?e.onChanged(x,g):g(x)}_e(m,_,{flush:"post",immediate:!0}),Nu(()=>_(m.value));const y=L({get(){return c?h.value:m.value},set(x){h.value=x}});return Object.assign(y,{store:h,system:p,state:m})}function Wy(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=jy({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=L(()=>r.system.value);return L({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}function On(e,t,n={}){const{window:r=Fn,...o}=n;let s;const i=Fu(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=_e(L(()=>{const u=_t(e);return Array.isArray(u)?u.map(f=>Wt(f)):[Wt(u)]}),u=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const f of u)f&&s.observe(f,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Ou(c),{isSupported:i,stop:c}}function tl(e,t={width:0,height:0},n={}){const{window:r=Fn,box:o="content-box"}=n,s=L(()=>{var f;return(f=Wt(e))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),i=wt(t.width),a=wt(t.height),{stop:l}=On(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const p=Wt(e);if(p){const h=p.getBoundingClientRect();i.value=h.width,a.value=h.height}}else if(d){const p=ks(d);i.value=p.reduce((h,{inlineSize:m})=>h+m,0),a.value=p.reduce((h,{blockSize:m})=>h+m,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);Nu(()=>{const f=Wt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=_e(()=>Wt(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){l(),c()}return{width:i,height:a,stop:u}}const it={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},dr="update:modelValue",Js="change",nl=["","default","small","large"];var ig=typeof global=="object"&&global&&global.Object===Object&&global,Gy=typeof self=="object"&&self&&self.Object===Object&&self,Dn=ig||Gy||Function("return this")(),yn=Dn.Symbol,ag=Object.prototype,zy=ag.hasOwnProperty,Ky=ag.toString,xs=yn?yn.toStringTag:void 0;function Yy(e){var t=zy.call(e,xs),n=e[xs];try{e[xs]=void 0;var r=!0}catch{}var o=Ky.call(e);return r&&(t?e[xs]=n:delete e[xs]),o}var qy=Object.prototype,Jy=qy.toString;function Xy(e){return Jy.call(e)}var Qy="[object Null]",Zy="[object Undefined]",Od=yn?yn.toStringTag:void 0;function Co(e){return e==null?e===void 0?Zy:Qy:Od&&Od in Object(e)?Yy(e):Xy(e)}function _r(e){return e!=null&&typeof e=="object"}var eE="[object Symbol]";function rl(e){return typeof e=="symbol"||_r(e)&&Co(e)==eE}function lg(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var En=Array.isArray,Nd=yn?yn.prototype:void 0,Fd=Nd?Nd.toString:void 0;function cg(e){if(typeof e=="string")return e;if(En(e))return lg(e,cg)+"";if(rl(e))return Fd?Fd.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var tE=/\s/;function nE(e){for(var t=e.length;t--&&tE.test(e.charAt(t)););return t}var rE=/^\s+/;function oE(e){return e&&e.slice(0,nE(e)+1).replace(rE,"")}function Cn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Md=NaN,sE=/^[-+]0x[0-9a-f]+$/i,iE=/^0b[01]+$/i,aE=/^0o[0-7]+$/i,lE=parseInt;function jo(e){if(typeof e=="number")return e;if(rl(e))return Md;if(Cn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=oE(e);var n=iE.test(e);return n||aE.test(e)?lE(e.slice(2),n?2:8):sE.test(e)?Md:+e}var Ld=1/0,cE=17976931348623157e292;function Id(e){if(!e)return e===0?e:0;if(e=jo(e),e===Ld||e===-Ld){var t=e<0?-1:1;return t*cE}return e===e?e:0}function ug(e){return e}var uE="[object AsyncFunction]",fE="[object Function]",dE="[object GeneratorFunction]",pE="[object Proxy]";function fg(e){if(!Cn(e))return!1;var t=Co(e);return t==fE||t==dE||t==uE||t==pE}var Vl=Dn["__core-js_shared__"],Pd=(function(){var e=/[^.]+$/.exec(Vl&&Vl.keys&&Vl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function hE(e){return!!Pd&&Pd in e}var mE=Function.prototype,gE=mE.toString;function So(e){if(e!=null){try{return gE.call(e)}catch{}try{return e+""}catch{}}return""}var vE=/[\\^$.*+?()[\]{}|]/g,_E=/^\[object .+?Constructor\]$/,xE=Function.prototype,bE=Object.prototype,yE=xE.toString,EE=bE.hasOwnProperty,CE=RegExp("^"+yE.call(EE).replace(vE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function SE(e){if(!Cn(e)||hE(e))return!1;var t=fg(e)?CE:_E;return t.test(So(e))}function wE(e,t){return e?.[t]}function wo(e,t){var n=wE(e,t);return SE(n)?n:void 0}var Oc=wo(Dn,"WeakMap"),Dd=Object.create,AE=(function(){function e(){}return function(t){if(!Cn(t))return{};if(Dd)return Dd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function TE(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function OE(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var NE=800,FE=16,ME=Date.now;function LE(e){var t=0,n=0;return function(){var r=ME(),o=FE-(r-n);if(n=r,o>0){if(++t>=NE)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function IE(e){return function(){return e}}var ba=(function(){try{var e=wo(Object,"defineProperty");return e({},"",{}),e}catch{}})(),PE=ba?function(e,t){return ba(e,"toString",{configurable:!0,enumerable:!1,value:IE(t),writable:!0})}:ug,DE=LE(PE);function kE(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function RE(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}var $E=9007199254740991,BE=/^(?:0|[1-9]\d*)$/;function ol(e,t){var n=typeof e;return t=t??$E,!!t&&(n=="number"||n!="symbol"&&BE.test(e))&&e>-1&&e%1==0&&e<t}function Mu(e,t,n){t=="__proto__"&&ba?ba(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sl(e,t){return e===t||e!==e&&t!==t}var VE=Object.prototype,HE=VE.hasOwnProperty;function Lu(e,t,n){var r=e[t];(!(HE.call(e,t)&&sl(r,n))||n===void 0&&!(t in e))&&Mu(e,t,n)}function vi(e,t,n,r){var o=!n;n||(n={});for(var s=-1,i=t.length;++s<i;){var a=t[s],l=void 0;l===void 0&&(l=e[a]),o?Mu(n,a,l):Lu(n,a,l)}return n}var kd=Math.max;function UE(e,t,n){return t=kd(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=kd(r.length-t,0),i=Array(s);++o<s;)i[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(i),TE(e,this,a)}}var jE=9007199254740991;function Iu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jE}function Pu(e){return e!=null&&Iu(e.length)&&!fg(e)}function WE(e,t,n){if(!Cn(n))return!1;var r=typeof t;return(r=="number"?Pu(n)&&ol(t,n.length):r=="string"&&t in n)?sl(n[t],e):!1}var GE=Object.prototype;function Du(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||GE;return e===n}function zE(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var KE="[object Arguments]";function Rd(e){return _r(e)&&Co(e)==KE}var dg=Object.prototype,YE=dg.hasOwnProperty,qE=dg.propertyIsEnumerable,ku=Rd((function(){return arguments})())?Rd:function(e){return _r(e)&&YE.call(e,"callee")&&!qE.call(e,"callee")};function JE(){return!1}var pg=typeof nn=="object"&&nn&&!nn.nodeType&&nn,$d=pg&&typeof rn=="object"&&rn&&!rn.nodeType&&rn,XE=$d&&$d.exports===pg,Bd=XE?Dn.Buffer:void 0,QE=Bd?Bd.isBuffer:void 0,ya=QE||JE,ZE="[object Arguments]",eC="[object Array]",tC="[object Boolean]",nC="[object Date]",rC="[object Error]",oC="[object Function]",sC="[object Map]",iC="[object Number]",aC="[object Object]",lC="[object RegExp]",cC="[object Set]",uC="[object String]",fC="[object WeakMap]",dC="[object ArrayBuffer]",pC="[object DataView]",hC="[object Float32Array]",mC="[object Float64Array]",gC="[object Int8Array]",vC="[object Int16Array]",_C="[object Int32Array]",xC="[object Uint8Array]",bC="[object Uint8ClampedArray]",yC="[object Uint16Array]",EC="[object Uint32Array]",tt={};tt[hC]=tt[mC]=tt[gC]=tt[vC]=tt[_C]=tt[xC]=tt[bC]=tt[yC]=tt[EC]=!0;tt[ZE]=tt[eC]=tt[dC]=tt[tC]=tt[pC]=tt[nC]=tt[rC]=tt[oC]=tt[sC]=tt[iC]=tt[aC]=tt[lC]=tt[cC]=tt[uC]=tt[fC]=!1;function CC(e){return _r(e)&&Iu(e.length)&&!!tt[Co(e)]}function Ru(e){return function(t){return e(t)}}var hg=typeof nn=="object"&&nn&&!nn.nodeType&&nn,Rs=hg&&typeof rn=="object"&&rn&&!rn.nodeType&&rn,SC=Rs&&Rs.exports===hg,Hl=SC&&ig.process,Ko=(function(){try{var e=Rs&&Rs.require&&Rs.require("util").types;return e||Hl&&Hl.binding&&Hl.binding("util")}catch{}})(),Vd=Ko&&Ko.isTypedArray,mg=Vd?Ru(Vd):CC,wC=Object.prototype,AC=wC.hasOwnProperty;function gg(e,t){var n=En(e),r=!n&&ku(e),o=!n&&!r&&ya(e),s=!n&&!r&&!o&&mg(e),i=n||r||o||s,a=i?zE(e.length,String):[],l=a.length;for(var c in e)(t||AC.call(e,c))&&!(i&&(c=="length"||o&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ol(c,l)))&&a.push(c);return a}function vg(e,t){return function(n){return e(t(n))}}var TC=vg(Object.keys,Object),OC=Object.prototype,NC=OC.hasOwnProperty;function FC(e){if(!Du(e))return TC(e);var t=[];for(var n in Object(e))NC.call(e,n)&&n!="constructor"&&t.push(n);return t}function il(e){return Pu(e)?gg(e):FC(e)}function MC(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var LC=Object.prototype,IC=LC.hasOwnProperty;function PC(e){if(!Cn(e))return MC(e);var t=Du(e),n=[];for(var r in e)r=="constructor"&&(t||!IC.call(e,r))||n.push(r);return n}function $u(e){return Pu(e)?gg(e,!0):PC(e)}var DC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kC=/^\w*$/;function Bu(e,t){if(En(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||rl(e)?!0:kC.test(e)||!DC.test(e)||t!=null&&e in Object(t)}var Xs=wo(Object,"create");function RC(){this.__data__=Xs?Xs(null):{},this.size=0}function $C(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var BC="__lodash_hash_undefined__",VC=Object.prototype,HC=VC.hasOwnProperty;function UC(e){var t=this.__data__;if(Xs){var n=t[e];return n===BC?void 0:n}return HC.call(t,e)?t[e]:void 0}var jC=Object.prototype,WC=jC.hasOwnProperty;function GC(e){var t=this.__data__;return Xs?t[e]!==void 0:WC.call(t,e)}var zC="__lodash_hash_undefined__";function KC(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Xs&&t===void 0?zC:t,this}function ho(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ho.prototype.clear=RC;ho.prototype.delete=$C;ho.prototype.get=UC;ho.prototype.has=GC;ho.prototype.set=KC;function YC(){this.__data__=[],this.size=0}function al(e,t){for(var n=e.length;n--;)if(sl(e[n][0],t))return n;return-1}var qC=Array.prototype,JC=qC.splice;function XC(e){var t=this.__data__,n=al(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():JC.call(t,n,1),--this.size,!0}function QC(e){var t=this.__data__,n=al(t,e);return n<0?void 0:t[n][1]}function ZC(e){return al(this.__data__,e)>-1}function eS(e,t){var n=this.__data__,r=al(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Er(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Er.prototype.clear=YC;Er.prototype.delete=XC;Er.prototype.get=QC;Er.prototype.has=ZC;Er.prototype.set=eS;var Qs=wo(Dn,"Map");function tS(){this.size=0,this.__data__={hash:new ho,map:new(Qs||Er),string:new ho}}function nS(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ll(e,t){var n=e.__data__;return nS(t)?n[typeof t=="string"?"string":"hash"]:n.map}function rS(e){var t=ll(this,e).delete(e);return this.size-=t?1:0,t}function oS(e){return ll(this,e).get(e)}function sS(e){return ll(this,e).has(e)}function iS(e,t){var n=ll(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Cr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Cr.prototype.clear=tS;Cr.prototype.delete=rS;Cr.prototype.get=oS;Cr.prototype.has=sS;Cr.prototype.set=iS;var aS="Expected a function";function Vu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(aS);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var i=e.apply(this,r);return n.cache=s.set(o,i)||s,i};return n.cache=new(Vu.Cache||Cr),n}Vu.Cache=Cr;var lS=500;function cS(e){var t=Vu(e,function(r){return n.size===lS&&n.clear(),r}),n=t.cache;return t}var uS=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fS=/\\(\\)?/g,dS=cS(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(uS,function(n,r,o,s){t.push(o?s.replace(fS,"$1"):r||n)}),t});function pS(e){return e==null?"":cg(e)}function ss(e,t){return En(e)?e:Bu(e,t)?[e]:dS(pS(e))}function mo(e){if(typeof e=="string"||rl(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function cl(e,t){t=ss(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[mo(t[n++])];return n&&n==r?e:void 0}function zt(e,t,n){var r=e==null?void 0:cl(e,t);return r===void 0?n:r}function Hu(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Hd=yn?yn.isConcatSpreadable:void 0;function hS(e){return En(e)||ku(e)||!!(Hd&&e&&e[Hd])}function _g(e,t,n,r,o){var s=-1,i=e.length;for(n||(n=hS),o||(o=[]);++s<i;){var a=e[s];t>0&&n(a)?t>1?_g(a,t-1,n,r,o):Hu(o,a):r||(o[o.length]=a)}return o}function mS(e){var t=e==null?0:e.length;return t?_g(e,1):[]}function xg(e){return DE(UE(e,void 0,mS),e+"")}var Uu=vg(Object.getPrototypeOf,Object),gS="[object Object]",vS=Function.prototype,_S=Object.prototype,bg=vS.toString,xS=_S.hasOwnProperty,bS=bg.call(Object);function yg(e){if(!_r(e)||Co(e)!=gS)return!1;var t=Uu(e);if(t===null)return!0;var n=xS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&bg.call(n)==bS}function yS(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(o);++r<o;)s[r]=e[r+t];return s}function Dr(){if(!arguments.length)return[];var e=arguments[0];return En(e)?e:[e]}function ES(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function CS(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=jo(n),n=n===n?n:0),t!==void 0&&(t=jo(t),t=t===t?t:0),ES(jo(e),t,n)}function SS(){this.__data__=new Er,this.size=0}function wS(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function AS(e){return this.__data__.get(e)}function TS(e){return this.__data__.has(e)}var OS=200;function NS(e,t){var n=this.__data__;if(n instanceof Er){var r=n.__data__;if(!Qs||r.length<OS-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Cr(r)}return n.set(e,t),this.size=n.size,this}function Kn(e){var t=this.__data__=new Er(e);this.size=t.size}Kn.prototype.clear=SS;Kn.prototype.delete=wS;Kn.prototype.get=AS;Kn.prototype.has=TS;Kn.prototype.set=NS;function FS(e,t){return e&&vi(t,il(t),e)}function MS(e,t){return e&&vi(t,$u(t),e)}var Eg=typeof nn=="object"&&nn&&!nn.nodeType&&nn,Ud=Eg&&typeof rn=="object"&&rn&&!rn.nodeType&&rn,LS=Ud&&Ud.exports===Eg,jd=LS?Dn.Buffer:void 0,Wd=jd?jd.allocUnsafe:void 0;function IS(e,t){if(t)return e.slice();var n=e.length,r=Wd?Wd(n):new e.constructor(n);return e.copy(r),r}function PS(e,t){for(var n=-1,r=e==null?0:e.length,o=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[o++]=i)}return s}function Cg(){return[]}var DS=Object.prototype,kS=DS.propertyIsEnumerable,Gd=Object.getOwnPropertySymbols,ju=Gd?function(e){return e==null?[]:(e=Object(e),PS(Gd(e),function(t){return kS.call(e,t)}))}:Cg;function RS(e,t){return vi(e,ju(e),t)}var $S=Object.getOwnPropertySymbols,Sg=$S?function(e){for(var t=[];e;)Hu(t,ju(e)),e=Uu(e);return t}:Cg;function BS(e,t){return vi(e,Sg(e),t)}function wg(e,t,n){var r=t(e);return En(e)?r:Hu(r,n(e))}function Nc(e){return wg(e,il,ju)}function Ag(e){return wg(e,$u,Sg)}var Fc=wo(Dn,"DataView"),Mc=wo(Dn,"Promise"),Lc=wo(Dn,"Set"),zd="[object Map]",VS="[object Object]",Kd="[object Promise]",Yd="[object Set]",qd="[object WeakMap]",Jd="[object DataView]",HS=So(Fc),US=So(Qs),jS=So(Mc),WS=So(Lc),GS=So(Oc),An=Co;(Fc&&An(new Fc(new ArrayBuffer(1)))!=Jd||Qs&&An(new Qs)!=zd||Mc&&An(Mc.resolve())!=Kd||Lc&&An(new Lc)!=Yd||Oc&&An(new Oc)!=qd)&&(An=function(e){var t=Co(e),n=t==VS?e.constructor:void 0,r=n?So(n):"";if(r)switch(r){case HS:return Jd;case US:return zd;case jS:return Kd;case WS:return Yd;case GS:return qd}return t});var zS=Object.prototype,KS=zS.hasOwnProperty;function YS(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&KS.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Ea=Dn.Uint8Array;function Wu(e){var t=new e.constructor(e.byteLength);return new Ea(t).set(new Ea(e)),t}function qS(e,t){var n=t?Wu(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var JS=/\w*$/;function XS(e){var t=new e.constructor(e.source,JS.exec(e));return t.lastIndex=e.lastIndex,t}var Xd=yn?yn.prototype:void 0,Qd=Xd?Xd.valueOf:void 0;function QS(e){return Qd?Object(Qd.call(e)):{}}function ZS(e,t){var n=t?Wu(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var e2="[object Boolean]",t2="[object Date]",n2="[object Map]",r2="[object Number]",o2="[object RegExp]",s2="[object Set]",i2="[object String]",a2="[object Symbol]",l2="[object ArrayBuffer]",c2="[object DataView]",u2="[object Float32Array]",f2="[object Float64Array]",d2="[object Int8Array]",p2="[object Int16Array]",h2="[object Int32Array]",m2="[object Uint8Array]",g2="[object Uint8ClampedArray]",v2="[object Uint16Array]",_2="[object Uint32Array]";function x2(e,t,n){var r=e.constructor;switch(t){case l2:return Wu(e);case e2:case t2:return new r(+e);case c2:return qS(e,n);case u2:case f2:case d2:case p2:case h2:case m2:case g2:case v2:case _2:return ZS(e,n);case n2:return new r;case r2:case i2:return new r(e);case o2:return XS(e);case s2:return new r;case a2:return QS(e)}}function b2(e){return typeof e.constructor=="function"&&!Du(e)?AE(Uu(e)):{}}var y2="[object Map]";function E2(e){return _r(e)&&An(e)==y2}var Zd=Ko&&Ko.isMap,C2=Zd?Ru(Zd):E2,S2="[object Set]";function w2(e){return _r(e)&&An(e)==S2}var ep=Ko&&Ko.isSet,A2=ep?Ru(ep):w2,T2=1,O2=2,N2=4,Tg="[object Arguments]",F2="[object Array]",M2="[object Boolean]",L2="[object Date]",I2="[object Error]",Og="[object Function]",P2="[object GeneratorFunction]",D2="[object Map]",k2="[object Number]",Ng="[object Object]",R2="[object RegExp]",$2="[object Set]",B2="[object String]",V2="[object Symbol]",H2="[object WeakMap]",U2="[object ArrayBuffer]",j2="[object DataView]",W2="[object Float32Array]",G2="[object Float64Array]",z2="[object Int8Array]",K2="[object Int16Array]",Y2="[object Int32Array]",q2="[object Uint8Array]",J2="[object Uint8ClampedArray]",X2="[object Uint16Array]",Q2="[object Uint32Array]",Ze={};Ze[Tg]=Ze[F2]=Ze[U2]=Ze[j2]=Ze[M2]=Ze[L2]=Ze[W2]=Ze[G2]=Ze[z2]=Ze[K2]=Ze[Y2]=Ze[D2]=Ze[k2]=Ze[Ng]=Ze[R2]=Ze[$2]=Ze[B2]=Ze[V2]=Ze[q2]=Ze[J2]=Ze[X2]=Ze[Q2]=!0;Ze[I2]=Ze[Og]=Ze[H2]=!1;function $s(e,t,n,r,o,s){var i,a=t&T2,l=t&O2,c=t&N2;if(n&&(i=o?n(e,r,o,s):n(e)),i!==void 0)return i;if(!Cn(e))return e;var u=En(e);if(u){if(i=YS(e),!a)return OE(e,i)}else{var f=An(e),d=f==Og||f==P2;if(ya(e))return IS(e,a);if(f==Ng||f==Tg||d&&!o){if(i=l||d?{}:b2(e),!a)return l?BS(e,MS(i,e)):RS(e,FS(i,e))}else{if(!Ze[f])return o?e:{};i=x2(e,f,a)}}s||(s=new Kn);var p=s.get(e);if(p)return p;s.set(e,i),A2(e)?e.forEach(function(v){i.add($s(v,t,n,v,e,s))}):C2(e)&&e.forEach(function(v,g){i.set(g,$s(v,t,n,g,e,s))});var h=c?l?Ag:Nc:l?$u:il,m=u?void 0:h(e);return kE(m||e,function(v,g){m&&(g=v,v=e[g]),Lu(i,g,$s(v,t,n,g,e,s))}),i}var Z2=1,ew=4;function tw(e){return $s(e,Z2|ew)}var nw="__lodash_hash_undefined__";function rw(e){return this.__data__.set(e,nw),this}function ow(e){return this.__data__.has(e)}function Ca(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Cr;++t<n;)this.add(e[t])}Ca.prototype.add=Ca.prototype.push=rw;Ca.prototype.has=ow;function sw(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function iw(e,t){return e.has(t)}var aw=1,lw=2;function Fg(e,t,n,r,o,s){var i=n&aw,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,p=n&lw?new Ca:void 0;for(s.set(e,t),s.set(t,e);++f<a;){var h=e[f],m=t[f];if(r)var v=i?r(m,h,f,t,e,s):r(h,m,f,e,t,s);if(v!==void 0){if(v)continue;d=!1;break}if(p){if(!sw(t,function(g,_){if(!iw(p,_)&&(h===g||o(h,g,n,r,s)))return p.push(_)})){d=!1;break}}else if(!(h===m||o(h,m,n,r,s))){d=!1;break}}return s.delete(e),s.delete(t),d}function cw(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function uw(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var fw=1,dw=2,pw="[object Boolean]",hw="[object Date]",mw="[object Error]",gw="[object Map]",vw="[object Number]",_w="[object RegExp]",xw="[object Set]",bw="[object String]",yw="[object Symbol]",Ew="[object ArrayBuffer]",Cw="[object DataView]",tp=yn?yn.prototype:void 0,Ul=tp?tp.valueOf:void 0;function Sw(e,t,n,r,o,s,i){switch(n){case Cw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ew:return!(e.byteLength!=t.byteLength||!s(new Ea(e),new Ea(t)));case pw:case hw:case vw:return sl(+e,+t);case mw:return e.name==t.name&&e.message==t.message;case _w:case bw:return e==t+"";case gw:var a=cw;case xw:var l=r&fw;if(a||(a=uw),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=dw,i.set(e,t);var u=Fg(a(e),a(t),r,o,s,i);return i.delete(e),u;case yw:if(Ul)return Ul.call(e)==Ul.call(t)}return!1}var ww=1,Aw=Object.prototype,Tw=Aw.hasOwnProperty;function Ow(e,t,n,r,o,s){var i=n&ww,a=Nc(e),l=a.length,c=Nc(t),u=c.length;if(l!=u&&!i)return!1;for(var f=l;f--;){var d=a[f];if(!(i?d in t:Tw.call(t,d)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=i;++f<l;){d=a[f];var g=e[d],_=t[d];if(r)var y=i?r(_,g,d,t,e,s):r(g,_,d,e,t,s);if(!(y===void 0?g===_||o(g,_,n,r,s):y)){m=!1;break}v||(v=d=="constructor")}if(m&&!v){var x=e.constructor,S=t.constructor;x!=S&&"constructor"in e&&"constructor"in t&&!(typeof x=="function"&&x instanceof x&&typeof S=="function"&&S instanceof S)&&(m=!1)}return s.delete(e),s.delete(t),m}var Nw=1,np="[object Arguments]",rp="[object Array]",Vi="[object Object]",Fw=Object.prototype,op=Fw.hasOwnProperty;function Mw(e,t,n,r,o,s){var i=En(e),a=En(t),l=i?rp:An(e),c=a?rp:An(t);l=l==np?Vi:l,c=c==np?Vi:c;var u=l==Vi,f=c==Vi,d=l==c;if(d&&ya(e)){if(!ya(t))return!1;i=!0,u=!1}if(d&&!u)return s||(s=new Kn),i||mg(e)?Fg(e,t,n,r,o,s):Sw(e,t,l,n,r,o,s);if(!(n&Nw)){var p=u&&op.call(e,"__wrapped__"),h=f&&op.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return s||(s=new Kn),o(m,v,n,r,s)}}return d?(s||(s=new Kn),Ow(e,t,n,r,o,s)):!1}function ul(e,t,n,r,o){return e===t?!0:e==null||t==null||!_r(e)&&!_r(t)?e!==e&&t!==t:Mw(e,t,n,r,ul,o)}var Lw=1,Iw=2;function Pw(e,t,n,r){var o=n.length,s=o;if(e==null)return!s;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<s;){i=n[o];var a=i[0],l=e[a],c=i[1];if(i[2]){if(l===void 0&&!(a in e))return!1}else{var u=new Kn,f;if(!(f===void 0?ul(c,l,Lw|Iw,r,u):f))return!1}}return!0}function Mg(e){return e===e&&!Cn(e)}function Dw(e){for(var t=il(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Mg(o)]}return t}function Lg(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function kw(e){var t=Dw(e);return t.length==1&&t[0][2]?Lg(t[0][0],t[0][1]):function(n){return n===e||Pw(n,e,t)}}function Rw(e,t){return e!=null&&t in Object(e)}function $w(e,t,n){t=ss(t,e);for(var r=-1,o=t.length,s=!1;++r<o;){var i=mo(t[r]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++r!=o?s:(o=e==null?0:e.length,!!o&&Iu(o)&&ol(i,o)&&(En(e)||ku(e)))}function Ig(e,t){return e!=null&&$w(e,t,Rw)}var Bw=1,Vw=2;function Hw(e,t){return Bu(e)&&Mg(t)?Lg(mo(e),t):function(n){var r=zt(n,e);return r===void 0&&r===t?Ig(n,e):ul(t,r,Bw|Vw)}}function Uw(e){return function(t){return t?.[e]}}function jw(e){return function(t){return cl(t,e)}}function Ww(e){return Bu(e)?Uw(mo(e)):jw(e)}function Gw(e){return typeof e=="function"?e:e==null?ug:typeof e=="object"?En(e)?Hw(e[0],e[1]):kw(e):Ww(e)}var jl=function(){return Dn.Date.now()},zw="Expected a function",Kw=Math.max,Yw=Math.min;function Pg(e,t,n){var r,o,s,i,a,l,c=0,u=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(zw);t=jo(t)||0,Cn(n)&&(u=!!n.leading,f="maxWait"in n,s=f?Kw(jo(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function p(E){var b=r,O=o;return r=o=void 0,c=E,i=e.apply(O,b),i}function h(E){return c=E,a=setTimeout(g,t),u?p(E):i}function m(E){var b=E-l,O=E-c,F=t-b;return f?Yw(F,s-O):F}function v(E){var b=E-l,O=E-c;return l===void 0||b>=t||b<0||f&&O>=s}function g(){var E=jl();if(v(E))return _(E);a=setTimeout(g,m(E))}function _(E){return a=void 0,d&&r?p(E):(r=o=void 0,i)}function y(){a!==void 0&&clearTimeout(a),c=0,r=l=o=a=void 0}function x(){return a===void 0?i:_(jl())}function S(){var E=jl(),b=v(E);if(r=arguments,o=this,l=E,b){if(a===void 0)return h(l);if(f)return clearTimeout(a),a=setTimeout(g,t),p(l)}return a===void 0&&(a=setTimeout(g,t)),i}return S.cancel=y,S.flush=x,S}function qw(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Jw(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=r-1;return RE(e,Gw(t),o,!0)}function Sa(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];Mu(r,o[0],o[1])}return r}function Xw(e,t){return t.length<2?e:cl(e,yS(t,0,-1))}function mn(e,t){return ul(e,t)}function _i(e){return e==null}function Qw(e){return e===void 0}var Zw=Object.prototype,eA=Zw.hasOwnProperty;function tA(e,t){t=ss(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var o=mo(t[n]);if(o==="__proto__"&&!eA.call(e,"__proto__")||(o==="constructor"||o==="prototype")&&n<r-1)return!1}var s=Xw(e,t);return s==null||delete s[mo(qw(t))]}function nA(e){return yg(e)?void 0:e}var rA=1,oA=2,sA=4,iA=xg(function(e,t){var n={};if(e==null)return n;var r=!1;t=lg(t,function(s){return s=ss(s,e),r||(r=s.length>1),s}),vi(e,Ag(e),n),r&&(n=$s(n,rA|oA|sA,nA));for(var o=t.length;o--;)tA(n,t[o]);return n});function aA(e,t,n,r){if(!Cn(e))return e;t=ss(t,e);for(var o=-1,s=t.length,i=s-1,a=e;a!=null&&++o<s;){var l=mo(t[o]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=i){var u=a[l];c=void 0,c===void 0&&(c=Cn(u)?u:ol(t[o+1])?[]:{})}Lu(a,l,c),a=a[l]}return e}function lA(e,t,n){for(var r=-1,o=t.length,s={};++r<o;){var i=t[r],a=cl(e,i);n(a,i)&&aA(s,ss(i,e),a)}return s}function cA(e,t){return lA(e,t,function(n,r){return Ig(e,r)})}var Dg=xg(function(e,t){return e==null?{}:cA(e,t)}),uA=Math.floor,fA=Math.random;function dA(e,t){return e+uA(fA()*(t-e+1))}var pA=parseFloat,hA=Math.min,mA=Math.random;function gA(e,t,n){if(n&&typeof n!="boolean"&&WE(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=Id(e),t===void 0?(t=e,e=0):t=Id(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=mA();return hA(e+o*(t-e+pA("1e-"+((o+"").length-1))),t)}return dA(e,t)}const no=e=>e===void 0,xr=e=>typeof e=="boolean",It=e=>typeof e=="number",vA=e=>!e&&e!==0||ce(e)&&e.length===0||we(e)&&!Object.keys(e).length,ro=e=>typeof Element>"u"?!1:e instanceof Element,Ic=e=>_i(e),_A=e=>Re(e)?!Number.isNaN(Number(e)):!1,sp=e=>Object.keys(e),xA="__epPropKey",me=e=>e,bA=e=>we(e)&&!!e.__epPropKey,fl=(e,t)=>{if(!we(e)||bA(e))return e;const{values:n,required:r,default:o,type:s,validator:i}=e,a={type:s,required:!!r,validator:n||i?l=>{let c=!1,u=[];if(n&&(u=Array.from(n),Ve(e,"default")&&u.push(o),c||=u.includes(l)),i&&(c||=i(l)),!c&&u.length>0){const f=[...new Set(u)].map(d=>JSON.stringify(d)).join(", ");Pb(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return c}:void 0,[xA]:!0};return Ve(e,"default")&&(a.default=o),a},Xe=e=>Sa(Object.entries(e).map(([t,n])=>[t,fl(n,t)]));var kg=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function Rg(e,t){throw new kg(`[${e}] ${t}`)}function Qn(e,t){{const n=Re(e)?new kg(`[${e}] ${t}`):e;console.warn(n)}}function yA(){const e=wt(),t=Z(0),n=L(()=>({minWidth:`${Math.max(t.value,11)}px`}));return On(e,()=>{t.value=e.value?.getBoundingClientRect().width??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const Bs=({from:e,replacement:t,scope:n,version:r,ref:o,type:s="API"},i)=>{_e(()=>A(i),a=>{a&&Qn(n,`[${s}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
1
+ var V_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var PR=V_((nn,rn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function du(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const qe={},Bo=[],pt=()=>{},bh=()=>!1,Da=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ka=e=>e.startsWith("onUpdate:"),mt=Object.assign,pu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},H_=Object.prototype.hasOwnProperty,Ve=(e,t)=>H_.call(e,t),ce=Array.isArray,Vo=e=>di(e)==="[object Map]",Ra=e=>di(e)==="[object Set]",Vf=e=>di(e)==="[object Date]",be=e=>typeof e=="function",Re=e=>typeof e=="string",sn=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",yh=e=>(we(e)||be(e))&&be(e.then)&&be(e.catch),Eh=Object.prototype.toString,di=e=>Eh.call(e),U_=e=>di(e).slice(8,-1),hu=e=>di(e)==="[object Object]",$a=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fs=du(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ba=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},j_=/-\w/g,Pt=Ba(e=>e.replace(j_,t=>t.slice(1).toUpperCase())),W_=/\B([A-Z])/g,Vr=Ba(e=>e.replace(W_,"-$1").toLowerCase()),Va=Ba(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qi=Ba(e=>e?`on${Va(e)}`:""),Gn=(e,t)=>!Object.is(e,t),Zi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ch=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},G_=e=>{const t=parseFloat(e);return isNaN(t)?e:t},z_=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let Hf;const Ha=()=>Hf||(Hf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function St(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Re(r)?J_(r):St(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Re(e)||we(e))return e}const K_=/;(?![^(]*\))/g,Y_=/:([^]+)/,q_=/\/\*[^]*?\*\//g;function J_(e){const t={};return e.replace(q_,"").split(K_).forEach(n=>{if(n){const r=n.split(Y_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function de(e){let t="";if(Re(e))t=e;else if(ce(e))for(let n=0;n<e.length;n++){const r=de(e[n]);r&&(t+=r+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const X_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q_=du(X_);function Sh(e){return!!e||e===""}function Z_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=pi(e[r],t[r]);return n}function pi(e,t){if(e===t)return!0;let n=Vf(e),r=Vf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=sn(e),r=sn(t),n||r)return e===t;if(n=ce(e),r=ce(t),n||r)return n&&r?Z_(e,t):!1;if(n=we(e),r=we(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!pi(e[i],t[i]))return!1}}return String(e)===String(t)}function wh(e,t){return e.findIndex(n=>pi(n,t))}const Ah=e=>!!(e&&e.__v_isRef===!0),De=e=>Re(e)?e:e==null?"":ce(e)||we(e)&&(e.toString===Eh||!be(e.toString))?Ah(e)?De(e.value):JSON.stringify(e,Th,2):String(e),Th=(e,t)=>Ah(t)?Th(e,t.value):Vo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Ol(r,s)+" =>"]=o,n),{})}:Ra(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ol(n))}:sn(t)?Ol(t):we(t)&&!ce(t)&&!hu(t)?String(t):t,Ol=(e,t="")=>{var n;return sn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function ex(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let vt;class Oh{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&&vt&&(vt.active?(this.parent=vt,this.index=(vt.scopes||(vt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=vt;try{return vt=this,t()}finally{vt=n}}}on(){++this._on===1&&(this.prevScope=vt,vt=this)}off(){if(this._on>0&&--this._on===0){if(vt===this)vt=this.prevScope;else{let t=vt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function tx(e){return new Oh(e)}function Ua(){return vt}function Nh(e,t=!1){vt&&vt.cleanups.push(e)}let et;const Nl=new WeakSet;class Fh{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,vt&&(vt.active?vt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Nl.has(this)&&(Nl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Lh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Uf(this),Ih(this);const t=et,n=Mn;et=this,Mn=!0;try{return this.fn()}finally{Ph(this),et=t,Mn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vu(t);this.deps=this.depsTail=void 0,Uf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Nl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hc(this)&&this.run()}get dirty(){return hc(this)}}let Mh=0,Ms,Ls;function Lh(e,t=!1){if(e.flags|=8,t){e.next=Ls,Ls=e;return}e.next=Ms,Ms=e}function mu(){Mh++}function gu(){if(--Mh>0)return;if(Ls){let t=Ls;for(Ls=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ms;){let t=Ms;for(Ms=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ih(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ph(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),vu(r),nx(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function hc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Dh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Dh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ws)||(e.globalVersion=Ws,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hc(e))))return;e.flags|=2;const t=e.dep,n=et,r=Mn;et=e,Mn=!0;try{Ih(e);const o=e.fn(e._value);(t.version===0||Gn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{et=n,Mn=r,Ph(e),e.flags&=-3}}function vu(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)vu(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function nx(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Mn=!0;const kh=[];function mr(){kh.push(Mn),Mn=!1}function gr(){const e=kh.pop();Mn=e===void 0?!0:e}function Uf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=et;et=void 0;try{t()}finally{et=n}}}let Ws=0;class rx{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 ja{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(!et||!Mn||et===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==et)n=this.activeLink=new rx(et,this),et.deps?(n.prevDep=et.depsTail,et.depsTail.nextDep=n,et.depsTail=n):et.deps=et.depsTail=n,Rh(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=et.depsTail,n.nextDep=void 0,et.depsTail.nextDep=n,et.depsTail=n,et.deps===n&&(et.deps=r)}return n}trigger(t){this.version++,Ws++,this.notify(t)}notify(t){mu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{gu()}}}function Rh(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)Rh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const la=new WeakMap,lo=Symbol(""),mc=Symbol(""),Gs=Symbol("");function Mt(e,t,n){if(Mn&&et){let r=la.get(e);r||la.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new ja),o.map=r,o.key=n),o.track()}}function ur(e,t,n,r,o,s){const i=la.get(e);if(!i){Ws++;return}const a=l=>{l&&l.trigger()};if(mu(),t==="clear")i.forEach(a);else{const l=ce(e),c=l&&$a(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===Gs||!sn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Gs)),t){case"add":l?c&&a(i.get("length")):(a(i.get(lo)),Vo(e)&&a(i.get(mc)));break;case"delete":l||(a(i.get(lo)),Vo(e)&&a(i.get(mc)));break;case"set":Vo(e)&&a(i.get(lo));break}}gu()}function ox(e,t){const n=la.get(e);return n&&n.get(t)}function Ao(e){const t=Pe(e);return t===e?t:(Mt(t,"iterate",Gs),on(e)?t:t.map(Ln))}function Wa(e){return Mt(e=Pe(e),"iterate",Gs),e}function jn(e,t){return vr(e)?Go(co(e)?Ln(t):t):Ln(t)}const sx={__proto__:null,[Symbol.iterator](){return Fl(this,Symbol.iterator,e=>jn(this,e))},concat(...e){return Ao(this).concat(...e.map(t=>ce(t)?Ao(t):t))},entries(){return Fl(this,"entries",e=>(e[1]=jn(this,e[1]),e))},every(e,t){return nr(this,"every",e,t,void 0,arguments)},filter(e,t){return nr(this,"filter",e,t,n=>n.map(r=>jn(this,r)),arguments)},find(e,t){return nr(this,"find",e,t,n=>jn(this,n),arguments)},findIndex(e,t){return nr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return nr(this,"findLast",e,t,n=>jn(this,n),arguments)},findLastIndex(e,t){return nr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return nr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ml(this,"includes",e)},indexOf(...e){return Ml(this,"indexOf",e)},join(e){return Ao(this).join(e)},lastIndexOf(...e){return Ml(this,"lastIndexOf",e)},map(e,t){return nr(this,"map",e,t,void 0,arguments)},pop(){return ms(this,"pop")},push(...e){return ms(this,"push",e)},reduce(e,...t){return jf(this,"reduce",e,t)},reduceRight(e,...t){return jf(this,"reduceRight",e,t)},shift(){return ms(this,"shift")},some(e,t){return nr(this,"some",e,t,void 0,arguments)},splice(...e){return ms(this,"splice",e)},toReversed(){return Ao(this).toReversed()},toSorted(e){return Ao(this).toSorted(e)},toSpliced(...e){return Ao(this).toSpliced(...e)},unshift(...e){return ms(this,"unshift",e)},values(){return Fl(this,"values",e=>jn(this,e))}};function Fl(e,t,n){const r=Wa(e),o=r[t]();return r!==e&&!on(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const ix=Array.prototype;function nr(e,t,n,r,o,s){const i=Wa(e),a=i!==e&&!on(e),l=i[t];if(l!==ix[t]){const f=l.apply(e,s);return a?Ln(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,jn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function jf(e,t,n,r){const o=Wa(e),s=o!==e&&!on(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=jn(e,c)),n.call(this,c,jn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?jn(e,l):l}function Ml(e,t,n){const r=Pe(e);Mt(r,"iterate",Gs);const o=r[t](...n);return(o===-1||o===!1)&&Ka(n[0])?(n[0]=Pe(n[0]),r[t](...n)):o}function ms(e,t,n=[]){mr(),mu();const r=Pe(e)[t].apply(e,n);return gu(),gr(),r}const ax=du("__proto__,__v_isRef,__isVue"),$h=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn));function lx(e){sn(e)||(e=String(e));const t=Pe(this);return Mt(t,"has",e),t.hasOwnProperty(e)}class Bh{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?Gh:Wh:s?jh:Uh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ce(t);if(!o){let l;if(i&&(l=sx[n]))return l;if(n==="hasOwnProperty")return lx}const a=Reflect.get(t,n,nt(t)?t:r);if((sn(n)?$h.has(n):ax(n))||(o||Mt(t,"get",n),s))return a;if(nt(a)){const l=i&&$a(n)?a:a.value;return o&&we(l)?Wo(l):l}return we(a)?o?Wo(a):Jt(a):a}}class Vh extends Bh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ce(t)&&$a(n);if(!this._isShallow){const c=vr(s);if(!on(r)&&!vr(r)&&(s=Pe(s),r=Pe(r)),!i&&nt(s)&&!nt(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Ve(t,n),l=Reflect.set(t,n,r,nt(t)?t:o);return t===Pe(o)&&(a?Gn(r,s)&&ur(t,"set",n,r):ur(t,"add",n,r)),l}deleteProperty(t,n){const r=Ve(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&ur(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!sn(n)||!$h.has(n))&&Mt(t,"has",n),r}ownKeys(t){return Mt(t,"iterate",ce(t)?"length":lo),Reflect.ownKeys(t)}}class Hh extends Bh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const cx=new Vh,ux=new Hh,fx=new Vh(!0),dx=new Hh(!0),gc=e=>e,Pi=e=>Reflect.getPrototypeOf(e);function px(e,t,n){return function(...r){const o=this.__v_raw,s=Pe(o),i=Vo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?gc:t?Go:Ln;return!t&&Mt(s,"iterate",l?mc:lo),mt(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function Di(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hx(e,t){const n={get(o){const s=this.__v_raw,i=Pe(s),a=Pe(o);e||(Gn(o,a)&&Mt(i,"get",o),Mt(i,"get",a));const{has:l}=Pi(i),c=t?gc:e?Go:Ln;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Mt(Pe(o),"iterate",lo),o.size},has(o){const s=this.__v_raw,i=Pe(s),a=Pe(o);return e||(Gn(o,a)&&Mt(i,"has",o),Mt(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=Pe(a),c=t?gc:e?Go:Ln;return!e&&Mt(l,"iterate",lo),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return mt(n,e?{add:Di("add"),set:Di("set"),delete:Di("delete"),clear:Di("clear")}:{add(o){const s=Pe(this),i=Pi(s),a=Pe(o),l=!t&&!on(o)&&!vr(o)?a:o;return i.has.call(s,l)||Gn(o,l)&&i.has.call(s,o)||Gn(a,l)&&i.has.call(s,a)||(s.add(l),ur(s,"add",l,l)),this},set(o,s){!t&&!on(s)&&!vr(s)&&(s=Pe(s));const i=Pe(this),{has:a,get:l}=Pi(i);let c=a.call(i,o);c||(o=Pe(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Gn(s,u)&&ur(i,"set",o,s):ur(i,"add",o,s),this},delete(o){const s=Pe(this),{has:i,get:a}=Pi(s);let l=i.call(s,o);l||(o=Pe(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&ur(s,"delete",o,void 0),c},clear(){const o=Pe(this),s=o.size!==0,i=o.clear();return s&&ur(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=px(o,e,t)}),n}function Ga(e,t){const n=hx(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ve(n,o)&&o in r?n:r,o,s)}const mx={get:Ga(!1,!1)},gx={get:Ga(!1,!0)},vx={get:Ga(!0,!1)},_x={get:Ga(!0,!0)},Uh=new WeakMap,jh=new WeakMap,Wh=new WeakMap,Gh=new WeakMap;function xx(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bx(e){return e.__v_skip||!Object.isExtensible(e)?0:xx(U_(e))}function Jt(e){return vr(e)?e:za(e,!1,cx,mx,Uh)}function zh(e){return za(e,!1,fx,gx,jh)}function Wo(e){return za(e,!0,ux,vx,Wh)}function yx(e){return za(e,!0,dx,_x,Gh)}function za(e,t,n,r,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=bx(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function co(e){return vr(e)?co(e.__v_raw):!!(e&&e.__v_isReactive)}function vr(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function Ka(e){return e?!!e.__v_raw:!1}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function Ex(e){return!Ve(e,"__v_skip")&&Object.isExtensible(e)&&Ch(e,"__v_skip",!0),e}const Ln=e=>we(e)?Jt(e):e,Go=e=>we(e)?Wo(e):e;function nt(e){return e?e.__v_isRef===!0:!1}function Z(e){return Kh(e,!1)}function wt(e){return Kh(e,!0)}function Kh(e,t){return nt(e)?e:new Cx(e,t)}class Cx{constructor(t,n){this.dep=new ja,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Pe(t),this._value=n?t:Ln(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||on(t)||vr(t);t=r?t:Pe(t),Gn(t,n)&&(this._rawValue=t,this._value=r?t:Ln(t),this.dep.trigger())}}function A(e){return nt(e)?e.value:e}function _t(e){return be(e)?e():A(e)}const Sx={get:(e,t,n)=>t==="__v_raw"?e:A(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return nt(o)&&!nt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Yh(e){return co(e)?e:new Proxy(e,Sx)}class wx{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ja,{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 Ax(e){return new wx(e)}function rs(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=qh(e,n);return t}class Tx{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=sn(n)?n:String(n),this._raw=Pe(t);let o=!0,s=t;if(!ce(t)||sn(this._key)||!$a(this._key))do o=!Ka(s)||on(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=A(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&nt(this._raw[this._key])){const n=this._object[this._key];if(nt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ox(this._raw,this._key)}}class Ox{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 en(e,t,n){return nt(e)?e:be(e)?new Ox(e):we(e)&&arguments.length>1?qh(e,t,n):Z(e)}function qh(e,t,n){return new Tx(e,t,n)}class Nx{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ja(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&et!==this)return Lh(this,!0),!0}get value(){const t=this.dep.track();return Dh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fx(e,t,n=!1){let r,o;return be(e)?r=e:(r=e.get,o=e.set),new Nx(r,o,n)}const ki={},ca=new WeakMap;let Qr;function Mx(e,t=!1,n=Qr){if(n){let r=ca.get(n);r||ca.set(n,r=[]),r.push(e)}}function Lx(e,t,n=qe){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=x=>o?x:on(x)||o===!1||o===0?fr(x,1):fr(x);let u,f,d,p,h=!1,m=!1;if(nt(e)?(f=()=>e.value,h=on(e)):co(e)?(f=()=>c(e),h=!0):ce(e)?(m=!0,h=e.some(x=>co(x)||on(x)),f=()=>e.map(x=>{if(nt(x))return x.value;if(co(x))return c(x);if(be(x))return l?l(x,2):x()})):be(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){mr();try{d()}finally{gr()}}const x=Qr;Qr=u;try{return l?l(e,3,[p]):e(p)}finally{Qr=x}}:f=pt,t&&o){const x=f,S=o===!0?1/0:o;f=()=>fr(x(),S)}const v=Ua(),g=()=>{u.stop(),v&&v.active&&pu(v.effects,u)};if(s&&t){const x=t;t=(...S)=>{x(...S),g()}}let _=m?new Array(e.length).fill(ki):ki;const y=x=>{if(!(!(u.flags&1)||!u.dirty&&!x))if(t){const S=u.run();if(o||h||(m?S.some((E,b)=>Gn(E,_[b])):Gn(S,_))){d&&d();const E=Qr;Qr=u;try{const b=[S,_===ki?void 0:m&&_[0]===ki?[]:_,p];_=S,l?l(t,3,b):t(...b)}finally{Qr=E}}}else u.run()};return a&&a(y),u=new Fh(f),u.scheduler=i?()=>i(y,!1):y,p=x=>Mx(x,!1,u),d=u.onStop=()=>{const x=ca.get(u);if(x){if(l)l(x,4);else for(const S of x)S();ca.delete(u)}},t?r?y(!0):_=u.run():i?i(y.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function fr(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,nt(e))fr(e.value,t,n);else if(ce(e))for(let r=0;r<e.length;r++)fr(e[r],t,n);else if(Ra(e)||Vo(e))e.forEach(r=>{fr(r,t,n)});else if(hu(e)){for(const r in e)fr(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&fr(e[r],t,n)}return e}function hi(e,t,n,r){try{return r?e(...r):e()}catch(o){Ya(o,t,n)}}function In(e,t,n,r){if(be(e)){const o=hi(e,t,n,r);return o&&yh(o)&&o.catch(s=>{Ya(s,t,n)}),o}if(ce(e)){const o=[];for(let s=0;s<e.length;s++)o.push(In(e[s],t,n,r));return o}}function Ya(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||qe;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){mr(),hi(s,null,10,[e,l,c]),gr();return}}Ix(e,n,o,r,i)}function Ix(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ut=[];let Hn=-1;const Ho=[];let Ir=null,Mo=0;const Jh=Promise.resolve();let ua=null;function rt(e){const t=ua||Jh;return e?t.then(this?e.bind(this):e):t}function Px(e){let t=Hn+1,n=Ut.length;for(;t<n;){const r=t+n>>>1,o=Ut[r],s=zs(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function _u(e){if(!(e.flags&1)){const t=zs(e),n=Ut[Ut.length-1];!n||!(e.flags&2)&&t>=zs(n)?Ut.push(e):Ut.splice(Px(t),0,e),e.flags|=1,Xh()}}function Xh(){ua||(ua=Jh.then(em))}function Qh(e){ce(e)?Ho.push(...e):Ir&&e.id===-1?Ir.splice(Mo+1,0,e):e.flags&1||(Ho.push(e),e.flags|=1),Xh()}function Wf(e,t,n=Hn+1){for(;n<Ut.length;n++){const r=Ut[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ut.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Zh(e){if(Ho.length){const t=[...new Set(Ho)].sort((n,r)=>zs(n)-zs(r));if(Ho.length=0,Ir){Ir.push(...t);return}for(Ir=t,Mo=0;Mo<Ir.length;Mo++){const n=Ir[Mo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ir=null,Mo=0}}const zs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function em(e){try{for(Hn=0;Hn<Ut.length;Hn++){const t=Ut[Hn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Hn<Ut.length;Hn++){const t=Ut[Hn];t&&(t.flags&=-2)}Hn=-1,Ut.length=0,Zh(),ua=null,(Ut.length||Ho.length)&&em()}}let Ct=null,tm=null;function fa(e){const t=Ct;return Ct=e,tm=e&&e.type.__scopeId||null,t}function pe(e,t=Ct,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ma(-1);const s=fa(t);let i;try{i=e(...o)}finally{fa(s),r._d&&ma(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Jn(e,t){if(Ct===null)return e;const n=Za(Ct),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=qe]=t[o];s&&(be(s)&&(s={mounted:s,updated:s}),s.deep&&fr(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Yr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(mr(),In(l,n,8,[e.el,a,e,t]),gr())}}function At(e,t){if(Lt){let n=Lt.provides;const r=Lt.parent&&Lt.parent.provides;r===n&&(n=Lt.provides=Object.create(r)),n[e]=t}}function Te(e,t,n=!1){const r=Ye();if(r||uo){let o=uo?uo._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&&be(t)?t.call(r&&r.proxy):t}}function nm(){return!!(Ye()||uo)}const Dx=Symbol.for("v-scx"),kx=()=>Te(Dx);function mi(e,t){return xu(e,null,t)}function _e(e,t,n){return xu(e,t,n)}function xu(e,t,n=qe){const{immediate:r,deep:o,flush:s,once:i}=n,a=mt({},n),l=t&&r||!t&&s!=="post";let c;if(qs){if(s==="sync"){const p=kx();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=pt,p.resume=pt,p.pause=pt,p}}const u=Lt;a.call=(p,h,m)=>In(p,u,h,m);let f=!1;s==="post"?a.scheduler=p=>{Vt(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():_u(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=Lx(e,t,a);return qs&&(c?c.push(d):l&&d()),d}function Rx(e,t,n){const r=this.proxy,o=Re(e)?e.includes(".")?rm(r,e):()=>r[e]:e.bind(r,r);let s;be(t)?s=t:(s=t.handler,n=t);const i=gi(this),a=xu(o,s.bind(r),n);return i(),a}function rm(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 Nr=new WeakMap,om=Symbol("_vte"),sm=e=>e.__isTeleport,eo=e=>e&&(e.disabled||e.disabled===""),$x=e=>e&&(e.defer||e.defer===""),Gf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,zf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,vc=(e,t)=>{const n=e&&e.to;return Re(n)?t?t(n):null:n},Bx={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v,parentNode:g}}=c,_=eo(t.props);let{dynamicChildren:y}=t;const x=(b,O,F)=>{b.shapeFlag&16&&u(b.children,O,F,o,s,i,a,l)},S=(b=t)=>{const O=eo(b.props),F=b.target=vc(b.props,h),V=_c(F,b,m,p);F&&(i!=="svg"&&Gf(F)?i="svg":i!=="mathml"&&zf(F)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(F),O||(x(b,F,V),As(b,!1)))},E=b=>{const O=()=>{if(Nr.get(b)===O){if(Nr.delete(b),eo(b.props)){const F=g(b.el)||n;x(b,F,b.anchor),As(b,!0)}S(b)}};Nr.set(b,O),Vt(O,s)};if(e==null){const b=t.el=m(""),O=t.anchor=m("");if(p(b,n,r),p(O,n,r),$x(t.props)||s&&s.pendingBranch){E(t);return}_&&(x(t,n,O),As(t,!0)),S()}else{t.el=e.el;const b=t.anchor=e.anchor,O=Nr.get(e);if(O){O.flags|=8,Nr.delete(e),E(t);return}t.targetStart=e.targetStart;const F=t.target=e.target,V=t.targetAnchor=e.targetAnchor,W=eo(e.props),I=W?n:F,Y=W?b:V;if(i==="svg"||Gf(F)?i="svg":(i==="mathml"||zf(F))&&(i="mathml"),y?(d(e.dynamicChildren,y,I,o,s,i,a),Au(e,t,!0)):l||f(e,t,I,Y,o,s,i,a,!1),_)W?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ri(t,n,b,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=vc(t.props,h);H&&Ri(t,H,null,c,0)}else W&&Ri(t,F,V,c,1);As(t,_)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;let p=s||!eo(d);const h=Nr.get(e);if(h&&(h.flags|=8,Nr.delete(e),p=!1),f&&(o(c),o(u)),s&&o(l),i&16)for(let m=0;m<a.length;m++){const v=a[m];r(v,t,n,p,!!v.dynamicChildren)}},move:Ri,hydrate:Vx};function Ri(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(i,t,n),!Nr.has(e)&&(!f||eo(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function Vx(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){function d(v,g){let _=g;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,v._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}}function p(v,g){g.anchor=f(i(v),g,a(v),n,r,o,s)}const h=t.target=vc(t.props,l),m=eo(t.props);if(h){const v=h._lpa||h.firstChild;t.shapeFlag&16&&(m?(p(e,t),d(h,v),t.targetAnchor||_c(h,t,u,c,a(e)===h?e:null)):(t.anchor=i(e),d(h,v),t.targetAnchor||_c(h,t,u,c),f(v&&i(v),t,h,n,r,o,s))),As(t,m)}else m&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Hx=Bx;function As(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function _c(e,t,n,r,o=null){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[om]=i,e&&(r(s,e,o),r(i,e,o)),i}const Un=Symbol("_leaveCb"),gs=Symbol("_enterCb");function im(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gt(()=>{e.isMounted=!0}),Nt(()=>{e.isUnmounting=!0}),e}const dn=[Function,Array],am={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dn,onEnter:dn,onAfterEnter:dn,onEnterCancelled:dn,onBeforeLeave:dn,onLeave:dn,onAfterLeave:dn,onLeaveCancelled:dn,onBeforeAppear:dn,onAppear:dn,onAfterAppear:dn,onAppearCancelled:dn},lm=e=>{const t=e.subTree;return t.component?lm(t.component):t},Ux={name:"BaseTransition",props:am,setup(e,{slots:t}){const n=Ye(),r=im();return()=>{const o=t.default&&bu(t.default(),!0),s=o&&o.length?cm(o):n.subTree?Ae():void 0;if(!s)return;const i=Pe(e),{mode:a}=i;if(r.isLeaving)return Ll(s);const l=Kf(s);if(!l)return Ll(s);let c=Ks(l,i,r,n,f=>c=f);l.type!==yt&&po(l,c);let u=n.subTree&&Kf(n.subTree);if(u&&u.type!==yt&&!to(u,l)&&lm(n).type!==yt){let f=Ks(u,i,r,n);if(po(u,f),a==="out-in"&&l.type!==yt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Ll(s);a==="in-out"&&l.type!==yt?f.delayLeave=(d,p,h)=>{const m=um(r,u);m[String(u.key)]=u,d[Un]=()=>{p(),d[Un]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{h(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function cm(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==yt){t=n;break}}return t}const jx=Ux;function um(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ks(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:_,onAppearCancelled:y}=t,x=String(e.key),S=um(n,e),E=(F,V)=>{F&&In(F,r,9,V)},b=(F,V)=>{const W=V[1];E(F,V),ce(F)?F.every(I=>I.length<=1)&&W():F.length<=1&&W()},O={mode:i,persisted:a,beforeEnter(F){let V=l;if(!n.isMounted)if(s)V=v||l;else return;F[Un]&&F[Un](!0);const W=S[x];W&&to(e,W)&&W.el[Un]&&W.el[Un](),E(V,[F])},enter(F){if(S[x]===e)return;let V=c,W=u,I=f;if(!n.isMounted)if(s)V=g||c,W=_||u,I=y||f;else return;let Y=!1;F[gs]=D=>{Y||(Y=!0,D?E(I,[F]):E(W,[F]),O.delayedLeave&&O.delayedLeave(),F[gs]=void 0)};const H=F[gs].bind(null,!1);V?b(V,[F,H]):H()},leave(F,V){const W=String(e.key);if(F[gs]&&F[gs](!0),n.isUnmounting)return V();E(d,[F]);let I=!1;F[Un]=H=>{I||(I=!0,V(),H?E(m,[F]):E(h,[F]),F[Un]=void 0,S[W]===e&&delete S[W])};const Y=F[Un].bind(null,!1);S[W]=e,p?b(p,[F,Y]):Y()},clone(F){const V=Ks(F,t,n,r,o);return o&&o(V),V}};return O}function Ll(e){if(qa(e))return e=Xn(e),e.children=null,e}function Kf(e){if(!qa(e))return sm(e.type)&&e.children?cm(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&be(n.default))return n.default()}}function po(e,t){e.shapeFlag&6&&e.component?(e.transition=t,po(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 bu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===ke?(i.patchFlag&128&&o++,r=r.concat(bu(i.children,t,a))):(t||i.type!==yt)&&r.push(a!=null?Xn(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function ue(e,t){return be(e)?mt({name:e.name},t,{setup:e}):e}function fm(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function da(e){const t=Ye(),n=wt(null);if(t){const o=t.refs===qe?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Yf(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const pa=new WeakMap;function Is(e,t,n,r,o=!1){if(ce(e)){e.forEach((m,v)=>Is(m,t&&(ce(t)?t[v]:t),n,r,o));return}if(Uo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Is(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Za(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===qe?a.refs={}:a.refs,f=a.setupState,d=Pe(f),p=f===qe?bh:m=>Yf(u,m)?!1:Ve(d,m),h=(m,v)=>!(v&&Yf(u,v));if(c!=null&&c!==l){if(qf(t),Re(c))u[c]=null,p(c)&&(f[c]=null);else if(nt(c)){const m=t;h(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(be(l))hi(l,a,12,[i,u]);else{const m=Re(l),v=nt(l);if(m||v){const g=()=>{if(e.f){const _=m?p(l)?f[l]:u[l]:h()||!e.k?l.value:u[e.k];if(o)ce(_)&&pu(_,s);else if(ce(_))_.includes(s)||_.push(s);else if(m)u[l]=[s],p(l)&&(f[l]=u[l]);else{const y=[s];h(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else m?(u[l]=i,p(l)&&(f[l]=i)):v&&(h(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{g(),pa.delete(e)};_.id=-1,pa.set(e,_),Vt(_,n)}else qf(e),g()}}}function qf(e){const t=pa.get(e);t&&(t.flags|=8,pa.delete(e))}Ha().requestIdleCallback;Ha().cancelIdleCallback;const Uo=e=>!!e.type.__asyncLoader,qa=e=>e.type.__isKeepAlive;function dm(e,t){hm(e,"a",t)}function pm(e,t){hm(e,"da",t)}function hm(e,t,n=Lt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ja(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qa(o.parent.vnode)&&Wx(r,t,n,o),o=o.parent}}function Wx(e,t,n,r){const o=Ja(t,e,r,!0);yo(()=>{pu(r[t],o)},n)}function Ja(e,t,n=Lt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{mr();const a=gi(n),l=In(t,n,e,i);return a(),gr(),l});return r?o.unshift(s):o.push(s),s}}const yr=e=>(t,n=Lt)=>{(!qs||e==="sp")&&Ja(e,(...r)=>t(...r),n)},mm=yr("bm"),gt=yr("m"),gm=yr("bu"),yu=yr("u"),Nt=yr("bum"),yo=yr("um"),Gx=yr("sp"),zx=yr("rtg"),Kx=yr("rtc");function Yx(e,t=Lt){Ja("ec",e,t)}const Eu="components",qx="directives";function sr(e,t){return Cu(Eu,e,!0,t)||e}const vm=Symbol.for("v-ndc");function vn(e){return Re(e)?Cu(Eu,e,!1)||e:e||vm}function Jx(e){return Cu(qx,e)}function Cu(e,t,n=!0,r=!1){const o=Ct||Lt;if(o){const s=o.type;if(e===Eu){const a=Lb(s,!1);if(a&&(a===t||a===Pt(t)||a===Va(Pt(t))))return s}const i=Jf(o[e]||s[e],t)||Jf(o.appContext[e],t);return!i&&r?s:i}}function Jf(e,t){return e&&(e[t]||e[Pt(t)]||e[Va(Pt(t))])}function Nn(e,t,n,r){let o;const s=n&&n[r],i=ce(e);if(i||Re(e)){const a=i&&co(e);let l=!1,c=!1;a&&(l=!on(e),c=vr(e),e=Wa(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?Go(Ln(e[u])):Ln(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(we(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function Se(e,t,n={},r,o){if(Ct.ce||Ct.parent&&Uo(Ct.parent)&&Ct.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),U(),he(ke,null,[ee("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),U();const i=s&&_m(s(n)),a=n.key||i&&i.key,l=he(ke,{key:(a&&!sn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function _m(e){return e.some(t=>zn(t)?!(t.type===yt||t.type===ke&&!_m(t.children)):!0)?e:null}const xc=e=>e?Bm(e)?Za(e):xc(e.parent):null,Ps=mt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xc(e.parent),$root:e=>xc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Em(e),$forceUpdate:e=>e.f||(e.f=()=>{_u(e.update)}),$nextTick:e=>e.n||(e.n=rt.bind(e.proxy)),$watch:e=>Rx.bind(e)}),Il=(e,t)=>e!==qe&&!e.__isScriptSetup&&Ve(e,t),Xx={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Il(r,t))return i[t]=1,r[t];if(o!==qe&&Ve(o,t))return i[t]=2,o[t];if(Ve(s,t))return i[t]=3,s[t];if(n!==qe&&Ve(n,t))return i[t]=4,n[t];bc&&(i[t]=0)}}const c=Ps[t];let u,f;if(c)return t==="$attrs"&&Mt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==qe&&Ve(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Ve(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Il(o,t)?(o[t]=n,!0):r!==qe&&Ve(r,t)?(r[t]=n,!0):Ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==qe&&a[0]!=="$"&&Ve(e,a)||Il(t,a)||Ve(s,a)||Ve(r,a)||Ve(Ps,a)||Ve(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xa(){return bm().slots}function xm(){return bm().attrs}function bm(e){const t=Ye();return t.setupContext||(t.setupContext=Hm(t))}function Xf(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let bc=!0;function Qx(e){const t=Em(e),n=e.proxy,r=e.ctx;bc=!1,t.beforeCreate&&Qf(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:_,destroyed:y,unmounted:x,render:S,renderTracked:E,renderTriggered:b,errorCaptured:O,serverPrefetch:F,expose:V,inheritAttrs:W,components:I,directives:Y,filters:H}=t;if(c&&Zx(c,r,null),i)for(const R in i){const j=i[R];be(j)&&(r[R]=j.bind(n))}if(o){const R=o.call(n,n);we(R)&&(e.data=Jt(R))}if(bc=!0,s)for(const R in s){const j=s[R],ne=be(j)?j.bind(n,n):be(j.get)?j.get.bind(n,n):pt,le=!be(j)&&be(j.set)?j.set.bind(n):pt,xe=L({get:ne,set:le});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>xe.value,set:Ee=>xe.value=Ee})}if(a)for(const R in a)ym(a[R],r,n,R);if(l){const R=be(l)?l.call(n):l;Reflect.ownKeys(R).forEach(j=>{At(j,R[j])})}u&&Qf(u,e,"c");function M(R,j){ce(j)?j.forEach(ne=>R(ne.bind(n))):j&&R(j.bind(n))}if(M(mm,f),M(gt,d),M(gm,p),M(yu,h),M(dm,m),M(pm,v),M(Yx,O),M(Kx,E),M(zx,b),M(Nt,_),M(yo,x),M(Gx,F),ce(V))if(V.length){const R=e.exposed||(e.exposed={});V.forEach(j=>{Object.defineProperty(R,j,{get:()=>n[j],set:ne=>n[j]=ne,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===pt&&(e.render=S),W!=null&&(e.inheritAttrs=W),I&&(e.components=I),Y&&(e.directives=Y),F&&fm(e)}function Zx(e,t,n=pt){ce(e)&&(e=yc(e));for(const r in e){const o=e[r];let s;we(o)?"default"in o?s=Te(o.from||r,o.default,!0):s=Te(o.from||r):s=Te(o),nt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Qf(e,t,n){In(ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ym(e,t,n,r){let o=r.includes(".")?rm(n,r):()=>n[r];if(Re(e)){const s=t[e];be(s)&&_e(o,s)}else if(be(e))_e(o,e.bind(n));else if(we(e))if(ce(e))e.forEach(s=>ym(s,t,n,r));else{const s=be(e.handler)?e.handler.bind(n):t[e.handler];be(s)&&_e(o,s,e)}}function Em(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>ha(l,c,i,!0)),ha(l,t,i)),we(t)&&s.set(t,l),l}function ha(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ha(e,s,n,!0),o&&o.forEach(i=>ha(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=eb[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const eb={data:Zf,props:ed,emits:ed,methods:Ts,computed:Ts,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:Ts,directives:Ts,watch:nb,provide:Zf,inject:tb};function Zf(e,t){return t?e?function(){return mt(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function tb(e,t){return Ts(yc(e),yc(t))}function yc(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Bt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ts(e,t){return e?mt(Object.create(null),e,t):t}function ed(e,t){return e?ce(e)&&ce(t)?[...new Set([...e,...t])]:mt(Object.create(null),Xf(e),Xf(t??{})):t}function nb(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=Bt(e[r],t[r]);return n}function Cm(){return{app:null,config:{isNativeTag:bh,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 rb=0;function ob(e,t){return function(r,o=null){be(r)||(r=mt({},r)),o!=null&&!we(o)&&(o=null);const s=Cm(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:rb++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Pb,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&be(u.install)?(i.add(u),u.install(c,...f)):be(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||ee(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,Za(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(In(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=uo;uo=c;try{return u()}finally{uo=f}}};return c}}let uo=null;const sb=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${Vr(t)}Modifiers`];function ib(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||qe;let o=n;const s=t.startsWith("update:"),i=s&&sb(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Re(u)?u.trim():u)),i.number&&(o=n.map(G_)));let a,l=r[a=Qi(t)]||r[a=Qi(Pt(t))];!l&&s&&(l=r[a=Qi(Vr(t))]),l&&In(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,In(c,e,6,o)}}const ab=new WeakMap;function Sm(e,t,n=!1){const r=n?ab:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!be(e)){const l=c=>{const u=Sm(c,t,!0);u&&(a=!0,mt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(we(e)&&r.set(e,null),null):(ce(s)?s.forEach(l=>i[l]=null):mt(i,s),we(e)&&r.set(e,i),i)}function Qa(e,t){return!e||!Da(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ve(e,t[0].toLowerCase()+t.slice(1))||Ve(e,Vr(t))||Ve(e,t))}function td(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,v=fa(e);let g,_;try{if(n.shapeFlag&4){const x=o||r,S=x;g=Wn(c.call(S,x,u,f,p,d,h)),_=a}else{const x=t;g=Wn(x.length>1?x(f,{attrs:a,slots:i,emit:l}):x(f,null)),_=t.props?a:lb(a)}}catch(x){Ds.length=0,Ya(x,e,1),g=ee(yt)}let y=g;if(_&&m!==!1){const x=Object.keys(_),{shapeFlag:S}=y;x.length&&S&7&&(s&&x.some(ka)&&(_=cb(_,s)),y=Xn(y,_,!1,!0))}return n.dirs&&(y=Xn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&po(y,n.transition),g=y,fa(v),g}const lb=e=>{let t;for(const n in e)(n==="class"||n==="style"||Da(n))&&((t||(t={}))[n]=e[n]);return t},cb=(e,t)=>{const n={};for(const r in e)(!ka(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ub(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?nd(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(wm(i,r,d)&&!Qa(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?nd(r,i,c):!0:!!i;return!1}function nd(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(wm(t,e,s)&&!Qa(n,s))return!0}return!1}function wm(e,t,n){const r=e[n],o=t[n];return n==="style"&&we(r)&&we(o)?!pi(r,o):r!==o}function fb({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 Am={},Tm=()=>Object.create(Am),Om=e=>Object.getPrototypeOf(e)===Am;function db(e,t,n,r=!1){const o={},s=Tm();e.propsDefaults=Object.create(null),Nm(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:zh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function pb(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Pe(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Qa(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ve(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const h=Pt(d);o[h]=Ec(l,a,h,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{Nm(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Ve(t,f)&&((u=Vr(f))===f||!Ve(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ec(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Ve(t,f))&&(delete s[f],c=!0)}c&&ur(e.attrs,"set","")}function Nm(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Fs(l))continue;const c=t[l];let u;o&&Ve(o,u=Pt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Qa(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Pe(n),c=a||qe;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Ec(o,l,f,c[f],e,!Ve(c,f))}}return i}function Ec(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Ve(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&be(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=gi(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Vr(n))&&(r=!0))}return r}const hb=new WeakMap;function Fm(e,t,n=!1){const r=n?hb:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!be(e)){const u=f=>{l=!0;const[d,p]=Fm(f,t,!0);mt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return we(e)&&r.set(e,Bo),Bo;if(ce(s))for(let u=0;u<s.length;u++){const f=Pt(s[u]);rd(f)&&(i[f]=qe)}else if(s)for(const u in s){const f=Pt(u);if(rd(f)){const d=s[u],p=i[f]=ce(d)||be(d)?{type:d}:mt({},d),h=p.type;let m=!1,v=!0;if(ce(h))for(let g=0;g<h.length;++g){const _=h[g],y=be(_)&&_.name;if(y==="Boolean"){m=!0;break}else y==="String"&&(v=!1)}else m=be(h)&&h.name==="Boolean";p[0]=m,p[1]=v,(m||Ve(p,"default"))&&a.push(f)}}const c=[i,a];return we(e)&&r.set(e,c),c}function rd(e){return e[0]!=="$"&&!Fs(e)}const Su=e=>e==="_"||e==="_ctx"||e==="$stable",wu=e=>ce(e)?e.map(Wn):[Wn(e)],mb=(e,t,n)=>{if(t._n)return t;const r=pe((...o)=>wu(t(...o)),n);return r._c=!1,r},Mm=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Su(o))continue;const s=e[o];if(be(s))t[o]=mb(o,s,r);else if(s!=null){const i=wu(s);t[o]=()=>i}}},Lm=(e,t)=>{const n=wu(t);e.slots.default=()=>n},Im=(e,t,n)=>{for(const r in t)(n||!Su(r))&&(e[r]=t[r])},gb=(e,t,n)=>{const r=e.slots=Tm();if(e.vnode.shapeFlag&32){const o=t._;o?(Im(r,t,n),n&&Ch(r,"_",o,!0)):Mm(t,r)}else t&&Lm(e,t)},vb=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=qe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Im(o,t,n):(s=!t.$stable,Mm(t,o)),i=t}else t&&(Lm(e,t),i={default:1});if(s)for(const a in o)!Su(a)&&i[a]==null&&delete o[a]},Vt=Eb;function _b(e){return xb(e)}function xb(e,t){const n=Ha();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=pt,insertStaticContent:h}=e,m=(T,N,$,q=null,X=null,J=null,C=void 0,w=null,P=!!N.dynamicChildren)=>{if(T===N)return;T&&!to(T,N)&&(q=K(T),Ee(T,X,J,!0),T=null),N.patchFlag===-2&&(P=!1,N.dynamicChildren=null);const{type:B,ref:ie,shapeFlag:Q}=N;switch(B){case Eo:v(T,N,$,q);break;case yt:g(T,N,$,q);break;case ea:T==null&&_(N,$,q,C);break;case ke:I(T,N,$,q,X,J,C,w,P);break;default:Q&1?S(T,N,$,q,X,J,C,w,P):Q&6?Y(T,N,$,q,X,J,C,w,P):(Q&64||Q&128)&&B.process(T,N,$,q,X,J,C,w,P,re)}ie!=null&&X?Is(ie,T&&T.ref,J,N||T,!N):ie==null&&T&&T.ref!=null&&Is(T.ref,null,J,T,!0)},v=(T,N,$,q)=>{if(T==null)r(N.el=a(N.children),$,q);else{const X=N.el=T.el;N.children!==T.children&&c(X,N.children)}},g=(T,N,$,q)=>{T==null?r(N.el=l(N.children||""),$,q):N.el=T.el},_=(T,N,$,q)=>{[T.el,T.anchor]=h(T.children,N,$,q,T.el,T.anchor)},y=({el:T,anchor:N},$,q)=>{let X;for(;T&&T!==N;)X=d(T),r(T,$,q),T=X;r(N,$,q)},x=({el:T,anchor:N})=>{let $;for(;T&&T!==N;)$=d(T),o(T),T=$;o(N)},S=(T,N,$,q,X,J,C,w,P)=>{if(N.type==="svg"?C="svg":N.type==="math"&&(C="mathml"),T==null)E(N,$,q,X,J,C,w,P);else{const B=T.el&&T.el._isVueCE?T.el:null;try{B&&B._beginPatch(),F(T,N,X,J,C,w,P)}finally{B&&B._endPatch()}}},E=(T,N,$,q,X,J,C,w)=>{let P,B;const{props:ie,shapeFlag:Q,transition:k,dirs:G}=T;if(P=T.el=i(T.type,J,ie&&ie.is,ie),Q&8?u(P,T.children):Q&16&&O(T.children,P,null,q,X,Pl(T,J),C,w),G&&Yr(T,null,q,"created"),b(P,T,T.scopeId,C,q),ie){for(const ye in ie)ye!=="value"&&!Fs(ye)&&s(P,ye,null,ie[ye],J,q);"value"in ie&&s(P,"value",null,ie.value,J),(B=ie.onVnodeBeforeMount)&&kn(B,q,T)}G&&Yr(T,null,q,"beforeMount");const ve=bb(X,k);ve&&k.beforeEnter(P),r(P,N,$),((B=ie&&ie.onVnodeMounted)||ve||G)&&Vt(()=>{B&&kn(B,q,T),ve&&k.enter(P),G&&Yr(T,null,q,"mounted")},X)},b=(T,N,$,q,X)=>{if($&&p(T,$),q)for(let J=0;J<q.length;J++)p(T,q[J]);if(X){let J=X.subTree;if(N===J||km(J.type)&&(J.ssContent===N||J.ssFallback===N)){const C=X.vnode;b(T,C,C.scopeId,C.slotScopeIds,X.parent)}}},O=(T,N,$,q,X,J,C,w,P=0)=>{for(let B=P;B<T.length;B++){const ie=T[B]=w?lr(T[B]):Wn(T[B]);m(null,ie,N,$,q,X,J,C,w)}},F=(T,N,$,q,X,J,C)=>{const w=N.el=T.el;let{patchFlag:P,dynamicChildren:B,dirs:ie}=N;P|=T.patchFlag&16;const Q=T.props||qe,k=N.props||qe;let G;if($&&qr($,!1),(G=k.onVnodeBeforeUpdate)&&kn(G,$,N,T),ie&&Yr(N,T,$,"beforeUpdate"),$&&qr($,!0),(Q.innerHTML&&k.innerHTML==null||Q.textContent&&k.textContent==null)&&u(w,""),B?V(T.dynamicChildren,B,w,$,q,Pl(N,X),J):C||j(T,N,w,null,$,q,Pl(N,X),J,!1),P>0){if(P&16)W(w,Q,k,$,X);else if(P&2&&Q.class!==k.class&&s(w,"class",null,k.class,X),P&4&&s(w,"style",Q.style,k.style,X),P&8){const ve=N.dynamicProps;for(let ye=0;ye<ve.length;ye++){const Me=ve[ye],Ge=Q[Me],Be=k[Me];(Be!==Ge||Me==="value")&&s(w,Me,Ge,Be,X,$)}}P&1&&T.children!==N.children&&u(w,N.children)}else!C&&B==null&&W(w,Q,k,$,X);((G=k.onVnodeUpdated)||ie)&&Vt(()=>{G&&kn(G,$,N,T),ie&&Yr(N,T,$,"updated")},q)},V=(T,N,$,q,X,J,C)=>{for(let w=0;w<N.length;w++){const P=T[w],B=N[w],ie=P.el&&(P.type===ke||!to(P,B)||P.shapeFlag&198)?f(P.el):$;m(P,B,ie,null,q,X,J,C,!0)}},W=(T,N,$,q,X)=>{if(N!==$){if(N!==qe)for(const J in N)!Fs(J)&&!(J in $)&&s(T,J,N[J],null,X,q);for(const J in $){if(Fs(J))continue;const C=$[J],w=N[J];C!==w&&J!=="value"&&s(T,J,w,C,X,q)}"value"in $&&s(T,"value",N.value,$.value,X)}},I=(T,N,$,q,X,J,C,w,P)=>{const B=N.el=T?T.el:a(""),ie=N.anchor=T?T.anchor:a("");let{patchFlag:Q,dynamicChildren:k,slotScopeIds:G}=N;G&&(w=w?w.concat(G):G),T==null?(r(B,$,q),r(ie,$,q),O(N.children||[],$,ie,X,J,C,w,P)):Q>0&&Q&64&&k&&T.dynamicChildren&&T.dynamicChildren.length===k.length?(V(T.dynamicChildren,k,$,X,J,C,w),(N.key!=null||X&&N===X.subTree)&&Au(T,N,!0)):j(T,N,$,ie,X,J,C,w,P)},Y=(T,N,$,q,X,J,C,w,P)=>{N.slotScopeIds=w,T==null?N.shapeFlag&512?X.ctx.activate(N,$,q,C,P):H(N,$,q,X,J,C,P):D(T,N,P)},H=(T,N,$,q,X,J,C)=>{const w=T.component=Ob(T,q,X);if(qa(T)&&(w.ctx.renderer=re),Nb(w,!1,C),w.asyncDep){if(X&&X.registerDep(w,M,C),!T.el){const P=w.subTree=ee(yt);g(null,P,N,$),T.placeholder=P.el}}else M(w,T,N,$,X,J,C)},D=(T,N,$)=>{const q=N.component=T.component;if(ub(T,N,$))if(q.asyncDep&&!q.asyncResolved){R(q,N,$);return}else q.next=N,q.update();else N.el=T.el,q.vnode=N},M=(T,N,$,q,X,J,C)=>{const w=()=>{if(T.isMounted){let{next:Q,bu:k,u:G,parent:ve,vnode:ye}=T;{const Et=Pm(T);if(Et){Q&&(Q.el=ye.el,R(T,Q,C)),Et.asyncDep.then(()=>{Vt(()=>{T.isUnmounted||B()},X)});return}}let Me=Q,Ge;qr(T,!1),Q?(Q.el=ye.el,R(T,Q,C)):Q=ye,k&&Zi(k),(Ge=Q.props&&Q.props.onVnodeBeforeUpdate)&&kn(Ge,ve,Q,ye),qr(T,!0);const Be=td(T),Rt=T.subTree;T.subTree=Be,m(Rt,Be,f(Rt.el),K(Rt),T,X,J),Q.el=Be.el,Me===null&&fb(T,Be.el),G&&Vt(G,X),(Ge=Q.props&&Q.props.onVnodeUpdated)&&Vt(()=>kn(Ge,ve,Q,ye),X)}else{let Q;const{el:k,props:G}=N,{bm:ve,m:ye,parent:Me,root:Ge,type:Be}=T,Rt=Uo(N);qr(T,!1),ve&&Zi(ve),!Rt&&(Q=G&&G.onVnodeBeforeMount)&&kn(Q,Me,N),qr(T,!0);{Ge.ce&&Ge.ce._hasShadowRoot()&&Ge.ce._injectChildStyle(Be,T.parent?T.parent.type:void 0);const Et=T.subTree=td(T);m(null,Et,$,q,T,X,J),N.el=Et.el}if(ye&&Vt(ye,X),!Rt&&(Q=G&&G.onVnodeMounted)){const Et=N;Vt(()=>kn(Q,Me,Et),X)}(N.shapeFlag&256||Me&&Uo(Me.vnode)&&Me.vnode.shapeFlag&256)&&T.a&&Vt(T.a,X),T.isMounted=!0,N=$=q=null}};T.scope.on();const P=T.effect=new Fh(w);T.scope.off();const B=T.update=P.run.bind(P),ie=T.job=P.runIfDirty.bind(P);ie.i=T,ie.id=T.uid,P.scheduler=()=>_u(ie),qr(T,!0),B()},R=(T,N,$)=>{N.component=T;const q=T.vnode.props;T.vnode=N,T.next=null,pb(T,N.props,q,$),vb(T,N.children,$),mr(),Wf(T),gr()},j=(T,N,$,q,X,J,C,w,P=!1)=>{const B=T&&T.children,ie=T?T.shapeFlag:0,Q=N.children,{patchFlag:k,shapeFlag:G}=N;if(k>0){if(k&128){le(B,Q,$,q,X,J,C,w,P);return}else if(k&256){ne(B,Q,$,q,X,J,C,w,P);return}}G&8?(ie&16&&He(B,X,J),Q!==B&&u($,Q)):ie&16?G&16?le(B,Q,$,q,X,J,C,w,P):He(B,X,J,!0):(ie&8&&u($,""),G&16&&O(Q,$,q,X,J,C,w,P))},ne=(T,N,$,q,X,J,C,w,P)=>{T=T||Bo,N=N||Bo;const B=T.length,ie=N.length,Q=Math.min(B,ie);let k;for(k=0;k<Q;k++){const G=N[k]=P?lr(N[k]):Wn(N[k]);m(T[k],G,$,null,X,J,C,w,P)}B>ie?He(T,X,J,!0,!1,Q):O(N,$,q,X,J,C,w,P,Q)},le=(T,N,$,q,X,J,C,w,P)=>{let B=0;const ie=N.length;let Q=T.length-1,k=ie-1;for(;B<=Q&&B<=k;){const G=T[B],ve=N[B]=P?lr(N[B]):Wn(N[B]);if(to(G,ve))m(G,ve,$,null,X,J,C,w,P);else break;B++}for(;B<=Q&&B<=k;){const G=T[Q],ve=N[k]=P?lr(N[k]):Wn(N[k]);if(to(G,ve))m(G,ve,$,null,X,J,C,w,P);else break;Q--,k--}if(B>Q){if(B<=k){const G=k+1,ve=G<ie?N[G].el:q;for(;B<=k;)m(null,N[B]=P?lr(N[B]):Wn(N[B]),$,ve,X,J,C,w,P),B++}}else if(B>k)for(;B<=Q;)Ee(T[B],X,J,!0),B++;else{const G=B,ve=B,ye=new Map;for(B=ve;B<=k;B++){const $t=N[B]=P?lr(N[B]):Wn(N[B]);$t.key!=null&&ye.set($t.key,B)}let Me,Ge=0;const Be=k-ve+1;let Rt=!1,Et=0;const Kr=new Array(Be);for(B=0;B<Be;B++)Kr[B]=0;for(B=G;B<=Q;B++){const $t=T[B];if(Ge>=Be){Ee($t,X,J,!0);continue}let Xt;if($t.key!=null)Xt=ye.get($t.key);else for(Me=ve;Me<=k;Me++)if(Kr[Me-ve]===0&&to($t,N[Me])){Xt=Me;break}Xt===void 0?Ee($t,X,J,!0):(Kr[Xt-ve]=B+1,Xt>=Et?Et=Xt:Rt=!0,m($t,N[Xt],$,null,X,J,C,w,P),Ge++)}const fs=Rt?yb(Kr):Bo;for(Me=fs.length-1,B=Be-1;B>=0;B--){const $t=ve+B,Xt=N[$t],ds=N[$t+1],ps=$t+1<ie?ds.el||Dm(ds):q;Kr[B]===0?m(null,Xt,$,ps,X,J,C,w,P):Rt&&(Me<0||B!==fs[Me]?xe(Xt,$,ps,2):Me--)}}},xe=(T,N,$,q,X=null)=>{const{el:J,type:C,transition:w,children:P,shapeFlag:B}=T;if(B&6){xe(T.component.subTree,N,$,q);return}if(B&128){T.suspense.move(N,$,q);return}if(B&64){C.move(T,N,$,re);return}if(C===ke){r(J,N,$);for(let Q=0;Q<P.length;Q++)xe(P[Q],N,$,q);r(T.anchor,N,$);return}if(C===ea){y(T,N,$);return}if(q!==2&&B&1&&w)if(q===0)w.beforeEnter(J),r(J,N,$),Vt(()=>w.enter(J),X);else{const{leave:Q,delayLeave:k,afterLeave:G}=w,ve=()=>{T.ctx.isUnmounted?o(J):r(J,N,$)},ye=()=>{J._isLeaving&&J[Un](!0),Q(J,()=>{ve(),G&&G()})};k?k(J,ve,ye):ye()}else r(J,N,$)},Ee=(T,N,$,q=!1,X=!1)=>{const{type:J,props:C,ref:w,children:P,dynamicChildren:B,shapeFlag:ie,patchFlag:Q,dirs:k,cacheIndex:G,memo:ve}=T;if(Q===-2&&(X=!1),w!=null&&(mr(),Is(w,null,$,T,!0),gr()),G!=null&&(N.renderCache[G]=void 0),ie&256){N.ctx.deactivate(T);return}const ye=ie&1&&k,Me=!Uo(T);let Ge;if(Me&&(Ge=C&&C.onVnodeBeforeUnmount)&&kn(Ge,N,T),ie&6)Le(T.component,$,q);else{if(ie&128){T.suspense.unmount($,q);return}ye&&Yr(T,null,N,"beforeUnmount"),ie&64?T.type.remove(T,N,$,re,q):B&&!B.hasOnce&&(J!==ke||Q>0&&Q&64)?He(B,N,$,!1,!0):(J===ke&&Q&384||!X&&ie&16)&&He(P,N,$),q&&Ne(T)}const Be=ve!=null&&G==null;(Me&&(Ge=C&&C.onVnodeUnmounted)||ye||Be)&&Vt(()=>{Ge&&kn(Ge,N,T),ye&&Yr(T,null,N,"unmounted"),Be&&(T.el=null)},$)},Ne=T=>{const{type:N,el:$,anchor:q,transition:X}=T;if(N===ke){Fe($,q);return}if(N===ea){x(T);return}const J=()=>{o($),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(T.shapeFlag&1&&X&&!X.persisted){const{leave:C,delayLeave:w}=X,P=()=>C($,J);w?w(T.el,J,P):P()}else J()},Fe=(T,N)=>{let $;for(;T!==N;)$=d(T),o(T),T=$;o(N)},Le=(T,N,$)=>{const{bum:q,scope:X,job:J,subTree:C,um:w,m:P,a:B}=T;od(P),od(B),q&&Zi(q),X.stop(),J&&(J.flags|=8,Ee(C,T,N,$)),w&&Vt(w,N),Vt(()=>{T.isUnmounted=!0},N)},He=(T,N,$,q=!1,X=!1,J=0)=>{for(let C=J;C<T.length;C++)Ee(T[C],N,$,q,X)},K=T=>{if(T.shapeFlag&6)return K(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const N=d(T.anchor||T.el),$=N&&N[om];return $?d($):N};let se=!1;const oe=(T,N,$)=>{let q;T==null?N._vnode&&(Ee(N._vnode,null,null,!0),q=N._vnode.component):m(N._vnode||null,T,N,null,null,null,$),N._vnode=T,se||(se=!0,Wf(q),Zh(),se=!1)},re={p:m,um:Ee,m:xe,r:Ne,mt:H,mc:O,pc:j,pbc:V,n:K,o:e};return{render:oe,hydrate:void 0,createApp:ob(oe)}}function Pl({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 qr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function bb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Au(e,t,n=!1){const r=e.children,o=t.children;if(ce(r)&&ce(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=lr(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Au(i,a)),a.type===Eo&&(a.patchFlag===-1&&(a=o[s]=lr(a)),a.el=i.el),a.type===yt&&!a.el&&(a.el=i.el)}}function yb(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Pm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pm(t)}function od(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Dm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Dm(t.subTree):null}const km=e=>e.__isSuspense;function Eb(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):Qh(e)}const ke=Symbol.for("v-fgt"),Eo=Symbol.for("v-txt"),yt=Symbol.for("v-cmt"),ea=Symbol.for("v-stc"),Ds=[];let tn=null;function U(e=!1){Ds.push(tn=e?null:[])}function Cb(){Ds.pop(),tn=Ds[Ds.length-1]||null}let Ys=1;function ma(e,t=!1){Ys+=e,e<0&&tn&&t&&(tn.hasOnce=!0)}function Rm(e){return e.dynamicChildren=Ys>0?tn||Bo:null,Cb(),Ys>0&&tn&&tn.push(e),e}function ae(e,t,n,r,o,s){return Rm(te(e,t,n,r,o,s,!0))}function he(e,t,n,r,o){return Rm(ee(e,t,n,r,o,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function to(e,t){return e.type===t.type&&e.key===t.key}const $m=({key:e})=>e??null,ta=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||nt(e)||be(e)?{i:Ct,r:e,k:t,f:!!n}:e:null);function te(e,t=null,n=null,r=0,o=null,s=e===ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$m(t),ref:t&&ta(t),scopeId:tm,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:Ct};return a?(Tu(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Re(n)?8:16),Ys>0&&!i&&tn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&tn.push(l),l}const ee=Sb;function Sb(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===vm)&&(e=yt),zn(e)){const a=Xn(e,t,!0);return n&&Tu(a,n),Ys>0&&!s&&tn&&(a.shapeFlag&6?tn[tn.indexOf(e)]=a:tn.push(a)),a.patchFlag=-2,a}if(Ib(e)&&(e=e.__vccOpts),t){t=wb(t);let{class:a,style:l}=t;a&&!Re(a)&&(t.class=de(a)),we(l)&&(Ka(l)&&!ce(l)&&(l=mt({},l)),t.style=St(l))}const i=Re(e)?1:km(e)?128:sm(e)?64:we(e)?4:be(e)?2:0;return te(e,t,n,r,o,i,s,!0)}function wb(e){return e?Ka(e)||Om(e)?mt({},e):e:null}function Xn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?Dt(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&$m(c),ref:t&&t.ref?n&&s?ce(s)?s.concat(ta(t)):[s,ta(t)]:ta(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xn(e.ssContent),ssFallback:e.ssFallback&&Xn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&po(u,l.clone(u)),u}function Tt(e=" ",t=0){return ee(Eo,null,e,t)}function Ae(e="",t=!1){return t?(U(),he(yt,null,e)):ee(yt,null,e)}function Wn(e){return e==null||typeof e=="boolean"?ee(yt):ce(e)?ee(ke,null,e.slice()):zn(e)?lr(e):ee(Eo,null,String(e))}function lr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xn(e)}function Tu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Tu(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Om(t)?t._ctx=Ct:o===3&&Ct&&(Ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:Ct},n=32):(t=String(t),r&64?(n=16,t=[Tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dt(...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=de([t.class,r.class]));else if(o==="style")t.style=St([t.style,r.style]);else if(Da(o)){const s=t[o],i=r[o];i&&s!==i&&!(ce(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!ka(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function kn(e,t,n,r=null){In(e,t,7,[n,r])}const Ab=Cm();let Tb=0;function Ob(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Ab,s={uid:Tb++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Oh(!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:Fm(r,o),emitsOptions:Sm(r,o),emit:null,emitted:null,propsDefaults:qe,inheritAttrs:r.inheritAttrs,ctx:qe,data:qe,props:qe,attrs:qe,slots:qe,refs:qe,setupState:qe,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=ib.bind(null,s),e.ce&&e.ce(s),s}let Lt=null;const Ye=()=>Lt||Ct;let ga,Cc;{const e=Ha(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ga=t("__VUE_INSTANCE_SETTERS__",n=>Lt=n),Cc=t("__VUE_SSR_SETTERS__",n=>qs=n)}const gi=e=>{const t=Lt;return ga(e),e.scope.on(),()=>{e.scope.off(),ga(t)}},sd=()=>{Lt&&Lt.scope.off(),ga(null)};function Bm(e){return e.vnode.shapeFlag&4}let qs=!1;function Nb(e,t=!1,n=!1){t&&Cc(t);const{props:r,children:o}=e.vnode,s=Bm(e);db(e,r,s,t),gb(e,o,n||t);const i=s?Fb(e,t):void 0;return t&&Cc(!1),i}function Fb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xx);const{setup:r}=n;if(r){mr();const o=e.setupContext=r.length>1?Hm(e):null,s=gi(e),i=hi(r,e,0,[e.props,o]),a=yh(i);if(gr(),s(),(a||e.sp)&&!Uo(e)&&fm(e),a){if(i.then(sd,sd),t)return i.then(l=>{id(e,l)}).catch(l=>{Ya(l,e,0)});e.asyncDep=i}else id(e,i)}else Vm(e)}function id(e,t,n){be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Yh(t)),Vm(e)}function Vm(e,t,n){const r=e.type;e.render||(e.render=r.render||pt);{const o=gi(e);mr();try{Qx(e)}finally{gr(),o()}}}const Mb={get(e,t){return Mt(e,"get",""),e[t]}};function Hm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mb),slots:e.slots,emit:e.emit,expose:t}}function Za(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yh(Ex(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ps)return Ps[n](e)},has(t,n){return n in t||n in Ps}})):e.proxy}function Lb(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function Ib(e){return be(e)&&"__vccOpts"in e}const L=(e,t)=>Fx(e,t,qs);function jt(e,t,n){try{ma(-1);const r=arguments.length;return r===2?we(t)&&!ce(t)?zn(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&zn(n)&&(n=[n]),ee(e,t,n))}finally{ma(1)}}const Pb="3.5.34",Db=pt;let Sc;const ad=typeof window<"u"&&window.trustedTypes;if(ad)try{Sc=ad.createPolicy("vue",{createHTML:e=>e})}catch{}const Um=Sc?e=>Sc.createHTML(e):e=>e,kb="http://www.w3.org/2000/svg",Rb="http://www.w3.org/1998/Math/MathML",ir=typeof document<"u"?document:null,ld=ir&&ir.createElement("template"),$b={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"?ir.createElementNS(kb,e):t==="mathml"?ir.createElementNS(Rb,e):n?ir.createElement(e,{is:n}):ir.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ir.createTextNode(e),createComment:e=>ir.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ir.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ld.innerHTML=Um(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ld.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tr="transition",vs="animation",zo=Symbol("_vtc"),jm={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wm=mt({},am,jm),Bb=e=>(e.displayName="Transition",e.props=Wm,e),el=Bb((e,{slots:t})=>jt(jx,Gm(e),t)),Jr=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},cd=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function Gm(e){const t={};for(const I in e)I in jm||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Vb(o),m=h&&h[0],v=h&&h[1],{onBeforeEnter:g,onEnter:_,onEnterCancelled:y,onLeave:x,onLeaveCancelled:S,onBeforeAppear:E=g,onAppear:b=_,onAppearCancelled:O=y}=t,F=(I,Y,H,D)=>{I._enterCancelled=D,Fr(I,Y?u:a),Fr(I,Y?c:i),H&&H()},V=(I,Y)=>{I._isLeaving=!1,Fr(I,f),Fr(I,p),Fr(I,d),Y&&Y()},W=I=>(Y,H)=>{const D=I?b:_,M=()=>F(Y,I,H);Jr(D,[Y,M]),ud(()=>{Fr(Y,I?l:s),Vn(Y,I?u:a),cd(D)||fd(Y,r,m,M)})};return mt(t,{onBeforeEnter(I){Jr(g,[I]),Vn(I,s),Vn(I,i)},onBeforeAppear(I){Jr(E,[I]),Vn(I,l),Vn(I,c)},onEnter:W(!1),onAppear:W(!0),onLeave(I,Y){I._isLeaving=!0;const H=()=>V(I,Y);Vn(I,f),I._enterCancelled?(Vn(I,d),wc(I)):(wc(I),Vn(I,d)),ud(()=>{I._isLeaving&&(Fr(I,f),Vn(I,p),cd(x)||fd(I,r,v,H))}),Jr(x,[I,H])},onEnterCancelled(I){F(I,!1,void 0,!0),Jr(y,[I])},onAppearCancelled(I){F(I,!0,void 0,!0),Jr(O,[I])},onLeaveCancelled(I){V(I),Jr(S,[I])}})}function Vb(e){if(e==null)return null;if(we(e))return[Dl(e.enter),Dl(e.leave)];{const t=Dl(e);return[t,t]}}function Dl(e){return z_(e)}function Vn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zo]||(e[zo]=new Set)).add(t)}function Fr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zo];n&&(n.delete(t),n.size||(e[zo]=void 0))}function ud(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hb=0;function fd(e,t,n,r){const o=e._endId=++Hb,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=zm(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function zm(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Tr}Delay`),s=r(`${Tr}Duration`),i=dd(o,s),a=r(`${vs}Delay`),l=r(`${vs}Duration`),c=dd(a,l);let u=null,f=0,d=0;t===Tr?i>0&&(u=Tr,f=i,d=s.length):t===vs?c>0&&(u=vs,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Tr:vs:null,d=u?u===Tr?s.length:l.length:0);const p=u===Tr&&/\b(?:transform|all)(?:,|$)/.test(r(`${Tr}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function dd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>pd(n)+pd(e[r])))}function pd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wc(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ub(e,t,n){const r=e[zo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const va=Symbol("_vod"),Km=Symbol("_vsh"),os={name:"show",beforeMount(e,{value:t},{transition:n}){e[va]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):_s(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),_s(e,!0),r.enter(e)):r.leave(e,()=>{_s(e,!1)}):_s(e,t))},beforeUnmount(e,{value:t}){_s(e,t)}};function _s(e,t){e.style.display=t?e[va]:"none",e[Km]=!t}const Ym=Symbol("");function jb(e){const t=Ye();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>_a(s,o))},r=()=>{const o=e(t.proxy);t.ce?_a(t.ce,o):Ac(t.subTree,o),n(o)};gm(()=>{Qh(r)}),gt(()=>{_e(r,pt,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>o.disconnect())})}function Ac(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ac(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)_a(e.el,t);else if(e.type===ke)e.children.forEach(n=>Ac(n,t));else if(e.type===ea){let{el:n,anchor:r}=e;for(;n&&(_a(n,t),n!==r);)n=n.nextSibling}}function _a(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const s=ex(t[o]);n.setProperty(`--${o}`,s),r+=`--${o}: ${s};`}n[Ym]=r}}const Wb=/(?:^|;)\s*display\s*:/;function Gb(e,t,n){const r=e.style,o=Re(n);let s=!1;if(n&&!o){if(t)if(Re(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Os(r,a,"")}else for(const i in t)n[i]==null&&Os(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?Kb(e,i,!Re(t)&&t?t[i]:void 0,a)||Os(r,i,a):Os(r,i,"")}}else if(o){if(t!==n){const i=r[Ym];i&&(n+=";"+i),r.cssText=n,s=Wb.test(n)}}else t&&e.removeAttribute("style");va in e&&(e[va]=s?r.display:"",e[Km]&&(r.display="none"))}const hd=/\s*!important$/;function Os(e,t,n){if(ce(n))n.forEach(r=>Os(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=zb(e,t);hd.test(n)?e.setProperty(Vr(r),n.replace(hd,""),"important"):e[r]=n}}const md=["Webkit","Moz","ms"],kl={};function zb(e,t){const n=kl[t];if(n)return n;let r=Pt(t);if(r!=="filter"&&r in e)return kl[t]=r;r=Va(r);for(let o=0;o<md.length;o++){const s=md[o]+r;if(s in e)return kl[t]=s}return t}function Kb(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Re(r)&&n===r}const gd="http://www.w3.org/1999/xlink";function vd(e,t,n,r,o,s=Q_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(gd,t.slice(6,t.length)):e.setAttributeNS(gd,t,n):n==null||s&&!Sh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":sn(n)?String(n):n)}function _d(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Um(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Sh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function qm(e,t,n,r){e.addEventListener(t,n,r)}function Yb(e,t,n,r){e.removeEventListener(t,n,r)}const xd=Symbol("_vei");function qb(e,t,n,r,o=null){const s=e[xd]||(e[xd]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=Jb(t);if(r){const c=s[t]=Zb(r,o);qm(e,a,c,l)}else i&&(Yb(e,a,i,l),s[t]=void 0)}}const bd=/(?:Once|Passive|Capture)$/;function Jb(e){let t;if(bd.test(e)){t={};let r;for(;r=e.match(bd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vr(e.slice(2)),t]}let Rl=0;const Xb=Promise.resolve(),Qb=()=>Rl||(Xb.then(()=>Rl=0),Rl=Date.now());function Zb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;In(ey(r,n.value),t,5,[r])};return n.value=e,n.attached=Qb(),n}function ey(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const yd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ty=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Ub(e,r,i):t==="style"?Gb(e,n,r):Da(t)?ka(t)||qb(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ny(e,t,r,i))?(_d(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vd(e,t,r,i,s,t!=="value")):e._isVueCE&&(ry(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Re(r)))?_d(e,Pt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),vd(e,t,r,i))};function ny(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&yd(t)&&be(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 yd(t)&&Re(n)?!1:t in e}function ry(e,t){const n=e._def.props;if(!n)return!1;const r=Pt(t);return Array.isArray(n)?n.some(o=>Pt(o)===r):Object.keys(n).some(o=>Pt(o)===r)}const Jm=new WeakMap,Xm=new WeakMap,xa=Symbol("_moveCb"),Ed=Symbol("_enterCb"),oy=e=>(delete e.props.mode,e),sy=oy({name:"TransitionGroup",props:mt({},Wm,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ye(),r=im();let o,s;return yu(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!uy(o[0].el,n.vnode.el,i)){o=[];return}o.forEach(ay),o.forEach(ly);const a=o.filter(cy);wc(n.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Vn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[xa]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[xa]=null,Fr(c,i))};c.addEventListener("transitionend",f)}),o=[]}),()=>{const i=Pe(e),a=Gm(i);let l=i.tag||ke;if(o=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&(o.push(u),po(u,Ks(u,a,r,n)),Jm.set(u,Qm(u.el)))}s=t.default?bu(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&po(u,Ks(u,a,r,n))}return ee(l,null,s)}}}),iy=sy;function ay(e){const t=e.el;t[xa]&&t[xa](),t[Ed]&&t[Ed]()}function ly(e){Xm.set(e,Qm(e.el))}function cy(e){const t=Jm.get(e),n=Xm.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el,i=s.style,a=s.getBoundingClientRect();let l=1,c=1;return s.offsetWidth&&(l=a.width/s.offsetWidth),s.offsetHeight&&(c=a.height/s.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(l-1)<.01&&(l=1),Math.abs(c-1)<.01&&(c=1),i.transform=i.webkitTransform=`translate(${r/l}px,${o/c}px)`,i.transitionDuration="0s",e}}function Qm(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function uy(e,t,n){const r=e.cloneNode(),o=e[zo];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=zm(r);return s.removeChild(r),i}const Cd=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ce(t)?n=>Zi(t,n):t},$l=Symbol("_assign"),Zm={deep:!0,created(e,t,n){e[$l]=Cd(n),qm(e,"change",()=>{const r=e._modelValue,o=fy(e),s=e.checked,i=e[$l];if(ce(r)){const a=wh(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Ra(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(eg(e,s))})},mounted:Sd,beforeUpdate(e,t,n){e[$l]=Cd(n),Sd(e,t,n)}};function Sd(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(ce(t))o=wh(t,r.props.value)>-1;else if(Ra(t))o=t.has(r.props.value);else{if(t===n)return;o=pi(t,eg(e,!0))}e.checked!==o&&(e.checked=o)}function fy(e){return"_value"in e?e._value:e.value}function eg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const dy=["ctrl","shift","alt","meta"],py={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)=>dy.some(n=>e[`${n}Key`]&&!t.includes(n))},Tn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=py[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},hy=mt({patchProp:ty},$b);let wd;function my(){return wd||(wd=_b(hy))}const tg=((...e)=>{const t=my().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=vy(r);if(!o)return;const s=t._component;!be(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,gy(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function gy(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vy(e){return Re(e)?document.querySelector(e):e}function ng(e,t){var n;const r=wt();return mi(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),Wo(r)}function Ou(e,t){return Ua()?(Nh(e,t),!0):!1}const Bl=new WeakMap,_y=(...e)=>{var t;const n=e[0],r=(t=Ye())===null||t===void 0?void 0:t.proxy,o=r??Ua();if(o==null&&!nm())throw new Error("injectLocal must be called in setup");return o&&Bl.has(o)&&n in Bl.get(o)?Bl.get(o)[n]:Te(...e)},xt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const xy=e=>e!=null,by=Object.prototype.toString,yy=e=>by.call(e)==="[object Object]",cr=()=>{},Tc=Ey();function Ey(){var e,t,n;return xt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function rg(...e){if(e.length!==1)return en(...e);const t=e[0];return typeof t=="function"?Wo(Ax(()=>({get:t,set:cr}))):Z(t)}function og(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 sg=e=>e();function Cy(e,t={}){let n,r,o=cr;const s=l=>{clearTimeout(l),o(),o=cr};let i;return l=>{const c=_t(e),u=_t(t.maxWait);return n&&s(n),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,i=l,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,f(i())},u)),n=setTimeout(()=>{r&&s(r),r=void 0,f(l())},c)})}}function Sy(e=sg,t={}){const{initialState:n="active"}=t,r=rg(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:yx(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function Ad(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ks(e){return Array.isArray(e)?e:[e]}function wy(e){return Ye()}function Ay(e,t=200,n={}){return og(Cy(t,n),e)}function Ty(e,t,n={}){const{eventFilter:r=sg,...o}=n;return _e(e,og(r,t),o)}function Oy(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=Sy(r,{initialState:o});return{stop:Ty(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Nu(e,t=!0,n){wy()?gt(e,n):t?e():rt(e)}function Ny(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=nt(e),s=wt(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=_t(n);return s.value=s.value===l?_t(r):l,s.value}}return o?i:[s,i]}function Fy(e,t,n){return _e(e,t,{...n,immediate:!0})}const Fn=xt?window:void 0,kR=xt?window.document:void 0;function Wt(e){var t;const n=_t(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function _n(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=L(()=>{const r=ks(_t(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return Fy(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Wt(s)))!==null&&r!==void 0?r:[Fn].filter(s=>s!=null),ks(_t(n.value?e[1]:e[0])),ks(A(n.value?e[2]:e[1])),_t(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=yy(i)?{...i}:i,u=r.flatMap(f=>o.flatMap(d=>s.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}let Td=!1;function My(e,t,n={}){const{window:r=Fn,ignore:o=[],capture:s=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:cr,cancel:cr,trigger:cr}:cr;if(Tc&&!Td){Td=!0;const v={passive:!0};Array.from(r.document.body.children).forEach(g=>g.addEventListener("click",cr,v)),r.document.documentElement.addEventListener("click",cr,v)}let l=!0;const c=v=>_t(o).some(g=>{if(typeof g=="string")return Array.from(r.document.querySelectorAll(g)).some(_=>_===v.target||v.composedPath().includes(_));{const _=Wt(g);return _&&(v.target===_||v.composedPath().includes(_))}});function u(v){const g=_t(v);return g&&g.$.subTree.shapeFlag===16}function f(v,g){const _=_t(v),y=_.$.subTree&&_.$.subTree.children;return y==null||!Array.isArray(y)?!1:y.some(x=>x.el===g.target||g.composedPath().includes(x.el))}const d=v=>{const g=Wt(e);if(v.target!=null&&!(!(g instanceof Element)&&u(e)&&f(e,v))&&!(!g||g===v.target||v.composedPath().includes(g))){if("detail"in v&&v.detail===0&&(l=!c(v)),!l){l=!0;return}t(v)}};let p=!1;const h=[_n(r,"click",v=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(v))},{passive:!0,capture:s}),_n(r,"pointerdown",v=>{const g=Wt(e);l=!c(v)&&!!(g&&!v.composedPath().includes(g))},{passive:!0}),i&&_n(r,"blur",v=>{setTimeout(()=>{const g=Wt(e);let _=r.document.activeElement;for(;_?.shadowRoot;)_=_.shadowRoot.activeElement;_?.tagName==="IFRAME"&&!g?.contains(r.document.activeElement)&&t(v)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(v=>v());return a?{stop:m,cancel:()=>{l=!1},trigger:v=>{l=!0,d(v),l=!1}}:m}function Ly(){const e=wt(!1),t=Ye();return t&&gt(()=>{e.value=!0},t),e}function Fu(e){const t=Ly();return L(()=>(t.value,!!e()))}function Iy(e,t,n={}){const{window:r=Fn,...o}=n;let s;const i=Fu(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=_e(L(()=>{const f=ks(_t(e)).map(Wt).filter(xy);return new Set(f)}),f=>{a(),i.value&&f.size&&(s=new MutationObserver(t),f.forEach(d=>s.observe(d,o)))},{immediate:!0,flush:"post"}),c=()=>s?.takeRecords(),u=()=>{l(),a()};return Ou(u),{isSupported:i,stop:u,takeRecords:c}}const Py=Symbol("vueuse-ssr-width");function Dy(){const e=nm()?_y(Py,null):null;return typeof e=="number"?e:void 0}function ky(e,t={}){const{window:n=Fn,ssrWidth:r=Dy()}=t,o=Fu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=wt(typeof r=="number"),i=wt(),a=wt(!1),l=c=>{a.value=c.matches};return mi(()=>{if(s.value){s.value=!o.value,a.value=_t(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=Ad(f[1])),d&&p&&(p=r<=Ad(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(_t(e)),a.value=i.value.matches)}),_n(i,"change",l,{passive:!0}),L(()=>a.value)}const $i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bi="__vueuse_ssr_handlers__",Ry=$y();function $y(){return Bi in $i||($i[Bi]=$i[Bi]||{}),$i[Bi]}function ig(e,t){return Ry[e]||t}function By(e){return ky("(prefers-color-scheme: dark)",e)}function Vy(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 Hy={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()}},Od="vueuse-storage";function Uy(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Fn,eventFilter:d,onError:p=H=>{console.error(H)},initOnMounted:h}=r,m=(u?wt:Z)(typeof t=="function"?t():t),v=L(()=>_t(e));if(!n)try{n=ig("getDefaultStorage",()=>Fn?.localStorage)()}catch(H){p(H)}if(!n)return m;const g=_t(t),_=Vy(g),y=(o=r.serializer)!==null&&o!==void 0?o:Hy[_],{pause:x,resume:S}=Oy(m,H=>V(H),{flush:s,deep:i,eventFilter:d});_e(v,()=>I(),{flush:s});let E=!1;const b=H=>{h&&!E||I(H)},O=H=>{h&&!E||Y(H)};f&&a&&(n instanceof Storage?_n(f,"storage",b,{passive:!0}):_n(f,Od,O)),h?Nu(()=>{E=!0,I()}):I();function F(H,D){if(f){const M={key:v.value,oldValue:H,newValue:D,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",M):new CustomEvent(Od,{detail:M}))}}function V(H){try{const D=n.getItem(v.value);if(H==null)F(D,null),n.removeItem(v.value);else{const M=y.write(H);D!==M&&(n.setItem(v.value,M),F(D,M))}}catch(D){p(D)}}function W(H){const D=H?H.newValue:n.getItem(v.value);if(D==null)return l&&g!=null&&n.setItem(v.value,y.write(g)),g;if(!H&&c){const M=y.read(D);return typeof c=="function"?c(M,g):_==="object"&&!Array.isArray(M)?{...g,...M}:M}else return typeof D!="string"?D:y.read(D)}function I(H){if(!(H&&H.storageArea!==n)){if(H&&H.key==null){m.value=g;return}if(!(H&&H.key!==v.value)){x();try{const D=y.write(m.value);(H===void 0||H?.newValue!==D)&&(m.value=W(H))}catch(D){p(D)}finally{H?rt(S):S()}}}}function Y(H){I(H.detail)}return m}const jy="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Wy(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Fn,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=By({window:o}),p=L(()=>d.value?"dark":"light"),h=l||(i==null?rg(r):Uy(i,r,s,{window:o,listenToStorageChanges:a})),m=L(()=>h.value==="auto"?p.value:h.value),v=ig("updateHTMLAttrs",(x,S,E)=>{const b=typeof x=="string"?o?.document.querySelector(x):Wt(x);if(!b)return;const O=new Set,F=new Set;let V=null;if(S==="class"){const I=E.split(/\s/g);Object.values(f).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{I.includes(Y)?O.add(Y):F.add(Y)})}else V={key:S,value:E};if(O.size===0&&F.size===0&&V===null)return;let W;u&&(W=o.document.createElement("style"),W.appendChild(document.createTextNode(jy)),o.document.head.appendChild(W));for(const I of O)b.classList.add(I);for(const I of F)b.classList.remove(I);V&&b.setAttribute(V.key,V.value),u&&(o.getComputedStyle(W).opacity,document.head.removeChild(W))});function g(x){var S;v(t,n,(S=f[x])!==null&&S!==void 0?S:x)}function _(x){e.onChanged?e.onChanged(x,g):g(x)}_e(m,_,{flush:"post",immediate:!0}),Nu(()=>_(m.value));const y=L({get(){return c?h.value:m.value},set(x){h.value=x}});return Object.assign(y,{store:h,system:p,state:m})}function Gy(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Wy({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=L(()=>r.system.value);return L({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}function On(e,t,n={}){const{window:r=Fn,...o}=n;let s;const i=Fu(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=_e(L(()=>{const u=_t(e);return Array.isArray(u)?u.map(f=>Wt(f)):[Wt(u)]}),u=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const f of u)f&&s.observe(f,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Ou(c),{isSupported:i,stop:c}}function tl(e,t={width:0,height:0},n={}){const{window:r=Fn,box:o="content-box"}=n,s=L(()=>{var f;return(f=Wt(e))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),i=wt(t.width),a=wt(t.height),{stop:l}=On(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const p=Wt(e);if(p){const h=p.getBoundingClientRect();i.value=h.width,a.value=h.height}}else if(d){const p=ks(d);i.value=p.reduce((h,{inlineSize:m})=>h+m,0),a.value=p.reduce((h,{blockSize:m})=>h+m,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);Nu(()=>{const f=Wt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=_e(()=>Wt(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){l(),c()}return{width:i,height:a,stop:u}}const it={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},dr="update:modelValue",Js="change",nl=["","default","small","large"];var ag=typeof global=="object"&&global&&global.Object===Object&&global,zy=typeof self=="object"&&self&&self.Object===Object&&self,Dn=ag||zy||Function("return this")(),yn=Dn.Symbol,lg=Object.prototype,Ky=lg.hasOwnProperty,Yy=lg.toString,xs=yn?yn.toStringTag:void 0;function qy(e){var t=Ky.call(e,xs),n=e[xs];try{e[xs]=void 0;var r=!0}catch{}var o=Yy.call(e);return r&&(t?e[xs]=n:delete e[xs]),o}var Jy=Object.prototype,Xy=Jy.toString;function Qy(e){return Xy.call(e)}var Zy="[object Null]",eE="[object Undefined]",Nd=yn?yn.toStringTag:void 0;function Co(e){return e==null?e===void 0?eE:Zy:Nd&&Nd in Object(e)?qy(e):Qy(e)}function _r(e){return e!=null&&typeof e=="object"}var tE="[object Symbol]";function rl(e){return typeof e=="symbol"||_r(e)&&Co(e)==tE}function cg(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var En=Array.isArray,Fd=yn?yn.prototype:void 0,Md=Fd?Fd.toString:void 0;function ug(e){if(typeof e=="string")return e;if(En(e))return cg(e,ug)+"";if(rl(e))return Md?Md.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var nE=/\s/;function rE(e){for(var t=e.length;t--&&nE.test(e.charAt(t)););return t}var oE=/^\s+/;function sE(e){return e&&e.slice(0,rE(e)+1).replace(oE,"")}function Cn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ld=NaN,iE=/^[-+]0x[0-9a-f]+$/i,aE=/^0b[01]+$/i,lE=/^0o[0-7]+$/i,cE=parseInt;function jo(e){if(typeof e=="number")return e;if(rl(e))return Ld;if(Cn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=sE(e);var n=aE.test(e);return n||lE.test(e)?cE(e.slice(2),n?2:8):iE.test(e)?Ld:+e}var Id=1/0,uE=17976931348623157e292;function Pd(e){if(!e)return e===0?e:0;if(e=jo(e),e===Id||e===-Id){var t=e<0?-1:1;return t*uE}return e===e?e:0}function fg(e){return e}var fE="[object AsyncFunction]",dE="[object Function]",pE="[object GeneratorFunction]",hE="[object Proxy]";function dg(e){if(!Cn(e))return!1;var t=Co(e);return t==dE||t==pE||t==fE||t==hE}var Vl=Dn["__core-js_shared__"],Dd=(function(){var e=/[^.]+$/.exec(Vl&&Vl.keys&&Vl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function mE(e){return!!Dd&&Dd in e}var gE=Function.prototype,vE=gE.toString;function So(e){if(e!=null){try{return vE.call(e)}catch{}try{return e+""}catch{}}return""}var _E=/[\\^$.*+?()[\]{}|]/g,xE=/^\[object .+?Constructor\]$/,bE=Function.prototype,yE=Object.prototype,EE=bE.toString,CE=yE.hasOwnProperty,SE=RegExp("^"+EE.call(CE).replace(_E,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wE(e){if(!Cn(e)||mE(e))return!1;var t=dg(e)?SE:xE;return t.test(So(e))}function AE(e,t){return e?.[t]}function wo(e,t){var n=AE(e,t);return wE(n)?n:void 0}var Oc=wo(Dn,"WeakMap"),kd=Object.create,TE=(function(){function e(){}return function(t){if(!Cn(t))return{};if(kd)return kd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function OE(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function NE(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var FE=800,ME=16,LE=Date.now;function IE(e){var t=0,n=0;return function(){var r=LE(),o=ME-(r-n);if(n=r,o>0){if(++t>=FE)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function PE(e){return function(){return e}}var ba=(function(){try{var e=wo(Object,"defineProperty");return e({},"",{}),e}catch{}})(),DE=ba?function(e,t){return ba(e,"toString",{configurable:!0,enumerable:!1,value:PE(t),writable:!0})}:fg,kE=IE(DE);function RE(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function $E(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}var BE=9007199254740991,VE=/^(?:0|[1-9]\d*)$/;function ol(e,t){var n=typeof e;return t=t??BE,!!t&&(n=="number"||n!="symbol"&&VE.test(e))&&e>-1&&e%1==0&&e<t}function Mu(e,t,n){t=="__proto__"&&ba?ba(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sl(e,t){return e===t||e!==e&&t!==t}var HE=Object.prototype,UE=HE.hasOwnProperty;function Lu(e,t,n){var r=e[t];(!(UE.call(e,t)&&sl(r,n))||n===void 0&&!(t in e))&&Mu(e,t,n)}function vi(e,t,n,r){var o=!n;n||(n={});for(var s=-1,i=t.length;++s<i;){var a=t[s],l=void 0;l===void 0&&(l=e[a]),o?Mu(n,a,l):Lu(n,a,l)}return n}var Rd=Math.max;function jE(e,t,n){return t=Rd(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=Rd(r.length-t,0),i=Array(s);++o<s;)i[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(i),OE(e,this,a)}}var WE=9007199254740991;function Iu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=WE}function Pu(e){return e!=null&&Iu(e.length)&&!dg(e)}function GE(e,t,n){if(!Cn(n))return!1;var r=typeof t;return(r=="number"?Pu(n)&&ol(t,n.length):r=="string"&&t in n)?sl(n[t],e):!1}var zE=Object.prototype;function Du(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||zE;return e===n}function KE(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var YE="[object Arguments]";function $d(e){return _r(e)&&Co(e)==YE}var pg=Object.prototype,qE=pg.hasOwnProperty,JE=pg.propertyIsEnumerable,ku=$d((function(){return arguments})())?$d:function(e){return _r(e)&&qE.call(e,"callee")&&!JE.call(e,"callee")};function XE(){return!1}var hg=typeof nn=="object"&&nn&&!nn.nodeType&&nn,Bd=hg&&typeof rn=="object"&&rn&&!rn.nodeType&&rn,QE=Bd&&Bd.exports===hg,Vd=QE?Dn.Buffer:void 0,ZE=Vd?Vd.isBuffer:void 0,ya=ZE||XE,eC="[object Arguments]",tC="[object Array]",nC="[object Boolean]",rC="[object Date]",oC="[object Error]",sC="[object Function]",iC="[object Map]",aC="[object Number]",lC="[object Object]",cC="[object RegExp]",uC="[object Set]",fC="[object String]",dC="[object WeakMap]",pC="[object ArrayBuffer]",hC="[object DataView]",mC="[object Float32Array]",gC="[object Float64Array]",vC="[object Int8Array]",_C="[object Int16Array]",xC="[object Int32Array]",bC="[object Uint8Array]",yC="[object Uint8ClampedArray]",EC="[object Uint16Array]",CC="[object Uint32Array]",tt={};tt[mC]=tt[gC]=tt[vC]=tt[_C]=tt[xC]=tt[bC]=tt[yC]=tt[EC]=tt[CC]=!0;tt[eC]=tt[tC]=tt[pC]=tt[nC]=tt[hC]=tt[rC]=tt[oC]=tt[sC]=tt[iC]=tt[aC]=tt[lC]=tt[cC]=tt[uC]=tt[fC]=tt[dC]=!1;function SC(e){return _r(e)&&Iu(e.length)&&!!tt[Co(e)]}function Ru(e){return function(t){return e(t)}}var mg=typeof nn=="object"&&nn&&!nn.nodeType&&nn,Rs=mg&&typeof rn=="object"&&rn&&!rn.nodeType&&rn,wC=Rs&&Rs.exports===mg,Hl=wC&&ag.process,Ko=(function(){try{var e=Rs&&Rs.require&&Rs.require("util").types;return e||Hl&&Hl.binding&&Hl.binding("util")}catch{}})(),Hd=Ko&&Ko.isTypedArray,gg=Hd?Ru(Hd):SC,AC=Object.prototype,TC=AC.hasOwnProperty;function vg(e,t){var n=En(e),r=!n&&ku(e),o=!n&&!r&&ya(e),s=!n&&!r&&!o&&gg(e),i=n||r||o||s,a=i?KE(e.length,String):[],l=a.length;for(var c in e)(t||TC.call(e,c))&&!(i&&(c=="length"||o&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ol(c,l)))&&a.push(c);return a}function _g(e,t){return function(n){return e(t(n))}}var OC=_g(Object.keys,Object),NC=Object.prototype,FC=NC.hasOwnProperty;function MC(e){if(!Du(e))return OC(e);var t=[];for(var n in Object(e))FC.call(e,n)&&n!="constructor"&&t.push(n);return t}function il(e){return Pu(e)?vg(e):MC(e)}function LC(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var IC=Object.prototype,PC=IC.hasOwnProperty;function DC(e){if(!Cn(e))return LC(e);var t=Du(e),n=[];for(var r in e)r=="constructor"&&(t||!PC.call(e,r))||n.push(r);return n}function $u(e){return Pu(e)?vg(e,!0):DC(e)}var kC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,RC=/^\w*$/;function Bu(e,t){if(En(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||rl(e)?!0:RC.test(e)||!kC.test(e)||t!=null&&e in Object(t)}var Xs=wo(Object,"create");function $C(){this.__data__=Xs?Xs(null):{},this.size=0}function BC(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var VC="__lodash_hash_undefined__",HC=Object.prototype,UC=HC.hasOwnProperty;function jC(e){var t=this.__data__;if(Xs){var n=t[e];return n===VC?void 0:n}return UC.call(t,e)?t[e]:void 0}var WC=Object.prototype,GC=WC.hasOwnProperty;function zC(e){var t=this.__data__;return Xs?t[e]!==void 0:GC.call(t,e)}var KC="__lodash_hash_undefined__";function YC(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Xs&&t===void 0?KC:t,this}function ho(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ho.prototype.clear=$C;ho.prototype.delete=BC;ho.prototype.get=jC;ho.prototype.has=zC;ho.prototype.set=YC;function qC(){this.__data__=[],this.size=0}function al(e,t){for(var n=e.length;n--;)if(sl(e[n][0],t))return n;return-1}var JC=Array.prototype,XC=JC.splice;function QC(e){var t=this.__data__,n=al(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():XC.call(t,n,1),--this.size,!0}function ZC(e){var t=this.__data__,n=al(t,e);return n<0?void 0:t[n][1]}function eS(e){return al(this.__data__,e)>-1}function tS(e,t){var n=this.__data__,r=al(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Er(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Er.prototype.clear=qC;Er.prototype.delete=QC;Er.prototype.get=ZC;Er.prototype.has=eS;Er.prototype.set=tS;var Qs=wo(Dn,"Map");function nS(){this.size=0,this.__data__={hash:new ho,map:new(Qs||Er),string:new ho}}function rS(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ll(e,t){var n=e.__data__;return rS(t)?n[typeof t=="string"?"string":"hash"]:n.map}function oS(e){var t=ll(this,e).delete(e);return this.size-=t?1:0,t}function sS(e){return ll(this,e).get(e)}function iS(e){return ll(this,e).has(e)}function aS(e,t){var n=ll(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Cr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Cr.prototype.clear=nS;Cr.prototype.delete=oS;Cr.prototype.get=sS;Cr.prototype.has=iS;Cr.prototype.set=aS;var lS="Expected a function";function Vu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(lS);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var i=e.apply(this,r);return n.cache=s.set(o,i)||s,i};return n.cache=new(Vu.Cache||Cr),n}Vu.Cache=Cr;var cS=500;function uS(e){var t=Vu(e,function(r){return n.size===cS&&n.clear(),r}),n=t.cache;return t}var fS=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dS=/\\(\\)?/g,pS=uS(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(fS,function(n,r,o,s){t.push(o?s.replace(dS,"$1"):r||n)}),t});function hS(e){return e==null?"":ug(e)}function ss(e,t){return En(e)?e:Bu(e,t)?[e]:pS(hS(e))}function mo(e){if(typeof e=="string"||rl(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function cl(e,t){t=ss(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[mo(t[n++])];return n&&n==r?e:void 0}function zt(e,t,n){var r=e==null?void 0:cl(e,t);return r===void 0?n:r}function Hu(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Ud=yn?yn.isConcatSpreadable:void 0;function mS(e){return En(e)||ku(e)||!!(Ud&&e&&e[Ud])}function xg(e,t,n,r,o){var s=-1,i=e.length;for(n||(n=mS),o||(o=[]);++s<i;){var a=e[s];t>0&&n(a)?t>1?xg(a,t-1,n,r,o):Hu(o,a):r||(o[o.length]=a)}return o}function gS(e){var t=e==null?0:e.length;return t?xg(e,1):[]}function bg(e){return kE(jE(e,void 0,gS),e+"")}var Uu=_g(Object.getPrototypeOf,Object),vS="[object Object]",_S=Function.prototype,xS=Object.prototype,yg=_S.toString,bS=xS.hasOwnProperty,yS=yg.call(Object);function Eg(e){if(!_r(e)||Co(e)!=vS)return!1;var t=Uu(e);if(t===null)return!0;var n=bS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&yg.call(n)==yS}function ES(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(o);++r<o;)s[r]=e[r+t];return s}function Dr(){if(!arguments.length)return[];var e=arguments[0];return En(e)?e:[e]}function CS(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function SS(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=jo(n),n=n===n?n:0),t!==void 0&&(t=jo(t),t=t===t?t:0),CS(jo(e),t,n)}function wS(){this.__data__=new Er,this.size=0}function AS(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function TS(e){return this.__data__.get(e)}function OS(e){return this.__data__.has(e)}var NS=200;function FS(e,t){var n=this.__data__;if(n instanceof Er){var r=n.__data__;if(!Qs||r.length<NS-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Cr(r)}return n.set(e,t),this.size=n.size,this}function Kn(e){var t=this.__data__=new Er(e);this.size=t.size}Kn.prototype.clear=wS;Kn.prototype.delete=AS;Kn.prototype.get=TS;Kn.prototype.has=OS;Kn.prototype.set=FS;function MS(e,t){return e&&vi(t,il(t),e)}function LS(e,t){return e&&vi(t,$u(t),e)}var Cg=typeof nn=="object"&&nn&&!nn.nodeType&&nn,jd=Cg&&typeof rn=="object"&&rn&&!rn.nodeType&&rn,IS=jd&&jd.exports===Cg,Wd=IS?Dn.Buffer:void 0,Gd=Wd?Wd.allocUnsafe:void 0;function PS(e,t){if(t)return e.slice();var n=e.length,r=Gd?Gd(n):new e.constructor(n);return e.copy(r),r}function DS(e,t){for(var n=-1,r=e==null?0:e.length,o=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[o++]=i)}return s}function Sg(){return[]}var kS=Object.prototype,RS=kS.propertyIsEnumerable,zd=Object.getOwnPropertySymbols,ju=zd?function(e){return e==null?[]:(e=Object(e),DS(zd(e),function(t){return RS.call(e,t)}))}:Sg;function $S(e,t){return vi(e,ju(e),t)}var BS=Object.getOwnPropertySymbols,wg=BS?function(e){for(var t=[];e;)Hu(t,ju(e)),e=Uu(e);return t}:Sg;function VS(e,t){return vi(e,wg(e),t)}function Ag(e,t,n){var r=t(e);return En(e)?r:Hu(r,n(e))}function Nc(e){return Ag(e,il,ju)}function Tg(e){return Ag(e,$u,wg)}var Fc=wo(Dn,"DataView"),Mc=wo(Dn,"Promise"),Lc=wo(Dn,"Set"),Kd="[object Map]",HS="[object Object]",Yd="[object Promise]",qd="[object Set]",Jd="[object WeakMap]",Xd="[object DataView]",US=So(Fc),jS=So(Qs),WS=So(Mc),GS=So(Lc),zS=So(Oc),An=Co;(Fc&&An(new Fc(new ArrayBuffer(1)))!=Xd||Qs&&An(new Qs)!=Kd||Mc&&An(Mc.resolve())!=Yd||Lc&&An(new Lc)!=qd||Oc&&An(new Oc)!=Jd)&&(An=function(e){var t=Co(e),n=t==HS?e.constructor:void 0,r=n?So(n):"";if(r)switch(r){case US:return Xd;case jS:return Kd;case WS:return Yd;case GS:return qd;case zS:return Jd}return t});var KS=Object.prototype,YS=KS.hasOwnProperty;function qS(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&YS.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Ea=Dn.Uint8Array;function Wu(e){var t=new e.constructor(e.byteLength);return new Ea(t).set(new Ea(e)),t}function JS(e,t){var n=t?Wu(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var XS=/\w*$/;function QS(e){var t=new e.constructor(e.source,XS.exec(e));return t.lastIndex=e.lastIndex,t}var Qd=yn?yn.prototype:void 0,Zd=Qd?Qd.valueOf:void 0;function ZS(e){return Zd?Object(Zd.call(e)):{}}function e2(e,t){var n=t?Wu(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var t2="[object Boolean]",n2="[object Date]",r2="[object Map]",o2="[object Number]",s2="[object RegExp]",i2="[object Set]",a2="[object String]",l2="[object Symbol]",c2="[object ArrayBuffer]",u2="[object DataView]",f2="[object Float32Array]",d2="[object Float64Array]",p2="[object Int8Array]",h2="[object Int16Array]",m2="[object Int32Array]",g2="[object Uint8Array]",v2="[object Uint8ClampedArray]",_2="[object Uint16Array]",x2="[object Uint32Array]";function b2(e,t,n){var r=e.constructor;switch(t){case c2:return Wu(e);case t2:case n2:return new r(+e);case u2:return JS(e,n);case f2:case d2:case p2:case h2:case m2:case g2:case v2:case _2:case x2:return e2(e,n);case r2:return new r;case o2:case a2:return new r(e);case s2:return QS(e);case i2:return new r;case l2:return ZS(e)}}function y2(e){return typeof e.constructor=="function"&&!Du(e)?TE(Uu(e)):{}}var E2="[object Map]";function C2(e){return _r(e)&&An(e)==E2}var ep=Ko&&Ko.isMap,S2=ep?Ru(ep):C2,w2="[object Set]";function A2(e){return _r(e)&&An(e)==w2}var tp=Ko&&Ko.isSet,T2=tp?Ru(tp):A2,O2=1,N2=2,F2=4,Og="[object Arguments]",M2="[object Array]",L2="[object Boolean]",I2="[object Date]",P2="[object Error]",Ng="[object Function]",D2="[object GeneratorFunction]",k2="[object Map]",R2="[object Number]",Fg="[object Object]",$2="[object RegExp]",B2="[object Set]",V2="[object String]",H2="[object Symbol]",U2="[object WeakMap]",j2="[object ArrayBuffer]",W2="[object DataView]",G2="[object Float32Array]",z2="[object Float64Array]",K2="[object Int8Array]",Y2="[object Int16Array]",q2="[object Int32Array]",J2="[object Uint8Array]",X2="[object Uint8ClampedArray]",Q2="[object Uint16Array]",Z2="[object Uint32Array]",Ze={};Ze[Og]=Ze[M2]=Ze[j2]=Ze[W2]=Ze[L2]=Ze[I2]=Ze[G2]=Ze[z2]=Ze[K2]=Ze[Y2]=Ze[q2]=Ze[k2]=Ze[R2]=Ze[Fg]=Ze[$2]=Ze[B2]=Ze[V2]=Ze[H2]=Ze[J2]=Ze[X2]=Ze[Q2]=Ze[Z2]=!0;Ze[P2]=Ze[Ng]=Ze[U2]=!1;function $s(e,t,n,r,o,s){var i,a=t&O2,l=t&N2,c=t&F2;if(n&&(i=o?n(e,r,o,s):n(e)),i!==void 0)return i;if(!Cn(e))return e;var u=En(e);if(u){if(i=qS(e),!a)return NE(e,i)}else{var f=An(e),d=f==Ng||f==D2;if(ya(e))return PS(e,a);if(f==Fg||f==Og||d&&!o){if(i=l||d?{}:y2(e),!a)return l?VS(e,LS(i,e)):$S(e,MS(i,e))}else{if(!Ze[f])return o?e:{};i=b2(e,f,a)}}s||(s=new Kn);var p=s.get(e);if(p)return p;s.set(e,i),T2(e)?e.forEach(function(v){i.add($s(v,t,n,v,e,s))}):S2(e)&&e.forEach(function(v,g){i.set(g,$s(v,t,n,g,e,s))});var h=c?l?Tg:Nc:l?$u:il,m=u?void 0:h(e);return RE(m||e,function(v,g){m&&(g=v,v=e[g]),Lu(i,g,$s(v,t,n,g,e,s))}),i}var ew=1,tw=4;function nw(e){return $s(e,ew|tw)}var rw="__lodash_hash_undefined__";function ow(e){return this.__data__.set(e,rw),this}function sw(e){return this.__data__.has(e)}function Ca(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Cr;++t<n;)this.add(e[t])}Ca.prototype.add=Ca.prototype.push=ow;Ca.prototype.has=sw;function iw(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function aw(e,t){return e.has(t)}var lw=1,cw=2;function Mg(e,t,n,r,o,s){var i=n&lw,a=e.length,l=t.length;if(a!=l&&!(i&&l>a))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var f=-1,d=!0,p=n&cw?new Ca:void 0;for(s.set(e,t),s.set(t,e);++f<a;){var h=e[f],m=t[f];if(r)var v=i?r(m,h,f,t,e,s):r(h,m,f,e,t,s);if(v!==void 0){if(v)continue;d=!1;break}if(p){if(!iw(t,function(g,_){if(!aw(p,_)&&(h===g||o(h,g,n,r,s)))return p.push(_)})){d=!1;break}}else if(!(h===m||o(h,m,n,r,s))){d=!1;break}}return s.delete(e),s.delete(t),d}function uw(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function fw(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var dw=1,pw=2,hw="[object Boolean]",mw="[object Date]",gw="[object Error]",vw="[object Map]",_w="[object Number]",xw="[object RegExp]",bw="[object Set]",yw="[object String]",Ew="[object Symbol]",Cw="[object ArrayBuffer]",Sw="[object DataView]",np=yn?yn.prototype:void 0,Ul=np?np.valueOf:void 0;function ww(e,t,n,r,o,s,i){switch(n){case Sw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Cw:return!(e.byteLength!=t.byteLength||!s(new Ea(e),new Ea(t)));case hw:case mw:case _w:return sl(+e,+t);case gw:return e.name==t.name&&e.message==t.message;case xw:case yw:return e==t+"";case vw:var a=uw;case bw:var l=r&dw;if(a||(a=fw),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=pw,i.set(e,t);var u=Mg(a(e),a(t),r,o,s,i);return i.delete(e),u;case Ew:if(Ul)return Ul.call(e)==Ul.call(t)}return!1}var Aw=1,Tw=Object.prototype,Ow=Tw.hasOwnProperty;function Nw(e,t,n,r,o,s){var i=n&Aw,a=Nc(e),l=a.length,c=Nc(t),u=c.length;if(l!=u&&!i)return!1;for(var f=l;f--;){var d=a[f];if(!(i?d in t:Ow.call(t,d)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=i;++f<l;){d=a[f];var g=e[d],_=t[d];if(r)var y=i?r(_,g,d,t,e,s):r(g,_,d,e,t,s);if(!(y===void 0?g===_||o(g,_,n,r,s):y)){m=!1;break}v||(v=d=="constructor")}if(m&&!v){var x=e.constructor,S=t.constructor;x!=S&&"constructor"in e&&"constructor"in t&&!(typeof x=="function"&&x instanceof x&&typeof S=="function"&&S instanceof S)&&(m=!1)}return s.delete(e),s.delete(t),m}var Fw=1,rp="[object Arguments]",op="[object Array]",Vi="[object Object]",Mw=Object.prototype,sp=Mw.hasOwnProperty;function Lw(e,t,n,r,o,s){var i=En(e),a=En(t),l=i?op:An(e),c=a?op:An(t);l=l==rp?Vi:l,c=c==rp?Vi:c;var u=l==Vi,f=c==Vi,d=l==c;if(d&&ya(e)){if(!ya(t))return!1;i=!0,u=!1}if(d&&!u)return s||(s=new Kn),i||gg(e)?Mg(e,t,n,r,o,s):ww(e,t,l,n,r,o,s);if(!(n&Fw)){var p=u&&sp.call(e,"__wrapped__"),h=f&&sp.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return s||(s=new Kn),o(m,v,n,r,s)}}return d?(s||(s=new Kn),Nw(e,t,n,r,o,s)):!1}function ul(e,t,n,r,o){return e===t?!0:e==null||t==null||!_r(e)&&!_r(t)?e!==e&&t!==t:Lw(e,t,n,r,ul,o)}var Iw=1,Pw=2;function Dw(e,t,n,r){var o=n.length,s=o;if(e==null)return!s;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<s;){i=n[o];var a=i[0],l=e[a],c=i[1];if(i[2]){if(l===void 0&&!(a in e))return!1}else{var u=new Kn,f;if(!(f===void 0?ul(c,l,Iw|Pw,r,u):f))return!1}}return!0}function Lg(e){return e===e&&!Cn(e)}function kw(e){for(var t=il(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Lg(o)]}return t}function Ig(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Rw(e){var t=kw(e);return t.length==1&&t[0][2]?Ig(t[0][0],t[0][1]):function(n){return n===e||Dw(n,e,t)}}function $w(e,t){return e!=null&&t in Object(e)}function Bw(e,t,n){t=ss(t,e);for(var r=-1,o=t.length,s=!1;++r<o;){var i=mo(t[r]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++r!=o?s:(o=e==null?0:e.length,!!o&&Iu(o)&&ol(i,o)&&(En(e)||ku(e)))}function Pg(e,t){return e!=null&&Bw(e,t,$w)}var Vw=1,Hw=2;function Uw(e,t){return Bu(e)&&Lg(t)?Ig(mo(e),t):function(n){var r=zt(n,e);return r===void 0&&r===t?Pg(n,e):ul(t,r,Vw|Hw)}}function jw(e){return function(t){return t?.[e]}}function Ww(e){return function(t){return cl(t,e)}}function Gw(e){return Bu(e)?jw(mo(e)):Ww(e)}function zw(e){return typeof e=="function"?e:e==null?fg:typeof e=="object"?En(e)?Uw(e[0],e[1]):Rw(e):Gw(e)}var jl=function(){return Dn.Date.now()},Kw="Expected a function",Yw=Math.max,qw=Math.min;function Dg(e,t,n){var r,o,s,i,a,l,c=0,u=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(Kw);t=jo(t)||0,Cn(n)&&(u=!!n.leading,f="maxWait"in n,s=f?Yw(jo(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function p(E){var b=r,O=o;return r=o=void 0,c=E,i=e.apply(O,b),i}function h(E){return c=E,a=setTimeout(g,t),u?p(E):i}function m(E){var b=E-l,O=E-c,F=t-b;return f?qw(F,s-O):F}function v(E){var b=E-l,O=E-c;return l===void 0||b>=t||b<0||f&&O>=s}function g(){var E=jl();if(v(E))return _(E);a=setTimeout(g,m(E))}function _(E){return a=void 0,d&&r?p(E):(r=o=void 0,i)}function y(){a!==void 0&&clearTimeout(a),c=0,r=l=o=a=void 0}function x(){return a===void 0?i:_(jl())}function S(){var E=jl(),b=v(E);if(r=arguments,o=this,l=E,b){if(a===void 0)return h(l);if(f)return clearTimeout(a),a=setTimeout(g,t),p(l)}return a===void 0&&(a=setTimeout(g,t)),i}return S.cancel=y,S.flush=x,S}function Jw(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Xw(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=r-1;return $E(e,zw(t),o,!0)}function Sa(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];Mu(r,o[0],o[1])}return r}function Qw(e,t){return t.length<2?e:cl(e,ES(t,0,-1))}function mn(e,t){return ul(e,t)}function _i(e){return e==null}function Zw(e){return e===void 0}var eA=Object.prototype,tA=eA.hasOwnProperty;function nA(e,t){t=ss(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var o=mo(t[n]);if(o==="__proto__"&&!tA.call(e,"__proto__")||(o==="constructor"||o==="prototype")&&n<r-1)return!1}var s=Qw(e,t);return s==null||delete s[mo(Jw(t))]}function rA(e){return Eg(e)?void 0:e}var oA=1,sA=2,iA=4,aA=bg(function(e,t){var n={};if(e==null)return n;var r=!1;t=cg(t,function(s){return s=ss(s,e),r||(r=s.length>1),s}),vi(e,Tg(e),n),r&&(n=$s(n,oA|sA|iA,rA));for(var o=t.length;o--;)nA(n,t[o]);return n});function lA(e,t,n,r){if(!Cn(e))return e;t=ss(t,e);for(var o=-1,s=t.length,i=s-1,a=e;a!=null&&++o<s;){var l=mo(t[o]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=i){var u=a[l];c=void 0,c===void 0&&(c=Cn(u)?u:ol(t[o+1])?[]:{})}Lu(a,l,c),a=a[l]}return e}function cA(e,t,n){for(var r=-1,o=t.length,s={};++r<o;){var i=t[r],a=cl(e,i);n(a,i)&&lA(s,ss(i,e),a)}return s}function uA(e,t){return cA(e,t,function(n,r){return Pg(e,r)})}var kg=bg(function(e,t){return e==null?{}:uA(e,t)}),fA=Math.floor,dA=Math.random;function pA(e,t){return e+fA(dA()*(t-e+1))}var hA=parseFloat,mA=Math.min,gA=Math.random;function vA(e,t,n){if(n&&typeof n!="boolean"&&GE(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=Pd(e),t===void 0?(t=e,e=0):t=Pd(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=gA();return mA(e+o*(t-e+hA("1e-"+((o+"").length-1))),t)}return pA(e,t)}const no=e=>e===void 0,xr=e=>typeof e=="boolean",It=e=>typeof e=="number",_A=e=>!e&&e!==0||ce(e)&&e.length===0||we(e)&&!Object.keys(e).length,ro=e=>typeof Element>"u"?!1:e instanceof Element,Ic=e=>_i(e),xA=e=>Re(e)?!Number.isNaN(Number(e)):!1,ip=e=>Object.keys(e),bA="__epPropKey",me=e=>e,yA=e=>we(e)&&!!e.__epPropKey,fl=(e,t)=>{if(!we(e)||yA(e))return e;const{values:n,required:r,default:o,type:s,validator:i}=e,a={type:s,required:!!r,validator:n||i?l=>{let c=!1,u=[];if(n&&(u=Array.from(n),Ve(e,"default")&&u.push(o),c||=u.includes(l)),i&&(c||=i(l)),!c&&u.length>0){const f=[...new Set(u)].map(d=>JSON.stringify(d)).join(", ");Db(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return c}:void 0,[bA]:!0};return Ve(e,"default")&&(a.default=o),a},Xe=e=>Sa(Object.entries(e).map(([t,n])=>[t,fl(n,t)]));var Rg=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function $g(e,t){throw new Rg(`[${e}] ${t}`)}function Qn(e,t){{const n=Re(e)?new Rg(`[${e}] ${t}`):e;console.warn(n)}}function EA(){const e=wt(),t=Z(0),n=L(()=>({minWidth:`${Math.max(t.value,11)}px`}));return On(e,()=>{t.value=e.value?.getBoundingClientRect().width??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const Bs=({from:e,replacement:t,scope:n,version:r,ref:o,type:s="API"},i)=>{_e(()=>A(i),a=>{a&&Qn(n,`[${s}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
2
2
  For more detail, please visit: ${o}
3
- `)},{immediate:!0})},EA=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,ip=e=>typeof Element>"u"?!1:e instanceof Element,Zs=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Gu=(e,t)=>{if(!e||!e.focus)return;let n=!1;ip(e)&&!Zs(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),ip(e)&&n&&e.removeAttribute("tabindex")},CA=()=>xt&&/android/i.test(window.navigator.userAgent),SA=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),wA="utils/dom/style",$g=(e="")=>e.split(" ").filter(t=>!!t.trim()),ap=(e,t)=>{!e||!t.trim()||e.classList.add(...$g(t))},wa=(e,t)=>{!e||!t.trim()||e.classList.remove(...$g(t))},bs=(e,t)=>{if(!xt||!e||!t||EA(e))return"";let n=Pt(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const o=document.defaultView?.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}};function ei(e,t="px"){if(!e&&e!==0)return"";if(It(e)||_A(e))return`${e}${t}`;if(Re(e))return e;Qn(wA,"binding value must be a string or number")}var Bg={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const AA=e=>(t,n)=>TA(t,n,A(e)),TA=(e,t,n)=>zt(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>`${t?.[o]??`{${o}}`}`),OA=e=>({lang:L(()=>A(e).name),locale:nt(e)?e:Z(e),t:AA(e)}),Vg=Symbol("localeContextKey"),zu=e=>{const t=e||Te(Vg,Z());return OA(L(()=>t.value||Bg))},NA="is-",Xr=(e,t,n,r,o)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),r&&(s+=`__${r}`),o&&(s+=`--${o}`),s},Hg=Symbol("namespaceContextKey"),Ku=e=>{const t=e||(Ye()?Te(Hg,Z("el")):Z("el"));return L(()=>A(t)||"el")},Qe=(e,t)=>{const n=Ku(t);return{namespace:n,b:(m="")=>Xr(n.value,e,m,"",""),e:m=>m?Xr(n.value,e,"",m,""):"",m:m=>m?Xr(n.value,e,"","",m):"",be:(m,v)=>m&&v?Xr(n.value,e,m,v,""):"",em:(m,v)=>m&&v?Xr(n.value,e,"",m,v):"",bm:(m,v)=>m&&v?Xr(n.value,e,m,"",v):"",bem:(m,v,g)=>m&&v&&g?Xr(n.value,e,m,v,g):"",is:(m,...v)=>{const g=v.length>=1?v[0]:!0;return m&&g?`${NA}${m}`:""},cssVar:m=>{const v={};for(const g in m)m[g]&&(v[`--${n.value}-${g}`]=m[g]);return v},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const v={};for(const g in m)m[g]&&(v[`--${n.value}-${e}-${g}`]=m[g]);return v},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}};function FA(e,t){if(!xt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const o=t.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),s=o+t.offsetHeight,i=e.scrollTop,a=i+e.clientHeight;o<i?e.scrollTop=o:s>a&&(e.scrollTop=s-e.clientHeight)}const ar=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const s=e?.(o);if(n===!1||!s)return t?.(o)},ti=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=MA(e);return t?Object.values(it).includes(t)?t:t===" "?it.space:"":""},MA=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&CA()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},LA=fl({type:me(Boolean),default:null}),IA=fl({type:me(Function)}),PA=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],o={[e]:LA,[n]:IA};return{useModelToggle:({indicator:i,toggleReason:a,shouldHideWhenRouteChanges:l,shouldProceed:c,onShow:u,onHide:f})=>{const d=Ye(),{emit:p}=d,h=d.props,m=L(()=>be(h[n])),v=L(()=>h[e]===null),g=b=>{i.value!==!0&&(i.value=!0,a&&(a.value=b),be(u)&&u(b))},_=b=>{i.value!==!1&&(i.value=!1,a&&(a.value=b),be(f)&&f(b))},y=b=>{if(h.disabled===!0||be(c)&&!c())return;const O=m.value&&xt;O&&p(t,!0),(v.value||!O)&&g(b)},x=b=>{if(h.disabled===!0||!xt)return;const O=m.value&&xt;O&&p(t,!1),(v.value||!O)&&_(b)},S=b=>{xr(b)&&(h.disabled&&b?m.value&&p(t,!1):i.value!==b&&(b?g():_()))},E=()=>{i.value?x():y()};return _e(()=>h[e],S),l&&d.appContext.config.globalProperties.$route!==void 0&&_e(()=>({...d.proxy.$route}),()=>{l.value&&i.value&&x()}),gt(()=>{S(h[e])}),{hide:x,show:y,toggle:E,hasUpdateHandler:m}},useModelToggleProps:o,useModelToggleEmits:r}},Ug=e=>{const t=Ye();return L(()=>t?.proxy?.$props?.[e])};var Kt="top",Sn="bottom",wn="right",Yt="left",Yu="auto",xi=[Kt,Sn,wn,Yt],Yo="start",ni="end",DA="clippingParents",jg="viewport",ys="popper",kA="reference",lp=xi.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+ni])},[]),bi=[].concat(xi,[Yu]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+ni])},[]),RA="beforeRead",$A="read",BA="afterRead",VA="beforeMain",HA="main",UA="afterMain",jA="beforeWrite",WA="write",GA="afterWrite",zA=[RA,$A,BA,VA,HA,UA,jA,WA,GA];function Zn(e){return e?(e.nodeName||"").toLowerCase():null}function an(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function go(e){var t=an(e).Element;return e instanceof t||e instanceof Element}function xn(e){var t=an(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qu(e){if(typeof ShadowRoot>"u")return!1;var t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function KA(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!xn(s)||!Zn(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(i){var a=o[i];a===!1?s.removeAttribute(i):s.setAttribute(i,a===!0?"":a)}))})}function YA(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=i.reduce(function(l,c){return l[c]="",l},{});!xn(o)||!Zn(o)||(Object.assign(o.style,a),Object.keys(s).forEach(function(l){o.removeAttribute(l)}))})}}var Wg={name:"applyStyles",enabled:!0,phase:"write",fn:KA,effect:YA,requires:["computeStyles"]};function Yn(e){return e.split("-")[0]}var fo=Math.max,Aa=Math.min,qo=Math.round;function Pc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Gg(){return!/^((?!chrome|android).)*safari/i.test(Pc())}function Jo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&xn(e)&&(o=e.offsetWidth>0&&qo(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&qo(r.height)/e.offsetHeight||1);var i=go(e)?an(e):window,a=i.visualViewport,l=!Gg()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/o,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Ju(e){var t=Jo(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function zg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qu(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function br(e){return an(e).getComputedStyle(e)}function qA(e){return["table","td","th"].indexOf(Zn(e))>=0}function Hr(e){return((go(e)?e.ownerDocument:e.document)||window.document).documentElement}function dl(e){return Zn(e)==="html"?e:e.assignedSlot||e.parentNode||(qu(e)?e.host:null)||Hr(e)}function cp(e){return!xn(e)||br(e).position==="fixed"?null:e.offsetParent}function JA(e){var t=/firefox/i.test(Pc()),n=/Trident/i.test(Pc());if(n&&xn(e)){var r=br(e);if(r.position==="fixed")return null}var o=dl(e);for(qu(o)&&(o=o.host);xn(o)&&["html","body"].indexOf(Zn(o))<0;){var s=br(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function yi(e){for(var t=an(e),n=cp(e);n&&qA(n)&&br(n).position==="static";)n=cp(n);return n&&(Zn(n)==="html"||Zn(n)==="body"&&br(n).position==="static")?t:n||JA(e)||t}function Xu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Vs(e,t,n){return fo(e,Aa(t,n))}function XA(e,t,n){var r=Vs(e,t,n);return r>n?n:r}function Kg(){return{top:0,right:0,bottom:0,left:0}}function Yg(e){return Object.assign({},Kg(),e)}function qg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var QA=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Yg(typeof e!="number"?e:qg(e,xi))};function ZA(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Yn(n.placement),l=Xu(a),c=[Yt,wn].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!i)){var f=QA(o.padding,n),d=Ju(s),p=l==="y"?Kt:Yt,h=l==="y"?Sn:wn,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],g=yi(s),_=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,y=m/2-v/2,x=f[p],S=_-d[u]-f[h],E=_/2-d[u]/2+y,b=Vs(x,E,S),O=l;n.modifiersData[r]=(t={},t[O]=b,t.centerOffset=b-E,t)}}function eT(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||zg(t.elements.popper,o)&&(t.elements.arrow=o))}var tT={name:"arrow",enabled:!0,phase:"main",fn:ZA,effect:eT,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xo(e){return e.split("-")[1]}var nT={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rT(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:qo(n*o)/o||0,y:qo(r*o)/o||0}}function up(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=i.x,p=d===void 0?0:d,h=i.y,m=h===void 0?0:h,v=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=i.hasOwnProperty("x"),_=i.hasOwnProperty("y"),y=Yt,x=Kt,S=window;if(c){var E=yi(n),b="clientHeight",O="clientWidth";if(E===an(n)&&(E=Hr(n),br(E).position!=="static"&&a==="absolute"&&(b="scrollHeight",O="scrollWidth")),E=E,o===Kt||(o===Yt||o===wn)&&s===ni){x=Sn;var F=f&&E===S&&S.visualViewport?S.visualViewport.height:E[b];m-=F-r.height,m*=l?1:-1}if(o===Yt||(o===Kt||o===Sn)&&s===ni){y=wn;var V=f&&E===S&&S.visualViewport?S.visualViewport.width:E[O];p-=V-r.width,p*=l?1:-1}}var W=Object.assign({position:a},c&&nT),I=u===!0?rT({x:p,y:m},an(n)):{x:p,y:m};if(p=I.x,m=I.y,l){var Y;return Object.assign({},W,(Y={},Y[x]=_?"0":"",Y[y]=g?"0":"",Y.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",Y))}return Object.assign({},W,(t={},t[x]=_?m+"px":"",t[y]=g?p+"px":"",t.transform="",t))}function oT(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,i=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Yn(t.placement),variation:Xo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,up(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,up(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Jg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:oT,data:{}},Hi={passive:!0};function sT(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,i=r.resize,a=i===void 0?!0:i,l=an(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,Hi)}),a&&l.addEventListener("resize",n.update,Hi),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Hi)}),a&&l.removeEventListener("resize",n.update,Hi)}}var Xg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sT,data:{}},iT={left:"right",right:"left",bottom:"top",top:"bottom"};function na(e){return e.replace(/left|right|bottom|top/g,function(t){return iT[t]})}var aT={start:"end",end:"start"};function fp(e){return e.replace(/start|end/g,function(t){return aT[t]})}function Qu(e){var t=an(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Zu(e){return Jo(Hr(e)).left+Qu(e).scrollLeft}function lT(e,t){var n=an(e),r=Hr(e),o=n.visualViewport,s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;var c=Gg();(c||!c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a+Zu(e),y:l}}function cT(e){var t,n=Hr(e),r=Qu(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=fo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=fo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Zu(e),l=-r.scrollTop;return br(o||n).direction==="rtl"&&(a+=fo(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:a,y:l}}function ef(e){var t=br(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Qg(e){return["html","body","#document"].indexOf(Zn(e))>=0?e.ownerDocument.body:xn(e)&&ef(e)?e:Qg(dl(e))}function Hs(e,t){var n;t===void 0&&(t=[]);var r=Qg(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=an(r),i=o?[s].concat(s.visualViewport||[],ef(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(Hs(dl(i)))}function Dc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uT(e,t){var n=Jo(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function dp(e,t,n){return t===jg?Dc(lT(e,n)):go(t)?uT(t,n):Dc(cT(Hr(e)))}function fT(e){var t=Hs(dl(e)),n=["absolute","fixed"].indexOf(br(e).position)>=0,r=n&&xn(e)?yi(e):e;return go(r)?t.filter(function(o){return go(o)&&zg(o,r)&&Zn(o)!=="body"}):[]}function dT(e,t,n,r){var o=t==="clippingParents"?fT(e):[].concat(t),s=[].concat(o,[n]),i=s[0],a=s.reduce(function(l,c){var u=dp(e,c,r);return l.top=fo(u.top,l.top),l.right=Aa(u.right,l.right),l.bottom=Aa(u.bottom,l.bottom),l.left=fo(u.left,l.left),l},dp(e,i,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Zg(e){var t=e.reference,n=e.element,r=e.placement,o=r?Yn(r):null,s=r?Xo(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case Kt:l={x:i,y:t.y-n.height};break;case Sn:l={x:i,y:t.y+t.height};break;case wn:l={x:t.x+t.width,y:a};break;case Yt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=o?Xu(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Yo:l[c]=l[c]-(t[u]/2-n[u]/2);break;case ni:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function ri(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,i=s===void 0?e.strategy:s,a=n.boundary,l=a===void 0?DA:a,c=n.rootBoundary,u=c===void 0?jg:c,f=n.elementContext,d=f===void 0?ys:f,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,v=m===void 0?0:m,g=Yg(typeof v!="number"?v:qg(v,xi)),_=d===ys?kA:ys,y=e.rects.popper,x=e.elements[h?_:d],S=dT(go(x)?x:x.contextElement||Hr(e.elements.popper),l,u,i),E=Jo(e.elements.reference),b=Zg({reference:E,element:y,placement:o}),O=Dc(Object.assign({},y,b)),F=d===ys?O:E,V={top:S.top-F.top+g.top,bottom:F.bottom-S.bottom+g.bottom,left:S.left-F.left+g.left,right:F.right-S.right+g.right},W=e.modifiersData.offset;if(d===ys&&W){var I=W[o];Object.keys(V).forEach(function(Y){var H=[wn,Sn].indexOf(Y)>=0?1:-1,D=[Kt,Sn].indexOf(Y)>=0?"y":"x";V[Y]+=I[D]*H})}return V}function pT(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?bi:l,u=Xo(r),f=u?a?lp:lp.filter(function(h){return Xo(h)===u}):xi,d=f.filter(function(h){return c.indexOf(h)>=0});d.length===0&&(d=f);var p=d.reduce(function(h,m){return h[m]=ri(e,{placement:m,boundary:o,rootBoundary:s,padding:i})[Yn(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function hT(e){if(Yn(e)===Yu)return[];var t=na(e);return[fp(e),t,fp(t)]}function mT(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,v=t.options.placement,g=Yn(v),_=g===v,y=l||(_||!h?[na(v)]:hT(v)),x=[v].concat(y).reduce(function(Fe,Le){return Fe.concat(Yn(Le)===Yu?pT(t,{placement:Le,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):Le)},[]),S=t.rects.reference,E=t.rects.popper,b=new Map,O=!0,F=x[0],V=0;V<x.length;V++){var W=x[V],I=Yn(W),Y=Xo(W)===Yo,H=[Kt,Sn].indexOf(I)>=0,D=H?"width":"height",M=ri(t,{placement:W,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),R=H?Y?wn:Yt:Y?Sn:Kt;S[D]>E[D]&&(R=na(R));var j=na(R),ne=[];if(s&&ne.push(M[I]<=0),a&&ne.push(M[R]<=0,M[j]<=0),ne.every(function(Fe){return Fe})){F=W,O=!1;break}b.set(W,ne)}if(O)for(var le=h?3:1,xe=function(Fe){var Le=x.find(function(He){var K=b.get(He);if(K)return K.slice(0,Fe).every(function(se){return se})});if(Le)return F=Le,"break"},Ee=le;Ee>0;Ee--){var Ne=xe(Ee);if(Ne==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}var gT={name:"flip",enabled:!0,phase:"main",fn:mT,requiresIfExists:["offset"],data:{_skip:!1}};function pp(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function hp(e){return[Kt,wn,Sn,Yt].some(function(t){return e[t]>=0})}function vT(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,i=ri(t,{elementContext:"reference"}),a=ri(t,{altBoundary:!0}),l=pp(i,r),c=pp(a,o,s),u=hp(l),f=hp(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}var _T={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:vT};function xT(e,t,n){var r=Yn(e),o=[Yt,Kt].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=s[0],a=s[1];return i=i||0,a=(a||0)*o,[Yt,wn].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function bT(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,i=bi.reduce(function(u,f){return u[f]=xT(f,t.rects,s),u},{}),a=i[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}var yT={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bT};function ET(e){var t=e.state,n=e.name;t.modifiersData[n]=Zg({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var ev={name:"popperOffsets",enabled:!0,phase:"read",fn:ET,data:{}};function CT(e){return e==="x"?"y":"x"}function ST(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,m=h===void 0?0:h,v=ri(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),g=Yn(t.placement),_=Xo(t.placement),y=!_,x=Xu(g),S=CT(x),E=t.modifiersData.popperOffsets,b=t.rects.reference,O=t.rects.popper,F=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,V=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(E){if(s){var Y,H=x==="y"?Kt:Yt,D=x==="y"?Sn:wn,M=x==="y"?"height":"width",R=E[x],j=R+v[H],ne=R-v[D],le=p?-O[M]/2:0,xe=_===Yo?b[M]:O[M],Ee=_===Yo?-O[M]:-b[M],Ne=t.elements.arrow,Fe=p&&Ne?Ju(Ne):{width:0,height:0},Le=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Kg(),He=Le[H],K=Le[D],se=Vs(0,b[M],Fe[M]),oe=y?b[M]/2-le-se-He-V.mainAxis:xe-se-He-V.mainAxis,re=y?-b[M]/2+le+se+K+V.mainAxis:Ee+se+K+V.mainAxis,Ce=t.elements.arrow&&yi(t.elements.arrow),T=Ce?x==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,N=(Y=W?.[x])!=null?Y:0,$=R+oe-N-T,q=R+re-N,X=Vs(p?Aa(j,$):j,R,p?fo(ne,q):ne);E[x]=X,I[x]=X-R}if(a){var J,C=x==="x"?Kt:Yt,w=x==="x"?Sn:wn,P=E[S],B=S==="y"?"height":"width",ie=P+v[C],Q=P-v[w],k=[Kt,Yt].indexOf(g)!==-1,G=(J=W?.[S])!=null?J:0,ve=k?ie:P-b[B]-O[B]-G+V.altAxis,ye=k?P+b[B]+O[B]-G-V.altAxis:Q,Me=p&&k?XA(ve,P,ye):Vs(p?ve:ie,P,p?ye:Q);E[S]=Me,I[S]=Me-P}t.modifiersData[r]=I}}var wT={name:"preventOverflow",enabled:!0,phase:"main",fn:ST,requiresIfExists:["offset"]};function AT(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function TT(e){return e===an(e)||!xn(e)?Qu(e):AT(e)}function OT(e){var t=e.getBoundingClientRect(),n=qo(t.width)/e.offsetWidth||1,r=qo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function NT(e,t,n){n===void 0&&(n=!1);var r=xn(t),o=xn(t)&&OT(t),s=Hr(t),i=Jo(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Zn(t)!=="body"||ef(s))&&(a=TT(t)),xn(t)?(l=Jo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Zu(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function FT(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function MT(e){var t=FT(e);return zA.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function LT(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function IT(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var mp={placement:"bottom",modifiers:[],strategy:"absolute"};function gp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function tf(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?mp:o;return function(i,a,l){l===void 0&&(l=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},mp,s),modifiersData:{},elements:{reference:i,popper:a},attributes:{},styles:{}},u=[],f=!1,d={state:c,setOptions:function(m){var v=typeof m=="function"?m(c.options):m;h(),c.options=Object.assign({},s,c.options,v),c.scrollParents={reference:go(i)?Hs(i):i.contextElement?Hs(i.contextElement):[],popper:Hs(a)};var g=MT(IT([].concat(r,c.options.modifiers)));return c.orderedModifiers=g.filter(function(_){return _.enabled}),p(),d.update()},forceUpdate:function(){if(!f){var m=c.elements,v=m.reference,g=m.popper;if(gp(v,g)){c.rects={reference:NT(v,yi(g),c.options.strategy==="fixed"),popper:Ju(g)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(O){return c.modifiersData[O.name]=Object.assign({},O.data)});for(var _=0;_<c.orderedModifiers.length;_++){if(c.reset===!0){c.reset=!1,_=-1;continue}var y=c.orderedModifiers[_],x=y.fn,S=y.options,E=S===void 0?{}:S,b=y.name;typeof x=="function"&&(c=x({state:c,options:E,name:b,instance:d})||c)}}}},update:LT(function(){return new Promise(function(m){d.forceUpdate(),m(c)})}),destroy:function(){h(),f=!0}};if(!gp(i,a))return d;d.setOptions(l).then(function(m){!f&&l.onFirstUpdate&&l.onFirstUpdate(m)});function p(){c.orderedModifiers.forEach(function(m){var v=m.name,g=m.options,_=g===void 0?{}:g,y=m.effect;if(typeof y=="function"){var x=y({state:c,name:v,instance:d,options:_}),S=function(){};u.push(x||S)}})}function h(){u.forEach(function(m){return m()}),u=[]}return d}}tf();var PT=[Xg,ev,Jg,Wg];tf({defaultModifiers:PT});var DT=[Xg,ev,Jg,Wg,yT,gT,wT,tT,_T],kT=tf({defaultModifiers:DT});const RT=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const c=$T(l);Object.assign(i.value,c)},requires:["computeStyles"]},o=L(()=>{const{onFirstUpdate:l,placement:c,strategy:u,modifiers:f}=A(n);return{onFirstUpdate:l,placement:c||"bottom",strategy:u||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),s=wt(),i=Z({styles:{popper:{position:A(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return _e(o,l=>{const c=A(s);c&&c.setOptions(l)},{deep:!0}),_e([e,t],([l,c])=>{a(),!(!l||!c)&&(s.value=kT(l,c,A(o)))}),Nt(()=>{a()}),{state:L(()=>({...A(s)?.state||{}})),styles:L(()=>A(i).styles),attributes:L(()=>A(i).attributes),update:()=>A(s)?.update(),forceUpdate:()=>A(s)?.forceUpdate(),instanceRef:L(()=>A(s))}};function $T(e){const t=Object.keys(e.elements);return{styles:Sa(t.map(n=>[n,e.styles[n]||{}])),attributes:Sa(t.map(n=>[n,e.attributes[n]]))}}function vp(){let e;const t=(r,o)=>{n(),e=globalThis.setTimeout(r,o)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Ou(()=>n()),{registerTimeout:t,cancelTimeout:n}}const kc={prefix:Math.floor(Math.random()*1e4),current:0},BT=Symbol("elIdInjection"),tv=()=>Ye()?Te(BT,kc):kc,pl=e=>{const t=tv();!xt&&t===kc&&Qn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
3
+ `)},{immediate:!0})},CA=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,ap=e=>typeof Element>"u"?!1:e instanceof Element,Zs=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Gu=(e,t)=>{if(!e||!e.focus)return;let n=!1;ap(e)&&!Zs(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),ap(e)&&n&&e.removeAttribute("tabindex")},SA=()=>xt&&/android/i.test(window.navigator.userAgent),wA=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),AA="utils/dom/style",Bg=(e="")=>e.split(" ").filter(t=>!!t.trim()),lp=(e,t)=>{!e||!t.trim()||e.classList.add(...Bg(t))},wa=(e,t)=>{!e||!t.trim()||e.classList.remove(...Bg(t))},bs=(e,t)=>{if(!xt||!e||!t||CA(e))return"";let n=Pt(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const o=document.defaultView?.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}};function ei(e,t="px"){if(!e&&e!==0)return"";if(It(e)||xA(e))return`${e}${t}`;if(Re(e))return e;Qn(AA,"binding value must be a string or number")}var Vg={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const TA=e=>(t,n)=>OA(t,n,A(e)),OA=(e,t,n)=>zt(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>`${t?.[o]??`{${o}}`}`),NA=e=>({lang:L(()=>A(e).name),locale:nt(e)?e:Z(e),t:TA(e)}),Hg=Symbol("localeContextKey"),zu=e=>{const t=e||Te(Hg,Z());return NA(L(()=>t.value||Vg))},FA="is-",Xr=(e,t,n,r,o)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),r&&(s+=`__${r}`),o&&(s+=`--${o}`),s},Ug=Symbol("namespaceContextKey"),Ku=e=>{const t=e||(Ye()?Te(Ug,Z("el")):Z("el"));return L(()=>A(t)||"el")},Qe=(e,t)=>{const n=Ku(t);return{namespace:n,b:(m="")=>Xr(n.value,e,m,"",""),e:m=>m?Xr(n.value,e,"",m,""):"",m:m=>m?Xr(n.value,e,"","",m):"",be:(m,v)=>m&&v?Xr(n.value,e,m,v,""):"",em:(m,v)=>m&&v?Xr(n.value,e,"",m,v):"",bm:(m,v)=>m&&v?Xr(n.value,e,m,"",v):"",bem:(m,v,g)=>m&&v&&g?Xr(n.value,e,m,v,g):"",is:(m,...v)=>{const g=v.length>=1?v[0]:!0;return m&&g?`${FA}${m}`:""},cssVar:m=>{const v={};for(const g in m)m[g]&&(v[`--${n.value}-${g}`]=m[g]);return v},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const v={};for(const g in m)m[g]&&(v[`--${n.value}-${e}-${g}`]=m[g]);return v},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}};function MA(e,t){if(!xt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const o=t.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),s=o+t.offsetHeight,i=e.scrollTop,a=i+e.clientHeight;o<i?e.scrollTop=o:s>a&&(e.scrollTop=s-e.clientHeight)}const ar=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const s=e?.(o);if(n===!1||!s)return t?.(o)},ti=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=LA(e);return t?Object.values(it).includes(t)?t:t===" "?it.space:"":""},LA=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&SA()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},IA=fl({type:me(Boolean),default:null}),PA=fl({type:me(Function)}),DA=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],o={[e]:IA,[n]:PA};return{useModelToggle:({indicator:i,toggleReason:a,shouldHideWhenRouteChanges:l,shouldProceed:c,onShow:u,onHide:f})=>{const d=Ye(),{emit:p}=d,h=d.props,m=L(()=>be(h[n])),v=L(()=>h[e]===null),g=b=>{i.value!==!0&&(i.value=!0,a&&(a.value=b),be(u)&&u(b))},_=b=>{i.value!==!1&&(i.value=!1,a&&(a.value=b),be(f)&&f(b))},y=b=>{if(h.disabled===!0||be(c)&&!c())return;const O=m.value&&xt;O&&p(t,!0),(v.value||!O)&&g(b)},x=b=>{if(h.disabled===!0||!xt)return;const O=m.value&&xt;O&&p(t,!1),(v.value||!O)&&_(b)},S=b=>{xr(b)&&(h.disabled&&b?m.value&&p(t,!1):i.value!==b&&(b?g():_()))},E=()=>{i.value?x():y()};return _e(()=>h[e],S),l&&d.appContext.config.globalProperties.$route!==void 0&&_e(()=>({...d.proxy.$route}),()=>{l.value&&i.value&&x()}),gt(()=>{S(h[e])}),{hide:x,show:y,toggle:E,hasUpdateHandler:m}},useModelToggleProps:o,useModelToggleEmits:r}},jg=e=>{const t=Ye();return L(()=>t?.proxy?.$props?.[e])};var Kt="top",Sn="bottom",wn="right",Yt="left",Yu="auto",xi=[Kt,Sn,wn,Yt],Yo="start",ni="end",kA="clippingParents",Wg="viewport",ys="popper",RA="reference",cp=xi.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+ni])},[]),bi=[].concat(xi,[Yu]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+ni])},[]),$A="beforeRead",BA="read",VA="afterRead",HA="beforeMain",UA="main",jA="afterMain",WA="beforeWrite",GA="write",zA="afterWrite",KA=[$A,BA,VA,HA,UA,jA,WA,GA,zA];function Zn(e){return e?(e.nodeName||"").toLowerCase():null}function an(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function go(e){var t=an(e).Element;return e instanceof t||e instanceof Element}function xn(e){var t=an(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qu(e){if(typeof ShadowRoot>"u")return!1;var t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function YA(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!xn(s)||!Zn(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(i){var a=o[i];a===!1?s.removeAttribute(i):s.setAttribute(i,a===!0?"":a)}))})}function qA(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=i.reduce(function(l,c){return l[c]="",l},{});!xn(o)||!Zn(o)||(Object.assign(o.style,a),Object.keys(s).forEach(function(l){o.removeAttribute(l)}))})}}var Gg={name:"applyStyles",enabled:!0,phase:"write",fn:YA,effect:qA,requires:["computeStyles"]};function Yn(e){return e.split("-")[0]}var fo=Math.max,Aa=Math.min,qo=Math.round;function Pc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zg(){return!/^((?!chrome|android).)*safari/i.test(Pc())}function Jo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&xn(e)&&(o=e.offsetWidth>0&&qo(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&qo(r.height)/e.offsetHeight||1);var i=go(e)?an(e):window,a=i.visualViewport,l=!zg()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/o,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Ju(e){var t=Jo(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Kg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qu(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function br(e){return an(e).getComputedStyle(e)}function JA(e){return["table","td","th"].indexOf(Zn(e))>=0}function Hr(e){return((go(e)?e.ownerDocument:e.document)||window.document).documentElement}function dl(e){return Zn(e)==="html"?e:e.assignedSlot||e.parentNode||(qu(e)?e.host:null)||Hr(e)}function up(e){return!xn(e)||br(e).position==="fixed"?null:e.offsetParent}function XA(e){var t=/firefox/i.test(Pc()),n=/Trident/i.test(Pc());if(n&&xn(e)){var r=br(e);if(r.position==="fixed")return null}var o=dl(e);for(qu(o)&&(o=o.host);xn(o)&&["html","body"].indexOf(Zn(o))<0;){var s=br(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function yi(e){for(var t=an(e),n=up(e);n&&JA(n)&&br(n).position==="static";)n=up(n);return n&&(Zn(n)==="html"||Zn(n)==="body"&&br(n).position==="static")?t:n||XA(e)||t}function Xu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Vs(e,t,n){return fo(e,Aa(t,n))}function QA(e,t,n){var r=Vs(e,t,n);return r>n?n:r}function Yg(){return{top:0,right:0,bottom:0,left:0}}function qg(e){return Object.assign({},Yg(),e)}function Jg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var ZA=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,qg(typeof e!="number"?e:Jg(e,xi))};function eT(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Yn(n.placement),l=Xu(a),c=[Yt,wn].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!i)){var f=ZA(o.padding,n),d=Ju(s),p=l==="y"?Kt:Yt,h=l==="y"?Sn:wn,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],g=yi(s),_=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,y=m/2-v/2,x=f[p],S=_-d[u]-f[h],E=_/2-d[u]/2+y,b=Vs(x,E,S),O=l;n.modifiersData[r]=(t={},t[O]=b,t.centerOffset=b-E,t)}}function tT(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Kg(t.elements.popper,o)&&(t.elements.arrow=o))}var nT={name:"arrow",enabled:!0,phase:"main",fn:eT,effect:tT,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xo(e){return e.split("-")[1]}var rT={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oT(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:qo(n*o)/o||0,y:qo(r*o)/o||0}}function fp(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=i.x,p=d===void 0?0:d,h=i.y,m=h===void 0?0:h,v=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=i.hasOwnProperty("x"),_=i.hasOwnProperty("y"),y=Yt,x=Kt,S=window;if(c){var E=yi(n),b="clientHeight",O="clientWidth";if(E===an(n)&&(E=Hr(n),br(E).position!=="static"&&a==="absolute"&&(b="scrollHeight",O="scrollWidth")),E=E,o===Kt||(o===Yt||o===wn)&&s===ni){x=Sn;var F=f&&E===S&&S.visualViewport?S.visualViewport.height:E[b];m-=F-r.height,m*=l?1:-1}if(o===Yt||(o===Kt||o===Sn)&&s===ni){y=wn;var V=f&&E===S&&S.visualViewport?S.visualViewport.width:E[O];p-=V-r.width,p*=l?1:-1}}var W=Object.assign({position:a},c&&rT),I=u===!0?oT({x:p,y:m},an(n)):{x:p,y:m};if(p=I.x,m=I.y,l){var Y;return Object.assign({},W,(Y={},Y[x]=_?"0":"",Y[y]=g?"0":"",Y.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",Y))}return Object.assign({},W,(t={},t[x]=_?m+"px":"",t[y]=g?p+"px":"",t.transform="",t))}function sT(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,i=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Yn(t.placement),variation:Xo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,fp(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fp(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Xg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:sT,data:{}},Hi={passive:!0};function iT(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,i=r.resize,a=i===void 0?!0:i,l=an(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,Hi)}),a&&l.addEventListener("resize",n.update,Hi),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Hi)}),a&&l.removeEventListener("resize",n.update,Hi)}}var Qg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:iT,data:{}},aT={left:"right",right:"left",bottom:"top",top:"bottom"};function na(e){return e.replace(/left|right|bottom|top/g,function(t){return aT[t]})}var lT={start:"end",end:"start"};function dp(e){return e.replace(/start|end/g,function(t){return lT[t]})}function Qu(e){var t=an(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Zu(e){return Jo(Hr(e)).left+Qu(e).scrollLeft}function cT(e,t){var n=an(e),r=Hr(e),o=n.visualViewport,s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;var c=zg();(c||!c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a+Zu(e),y:l}}function uT(e){var t,n=Hr(e),r=Qu(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=fo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=fo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Zu(e),l=-r.scrollTop;return br(o||n).direction==="rtl"&&(a+=fo(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:a,y:l}}function ef(e){var t=br(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Zg(e){return["html","body","#document"].indexOf(Zn(e))>=0?e.ownerDocument.body:xn(e)&&ef(e)?e:Zg(dl(e))}function Hs(e,t){var n;t===void 0&&(t=[]);var r=Zg(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=an(r),i=o?[s].concat(s.visualViewport||[],ef(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(Hs(dl(i)))}function Dc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fT(e,t){var n=Jo(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function pp(e,t,n){return t===Wg?Dc(cT(e,n)):go(t)?fT(t,n):Dc(uT(Hr(e)))}function dT(e){var t=Hs(dl(e)),n=["absolute","fixed"].indexOf(br(e).position)>=0,r=n&&xn(e)?yi(e):e;return go(r)?t.filter(function(o){return go(o)&&Kg(o,r)&&Zn(o)!=="body"}):[]}function pT(e,t,n,r){var o=t==="clippingParents"?dT(e):[].concat(t),s=[].concat(o,[n]),i=s[0],a=s.reduce(function(l,c){var u=pp(e,c,r);return l.top=fo(u.top,l.top),l.right=Aa(u.right,l.right),l.bottom=Aa(u.bottom,l.bottom),l.left=fo(u.left,l.left),l},pp(e,i,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ev(e){var t=e.reference,n=e.element,r=e.placement,o=r?Yn(r):null,s=r?Xo(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case Kt:l={x:i,y:t.y-n.height};break;case Sn:l={x:i,y:t.y+t.height};break;case wn:l={x:t.x+t.width,y:a};break;case Yt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=o?Xu(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Yo:l[c]=l[c]-(t[u]/2-n[u]/2);break;case ni:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function ri(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,i=s===void 0?e.strategy:s,a=n.boundary,l=a===void 0?kA:a,c=n.rootBoundary,u=c===void 0?Wg:c,f=n.elementContext,d=f===void 0?ys:f,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,v=m===void 0?0:m,g=qg(typeof v!="number"?v:Jg(v,xi)),_=d===ys?RA:ys,y=e.rects.popper,x=e.elements[h?_:d],S=pT(go(x)?x:x.contextElement||Hr(e.elements.popper),l,u,i),E=Jo(e.elements.reference),b=ev({reference:E,element:y,placement:o}),O=Dc(Object.assign({},y,b)),F=d===ys?O:E,V={top:S.top-F.top+g.top,bottom:F.bottom-S.bottom+g.bottom,left:S.left-F.left+g.left,right:F.right-S.right+g.right},W=e.modifiersData.offset;if(d===ys&&W){var I=W[o];Object.keys(V).forEach(function(Y){var H=[wn,Sn].indexOf(Y)>=0?1:-1,D=[Kt,Sn].indexOf(Y)>=0?"y":"x";V[Y]+=I[D]*H})}return V}function hT(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?bi:l,u=Xo(r),f=u?a?cp:cp.filter(function(h){return Xo(h)===u}):xi,d=f.filter(function(h){return c.indexOf(h)>=0});d.length===0&&(d=f);var p=d.reduce(function(h,m){return h[m]=ri(e,{placement:m,boundary:o,rootBoundary:s,padding:i})[Yn(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function mT(e){if(Yn(e)===Yu)return[];var t=na(e);return[dp(e),t,dp(t)]}function gT(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,v=t.options.placement,g=Yn(v),_=g===v,y=l||(_||!h?[na(v)]:mT(v)),x=[v].concat(y).reduce(function(Fe,Le){return Fe.concat(Yn(Le)===Yu?hT(t,{placement:Le,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):Le)},[]),S=t.rects.reference,E=t.rects.popper,b=new Map,O=!0,F=x[0],V=0;V<x.length;V++){var W=x[V],I=Yn(W),Y=Xo(W)===Yo,H=[Kt,Sn].indexOf(I)>=0,D=H?"width":"height",M=ri(t,{placement:W,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),R=H?Y?wn:Yt:Y?Sn:Kt;S[D]>E[D]&&(R=na(R));var j=na(R),ne=[];if(s&&ne.push(M[I]<=0),a&&ne.push(M[R]<=0,M[j]<=0),ne.every(function(Fe){return Fe})){F=W,O=!1;break}b.set(W,ne)}if(O)for(var le=h?3:1,xe=function(Fe){var Le=x.find(function(He){var K=b.get(He);if(K)return K.slice(0,Fe).every(function(se){return se})});if(Le)return F=Le,"break"},Ee=le;Ee>0;Ee--){var Ne=xe(Ee);if(Ne==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}var vT={name:"flip",enabled:!0,phase:"main",fn:gT,requiresIfExists:["offset"],data:{_skip:!1}};function hp(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function mp(e){return[Kt,wn,Sn,Yt].some(function(t){return e[t]>=0})}function _T(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,i=ri(t,{elementContext:"reference"}),a=ri(t,{altBoundary:!0}),l=hp(i,r),c=hp(a,o,s),u=mp(l),f=mp(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}var xT={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_T};function bT(e,t,n){var r=Yn(e),o=[Yt,Kt].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=s[0],a=s[1];return i=i||0,a=(a||0)*o,[Yt,wn].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function yT(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,i=bi.reduce(function(u,f){return u[f]=bT(f,t.rects,s),u},{}),a=i[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}var ET={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yT};function CT(e){var t=e.state,n=e.name;t.modifiersData[n]=ev({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var tv={name:"popperOffsets",enabled:!0,phase:"read",fn:CT,data:{}};function ST(e){return e==="x"?"y":"x"}function wT(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,m=h===void 0?0:h,v=ri(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),g=Yn(t.placement),_=Xo(t.placement),y=!_,x=Xu(g),S=ST(x),E=t.modifiersData.popperOffsets,b=t.rects.reference,O=t.rects.popper,F=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,V=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(E){if(s){var Y,H=x==="y"?Kt:Yt,D=x==="y"?Sn:wn,M=x==="y"?"height":"width",R=E[x],j=R+v[H],ne=R-v[D],le=p?-O[M]/2:0,xe=_===Yo?b[M]:O[M],Ee=_===Yo?-O[M]:-b[M],Ne=t.elements.arrow,Fe=p&&Ne?Ju(Ne):{width:0,height:0},Le=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Yg(),He=Le[H],K=Le[D],se=Vs(0,b[M],Fe[M]),oe=y?b[M]/2-le-se-He-V.mainAxis:xe-se-He-V.mainAxis,re=y?-b[M]/2+le+se+K+V.mainAxis:Ee+se+K+V.mainAxis,Ce=t.elements.arrow&&yi(t.elements.arrow),T=Ce?x==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,N=(Y=W?.[x])!=null?Y:0,$=R+oe-N-T,q=R+re-N,X=Vs(p?Aa(j,$):j,R,p?fo(ne,q):ne);E[x]=X,I[x]=X-R}if(a){var J,C=x==="x"?Kt:Yt,w=x==="x"?Sn:wn,P=E[S],B=S==="y"?"height":"width",ie=P+v[C],Q=P-v[w],k=[Kt,Yt].indexOf(g)!==-1,G=(J=W?.[S])!=null?J:0,ve=k?ie:P-b[B]-O[B]-G+V.altAxis,ye=k?P+b[B]+O[B]-G-V.altAxis:Q,Me=p&&k?QA(ve,P,ye):Vs(p?ve:ie,P,p?ye:Q);E[S]=Me,I[S]=Me-P}t.modifiersData[r]=I}}var AT={name:"preventOverflow",enabled:!0,phase:"main",fn:wT,requiresIfExists:["offset"]};function TT(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function OT(e){return e===an(e)||!xn(e)?Qu(e):TT(e)}function NT(e){var t=e.getBoundingClientRect(),n=qo(t.width)/e.offsetWidth||1,r=qo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function FT(e,t,n){n===void 0&&(n=!1);var r=xn(t),o=xn(t)&&NT(t),s=Hr(t),i=Jo(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Zn(t)!=="body"||ef(s))&&(a=OT(t)),xn(t)?(l=Jo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Zu(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function MT(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function LT(e){var t=MT(e);return KA.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function IT(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function PT(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var gp={placement:"bottom",modifiers:[],strategy:"absolute"};function vp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function tf(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?gp:o;return function(i,a,l){l===void 0&&(l=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},gp,s),modifiersData:{},elements:{reference:i,popper:a},attributes:{},styles:{}},u=[],f=!1,d={state:c,setOptions:function(m){var v=typeof m=="function"?m(c.options):m;h(),c.options=Object.assign({},s,c.options,v),c.scrollParents={reference:go(i)?Hs(i):i.contextElement?Hs(i.contextElement):[],popper:Hs(a)};var g=LT(PT([].concat(r,c.options.modifiers)));return c.orderedModifiers=g.filter(function(_){return _.enabled}),p(),d.update()},forceUpdate:function(){if(!f){var m=c.elements,v=m.reference,g=m.popper;if(vp(v,g)){c.rects={reference:FT(v,yi(g),c.options.strategy==="fixed"),popper:Ju(g)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(O){return c.modifiersData[O.name]=Object.assign({},O.data)});for(var _=0;_<c.orderedModifiers.length;_++){if(c.reset===!0){c.reset=!1,_=-1;continue}var y=c.orderedModifiers[_],x=y.fn,S=y.options,E=S===void 0?{}:S,b=y.name;typeof x=="function"&&(c=x({state:c,options:E,name:b,instance:d})||c)}}}},update:IT(function(){return new Promise(function(m){d.forceUpdate(),m(c)})}),destroy:function(){h(),f=!0}};if(!vp(i,a))return d;d.setOptions(l).then(function(m){!f&&l.onFirstUpdate&&l.onFirstUpdate(m)});function p(){c.orderedModifiers.forEach(function(m){var v=m.name,g=m.options,_=g===void 0?{}:g,y=m.effect;if(typeof y=="function"){var x=y({state:c,name:v,instance:d,options:_}),S=function(){};u.push(x||S)}})}function h(){u.forEach(function(m){return m()}),u=[]}return d}}tf();var DT=[Qg,tv,Xg,Gg];tf({defaultModifiers:DT});var kT=[Qg,tv,Xg,Gg,ET,vT,AT,nT,xT],RT=tf({defaultModifiers:kT});const $T=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const c=BT(l);Object.assign(i.value,c)},requires:["computeStyles"]},o=L(()=>{const{onFirstUpdate:l,placement:c,strategy:u,modifiers:f}=A(n);return{onFirstUpdate:l,placement:c||"bottom",strategy:u||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),s=wt(),i=Z({styles:{popper:{position:A(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return _e(o,l=>{const c=A(s);c&&c.setOptions(l)},{deep:!0}),_e([e,t],([l,c])=>{a(),!(!l||!c)&&(s.value=RT(l,c,A(o)))}),Nt(()=>{a()}),{state:L(()=>({...A(s)?.state||{}})),styles:L(()=>A(i).styles),attributes:L(()=>A(i).attributes),update:()=>A(s)?.update(),forceUpdate:()=>A(s)?.forceUpdate(),instanceRef:L(()=>A(s))}};function BT(e){const t=Object.keys(e.elements);return{styles:Sa(t.map(n=>[n,e.styles[n]||{}])),attributes:Sa(t.map(n=>[n,e.attributes[n]]))}}function _p(){let e;const t=(r,o)=>{n(),e=globalThis.setTimeout(r,o)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return Ou(()=>n()),{registerTimeout:t,cancelTimeout:n}}const kc={prefix:Math.floor(Math.random()*1e4),current:0},VT=Symbol("elIdInjection"),nv=()=>Ye()?Te(VT,kc):kc,pl=e=>{const t=nv();!xt&&t===kc&&Qn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
4
4
  usage: app.provide(ID_INJECTION_KEY, {
5
5
  prefix: number,
6
6
  current: number,
7
- })`);const n=Ku();return tg(()=>A(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Lo=[];const _p=e=>{ti(e)===it.esc&&Lo.forEach(t=>t(e))},VT=e=>{gt(()=>{Lo.length===0&&document.addEventListener("keydown",_p),xt&&Lo.push(e)}),Nt(()=>{Lo=Lo.filter(t=>t!==e),Lo.length===0&&xt&&document.removeEventListener("keydown",_p)})},nv=()=>{const e=Ku(),t=tv(),n=L(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:L(()=>`#${n.value}`)}},HT=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},UT=()=>{const{id:e,selector:t}=nv();return hm(()=>{xt&&(document.body.querySelector(t.value)||HT(e.value))}),{id:e,selector:t}},jT=Xe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),WT=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:s}=vp(),{registerTimeout:i,cancelTimeout:a}=vp();return{onOpen:(u,f=A(e))=>{s(()=>{r(u);const d=A(n);It(d)&&d>0&&i(()=>{o(u)},d)},f)},onClose:(u,f=A(t))=>{a(),s(()=>{o(u)},f)}}},rv=Symbol("elForwardRef"),GT=e=>{At(rv,{setForwardRef:(n=>{e.value=n})})},zT=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),xp={current:0},bp=Z(0),KT=2e3,yp=Symbol("elZIndexContextKey"),ov=Symbol("zIndexContextKey"),sv=e=>{const t=Ye()?Te(yp,xp):xp,n=e||(Ye()?Te(ov,void 0):void 0),r=L(()=>{const i=A(n);return It(i)?i:KT}),o=L(()=>r.value+bp.value),s=()=>(t.current++,bp.value=t.current,o.value);return!xt&&!Te(yp)&&Qn("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
8
- usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:s}},ko=e=>{const t=ce(e)?e:[e],n=[];return t.forEach(r=>{ce(r)?n.push(...ko(r)):zn(r)&&r.component?.subTree?n.push(r,...ko(r.component.subTree)):zn(r)&&ce(r.children)?n.push(...ko(r.children)):zn(r)&&r.shapeFlag===2?n.push(...ko(r.type())):n.push(r)}),n},Ei=fl({type:String,values:nl,required:!1}),iv=Symbol("size"),YT=()=>{const e=Te(iv,{});return L(()=>A(e.size)||"")};function qT(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:o,afterBlur:s}={}){const{emit:i}=Ye(),a=wt(),l=Z(!1),c=d=>{const p=be(n)?n(d):!1;A(t)||l.value||p||(l.value=!0,i("focus",d),r?.())},u=d=>{const p=be(o)?o(d):!1;A(t)||d.relatedTarget&&a.value?.contains(d.relatedTarget)||p||(l.value=!1,i("blur",d),s?.())},f=d=>{A(t)||Zs(d.target)||a.value?.contains(document.activeElement)&&a.value!==document.activeElement||e.value?.focus()};return _e([a,()=>A(t)],([d,p])=>{d&&(p?d.removeAttribute("tabindex"):d.setAttribute("tabindex","-1"))}),_n(a,"focus",c,!0),_n(a,"blur",u,!0),_n(a,"click",f,!0),{isFocused:l,wrapperRef:a,handleFocus:c,handleBlur:u}}function JT({afterComposition:e,emit:t}){const n=Z(!1),r=a=>{t?.("compositionstart",a),n.value=!0},o=a=>{t?.("compositionupdate",a),n.value=!0},s=a=>{t?.("compositionend",a),n.value&&(n.value=!1,rt(()=>e(a)))};return{isComposing:n,handleComposition:a=>{a.type==="compositionend"?s(a):o(a)},handleCompositionStart:r,handleCompositionUpdate:o,handleCompositionEnd:s}}const av=Symbol("emptyValuesContextKey"),XT="use-empty-values",QT=["",void 0,null],lv=Xe({emptyValues:Array,valueOnClear:{type:me([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=be(e)?e():e,ce(e)?e.every(t=>!t):!e)}}),ZT=(e,t)=>{const n=Ye()?Te(av,Z({})):Z({}),r=L(()=>e.emptyValues||n.value.emptyValues||QT),o=L(()=>be(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:be(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),s=i=>{let a=!0;return ce(i)?a=r.value.some(l=>mn(i,l)):a=r.value.includes(i),a};return s(o.value)||Qn(XT,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:o,isEmptyValue:s}},eO=Xe({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),is=e=>Dg(eO,e),cv=e=>{const t=e.props,n=ce(t)?Sa(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[o,s]of Object.entries(r)){const i=n[o];if(Ve(n,o)){if(yg(i)){n[o]={...i,default:s};continue}n[o]={type:i,default:s}}}e.props=n}}},ln=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return cv(e),e},tO=(e,t)=>(e.install=n=>{n.directive(t,e)},e),as=e=>(e.install=pt,cv(e),e);var nO=ue({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),rO=nO,oO=ue({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),te("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),sO=oO,iO=ue({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),te("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),uv=iO,aO=ue({name:"Close",__name:"close",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Ep=aO,lO=ue({name:"Loading",__name:"loading",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),fv=lO;const vo=me([String,Object,Function]),cO={validating:fv,success:sO,error:uv},uO=Xe({size:{type:me([Number,String])},color:{type:String}});var fO=ue({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:uO,setup(e){const t=e,n=Qe("icon"),r=L(()=>{const{size:o,color:s}=t,i=ei(o);return!i&&!s?{}:{fontSize:i,"--color":s}});return(o,s)=>(U(),ae("i",Dt({class:A(n).b(),style:r.value},o.$attrs),[Se(o.$slots,"default")],16))}}),dO=fO;const _o=ln(dO),dv=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],pv=Xe({role:{type:String,values:dv,default:"tooltip"}}),nf=Symbol("popper"),hv=Symbol("popperContent");var pO=ue({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Qe("popper"),{arrowRef:r,arrowStyle:o}=Te(hv,void 0);return Nt(()=>{r.value=void 0}),t({arrowRef:r}),(s,i)=>(U(),ae("span",{ref_key:"arrowRef",ref:r,class:de(A(n).e("arrow")),style:St(A(o)),"data-popper-arrow":""},null,6))}}),hO=pO;const mv=Xe({virtualRef:{type:me(Object)},virtualTriggering:Boolean,onMouseenter:{type:me(Function)},onMouseleave:{type:me(Function)},onClick:{type:me(Function)},onKeydown:{type:me(Function)},onFocus:{type:me(Function)},onBlur:{type:me(Function)},onContextmenu:{type:me(Function)},id:String,open:Boolean}),Wl="ElOnlyChild",mO=ue({name:Wl,setup(e,{slots:t,attrs:n}){const r=zT(Te(rv)?.setForwardRef??pt);return()=>{const o=t.default?.(n);if(!o)return null;const[s,i]=gv(o);return s?(i>1&&Qn(Wl,"requires exact only one valid child."),Jn(Xn(s,n),[[r]])):(Qn(Wl,"no valid child node found"),null)}}});function gv(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==yt).length;for(const r of t){if(we(r))switch(r.type){case yt:continue;case Eo:case"svg":return[Cp(r),n];case ke:return gv(r.children);default:return[r,n]}return[Cp(r),n]}return[null,0]}function Cp(e){return ee("span",{class:Qe("only-child").e("content")},[e])}var gO=ue({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:mv,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=Te(nf,void 0);GT(o);const s=L(()=>a.value?n.id:void 0),i=L(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),a=L(()=>{if(r&&r.value!=="tooltip")return r.value}),l=L(()=>a.value?`${n.open}`:void 0);let c;const u=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return gt(()=>{_e(()=>n.virtualRef,f=>{f&&(o.value=Wt(f))},{immediate:!0}),_e(o,(f,d)=>{c?.(),c=void 0,ro(d)&&u.forEach(p=>{const h=n[p];h&&d.removeEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),ro(f)&&(u.forEach(p=>{const h=n[p];h&&f.addEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),Zs(f)&&(c=_e([s,i,a,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{_i(p[m])?f.removeAttribute(h):f.setAttribute(h,p[m])})},{immediate:!0}))),ro(d)&&Zs(d)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>d.removeAttribute(p))},{immediate:!0})}),Nt(()=>{if(c?.(),c=void 0,o.value&&ro(o.value)){const f=o.value;u.forEach(d=>{const p=n[d];p&&f.removeEventListener(d.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(d))}),o.value=void 0}}),t({triggerRef:o}),(f,d)=>e.virtualTriggering?Ae("v-if",!0):(U(),he(A(mO),Dt({key:0},f.$attrs,{"aria-controls":s.value,"aria-describedby":i.value,"aria-expanded":l.value,"aria-haspopup":a.value}),{default:pe(()=>[Se(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),vO=gO;const vv=Xe({arrowOffset:{type:Number,default:5}}),_O=Xe({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:me(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:bi,default:"bottom"},popperOptions:{type:me(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),_v=Xe({..._O,...vv,id:String,style:{type:me([String,Array,Object,Boolean]),default:void 0},className:{type:me([String,Array,Object])},effect:{type:me(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:me([String,Array,Object])},popperStyle:{type:me([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:me(Object)},triggerTargetEl:{type:me(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...is(["ariaLabel"]),loop:Boolean}),xO={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},hl=Symbol("formContextKey"),Ta=Symbol("formItemContextKey"),oi=(e,t={})=>{const n=Z(void 0),r=t.prop?n:Ug("size"),o=t.global?n:YT(),s=t.form?{size:void 0}:Te(hl,void 0),i=t.formItem?{size:void 0}:Te(Ta,void 0);return L(()=>r.value||A(e)||i?.size||s?.size||o.value||"")},Ci=e=>{const t=Ug("disabled"),n=Te(hl,void 0);return L(()=>t.value??A(e)??n?.disabled??!1)},Si=()=>({form:Te(hl,void 0),formItem:Te(Ta,void 0)}),rf=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=Z(!1)),r||(r=Z(!1));const o=Ye(),s=()=>{let c=o?.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},i=Z();let a;const l=L(()=>!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&t.inputIds?.length<=1));return gt(()=>{a=_e([en(e,"id"),n],([c,u])=>{const f=c??(u?void 0:pl().value);f!==i.value&&(t?.removeInputId&&!s()&&(i.value&&t.removeInputId(i.value),!r?.value&&!u&&f&&t.addInputId(f)),i.value=f)},{immediate:!0})}),yo(()=>{a&&a(),t?.removeInputId&&i.value&&t.removeInputId(i.value)}),{isLabeledByFormItem:l,inputId:i}},bO=e=>!e&&e!==0?[]:ce(e)?e:[e],Gl="focus-trap.focus-after-trapped",zl="focus-trap.focus-after-released",yO="focus-trap.focusout-prevented",Sp={cancelable:!0,bubbles:!1},EO={cancelable:!0,bubbles:!1},wp="focusAfterTrapped",Ap="focusAfterReleased",CO=Symbol("elFocusTrap"),of=Z(),ml=Z(0),sf=Z(0);let Ui=0;const xv=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Tp=(e,t)=>{for(const n of e)if(!SO(n,t))return n},SO=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},wO=e=>{const t=xv(e);return[Tp(t,e),Tp(t.reverse(),e)]},AO=e=>e instanceof HTMLInputElement&&"select"in e,Mr=(e,t)=>{if(e){const n=document.activeElement;Gu(e,{preventScroll:!0}),sf.value=window.performance.now(),e!==n&&AO(e)&&t&&e.select()}};function Op(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const TO=()=>{let e=[];return{push:r=>{const o=e[0];o&&r!==o&&o.pause(),e=Op(e,r),e.unshift(r)},remove:r=>{e=Op(e,r),e[0]?.resume?.()}}},OO=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Mr(r,t),document.activeElement!==n)return},Np=TO(),NO=()=>ml.value>sf.value,ji=()=>{of.value="pointer",ml.value=window.performance.now()},Fp=()=>{of.value="keyboard",ml.value=window.performance.now()},FO=()=>(gt(()=>{Ui===0&&(document.addEventListener("mousedown",ji),document.addEventListener("touchstart",ji),document.addEventListener("keydown",Fp)),Ui++}),Nt(()=>{Ui--,Ui<=0&&(document.removeEventListener("mousedown",ji),document.removeEventListener("touchstart",ji),document.removeEventListener("keydown",Fp))}),{focusReason:of,lastUserFocusTimestamp:ml,lastAutomatedFocusTimestamp:sf}),Wi=e=>new CustomEvent(yO,{...EO,detail:e});var MO=ue({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[wp,Ap,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Z();let r,o;const{focusReason:s}=FO();VT(h=>{e.trapped&&!i.paused&&t("release-requested",h)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=h=>{if(!e.loop&&!e.trapped||i.paused)return;const{altKey:m,ctrlKey:v,metaKey:g,currentTarget:_,shiftKey:y}=h,{loop:x}=e,S=ti(h)===it.tab&&!m&&!v&&!g,E=document.activeElement;if(S&&E){const b=_,[O,F]=wO(b);if(O&&F){if(!y&&E===F){const V=Wi({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||(h.preventDefault(),x&&Mr(O,!0))}else if(y&&[O,b].includes(E)){const V=Wi({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||(h.preventDefault(),x&&Mr(F,!0))}}else if(E===b){const V=Wi({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||h.preventDefault()}}};At(CO,{focusTrapRef:n,onKeydown:a}),_e(()=>e.focusTrapEl,h=>{h&&(n.value=h)},{immediate:!0}),_e([n],([h],[m])=>{h&&(h.addEventListener("keydown",a),h.addEventListener("focusin",u),h.addEventListener("focusout",f)),m&&(m.removeEventListener("keydown",a),m.removeEventListener("focusin",u),m.removeEventListener("focusout",f))});const l=h=>{t(wp,h)},c=h=>t(Ap,h),u=h=>{const m=A(n);if(!m)return;const v=h.target,g=h.relatedTarget,_=v&&m.contains(v);e.trapped||g&&m.contains(g)||(r=g),_&&t("focusin",h),!i.paused&&e.trapped&&(_?o=v:Mr(o,!0))},f=h=>{const m=A(n);if(!(i.paused||!m))if(e.trapped){const v=h.relatedTarget;!_i(v)&&!m.contains(v)&&setTimeout(()=>{if(!i.paused&&e.trapped){const g=Wi({focusReason:s.value});t("focusout-prevented",g),g.defaultPrevented||Mr(o,!0)}},0)}else{const v=h.target;v&&m.contains(v)||t("focusout",h)}};async function d(){await rt();const h=A(n);if(h){Np.push(i);const m=h.contains(document.activeElement)?r:document.activeElement;if(r=m,!h.contains(m)){const v=new Event(Gl,Sp);h.addEventListener(Gl,l),h.dispatchEvent(v),v.defaultPrevented||rt(()=>{let g=e.focusStartEl;Re(g)||(Mr(g),document.activeElement!==g&&(g="first")),g==="first"&&OO(xv(h),!0),(document.activeElement===m||g==="container")&&Mr(h)})}}}function p(){const h=A(n);if(h){h.removeEventListener(Gl,l);const m=new CustomEvent(zl,{...Sp,detail:{focusReason:s.value}});h.addEventListener(zl,c),h.dispatchEvent(m),!m.defaultPrevented&&(s.value=="keyboard"||!NO()||h.contains(document.activeElement))&&Mr(r??document.body),h.removeEventListener(zl,c),Np.remove(i),r=null,o=null}}return gt(()=>{e.trapped&&d(),_e(()=>e.trapped,h=>{h?d():p()})}),Nt(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",a),n.value.removeEventListener("focusin",u),n.value.removeEventListener("focusout",f),n.value=void 0),r=null,o=null}),{onKeydown:a}}}),wi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function LO(e,t,n,r,o,s){return Se(e.$slots,"default",{handleKeydown:e.onKeydown})}var IO=wi(MO,[["render",LO]]),PO=IO;const DO=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,s={placement:n,strategy:r,...o,modifiers:[...RO(e),...t]};return $O(s,o?.modifiers),s},kO=e=>{if(xt)return Wt(e)};function RO(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function $O(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const BO=0,VO=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=Te(nf,void 0),s=Z(),i=L(()=>e.arrowOffset),a=L(()=>({name:"eventListeners",enabled:!!e.visible})),l=L(()=>{const _=A(s),y=A(i)??BO;return{name:"arrow",enabled:!Qw(_),options:{element:_,padding:y}}}),c=L(()=>({onFirstUpdate:()=>{h()},...DO(e,[A(l),A(a)])})),u=L(()=>kO(e.referenceEl)||A(r)),{attributes:f,state:d,styles:p,update:h,forceUpdate:m,instanceRef:v}=RT(u,n,c);_e(v,_=>t.value=_,{flush:"sync"}),gt(()=>{_e(()=>A(u)?.getBoundingClientRect?.(),()=>{h()})});let g;return _e(()=>e.visible,_=>{g?.(),g=void 0,_&&(g=On(n,h).stop)}),Nt(()=>{t.value=void 0,g?.(),g=void 0}),{attributes:f,arrowRef:s,contentRef:n,instanceRef:v,state:d,styles:p,role:o,forceUpdate:m,update:h}},HO=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=sv(),s=Qe("popper"),i=L(()=>A(t).popper),a=Z(It(e.zIndex)?e.zIndex:o()),l=L(()=>[s.b(),s.is("pure",e.pure),s.is(e.effect),e.popperClass]),c=L(()=>[{zIndex:A(a)},A(n).popper,e.popperStyle||{}]),u=L(()=>r.value==="dialog"?"false":void 0),f=L(()=>A(n).arrow||{});return{ariaModal:u,arrowStyle:f,contentAttrs:i,contentClass:l,contentStyle:c,contentZIndex:a,updateZIndex:()=>{a.value=It(e.zIndex)?e.zIndex:o()}}},UO=(e,t)=>{const n=Z(!1),r=Z(),o=()=>{t("focus")},s=c=>{c.detail?.focusReason!=="pointer"&&(r.value="first",t("blur"))},i=c=>{e.visible&&!n.value&&(c.target&&(r.value=c.target),n.value=!0)},a=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},l=()=>{n.value=!1,t("close")};return Nt(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:s,onFocusAfterTrapped:o,onFocusInTrap:i,onFocusoutPrevented:a,onReleaseRequested:l}};var jO=ue({name:"ElPopperContent",__name:"content",props:_v,emits:xO,setup(e,{expose:t,emit:n}){const r=n,o=e,{focusStartRef:s,trapped:i,onFocusAfterReleased:a,onFocusAfterTrapped:l,onFocusInTrap:c,onFocusoutPrevented:u,onReleaseRequested:f}=UO(o,r),{attributes:d,arrowRef:p,contentRef:h,styles:m,instanceRef:v,role:g,update:_}=VO(o),{ariaModal:y,arrowStyle:x,contentAttrs:S,contentClass:E,contentStyle:b,updateZIndex:O}=HO(o,{styles:m,attributes:d,role:g}),F=Te(Ta,void 0);At(hv,{arrowStyle:x,arrowRef:p}),F&&At(Ta,{...F,addInputId:pt,removeInputId:pt});let V;const W=(Y=!0)=>{_(),Y&&O()},I=()=>{W(!1),o.visible&&o.focusOnShow?i.value=!0:o.visible===!1&&(i.value=!1)};return gt(()=>{_e(()=>o.triggerTargetEl,(Y,H)=>{V?.(),V=void 0;const D=A(Y||h.value),M=A(H||h.value);ro(D)&&(V=_e([g,()=>o.ariaLabel,y,()=>o.id],R=>{["role","aria-label","aria-modal","id"].forEach((j,ne)=>{_i(R[ne])?D.removeAttribute(j):D.setAttribute(j,R[ne])})},{immediate:!0})),M!==D&&ro(M)&&["role","aria-label","aria-modal","id"].forEach(R=>{M.removeAttribute(R)})},{immediate:!0}),_e(()=>o.visible,I,{immediate:!0})}),Nt(()=>{V?.(),V=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:v,updatePopper:W,contentStyle:b}),(Y,H)=>(U(),ae("div",Dt({ref_key:"contentRef",ref:h},A(S),{style:A(b),class:A(E),tabindex:"-1",onMouseenter:H[0]||(H[0]=D=>Y.$emit("mouseenter",D)),onMouseleave:H[1]||(H[1]=D=>Y.$emit("mouseleave",D))}),[ee(A(PO),{loop:e.loop,trapped:A(i),"trap-on-focus-in":!0,"focus-trap-el":A(h),"focus-start-el":A(s),onFocusAfterTrapped:A(l),onFocusAfterReleased:A(a),onFocusin:A(c),onFocusoutPrevented:A(u),onReleaseRequested:A(f)},{default:pe(()=>[Se(Y.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),WO=jO,GO=ue({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:pv,setup(e,{expose:t}){const n=e,r={triggerRef:Z(),popperInstanceRef:Z(),contentRef:Z(),referenceRef:Z(),role:L(()=>n.role)};return t(r),At(nf,r),(o,s)=>Se(o.$slots,"default")}}),zO=GO;const KO=ln(zO),ft=Xe({...jT,..._v,appendTo:{type:me([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:me(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...is(["ariaLabel"])}),$r=Xe({...mv,disabled:Boolean,trigger:{type:me([String,Array]),default:"hover"},triggerKeys:{type:me(Array),default:()=>[it.enter,it.numpadEnter,it.space]},focusOnTarget:Boolean}),{useModelToggleProps:YO,useModelToggleEmits:qO,useModelToggle:JO}=PA("visible"),XO=Xe({...pv,...YO,...ft,...$r,...vv,showArrow:{type:Boolean,default:!0}}),QO=[...qO,"before-show","before-hide","show","hide","open","close"],af=Symbol("elTooltip"),Rc=(e,t)=>ce(e)?e.includes(t):e===t,To=(e,t,n)=>r=>{Rc(A(e),t)&&n(r)};var ZO=ue({name:"ElTooltipTrigger",__name:"trigger",props:$r,setup(e,{expose:t}){const n=e,r=Qe("tooltip"),{controlled:o,id:s,open:i,onOpen:a,onClose:l,onToggle:c}=Te(af,void 0),u=Z(null),f=()=>{if(A(o)||n.disabled)return!0},d=en(n,"trigger"),p=ar(f,To(d,"hover",x=>{a(x),n.focusOnTarget&&x.target&&rt(()=>{Gu(x.target,{preventScroll:!0})})})),h=ar(f,To(d,"hover",l)),m=ar(f,To(d,"click",x=>{x.button===0&&c(x)})),v=ar(f,To(d,"focus",a)),g=ar(f,To(d,"focus",l)),_=ar(f,To(d,"contextmenu",x=>{x.preventDefault(),c(x)})),y=ar(f,x=>{const S=ti(x);n.triggerKeys.includes(S)&&(x.preventDefault(),c(x))});return t({triggerRef:u}),(x,S)=>(U(),he(A(vO),{id:A(s),"virtual-ref":e.virtualRef,open:A(i),"virtual-triggering":e.virtualTriggering,class:de(A(r).e("trigger")),onBlur:A(g),onClick:A(m),onContextmenu:A(_),onFocus:A(v),onMouseenter:A(p),onMouseleave:A(h),onKeydown:A(y)},{default:pe(()=>[Se(x.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),eN=ZO,tN=ue({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:ft,setup(e,{expose:t}){const n=e,{selector:r}=nv(),o=Qe("tooltip"),s=Z(),i=tg(()=>s.value?.popperContentRef);let a;const{controlled:l,id:c,open:u,trigger:f,onClose:d,onOpen:p,onShow:h,onHide:m,onBeforeShow:v,onBeforeHide:g}=Te(af,void 0),_=L(()=>n.transition||`${o.namespace.value}-fade-in-linear`),y=L(()=>n.persistent);Nt(()=>{a?.()});const x=L(()=>A(y)?!0:A(u)),S=L(()=>n.disabled?!1:A(u)),E=L(()=>n.appendTo||r.value),b=L(()=>n.style??{}),O=Z(!0),F=()=>{m(),R()&&Gu(document.body,{preventScroll:!0}),O.value=!0},V=()=>{if(A(l))return!0},W=ar(V,()=>{n.enterable&&Rc(A(f),"hover")&&p()}),I=ar(V,()=>{Rc(A(f),"hover")&&d()}),Y=()=>{s.value?.updatePopper?.(),v?.()},H=()=>{g?.()},D=()=>{h()},M=()=>{n.virtualTriggering||d()},R=j=>{const ne=s.value?.popperContentRef,le=j?.relatedTarget||document.activeElement;return ne?.contains(le)};return _e(()=>A(u),j=>{j?(O.value=!1,a=Fy(i,()=>{A(l)||bO(A(f)).every(ne=>ne!=="hover"&&ne!=="focus")&&d()},{detectIframe:!0})):a?.()},{flush:"post"}),t({contentRef:s,isFocusInsideContent:R}),(j,ne)=>(U(),he(Vx,{disabled:!e.teleported,to:E.value},[x.value||!O.value?(U(),he(el,{key:0,name:_.value,appear:!y.value,onAfterLeave:F,onBeforeEnter:Y,onAfterEnter:D,onBeforeLeave:H,persisted:""},{default:pe(()=>[Jn(ee(A(WO),Dt({id:A(c),ref_key:"contentRef",ref:s},j.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":O.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,b.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:S.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:A(W),onMouseleave:A(I),onBlur:M,onClose:A(d)}),{default:pe(()=>[Se(j.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[os,S.value]])]),_:3},8,["name","appear"])):Ae("v-if",!0)],8,["disabled","to"]))}}),nN=tN;const rN=["innerHTML"],oN={key:1};var sN=ue({name:"ElTooltip",__name:"tooltip",props:XO,emits:QO,setup(e,{expose:t,emit:n}){const r=e,o=n;UT();const s=Qe("tooltip"),i=pl(),a=Z(),l=Z(),c=()=>{const x=A(a);x&&x.popperInstanceRef?.update()},u=Z(!1),f=Z(),{show:d,hide:p,hasUpdateHandler:h}=JO({indicator:u,toggleReason:f}),{onOpen:m,onClose:v}=WT({showAfter:en(r,"showAfter"),hideAfter:en(r,"hideAfter"),autoClose:en(r,"autoClose"),open:d,close:p}),g=L(()=>xr(r.visible)&&!h.value),_=L(()=>[s.b(),r.popperClass]);At(af,{controlled:g,id:i,open:Wo(u),trigger:en(r,"trigger"),onOpen:m,onClose:v,onToggle:x=>{A(u)?v(x):m(x)},onShow:()=>{o("show",f.value)},onHide:()=>{o("hide",f.value)},onBeforeShow:()=>{o("before-show",f.value)},onBeforeHide:()=>{o("before-hide",f.value)},updatePopper:c}),_e(()=>r.disabled,x=>{x&&u.value&&(u.value=!1),!x&&xr(r.visible)&&(u.value=r.visible)});const y=x=>l.value?.isFocusInsideContent(x);return dm(()=>u.value&&p()),Nt(()=>{f.value=void 0}),t({popperRef:a,contentRef:l,isFocusInsideContent:y,updatePopper:c,onOpen:m,onClose:v,hide:p}),(x,S)=>(U(),he(A(KO),{ref_key:"popperRef",ref:a,role:e.role},{default:pe(()=>[ee(eN,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:pe(()=>[x.$slots.default?Se(x.$slots,"default",{key:0}):Ae("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),ee(nN,{ref_key:"contentRef",ref:l,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":_.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:pe(()=>[Se(x.$slots,"content",{},()=>[e.rawContent?(U(),ae("span",{key:0,innerHTML:e.content},null,8,rN)):(U(),ae("span",oN,De(e.content),1))]),e.showArrow?(U(),he(A(hO),{key:0})):Ae("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),iN=sN;const lf=ln(iN),aN=Xe({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:me([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:me([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...is(["ariaLabel","ariaOrientation"])}),$c={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(It)},lN={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},cN=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),uN=Xe({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),cf=Symbol("scrollbarContextKey");function Mp(e,t,n=.03){return e-t>n}const fN=Xe({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),dN="Thumb";var pN=ue({__name:"thumb",props:uN,setup(e){const t=e,n=Te(cf),r=Qe("scrollbar");n||Rg(dN,"can not inject scrollbar context");const o=Z(),s=Z(),i=Z({}),a=Z(!1);let l=!1,c=!1,u=0,f=0,d=xt?document.onselectstart:null;const p=L(()=>lN[t.vertical?"vertical":"horizontal"]),h=L(()=>cN({size:t.size,move:t.move,bar:p.value})),m=L(()=>o.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/s.value[p.value.offset]),v=O=>{if(O.stopPropagation(),O.ctrlKey||[1,2].includes(O.button))return;window.getSelection()?.removeAllRanges(),_(O);const F=O.currentTarget;F&&(i.value[p.value.axis]=F[p.value.offset]-(O[p.value.client]-F.getBoundingClientRect()[p.value.direction]))},g=O=>{if(!s.value||!o.value||!n.wrapElement)return;const F=(Math.abs(O.target.getBoundingClientRect()[p.value.direction]-O[p.value.client])-s.value[p.value.offset]/2)*100*m.value/o.value[p.value.offset];n.wrapElement[p.value.scroll]=F*n.wrapElement[p.value.scrollSize]/100},_=O=>{O.stopImmediatePropagation(),l=!0,u=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",y),document.addEventListener("mouseup",x),d=document.onselectstart,document.onselectstart=()=>!1},y=O=>{if(!o.value||!s.value||l===!1)return;const F=i.value[p.value.axis];if(!F)return;const V=((o.value.getBoundingClientRect()[p.value.direction]-O[p.value.client])*-1-(s.value[p.value.offset]-F))*100*m.value/o.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=V*f/100:n.wrapElement[p.value.scroll]=V*u/100},x=()=>{l=!1,i.value[p.value.axis]=0,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",x),b(),c&&(a.value=!1)},S=()=>{c=!1,a.value=!!t.size},E=()=>{c=!0,a.value=l};Nt(()=>{b(),document.removeEventListener("mouseup",x)});const b=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return _n(en(n,"scrollbarElement"),"mousemove",S),_n(en(n,"scrollbarElement"),"mouseleave",E),(O,F)=>(U(),he(el,{name:A(r).b("fade"),persisted:""},{default:pe(()=>[Jn(te("div",{ref_key:"instance",ref:o,class:de([A(r).e("bar"),A(r).is(p.value.key)]),onMousedown:g,onClick:F[0]||(F[0]=Tn(()=>{},["stop"]))},[te("div",{ref_key:"thumb",ref:s,class:de(A(r).e("thumb")),style:St(h.value),onMousedown:v},null,38)],34),[[os,e.always||a.value]])]),_:1},8,["name"]))}}),Lp=pN,hN=ue({__name:"bar",props:fN,setup(e,{expose:t}){const n=e,r=Te(cf),o=Z(0),s=Z(0),i=Z(""),a=Z(""),l=Z(1),c=Z(1);return t({handleScroll:d=>{if(d){const p=d.offsetHeight-4,h=d.offsetWidth-4;s.value=d.scrollTop*100/p*l.value,o.value=d.scrollLeft*100/h*c.value}},update:()=>{const d=r?.wrapElement;if(!d)return;const p=d.offsetHeight-4,h=d.offsetWidth-4,m=p**2/d.scrollHeight,v=h**2/d.scrollWidth,g=Math.max(m,n.minSize),_=Math.max(v,n.minSize);l.value=m/(p-m)/(g/(p-g)),c.value=v/(h-v)/(_/(h-_)),a.value=g+4<p?`${g}px`:"",i.value=_+4<h?`${_}px`:""}}),(d,p)=>(U(),ae(ke,null,[ee(Lp,{move:o.value,ratio:c.value,size:i.value,always:e.always},null,8,["move","ratio","size","always"]),ee(Lp,{move:s.value,ratio:l.value,size:a.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),mN=hN;const gN=["tabindex"],Kl="ElScrollbar";var vN=ue({name:Kl,__name:"scrollbar",props:aN,emits:$c,setup(e,{expose:t,emit:n}){const r=e,o=n,s=Qe("scrollbar");let i,a,l,c=0,u=0,f="";const d={bottom:!1,top:!1,right:!1,left:!1},p=Z(),h=Z(),m=Z(),v=Z(),g=L(()=>{const I={},Y=ei(r.height),H=ei(r.maxHeight);return Y&&(I.height=Y),H&&(I.maxHeight=H),[r.wrapStyle,I]}),_=L(()=>[r.wrapClass,s.e("wrap"),{[s.em("wrap","hidden-default")]:!r.native}]),y=L(()=>[s.e("view"),r.viewClass]),x=I=>d[I]??!1,S={top:"bottom",bottom:"top",left:"right",right:"left"},E=I=>{const Y=S[f];if(!Y)return;const H=I[f],D=I[Y];H&&!d[f]&&(d[f]=!0),!D&&d[Y]&&(d[Y]=!1)},b=()=>{if(h.value){v.value?.handleScroll(h.value);const I=c,Y=u;c=h.value.scrollTop,u=h.value.scrollLeft;const H={bottom:!Mp(h.value.scrollHeight-r.distance,h.value.clientHeight+c),top:c<=r.distance&&I!==0,right:!Mp(h.value.scrollWidth-r.distance,h.value.clientWidth+u)&&Y!==u,left:u<=r.distance&&Y!==0};if(o("scroll",{scrollTop:c,scrollLeft:u}),I!==c&&(f=c>I?"bottom":"top"),Y!==u&&(f=u>Y?"right":"left"),r.distance>0){if(x(f))return;E(H)}H[f]&&o("end-reached",f)}};function O(I,Y){we(I)?h.value.scrollTo(I):It(I)&&It(Y)&&h.value.scrollTo(I,Y)}const F=I=>{if(!It(I)){Qn(Kl,"value must be a number");return}h.value.scrollTop=I},V=I=>{if(!It(I)){Qn(Kl,"value must be a number");return}h.value.scrollLeft=I},W=()=>{v.value?.update(),d[f]=!1,h.value&&v.value?.handleScroll(h.value)};return _e(()=>r.noresize,I=>{I?(i?.(),a?.(),l?.()):({stop:i}=On(m,W),{stop:a}=On(h,W),l=_n("resize",W))},{immediate:!0}),_e(()=>[r.maxHeight,r.height],()=>{r.native||rt(()=>{W()})}),At(cf,Jt({scrollbarElement:p,wrapElement:h})),fm(()=>{h.value&&(h.value.scrollTop=c,h.value.scrollLeft=u)}),gt(()=>{r.native||rt(()=>{W()})}),yu(()=>W()),t({wrapRef:h,update:W,scrollTo:O,setScrollTop:F,setScrollLeft:V,handleScroll:b}),(I,Y)=>(U(),ae("div",{ref_key:"scrollbarRef",ref:p,class:de(A(s).b())},[te("div",{ref_key:"wrapRef",ref:h,class:de(_.value),style:St(g.value),tabindex:e.tabindex,onScroll:b},[(U(),he(vn(e.tag),{id:e.id,ref_key:"resizeRef",ref:m,class:de(y.value),style:St(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:pe(()=>[Se(I.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,gN),e.native?Ae("v-if",!0):(U(),he(mN,{key:0,ref_key:"barRef",ref:v,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),_N=vN;const xN=ln(_N),bN=Xe({size:{type:[Number,String],values:nl,validator:e=>It(e)},shape:{type:String,values:["circle","square"]},icon:{type:vo},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:me(String),default:"cover"}}),yN={error:e=>e instanceof Event},bv=Symbol("avatarGroupContextKey"),EN={size:{type:me([Number,String]),values:nl,validator:e=>It(e)},shape:{type:me(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:me(String),default:"light"},placement:{type:me(String),values:bi,default:"top"},popperClass:ft.popperClass,popperStyle:ft.popperStyle,collapseClass:String,collapseStyle:{type:me([String,Array,Object,Boolean]),default:void 0}},CN=["src","alt","srcset"];var SN=ue({name:"ElAvatar",__name:"avatar",props:bN,emits:yN,setup(e,{emit:t}){const n=e,r=t,o=Te(bv,void 0),s=Qe("avatar"),i=Z(!1),a=L(()=>n.size??o?.size),l=L(()=>n.shape??o?.shape??"circle"),c=L(()=>{const{icon:p}=n,h=[s.b()];return Re(a.value)&&h.push(s.m(a.value)),p&&h.push(s.m("icon")),l.value&&h.push(s.m(l.value)),h}),u=L(()=>It(a.value)?s.cssVarBlock({size:ei(a.value)}):void 0),f=L(()=>({objectFit:n.fit}));_e(()=>[n.src,n.srcSet],()=>i.value=!1);function d(p){i.value=!0,r("error",p)}return(p,h)=>(U(),ae("span",{class:de(c.value),style:St(u.value)},[(e.src||e.srcSet)&&!i.value?(U(),ae("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:St(f.value),onError:d},null,44,CN)):e.icon?(U(),he(A(_o),{key:1},{default:pe(()=>[(U(),he(vn(e.icon)))]),_:1})):Se(p.$slots,"default",{key:2})],6))}}),yv=SN,Ev=ue({name:"ElAvatarGroup",props:EN,setup(e,{slots:t}){const n=Qe("avatar-group");return At(bv,Jt({size:en(e,"size"),shape:en(e,"shape")})),()=>{const r=ko(t.default?.()??[]);let o=r;if(e.collapseAvatars&&r.length>e.maxCollapseAvatars){o=r.slice(0,e.maxCollapseAvatars);const s=r.slice(e.maxCollapseAvatars);o.push(ee(lf,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>ee(yv,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[Tt("+ "),s.length]}),content:()=>ee("div",{class:n.e("collapse-avatars")},[s.map((i,a)=>zn(i)?Xn(i,{key:i.key??a}):i)])}))}return ee("div",{class:n.b()},[o])}}});const wN=ln(yv,{AvatarGroup:Ev});as(Ev);const AN=["default","primary","success","warning","info","danger","text",""],TN=["button","submit","reset"],Bc=Xe({size:Ei,disabled:{type:Boolean,default:void 0},type:{type:String,values:AN,default:""},icon:{type:vo},nativeType:{type:String,values:TN,default:"button"},loading:Boolean,loadingIcon:{type:vo,default:()=>fv},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:me([String,Object]),default:"button"}}),ON={click:e=>e instanceof MouseEvent},Cv=Symbol(),Oa=Z();function Ai(e,t=void 0){const n=Ye()?Te(Cv,Oa):Oa;return e?L(()=>n.value?.[e]??t):n}function NN(e,t){const n=Ai(),r=Qe(e,L(()=>n.value?.namespace||"el")),o=zu(L(()=>n.value?.locale)),s=sv(L(()=>n.value?.zIndex||2e3)),i=L(()=>A(t)||n.value?.size||"");return Sv(L(()=>A(n)||{})),{ns:r,locale:o,zIndex:s,size:i}}const Sv=(e,t,n=!1)=>{const r=!!Ye(),o=r?Ai():void 0,s=r?At:void 0;if(!s){Qn("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=L(()=>{const a=A(e);return o?.value?FN(o.value,a):a});return s(Cv,i),s(Vg,L(()=>i.value.locale)),s(Hg,L(()=>i.value.namespace)),s(ov,L(()=>i.value.zIndex)),s(iv,{size:L(()=>i.value.size||"")}),s(av,L(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!Oa.value)&&(Oa.value=i.value),i},FN=(e,t)=>{const n=[...new Set([...sp(e),...sp(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},MN=Xe({a11y:{type:Boolean,default:!0},locale:{type:me(Object)},size:Ei,button:{type:me(Object)},card:{type:me(Object)},dialog:{type:me(Object)},link:{type:me(Object)},experimentalFeatures:{type:me(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:me(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:me(Object)},...lv}),LN={placement:"top"},IN=ue({name:"ElConfigProvider",props:MN,setup(e,{slots:t}){const n=Sv(e);return _e(()=>e.message,r=>{Object.assign(LN,n?.value?.message??{},r??{})},{immediate:!0,deep:!0}),()=>Se(t,"default",{config:n?.value})}}),PN=ln(IN),wv=Symbol("buttonGroupContextKey"),DN=(e,t)=>{Bs({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},L(()=>e.type==="text"));const n=Te(wv,void 0),r=Ai("button"),{form:o}=Si(),s=oi(L(()=>n?.size)),i=Ci(),a=Z(),l=Xa(),c=L(()=>e.type||n?.type||r.value?.type||""),u=L(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),f=L(()=>e.plain??r.value?.plain??!1),d=L(()=>e.round??r.value?.round??!1),p=L(()=>e.text??r.value?.text??!1),h=L(()=>e.dashed??r.value?.dashed??!1),m=L(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),v=L(()=>{const _=l.default?.();if(u.value&&_?.length===1){const y=_[0];if(y?.type===Eo){const x=y.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(x.trim())}}return!1});return{_disabled:i,_size:s,_type:c,_ref:a,_props:m,_plain:f,_round:d,_text:p,_dashed:h,shouldAddSpace:v,handleClick:_=>{if(i.value||e.loading){_.stopPropagation();return}e.nativeType==="reset"&&o?.resetFields(),t("click",_)}}};function Ot(e,t){kN(e)&&(e="100%");const n=RN(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Gi(e){return Math.min(1,Math.max(0,e))}function kN(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function RN(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Av(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function zi(e){return Number(e)<=1?`${Number(e)*100}%`:e}function oo(e){return e.length===1?"0"+e:String(e)}function $N(e,t,n){return{r:Ot(e,255)*255,g:Ot(t,255)*255,b:Ot(n,255)*255}}function Ip(e,t,n){e=Ot(e,255),t=Ot(t,255),n=Ot(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0,i=0;const a=(r+o)/2;if(r===o)i=0,s=0;else{const l=r-o;switch(i=a>.5?l/(2-r-o):l/(r+o),r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:i,l:a}}function Yl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function BN(e,t,n){let r,o,s;if(e=Ot(e,360),t=Ot(t,100),n=Ot(n,100),t===0)o=n,s=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=Yl(a,i,e+1/3),o=Yl(a,i,e),s=Yl(a,i,e-1/3)}return{r:r*255,g:o*255,b:s*255}}function Pp(e,t,n){e=Ot(e,255),t=Ot(t,255),n=Ot(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0;const i=r,a=r-o,l=r===0?0:a/r;if(r===o)s=0;else{switch(r){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:l,v:i}}function VN(e,t,n){e=Ot(e,360)*6,t=Ot(t,100),n=Ot(n,100);const r=Math.floor(e),o=e-r,s=n*(1-t),i=n*(1-o*t),a=n*(1-(1-o)*t),l=r%6,c=[n,i,s,s,a,n][l],u=[a,n,n,i,s,s][l],f=[s,s,a,n,n,i][l];return{r:c*255,g:u*255,b:f*255}}function Dp(e,t,n,r){const o=[oo(Math.round(e).toString(16)),oo(Math.round(t).toString(16)),oo(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function HN(e,t,n,r,o){const s=[oo(Math.round(e).toString(16)),oo(Math.round(t).toString(16)),oo(Math.round(n).toString(16)),oo(jN(r))];return o&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function UN(e,t,n,r){const o=e/100,s=t/100,i=n/100,a=r/100,l=255*(1-o)*(1-a),c=255*(1-s)*(1-a),u=255*(1-i)*(1-a);return{r:l,g:c,b:u}}function kp(e,t,n){let r=1-e/255,o=1-t/255,s=1-n/255,i=Math.min(r,o,s);return i===1?(r=0,o=0,s=0):(r=(r-i)/(1-i)*100,o=(o-i)/(1-i)*100,s=(s-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(o),y:Math.round(s),k:Math.round(i)}}function jN(e){return Math.round(parseFloat(e)*255).toString(16)}function Rp(e){return Zt(e)/255}function Zt(e){return parseInt(e,16)}function WN(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const Vc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function GN(e){let t={r:0,g:0,b:0},n=1,r=null,o=null,s=null,i=!1,a=!1;return typeof e=="string"&&(e=YN(e)),typeof e=="object"&&(Qt(e.r)&&Qt(e.g)&&Qt(e.b)?(t=$N(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qt(e.h)&&Qt(e.s)&&Qt(e.v)?(r=zi(e.s),o=zi(e.v),t=VN(e.h,r,o),i=!0,a="hsv"):Qt(e.h)&&Qt(e.s)&&Qt(e.l)?(r=zi(e.s),s=zi(e.l),t=BN(e.h,r,s),i=!0,a="hsl"):Qt(e.c)&&Qt(e.m)&&Qt(e.y)&&Qt(e.k)&&(t=UN(e.c,e.m,e.y,e.k),i=!0,a="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Av(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const zN="[-\\+]?\\d+%?",KN="[-\\+]?\\d*\\.\\d+%?",kr="(?:"+KN+")|(?:"+zN+")",ql="[\\s|\\(]+("+kr+")[,|\\s]+("+kr+")[,|\\s]+("+kr+")\\s*\\)?",Ki="[\\s|\\(]+("+kr+")[,|\\s]+("+kr+")[,|\\s]+("+kr+")[,|\\s]+("+kr+")\\s*\\)?",pn={CSS_UNIT:new RegExp(kr),rgb:new RegExp("rgb"+ql),rgba:new RegExp("rgba"+Ki),hsl:new RegExp("hsl"+ql),hsla:new RegExp("hsla"+Ki),hsv:new RegExp("hsv"+ql),hsva:new RegExp("hsva"+Ki),cmyk:new RegExp("cmyk"+Ki),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function YN(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(Vc[e])e=Vc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=pn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=pn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=pn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=pn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=pn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=pn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=pn.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=pn.hex8.exec(e),n?{r:Zt(n[1]),g:Zt(n[2]),b:Zt(n[3]),a:Rp(n[4]),format:t?"name":"hex8"}:(n=pn.hex6.exec(e),n?{r:Zt(n[1]),g:Zt(n[2]),b:Zt(n[3]),format:t?"name":"hex"}:(n=pn.hex4.exec(e),n?{r:Zt(n[1]+n[1]),g:Zt(n[2]+n[2]),b:Zt(n[3]+n[3]),a:Rp(n[4]+n[4]),format:t?"name":"hex8"}:(n=pn.hex3.exec(e),n?{r:Zt(n[1]+n[1]),g:Zt(n[2]+n[2]),b:Zt(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function Qt(e){return typeof e=="number"?!Number.isNaN(e):pn.CSS_UNIT.test(e)}class ut{constructor(t="",n={}){if(t instanceof ut)return t;typeof t=="number"&&(t=WN(t)),this.originalInput=t;const r=GN(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,o;const s=t.r/255,i=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o}getAlpha(){return this.a}setAlpha(t){return this.a=Av(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=Pp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=Pp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${o}%)`:`hsva(${n}, ${r}%, ${o}%, ${this.roundA})`}toHsl(){const t=Ip(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=Ip(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${o}%)`:`hsla(${n}, ${r}%, ${o}%, ${this.roundA})`}toHex(t=!1){return Dp(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return HN(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(Ot(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(Ot(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...kp(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:o}=kp(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${o})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+Dp(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(Vc))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const o=this.a<1&&this.a>=0;return!n&&o&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new ut(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=Gi(n.l),new ut(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new ut(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=Gi(n.l),new ut(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=Gi(n.s),new ut(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=Gi(n.s),new ut(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new ut(n)}mix(t,n=50){const r=this.toRgb(),o=new ut(t).toRgb(),s=n/100,i={r:(o.r-r.r)*s+r.r,g:(o.g-r.g)*s+r.g,b:(o.b-r.b)*s+r.b,a:(o.a-r.a)*s+r.a};return new ut(i)}analogous(t=6,n=30){const r=this.toHsl(),o=360/n,s=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,s.push(new ut(r));return s}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new ut(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s:o}=n;let{v:s}=n;const i=[],a=1/t;for(;t--;)i.push(new ut({h:r,s:o,v:s})),s=(s+a)%1;return i}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new ut({h:(n+72)%360,s:t.s,l:t.l}),new ut({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new ut(t).toRgb(),o=n.a+r.a*(1-n.a);return new ut({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,o=[this],s=360/t;for(let i=1;i<t;i++)o.push(new ut({h:(r+i*s)%360,s:n.s,l:n.l}));return o}equals(t){const n=new ut(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}function Rn(e,t=20){return e.mix("#141414",t).toString()}function qN(e){const t=Ci(),n=Qe("button");return L(()=>{let r={},o=e.color;if(o){const s=o.match(/var\((.*?)\)/);s&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(s[1]));const i=new ut(o),a=e.dark?i.tint(20).toString():Rn(i,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Rn(i,90):i.tint(90).toString(),"text-color":o,"border-color":e.dark?Rn(i,50):i.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":a,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":a}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Rn(i,90):i.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Rn(i,50):i.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Rn(i,80):i.tint(80).toString());else if(e.link||e.text){const l=e.dark?Rn(i,30):i.tint(30).toString();if(r=n.cssVarBlock({"text-color":o,"hover-text-color":l,"active-text-color":a}),e.link&&(r[n.cssVarBlockName("hover-link-text-color")]=l,r[n.cssVarBlockName("active-color")]=a),t.value){const c=e.dark?Rn(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]="transparent",r[n.cssVarBlockName("disabled-text-color")]=c,r[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const l=e.dark?Rn(i,30):i.tint(30).toString(),c=i.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":l,"hover-text-color":c,"hover-border-color":l,"active-bg-color":a,"active-border-color":a}),t.value){const u=e.dark?Rn(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=u,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=u}}}return r})}var JN=ue({name:"ElButton",__name:"button",props:Bc,emits:ON,setup(e,{expose:t,emit:n}){const r=e,o=n,s=qN(r),i=Qe("button"),{_ref:a,_size:l,_type:c,_disabled:u,_props:f,_plain:d,_round:p,_text:h,_dashed:m,shouldAddSpace:v,handleClick:g}=DN(r,o),_=L(()=>[i.b(),i.m(c.value),i.m(l.value),i.is("disabled",u.value),i.is("loading",r.loading),i.is("plain",d.value),i.is("round",p.value),i.is("circle",r.circle),i.is("text",h.value),i.is("dashed",m.value),i.is("link",r.link),i.is("has-bg",r.bg)]);return t({ref:a,size:l,type:c,disabled:u,shouldAddSpace:v}),(y,x)=>(U(),he(vn(e.tag),Dt({ref_key:"_ref",ref:a},A(f),{class:_.value,style:A(s),onClick:A(g)}),{default:pe(()=>[e.loading?(U(),ae(ke,{key:0},[y.$slots.loading?Se(y.$slots,"loading",{key:0}):(U(),he(A(_o),{key:1,class:de(A(i).is("loading"))},{default:pe(()=>[(U(),he(vn(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||y.$slots.icon?(U(),he(A(_o),{key:1},{default:pe(()=>[e.icon?(U(),he(vn(e.icon),{key:0})):Se(y.$slots,"icon",{key:1})]),_:3})):Ae("v-if",!0),y.$slots.default?(U(),ae("span",{key:2,class:de({[A(i).em("text","expand")]:A(v)})},[Se(y.$slots,"default")],2)):Ae("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),XN=JN;const QN={size:Bc.size,type:Bc.type,direction:{type:me(String),values:["horizontal","vertical"],default:"horizontal"}};var ZN=ue({name:"ElButtonGroup",__name:"button-group",props:QN,setup(e){const t=e;At(wv,Jt({size:en(t,"size"),type:en(t,"type")}));const n=Qe("button");return(r,o)=>(U(),ae("div",{class:de([A(n).b("group"),A(n).bm("group",t.direction)])},[Se(r.$slots,"default")],2))}}),Tv=ZN;const eF=ln(XN,{ButtonGroup:Tv}),NR=as(Tv);function tF(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ra={exports:{}},nF=ra.exports,$p;function rF(){return $p||($p=1,(function(e,t){(function(n,r){e.exports=r()})(nF,(function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",c="day",u="week",f="month",d="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var D=["th","st","nd","rd"],M=H%100;return"["+H+(D[(M-20)%10]||D[M]||D[0])+"]"}},y=function(H,D,M){var R=String(H);return!R||R.length>=D?H:""+Array(D+1-R.length).join(M)+H},x={s:y,z:function(H){var D=-H.utcOffset(),M=Math.abs(D),R=Math.floor(M/60),j=M%60;return(D<=0?"+":"-")+y(R,2,"0")+":"+y(j,2,"0")},m:function H(D,M){if(D.date()<M.date())return-H(M,D);var R=12*(M.year()-D.year())+(M.month()-D.month()),j=D.clone().add(R,f),ne=M-j<0,le=D.clone().add(R+(ne?-1:1),f);return+(-(R+(M-j)/(ne?j-le:le-j))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:f,y:p,w:u,d:c,D:h,h:l,m:a,s:i,ms:s,Q:d}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},S="en",E={};E[S]=_;var b="$isDayjsObject",O=function(H){return H instanceof I||!(!H||!H[b])},F=function H(D,M,R){var j;if(!D)return S;if(typeof D=="string"){var ne=D.toLowerCase();E[ne]&&(j=ne),M&&(E[ne]=M,j=ne);var le=D.split("-");if(!j&&le.length>1)return H(le[0])}else{var xe=D.name;E[xe]=D,j=xe}return!R&&j&&(S=j),j||!R&&S},V=function(H,D){if(O(H))return H.clone();var M=typeof D=="object"?D:{};return M.date=H,M.args=arguments,new I(M)},W=x;W.l=F,W.i=O,W.w=function(H,D){return V(H,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var I=(function(){function H(M){this.$L=F(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[b]=!0}var D=H.prototype;return D.parse=function(M){this.$d=(function(R){var j=R.date,ne=R.utc;if(j===null)return new Date(NaN);if(W.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var le=j.match(v);if(le){var xe=le[2]-1||0,Ee=(le[7]||"0").substring(0,3);return ne?new Date(Date.UTC(le[1],xe,le[3]||1,le[4]||0,le[5]||0,le[6]||0,Ee)):new Date(le[1],xe,le[3]||1,le[4]||0,le[5]||0,le[6]||0,Ee)}}return new Date(j)})(M),this.init()},D.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},D.$utils=function(){return W},D.isValid=function(){return this.$d.toString()!==m},D.isSame=function(M,R){var j=V(M);return this.startOf(R)<=j&&j<=this.endOf(R)},D.isAfter=function(M,R){return V(M)<this.startOf(R)},D.isBefore=function(M,R){return this.endOf(R)<V(M)},D.$g=function(M,R,j){return W.u(M)?this[R]:this.set(j,M)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(M,R){var j=this,ne=!!W.u(R)||R,le=W.p(M),xe=function(oe,re){var Ce=W.w(j.$u?Date.UTC(j.$y,re,oe):new Date(j.$y,re,oe),j);return ne?Ce:Ce.endOf(c)},Ee=function(oe,re){return W.w(j.toDate()[oe].apply(j.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(re)),j)},Ne=this.$W,Fe=this.$M,Le=this.$D,He="set"+(this.$u?"UTC":"");switch(le){case p:return ne?xe(1,0):xe(31,11);case f:return ne?xe(1,Fe):xe(0,Fe+1);case u:var K=this.$locale().weekStart||0,se=(Ne<K?Ne+7:Ne)-K;return xe(ne?Le-se:Le+(6-se),Fe);case c:case h:return Ee(He+"Hours",0);case l:return Ee(He+"Minutes",1);case a:return Ee(He+"Seconds",2);case i:return Ee(He+"Milliseconds",3);default:return this.clone()}},D.endOf=function(M){return this.startOf(M,!1)},D.$set=function(M,R){var j,ne=W.p(M),le="set"+(this.$u?"UTC":""),xe=(j={},j[c]=le+"Date",j[h]=le+"Date",j[f]=le+"Month",j[p]=le+"FullYear",j[l]=le+"Hours",j[a]=le+"Minutes",j[i]=le+"Seconds",j[s]=le+"Milliseconds",j)[ne],Ee=ne===c?this.$D+(R-this.$W):R;if(ne===f||ne===p){var Ne=this.clone().set(h,1);Ne.$d[xe](Ee),Ne.init(),this.$d=Ne.set(h,Math.min(this.$D,Ne.daysInMonth())).$d}else xe&&this.$d[xe](Ee);return this.init(),this},D.set=function(M,R){return this.clone().$set(M,R)},D.get=function(M){return this[W.p(M)]()},D.add=function(M,R){var j,ne=this;M=Number(M);var le=W.p(R),xe=function(Fe){var Le=V(ne);return W.w(Le.date(Le.date()+Math.round(Fe*M)),ne)};if(le===f)return this.set(f,this.$M+M);if(le===p)return this.set(p,this.$y+M);if(le===c)return xe(1);if(le===u)return xe(7);var Ee=(j={},j[a]=r,j[l]=o,j[i]=n,j)[le]||1,Ne=this.$d.getTime()+M*Ee;return W.w(Ne,this)},D.subtract=function(M,R){return this.add(-1*M,R)},D.format=function(M){var R=this,j=this.$locale();if(!this.isValid())return j.invalidDate||m;var ne=M||"YYYY-MM-DDTHH:mm:ssZ",le=W.z(this),xe=this.$H,Ee=this.$m,Ne=this.$M,Fe=j.weekdays,Le=j.months,He=j.meridiem,K=function(re,Ce,T,N){return re&&(re[Ce]||re(R,ne))||T[Ce].slice(0,N)},se=function(re){return W.s(xe%12||12,re,"0")},oe=He||function(re,Ce,T){var N=re<12?"AM":"PM";return T?N.toLowerCase():N};return ne.replace(g,(function(re,Ce){return Ce||(function(T){switch(T){case"YY":return String(R.$y).slice(-2);case"YYYY":return W.s(R.$y,4,"0");case"M":return Ne+1;case"MM":return W.s(Ne+1,2,"0");case"MMM":return K(j.monthsShort,Ne,Le,3);case"MMMM":return K(Le,Ne);case"D":return R.$D;case"DD":return W.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return K(j.weekdaysMin,R.$W,Fe,2);case"ddd":return K(j.weekdaysShort,R.$W,Fe,3);case"dddd":return Fe[R.$W];case"H":return String(xe);case"HH":return W.s(xe,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return oe(xe,Ee,!0);case"A":return oe(xe,Ee,!1);case"m":return String(Ee);case"mm":return W.s(Ee,2,"0");case"s":return String(R.$s);case"ss":return W.s(R.$s,2,"0");case"SSS":return W.s(R.$ms,3,"0");case"Z":return le}return null})(re)||le.replace(":","")}))},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(M,R,j){var ne,le=this,xe=W.p(R),Ee=V(M),Ne=(Ee.utcOffset()-this.utcOffset())*r,Fe=this-Ee,Le=function(){return W.m(le,Ee)};switch(xe){case p:ne=Le()/12;break;case f:ne=Le();break;case d:ne=Le()/3;break;case u:ne=(Fe-Ne)/6048e5;break;case c:ne=(Fe-Ne)/864e5;break;case l:ne=Fe/o;break;case a:ne=Fe/r;break;case i:ne=Fe/n;break;default:ne=Fe}return j?ne:W.a(ne)},D.daysInMonth=function(){return this.endOf(f).$D},D.$locale=function(){return E[this.$L]},D.locale=function(M,R){if(!M)return this.$L;var j=this.clone(),ne=F(M,R,!0);return ne&&(j.$L=ne),j},D.clone=function(){return W.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},H})(),Y=I.prototype;return V.prototype=Y,[["$ms",s],["$s",i],["$m",a],["$H",l],["$W",c],["$M",f],["$y",p],["$D",h]].forEach((function(H){Y[H[1]]=function(D){return this.$g(D,H[0],H[1])}})),V.extend=function(H,D){return H.$i||(H(D,I,V),H.$i=!0),V},V.locale=F,V.isDayjs=O,V.unix=function(H){return V(1e3*H)},V.en=E[S],V.Ls=E,V.p={},V}))})(ra)),ra.exports}var FR=rF();const Lr=new Map;if(xt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of Lr.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function Bp(e,t){let n=[];return ce(t.arg)?n=t.arg:ro(t.arg)&&n.push(t.arg),function(r,o){const s=t.instance.popperRef,i=r.target,a=o?.target,l=!t||!t.instance,c=!i||!a,u=e.contains(i)||e.contains(a),f=e===i,d=n.length&&n.some(h=>h?.contains(i))||n.length&&n.includes(a),p=s&&(s.contains(i)||s.contains(a));l||c||u||f||d||p||t.value(r,o)}}const oF={beforeMount(e,t){Lr.has(e)||Lr.set(e,[]),Lr.get(e).push({documentHandler:Bp(e,t),bindingFn:t.value})},updated(e,t){Lr.has(e)||Lr.set(e,[]);const n=Lr.get(e),r=n.findIndex(s=>s.bindingFn===t.oldValue),o={documentHandler:Bp(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted(e){Lr.delete(e)}},Hc=Xe({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:nl},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),sF={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},iF=["aria-label"],aF=["aria-label"];var lF=ue({name:"ElTag",__name:"tag",props:Hc,emits:sF,setup(e,{emit:t}){const n=e,r=t,o=oi(),{t:s}=zu(),i=Qe("tag"),a=L(()=>{const{type:f,hit:d,effect:p,closable:h,round:m}=n;return[i.b(),i.is("closable",h),i.m(f||"primary"),i.m(o.value),i.m(p),i.is("hit",d),i.is("round",m)]}),l=f=>{r("close",f)},c=f=>{r("click",f)},u=f=>{f?.component?.subTree?.component?.bum&&(f.component.subTree.component.bum=null)};return(f,d)=>e.disableTransitions?(U(),ae("span",{key:0,class:de(a.value),style:St({backgroundColor:e.color}),onClick:c},[te("span",{class:de(A(i).e("content"))},[Se(f.$slots,"default")],2),e.closable?(U(),ae("button",{key:0,"aria-label":A(s)("el.tag.close"),class:de(A(i).e("close")),type:"button",onClick:Tn(l,["stop"])},[ee(A(_o),null,{default:pe(()=>[ee(A(Ep))]),_:1})],10,iF)):Ae("v-if",!0)],6)):(U(),he(el,{key:1,name:`${A(i).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:pe(()=>[te("span",{class:de(a.value),style:St({backgroundColor:e.color}),onClick:c},[te("span",{class:de(A(i).e("content"))},[Se(f.$slots,"default")],2),e.closable?(U(),ae("button",{key:0,"aria-label":A(s)("el.tag.close"),class:de(A(i).e("close")),type:"button",onClick:Tn(l,["stop"])},[ee(A(_o),null,{default:pe(()=>[ee(A(Ep))]),_:1})],10,aF)):Ae("v-if",!0)],6)]),_:3},8,["name"]))}}),cF=lF;const Us=ln(cF),Ov=Symbol("ElSelectGroup"),gl=Symbol("ElSelect"),Uc={label:"label",value:"value",disabled:"disabled",options:"options"};function uF(e){const t=Z({...Uc,...e.props});let n={...e.props};return _e(()=>e.props,a=>{mn(a,n)||(t.value={...Uc,...a},n={...a})},{deep:!0}),{aliasProps:t,getLabel:a=>zt(a,t.value.label),getValue:a=>zt(a,t.value.value),getDisabled:a=>zt(a,t.value.disabled),getOptions:a=>zt(a,t.value.options)}}const fF=Xe({name:String,id:String,modelValue:{type:me([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Ei,effect:{type:me(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:me([String,Object])},popperOptions:{type:me(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:me(Function)},filterMethod:{type:me(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:me(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:ft.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:vo,default:uv},fitInputWidth:Boolean,suffixIcon:{type:vo,default:rO},tagType:{...Hc.type,default:"info"},tagEffect:{...Hc.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:me(String),values:bi,default:"bottom-start"},fallbackPlacements:{type:me(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:ft.appendTo,options:{type:me(Array)},props:{type:me(Object),default:()=>Uc},...lv,...is(["ariaLabel"])}),dF={[dr]:e=>!0,[Js]:e=>!0,"popup-scroll":$c.scroll,"end-reached":$c["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},jc="ElOption",pF=Xe({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function hF(e,t){const n=Te(gl);n||Rg(jc,"usage: <el-select><el-option /></el-select/>");const r=Te(Ov,{disabled:!1}),o=L(()=>u(Dr(n.props.modelValue),e.value)),s=L(()=>{if(n.props.multiple){const p=Dr(n.props.modelValue??[]);return!o.value&&p.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),i=L(()=>e.label??(we(e.value)?"":e.value)),a=L(()=>e.value||e.label||""),l=L(()=>e.disabled||t.groupDisabled||s.value),c=Ye(),u=(p=[],h)=>{if(we(e.value)){const m=n.props.valueKey;return p&&p.some(v=>Pe(zt(v,m))===zt(h,m))}else return p&&p.includes(h)},f=()=>{l.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},d=p=>{t.visible=new RegExp(SA(p),"i").test(String(i.value))||e.created};return _e(()=>i.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),_e(()=>e.value,(p,h)=>{const{remote:m,valueKey:v}=n.props;if((m?p!==h:!mn(p,h))&&(n.onOptionDestroy(h,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!m){if(v&&we(p)&&we(h)&&p[v]===h[v])return;n.setSelected()}}),_e(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:i,currentValue:a,itemSelected:o,isDisabled:l,hoverItem:f,updateOption:d}}var mF=ue({name:jc,componentName:jc,props:pF,setup(e){const t=Qe("select"),n=pl(),r=L(()=>[t.be("dropdown","item"),t.is("disabled",A(a)),t.is("selected",A(i)),t.is("hovering",A(d))]),o=Jt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:s,itemSelected:i,isDisabled:a,select:l,hoverItem:c,updateOption:u}=hF(e,o),{visible:f,hover:d}=rs(o),p=Ye().proxy;l.onOptionCreate(p),Nt(()=>{const v=p.value;rt(()=>{const{selected:g}=l.states,_=g.some(y=>y.value===p.value);l.states.cachedOptions.get(v)===p&&!_&&l.states.cachedOptions.delete(v)}),l.onOptionDestroy(v,p)});function h(){a.value||l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:r,currentLabel:s,itemSelected:i,isDisabled:a,select:l,visible:f,hover:d,states:o,hoverItem:c,handleMousedown:v=>{let g=v.target;const _=v.currentTarget;for(;g&&g!==_;){if(Zs(g))return;g=g.parentElement}v.preventDefault()},updateOption:u,selectOptionClick:h}}});const gF=["id","aria-disabled","aria-selected"];function vF(e,t,n,r,o,s){return Jn((U(),ae("li",{id:e.id,class:de(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onMousedown:t[1]||(t[1]=(...i)=>e.handleMousedown&&e.handleMousedown(...i)),onClick:t[2]||(t[2]=Tn((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[Se(e.$slots,"default",{},()=>[te("span",null,De(e.currentLabel),1)])],42,gF)),[[os,e.visible]])}var uf=wi(mF,[["render",vF]]),_F=ue({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Qe("select"),n=Z(),r=Ye(),o=Z([]);At(Ov,Jt({...rs(e)}));const s=L(()=>o.value.some(c=>c.visible===!0)),i=c=>c.type.name==="ElOption"&&!!c.component?.proxy,a=c=>{const u=Dr(c),f=[];return u.forEach(d=>{zn(d)&&(i(d)?f.push(d.component.proxy):ce(d.children)&&d.children.length?f.push(...a(d.children)):d.component?.subTree&&f.push(...a(d.component.subTree)))}),f},l=()=>{o.value=a(r.subTree)};return gt(()=>{l()}),Ly(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:s,ns:t}}});function xF(e,t,n,r,o,s){return Jn((U(),ae("ul",{ref:"groupRef",class:de(e.ns.be("group","wrap"))},[te("li",{class:de(e.ns.be("group","title"))},De(e.label),3),te("li",null,[te("ul",{class:de(e.ns.b("group"))},[Se(e.$slots,"default")],2)])],2)),[[os,e.visible]])}var ff=wi(_F,[["render",xF]]),bF=ue({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Te(gl),t=Qe("select"),n=L(()=>e.props.popperClass),r=L(()=>e.props.multiple),o=L(()=>e.props.fitInputWidth),s=Z("");function i(){const a=e.selectRef?.offsetWidth;a?s.value=`${a-2}px`:s.value=""}return gt(()=>{i(),On(e.selectRef,i)}),{ns:t,minWidth:s,popperClass:n,isMultiple:r,isFitInputWidth:o}}});function yF(e,t,n,r,o,s){return U(),ae("div",{class:de([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:St({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(U(),ae("div",{key:0,class:de(e.ns.be("dropdown","header"))},[Se(e.$slots,"header")],2)):Ae("v-if",!0),Se(e.$slots,"default"),e.$slots.footer?(U(),ae("div",{key:1,class:de(e.ns.be("dropdown","footer"))},[Se(e.$slots,"footer")],2)):Ae("v-if",!0)],6)}var EF=wi(bF,[["render",yF]]);const CF=(e,t)=>{const{t:n}=zu(),r=Xa(),o=pl(),s=Qe("select"),i=Qe("input"),a=Jt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),l=Z(),c=Z(),u=Z(),f=Z(),d=Z(),p=Z(),h=Z(),m=Z(),v=Z(),g=Z(),_=Z(),y=Z(!1),x=Z(),S=Z(!1),{form:E,formItem:b}=Si(),{inputId:O}=rf(e,{formItemContext:b}),{valueOnClear:F,isEmptyValue:V}=ZT(e),{isComposing:W,handleCompositionStart:I,handleCompositionUpdate:Y,handleCompositionEnd:H}=JT({afterComposition:z=>Be(z)}),D=Ci(),{wrapperRef:M,isFocused:R,handleBlur:j}=qT(d,{disabled:D,afterFocus(){e.automaticDropdown&&!y.value&&(y.value=!0,a.menuVisibleOnFocus=!0)},beforeBlur(z){return u.value?.isFocusInsideContent(z)||f.value?.isFocusInsideContent(z)},afterBlur(){y.value=!1,a.menuVisibleOnFocus=!1,e.validateEvent&&b?.validate?.("blur").catch(pt)}}),ne=L(()=>ce(e.modelValue)?e.modelValue.length>0:!V(e.modelValue)),le=L(()=>E?.statusIcon??!1),xe=L(()=>e.clearable&&!D.value&&ne.value&&(R.value||a.inputHovering)),Ee=L(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),Ne=L(()=>s.is("reverse",!!(Ee.value&&y.value))),Fe=L(()=>b?.validateState||""),Le=L(()=>Fe.value&&cO[Fe.value]),He=L(()=>e.remote?e.debounce:0),K=L(()=>e.remote&&!a.inputValue&&a.options.size===0),se=L(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&a.inputValue&&a.options.size>0&&oe.value===0?e.noMatchText||n("el.select.noMatch"):a.options.size===0?e.noDataText||n("el.select.noData"):null),oe=L(()=>re.value.filter(z=>z.visible).length),re=L(()=>{const z=Array.from(a.options.values()),ge=[];return a.optionValues.forEach(Oe=>{const Ue=z.findIndex(ct=>ct.value===Oe);Ue>-1&&ge.push(z[Ue])}),ge.length>=z.length?ge:z}),Ce=L(()=>Array.from(a.cachedOptions.values())),T=L(()=>{const z=re.value.filter(ge=>!ge.created).some(ge=>ge.currentLabel===a.inputValue);return e.filterable&&e.allowCreate&&a.inputValue!==""&&!z}),N=()=>{e.filterable&&be(e.filterMethod)||e.filterable&&e.remote&&be(e.remoteMethod)||re.value.forEach(z=>{z.updateOption?.(a.inputValue)})},$=oi(),q=L(()=>["small"].includes($.value)?"small":"default"),X=L({get(){return y.value&&(e.loading||!K.value||e.remote&&!!r.empty)&&(!S.value||!vA(a.previousQuery)||a.options.size>0)},set(z){y.value=z}}),J=L(()=>{if(e.multiple&&!no(e.modelValue))return Dr(e.modelValue).length===0&&!a.inputValue;const z=ce(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||no(z)?!a.inputValue:!0}),C=L(()=>{const z=e.placeholder??n("el.select.placeholder");return e.multiple||!ne.value?z:a.selectedLabel}),w=Tc?null:"mouseenter";_e(()=>e.modelValue,(z,ge)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(a.inputValue="",P("")),ie(),!mn(z,ge)&&e.validateEvent&&b?.validate("change").catch(pt)},{flush:"post",deep:!0}),_e(()=>y.value,z=>{z?P(a.inputValue):(a.inputValue="",a.previousQuery=null,a.isBeforeHide=!0,a.menuVisibleOnFocus=!1)}),_e(()=>a.options.entries(),()=>{xt&&(ie(),e.defaultFirstOption&&(e.filterable||e.remote)&&oe.value&&B())},{flush:"post"}),_e([()=>a.hoveringIndex,re],([z])=>{It(z)&&z>-1?x.value=re.value[z]||{}:x.value={},re.value.forEach(ge=>{ge.hover=x.value===ge})}),mi(()=>{a.isBeforeHide||N()});const P=z=>{a.previousQuery===z||W.value||(a.previousQuery=z,e.filterable&&be(e.filterMethod)?e.filterMethod(z):e.filterable&&e.remote&&be(e.remoteMethod)&&e.remoteMethod(z),e.defaultFirstOption&&(e.filterable||e.remote)&&oe.value?rt(B):rt(k))},B=()=>{const z=re.value.filter(Ue=>Ue.visible&&!Ue.disabled&&!Ue.states.groupDisabled),ge=z.find(Ue=>Ue.created),Oe=z[0];a.hoveringIndex=ps(re.value.map(Ue=>Ue.value),ge||Oe)},ie=()=>{if(e.multiple)a.selectedLabel="";else{const ge=Q(ce(e.modelValue)?e.modelValue[0]:e.modelValue);a.selectedLabel=ge.currentLabel,a.selected=[ge];return}const z=[];no(e.modelValue)||Dr(e.modelValue).forEach(ge=>{z.push(Q(ge))}),a.selected=z},Q=z=>{let ge;const Oe=hu(z);for(let ct=a.cachedOptions.size-1;ct>=0;ct--){const fn=Ce.value[ct];if(Oe?zt(fn.value,e.valueKey)===zt(z,e.valueKey):fn.value===z){ge={index:re.value.filter(Ii=>!Ii.created).indexOf(fn),value:z,currentLabel:fn.currentLabel,get isDisabled(){return fn.isDisabled}};break}}if(ge)return ge;const Ue=a.selected.find(ct=>Oe?zt(ct.value,e.valueKey)===zt(z,e.valueKey):ct.value===z);return{index:-1,value:z,currentLabel:Oe?z.label:Ue?Ue.currentLabel:z??""}},k=()=>{const z=a.selected.length;if(z>0){const ge=a.selected[z-1];a.hoveringIndex=re.value.findIndex(Oe=>Fi(ge)===Fi(Oe))}else a.hoveringIndex=-1},G=()=>{a.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},ve=()=>{a.collapseItemWidth=g.value.getBoundingClientRect().width},ye=()=>{u.value?.updatePopper?.()},Me=()=>{f.value?.updatePopper?.()},Ge=()=>{a.inputValue.length>0&&!y.value&&(y.value=!0),P(a.inputValue)},Be=z=>{if(a.inputValue=z.target.value,e.remote)S.value=!0,Rt();else return Ge()},Rt=wy(()=>{Ge(),S.value=!1},He),Et=z=>{mn(e.modelValue,z)||t(Js,z)},Kr=z=>Jw(z,ge=>{const Oe=a.cachedOptions.get(ge);return!Oe?.disabled&&!Oe?.states.groupDisabled}),fs=z=>{const ge=ti(z);if(e.multiple&&ge!==it.delete&&z.target.value.length<=0){const Oe=Dr(e.modelValue).slice(),Ue=Kr(Oe);if(Ue<0)return;const ct=Oe[Ue];Oe.splice(Ue,1),t(dr,Oe),Et(Oe),t("remove-tag",ct)}},$t=(z,ge)=>{const Oe=a.selected.indexOf(ge);if(Oe>-1&&!D.value){const Ue=Dr(e.modelValue).slice();Ue.splice(Oe,1),t(dr,Ue),Et(Ue),t("remove-tag",ge.value)}z.stopPropagation(),Ni()},Xt=z=>{z.stopPropagation();const ge=e.multiple?[]:F.value;if(e.multiple)for(const Oe of a.selected)Oe.isDisabled&&ge.push(Oe.value);t(dr,ge),Et(ge),a.hoveringIndex=-1,y.value=!1,t("clear"),Ni()},ds=z=>{if(e.multiple){const ge=Dr(e.modelValue??[]).slice(),Oe=ps(ge,z);Oe>-1?ge.splice(Oe,1):(e.multipleLimit<=0||ge.length<e.multipleLimit)&&ge.push(z.value),t(dr,ge),Et(ge),z.created&&P(""),e.filterable&&(z.created||!e.reserveKeyword)&&(a.inputValue="")}else!mn(e.modelValue,z.value)&&t("update:modelValue",z.value),Et(z.value),y.value=!1;Ni(),!y.value&&rt(()=>{hs(z)})},ps=(z,ge)=>no(ge)?-1:we(ge.value)?z.findIndex(Oe=>mn(zt(Oe,e.valueKey),Fi(ge))):z.indexOf(ge.value),hs=z=>{const ge=ce(z)?z[z.length-1]:z;let Oe=null;if(!_i(ge?.value)){const Ue=re.value.filter(ct=>ct.value===ge.value);Ue.length>0&&(Oe=Ue[0].$el)}if(u.value&&Oe){const Ue=u.value?.popperRef?.contentRef?.querySelector?.(`.${s.be("dropdown","wrap")}`);Ue&&FA(Ue,Oe)}_.value?.handleScroll()},C_=z=>{a.options.set(z.value,z),a.cachedOptions.set(z.value,z)},S_=(z,ge)=>{a.options.get(z)===ge&&a.options.delete(z)},w_=L(()=>u.value?.popperRef?.contentRef),A_=()=>{a.isBeforeHide=!1,rt(()=>{_.value?.update(),hs(a.selected)})},Ni=()=>{d.value?.focus()},T_=()=>{if(y.value){y.value=!1,rt(()=>d.value?.blur());return}d.value?.blur()},O_=z=>{Xt(z)},N_=z=>{if(y.value=!1,R.value){const ge=new FocusEvent("blur",z);rt(()=>j(ge))}},Df=()=>{a.inputValue.length>0?a.inputValue="":y.value=!1},kf=z=>{D.value||e.filterable&&y.value&&z&&!h.value?.contains(z.target)||(Tc&&(a.inputHovering=!0),a.menuVisibleOnFocus?a.menuVisibleOnFocus=!1:y.value=!y.value)},Rf=()=>{if(!y.value)kf();else{const z=re.value[a.hoveringIndex];z&&!z.isDisabled&&ds(z)}},Fi=z=>we(z.value)?zt(z.value,e.valueKey):z.value,F_=L(()=>re.value.filter(z=>z.visible).every(z=>z.isDisabled)),M_=L(()=>e.multiple?e.collapseTags?a.selected.slice(0,e.maxCollapseTags):a.selected:[]),L_=L(()=>e.multiple?e.collapseTags?a.selected.slice(e.maxCollapseTags):[]:[]),Mi=z=>{if(!y.value){y.value=!0;return}if(!(a.options.size===0||oe.value===0||W.value)&&!F_.value){z==="next"?(a.hoveringIndex++,a.hoveringIndex===a.options.size&&(a.hoveringIndex=0)):z==="prev"&&(a.hoveringIndex--,a.hoveringIndex<0&&(a.hoveringIndex=a.options.size-1));const ge=re.value[a.hoveringIndex];(ge.isDisabled||!ge.visible)&&Mi(z),rt(()=>hs(x.value))}},$f=(z,ge,Oe,Ue)=>{for(let ct=ge;ct>=0&&ct<Ue;ct+=Oe){const fn=z[ct];if(!fn?.isDisabled&&fn?.visible)return ct}return null},Li=(z,ge)=>{const Oe=a.options.size;if(Oe===0)return;const Ue=CS(z,0,Oe-1),ct=re.value,fn=ge==="up"?-1:1,Ii=$f(ct,Ue,fn,Oe)??$f(ct,Ue-fn,-fn,Oe);Ii!=null&&(a.hoveringIndex=Ii,rt(()=>hs(x.value)))},I_=z=>{const ge=ti(z);let Oe=!0;switch(ge){case it.up:Mi("prev");break;case it.down:Mi("next");break;case it.enter:case it.numpadEnter:W.value||Rf();break;case it.esc:Df();break;case it.backspace:Oe=!1,fs(z);return;case it.home:if(!y.value)return;Li(0,"down");break;case it.end:if(!y.value)return;Li(a.options.size-1,"up");break;case it.pageUp:if(!y.value)return;Li(a.hoveringIndex-10,"up");break;case it.pageDown:if(!y.value)return;Li(a.hoveringIndex+10,"down");break;default:Oe=!1;break}Oe&&(z.preventDefault(),z.stopPropagation())},P_=()=>{if(!c.value)return 0;const z=window.getComputedStyle(c.value);return Number.parseFloat(z.gap||"6px")},D_=L(()=>{const z=P_(),ge=e.filterable?z+11:0;return{maxWidth:`${g.value&&e.maxCollapseTags===1?a.selectionWidth-a.collapseItemWidth-z-ge:a.selectionWidth-ge}px`}}),k_=L(()=>({maxWidth:`${a.selectionWidth}px`})),R_=z=>{t("popup-scroll",z)},$_=z=>{t("end-reached",z)};On(c,G),On(M,ye),On(v,Me),On(g,ve);let Tl;return _e(()=>X.value,z=>{z?Tl=On(m,ye).stop:(Tl?.(),Tl=void 0),t("visible-change",z)}),gt(()=>{ie()}),{inputId:O,contentId:o,nsSelect:s,nsInput:i,states:a,isFocused:R,expanded:y,optionsArray:re,hoverOption:x,selectSize:$,filteredOptionsCount:oe,updateTooltip:ye,updateTagTooltip:Me,debouncedOnInputChange:Rt,onInput:Be,deletePrevTag:fs,deleteTag:$t,deleteSelected:Xt,handleOptionSelect:ds,scrollToOption:hs,hasModelValue:ne,shouldShowPlaceholder:J,currentPlaceholder:C,mouseEnterEventName:w,needStatusIcon:le,showClearBtn:xe,iconComponent:Ee,iconReverse:Ne,validateState:Fe,validateIcon:Le,showNewOption:T,updateOptions:N,collapseTagSize:q,setSelected:ie,selectDisabled:D,emptyText:se,handleCompositionStart:I,handleCompositionUpdate:Y,handleCompositionEnd:H,handleKeydown:I_,onOptionCreate:C_,onOptionDestroy:S_,handleMenuEnter:A_,focus:Ni,blur:T_,handleClearClick:O_,handleClickOutside:N_,handleEsc:Df,toggleMenu:kf,selectOption:Rf,getValueKey:Fi,navigateOptions:Mi,dropdownMenuVisible:X,showTagList:M_,collapseTagList:L_,popupScroll:R_,getOption:Q,endReached:$_,tagStyle:D_,collapseTagStyle:k_,popperRef:w_,inputRef:d,tooltipRef:u,tagTooltipRef:f,prefixRef:p,suffixRef:h,selectRef:l,wrapperRef:M,selectionRef:c,scrollbarRef:_,menuRef:m,tagMenuRef:v,collapseItemRef:g}};var SF=ue({name:"ElOptions",setup(e,{slots:t}){const n=Te(gl);let r=[];return()=>{const o=t.default?.(),s=[];function i(a){ce(a)&&a.forEach(l=>{const c=(l?.type||{})?.name;c==="ElOptionGroup"?i(!Re(l.children)&&!ce(l.children)&&be(l.children?.default)?l.children?.default():l.children):c==="ElOption"?s.push(l.props?.value):ce(l.children)&&i(l.children)})}return o.length&&i(o[0]?.children),mn(s,r)||(r=s,n&&(n.states.optionValues=s)),o}}});const Vp="ElSelect",si=new WeakMap,wF=e=>(...t)=>{const n=t[0];if(!n||n.includes('Slot "default" invoked outside of the render function')&&t[2]?.includes("ElTreeSelect"))return;const r=si.get(e)?.originalWarnHandler;if(r){r(...t);return}console.warn(...t)},AF=e=>{let t=si.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:wF(e),count:0},si.set(e,t)),t};var TF=ue({name:Vp,componentName:Vp,components:{ElSelectMenu:EF,ElOption:uf,ElOptions:SF,ElOptionGroup:ff,ElTag:Us,ElScrollbar:xN,ElTooltip:lf,ElIcon:_o},directives:{ClickOutside:oF},props:fF,emits:dF,setup(e,{emit:t,slots:n}){const r=Ye(),o=AF(r.appContext);o.count+=1,r.appContext.config.warnHandler=o.handler;const s=L(()=>{const{modelValue:_,multiple:y}=e,x=y?[]:void 0;return ce(_)?y?_:x:y?x:_}),i=Jt({...rs(e),modelValue:s}),a=CF(i,t),{calculatorRef:l,inputStyle:c}=yA(),{getLabel:u,getValue:f,getOptions:d,getDisabled:p}=uF(e),h=_=>({label:u(_),value:f(_),disabled:p(_)}),m=_=>_.reduce((y,x)=>(y.push(x),x.children&&x.children.length>0&&y.push(...m(x.children)),y),[]),v=_=>{ko(_||[]).forEach(y=>{if(we(y)&&(y.type.name==="ElOption"||y.type.name==="ElTree")){const x=y.type.name;if(x==="ElTree")m(y.props?.data||[]).forEach(S=>{S.currentLabel=S.label??(we(S.value)?"":S.value),a.onOptionCreate(S)});else if(x==="ElOption"){const S={...y.props};S.currentLabel=S.label??(we(S.value)?"":S.value),a.onOptionCreate(S)}}})};_e(()=>[e.persistent||a.expanded.value||!n.default?void 0:n.default?.(),s.value],()=>{e.persistent||a.expanded.value||n.default&&(a.states.options.clear(),v(n.default?.()))},{immediate:!0}),At(gl,Jt({props:i,states:a.states,selectRef:a.selectRef,optionsArray:a.optionsArray,setSelected:a.setSelected,handleOptionSelect:a.handleOptionSelect,onOptionCreate:a.onOptionCreate,onOptionDestroy:a.onOptionDestroy}));const g=L(()=>e.multiple?a.states.selected.map(_=>_.currentLabel):a.states.selectedLabel);return Nt(()=>{const _=si.get(r.appContext);_&&(_.count-=1,_.count<=0&&(r.appContext.config.warnHandler=_.originalWarnHandler,si.delete(r.appContext)))}),{...a,modelValue:s,selectedLabel:g,calculatorRef:l,inputStyle:c,getLabel:u,getValue:f,getOptions:d,getDisabled:p,getOptionProps:h}}});const OF=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],NF=["textContent"],FF={key:1};function MF(e,t,n,r,o,s){const i=sr("el-tag"),a=sr("el-tooltip"),l=sr("el-icon"),c=sr("el-option"),u=sr("el-option-group"),f=sr("el-options"),d=sr("el-scrollbar"),p=sr("el-select-menu"),h=qx("click-outside");return Jn((U(),ae("div",Dt({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[Qi(e.mouseEnterEventName)]:t[11]||(t[11]=m=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=m=>e.states.inputHovering=!1)}),[ee(a,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=m=>e.states.isBeforeHide=!1)},{default:pe(()=>[te("div",{ref:"wrapperRef",class:de([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Tn((...m)=>e.toggleMenu&&e.toggleMenu(...m),["prevent"]))},[e.$slots.prefix?(U(),ae("div",{key:0,ref:"prefixRef",class:de(e.nsSelect.e("prefix"))},[Se(e.$slots,"prefix")],2)):Ae("v-if",!0),te("div",{ref:"selectionRef",class:de([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?Se(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(U(!0),ae(ke,null,Nn(e.showTagList,m=>(U(),ae("div",{key:e.getValueKey(m),class:de(e.nsSelect.e("selected-item"))},[ee(i,{closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:St(e.tagStyle),onClose:v=>e.deleteTag(v,m)},{default:pe(()=>[te("span",{class:de(e.nsSelect.e("tags-text"))},[Se(e.$slots,"label",{index:m.index,label:m.currentLabel,value:m.value},()=>[Tt(De(m.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(U(),he(a,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":e.tagTooltip?.fallbackPlacements??["bottom","top","right","left"],effect:e.tagTooltip?.effect??e.effect,placement:e.tagTooltip?.placement??"bottom","popper-class":e.tagTooltip?.popperClass??e.popperClass,"popper-style":e.tagTooltip?.popperStyle??e.popperStyle,teleported:e.tagTooltip?.teleported??e.teleported,"append-to":e.tagTooltip?.appendTo??e.appendTo,"popper-options":e.tagTooltip?.popperOptions??e.popperOptions,transition:e.tagTooltip?.transition,"show-after":e.tagTooltip?.showAfter,"hide-after":e.tagTooltip?.hideAfter,"auto-close":e.tagTooltip?.autoClose,offset:e.tagTooltip?.offset},{default:pe(()=>[te("div",{ref:"collapseItemRef",class:de(e.nsSelect.e("selected-item"))},[ee(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:St(e.collapseTagStyle)},{default:pe(()=>[te("span",{class:de(e.nsSelect.e("tags-text"))}," + "+De(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:pe(()=>[te("div",{ref:"tagMenuRef",class:de(e.nsSelect.e("selection"))},[(U(!0),ae(ke,null,Nn(e.collapseTagList,m=>(U(),ae("div",{key:e.getValueKey(m),class:de(e.nsSelect.e("selected-item"))},[ee(i,{class:"in-tooltip",closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:v=>e.deleteTag(v,m)},{default:pe(()=>[te("span",{class:de(e.nsSelect.e("tags-text"))},[Se(e.$slots,"label",{index:m.index,label:m.currentLabel,value:m.value},()=>[Tt(De(m.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):Ae("v-if",!0)]):Ae("v-if",!0),te("div",{class:de([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||!e.states.inputValue&&!e.isFocused)])},[te("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:de([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:St(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":e.hoverOption?.id||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...m)=>e.handleKeydown&&e.handleKeydown(...m)),onCompositionstart:t[1]||(t[1]=(...m)=>e.handleCompositionStart&&e.handleCompositionStart(...m)),onCompositionupdate:t[2]||(t[2]=(...m)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...m)),onCompositionend:t[3]||(t[3]=(...m)=>e.handleCompositionEnd&&e.handleCompositionEnd(...m)),onInput:t[4]||(t[4]=(...m)=>e.onInput&&e.onInput(...m)),onChange:t[5]||(t[5]=Tn(()=>{},["stop"])),onClick:t[6]||(t[6]=Tn((...m)=>e.toggleMenu&&e.toggleMenu(...m),["stop"]))},null,46,OF),e.filterable?(U(),ae("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:de(e.nsSelect.e("input-calculator")),textContent:De(e.states.inputValue)},null,10,NF)):Ae("v-if",!0)],2),e.shouldShowPlaceholder?(U(),ae("div",{key:1,class:de([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?Se(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[te("span",null,De(e.currentPlaceholder),1)]):(U(),ae("span",FF,De(e.currentPlaceholder),1))],2)):Ae("v-if",!0)],2),te("div",{ref:"suffixRef",class:de(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(U(),he(l,{key:0,class:de([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:pe(()=>[(U(),he(vn(e.iconComponent)))]),_:1},8,["class"])):Ae("v-if",!0),e.showClearBtn&&e.clearIcon?(U(),he(l,{key:1,class:de([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:pe(()=>[(U(),he(vn(e.clearIcon)))]),_:1},8,["class","onClick"])):Ae("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(U(),he(l,{key:2,class:de([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:pe(()=>[(U(),he(vn(e.validateIcon)))]),_:1},8,["class"])):Ae("v-if",!0)],2)],2)]),content:pe(()=>[ee(p,{ref:"menuRef"},{default:pe(()=>[e.$slots.header?(U(),ae("div",{key:0,class:de(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Tn(()=>{},["stop"]))},[Se(e.$slots,"header")],2)):Ae("v-if",!0),Jn(ee(d,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:de([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll,onEndReached:e.endReached},{default:pe(()=>[e.showNewOption?(U(),he(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):Ae("v-if",!0),ee(f,null,{default:pe(()=>[Se(e.$slots,"default",{},()=>[(U(!0),ae(ke,null,Nn(e.options,(m,v)=>(U(),ae(ke,{key:v},[e.getOptions(m)?.length?(U(),he(u,{key:0,label:e.getLabel(m),disabled:e.getDisabled(m)},{default:pe(()=>[(U(!0),ae(ke,null,Nn(e.getOptions(m),g=>(U(),he(c,Dt({key:e.getValue(g)},{ref_for:!0},e.getOptionProps(g)),null,16))),128))]),_:2},1032,["label","disabled"])):(U(),he(c,Dt({key:1,ref_for:!0},e.getOptionProps(m)),null,16))],64))),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll","onEndReached"]),[[os,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(U(),ae("div",{key:1,class:de(e.nsSelect.be("dropdown","loading"))},[Se(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(U(),ae("div",{key:2,class:de(e.nsSelect.be("dropdown","empty"))},[Se(e.$slots,"empty",{},()=>[te("span",null,De(e.emptyText),1)])],2)):Ae("v-if",!0),e.$slots.footer?(U(),ae("div",{key:3,class:de(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Tn(()=>{},["stop"]))},[Se(e.$slots,"footer")],2)):Ae("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[h,e.handleClickOutside,e.popperRef]])}var LF=wi(TF,[["render",MF]]);const IF=ln(LF,{Option:uf,OptionGroup:ff}),PF=as(uf);as(ff);const DF=Xe({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:me([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var kF=ue({name:"ElCard",__name:"card",props:DF,setup(e){const t=Ai("card"),n=Qe("card");return(r,o)=>(U(),ae("div",{class:de([A(n).b(),A(n).is(`${e.shadow||A(t)?.shadow||"always"}-shadow`)])},[r.$slots.header||e.header?(U(),ae("div",{key:0,class:de([A(n).e("header"),e.headerClass])},[Se(r.$slots,"header",{},()=>[Tt(De(e.header),1)])],2)):Ae("v-if",!0),te("div",{class:de([A(n).e("body"),e.bodyClass]),style:St(e.bodyStyle)},[Se(r.$slots,"default")],6),r.$slots.footer||e.footer?(U(),ae("div",{key:1,class:de([A(n).e("footer"),e.footerClass])},[Se(r.$slots,"footer",{},()=>[Tt(De(e.footer),1)])],2)):Ae("v-if",!0)],2))}}),RF=kF;const $F=ln(RF),Nv={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:Ei,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...is(["ariaControls"])},Fv={[dr]:e=>Re(e)||It(e)||xr(e),change:e=>Re(e)||It(e)||xr(e)},ls=Symbol("checkboxGroupContextKey"),BF=Xe({modelValue:{type:me(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:Ei,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:me(Array)},props:{type:me(Object),default:()=>Mv},type:{type:String,values:["checkbox","button"],default:"checkbox"},...is(["ariaLabel"])}),VF={[dr]:e=>ce(e),change:e=>ce(e)},Mv={label:"label",value:"value",disabled:"disabled"},HF=({model:e,isChecked:t})=>{const n=Te(ls,void 0),r=Te(hl,void 0),o=L(()=>{const s=n?.max?.value,i=n?.min?.value;return!no(s)&&e.value.length>=s&&!t.value||!no(i)&&e.value.length<=i&&t.value});return{isDisabled:Ci(L(()=>n===void 0?r?.disabled??o.value:n.disabled?.value||o.value)),isLimitDisabled:o}},UF=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:s})=>{const i=Te(ls,void 0),{formItem:a}=Si(),{emit:l}=Ye();function c(h){return[!0,e.trueValue,e.trueLabel].includes(h)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function u(h,m){l(Js,c(h),m)}function f(h){if(n.value)return;const m=h.target;l(Js,c(m.checked),h)}async function d(h){n.value||!r.value&&!o.value&&s.value&&(h.composedPath().some(m=>m.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await rt(),u(t.value,h)))}const p=L(()=>i?.validateEvent||e.validateEvent);return _e(()=>e.modelValue,()=>{p.value&&a?.validate("change").catch(pt)}),{handleChange:f,onClickRoot:d}},jF=e=>{const t=Z(!1),{emit:n,vnode:r}=Ye(),o=Te(ls,void 0),s=L(()=>no(o)===!1),i=Z(!1),a=L(()=>{const c=r.props??{};return"modelValue"in c||"model-value"in c}),l=L({get(){return s.value?o?.modelValue?.value:a.value?e.modelValue:t.value},set(c){s.value&&ce(c)?(i.value=o?.max?.value!==void 0&&c.length>o?.max.value&&c.length>l.value.length,i.value===!1&&o?.changeEvent?.(c)):(n(dr,c),t.value=c)}});return{model:l,isGroup:s,isLimitExceeded:i}},WF=(e,t,{model:n})=>{const r=Te(ls,void 0),o=Z(!1),s=L(()=>Ic(e.value)?e.label:e.value),i=L(()=>{const a=n.value;return xr(a)?a:ce(a)?we(s.value)?a.map(Pe).some(l=>mn(l,s.value)):a.map(Pe).includes(s.value):a!=null?a===e.trueValue||a===e.trueLabel:!!a});return{checkboxButtonSize:oi(L(()=>r?.size?.value),{prop:!0}),isChecked:i,isFocused:o,checkboxSize:oi(L(()=>r?.size?.value)),hasOwnLabel:L(()=>!!t.default||!Ic(s.value)),actualValue:s}},Lv=(e,t)=>{const{formItem:n}=Si(),{model:r,isGroup:o,isLimitExceeded:s}=jF(e),{isFocused:i,isChecked:a,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,actualValue:f}=WF(e,t,{model:r}),{isDisabled:d}=HF({model:r,isChecked:a}),{inputId:p,isLabeledByFormItem:h}=rf(e,{formItemContext:n,disableIdGeneration:u,disableIdManagement:o}),{handleChange:m,onClickRoot:v}=UF(e,{model:r,isLimitExceeded:s,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:h});return(()=>{function _(){ce(r.value)&&!r.value.includes(f.value)?r.value.push(f.value):r.value=e.trueValue??e.trueLabel??!0}e.checked&&_()})(),Bs({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>o.value&&Ic(e.value))),Bs({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.trueLabel)),Bs({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.falseLabel)),{inputId:p,isLabeledByFormItem:h,isChecked:a,isDisabled:d,isFocused:i,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,model:r,actualValue:f,handleChange:m,onClickRoot:v}},GF=["id","indeterminate","name","tabindex","disabled"];var zF=ue({name:"ElCheckbox",__name:"checkbox",props:Nv,emits:Fv,setup(e){const t=e,{inputId:n,isLabeledByFormItem:r,isChecked:o,isDisabled:s,isFocused:i,checkboxSize:a,hasOwnLabel:l,model:c,actualValue:u,handleChange:f,onClickRoot:d}=Lv(t,Xa()),p=L(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:u.value}),h=Qe("checkbox"),m=L(()=>[h.b(),h.m(a.value),h.is("disabled",s.value),h.is("bordered",t.border),h.is("checked",o.value)]),v=L(()=>[h.e("input"),h.is("disabled",s.value),h.is("checked",o.value),h.is("indeterminate",t.indeterminate),h.is("focus",i.value)]);return(g,_)=>(U(),he(vn(!A(l)&&A(r)?"span":"label"),{for:!A(l)&&A(r)?null:A(n),class:de(m.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:A(d)},{default:pe(()=>[te("span",{class:de(v.value)},[Jn(te("input",Dt({id:A(n),"onUpdate:modelValue":_[0]||(_[0]=y=>nt(c)?c.value=y:null),class:A(h).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:A(s)},p.value,{onChange:_[1]||(_[1]=(...y)=>A(f)&&A(f)(...y)),onFocus:_[2]||(_[2]=y=>i.value=!0),onBlur:_[3]||(_[3]=y=>i.value=!1),onClick:_[4]||(_[4]=Tn(()=>{},["stop"]))}),null,16,GF),[[Qm,A(c)]]),te("span",{class:de(A(h).e("inner"))},null,2)],2),A(l)?(U(),ae("span",{key:0,class:de(A(h).e("label"))},[Se(g.$slots,"default"),g.$slots.default?Ae("v-if",!0):(U(),ae(ke,{key:0},[Tt(De(e.label),1)],64))],2)):Ae("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),Iv=zF;const KF=["name","tabindex","disabled"];var YF=ue({name:"ElCheckboxButton",__name:"checkbox-button",props:Nv,emits:Fv,setup(e){const t=e,{isFocused:n,isChecked:r,isDisabled:o,checkboxButtonSize:s,model:i,actualValue:a,handleChange:l}=Lv(t,Xa()),c=L(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:a.value}),u=Te(ls,void 0),f=Qe("checkbox"),d=L(()=>{const h=u?.fill?.value??"";return{backgroundColor:h,borderColor:h,color:u?.textColor?.value??"",boxShadow:h?`-1px 0 0 0 ${h}`:void 0}}),p=L(()=>[f.b("button"),f.bm("button",s.value),f.is("disabled",o.value),f.is("checked",r.value),f.is("focus",n.value)]);return(h,m)=>(U(),ae("label",{class:de(p.value)},[Jn(te("input",Dt({"onUpdate:modelValue":m[0]||(m[0]=v=>nt(i)?i.value=v:null),class:A(f).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:A(o)},c.value,{onChange:m[1]||(m[1]=(...v)=>A(l)&&A(l)(...v)),onFocus:m[2]||(m[2]=v=>n.value=!0),onBlur:m[3]||(m[3]=v=>n.value=!1),onClick:m[4]||(m[4]=Tn(()=>{},["stop"]))}),null,16,KF),[[Qm,A(i)]]),h.$slots.default||e.label?(U(),ae("span",{key:0,class:de(A(f).be("button","inner")),style:St(A(r)?d.value:void 0)},[Se(h.$slots,"default",{},()=>[Tt(De(e.label),1)])],6)):Ae("v-if",!0)],2))}}),df=YF,qF=ue({name:"ElCheckboxGroup",__name:"checkbox-group",props:BF,emits:VF,setup(e,{emit:t}){const n=e,r=t,o=Qe("checkbox"),s=Ci(),{formItem:i}=Si(),{inputId:a,isLabeledByFormItem:l}=rf(n,{formItemContext:i}),c=async h=>{r(dr,h),await rt(),r(Js,h)},u=L({get(){return n.modelValue},set(h){c(h)}}),f=L(()=>({...Mv,...n.props})),d=h=>{const{label:m,value:v,disabled:g}=f.value,_={label:h[m],value:h[v],disabled:h[g]};return{...iA(h,[m,v,g]),..._}},p=L(()=>n.type==="button"?df:Iv);return At(ls,{...Dg(rs(n),["size","min","max","validateEvent","fill","textColor"]),disabled:s,modelValue:u,changeEvent:c}),_e(()=>n.modelValue,(h,m)=>{n.validateEvent&&!mn(h,m)&&i?.validate("change").catch(pt)}),(h,m)=>(U(),he(vn(e.tag),{id:A(a),class:de(A(o).b("group")),role:"group","aria-label":A(l)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":A(l)?A(i)?.labelId:void 0},{default:pe(()=>[Se(h.$slots,"default",{},()=>[(U(!0),ae(ke,null,Nn(e.options,(v,g)=>(U(),he(vn(p.value),Dt({key:g},{ref_for:!0},d(v)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"]))}}),Pv=qF;const JF=ln(Iv,{CheckboxButton:df,CheckboxGroup:Pv});as(df);const MR=as(Pv),Jl=Xe({trigger:{...$r.trigger,type:me([String,Array])},triggerKeys:{type:me(Array),default:()=>[it.enter,it.numpadEnter,it.space,it.down]},virtualTriggering:$r.virtualTriggering,virtualRef:$r.virtualRef,effect:{...ft.effect,default:"light"},type:{type:me(String)},placement:{type:me(String),default:"bottom"},popperOptions:{type:me(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:me([Number,String]),default:0},maxHeight:{type:me([Number,String]),default:""},popperClass:ft.popperClass,popperStyle:ft.popperStyle,disabled:Boolean,role:{type:String,values:dv,default:"menu"},buttonProps:{type:me(Object)},teleported:ft.teleported,appendTo:ft.appendTo,persistent:{type:Boolean,default:!0}}),LR=Xe({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:vo}}),IR=Xe({onKeydown:{type:me(Function)}}),XF=Xe({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:vo}}),QF={click:e=>e instanceof MouseEvent},ZF=["href","target"];var e3=ue({name:"ElLink",__name:"link",props:XF,emits:QF,setup(e,{emit:t}){const n=e,r=t,o=Ai("link");Bs({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},L(()=>xr(n.underline)));const s=Qe("link"),i=L(()=>[s.b(),s.m(n.type??o.value?.type??"default"),s.is("disabled",n.disabled),s.is("underline",a.value==="always"),s.is("hover-underline",a.value==="hover"&&!n.disabled)]),a=L(()=>xr(n.underline)?n.underline?"hover":"never":n.underline??o.value?.underline??"hover");function l(c){n.disabled||r("click",c)}return(c,u)=>(U(),ae("a",{class:de(i.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:l},[e.icon?(U(),he(A(_o),{key:0},{default:pe(()=>[(U(),he(vn(e.icon)))]),_:1})):Ae("v-if",!0),c.$slots.default?(U(),ae("span",{key:1,class:de(A(s).e("inner"))},[Se(c.$slots,"default")],2)):Ae("v-if",!0),c.$slots.icon?Se(c.$slots,"icon",{key:2}):Ae("v-if",!0)],10,ZF))}}),t3=e3;const Ti=ln(t3);function n3(e,t){let n;const r=Z(!1),o=Jt({...e,originalPosition:"",originalOverflow:"",visible:!1});function s(d){o.text=d}function i(){const d=o.parent,p=f.ns;if(!d.vLoadingAddClassList){let h=d.getAttribute("loading-number");h=Number.parseInt(h)-1,h?d.setAttribute("loading-number",h.toString()):(wa(d,p.bm("parent","relative")),d.removeAttribute("loading-number")),wa(d,p.bm("parent","hidden"))}a(),u.unmount()}function a(){f.$el?.parentNode?.removeChild(f.$el)}function l(){e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(c,400),o.visible=!1,e.closed?.())}function c(){if(!r.value)return;const d=o.parent;r.value=!1,d.vLoadingAddClassList=void 0,i()}const u=eg(ue({name:"ElLoading",setup(d,{expose:p}){const{ns:h,zIndex:m}=NN("loading");return p({ns:h,zIndex:m}),()=>{const v=o.spinner||o.svg,g=jt("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...v?{innerHTML:v}:{}},[jt("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),_=o.text?jt("p",{class:h.b("text")},[o.text]):void 0;return jt(el,{name:h.b("fade"),onAfterLeave:c},{default:pe(()=>[Jn(ee("div",{style:{backgroundColor:o.background||""},class:[h.b("mask"),o.customClass,h.is("fullscreen",o.fullscreen)]},[jt("div",{class:h.b("spinner")},[g,_])]),[[os,o.visible]])])})}}}));Object.assign(u._context,t??{});const f=u.mount(document.createElement("div"));return{...rs(o),setText:s,removeElLoadingChild:a,close:l,handleAfterLeave:c,vm:f,get $el(){return f.$el}}}let Yi;const pf=function(e={},t){if(!xt)return;const n=r3(e);if(n.fullscreen&&Yi)return Yi;const r=n3({...n,closed:()=>{n.closed?.(),n.fullscreen&&(Yi=void 0)}},t??pf._context);o3(n,n.parent,r),Hp(n,n.parent,r),n.parent.vLoadingAddClassList=()=>Hp(n,n.parent,r);let o=n.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",n.parent.setAttribute("loading-number",o),n.parent.appendChild(r.$el),rt(()=>r.visible.value=n.visible),n.fullscreen&&(Yi=r),r},r3=e=>{let t;return Re(e.target)?t=document.querySelector(e.target)??document.body:t=e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},o3=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=bs(document.body,"position"),n.originalOverflow.value=bs(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=bs(document.body,"position"),await rt();for(const s of["top","left"]){const i=s==="top"?"scrollTop":"scrollLeft";o[s]=`${e.target.getBoundingClientRect()[s]+document.body[i]+document.documentElement[i]-Number.parseInt(bs(document.body,`margin-${s}`),10)}px`}for(const s of["height","width"])o[s]=`${e.target.getBoundingClientRect()[s]}px`}else n.originalPosition.value=bs(t,"position");for(const[s,i]of Object.entries(o))n.$el.style[s]=i},Hp=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?wa(t,r.bm("parent","relative")):ap(t,r.bm("parent","relative")),e.fullscreen&&e.lock?ap(t,r.bm("parent","hidden")):wa(t,r.bm("parent","hidden"))};pf._context=null;const Ns=Symbol("ElLoading"),Zr=e=>`element-loading-${Vr(e)}`,Up=(e,t)=>{const n=t.instance,r=c=>we(t.value)?t.value[c]:void 0,o=c=>Z(Re(c)&&n?.[c]||c),s=c=>o(r(c)||e.getAttribute(Zr(c))),i=r("fullscreen")??t.modifiers.fullscreen,a={text:s("text"),svg:s("svg"),svgViewBox:s("svgViewBox"),spinner:s("spinner"),background:s("background"),customClass:s("customClass"),fullscreen:i,target:r("target")??(i?void 0:e),body:r("body")??t.modifiers.body,lock:r("lock")??t.modifiers.lock},l=pf(a);l._context=hf._context,e[Ns]={options:a,instance:l}},s3=(e,t)=>{for(const n of Object.keys(e))nt(e[n])&&(e[n].value=t[n])},hf={mounted(e,t){t.value&&Up(e,t)},updated(e,t){const n=e[Ns];if(!t.value){n?.instance.close(),e[Ns]=null;return}n?s3(n.options,we(t.value)?t.value:{text:e.getAttribute(Zr("text")),svg:e.getAttribute(Zr("svg")),svgViewBox:e.getAttribute(Zr("svgViewBox")),spinner:e.getAttribute(Zr("spinner")),background:e.getAttribute(Zr("background")),customClass:e.getAttribute(Zr("customClass"))}):Up(e,t)},unmounted(e){e[Ns]?.instance.close(),e[Ns]=null}};hf._context=null;const i3=Xe({trigger:$r.trigger,triggerKeys:$r.triggerKeys,placement:Jl.placement,disabled:$r.disabled,visible:ft.visible,transition:ft.transition,popperOptions:Jl.popperOptions,tabindex:Jl.tabindex,content:ft.content,popperStyle:ft.popperStyle,popperClass:ft.popperClass,enterable:{...ft.enterable,default:!0},effect:{...ft.effect,default:"light"},teleported:ft.teleported,appendTo:ft.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),a3={"update:visible":e=>xr(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},l3="onUpdate:visible";var c3=ue({name:"ElPopover",__name:"popover",props:i3,emits:a3,setup(e,{expose:t,emit:n}){const r=e,o=n,s=L(()=>r[l3]),i=Qe("popover"),a=Z(),l=L(()=>A(a)?.popperRef),c=L(()=>[{width:ei(r.width)},r.popperStyle]),u=L(()=>[i.b(),r.popperClass,{[i.m("plain")]:!!r.content}]),f=L(()=>r.transition===`${i.namespace.value}-fade-in-linear`),d=()=>{a.value?.hide()},p=()=>{o("before-enter")},h=()=>{o("before-leave")},m=()=>{o("after-enter")},v=()=>{o("update:visible",!1),o("after-leave")};return t({popperRef:l,hide:d}),(g,_)=>(U(),he(A(lf),Dt({ref_key:"tooltipRef",ref:a},g.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":u.value,"popper-style":c.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":f.value,"onUpdate:visible":s.value,onBeforeShow:p,onBeforeHide:h,onShow:m,onHide:v}),{content:pe(()=>[e.title?(U(),ae("div",{key:0,class:de(A(i).e("title")),role:"title"},De(e.title),3)):Ae("v-if",!0),Se(g.$slots,"default",{hide:d},()=>[Tt(De(e.content),1)])]),default:pe(()=>[g.$slots.reference?Se(g.$slots,"reference",{key:0}):Ae("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),u3=c3;const jp=(e,t)=>{const n=(t.arg||t.value)?.popperRef;n&&(n.triggerRef=e)};var f3={mounted(e,t){jp(e,t)},updated(e,t){jp(e,t)}};const d3="popover",p3=tO(f3,d3),h3=ln(u3,{directive:p3}),m3="local://",g3="main",v3="container",_3="item",x3="/__global_config__",b3="/node_modules/.prebuild_module",y3="_metadata.json",E3="/_module_load_prefix_",C3="/_node_modules_load_prefix_",S3="/_comp_preview_prefix_local_",w3="/__proxy__",A3="__remote__",T3="__local__",O3="https://api.comphub.cn:5696",N3="http://localhost:7002",F3="http://localhost:5000",M3="http://localhost:5001",L3="Comp Hub",I3="csrfToken",P3="authorization",D3="x-refresh-token",k3="x-csrf-token",R3="accept-language",$3="isGuestLogin",B3="comp-hub-db",V3="file-compiled",H3="https://oss.comphub.cn",U3="oss:sts:token",j3="oss:sts:expire",W3="comp.json",G3="README.md",z3="/.comp_hub_temp",K3="main.js",Y3="index.vue",Dv="list_local",kv="list_remote",q3={COMP_LIST_TYPE_LOCAL:Dv,COMP_LIST_TYPE_REMOTE:kv},Rv="config",$v="error",Bv="dir",Vv="preview",Hv="extra",Uv="deps",jv="upgradeLog",Wv="readme",J3={TAB_TYPE_CONFIG:Rv,TAB_TYPE_ERROR:$v,TAB_TYPE_DIR:Bv,TAB_TYPE_PREVIEW:Vv,TAB_TYPE_EXTRA:Hv,TAB_TYPE_DEPS:Uv,TAB_TYPE_UPGRADE_LOG:jv,TAB_TYPE_README:Wv},Gv="mini",zv="full",X3={COMP_EDIT_TAB_TYPE_MINI:Gv,COMP_EDIT_TAB_TYPE_FULL:zv},Kv="EDIT",Yv="ADD",Q3={DIALOG_TYPE_EDIT:Kv,DIALOG_TYPE_ADD:Yv},qv="ONLY_INSTALL",Jv="MAJOR_VERSION",Xv="MINOR_VERSION",Qv="EXACT_VERSION",Z3={COMP_MATCH_TYPE_ONLY_INSTALL:qv,COMP_MATCH_TYPE_MAJOR_VERSION:Jv,COMP_MATCH_TYPE_MINOR_VERSION:Xv,COMP_MATCH_TYPE_EXACT_VERSION:Qv},Zv="online",e1="offline",eM={COMP_UPDATE_TYPE_ONLINE:Zv,COMP_UPDATE_TYPE_OFFLINE:e1},tM=0,nM=1,rM=-1,t1="checkPreviewListForm",n1="checkExtraInfoForm",r1="checkCompConfig",o1="afterCompDel",s1="openCompTerminal",i1="afterCompCancelCollect",a1="afterCompRenderRetry",l1="getCompError",c1="checkUpgradeLogForm",oM={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:t1,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:n1,COMP_METHOD_KEY_CHECK_COMP_CONFIG:r1,COMP_METHOD_KEY_AFTER_COMP_DEL:o1,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:s1,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:i1,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:a1,COMP_METHOD_KEY_GET_COMP_ERROR:l1,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:c1},sM={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},iM="http://127.0.0.1",aM="http://localhost:8095",lM="http://localhost:8096",cM="http://localhost:5198",uM="/item",fM="/container",dM="CREATE",pM="JOIN",hM="EXIT",mM="teamAddMyComp",gM="teamCompList",vM="teamCompGroupList",_M="teamMyCompList",xM="teamMyCompUpdate",bM="vue/dist/vue.esm-bundler.js",yM="__v__",EM="compListStore",CM="compEditStore",SM="callbacks",wM="comphubConfig",AM="local",TM="prod",OM="local",NM="prod",FM="http://localhost:5173/en/",MM="https://docs.comphub.cn/en/",LM=20,IM=20,at=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:R3,AUTHORIZATION_HEADER_NAME:P3,CACHE_KEY_STS_EXPIRE_TIME:j3,CACHE_KEY_STS_TOKEN:U3,COMPHUB_CONFIG_KEY:wM,COMP_ACTION_ICON_HEIGHT:IM,COMP_ACTION_ICON_WIDTH:LM,COMP_CONFIG_FILENAME:W3,COMP_EDIT_TAB_TYPES:X3,COMP_EDIT_TAB_TYPE_FULL:zv,COMP_EDIT_TAB_TYPE_MINI:Gv,COMP_ENTRY_FILE:K3,COMP_HUB_DEV_DOCS_URL:FM,COMP_HUB_PROD_DOCS_URL:MM,COMP_LIST_TYPES:q3,COMP_LIST_TYPE_LOCAL:Dv,COMP_LIST_TYPE_REMOTE:kv,COMP_MATCH_TYPES:Z3,COMP_MATCH_TYPE_EXACT_VERSION:Qv,COMP_MATCH_TYPE_MAJOR_VERSION:Jv,COMP_MATCH_TYPE_MINOR_VERSION:Xv,COMP_MATCH_TYPE_ONLY_INSTALL:qv,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:i1,COMP_METHOD_KEY_AFTER_COMP_DEL:o1,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:a1,COMP_METHOD_KEY_CHECK_COMP_CONFIG:r1,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:n1,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:t1,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:c1,COMP_METHOD_KEY_GET_COMP_ERROR:l1,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:s1,COMP_PREVIEW_PREFIX_LOCAL:S3,COMP_README_FILENAME:G3,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:z3,COMP_UPDATE_TYPES:eM,COMP_UPDATE_TYPE_OFFLINE:e1,COMP_UPDATE_TYPE_ONLINE:Zv,COMP_USE_ENTRY_FILE:Y3,CSRF_KEY:I3,CSRF_TOKEN_HEADER_NAME:k3,DIALOG_TYPES:Q3,DIALOG_TYPE_ADD:Yv,DIALOG_TYPE_EDIT:Kv,FILE_MANAGER_DIRNAME:m3,GLOBAL_CONFIG_PATH:x3,IFRAME_CONTAINER_WEBSITE_PATH:fM,IFRAME_HOST:iM,IFRAME_ITEM_WEBSITE_PATH:uM,IFRAME_ROUTES:sM,INDEX_DB_NAME:B3,INDEX_DB_TABLE_NAME:V3,IS_GUEST_LOGIN:$3,LOCAL_CHILD_IFRAME_URL:aM,LOCAL_LEAF_IFRAME_URL:lM,LOCAL_MIDWAY_ENV_LOCAL:AM,LOCAL_MIDWAY_ENV_PROD:TM,LOCAL_SERVICE_PREFIX:T3,LOCAL_SERVICE_URL_DEV:F3,LOCAL_SERVICE_URL_DEV_SUB:M3,LOCAL_TOP_IFRAME_URL:cM,META_FILE_NAME:y3,MODULE_LOAD_PREFIX:E3,NODE_MODULES_LOAD_PREFIX:C3,OSS_CUSTOM_DOMAIN:H3,PREBUILD_MODULE_DIR:b3,PROVIDE_KEYS:oM,PROVIDE_KEY_CALLBACKS:SM,PROVIDE_KEY_COMP_EDIT_STORE:CM,PROVIDE_KEY_COMP_LIST_STORE:EM,PROXY_PATH_PREFIX:w3,REFRESH_TOKEN_HEADER_NAME:D3,REMOTE_MIDWAY_ENV_LOCAL:OM,REMOTE_MIDWAY_ENV_PROD:NM,REMOTE_SERVICE_PREFIX:A3,REMOTE_SERVICE_URL_DEV:N3,REMOTE_SERVICE_URL_PROD:O3,ROUTE_STATE_KEY_VERSION:yM,SCOPE_ID_TEAM_ADD_MY_COMP:mM,SCOPE_ID_TEAM_COMP_GROUP_LIST:vM,SCOPE_ID_TEAM_COMP_LIST:gM,SCOPE_ID_TEAM_MY_COMP_LIST:_M,SCOPE_ID_TEAM_MY_COMP_UPDATE:xM,SITE_TITLE:L3,TAB_TYPES:J3,TAB_TYPE_CONFIG:Rv,TAB_TYPE_DEPS:Uv,TAB_TYPE_DIR:Bv,TAB_TYPE_ERROR:$v,TAB_TYPE_EXTRA:Hv,TAB_TYPE_PREVIEW:Vv,TAB_TYPE_README:Wv,TAB_TYPE_UPGRADE_LOG:jv,TEAM_OPERATE_TYPE_CREATE:dM,TEAM_OPERATE_TYPE_EXIT:hM,TEAM_OPERATE_TYPE_JOIN:pM,VERSION_COMPARE_GREATER:nM,VERSION_COMPARE_LESS:rM,VERSION_COMPARE_SAME:tM,VUE_ESM_BUNDLER:bM,WEBSITE_PATH_CONTAINER:v3,WEBSITE_PATH_ITEM:_3,WEBSITE_PATH_MAIN:g3},Symbol.toStringTag,{value:"Module"})),PM="comp-hub-locale",DM=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:PM},Symbol.toStringTag,{value:"Module"}));var Xl={exports:{}},Wp;function kM(){return Wp||(Wp=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function i(l,c){if(!s[l]){s[l]={};for(var u=0;u<l.length;u++)s[l][l.charAt(u)]=u}return s[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return r.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return i(r,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(n(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return i(o,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return n(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},h={},m="",v="",g="",_=2,y=3,x=2,S=[],E=0,b=0,O;for(O=0;O<l.length;O+=1)if(m=l.charAt(O),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=y++,h[m]=!0),v=g+m,Object.prototype.hasOwnProperty.call(p,v))g=v;else{if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(f=0;f<x;f++)E=E<<1,b==c-1?(b=0,S.push(u(E)),E=0):b++;for(d=g.charCodeAt(0),f=0;f<8;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}else{for(d=1,f=0;f<x;f++)E=E<<1|d,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=0;for(d=g.charCodeAt(0),f=0;f<16;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}_--,_==0&&(_=Math.pow(2,x),x++),delete h[g]}else for(d=p[g],f=0;f<x;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1;_--,_==0&&(_=Math.pow(2,x),x++),p[v]=y++,g=String(m)}if(g!==""){if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(f=0;f<x;f++)E=E<<1,b==c-1?(b=0,S.push(u(E)),E=0):b++;for(d=g.charCodeAt(0),f=0;f<8;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}else{for(d=1,f=0;f<x;f++)E=E<<1|d,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=0;for(d=g.charCodeAt(0),f=0;f<16;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}_--,_==0&&(_=Math.pow(2,x),x++),delete h[g]}else for(d=p[g],f=0;f<x;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1;_--,_==0&&(_=Math.pow(2,x),x++)}for(d=2,f=0;f<x;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1;for(;;)if(E=E<<1,b==c-1){S.push(u(E));break}else b++;return S.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,h=3,m="",v=[],g,_,y,x,S,E,b,O={val:u(0),position:c,index:1};for(g=0;g<3;g+=1)f[g]=g;for(y=0,S=Math.pow(2,2),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;switch(y){case 0:for(y=0,S=Math.pow(2,8),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;b=n(y);break;case 1:for(y=0,S=Math.pow(2,16),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;b=n(y);break;case 2:return""}for(f[3]=b,_=b,v.push(b);;){if(O.index>l)return"";for(y=0,S=Math.pow(2,h),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;switch(b=y){case 0:for(y=0,S=Math.pow(2,8),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;f[p++]=n(y),b=p-1,d--;break;case 1:for(y=0,S=Math.pow(2,16),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;f[p++]=n(y),b=p-1,d--;break;case 2:return v.join("")}if(d==0&&(d=Math.pow(2,h),h++),f[b])m=f[b];else if(b===p)m=_+_.charAt(0);else return null;v.push(m),f[p++]=_+m.charAt(0),d--,_=m,d==0&&(d=Math.pow(2,h),h++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Xl)),Xl.exports}var RM=kM();const Gp=tF(RM),zp=["topOrigin","compType","userId","instanceUid","compId","isSfc"],kt=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!zp.includes(l)).length)throw new Error(`iframe参数键名只能包含${zp.join(", ")}`);return Gp.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=Gp.decompressFromEncodedURIComponent(i);return JSON.parse(a)}function r(){const a=new URLSearchParams(window.location.search).get("params")??"";return n(a)}function o(i){const a={...e,...i};return t(a)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},cn=e=>{const{params:{topOrigin:t}}=kt();return e?at.LOCAL_TOP_IFRAME_URL:t},$M=(e,t)=>`${at.IFRAME_HOST}:${t}`,Ie={LIST_INIT:"list_init",LIST_INIT_GET:"list_init_get",ITEM_VERSION_CHANGE:"item_version_change",ITEM_VERSION_LIST_GET:"item_version_list_get",ITEM_VERSION_LIST_SET:"item_version_list_set",ITEM_SITE_PATH_SET:"item_site_path_set",ITEM_SITE_PATH_GET:"item_site_path_get",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",UPDATE_IFRAME_HEIGHT:"update_iframe_height",SELECTED_ROWS_SET:"selected_rows_set",SELECTED_ROWS_GET:"selected_rows_get",SELECTED_ROWS_TO_LEAF_NODE_MAP_SET:"selected_rows_to_leaf_node_map_set",SELECTED_ROWS_TO_LEAF_NODE_MAP_GET:"selected_rows_to_leaf_node_map_get",COMP_GROUP_PATH_GET:"comp_group_path_get",COMP_GROUP_PATH_SET:"comp_group_path_set",LOCAL_EXIST_GET:"local_exist_get",LOCAL_EXIST_SET:"local_exist_set",ACTION_ADD_COMP_START_LOADING:"action_add_comp_start_loading",ACTION_ADD_COMP_FINISH_LOADING:"action_add_comp_finish_loading",ACTION_DOWNLOAD:"action_download",ACTION_PREVIEW:"action_preview",ACTION_PREVIEW_LOCAL:"action_preview_local",ACTION_COLLECT:"action_collect",ACTION_UPDATE:"action_update",ACTION_DELETE:"action_delete",ACTION_OPEN_VSCODE_LOCAL:"action_open_vscoe_local",OSS_FILE_SIGN_URL_GET:"oss_file_sign_url_get",OSS_FILE_SIGN_URL_SET:"oss_file_sign_url_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SEARCH_KEYWORD_GET:"search_keyword_get",SEARCH_KEYWORD_SET:"search_keyword_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get"};function un(){const e=Ye();return{sendMessageToParent:(s,i,a)=>{window.parent.postMessage({type:s,payload:JSON.stringify(i)},a)},sendMessageToTop:(s,i,a,l)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:s,payload:JSON.stringify(i),instanceUid:l},a)},sendMessageToTargetIframe:(s,i,a,l)=>{s.postMessage({type:i,payload:JSON.stringify(a)},l)},messageListener:()=>{const s=new Map,i=a=>{const{type:l,payload:c,instanceUid:u}=a.data??{},f=a.source===window.parent||a.source===window.top,d=u?.split(",").some(h=>h===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),yo(()=>{window.removeEventListener("message",i),s.clear()}),{addListener:(a,l)=>{s.set(a,c=>{l(c)})},removeListener:a=>{a?s.delete(a):(s.clear(),window.removeEventListener("message",i))}}},instanceUid:L(()=>e?.uid?.toString()??"")}}function BM(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Na=typeof window<"u",Ur=(e,t=!1)=>t?Symbol.for(e):Symbol(e),VM=(e,t,n)=>HM({l:e,k:t,s:n}),HM=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),dt=e=>typeof e=="number"&&isFinite(e),u1=e=>mf(e)==="[object Date]",Qo=e=>mf(e)==="[object RegExp]",vl=e=>$e(e)&&Object.keys(e).length===0,ht=Object.assign,UM=Object.create,Je=(e=null)=>UM(e);let Kp;const so=()=>Kp||(Kp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Je());function Yp(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 qp(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function jM(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,s)=>`${o}="${qp(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,s)=>`${o}='${qp(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript&#58;")}),e}const WM=Object.prototype.hasOwnProperty;function gn(e,t){return WM.call(e,t)}const lt=Array.isArray,ot=e=>typeof e=="function",fe=e=>typeof e=="string",je=e=>typeof e=="boolean",We=e=>e!==null&&typeof e=="object",GM=e=>We(e)&&ot(e.then)&&ot(e.catch),f1=Object.prototype.toString,mf=e=>f1.call(e),$e=e=>mf(e)==="[object Object]",zM=e=>e==null?"":lt(e)||$e(e)&&e.toString===f1?JSON.stringify(e,null,2):String(e);function gf(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const qi=e=>!We(e)||lt(e);function oa(e,t){if(qi(e)||qi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(We(r[s])&&!We(o[s])&&(o[s]=Array.isArray(r[s])?[]:Je()),qi(o[s])||qi(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function KM(e,t,n){return{line:e,column:t,offset:n}}function Wc(e,t,n){return{start:e,end:t}}const Ke={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},YM=17;function _l(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function qM(e){throw e}const $n=" ",JM="\r",Ft=`
9
- `,XM="\u2028",QM="\u2029";function ZM(e){const t=e;let n=0,r=1,o=1,s=0;const i=b=>t[b]===JM&&t[b+1]===Ft,a=b=>t[b]===Ft,l=b=>t[b]===QM,c=b=>t[b]===XM,u=b=>i(b)||a(b)||l(b)||c(b),f=()=>n,d=()=>r,p=()=>o,h=()=>s,m=b=>i(b)||l(b)||c(b)?Ft:t[b],v=()=>m(n),g=()=>m(n+s);function _(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function y(){return i(n+s)&&s++,s++,t[n+s]}function x(){n=0,r=1,o=1,s=0}function S(b=0){s=b}function E(){const b=n+s;for(;b!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:g,next:_,peek:y,reset:x,resetPeek:S,skipToPeek:E}}const rr=void 0,eL=".",Jp="'",tL="tokenizer";function nL(e,t={}){const n=t.location!==!1,r=ZM(e),o=()=>r.index(),s=()=>KM(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(C,w,P,...B){const ie=c();if(w.column+=P,w.offset+=P,u){const Q=n?Wc(ie.startLoc,w):null,k=_l(C,Q,{domain:tL,args:B});u(k)}}function d(C,w,P){C.endLoc=s(),C.currentType=w;const B={type:w};return n&&(B.loc=Wc(C.startLoc,C.endLoc)),P!=null&&(B.value=P),B}const p=C=>d(C,13);function h(C,w){return C.currentChar()===w?(C.next(),w):(f(Ke.EXPECTED_TOKEN,s(),0,w),"")}function m(C){let w="";for(;C.currentPeek()===$n||C.currentPeek()===Ft;)w+=C.currentPeek(),C.peek();return w}function v(C){const w=m(C);return C.skipToPeek(),w}function g(C){if(C===rr)return!1;const w=C.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function _(C){if(C===rr)return!1;const w=C.charCodeAt(0);return w>=48&&w<=57}function y(C,w){const{currentType:P}=w;if(P!==2)return!1;m(C);const B=g(C.currentPeek());return C.resetPeek(),B}function x(C,w){const{currentType:P}=w;if(P!==2)return!1;m(C);const B=C.currentPeek()==="-"?C.peek():C.currentPeek(),ie=_(B);return C.resetPeek(),ie}function S(C,w){const{currentType:P}=w;if(P!==2)return!1;m(C);const B=C.currentPeek()===Jp;return C.resetPeek(),B}function E(C,w){const{currentType:P}=w;if(P!==7)return!1;m(C);const B=C.currentPeek()===".";return C.resetPeek(),B}function b(C,w){const{currentType:P}=w;if(P!==8)return!1;m(C);const B=g(C.currentPeek());return C.resetPeek(),B}function O(C,w){const{currentType:P}=w;if(!(P===7||P===11))return!1;m(C);const B=C.currentPeek()===":";return C.resetPeek(),B}function F(C,w){const{currentType:P}=w;if(P!==9)return!1;const B=()=>{const Q=C.currentPeek();return Q==="{"?g(C.peek()):Q==="@"||Q==="|"||Q===":"||Q==="."||Q===$n||!Q?!1:Q===Ft?(C.peek(),B()):W(C,!1)},ie=B();return C.resetPeek(),ie}function V(C){m(C);const w=C.currentPeek()==="|";return C.resetPeek(),w}function W(C,w=!0){const P=(ie=!1,Q="")=>{const k=C.currentPeek();return k==="{"||k==="@"||!k?ie:k==="|"?!(Q===$n||Q===Ft):k===$n?(C.peek(),P(!0,$n)):k===Ft?(C.peek(),P(!0,Ft)):!0},B=P();return w&&C.resetPeek(),B}function I(C,w){const P=C.currentChar();return P===rr?rr:w(P)?(C.next(),P):null}function Y(C){const w=C.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36}function H(C){return I(C,Y)}function D(C){const w=C.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36||w===45}function M(C){return I(C,D)}function R(C){const w=C.charCodeAt(0);return w>=48&&w<=57}function j(C){return I(C,R)}function ne(C){const w=C.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function le(C){return I(C,ne)}function xe(C){let w="",P="";for(;w=j(C);)P+=w;return P}function Ee(C){let w="";for(;;){const P=C.currentChar();if(P==="\\"){const B=C.peek();B==="{"||B==="}"||B==="@"||B==="|"||B==="\\"?(w+=P+B,C.next(),C.next()):(C.resetPeek(),w+=P,C.next())}else{if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P===$n||P===Ft)if(W(C))w+=P,C.next();else{if(V(C))break;w+=P,C.next()}else w+=P,C.next()}}return w}function Ne(C){v(C);let w="",P="";for(;w=M(C);)P+=w;const B=C.currentChar();if(B&&B!=="}"&&B!==rr&&B!==$n&&B!==Ft&&B!==" "){const ie=re(C);return f(Ke.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P+ie),P+ie}return C.currentChar()===rr&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),P}function Fe(C){v(C);let w="";return C.currentChar()==="-"?(C.next(),w+=`-${xe(C)}`):w+=xe(C),C.currentChar()===rr&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),w}function Le(C){return C!==Jp&&C!==Ft}function He(C){v(C),h(C,"'");let w="",P="";for(;w=I(C,Le);)w==="\\"?P+=K(C):P+=w;const B=C.currentChar();return B===Ft||B===rr?(f(Ke.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),B===Ft&&(C.next(),h(C,"'")),P):(h(C,"'"),P)}function K(C){const w=C.currentChar();switch(w){case"\\":case"'":return C.next(),`\\${w}`;case"u":return se(C,w,4);case"U":return se(C,w,6);default:return f(Ke.UNKNOWN_ESCAPE_SEQUENCE,s(),0,w),""}}function se(C,w,P){h(C,w);let B="";for(let ie=0;ie<P;ie++){const Q=le(C);if(!Q){f(Ke.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${w}${B}${C.currentChar()}`);break}B+=Q}return`\\${w}${B}`}function oe(C){return C!=="{"&&C!=="}"&&C!==$n&&C!==Ft}function re(C){v(C);let w="",P="";for(;w=I(C,oe);)P+=w;return P}function Ce(C){let w="",P="";for(;w=H(C);)P+=w;return P}function T(C){const w=P=>{const B=C.currentChar();return B==="{"||B==="@"||B==="|"||B==="("||B===")"||!B||B===$n?P:(P+=B,C.next(),w(P))};return w("")}function N(C){v(C);const w=h(C,"|");return v(C),w}function $(C,w){let P=null;switch(C.currentChar()){case"{":return w.braceNest>=1&&f(Ke.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),C.next(),P=d(w,2,"{"),v(C),w.braceNest++,P;case"}":return w.braceNest>0&&w.currentType===2&&f(Ke.EMPTY_PLACEHOLDER,s(),0),C.next(),P=d(w,3,"}"),w.braceNest--,w.braceNest>0&&v(C),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),P;case"@":return w.braceNest>0&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),P=q(C,w)||p(w),w.braceNest=0,P;default:{let ie=!0,Q=!0,k=!0;if(V(C))return w.braceNest>0&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),P=d(w,1,N(C)),w.braceNest=0,w.inLinked=!1,P;if(w.braceNest>0&&(w.currentType===4||w.currentType===5||w.currentType===6))return f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),w.braceNest=0,X(C,w);if(ie=y(C,w))return P=d(w,4,Ne(C)),v(C),P;if(Q=x(C,w))return P=d(w,5,Fe(C)),v(C),P;if(k=S(C,w))return P=d(w,6,He(C)),v(C),P;if(!ie&&!Q&&!k)return P=d(w,12,re(C)),f(Ke.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P.value),v(C),P;break}}return P}function q(C,w){const{currentType:P}=w;let B=null;const ie=C.currentChar();switch((P===7||P===8||P===11||P===9)&&(ie===Ft||ie===$n)&&f(Ke.INVALID_LINKED_FORMAT,s(),0),ie){case"@":return C.next(),B=d(w,7,"@"),w.inLinked=!0,B;case".":return v(C),C.next(),d(w,8,".");case":":return v(C),C.next(),d(w,9,":");default:return V(C)?(B=d(w,1,N(C)),w.braceNest=0,w.inLinked=!1,B):E(C,w)||O(C,w)?(v(C),q(C,w)):b(C,w)?(v(C),d(w,11,Ce(C))):F(C,w)?(v(C),ie==="{"?$(C,w)||B:d(w,10,T(C))):(P===7&&f(Ke.INVALID_LINKED_FORMAT,s(),0),w.braceNest=0,w.inLinked=!1,X(C,w))}}function X(C,w){let P={type:13};if(w.braceNest>0)return $(C,w)||p(w);if(w.inLinked)return q(C,w)||p(w);switch(C.currentChar()){case"{":return $(C,w)||p(w);case"}":return f(Ke.UNBALANCED_CLOSING_BRACE,s(),0),C.next(),d(w,3,"}");case"@":return q(C,w)||p(w);default:{if(V(C))return P=d(w,1,N(C)),w.braceNest=0,w.inLinked=!1,P;if(W(C))return d(w,0,Ee(C));break}}return P}function J(){const{currentType:C,offset:w,startLoc:P,endLoc:B}=l;return l.lastType=C,l.lastOffset=w,l.lastStartLoc=P,l.lastEndLoc=B,l.offset=o(),l.startLoc=s(),r.currentChar()===rr?d(l,13):X(r,l)}return{nextToken:J,currentOffset:o,currentPosition:s,context:c}}const rL="parser",oL=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,sL=/\\([\\@{}|])/g;function iL(e,t){return t}function aL(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 lL(e={}){const t=e.location!==!1,{onError:n}=e;function r(g,_,y,x,...S){const E=g.currentPosition();if(E.offset+=x,E.column+=x,n){const b=t?Wc(y,E):null,O=_l(_,b,{domain:rL,args:S});n(O)}}function o(g,_,y){const x={type:g};return t&&(x.start=_,x.end=_,x.loc={start:y,end:y}),x}function s(g,_,y,x){t&&(g.end=_,g.loc&&(g.loc.end=y))}function i(g,_){const y=g.context(),x=o(3,y.offset,y.startLoc);return x.value=_.replace(sL,iL),s(x,g.currentOffset(),g.currentPosition()),x}function a(g,_){const y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(5,x,S);return E.index=parseInt(_,10),g.nextToken(),s(E,g.currentOffset(),g.currentPosition()),E}function l(g,_){const y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(4,x,S);return E.key=_,g.nextToken(),s(E,g.currentOffset(),g.currentPosition()),E}function c(g,_){const y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(9,x,S);return E.value=_.replace(oL,aL),g.nextToken(),s(E,g.currentOffset(),g.currentPosition()),E}function u(g){const _=g.nextToken(),y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(8,x,S);return _.type!==11?(r(g,Ke.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),E.value="",s(E,x,S),{nextConsumeToken:_,node:E}):(_.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Bn(_)),E.value=_.value||"",s(E,g.currentOffset(),g.currentPosition()),{node:E})}function f(g,_){const y=g.context(),x=o(7,y.offset,y.startLoc);return x.value=_,s(x,g.currentOffset(),g.currentPosition()),x}function d(g){const _=g.context(),y=o(6,_.offset,_.startLoc);let x=g.nextToken();if(x.type===8){const S=u(g);y.modifier=S.node,x=S.nextConsumeToken||g.nextToken()}switch(x.type!==9&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),x=g.nextToken(),x.type===2&&(x=g.nextToken()),x.type){case 10:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=f(g,x.value||"");break;case 4:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=l(g,x.value||"");break;case 5:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=a(g,x.value||"");break;case 6:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=c(g,x.value||"");break;default:{r(g,Ke.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=g.context(),E=o(7,S.offset,S.startLoc);return E.value="",s(E,S.offset,S.startLoc),y.key=E,s(y,S.offset,S.startLoc),{nextConsumeToken:x,node:y}}}return s(y,g.currentOffset(),g.currentPosition()),{node:y}}function p(g){const _=g.context(),y=_.currentType===1?g.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,S=o(2,y,x);S.items=[];let E=null;do{const F=E||g.nextToken();switch(E=null,F.type){case 0:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(i(g,F.value||""));break;case 5:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(a(g,F.value||""));break;case 4:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(l(g,F.value||""));break;case 6:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(c(g,F.value||""));break;case 7:{const V=d(g);S.items.push(V.node),E=V.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const b=_.currentType===1?_.lastOffset:g.currentOffset(),O=_.currentType===1?_.lastEndLoc:g.currentPosition();return s(S,b,O),S}function h(g,_,y,x){const S=g.context();let E=x.items.length===0;const b=o(1,_,y);b.cases=[],b.cases.push(x);do{const O=p(g);E||(E=O.items.length===0),b.cases.push(O)}while(S.currentType!==13);return E&&r(g,Ke.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),s(b,g.currentOffset(),g.currentPosition()),b}function m(g){const _=g.context(),{offset:y,startLoc:x}=_,S=p(g);return _.currentType===13?S:h(g,y,x,S)}function v(g){const _=nL(g,ht({},e)),y=_.context(),x=o(0,y.offset,y.startLoc);return t&&x.loc&&(x.loc.source=g),x.body=m(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(g)),y.currentType!==13&&r(_,Ke.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,g[y.offset]||""),s(x,_.currentOffset(),_.currentPosition()),x}return{parse:v}}function Bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function cL(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Xp(e,t){for(let n=0;n<e.length;n++)vf(e[n],t)}function vf(e,t){switch(e.type){case 1:Xp(e.cases,t),t.helper("plural");break;case 2:Xp(e.items,t);break;case 6:{vf(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 uL(e,t={}){const n=cL(e);n.helper("normalize"),e.body&&vf(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function fL(e){const t=e.body;return t.type===2?Qp(t):t.cases.forEach(n=>Qp(n)),e}function Qp(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=gf(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 Io(e){switch(e.t=e.type,e.type){case 0:{const t=e;Io(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++)Io(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++)Io(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;Io(t.key),t.k=t.key,delete t.key,t.modifier&&(Io(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 dL(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(m,v){i.code+=m}function c(m,v=!0){const g=v?r:"";l(o?g+" ".repeat(m):g)}function u(m=!0){const v=++i.indentLevel;m&&c(v)}function f(m=!0){const v=--i.indentLevel;m&&c(v)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:m=>`_${m}`,needIndent:()=>i.needIndent}}function pL(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Zo(e,t.key),t.modifier?(e.push(", "),Zo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function hL(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&&(Zo(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function mL(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&&(Zo(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function gL(e,t){t.body?Zo(e,t.body):e.push("null")}function Zo(e,t){const{helper:n}=e;switch(t.type){case 0:gL(e,t);break;case 1:mL(e,t);break;case 2:hL(e,t);break;case 6:pL(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 vL=(e,t={})=>{const n=fe(t.mode)?t.mode:"normal",r=fe(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
10
- `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=dL(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${gf(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),Zo(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function _L(e,t={}){const n=ht({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=lL(n).parse(e);return r?(s&&fL(a),o&&Io(a),{ast:a,code:""}):(uL(a,n),vL(a,n))}function xL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(so().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(so().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function qn(e){return We(e)&&_f(e)===0&&(gn(e,"b")||gn(e,"body"))}const d1=["b","body"];function bL(e){return jr(e,d1)}const p1=["c","cases"];function yL(e){return jr(e,p1,[])}const h1=["s","static"];function EL(e){return jr(e,h1)}const m1=["i","items"];function CL(e){return jr(e,m1,[])}const g1=["t","type"];function _f(e){return jr(e,g1)}const v1=["v","value"];function Ji(e,t){const n=jr(e,v1);if(n!=null)return n;throw ii(t)}const _1=["m","modifier"];function SL(e){return jr(e,_1)}const x1=["k","key"];function wL(e){const t=jr(e,x1);if(t)return t;throw ii(6)}function jr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(gn(e,o)&&e[o]!=null)return e[o]}return n}const b1=[...d1,...p1,...h1,...m1,...x1,..._1,...v1,...g1];function ii(e){return new Error(`unhandled node type: ${e}`)}function Ql(e){return n=>AL(n,e)}function AL(e,t){const n=bL(t);if(n==null)throw ii(0);if(_f(n)===1){const s=yL(n);return e.plural(s.reduce((i,a)=>[...i,Zp(e,a)],[]))}else return Zp(e,n)}function Zp(e,t){const n=EL(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=CL(t).reduce((o,s)=>[...o,Gc(e,s)],[]);return e.normalize(r)}}function Gc(e,t){const n=_f(t);switch(n){case 3:return Ji(t,n);case 9:return Ji(t,n);case 4:{const r=t;if(gn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(gn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw ii(n)}case 5:{const r=t;if(gn(r,"i")&&dt(r.i))return e.interpolate(e.list(r.i));if(gn(r,"index")&&dt(r.index))return e.interpolate(e.list(r.index));throw ii(n)}case 6:{const r=t,o=SL(r),s=wL(r);return e.linked(Gc(e,s),o?Gc(e,o):void 0,e.type)}case 7:return Ji(t,n);case 8:return Ji(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const TL=e=>e;let Xi=Je();function OL(e,t={}){let n=!1;const r=t.onError||qM;return t.onError=o=>{n=!0,r(o)},{..._L(e,t),detectError:n}}function NL(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&fe(e)){je(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||TL)(e),o=Xi[r];if(o)return o;const{ast:s,detectError:i}=OL(e,{...t,location:!1,jit:!0}),a=Ql(s);return i?a:Xi[r]=a}else{const n=e.cacheKey;if(n){const r=Xi[n];return r||(Xi[n]=Ql(e))}else return Ql(e)}}let ai=null;function FL(e){ai=e}function ML(e,t,n){ai&&ai.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const LL=IL("function:translate");function IL(e){return t=>ai&&ai.emit(e,t)}const pr={INVALID_ARGUMENT:YM,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},PL=24;function hr(e){return _l(e,null,void 0)}function xf(e,t){return t.locale!=null?e0(t.locale):e0(e.locale)}let Zl;function e0(e){if(fe(e))return e;if(ot(e)){if(e.resolvedOnce&&Zl!=null)return Zl;if(e.constructor.name==="Function"){const t=e();if(GM(t))throw hr(pr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Zl=t}else throw hr(pr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hr(pr.NOT_SUPPORT_LOCALE_TYPE)}function DL(e,t,n){return[...new Set([n,...lt(t)?t:We(t)?Object.keys(t):fe(t)?[t]:[n]])]}function zc(e,t,n){const r=fe(n)?n:li,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;lt(i);)i=t0(s,i,t);const a=lt(t)||!$e(t)?t:t.default?t.default:null;i=fe(a)?[a]:a,lt(i)&&t0(s,i,!1),o.__localeChainCache.set(r,s)}return s}function t0(e,t,n){let r=!0;for(let o=0;o<t.length&&je(r);o++){const s=t[o];fe(s)&&(r=kL(e,t[o],n))}return r}function kL(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=RL(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function RL(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),(lt(n)||$e(n))&&n[o]&&(r=n[o])}return r}const Wr=[];Wr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wr[1]={w:[1],".":[2],"[":[4],o:[7]};Wr[2]={w:[2],i:[3,0],0:[3,0]};Wr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wr[5]={"'":[4,0],o:8,l:[5,0]};Wr[6]={'"':[4,0],o:8,l:[6,0]};const $L=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function BL(e){return $L.test(e)}function VL(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 HL(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 UL(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:BL(t)?VL(t):"*"+t}function jL(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=UL(i),i===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=HL(s),f=Wr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const n0=new Map;function WL(e,t){return We(e)?e[t]:null}function GL(e,t){if(!We(e))return null;let n=n0.get(t);if(n||(n=jL(t),n&&n0.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(b1.includes(i)&&qn(o)||!We(o)||!gn(o,i))return null;const a=o[i];if(a===void 0||ot(o))return null;o=a,s++}return o}const zL="11.4.2",xl=-1,li="en-US",Fa="",r0=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function KL(){return{upper:(e,t)=>t==="text"&&fe(e)?e.toUpperCase():t==="vnode"&&We(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&fe(e)?e.toLowerCase():t==="vnode"&&We(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&fe(e)?r0(e):t==="vnode"&&We(e)&&"__v_isVNode"in e?r0(e.children):e}}let y1;function YL(e){y1=e}let E1;function qL(e){E1=e}let C1;function JL(e){C1=e}let S1=null;const XL=e=>{S1=e},QL=()=>S1;let w1=null;const o0=e=>{w1=e},ZL=()=>w1;let s0=0;function e4(e={}){const t=ot(e.onWarn)?e.onWarn:BM,n=fe(e.version)?e.version:zL,r=fe(e.locale)||ot(e.locale)?e.locale:li,o=ot(r)?li:r,s=lt(e.fallbackLocale)||$e(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=$e(e.messages)?e.messages:ec(o),a=$e(e.datetimeFormats)?e.datetimeFormats:ec(o),l=$e(e.numberFormats)?e.numberFormats:ec(o),c=ht(Je(),e.modifiers,KL()),u=e.pluralRules||Je(),f=ot(e.missing)?e.missing:null,d=je(e.missingWarn)||Qo(e.missingWarn)?e.missingWarn:!0,p=je(e.fallbackWarn)||Qo(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=ot(e.postTranslation)?e.postTranslation:null,g=$e(e.processor)?e.processor:null,_=je(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,x=ot(e.messageCompiler)?e.messageCompiler:y1,S=ot(e.messageResolver)?e.messageResolver:E1||WL,E=ot(e.localeFallbacker)?e.localeFallbacker:C1||DL,b=We(e.fallbackContext)?e.fallbackContext:void 0,O=e,F=We(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,V=We(O.__numberFormatters)?O.__numberFormatters:new Map,W=We(O.__meta)?O.__meta:{};s0++;const I={version:n,cid:s0,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:_,escapeParameter:y,messageCompiler:x,messageResolver:S,localeFallbacker:E,fallbackContext:b,onWarn:t,__meta:W};return I.datetimeFormats=a,I.numberFormats=l,I.__datetimeFormatters=F,I.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&ML(I,n,W),I}const ec=e=>({[e]:Je()});function bf(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return fe(a)?a:t}else return t}function Es(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function t4(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function n4(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(t4(e,t[r]))return!0;return!1}function i0(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!fe(t[0])&&!u1(t[0])&&!dt(t[0]))return Fa;const[l,c,u,f]=Kc(...t),d=je(u.missingWarn)?u.missingWarn:e.missingWarn;je(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=xf(e,u),m=i(e,o,h);if(!fe(l)||l==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(c);let v={},g,_=null;const y="datetime format";for(let E=0;E<m.length&&(g=m[E],v=n[g]||{},_=v[l],!$e(_));E++)bf(e,l,g,d,y);if(!$e(_)||!fe(g))return r?xl:l;let x=`${g}__${l}`;vl(f)||(x=`${x}__${JSON.stringify(f)}`);let S=a.get(x);return S||(S=new Intl.DateTimeFormat(g,ht({},_,f)),a.set(x,S)),p?S.formatToParts(c):S.format(c)}const A1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Kc(...e){const[t,n,r,o]=e,s=Je();let i=Je(),a;if(fe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw hr(pr.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw hr(pr.INVALID_ISO_DATE_ARGUMENT)}}else if(u1(t)){if(isNaN(t.getTime()))throw hr(pr.INVALID_DATE_ARGUMENT);a=t}else if(dt(t))a=t;else throw hr(pr.INVALID_ARGUMENT);return fe(n)?s.key=n:$e(n)&&Object.keys(n).forEach(l=>{A1.includes(l)?i[l]=n[l]:s[l]=n[l]}),fe(r)?s.locale=r:$e(r)&&(i=r),$e(o)&&(i=o),[s.key||"",a,s,i]}function a0(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function l0(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!dt(t[0]))return Fa;const[l,c,u,f]=Yc(...t),d=je(u.missingWarn)?u.missingWarn:e.missingWarn;je(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=xf(e,u),m=i(e,o,h);if(!fe(l)||l==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(c);let v={},g,_=null;const y="number format";for(let E=0;E<m.length&&(g=m[E],v=n[g]||{},_=v[l],!$e(_));E++)bf(e,l,g,d,y);if(!$e(_)||!fe(g))return r?xl:l;let x=`${g}__${l}`;vl(f)||(x=`${x}__${JSON.stringify(f)}`);let S=a.get(x);return S||(S=new Intl.NumberFormat(g,ht({},_,f)),a.set(x,S)),p?S.formatToParts(c):S.format(c)}const T1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Yc(...e){const[t,n,r,o]=e,s=Je();let i=Je();if(!dt(t))throw hr(pr.INVALID_ARGUMENT);const a=t;return fe(n)?s.key=n:$e(n)&&Object.keys(n).forEach(l=>{T1.includes(l)?i[l]=n[l]:s[l]=n[l]}),fe(r)?s.locale=r:$e(r)&&(i=r),$e(o)&&(i=o),[s.key||"",a,s,i]}function c0(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const r4=e=>e,o4=e=>"",s4="text",i4=e=>e.length===0?"":gf(e),a4=zM;function tc(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function l4(e){const t=dt(e.pluralIndex)?e.pluralIndex:-1;return dt(e.named?.count)?e.named.count:dt(e.named?.n)?e.named.n:t}function c4(e={}){const t=e.locale,n=l4(e),r=fe(t)&&ot(e.pluralRules?.[t])?e.pluralRules[t]:tc,o=r===tc?void 0:tc,s=g=>g[r(n,g.length,o)],i=e.list||[],a=g=>i[g],l=e.named||Je();dt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=g=>l[g];function u(g,_){const y=ot(e.messages)?e.messages(g,!!_):We(e.messages)?e.messages[g]:!1;return y||(e.parent?e.parent.message(g):o4)}const f=g=>e.modifiers?e.modifiers[g]:r4,d=ot(e.processor?.normalize)?e.processor.normalize:i4,p=ot(e.processor?.interpolate)?e.processor.interpolate:a4,h=fe(e.processor?.type)?e.processor.type:s4,v={list:a,named:c,plural:s,linked:(g,..._)=>{const[y,x]=_;let S="text",E="";_.length===1?We(y)?(E=y.modifier||E,S=y.type||S):fe(y)&&(E=y||E):_.length===2&&(fe(y)&&(E=y||E),fe(x)&&(S=x||S));const b=u(g,!0)(v),O=b===""||b===void 0?g:b,F=S==="vnode"&&lt(O)&&E?O[0]:O;return E?f(E)(F,S):F},message:u,type:h,interpolate:p,normalize:d,values:ht(Je(),i,l)};return v}const u0=()=>"",hn=e=>ot(e);function f0(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=qc(...t),u=je(c.missingWarn)?c.missingWarn:e.missingWarn,f=je(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=je(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=fe(c.default)||je(c.default)?je(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,m=n||h!=null&&(fe(h)||ot(h)),v=xf(e,c);d&&u4(c);let[g,_,y]=p?[l,v,a[v]||Je()]:O1(e,l,v,i,f,u),x=g,S=l;if(!p&&!(fe(x)||qn(x)||hn(x))&&m&&(x=h,S=x),!p&&(!(fe(x)||qn(x)||hn(x))||!fe(_)))return o?xl:l;let E=!1;const b=()=>{E=!0},O=hn(x)?x:N1(e,l,_,x,S,b);if(E)return x;const F=p4(e,_,y,c),V=c4(F),W=f4(e,O,V);let I=r?r(W,l):W;if(d&&fe(I)&&(I=jM(I)),__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:fe(l)?l:hn(x)?x.key:"",locale:_||(hn(x)?x.locale:""),format:fe(x)?x:hn(x)?x.source:"",message:I};Y.meta=ht({},e.__meta,QL()||{}),LL(Y)}return I}function u4(e){lt(e.list)?e.list=e.list.map(t=>fe(t)?Yp(t):t):We(e.named)&&Object.keys(e.named).forEach(t=>{fe(e.named[t])&&(e.named[t]=Yp(e.named[t]))})}function O1(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Je(),d,p=null;const h="translate";for(let m=0;m<u.length&&(d=u[m],f=i[d]||Je(),(p=l(f,t))===null&&(p=f[t]),!(fe(p)||qn(p)||hn(p)));m++)if(!n4(d,u)){const v=bf(e,t,d,s,h);v!==t&&(p=v)}return[p,d,f]}function N1(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(hn(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,d4(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function f4(e,t,n){return t(n)}function qc(...e){const[t,n,r]=e,o=Je();if(!fe(t)&&!dt(t)&&!hn(t)&&!qn(t))throw hr(pr.INVALID_ARGUMENT);const s=dt(t)?String(t):(hn(t),t);return dt(n)?o.plural=n:fe(n)?o.default=n:$e(n)&&!vl(n)?o.named=n:lt(n)&&(o.list=n),dt(r)?o.plural=r:fe(r)?o.default=r:$e(r)&&ht(o,r),[s,o]}function d4(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>VM(t,n,i)}}function p4(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,h)=>{let m=i(n,p);if(m==null&&(u||h)){const[v,,g]=O1(u||e,p,t,a,l,c);m=v??i(g,p)}if(fe(m)||qn(m)){let v=!1;const _=N1(e,p,t,m,p,()=>{v=!0});return v?u0:_}else return hn(m)?m:u0}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),dt(r.plural)&&(d.pluralIndex=r.plural),d}xL();const h4="11.4.2";function m4(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(so().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(so().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(so().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(so().__INTLIFY_PROD_DEVTOOLS__=!1)}const Gt={UNEXPECTED_RETURN_TYPE:PL,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 qt(e,...t){return _l(e,null,void 0)}const Jc=Ur("__translateVNode"),Xc=Ur("__datetimeParts"),Qc=Ur("__numberParts"),F1=Ur("__setPluralRules"),M1=Ur("__injectWithOption"),Ro=Ur("__dispose");function ci(e){if(!We(e)||qn(e))return e;for(const t in e)if(gn(e,t))if(!t.includes("."))We(e[t])&&ci(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Je()),!We(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(qn(o)?b1.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!qn(o)){const i=o[n[r]];We(i)&&ci(i)}}return e}function yf(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=$e(n)?n:lt(r)?Je():{[e]:Je()};if(lt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Je(),oa(c,i[l])):oa(c,i)}else fe(a)&&oa(JSON.parse(a),i)}),o==null&&s)for(const a in i)gn(i,a)&&ci(i[a]);return i}function L1(e){return e.type}function I1(e,t,n){let r=We(t.messages)?t.messages:Je();"__i18nGlobal"in n&&(r=yf(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(We(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(We(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function d0(e){return ee(Eo,null,e,0)}function ui(){return Ye()}const p0="__INTLIFY_META__",h0=()=>[],g4=()=>!1;let m0=0;function g0(e){return((t,n,r,o)=>e(n,r,ui()||void 0,o))}const v4=()=>{const e=ui();let t=null;return e&&(t=L1(e)[p0])?{[p0]:t}:null};function Ma(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Na?Z:wt;let i=je(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:fe(e.locale)?e.locale:li),l=s(t&&i?t.fallbackLocale.value:fe(e.fallbackLocale)||lt(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(yf(a.value,e)),u=s($e(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s($e(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:je(e.missingWarn)||Qo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:je(e.fallbackWarn)||Qo(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:je(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,v=ot(e.missing)?e.missing:null,g=ot(e.missing)?g0(e.missing):null,_=ot(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:je(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const S=t?t.modifiers:$e(e.modifiers)?e.modifiers:{};let E=e.pluralRules||t&&t.pluralRules,b;b=(()=>{r&&o0(null);const k={version:h4,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:E,missing:g===null?void 0:g,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:y,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};k.datetimeFormats=u.value,k.numberFormats=f.value,k.__datetimeFormatters=$e(b)?b.__datetimeFormatters:void 0,k.__numberFormatters=$e(b)?b.__numberFormatters:void 0;const G=e4(k);return r&&o0(G),G})(),Es(b,a.value,l.value);function F(){return[a.value,l.value,c.value,u.value,f.value]}const V=L({get:()=>a.value,set:k=>{b.locale=k,a.value=k}}),W=L({get:()=>l.value,set:k=>{b.fallbackLocale=k,l.value=k,Es(b,a.value,k)}}),I=L(()=>c.value),Y=L(()=>u.value),H=L(()=>f.value);function D(){return ot(_)?_:null}function M(k){_=k,b.postTranslation=k}function R(){return v}function j(k){k!==null&&(g=g0(k)),v=k,b.missing=g}const ne=(k,G,ve,ye,Me,Ge)=>{F();let Be;try{__INTLIFY_PROD_DEVTOOLS__,r||(b.fallbackContext=t?ZL():void 0),Be=k(b)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(b.fallbackContext=void 0)}if(ve!=="translate exists"&&dt(Be)&&Be===xl||ve==="translate exists"&&!Be){const[Rt,Et]=G();return t&&h?ye(t):Me(Rt)}else{if(Ge(Be))return Be;throw qt(Gt.UNEXPECTED_RETURN_TYPE)}};function le(...k){return ne(G=>Reflect.apply(f0,null,[G,...k]),()=>qc(...k),"translate",G=>Reflect.apply(G.t,G,[...k]),G=>G,G=>fe(G))}function xe(...k){const[G,ve,ye]=k;if(ye&&!We(ye))throw qt(Gt.INVALID_ARGUMENT);return le(G,ve,ht({resolvedMessage:!0},ye||{}))}function Ee(...k){return ne(G=>Reflect.apply(i0,null,[G,...k]),()=>Kc(...k),"datetime format",G=>Reflect.apply(G.d,G,[...k]),()=>Fa,G=>fe(G)||lt(G))}function Ne(...k){return ne(G=>Reflect.apply(l0,null,[G,...k]),()=>Yc(...k),"number format",G=>Reflect.apply(G.n,G,[...k]),()=>Fa,G=>fe(G)||lt(G))}function Fe(k){return k.map(G=>fe(G)||dt(G)||je(G)?d0(String(G)):G)}const He={normalize:Fe,interpolate:k=>k,type:"vnode"};function K(...k){return ne(G=>{let ve;const ye=G;try{ye.processor=He,ve=Reflect.apply(f0,null,[ye,...k])}finally{ye.processor=null}return ve},()=>qc(...k),"translate",G=>G[Jc](...k),G=>[d0(G)],G=>lt(G))}function se(...k){return ne(G=>Reflect.apply(l0,null,[G,...k]),()=>Yc(...k),"number format",G=>G[Qc](...k),h0,G=>fe(G)||lt(G))}function oe(...k){return ne(G=>Reflect.apply(i0,null,[G,...k]),()=>Kc(...k),"datetime format",G=>G[Xc](...k),h0,G=>fe(G)||lt(G))}function re(k){E=k,b.pluralRules=E}function Ce(k,G){return ne(()=>{if(!k)return!1;const ve=fe(G)?G:a.value,ye=fe(G)?[ve]:zc(b,l.value,ve);for(let Me=0;Me<ye.length;Me++){const Ge=$(ye[Me]);let Be=b.messageResolver(Ge,k);if(Be===null&&(Be=Ge[k]),qn(Be)||hn(Be)||fe(Be))return!0}return!1},()=>[k],"translate exists",ve=>Reflect.apply(ve.te,ve,[k,G]),g4,ve=>je(ve))}function T(k){let G=null;const ve=zc(b,l.value,a.value);for(let ye=0;ye<ve.length;ye++){const Me=c.value[ve[ye]]||{},Ge=b.messageResolver(Me,k);if(Ge!=null){G=Ge;break}}return G}function N(k){const G=T(k);return G??(t?t.tm(k)||{}:{})}function $(k){return c.value[k]||{}}function q(k,G){if(o){const ve={[k]:G};for(const ye in ve)gn(ve,ye)&&ci(ve[ye]);G=ve[k]}c.value[k]=G,b.messages=c.value}function X(k,G){c.value[k]=c.value[k]||{};const ve={[k]:G};if(o)for(const ye in ve)gn(ve,ye)&&ci(ve[ye]);G=ve[k],oa(G,c.value[k]),b.messages=c.value}function J(k){return u.value[k]||{}}function C(k,G){u.value[k]=G,b.datetimeFormats=u.value,a0(b,k,G)}function w(k,G){u.value[k]=ht(u.value[k]||{},G),b.datetimeFormats=u.value,a0(b,k,G)}function P(k){return f.value[k]||{}}function B(k,G){f.value[k]=G,b.numberFormats=f.value,c0(b,k,G)}function ie(k,G){f.value[k]=ht(f.value[k]||{},G),b.numberFormats=f.value,c0(b,k,G)}m0++,t&&Na&&(_e(t.locale,k=>{i&&(a.value=k,b.locale=k,Es(b,a.value,l.value))}),_e(t.fallbackLocale,k=>{i&&(l.value=k,b.fallbackLocale=k,Es(b,a.value,l.value))}));const Q={id:m0,locale:V,fallbackLocale:W,get inheritLocale(){return i},set inheritLocale(k){i=k,k&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Es(b,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:I,get modifiers(){return S},get pluralRules(){return E||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(k){d=k,b.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(k){p=k,b.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(k){h=k},get fallbackFormat(){return m},set fallbackFormat(k){m=k,b.fallbackFormat=m},get warnHtmlMessage(){return y},set warnHtmlMessage(k){y=k,b.warnHtmlMessage=k},get escapeParameter(){return x},set escapeParameter(k){x=k,b.escapeParameter=k},t:le,getLocaleMessage:$,setLocaleMessage:q,mergeLocaleMessage:X,getPostTranslationHandler:D,setPostTranslationHandler:M,getMissingHandler:R,setMissingHandler:j,[F1]:re};return Q.datetimeFormats=Y,Q.numberFormats=H,Q.rt=xe,Q.te=Ce,Q.tm=N,Q.d=Ee,Q.n=Ne,Q.getDateTimeFormat=J,Q.setDateTimeFormat=C,Q.mergeDateTimeFormat=w,Q.getNumberFormat=P,Q.setNumberFormat=B,Q.mergeNumberFormat=ie,Q[M1]=n,Q[Jc]=K,Q[Xc]=oe,Q[Qc]=se,Q}function _4(e){const t=fe(e.locale)?e.locale:li,n=fe(e.fallbackLocale)||lt(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ot(e.missing)?e.missing:void 0,o=je(e.silentTranslationWarn)||Qo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=je(e.silentFallbackWarn)||Qo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=je(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=$e(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ot(e.postTranslation)?e.postTranslation:void 0,f=fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=je(e.sync)?e.sync:!0;let h=e.messages;if($e(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce((b,O)=>{const F=b[O]||(b[O]={});return ht(F,S[O]),b},h||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,_=e.datetimeFormats,y=e.numberFormats,x=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:x,datetimeFormats:_,numberFormats:y,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:m,__root:v,__injectWithOption:g}}function Zc(e={}){const t=Ma(_4(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 je(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=je(o)?!o:o},get silentFallbackWarn(){return je(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=je(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 x4(e,t,n){return{beforeCreate(){const r=ui();if(!r)throw qt(Gt.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=v0(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Zc(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=v0(e,o);else{this.$i18n=Zc({__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&&I1(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ui();if(!r)throw qt(Gt.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function v0(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[F1](t.pluralizationRules||e.pluralizationRules);const n=yf(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 Ef={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function b4({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ke?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Je())}function P1(){return ke}const y4=ue({name:"i18n-t",props:ht({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>dt(e)||!isNaN(e)}},Ef),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||tr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Je();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=fe(e.plural)?+e.plural:e.plural);const u=b4(t,l);return o[Jc](e.keypath,u,c)},i=ht(Je(),r),a=fe(e.tag)||We(e.tag)?e.tag:P1();return We(a)?jt(a,i,{default:s}):jt(a,i,s())}}}),_0=y4;function E4(e){return lt(e)&&!fe(e[0])}function D1(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Je();e.locale&&(c.locale=e.locale),fe(e.format)?c.key=e.format:We(e.format)&&(fe(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,h)=>n.includes(h)?ht(Je(),p,{[h]:e.format[h]}):p,Je()));const f=r(e.value,c,u);let d=[c.key];return lt(f)?d=f.map((p,h)=>{const m=o[p.type],v=m?m({[p.type]:p.value,index:h,parts:f}):[p.value];return E4(v)&&(v[0].key=`${p.type}-${h}`),v}):fe(f)&&(d=[f]),d},a=ht(Je(),s),l=fe(e.tag)||We(e.tag)?e.tag:P1();return We(l)?jt(l,a,{default:i}):jt(l,a,i())}}const C4=ue({name:"i18n-n",props:ht({value:{type:Number,required:!0},format:{type:[String,Object]}},Ef),setup(e,t){const n=e.i18n||tr({useScope:e.scope,__useComponent:!0});return D1(e,t,T1,(...r)=>n[Qc](...r))}}),x0=C4;function S4(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 w4(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw qt(Gt.UNEXPECTED_ERROR);const c=S4(e,a.$),u=b0(l);return[Reflect.apply(c.t,c,[...y0(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Na&&(i.__i18nWatcher=_e(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Na&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=b0(a);i.textContent=Reflect.apply(l.t,l,[...y0(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function b0(e){if(fe(e))return{path:e};if($e(e)){if(!("path"in e))throw qt(Gt.REQUIRED_VALUE,"path");return e}else throw qt(Gt.INVALID_VALUE)}function y0(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return fe(n)&&(i.locale=n),dt(o)&&(i.plural=o),dt(s)&&(i.plural=s),[t,a,i]}function A4(e,t,...n){const r=$e(n[0])?n[0]:{};(!je(r.globalInstall)||r.globalInstall)&&([_0.name,"I18nT"].forEach(s=>e.component(s,_0)),[x0.name,"I18nN"].forEach(s=>e.component(s,x0)),[S0.name,"I18nD"].forEach(s=>e.component(s,S0))),e.directive("t",w4(t))}const T4=Ur("global-vue-i18n");function O4(e={}){const t=__VUE_I18N_LEGACY_API__&&je(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=je(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=N4(e,t),i=Ur("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),$e(d[0])){const m=d[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let p=null;!t&&n&&(p=k4(f,u.global)),__VUE_I18N_FULL_INSTALL__&&A4(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(x4(s,s.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function tr(e={}){const t=ui();if(t==null)throw qt(Gt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw qt(Gt.NOT_INSTALLED);const n=F4(t),r=L4(n),o=L1(t),s=M4(e,o);if(s==="global")return I1(r,e,o),r;if(s==="parent"){let l=E0(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw qt(Gt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ht({},e),u=E0(n,t);c.__root=u||r;const f=Ma(c);return l.__composerExtend&&(f[Ro]=l.__composerExtend(f)),Ua()&&Oh(()=>{const p=f[Ro];p&&(p(),delete f[Ro])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ht({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ma(l),i.__composerExtend&&(a[Ro]=i.__composerExtend(a)),P4(i,t,a),i.__setInstance(t,a)}return a}function N4(e,t){const n=ex(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Zc(e)):n.run(()=>Ma(e));if(r==null)throw qt(Gt.UNEXPECTED_ERROR);return[n,r]}function F4(e){const t=Te(e.isCE?T4:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw qt(e.isCE?Gt.NOT_INSTALLED_WITH_PROVIDE:Gt.UNEXPECTED_ERROR);return t}function M4(e,t){return vl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function L4(e){return e.mode==="composition"?e.global:e.global.__composer}function E0(e,t,n=!1){let r=null;const o=t.root;let s=I4(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[M1]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function I4(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function P4(e,t,n){gt(()=>{},t),yo(()=>{const r=n;e.__deleteInstance(t);const o=r[Ro];o&&(o(),delete r[Ro])},t)}const D4=["locale","fallbackLocale","availableLocales"],C0=["t","rt","d","n","tm","te"];function k4(e,t){const n=Object.create(null);return D4.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw qt(Gt.UNEXPECTED_ERROR);const i=nt(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,C0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw qt(Gt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,C0.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const R4=ue({name:"i18n-d",props:ht({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ef),setup(e,t){const n=e.i18n||tr({useScope:e.scope,__useComponent:!0});return D1(e,t,A1,(...r)=>n[Xc](...r))}}),S0=R4;m4();YL(NL);qL(GL);JL(zc);if(__INTLIFY_PROD_DEVTOOLS__){const e=so();e.__INTLIFY__=!0,FL(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var $4={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const B4=()=>{const{locale:e}=tr(),t={zh:$4,en:Bg};return{locale:L(()=>t[e.value])}},V4=e=>{const{params:{instanceUid:t}}=kt(),n=cn(e),{messageListener:r,sendMessageToTop:o}=un(),{addListener:s}=r(),i=Z([]);return s(Ie.SETTING_DATA_SET,a=>{i.value=a}),o(Ie.SETTING_DATA_GET,"",n,t),{depsSetting:i}},H4={ref:"compListContainer"},U4=ue({__name:"App",setup(e){const{locale:t}=tr(),{locale:n}=B4(),r=Wy(),o=Oy(r),{params:{instanceUid:s}}=kt(),i=cn(!1),{sendMessageToTop:a,messageListener:l}=un(),{addListener:c}=l(),u=da("compListContainer"),{height:f}=tl(u);return c(Ie.LOCALE_SET,d=>{t.value=d}),c(Ie.THEME_CHANGE_SET,d=>{o(d.isDark??!1)}),a(Ie.LOCALE_GET,"",i,s),a(Ie.THEME_CHANGE_GET,"",i,s),mi(()=>{f.value&&a(Ie.UPDATE_IFRAME_HEIGHT,f.value,i,s)}),(d,p)=>{const h=sr("router-view");return U(),he(A(PN),{locale:A(n)},{default:pe(()=>[te("div",H4,[ee(h)],512)]),_:1},8,["locale"])}}});const Po=typeof document<"u";function k1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function j4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&k1(e.default)}const ze=Object.assign;function nc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Pn(o)?o.map(e):e(o)}return n}const js=()=>{},Pn=Array.isArray;function w0(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let st=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const R1=Symbol("");st.MATCHER_NOT_FOUND+"",st.NAVIGATION_GUARD_REDIRECT+"",st.NAVIGATION_ABORTED+"",st.NAVIGATION_CANCELLED+"",st.NAVIGATION_DUPLICATED+"";function es(e,t){return ze(new Error,{type:e,[R1]:!0},t)}function or(e,t){return e instanceof Error&&R1 in e&&(t==null||!!(e.type&t))}const W4=["params","query","hash"];function G4(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of W4)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const z4=Symbol(""),A0=Symbol(""),Cf=Symbol(""),$1=Symbol(""),eu=Symbol("");const B1=/#/g,K4=/&/g,Y4=/\//g,q4=/=/g,J4=/\?/g,V1=/\+/g,X4=/%5B/g,Q4=/%5D/g,H1=/%5E/g,Z4=/%60/g,U1=/%7B/g,eI=/%7C/g,j1=/%7D/g,tI=/%20/g;function Sf(e){return e==null?"":encodeURI(""+e).replace(eI,"|").replace(X4,"[").replace(Q4,"]")}function nI(e){return Sf(e).replace(U1,"{").replace(j1,"}").replace(H1,"^")}function tu(e){return Sf(e).replace(V1,"%2B").replace(tI,"+").replace(B1,"%23").replace(K4,"%26").replace(Z4,"`").replace(U1,"{").replace(j1,"}").replace(H1,"^")}function rI(e){return tu(e).replace(q4,"%3D")}function oI(e){return Sf(e).replace(B1,"%23").replace(J4,"%3F")}function sI(e){return oI(e).replace(Y4,"%2F")}function La(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const iI=/\/$/,aI=e=>e.replace(iI,"");function rc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),s=t.slice(l,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=fI(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:La(i)}}function lI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function T0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cI(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ts(t.matched[r],n.matched[o])&&W1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ts(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function W1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!uI(e[n],t[n]))return!1;return!0}function uI(e,t){return Pn(e)?O0(e,t):Pn(t)?O0(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function O0(e,t){return Pn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function fI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let nu=(function(e){return e.pop="pop",e.push="push",e})({}),oc=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function dI(e){if(!e)if(Po){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),aI(e)}const pI=/^[^#]+#/;function hI(e,t){return e.replace(pI,"#")+t}function mI(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 bl=()=>({left:window.scrollX,top:window.scrollY});function gI(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=mI(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 N0(e,t){return(history.state?history.state.position-t:-1)+e}const ru=new Map;function vI(e,t){ru.set(e,t)}function _I(e){const t=ru.get(e);return ru.delete(e),t}function xI(e){return typeof e=="string"||e&&typeof e=="object"}function G1(e){return typeof e=="string"||typeof e=="symbol"}function bI(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(V1," "),s=o.indexOf("="),i=La(s<0?o:o.slice(0,s)),a=s<0?null:La(o.slice(s+1));if(i in t){let l=t[i];Pn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function F0(e){let t="";for(let n in e){const r=e[n];if(n=rI(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Pn(r)?r.map(o=>o&&tu(o)):[r&&tu(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function yI(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Cs(){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 Pr(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(es(st.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):xI(d)?l(es(st.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function sc(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(k1(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Pr(c,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=j4(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Pr(d,n,r,i,a,o)()}))}}return s}function EI(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>ts(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>ts(c,l))||o.push(l))}return[n,r,o]}let CI=()=>location.protocol+"//"+location.host;function z1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),T0(a,"")}return T0(n,e)+r+o}function SI(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=z1(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}v=m?d.position-m.position:0}else r(p);o.forEach(g=>{g(n.value,h,{delta:v,type:nu.pop,direction:v?v>0?oc.forward:oc.back:oc.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ze({},d.state,{scroll:bl()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function M0(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?bl():null}}function wI(e){const{history:t,location:n}=window,r={value:z1(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:CI()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){s(l,ze({},t.state,M0(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=ze({},o.value,t.state,{forward:l,scroll:bl()});s(u.current,u,!0),s(l,ze({},M0(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function AI(e){e=dI(e);const t=wI(e),n=SI(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ze({location:"",base:e,go:r,createHref:hI.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let io=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var bt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(bt||{});const TI={type:io.Static,value:""},OI=/[a-zA-Z0-9_]/;function NI(e){if(!e)return[[]];if(e==="/")return[[TI]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=bt.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===bt.Static?s.push({type:io.Static,value:c}):n===bt.Param||n===bt.ParamRegExp||n===bt.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:io.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;)switch(l=e[a++],n){case bt.Static:l==="\\"?(r=n,n=bt.EscapeNext):l==="/"?(c&&f(),i()):l===":"?(f(),n=bt.Param):d();break;case bt.EscapeNext:d(),n=r;break;case bt.Param:l==="("?n=bt.ParamRegExp:OI.test(l)?d():(f(),n=bt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case bt.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=bt.ParamRegExpEnd:u+=l;break;case bt.ParamRegExpEnd:f(),n=bt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===bt.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const L0="[^/]+?",FI={sensitive:!1,strict:!1,start:!0,end:!0};var Ht=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ht||{});const MI=/[.+*?^${}()[\]/\\]/g;function LI(e,t){const n=ze({},FI,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[Ht.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=Ht.Segment+(n.sensitive?Ht.BonusCaseSensitive:0);if(d.type===io.Static)f||(o+="/"),o+=d.value.replace(MI,"\\$&"),p+=Ht.Static;else if(d.type===io.Param){const{value:h,repeatable:m,optional:v,regexp:g}=d;s.push({name:h,repeatable:m,optional:v});const _=g||L0;if(_!==L0){p+=Ht.BonusCustomRegExp;try{new RegExp(`(${_})`)}catch(x){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+x.message)}}let y=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=v&&c.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,p+=Ht.Dynamic,v&&(p+=Ht.BonusOptional),m&&(p+=Ht.BonusRepeatable),_===".*"&&(p+=Ht.BonusWildcard)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=Ht.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",h=s[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===io.Static)u+=p.value;else if(p.type===io.Param){const{value:h,repeatable:m,optional:v}=p,g=h in c?c[h]:"";if(Pn(g)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=Pn(g)?g.join("/"):g;if(!_)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function II(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]===Ht.Static+Ht.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ht.Static+Ht.Segment?1:-1:0}function K1(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=II(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(I0(r))return 1;if(I0(o))return-1}return o.length-r.length}function I0(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const PI={strict:!1,end:!0,sensitive:!1};function DI(e,t,n){const r=LI(NI(e.path),n),o=ze(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function kI(e,t){const n=[],r=new Map;t=w0(PI,t);function o(f){return r.get(f)}function s(f,d,p){const h=!p,m=D0(f);m.aliasOf=p&&p.record;const v=w0(t,f),g=[m];if("alias"in f){const x=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of x)g.push(D0(ze({},m,{components:p?p.record.components:m.components,path:S,aliasOf:p?p.record:m})))}let _,y;for(const x of g){const{path:S}=x;if(d&&S[0]!=="/"){const E=d.record.path,b=E[E.length-1]==="/"?"":"/";x.path=d.record.path+(S&&b+S)}if(_=DI(x,d,v),p?p.alias.push(_):(y=y||_,y!==_&&y.alias.push(_),h&&f.name&&!k0(_)&&i(f.name)),Y1(_)&&l(_),m.children){const E=m.children;for(let b=0;b<E.length;b++)s(E[b],_,p&&p.children[b])}p=p||_}return y?()=>{i(y)}:js}function i(f){if(G1(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=BI(f,n);n.splice(d,0,f),f.record.name&&!k0(f)&&r.set(f.record.name,f)}function c(f,d){let p,h={},m,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw es(st.MATCHER_NOT_FOUND,{location:f});v=p.record.name,h=ze(P0(d.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&P0(f.params,p.keys.map(y=>y.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(y=>y.re.test(m)),p&&(h=p.parse(m),v=p.record.name,p.keys.forEach(y=>{y.optional&&!h[y.name]&&delete h[y.name]}));else{if(p=d.name?r.get(d.name):n.find(y=>y.re.test(d.path)),!p)throw es(st.MATCHER_NOT_FOUND,{location:f,currentLocation:d});v=p.record.name,h=ze({},d.params,f.params),m=p.stringify(h)}const g=[];let _=p;for(;_;)g.unshift(_.record),_=_.parent;return{name:v,path:m,params:h,matched:g,meta:$I(g)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function P0(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function D0(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:RI(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 RI(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 k0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $I(e){return e.reduce((t,n)=>ze(t,n.meta),{})}function BI(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;K1(e,t[s])<0?r=s:n=s+1}const o=VI(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function VI(e){let t=e;for(;t=t.parent;)if(Y1(t)&&K1(e,t)===0)return t}function Y1({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function R0(e){const t=Te(Cf),n=Te($1),r=L(()=>{const l=A(e.to);return t.resolve(l)}),o=L(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(ts.bind(null,u));if(d>-1)return d;const p=$0(l[c-2]);return c>1&&$0(u)===p&&f[f.length-1].path!==p?f.findIndex(ts.bind(null,l[c-2])):d}),s=L(()=>o.value>-1&&GI(n.params,r.value.params)),i=L(()=>o.value>-1&&o.value===n.matched.length-1&&W1(n.params,r.value.params));function a(l={}){if(WI(l)){const c=t[A(e.replace)?"replace":"push"](A(e.to)).catch(js);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:L(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function HI(e){return e.length===1?e[0]:e}const UI=ue({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:R0,setup(e,{slots:t}){const n=Jt(R0(e)),{options:r}=Te(Cf),o=L(()=>({[B0(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[B0(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&HI(t.default(n));return e.custom?s:jt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),jI=UI;function WI(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 GI(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(!Pn(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function $0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const B0=(e,t,n)=>e??t??n,zI=ue({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Te(eu),o=L(()=>e.route||r.value),s=Te(A0,0),i=L(()=>{let c=A(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=L(()=>o.value.matched[i.value]);At(A0,L(()=>i.value+1)),At(z4,a),At(eu,o);const l=Z();return _e(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!ts(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return V0(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=jt(d,ze({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return V0(n.default,{Component:v,route:c})||v}}});function V0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const KI=zI;function YI(e){const t=kI(e.routes,e),n=e.parseQuery||bI,r=e.stringifyQuery||F0,o=e.history,s=Cs(),i=Cs(),a=Cs(),l=wt(Or);let c=Or;Po&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=nc.bind(null,K=>""+K),f=nc.bind(null,sI),d=nc.bind(null,La);function p(K,se){let oe,re;return G1(K)?(oe=t.getRecordMatcher(K),re=se):re=K,t.addRoute(re,oe)}function h(K){const se=t.getRecordMatcher(K);se&&t.removeRoute(se)}function m(){return t.getRoutes().map(K=>K.record)}function v(K){return!!t.getRecordMatcher(K)}function g(K,se){if(se=ze({},se||l.value),typeof K=="string"){const $=rc(n,K,se.path),q=t.resolve({path:$.path},se),X=o.createHref($.fullPath);return ze($,q,{params:d(q.params),redirectedFrom:void 0,href:X})}let oe;if(K.path!=null)oe=ze({},K,{path:rc(n,K.path,se.path).path});else{const $=ze({},K.params);for(const q in $)$[q]==null&&delete $[q];oe=ze({},K,{params:f($)}),se.params=f(se.params)}const re=t.resolve(oe,se),Ce=K.hash||"";re.params=u(d(re.params));const T=lI(r,ze({},K,{hash:nI(Ce),path:re.path})),N=o.createHref(T);return ze({fullPath:T,hash:Ce,query:r===F0?yI(K.query):K.query||{}},re,{redirectedFrom:void 0,href:N})}function _(K){return typeof K=="string"?rc(n,K,l.value.path):ze({},K)}function y(K,se){if(c!==K)return es(st.NAVIGATION_CANCELLED,{from:se,to:K})}function x(K){return b(K)}function S(K){return x(ze(_(K),{replace:!0}))}function E(K,se){const oe=K.matched[K.matched.length-1];if(oe&&oe.redirect){const{redirect:re}=oe;let Ce=typeof re=="function"?re(K,se):re;return typeof Ce=="string"&&(Ce=Ce.includes("?")||Ce.includes("#")?Ce=_(Ce):{path:Ce},Ce.params={}),ze({query:K.query,hash:K.hash,params:Ce.path!=null?{}:K.params},Ce)}}function b(K,se){const oe=c=g(K),re=l.value,Ce=K.state,T=K.force,N=K.replace===!0,$=E(oe,re);if($)return b(ze(_($),{state:typeof $=="object"?ze({},Ce,$.state):Ce,force:T,replace:N}),se||oe);const q=oe;q.redirectedFrom=se;let X;return!T&&cI(r,re,oe)&&(X=es(st.NAVIGATION_DUPLICATED,{to:q,from:re}),xe(re,re,!0,!1)),(X?Promise.resolve(X):V(q,re)).catch(J=>or(J)?or(J,st.NAVIGATION_GUARD_REDIRECT)?J:le(J):j(J,q,re)).then(J=>{if(J){if(or(J,st.NAVIGATION_GUARD_REDIRECT))return b(ze({replace:N},_(J.to),{state:typeof J.to=="object"?ze({},Ce,J.to.state):Ce,force:T}),se||q)}else J=I(q,re,!0,N,Ce);return W(q,re,J),J})}function O(K,se){const oe=y(K,se);return oe?Promise.reject(oe):Promise.resolve()}function F(K){const se=Fe.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(K):K()}function V(K,se){let oe;const[re,Ce,T]=EI(K,se);oe=sc(re.reverse(),"beforeRouteLeave",K,se);for(const $ of re)$.leaveGuards.forEach(q=>{oe.push(Pr(q,K,se))});const N=O.bind(null,K,se);return oe.push(N),He(oe).then(()=>{oe=[];for(const $ of s.list())oe.push(Pr($,K,se));return oe.push(N),He(oe)}).then(()=>{oe=sc(Ce,"beforeRouteUpdate",K,se);for(const $ of Ce)$.updateGuards.forEach(q=>{oe.push(Pr(q,K,se))});return oe.push(N),He(oe)}).then(()=>{oe=[];for(const $ of T)if($.beforeEnter)if(Pn($.beforeEnter))for(const q of $.beforeEnter)oe.push(Pr(q,K,se));else oe.push(Pr($.beforeEnter,K,se));return oe.push(N),He(oe)}).then(()=>(K.matched.forEach($=>$.enterCallbacks={}),oe=sc(T,"beforeRouteEnter",K,se,F),oe.push(N),He(oe))).then(()=>{oe=[];for(const $ of i.list())oe.push(Pr($,K,se));return oe.push(N),He(oe)}).catch($=>or($,st.NAVIGATION_CANCELLED)?$:Promise.reject($))}function W(K,se,oe){a.list().forEach(re=>F(()=>re(K,se,oe)))}function I(K,se,oe,re,Ce){const T=y(K,se);if(T)return T;const N=se===Or,$=Po?history.state:{};oe&&(re||N?o.replace(K.fullPath,ze({scroll:N&&$&&$.scroll},Ce)):o.push(K.fullPath,Ce)),l.value=K,xe(K,se,oe,N),le()}let Y;function H(){Y||(Y=o.listen((K,se,oe)=>{if(!Le.listening)return;const re=g(K),Ce=E(re,Le.currentRoute.value);if(Ce){b(ze(Ce,{replace:!0,force:!0}),re).catch(js);return}c=re;const T=l.value;Po&&vI(N0(T.fullPath,oe.delta),bl()),V(re,T).catch(N=>or(N,st.NAVIGATION_ABORTED|st.NAVIGATION_CANCELLED)?N:or(N,st.NAVIGATION_GUARD_REDIRECT)?(b(ze(_(N.to),{force:!0}),re).then($=>{or($,st.NAVIGATION_ABORTED|st.NAVIGATION_DUPLICATED)&&!oe.delta&&oe.type===nu.pop&&o.go(-1,!1)}).catch(js),Promise.reject()):(oe.delta&&o.go(-oe.delta,!1),j(N,re,T))).then(N=>{N=N||I(re,T,!1),N&&(oe.delta&&!or(N,st.NAVIGATION_CANCELLED)?o.go(-oe.delta,!1):oe.type===nu.pop&&or(N,st.NAVIGATION_ABORTED|st.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),W(re,T,N)}).catch(js)}))}let D=Cs(),M=Cs(),R;function j(K,se,oe){le(K);const re=M.list();return re.length?re.forEach(Ce=>Ce(K,se,oe)):console.error(K),Promise.reject(K)}function ne(){return R&&l.value!==Or?Promise.resolve():new Promise((K,se)=>{D.add([K,se])})}function le(K){return R||(R=!K,H(),D.list().forEach(([se,oe])=>K?oe(K):se()),D.reset()),K}function xe(K,se,oe,re){const{scrollBehavior:Ce}=e;if(!Po||!Ce)return Promise.resolve();const T=!oe&&_I(N0(K.fullPath,0))||(re||!oe)&&history.state&&history.state.scroll||null;return rt().then(()=>Ce(K,se,T)).then(N=>N&&gI(N)).catch(N=>j(N,K,se))}const Ee=K=>o.go(K);let Ne;const Fe=new Set,Le={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:g,options:e,push:x,replace:S,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:M.add,isReady:ne,install(K){K.component("RouterLink",jI),K.component("RouterView",KI),K.config.globalProperties.$router=Le,Object.defineProperty(K.config.globalProperties,"$route",{enumerable:!0,get:()=>A(l)}),Po&&!Ne&&l.value===Or&&(Ne=!0,x(o.location).catch(re=>{}));const se={};for(const re in Or)Object.defineProperty(se,re,{get:()=>l.value[re],enumerable:!0});K.provide(Cf,Le),K.provide($1,Gh(se)),K.provide(eu,l);const oe=K.unmount;Fe.add(K),K.unmount=function(){Fe.delete(K),Fe.size<1&&(c=Or,Y&&Y(),Y=null,l.value=Or,Ne=!1,R=!1),oe()}}};function He(K){return K.reduce((se,oe)=>se.then(()=>F(oe)),Promise.resolve())}return Le}const qI=ue((e,{slots:t})=>{var n,r;const o=wt(),{width:s,height:i}=rs(e),a=Jt(tl(o,{width:(n=_t(s))!==null&&n!==void 0?n:0,height:(r=_t(i))!==null&&r!==void 0?r:0},{box:e.box,window:e.window}));return()=>{if(t.default)return jt(e.as||"div",{ref:o},t.default(a))}},{name:"UseElementSize",props:["as","box","height","width","window"]}),JI={ref:"el",class:"relative"},XI={class:"absolute opacity-0 pointer-events-none flex"},QI=["itemKey"],ZI=ue({__name:"AutoWrapRow",props:{list:{},moreWidth:{default:70},gap:{default:5},getKey:{}},setup(e){const t=e,n=Z(new Map),r=da("el"),o=da("items"),{width:s}=tl(r),i=Z([]),a=Z(!1),l=L(()=>s.value-t.moreWidth),c=L(()=>{const m=i.value.map(v=>v.key);return t.list.filter(v=>m.includes(t.getKey(v)))}),u=L(()=>a.value?t.list.length-i.value.length:0),f=L(()=>{let m=0;for(const v of n.value.values())m+=v;return m});function d(m,v){n.value.set(m,v)}function p(){const m=new Map;for(const v of t.list){const g=t.getKey(v);m.set(g,n.value.get(g)??0)}n.value=m}const h=Pg(()=>{let m=0;const v=[];if(!(!o.value||t.list.length===0)){for(const g of t.list){const _=t.getKey(g),y=o.value.find(x=>x.getAttribute("itemKey")===_);if(y){if(m+=y.offsetWidth+t.gap,m>l.value)break;v.push({key:_,value:y.offsetWidth})}}i.value=v,a.value=!0}},100);return _e([()=>s.value,()=>t.list,()=>f.value],([,,m],[,,v])=>{m!==v&&(a.value=!1),h()},{flush:"post",deep:!0}),_e(()=>t.list.length,()=>{p()}),(m,v)=>(U(),ae("div",JI,[Se(m.$slots,"display",{visibleList:c.value,overflow:u.value}),te("div",XI,[(U(!0),ae(ke,null,Nn(e.list,(g,_)=>(U(),he(A(qI),{key:e.getKey(g)},{default:pe(({width:y})=>[Tt(De(d(e.getKey(g),Number(y)))+" ",1),te("div",{ref_for:!0,ref:"items",itemKey:e.getKey(g),class:"invisible whitespace-nowrap"},[Se(m.$slots,"measure",{item:g,index:_})],8,QI)]),_:2},1024))),128))])],512))}}),Oi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},q1=/^[a-z0-9]+(-[a-z0-9]+)*$/,yl=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!sa(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!sa(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!sa(a,n)?null:a}return null},sa=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function eP(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const J1=Object.freeze({left:0,top:0,width:16,height:16}),Ia=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),El=Object.freeze({...J1,...Ia}),ou=Object.freeze({...El,body:"",hidden:!1});function tP(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 H0(e,t){const n=tP(e,t);for(const r in ou)r in Ia?r in e&&!(r in n)&&(n[r]=Ia[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function nP(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=H0(r[a]||o[a],s)}return i(t),n.forEach(i),H0(e,s)}function X1(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=eP(e);for(const o in r){const s=r[o];s&&(t(o,nP(e,o,s)),n.push(o))}return n}const rP={provider:"",aliases:{},not_found:{},...J1};function ic(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Q1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ic(e,rP))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!ic(s,ou))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!ic(s,ou))return null}return t}const U0=Object.create(null);function oP(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function ns(e,t){const n=U0[e]||(U0[e]=Object.create(null));return n[t]||(n[t]=oP(e,t))}function Z1(e,t){return Q1(t)?X1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function sP(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let fi=!1;function e_(e){return typeof e=="boolean"&&(fi=e),fi}function iP(e){const t=typeof e=="string"?yl(e,!0,fi):e;if(t){const n=ns(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function aP(e,t){const n=yl(e,!0,fi);if(!n)return!1;const r=ns(n.provider,n.prefix);return t?sP(r,n.name,t):(r.missing.add(n.name),!0)}function lP(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),fi&&!t&&!e.prefix){let r=!1;return Q1(e)&&(e.prefix="",X1(e,(o,s)=>{aP(o,s)&&(r=!0)})),r}const n=e.prefix;return sa({prefix:n,name:"a"})?!!Z1(ns(t,n),e):!1}const t_=Object.freeze({width:null,height:null}),n_=Object.freeze({...t_,...Ia}),cP=/(-?[0-9.]*[0-9]+[0-9.]*)/g,uP=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function j0(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(cP);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=uP.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function fP(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function dP(e,t){return e?"<defs>"+e+"</defs>"+t:t}function pP(e,t,n){const r=fP(e);return dP(r.defs,t+r.content+n)}const hP=e=>e==="unset"||e==="undefined"||e==="none";function mP(e,t){const n={...El,...e},r={...n_,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const v=[],g=m.hFlip,_=m.vFlip;let y=m.rotate;g?_?y+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):_&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let x;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:x=o.height/2+o.top,v.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:x=o.width/2+o.left,v.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}y%2===1&&(o.left!==o.top&&(x=o.left,o.left=o.top,o.top=x),o.width!==o.height&&(x=o.width,o.width=o.height,o.height=x)),v.length&&(s=pP(s,'<g transform="'+v.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=j0(f,l/c)):(u=i==="auto"?l:i,f=a===null?j0(u,c/l):a==="auto"?c:a);const d={},p=(m,v)=>{hP(v)||(d[m]=v.toString())};p("width",u),p("height",f);const h=[o.left,o.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:s}}const gP=/\sid="(\S+)"/g,W0=new Map;function vP(e){e=e.replace(/[0-9]+$/,"")||"a";const t=W0.get(e)||0;return W0.set(e,t+1),t?`${e}${t}`:e}function _P(e){const t=[];let n;for(;n=gP.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=vP(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const su=Object.create(null);function xP(e,t){su[e]=t}function iu(e){return su[e]||su[""]}function wf(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 Af=Object.create(null),Ss=["https://api.simplesvg.com","https://api.unisvg.com"],ia=[];for(;Ss.length>0;)Ss.length===1||Math.random()>.5?ia.push(Ss.shift()):ia.push(Ss.pop());Af[""]=wf({resources:["https://api.iconify.design"].concat(ia)});function bP(e,t){const n=wf(t);return n===null?!1:(Af[e]=n,!0)}function Tf(e){return Af[e]}const yP=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let G0=yP();function EP(e,t){const n=Tf(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function CP(e){return e===404}const SP=(e,t,n)=>{const r=[],o=EP(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function wP(e){if(typeof e=="string"){const t=Tf(e);if(t)return t.path}return"/"}const AP=(e,t,n)=>{if(!G0){n("abort",424);return}let r=wP(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;G0(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(CP(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},TP={prepare:SP,send:AP};function r_(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function OP(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||r_([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let NP=0;function FP(e,t,n){const r=NP++,o=r_.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function MP(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=ns(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function LP(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?yl(o,t,n):o;s&&r.push(s)}),r}const IP={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function PP(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let E=e.resources.slice(0);for(i=[];E.length>1;){const b=Math.floor(Math.random()*E.length);i.push(E[b]),E=E.slice(0,b).concat(E.slice(b+1))}i=i.concat(E)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),h(),d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function v(E,b){b&&(p=[]),typeof E=="function"&&p.push(E)}function g(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function _(){l="failed",p.forEach(E=>{E(void 0,u)})}function y(){d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function x(E,b,O){const F=b!=="success";switch(d=d.filter(V=>V!==E),l){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(b==="abort"){u=O,_();return}if(F){u=O,d.length||(i.length?S():_());return}if(h(),y(),!e.random){const V=e.resources.indexOf(E.resource);V!==-1&&V!==e.index&&(e.index=V)}l="completed",p.forEach(V=>{V(O)})}function S(){if(l!=="pending")return;h();const E=i.shift();if(E===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(y(),_())},e.timeout);return}_();return}const b={status:"pending",resource:E,callback:(O,F)=>{x(b,O,F)}};d.push(b),c++,f=setTimeout(S,e.rotate),n(E,t,b.callback)}return setTimeout(S),g}function o_(e){const t={...IP,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=PP(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function z0(){}const ac=Object.create(null);function DP(e){if(!ac[e]){const t=Tf(e);if(!t)return;ac[e]={config:t,redundancy:o_(t)}}return ac[e]}function kP(e,t,n){let r,o;if(typeof e=="string"){const s=iu(e);if(!s)return n(void 0,424),z0;o=s.send;const i=DP(e);i&&(r=i.redundancy)}else{const s=wf(e);if(s){r=o_(s);const i=iu(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),z0):r.query(t,o,n)().abort}function K0(){}function RP(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,OP(e)}))}function $P(e){const t=[],n=[];return e.forEach(r=>{(r.match(q1)?t:n).push(r)}),{valid:t,invalid:n}}function ws(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(!Z1(e,n).length){r();return}}catch(o){console.error(o)}r(),RP(e)}function Y0(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function BP(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)){Y0(e.loadIcons(o,r,n),c=>{ws(e,o,c)});return}if(s){o.forEach(c=>{Y0(s(c,r,n),u=>{ws(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=$P(o);if(a.length&&ws(e,a,null),!i.length)return;const l=r.match(q1)?iu(n):null;if(!l){ws(e,i,null);return}l.prepare(n,r,i).forEach(c=>{kP(n,c,u=>{ws(e,c.icons,u)})})}))}const VP=(e,t)=>{const n=MP(LP(e,!0,e_()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,K0)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(ns(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=ns(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&BP(a,l)}),t?FP(t,n,o):K0};function HP(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in t_?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const UP=/[\s,]+/;function jP(e,t){t.split(UP).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function WP(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 GP(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 zP(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function KP(e){return"data:image/svg+xml,"+zP(e)}function YP(e){return'url("'+KP(e)+'")'}const q0={...n_,inline:!1},qP={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},JP={display:"inline-block"},au={backgroundColor:"currentColor"},s_={backgroundColor:"transparent"},J0={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},X0={webkitMask:au,mask:au,background:s_};for(const e in X0){const t=X0[e];for(const n in J0)t[e+n]=J0[n]}const aa={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";aa[e+"-flip"]=t,aa[e.slice(0,1)+"-flip"]=t,aa[e+"Flip"]=t});function Q0(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Z0=(e,t)=>{const n=HP(q0,t),r={...qP},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&jP(n,v);break;case"color":s.color=v;break;case"rotate":typeof v=="string"?n[m]=WP(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const g=aa[m];g?(v===!0||v==="true"||v===1)&&(n[g]=!0):q0[m]===void 0&&(r[m]=v)}}}const l=mP(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=_P(l.body),jt("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=GP(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":YP(h),width:Q0(c.width),height:Q0(c.height),...JP,...p?au:s_,...a},jt("span",r)};e_(!0);xP("",TP);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"||!lP(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;bP(n,o)||console.error(r)}catch{console.error(r)}}}}const XP={...El,body:""},cs=ue((e,{emit:t})=>{const n=Z(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=Z(!!e.ssr),s=Z(""),i=wt(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=yl(c,!1,!0))===null)return null;let f=iP(u);if(!f){const h=n.value;return(!h||h.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:VP([u],l)}),null}r(),s.value!==c&&(s.value=c,rt(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,u.name,u.prefix,u.provider);typeof h=="string"&&(f.body=h)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():gt(()=>{o.value=!0,l()}),_e(()=>e.icon,l),yo(r),()=>{const c=i.value;if(!c)return Z0(XP,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),Z0({...El,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),QP={class:"flex items-center gap-1 overflow-hidden text-ellipsis whitespace-nowrap"},ZP={class:"text-xs"},e8={key:1},t8={class:"text-xs"},Br=ue({__name:"LabelValue",props:{label:{type:String,default:""},icon:{type:String,default:""},value:{type:[String,Number],default:""}},setup(e){return(t,n)=>(U(),ae("div",QP,[te("span",ZP,[e.icon?(U(),he(A(cs),{key:0,icon:e.icon,height:"16"},null,8,["icon"])):Ae("",!0),e.label?(U(),ae("span",e8,De(e.label),1)):Ae("",!0)]),Se(t.$slots,"value",{},()=>[te("span",t8,De(e.value),1)])]))}}),n8=ue({__name:"LoadingWrapper",setup(e){const t=Z(!1);function n(){t.value=!0}function r(){t.value=!1}return(o,s)=>Se(o.$slots,"default",{instance:{start:n,end:r},loading:t.value})}}),r8=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],eh=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function o8(e){if(e<=255)return r8[e];let t=0,n=eh.length-1;for(;t<=n;){const r=t+n>>1,o=eh[r];if(e<o[0]){n=r-1;continue}if(e>o[1]){t=r+1;continue}return o[2]}return"L"}function s8(e){const t=e.length;if(t===0)return null;const n=new Array(t);let r=!1;for(let c=0;c<t;){const u=e.charCodeAt(c);let f=u,d=1;if(u>=55296&&u<=56319&&c+1<t){const h=e.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+(h-56320)+65536,d=2)}const p=o8(f);(p==="R"||p==="AL"||p==="AN")&&(r=!0);for(let h=0;h<d;h++)n[c+h]=p;c+=d}if(!r)return null;let o=0;for(let c=0;c<t;c++){const u=n[c];if(u==="L"){o=0;break}if(u==="R"||u==="AL"){o=1;break}}const s=new Int8Array(t);for(let c=0;c<t;c++)s[c]=o;const i=o&1?"R":"L",a=i;let l=a;for(let c=0;c<t;c++)n[c]==="NSM"?n[c]=l:l=n[c];l=a;for(let c=0;c<t;c++){const u=n[c];u==="EN"?n[c]=l==="AL"?"AN":"EN":(u==="R"||u==="L"||u==="AL")&&(l=u)}for(let c=0;c<t;c++)n[c]==="AL"&&(n[c]="R");for(let c=1;c<t-1;c++)n[c]==="ES"&&n[c-1]==="EN"&&n[c+1]==="EN"&&(n[c]="EN"),n[c]==="CS"&&(n[c-1]==="EN"||n[c-1]==="AN")&&n[c+1]===n[c-1]&&(n[c]=n[c-1]);for(let c=0;c<t;c++){if(n[c]!=="EN")continue;let u;for(u=c-1;u>=0&&n[u]==="ET";u--)n[u]="EN";for(u=c+1;u<t&&n[u]==="ET";u++)n[u]="EN"}for(let c=0;c<t;c++){const u=n[c];(u==="WS"||u==="ES"||u==="ET"||u==="CS")&&(n[c]="ON")}l=a;for(let c=0;c<t;c++){const u=n[c];u==="EN"?n[c]=l==="L"?"L":"EN":(u==="R"||u==="L")&&(l=u)}for(let c=0;c<t;c++){if(n[c]!=="ON")continue;let u=c+1;for(;u<t&&n[u]==="ON";)u++;const f=c>0?n[c-1]:a,d=u<t?n[u]:a,p=f!=="L"?"R":"L";if(p===(d!=="L"?"R":"L"))for(let m=c;m<u;m++)n[m]=p;c=u-1}for(let c=0;c<t;c++)n[c]==="ON"&&(n[c]=i);for(let c=0;c<t;c++){const u=n[c];(s[c]&1)===0?u==="R"?s[c]++:(u==="AN"||u==="EN")&&(s[c]+=2):(u==="L"||u==="AN"||u==="EN")&&s[c]++}return s}function i8(e,t){const n=s8(e);if(n===null)return null;const r=new Int8Array(t.length);for(let o=0;o<t.length;o++)r[o]=n[t[o]];return r}const a8=/[ \t\n\r\f]+/g,l8=/[\t\n\r\f]| {2,}|^ | $/;function c8(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function u8(e){if(!l8.test(e))return e;let t=e.replace(a8," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function f8(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
7
+ })`);const n=Ku();return ng(()=>A(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Lo=[];const xp=e=>{ti(e)===it.esc&&Lo.forEach(t=>t(e))},HT=e=>{gt(()=>{Lo.length===0&&document.addEventListener("keydown",xp),xt&&Lo.push(e)}),Nt(()=>{Lo=Lo.filter(t=>t!==e),Lo.length===0&&xt&&document.removeEventListener("keydown",xp)})},rv=()=>{const e=Ku(),t=nv(),n=L(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:L(()=>`#${n.value}`)}},UT=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},jT=()=>{const{id:e,selector:t}=rv();return mm(()=>{xt&&(document.body.querySelector(t.value)||UT(e.value))}),{id:e,selector:t}},WT=Xe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),GT=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:s}=_p(),{registerTimeout:i,cancelTimeout:a}=_p();return{onOpen:(u,f=A(e))=>{s(()=>{r(u);const d=A(n);It(d)&&d>0&&i(()=>{o(u)},d)},f)},onClose:(u,f=A(t))=>{a(),s(()=>{o(u)},f)}}},ov=Symbol("elForwardRef"),zT=e=>{At(ov,{setForwardRef:(n=>{e.value=n})})},KT=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),bp={current:0},yp=Z(0),YT=2e3,Ep=Symbol("elZIndexContextKey"),sv=Symbol("zIndexContextKey"),iv=e=>{const t=Ye()?Te(Ep,bp):bp,n=e||(Ye()?Te(sv,void 0):void 0),r=L(()=>{const i=A(n);return It(i)?i:YT}),o=L(()=>r.value+yp.value),s=()=>(t.current++,yp.value=t.current,o.value);return!xt&&!Te(Ep)&&Qn("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
8
+ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:s}},ko=e=>{const t=ce(e)?e:[e],n=[];return t.forEach(r=>{ce(r)?n.push(...ko(r)):zn(r)&&r.component?.subTree?n.push(r,...ko(r.component.subTree)):zn(r)&&ce(r.children)?n.push(...ko(r.children)):zn(r)&&r.shapeFlag===2?n.push(...ko(r.type())):n.push(r)}),n},Ei=fl({type:String,values:nl,required:!1}),av=Symbol("size"),qT=()=>{const e=Te(av,{});return L(()=>A(e.size)||"")};function JT(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:o,afterBlur:s}={}){const{emit:i}=Ye(),a=wt(),l=Z(!1),c=d=>{const p=be(n)?n(d):!1;A(t)||l.value||p||(l.value=!0,i("focus",d),r?.())},u=d=>{const p=be(o)?o(d):!1;A(t)||d.relatedTarget&&a.value?.contains(d.relatedTarget)||p||(l.value=!1,i("blur",d),s?.())},f=d=>{A(t)||Zs(d.target)||a.value?.contains(document.activeElement)&&a.value!==document.activeElement||e.value?.focus()};return _e([a,()=>A(t)],([d,p])=>{d&&(p?d.removeAttribute("tabindex"):d.setAttribute("tabindex","-1"))}),_n(a,"focus",c,!0),_n(a,"blur",u,!0),_n(a,"click",f,!0),{isFocused:l,wrapperRef:a,handleFocus:c,handleBlur:u}}function XT({afterComposition:e,emit:t}){const n=Z(!1),r=a=>{t?.("compositionstart",a),n.value=!0},o=a=>{t?.("compositionupdate",a),n.value=!0},s=a=>{t?.("compositionend",a),n.value&&(n.value=!1,rt(()=>e(a)))};return{isComposing:n,handleComposition:a=>{a.type==="compositionend"?s(a):o(a)},handleCompositionStart:r,handleCompositionUpdate:o,handleCompositionEnd:s}}const lv=Symbol("emptyValuesContextKey"),QT="use-empty-values",ZT=["",void 0,null],cv=Xe({emptyValues:Array,valueOnClear:{type:me([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=be(e)?e():e,ce(e)?e.every(t=>!t):!e)}}),eO=(e,t)=>{const n=Ye()?Te(lv,Z({})):Z({}),r=L(()=>e.emptyValues||n.value.emptyValues||ZT),o=L(()=>be(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:be(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),s=i=>{let a=!0;return ce(i)?a=r.value.some(l=>mn(i,l)):a=r.value.includes(i),a};return s(o.value)||Qn(QT,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:o,isEmptyValue:s}},tO=Xe({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),is=e=>kg(tO,e),uv=e=>{const t=e.props,n=ce(t)?Sa(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[o,s]of Object.entries(r)){const i=n[o];if(Ve(n,o)){if(Eg(i)){n[o]={...i,default:s};continue}n[o]={type:i,default:s}}}e.props=n}}},ln=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return uv(e),e},nO=(e,t)=>(e.install=n=>{n.directive(t,e)},e),as=e=>(e.install=pt,uv(e),e);var rO=ue({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),oO=rO,sO=ue({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),te("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),iO=sO,aO=ue({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),te("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),fv=aO,lO=ue({name:"Close",__name:"close",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Cp=lO,cO=ue({name:"Loading",__name:"loading",setup(e){return(t,n)=>(U(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[te("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),dv=cO;const vo=me([String,Object,Function]),uO={validating:dv,success:iO,error:fv},fO=Xe({size:{type:me([Number,String])},color:{type:String}});var dO=ue({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:fO,setup(e){const t=e,n=Qe("icon"),r=L(()=>{const{size:o,color:s}=t,i=ei(o);return!i&&!s?{}:{fontSize:i,"--color":s}});return(o,s)=>(U(),ae("i",Dt({class:A(n).b(),style:r.value},o.$attrs),[Se(o.$slots,"default")],16))}}),pO=dO;const _o=ln(pO),pv=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],hv=Xe({role:{type:String,values:pv,default:"tooltip"}}),nf=Symbol("popper"),mv=Symbol("popperContent");var hO=ue({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Qe("popper"),{arrowRef:r,arrowStyle:o}=Te(mv,void 0);return Nt(()=>{r.value=void 0}),t({arrowRef:r}),(s,i)=>(U(),ae("span",{ref_key:"arrowRef",ref:r,class:de(A(n).e("arrow")),style:St(A(o)),"data-popper-arrow":""},null,6))}}),mO=hO;const gv=Xe({virtualRef:{type:me(Object)},virtualTriggering:Boolean,onMouseenter:{type:me(Function)},onMouseleave:{type:me(Function)},onClick:{type:me(Function)},onKeydown:{type:me(Function)},onFocus:{type:me(Function)},onBlur:{type:me(Function)},onContextmenu:{type:me(Function)},id:String,open:Boolean}),Wl="ElOnlyChild",gO=ue({name:Wl,setup(e,{slots:t,attrs:n}){const r=KT(Te(ov)?.setForwardRef??pt);return()=>{const o=t.default?.(n);if(!o)return null;const[s,i]=vv(o);return s?(i>1&&Qn(Wl,"requires exact only one valid child."),Jn(Xn(s,n),[[r]])):(Qn(Wl,"no valid child node found"),null)}}});function vv(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==yt).length;for(const r of t){if(we(r))switch(r.type){case yt:continue;case Eo:case"svg":return[Sp(r),n];case ke:return vv(r.children);default:return[r,n]}return[Sp(r),n]}return[null,0]}function Sp(e){return ee("span",{class:Qe("only-child").e("content")},[e])}var vO=ue({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:gv,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=Te(nf,void 0);zT(o);const s=L(()=>a.value?n.id:void 0),i=L(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),a=L(()=>{if(r&&r.value!=="tooltip")return r.value}),l=L(()=>a.value?`${n.open}`:void 0);let c;const u=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return gt(()=>{_e(()=>n.virtualRef,f=>{f&&(o.value=Wt(f))},{immediate:!0}),_e(o,(f,d)=>{c?.(),c=void 0,ro(d)&&u.forEach(p=>{const h=n[p];h&&d.removeEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),ro(f)&&(u.forEach(p=>{const h=n[p];h&&f.addEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),Zs(f)&&(c=_e([s,i,a,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{_i(p[m])?f.removeAttribute(h):f.setAttribute(h,p[m])})},{immediate:!0}))),ro(d)&&Zs(d)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>d.removeAttribute(p))},{immediate:!0})}),Nt(()=>{if(c?.(),c=void 0,o.value&&ro(o.value)){const f=o.value;u.forEach(d=>{const p=n[d];p&&f.removeEventListener(d.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(d))}),o.value=void 0}}),t({triggerRef:o}),(f,d)=>e.virtualTriggering?Ae("v-if",!0):(U(),he(A(gO),Dt({key:0},f.$attrs,{"aria-controls":s.value,"aria-describedby":i.value,"aria-expanded":l.value,"aria-haspopup":a.value}),{default:pe(()=>[Se(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),_O=vO;const _v=Xe({arrowOffset:{type:Number,default:5}}),xO=Xe({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:me(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:bi,default:"bottom"},popperOptions:{type:me(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),xv=Xe({...xO,..._v,id:String,style:{type:me([String,Array,Object,Boolean]),default:void 0},className:{type:me([String,Array,Object])},effect:{type:me(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:me([String,Array,Object])},popperStyle:{type:me([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:me(Object)},triggerTargetEl:{type:me(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...is(["ariaLabel"]),loop:Boolean}),bO={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},hl=Symbol("formContextKey"),Ta=Symbol("formItemContextKey"),oi=(e,t={})=>{const n=Z(void 0),r=t.prop?n:jg("size"),o=t.global?n:qT(),s=t.form?{size:void 0}:Te(hl,void 0),i=t.formItem?{size:void 0}:Te(Ta,void 0);return L(()=>r.value||A(e)||i?.size||s?.size||o.value||"")},Ci=e=>{const t=jg("disabled"),n=Te(hl,void 0);return L(()=>t.value??A(e)??n?.disabled??!1)},Si=()=>({form:Te(hl,void 0),formItem:Te(Ta,void 0)}),rf=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=Z(!1)),r||(r=Z(!1));const o=Ye(),s=()=>{let c=o?.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},i=Z();let a;const l=L(()=>!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&t.inputIds?.length<=1));return gt(()=>{a=_e([en(e,"id"),n],([c,u])=>{const f=c??(u?void 0:pl().value);f!==i.value&&(t?.removeInputId&&!s()&&(i.value&&t.removeInputId(i.value),!r?.value&&!u&&f&&t.addInputId(f)),i.value=f)},{immediate:!0})}),yo(()=>{a&&a(),t?.removeInputId&&i.value&&t.removeInputId(i.value)}),{isLabeledByFormItem:l,inputId:i}},yO=e=>!e&&e!==0?[]:ce(e)?e:[e],Gl="focus-trap.focus-after-trapped",zl="focus-trap.focus-after-released",EO="focus-trap.focusout-prevented",wp={cancelable:!0,bubbles:!1},CO={cancelable:!0,bubbles:!1},Ap="focusAfterTrapped",Tp="focusAfterReleased",SO=Symbol("elFocusTrap"),of=Z(),ml=Z(0),sf=Z(0);let Ui=0;const bv=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Op=(e,t)=>{for(const n of e)if(!wO(n,t))return n},wO=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},AO=e=>{const t=bv(e);return[Op(t,e),Op(t.reverse(),e)]},TO=e=>e instanceof HTMLInputElement&&"select"in e,Mr=(e,t)=>{if(e){const n=document.activeElement;Gu(e,{preventScroll:!0}),sf.value=window.performance.now(),e!==n&&TO(e)&&t&&e.select()}};function Np(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const OO=()=>{let e=[];return{push:r=>{const o=e[0];o&&r!==o&&o.pause(),e=Np(e,r),e.unshift(r)},remove:r=>{e=Np(e,r),e[0]?.resume?.()}}},NO=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Mr(r,t),document.activeElement!==n)return},Fp=OO(),FO=()=>ml.value>sf.value,ji=()=>{of.value="pointer",ml.value=window.performance.now()},Mp=()=>{of.value="keyboard",ml.value=window.performance.now()},MO=()=>(gt(()=>{Ui===0&&(document.addEventListener("mousedown",ji),document.addEventListener("touchstart",ji),document.addEventListener("keydown",Mp)),Ui++}),Nt(()=>{Ui--,Ui<=0&&(document.removeEventListener("mousedown",ji),document.removeEventListener("touchstart",ji),document.removeEventListener("keydown",Mp))}),{focusReason:of,lastUserFocusTimestamp:ml,lastAutomatedFocusTimestamp:sf}),Wi=e=>new CustomEvent(EO,{...CO,detail:e});var LO=ue({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[Ap,Tp,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Z();let r,o;const{focusReason:s}=MO();HT(h=>{e.trapped&&!i.paused&&t("release-requested",h)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=h=>{if(!e.loop&&!e.trapped||i.paused)return;const{altKey:m,ctrlKey:v,metaKey:g,currentTarget:_,shiftKey:y}=h,{loop:x}=e,S=ti(h)===it.tab&&!m&&!v&&!g,E=document.activeElement;if(S&&E){const b=_,[O,F]=AO(b);if(O&&F){if(!y&&E===F){const V=Wi({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||(h.preventDefault(),x&&Mr(O,!0))}else if(y&&[O,b].includes(E)){const V=Wi({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||(h.preventDefault(),x&&Mr(F,!0))}}else if(E===b){const V=Wi({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||h.preventDefault()}}};At(SO,{focusTrapRef:n,onKeydown:a}),_e(()=>e.focusTrapEl,h=>{h&&(n.value=h)},{immediate:!0}),_e([n],([h],[m])=>{h&&(h.addEventListener("keydown",a),h.addEventListener("focusin",u),h.addEventListener("focusout",f)),m&&(m.removeEventListener("keydown",a),m.removeEventListener("focusin",u),m.removeEventListener("focusout",f))});const l=h=>{t(Ap,h)},c=h=>t(Tp,h),u=h=>{const m=A(n);if(!m)return;const v=h.target,g=h.relatedTarget,_=v&&m.contains(v);e.trapped||g&&m.contains(g)||(r=g),_&&t("focusin",h),!i.paused&&e.trapped&&(_?o=v:Mr(o,!0))},f=h=>{const m=A(n);if(!(i.paused||!m))if(e.trapped){const v=h.relatedTarget;!_i(v)&&!m.contains(v)&&setTimeout(()=>{if(!i.paused&&e.trapped){const g=Wi({focusReason:s.value});t("focusout-prevented",g),g.defaultPrevented||Mr(o,!0)}},0)}else{const v=h.target;v&&m.contains(v)||t("focusout",h)}};async function d(){await rt();const h=A(n);if(h){Fp.push(i);const m=h.contains(document.activeElement)?r:document.activeElement;if(r=m,!h.contains(m)){const v=new Event(Gl,wp);h.addEventListener(Gl,l),h.dispatchEvent(v),v.defaultPrevented||rt(()=>{let g=e.focusStartEl;Re(g)||(Mr(g),document.activeElement!==g&&(g="first")),g==="first"&&NO(bv(h),!0),(document.activeElement===m||g==="container")&&Mr(h)})}}}function p(){const h=A(n);if(h){h.removeEventListener(Gl,l);const m=new CustomEvent(zl,{...wp,detail:{focusReason:s.value}});h.addEventListener(zl,c),h.dispatchEvent(m),!m.defaultPrevented&&(s.value=="keyboard"||!FO()||h.contains(document.activeElement))&&Mr(r??document.body),h.removeEventListener(zl,c),Fp.remove(i),r=null,o=null}}return gt(()=>{e.trapped&&d(),_e(()=>e.trapped,h=>{h?d():p()})}),Nt(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",a),n.value.removeEventListener("focusin",u),n.value.removeEventListener("focusout",f),n.value=void 0),r=null,o=null}),{onKeydown:a}}}),wi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function IO(e,t,n,r,o,s){return Se(e.$slots,"default",{handleKeydown:e.onKeydown})}var PO=wi(LO,[["render",IO]]),DO=PO;const kO=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,s={placement:n,strategy:r,...o,modifiers:[...$O(e),...t]};return BO(s,o?.modifiers),s},RO=e=>{if(xt)return Wt(e)};function $O(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function BO(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const VO=0,HO=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=Te(nf,void 0),s=Z(),i=L(()=>e.arrowOffset),a=L(()=>({name:"eventListeners",enabled:!!e.visible})),l=L(()=>{const _=A(s),y=A(i)??VO;return{name:"arrow",enabled:!Zw(_),options:{element:_,padding:y}}}),c=L(()=>({onFirstUpdate:()=>{h()},...kO(e,[A(l),A(a)])})),u=L(()=>RO(e.referenceEl)||A(r)),{attributes:f,state:d,styles:p,update:h,forceUpdate:m,instanceRef:v}=$T(u,n,c);_e(v,_=>t.value=_,{flush:"sync"}),gt(()=>{_e(()=>A(u)?.getBoundingClientRect?.(),()=>{h()})});let g;return _e(()=>e.visible,_=>{g?.(),g=void 0,_&&(g=On(n,h).stop)}),Nt(()=>{t.value=void 0,g?.(),g=void 0}),{attributes:f,arrowRef:s,contentRef:n,instanceRef:v,state:d,styles:p,role:o,forceUpdate:m,update:h}},UO=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=iv(),s=Qe("popper"),i=L(()=>A(t).popper),a=Z(It(e.zIndex)?e.zIndex:o()),l=L(()=>[s.b(),s.is("pure",e.pure),s.is(e.effect),e.popperClass]),c=L(()=>[{zIndex:A(a)},A(n).popper,e.popperStyle||{}]),u=L(()=>r.value==="dialog"?"false":void 0),f=L(()=>A(n).arrow||{});return{ariaModal:u,arrowStyle:f,contentAttrs:i,contentClass:l,contentStyle:c,contentZIndex:a,updateZIndex:()=>{a.value=It(e.zIndex)?e.zIndex:o()}}},jO=(e,t)=>{const n=Z(!1),r=Z(),o=()=>{t("focus")},s=c=>{c.detail?.focusReason!=="pointer"&&(r.value="first",t("blur"))},i=c=>{e.visible&&!n.value&&(c.target&&(r.value=c.target),n.value=!0)},a=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},l=()=>{n.value=!1,t("close")};return Nt(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:s,onFocusAfterTrapped:o,onFocusInTrap:i,onFocusoutPrevented:a,onReleaseRequested:l}};var WO=ue({name:"ElPopperContent",__name:"content",props:xv,emits:bO,setup(e,{expose:t,emit:n}){const r=n,o=e,{focusStartRef:s,trapped:i,onFocusAfterReleased:a,onFocusAfterTrapped:l,onFocusInTrap:c,onFocusoutPrevented:u,onReleaseRequested:f}=jO(o,r),{attributes:d,arrowRef:p,contentRef:h,styles:m,instanceRef:v,role:g,update:_}=HO(o),{ariaModal:y,arrowStyle:x,contentAttrs:S,contentClass:E,contentStyle:b,updateZIndex:O}=UO(o,{styles:m,attributes:d,role:g}),F=Te(Ta,void 0);At(mv,{arrowStyle:x,arrowRef:p}),F&&At(Ta,{...F,addInputId:pt,removeInputId:pt});let V;const W=(Y=!0)=>{_(),Y&&O()},I=()=>{W(!1),o.visible&&o.focusOnShow?i.value=!0:o.visible===!1&&(i.value=!1)};return gt(()=>{_e(()=>o.triggerTargetEl,(Y,H)=>{V?.(),V=void 0;const D=A(Y||h.value),M=A(H||h.value);ro(D)&&(V=_e([g,()=>o.ariaLabel,y,()=>o.id],R=>{["role","aria-label","aria-modal","id"].forEach((j,ne)=>{_i(R[ne])?D.removeAttribute(j):D.setAttribute(j,R[ne])})},{immediate:!0})),M!==D&&ro(M)&&["role","aria-label","aria-modal","id"].forEach(R=>{M.removeAttribute(R)})},{immediate:!0}),_e(()=>o.visible,I,{immediate:!0})}),Nt(()=>{V?.(),V=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:v,updatePopper:W,contentStyle:b}),(Y,H)=>(U(),ae("div",Dt({ref_key:"contentRef",ref:h},A(S),{style:A(b),class:A(E),tabindex:"-1",onMouseenter:H[0]||(H[0]=D=>Y.$emit("mouseenter",D)),onMouseleave:H[1]||(H[1]=D=>Y.$emit("mouseleave",D))}),[ee(A(DO),{loop:e.loop,trapped:A(i),"trap-on-focus-in":!0,"focus-trap-el":A(h),"focus-start-el":A(s),onFocusAfterTrapped:A(l),onFocusAfterReleased:A(a),onFocusin:A(c),onFocusoutPrevented:A(u),onReleaseRequested:A(f)},{default:pe(()=>[Se(Y.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),GO=WO,zO=ue({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:hv,setup(e,{expose:t}){const n=e,r={triggerRef:Z(),popperInstanceRef:Z(),contentRef:Z(),referenceRef:Z(),role:L(()=>n.role)};return t(r),At(nf,r),(o,s)=>Se(o.$slots,"default")}}),KO=zO;const YO=ln(KO),ft=Xe({...WT,...xv,appendTo:{type:me([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:me(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...is(["ariaLabel"])}),$r=Xe({...gv,disabled:Boolean,trigger:{type:me([String,Array]),default:"hover"},triggerKeys:{type:me(Array),default:()=>[it.enter,it.numpadEnter,it.space]},focusOnTarget:Boolean}),{useModelToggleProps:qO,useModelToggleEmits:JO,useModelToggle:XO}=DA("visible"),QO=Xe({...hv,...qO,...ft,...$r,..._v,showArrow:{type:Boolean,default:!0}}),ZO=[...JO,"before-show","before-hide","show","hide","open","close"],af=Symbol("elTooltip"),Rc=(e,t)=>ce(e)?e.includes(t):e===t,To=(e,t,n)=>r=>{Rc(A(e),t)&&n(r)};var eN=ue({name:"ElTooltipTrigger",__name:"trigger",props:$r,setup(e,{expose:t}){const n=e,r=Qe("tooltip"),{controlled:o,id:s,open:i,onOpen:a,onClose:l,onToggle:c}=Te(af,void 0),u=Z(null),f=()=>{if(A(o)||n.disabled)return!0},d=en(n,"trigger"),p=ar(f,To(d,"hover",x=>{a(x),n.focusOnTarget&&x.target&&rt(()=>{Gu(x.target,{preventScroll:!0})})})),h=ar(f,To(d,"hover",l)),m=ar(f,To(d,"click",x=>{x.button===0&&c(x)})),v=ar(f,To(d,"focus",a)),g=ar(f,To(d,"focus",l)),_=ar(f,To(d,"contextmenu",x=>{x.preventDefault(),c(x)})),y=ar(f,x=>{const S=ti(x);n.triggerKeys.includes(S)&&(x.preventDefault(),c(x))});return t({triggerRef:u}),(x,S)=>(U(),he(A(_O),{id:A(s),"virtual-ref":e.virtualRef,open:A(i),"virtual-triggering":e.virtualTriggering,class:de(A(r).e("trigger")),onBlur:A(g),onClick:A(m),onContextmenu:A(_),onFocus:A(v),onMouseenter:A(p),onMouseleave:A(h),onKeydown:A(y)},{default:pe(()=>[Se(x.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),tN=eN,nN=ue({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:ft,setup(e,{expose:t}){const n=e,{selector:r}=rv(),o=Qe("tooltip"),s=Z(),i=ng(()=>s.value?.popperContentRef);let a;const{controlled:l,id:c,open:u,trigger:f,onClose:d,onOpen:p,onShow:h,onHide:m,onBeforeShow:v,onBeforeHide:g}=Te(af,void 0),_=L(()=>n.transition||`${o.namespace.value}-fade-in-linear`),y=L(()=>n.persistent);Nt(()=>{a?.()});const x=L(()=>A(y)?!0:A(u)),S=L(()=>n.disabled?!1:A(u)),E=L(()=>n.appendTo||r.value),b=L(()=>n.style??{}),O=Z(!0),F=()=>{m(),R()&&Gu(document.body,{preventScroll:!0}),O.value=!0},V=()=>{if(A(l))return!0},W=ar(V,()=>{n.enterable&&Rc(A(f),"hover")&&p()}),I=ar(V,()=>{Rc(A(f),"hover")&&d()}),Y=()=>{s.value?.updatePopper?.(),v?.()},H=()=>{g?.()},D=()=>{h()},M=()=>{n.virtualTriggering||d()},R=j=>{const ne=s.value?.popperContentRef,le=j?.relatedTarget||document.activeElement;return ne?.contains(le)};return _e(()=>A(u),j=>{j?(O.value=!1,a=My(i,()=>{A(l)||yO(A(f)).every(ne=>ne!=="hover"&&ne!=="focus")&&d()},{detectIframe:!0})):a?.()},{flush:"post"}),t({contentRef:s,isFocusInsideContent:R}),(j,ne)=>(U(),he(Hx,{disabled:!e.teleported,to:E.value},[x.value||!O.value?(U(),he(el,{key:0,name:_.value,appear:!y.value,onAfterLeave:F,onBeforeEnter:Y,onAfterEnter:D,onBeforeLeave:H,persisted:""},{default:pe(()=>[Jn(ee(A(GO),Dt({id:A(c),ref_key:"contentRef",ref:s},j.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":O.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,b.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:S.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:A(W),onMouseleave:A(I),onBlur:M,onClose:A(d)}),{default:pe(()=>[Se(j.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[os,S.value]])]),_:3},8,["name","appear"])):Ae("v-if",!0)],8,["disabled","to"]))}}),rN=nN;const oN=["innerHTML"],sN={key:1};var iN=ue({name:"ElTooltip",__name:"tooltip",props:QO,emits:ZO,setup(e,{expose:t,emit:n}){const r=e,o=n;jT();const s=Qe("tooltip"),i=pl(),a=Z(),l=Z(),c=()=>{const x=A(a);x&&x.popperInstanceRef?.update()},u=Z(!1),f=Z(),{show:d,hide:p,hasUpdateHandler:h}=XO({indicator:u,toggleReason:f}),{onOpen:m,onClose:v}=GT({showAfter:en(r,"showAfter"),hideAfter:en(r,"hideAfter"),autoClose:en(r,"autoClose"),open:d,close:p}),g=L(()=>xr(r.visible)&&!h.value),_=L(()=>[s.b(),r.popperClass]);At(af,{controlled:g,id:i,open:Wo(u),trigger:en(r,"trigger"),onOpen:m,onClose:v,onToggle:x=>{A(u)?v(x):m(x)},onShow:()=>{o("show",f.value)},onHide:()=>{o("hide",f.value)},onBeforeShow:()=>{o("before-show",f.value)},onBeforeHide:()=>{o("before-hide",f.value)},updatePopper:c}),_e(()=>r.disabled,x=>{x&&u.value&&(u.value=!1),!x&&xr(r.visible)&&(u.value=r.visible)});const y=x=>l.value?.isFocusInsideContent(x);return pm(()=>u.value&&p()),Nt(()=>{f.value=void 0}),t({popperRef:a,contentRef:l,isFocusInsideContent:y,updatePopper:c,onOpen:m,onClose:v,hide:p}),(x,S)=>(U(),he(A(YO),{ref_key:"popperRef",ref:a,role:e.role},{default:pe(()=>[ee(tN,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:pe(()=>[x.$slots.default?Se(x.$slots,"default",{key:0}):Ae("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),ee(rN,{ref_key:"contentRef",ref:l,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":_.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:pe(()=>[Se(x.$slots,"content",{},()=>[e.rawContent?(U(),ae("span",{key:0,innerHTML:e.content},null,8,oN)):(U(),ae("span",sN,De(e.content),1))]),e.showArrow?(U(),he(A(mO),{key:0})):Ae("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),aN=iN;const lf=ln(aN),lN=Xe({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:me([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:me([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...is(["ariaLabel","ariaOrientation"])}),$c={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(It)},cN={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},uN=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),fN=Xe({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),cf=Symbol("scrollbarContextKey");function Lp(e,t,n=.03){return e-t>n}const dN=Xe({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),pN="Thumb";var hN=ue({__name:"thumb",props:fN,setup(e){const t=e,n=Te(cf),r=Qe("scrollbar");n||$g(pN,"can not inject scrollbar context");const o=Z(),s=Z(),i=Z({}),a=Z(!1);let l=!1,c=!1,u=0,f=0,d=xt?document.onselectstart:null;const p=L(()=>cN[t.vertical?"vertical":"horizontal"]),h=L(()=>uN({size:t.size,move:t.move,bar:p.value})),m=L(()=>o.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/s.value[p.value.offset]),v=O=>{if(O.stopPropagation(),O.ctrlKey||[1,2].includes(O.button))return;window.getSelection()?.removeAllRanges(),_(O);const F=O.currentTarget;F&&(i.value[p.value.axis]=F[p.value.offset]-(O[p.value.client]-F.getBoundingClientRect()[p.value.direction]))},g=O=>{if(!s.value||!o.value||!n.wrapElement)return;const F=(Math.abs(O.target.getBoundingClientRect()[p.value.direction]-O[p.value.client])-s.value[p.value.offset]/2)*100*m.value/o.value[p.value.offset];n.wrapElement[p.value.scroll]=F*n.wrapElement[p.value.scrollSize]/100},_=O=>{O.stopImmediatePropagation(),l=!0,u=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",y),document.addEventListener("mouseup",x),d=document.onselectstart,document.onselectstart=()=>!1},y=O=>{if(!o.value||!s.value||l===!1)return;const F=i.value[p.value.axis];if(!F)return;const V=((o.value.getBoundingClientRect()[p.value.direction]-O[p.value.client])*-1-(s.value[p.value.offset]-F))*100*m.value/o.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=V*f/100:n.wrapElement[p.value.scroll]=V*u/100},x=()=>{l=!1,i.value[p.value.axis]=0,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",x),b(),c&&(a.value=!1)},S=()=>{c=!1,a.value=!!t.size},E=()=>{c=!0,a.value=l};Nt(()=>{b(),document.removeEventListener("mouseup",x)});const b=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return _n(en(n,"scrollbarElement"),"mousemove",S),_n(en(n,"scrollbarElement"),"mouseleave",E),(O,F)=>(U(),he(el,{name:A(r).b("fade"),persisted:""},{default:pe(()=>[Jn(te("div",{ref_key:"instance",ref:o,class:de([A(r).e("bar"),A(r).is(p.value.key)]),onMousedown:g,onClick:F[0]||(F[0]=Tn(()=>{},["stop"]))},[te("div",{ref_key:"thumb",ref:s,class:de(A(r).e("thumb")),style:St(h.value),onMousedown:v},null,38)],34),[[os,e.always||a.value]])]),_:1},8,["name"]))}}),Ip=hN,mN=ue({__name:"bar",props:dN,setup(e,{expose:t}){const n=e,r=Te(cf),o=Z(0),s=Z(0),i=Z(""),a=Z(""),l=Z(1),c=Z(1);return t({handleScroll:d=>{if(d){const p=d.offsetHeight-4,h=d.offsetWidth-4;s.value=d.scrollTop*100/p*l.value,o.value=d.scrollLeft*100/h*c.value}},update:()=>{const d=r?.wrapElement;if(!d)return;const p=d.offsetHeight-4,h=d.offsetWidth-4,m=p**2/d.scrollHeight,v=h**2/d.scrollWidth,g=Math.max(m,n.minSize),_=Math.max(v,n.minSize);l.value=m/(p-m)/(g/(p-g)),c.value=v/(h-v)/(_/(h-_)),a.value=g+4<p?`${g}px`:"",i.value=_+4<h?`${_}px`:""}}),(d,p)=>(U(),ae(ke,null,[ee(Ip,{move:o.value,ratio:c.value,size:i.value,always:e.always},null,8,["move","ratio","size","always"]),ee(Ip,{move:s.value,ratio:l.value,size:a.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),gN=mN;const vN=["tabindex"],Kl="ElScrollbar";var _N=ue({name:Kl,__name:"scrollbar",props:lN,emits:$c,setup(e,{expose:t,emit:n}){const r=e,o=n,s=Qe("scrollbar");let i,a,l,c=0,u=0,f="";const d={bottom:!1,top:!1,right:!1,left:!1},p=Z(),h=Z(),m=Z(),v=Z(),g=L(()=>{const I={},Y=ei(r.height),H=ei(r.maxHeight);return Y&&(I.height=Y),H&&(I.maxHeight=H),[r.wrapStyle,I]}),_=L(()=>[r.wrapClass,s.e("wrap"),{[s.em("wrap","hidden-default")]:!r.native}]),y=L(()=>[s.e("view"),r.viewClass]),x=I=>d[I]??!1,S={top:"bottom",bottom:"top",left:"right",right:"left"},E=I=>{const Y=S[f];if(!Y)return;const H=I[f],D=I[Y];H&&!d[f]&&(d[f]=!0),!D&&d[Y]&&(d[Y]=!1)},b=()=>{if(h.value){v.value?.handleScroll(h.value);const I=c,Y=u;c=h.value.scrollTop,u=h.value.scrollLeft;const H={bottom:!Lp(h.value.scrollHeight-r.distance,h.value.clientHeight+c),top:c<=r.distance&&I!==0,right:!Lp(h.value.scrollWidth-r.distance,h.value.clientWidth+u)&&Y!==u,left:u<=r.distance&&Y!==0};if(o("scroll",{scrollTop:c,scrollLeft:u}),I!==c&&(f=c>I?"bottom":"top"),Y!==u&&(f=u>Y?"right":"left"),r.distance>0){if(x(f))return;E(H)}H[f]&&o("end-reached",f)}};function O(I,Y){we(I)?h.value.scrollTo(I):It(I)&&It(Y)&&h.value.scrollTo(I,Y)}const F=I=>{if(!It(I)){Qn(Kl,"value must be a number");return}h.value.scrollTop=I},V=I=>{if(!It(I)){Qn(Kl,"value must be a number");return}h.value.scrollLeft=I},W=()=>{v.value?.update(),d[f]=!1,h.value&&v.value?.handleScroll(h.value)};return _e(()=>r.noresize,I=>{I?(i?.(),a?.(),l?.()):({stop:i}=On(m,W),{stop:a}=On(h,W),l=_n("resize",W))},{immediate:!0}),_e(()=>[r.maxHeight,r.height],()=>{r.native||rt(()=>{W()})}),At(cf,Jt({scrollbarElement:p,wrapElement:h})),dm(()=>{h.value&&(h.value.scrollTop=c,h.value.scrollLeft=u)}),gt(()=>{r.native||rt(()=>{W()})}),yu(()=>W()),t({wrapRef:h,update:W,scrollTo:O,setScrollTop:F,setScrollLeft:V,handleScroll:b}),(I,Y)=>(U(),ae("div",{ref_key:"scrollbarRef",ref:p,class:de(A(s).b())},[te("div",{ref_key:"wrapRef",ref:h,class:de(_.value),style:St(g.value),tabindex:e.tabindex,onScroll:b},[(U(),he(vn(e.tag),{id:e.id,ref_key:"resizeRef",ref:m,class:de(y.value),style:St(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:pe(()=>[Se(I.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,vN),e.native?Ae("v-if",!0):(U(),he(gN,{key:0,ref_key:"barRef",ref:v,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),xN=_N;const bN=ln(xN),yN=Xe({size:{type:[Number,String],values:nl,validator:e=>It(e)},shape:{type:String,values:["circle","square"]},icon:{type:vo},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:me(String),default:"cover"}}),EN={error:e=>e instanceof Event},yv=Symbol("avatarGroupContextKey"),CN={size:{type:me([Number,String]),values:nl,validator:e=>It(e)},shape:{type:me(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:me(String),default:"light"},placement:{type:me(String),values:bi,default:"top"},popperClass:ft.popperClass,popperStyle:ft.popperStyle,collapseClass:String,collapseStyle:{type:me([String,Array,Object,Boolean]),default:void 0}},SN=["src","alt","srcset"];var wN=ue({name:"ElAvatar",__name:"avatar",props:yN,emits:EN,setup(e,{emit:t}){const n=e,r=t,o=Te(yv,void 0),s=Qe("avatar"),i=Z(!1),a=L(()=>n.size??o?.size),l=L(()=>n.shape??o?.shape??"circle"),c=L(()=>{const{icon:p}=n,h=[s.b()];return Re(a.value)&&h.push(s.m(a.value)),p&&h.push(s.m("icon")),l.value&&h.push(s.m(l.value)),h}),u=L(()=>It(a.value)?s.cssVarBlock({size:ei(a.value)}):void 0),f=L(()=>({objectFit:n.fit}));_e(()=>[n.src,n.srcSet],()=>i.value=!1);function d(p){i.value=!0,r("error",p)}return(p,h)=>(U(),ae("span",{class:de(c.value),style:St(u.value)},[(e.src||e.srcSet)&&!i.value?(U(),ae("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:St(f.value),onError:d},null,44,SN)):e.icon?(U(),he(A(_o),{key:1},{default:pe(()=>[(U(),he(vn(e.icon)))]),_:1})):Se(p.$slots,"default",{key:2})],6))}}),Ev=wN,Cv=ue({name:"ElAvatarGroup",props:CN,setup(e,{slots:t}){const n=Qe("avatar-group");return At(yv,Jt({size:en(e,"size"),shape:en(e,"shape")})),()=>{const r=ko(t.default?.()??[]);let o=r;if(e.collapseAvatars&&r.length>e.maxCollapseAvatars){o=r.slice(0,e.maxCollapseAvatars);const s=r.slice(e.maxCollapseAvatars);o.push(ee(lf,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>ee(Ev,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[Tt("+ "),s.length]}),content:()=>ee("div",{class:n.e("collapse-avatars")},[s.map((i,a)=>zn(i)?Xn(i,{key:i.key??a}):i)])}))}return ee("div",{class:n.b()},[o])}}});const AN=ln(Ev,{AvatarGroup:Cv});as(Cv);const TN=["default","primary","success","warning","info","danger","text",""],ON=["button","submit","reset"],Bc=Xe({size:Ei,disabled:{type:Boolean,default:void 0},type:{type:String,values:TN,default:""},icon:{type:vo},nativeType:{type:String,values:ON,default:"button"},loading:Boolean,loadingIcon:{type:vo,default:()=>dv},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:me([String,Object]),default:"button"}}),NN={click:e=>e instanceof MouseEvent},Sv=Symbol(),Oa=Z();function Ai(e,t=void 0){const n=Ye()?Te(Sv,Oa):Oa;return e?L(()=>n.value?.[e]??t):n}function FN(e,t){const n=Ai(),r=Qe(e,L(()=>n.value?.namespace||"el")),o=zu(L(()=>n.value?.locale)),s=iv(L(()=>n.value?.zIndex||2e3)),i=L(()=>A(t)||n.value?.size||"");return wv(L(()=>A(n)||{})),{ns:r,locale:o,zIndex:s,size:i}}const wv=(e,t,n=!1)=>{const r=!!Ye(),o=r?Ai():void 0,s=r?At:void 0;if(!s){Qn("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=L(()=>{const a=A(e);return o?.value?MN(o.value,a):a});return s(Sv,i),s(Hg,L(()=>i.value.locale)),s(Ug,L(()=>i.value.namespace)),s(sv,L(()=>i.value.zIndex)),s(av,{size:L(()=>i.value.size||"")}),s(lv,L(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!Oa.value)&&(Oa.value=i.value),i},MN=(e,t)=>{const n=[...new Set([...ip(e),...ip(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},LN=Xe({a11y:{type:Boolean,default:!0},locale:{type:me(Object)},size:Ei,button:{type:me(Object)},card:{type:me(Object)},dialog:{type:me(Object)},link:{type:me(Object)},experimentalFeatures:{type:me(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:me(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:me(Object)},...cv}),IN={placement:"top"},PN=ue({name:"ElConfigProvider",props:LN,setup(e,{slots:t}){const n=wv(e);return _e(()=>e.message,r=>{Object.assign(IN,n?.value?.message??{},r??{})},{immediate:!0,deep:!0}),()=>Se(t,"default",{config:n?.value})}}),DN=ln(PN),Av=Symbol("buttonGroupContextKey"),kN=(e,t)=>{Bs({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},L(()=>e.type==="text"));const n=Te(Av,void 0),r=Ai("button"),{form:o}=Si(),s=oi(L(()=>n?.size)),i=Ci(),a=Z(),l=Xa(),c=L(()=>e.type||n?.type||r.value?.type||""),u=L(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),f=L(()=>e.plain??r.value?.plain??!1),d=L(()=>e.round??r.value?.round??!1),p=L(()=>e.text??r.value?.text??!1),h=L(()=>e.dashed??r.value?.dashed??!1),m=L(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),v=L(()=>{const _=l.default?.();if(u.value&&_?.length===1){const y=_[0];if(y?.type===Eo){const x=y.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(x.trim())}}return!1});return{_disabled:i,_size:s,_type:c,_ref:a,_props:m,_plain:f,_round:d,_text:p,_dashed:h,shouldAddSpace:v,handleClick:_=>{if(i.value||e.loading){_.stopPropagation();return}e.nativeType==="reset"&&o?.resetFields(),t("click",_)}}};function Ot(e,t){RN(e)&&(e="100%");const n=$N(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Gi(e){return Math.min(1,Math.max(0,e))}function RN(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function $N(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Tv(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function zi(e){return Number(e)<=1?`${Number(e)*100}%`:e}function oo(e){return e.length===1?"0"+e:String(e)}function BN(e,t,n){return{r:Ot(e,255)*255,g:Ot(t,255)*255,b:Ot(n,255)*255}}function Pp(e,t,n){e=Ot(e,255),t=Ot(t,255),n=Ot(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0,i=0;const a=(r+o)/2;if(r===o)i=0,s=0;else{const l=r-o;switch(i=a>.5?l/(2-r-o):l/(r+o),r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:i,l:a}}function Yl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function VN(e,t,n){let r,o,s;if(e=Ot(e,360),t=Ot(t,100),n=Ot(n,100),t===0)o=n,s=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=Yl(a,i,e+1/3),o=Yl(a,i,e),s=Yl(a,i,e-1/3)}return{r:r*255,g:o*255,b:s*255}}function Dp(e,t,n){e=Ot(e,255),t=Ot(t,255),n=Ot(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0;const i=r,a=r-o,l=r===0?0:a/r;if(r===o)s=0;else{switch(r){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:l,v:i}}function HN(e,t,n){e=Ot(e,360)*6,t=Ot(t,100),n=Ot(n,100);const r=Math.floor(e),o=e-r,s=n*(1-t),i=n*(1-o*t),a=n*(1-(1-o)*t),l=r%6,c=[n,i,s,s,a,n][l],u=[a,n,n,i,s,s][l],f=[s,s,a,n,n,i][l];return{r:c*255,g:u*255,b:f*255}}function kp(e,t,n,r){const o=[oo(Math.round(e).toString(16)),oo(Math.round(t).toString(16)),oo(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function UN(e,t,n,r,o){const s=[oo(Math.round(e).toString(16)),oo(Math.round(t).toString(16)),oo(Math.round(n).toString(16)),oo(WN(r))];return o&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function jN(e,t,n,r){const o=e/100,s=t/100,i=n/100,a=r/100,l=255*(1-o)*(1-a),c=255*(1-s)*(1-a),u=255*(1-i)*(1-a);return{r:l,g:c,b:u}}function Rp(e,t,n){let r=1-e/255,o=1-t/255,s=1-n/255,i=Math.min(r,o,s);return i===1?(r=0,o=0,s=0):(r=(r-i)/(1-i)*100,o=(o-i)/(1-i)*100,s=(s-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(o),y:Math.round(s),k:Math.round(i)}}function WN(e){return Math.round(parseFloat(e)*255).toString(16)}function $p(e){return Zt(e)/255}function Zt(e){return parseInt(e,16)}function GN(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const Vc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function zN(e){let t={r:0,g:0,b:0},n=1,r=null,o=null,s=null,i=!1,a=!1;return typeof e=="string"&&(e=qN(e)),typeof e=="object"&&(Qt(e.r)&&Qt(e.g)&&Qt(e.b)?(t=BN(e.r,e.g,e.b),i=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qt(e.h)&&Qt(e.s)&&Qt(e.v)?(r=zi(e.s),o=zi(e.v),t=HN(e.h,r,o),i=!0,a="hsv"):Qt(e.h)&&Qt(e.s)&&Qt(e.l)?(r=zi(e.s),s=zi(e.l),t=VN(e.h,r,s),i=!0,a="hsl"):Qt(e.c)&&Qt(e.m)&&Qt(e.y)&&Qt(e.k)&&(t=jN(e.c,e.m,e.y,e.k),i=!0,a="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Tv(n),{ok:i,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const KN="[-\\+]?\\d+%?",YN="[-\\+]?\\d*\\.\\d+%?",kr="(?:"+YN+")|(?:"+KN+")",ql="[\\s|\\(]+("+kr+")[,|\\s]+("+kr+")[,|\\s]+("+kr+")\\s*\\)?",Ki="[\\s|\\(]+("+kr+")[,|\\s]+("+kr+")[,|\\s]+("+kr+")[,|\\s]+("+kr+")\\s*\\)?",pn={CSS_UNIT:new RegExp(kr),rgb:new RegExp("rgb"+ql),rgba:new RegExp("rgba"+Ki),hsl:new RegExp("hsl"+ql),hsla:new RegExp("hsla"+Ki),hsv:new RegExp("hsv"+ql),hsva:new RegExp("hsva"+Ki),cmyk:new RegExp("cmyk"+Ki),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function qN(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(Vc[e])e=Vc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=pn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=pn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=pn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=pn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=pn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=pn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=pn.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=pn.hex8.exec(e),n?{r:Zt(n[1]),g:Zt(n[2]),b:Zt(n[3]),a:$p(n[4]),format:t?"name":"hex8"}:(n=pn.hex6.exec(e),n?{r:Zt(n[1]),g:Zt(n[2]),b:Zt(n[3]),format:t?"name":"hex"}:(n=pn.hex4.exec(e),n?{r:Zt(n[1]+n[1]),g:Zt(n[2]+n[2]),b:Zt(n[3]+n[3]),a:$p(n[4]+n[4]),format:t?"name":"hex8"}:(n=pn.hex3.exec(e),n?{r:Zt(n[1]+n[1]),g:Zt(n[2]+n[2]),b:Zt(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function Qt(e){return typeof e=="number"?!Number.isNaN(e):pn.CSS_UNIT.test(e)}class ut{constructor(t="",n={}){if(t instanceof ut)return t;typeof t=="number"&&(t=GN(t)),this.originalInput=t;const r=zN(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,o;const s=t.r/255,i=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o}getAlpha(){return this.a}setAlpha(t){return this.a=Tv(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=Dp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=Dp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${o}%)`:`hsva(${n}, ${r}%, ${o}%, ${this.roundA})`}toHsl(){const t=Pp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=Pp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${o}%)`:`hsla(${n}, ${r}%, ${o}%, ${this.roundA})`}toHex(t=!1){return kp(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return UN(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(Ot(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(Ot(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...Rp(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:o}=Rp(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${o})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+kp(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(Vc))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const o=this.a<1&&this.a>=0;return!n&&o&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new ut(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=Gi(n.l),new ut(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new ut(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=Gi(n.l),new ut(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=Gi(n.s),new ut(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=Gi(n.s),new ut(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new ut(n)}mix(t,n=50){const r=this.toRgb(),o=new ut(t).toRgb(),s=n/100,i={r:(o.r-r.r)*s+r.r,g:(o.g-r.g)*s+r.g,b:(o.b-r.b)*s+r.b,a:(o.a-r.a)*s+r.a};return new ut(i)}analogous(t=6,n=30){const r=this.toHsl(),o=360/n,s=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,s.push(new ut(r));return s}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new ut(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s:o}=n;let{v:s}=n;const i=[],a=1/t;for(;t--;)i.push(new ut({h:r,s:o,v:s})),s=(s+a)%1;return i}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new ut({h:(n+72)%360,s:t.s,l:t.l}),new ut({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new ut(t).toRgb(),o=n.a+r.a*(1-n.a);return new ut({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,o=[this],s=360/t;for(let i=1;i<t;i++)o.push(new ut({h:(r+i*s)%360,s:n.s,l:n.l}));return o}equals(t){const n=new ut(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}function Rn(e,t=20){return e.mix("#141414",t).toString()}function JN(e){const t=Ci(),n=Qe("button");return L(()=>{let r={},o=e.color;if(o){const s=o.match(/var\((.*?)\)/);s&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(s[1]));const i=new ut(o),a=e.dark?i.tint(20).toString():Rn(i,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Rn(i,90):i.tint(90).toString(),"text-color":o,"border-color":e.dark?Rn(i,50):i.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":a,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":a}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Rn(i,90):i.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Rn(i,50):i.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Rn(i,80):i.tint(80).toString());else if(e.link||e.text){const l=e.dark?Rn(i,30):i.tint(30).toString();if(r=n.cssVarBlock({"text-color":o,"hover-text-color":l,"active-text-color":a}),e.link&&(r[n.cssVarBlockName("hover-link-text-color")]=l,r[n.cssVarBlockName("active-color")]=a),t.value){const c=e.dark?Rn(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]="transparent",r[n.cssVarBlockName("disabled-text-color")]=c,r[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const l=e.dark?Rn(i,30):i.tint(30).toString(),c=i.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":l,"hover-text-color":c,"hover-border-color":l,"active-bg-color":a,"active-border-color":a}),t.value){const u=e.dark?Rn(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=u,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=u}}}return r})}var XN=ue({name:"ElButton",__name:"button",props:Bc,emits:NN,setup(e,{expose:t,emit:n}){const r=e,o=n,s=JN(r),i=Qe("button"),{_ref:a,_size:l,_type:c,_disabled:u,_props:f,_plain:d,_round:p,_text:h,_dashed:m,shouldAddSpace:v,handleClick:g}=kN(r,o),_=L(()=>[i.b(),i.m(c.value),i.m(l.value),i.is("disabled",u.value),i.is("loading",r.loading),i.is("plain",d.value),i.is("round",p.value),i.is("circle",r.circle),i.is("text",h.value),i.is("dashed",m.value),i.is("link",r.link),i.is("has-bg",r.bg)]);return t({ref:a,size:l,type:c,disabled:u,shouldAddSpace:v}),(y,x)=>(U(),he(vn(e.tag),Dt({ref_key:"_ref",ref:a},A(f),{class:_.value,style:A(s),onClick:A(g)}),{default:pe(()=>[e.loading?(U(),ae(ke,{key:0},[y.$slots.loading?Se(y.$slots,"loading",{key:0}):(U(),he(A(_o),{key:1,class:de(A(i).is("loading"))},{default:pe(()=>[(U(),he(vn(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||y.$slots.icon?(U(),he(A(_o),{key:1},{default:pe(()=>[e.icon?(U(),he(vn(e.icon),{key:0})):Se(y.$slots,"icon",{key:1})]),_:3})):Ae("v-if",!0),y.$slots.default?(U(),ae("span",{key:2,class:de({[A(i).em("text","expand")]:A(v)})},[Se(y.$slots,"default")],2)):Ae("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),QN=XN;const ZN={size:Bc.size,type:Bc.type,direction:{type:me(String),values:["horizontal","vertical"],default:"horizontal"}};var eF=ue({name:"ElButtonGroup",__name:"button-group",props:ZN,setup(e){const t=e;At(Av,Jt({size:en(t,"size"),type:en(t,"type")}));const n=Qe("button");return(r,o)=>(U(),ae("div",{class:de([A(n).b("group"),A(n).bm("group",t.direction)])},[Se(r.$slots,"default")],2))}}),Ov=eF;const tF=ln(QN,{ButtonGroup:Ov}),RR=as(Ov);function nF(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ra={exports:{}},rF=ra.exports,Bp;function oF(){return Bp||(Bp=1,(function(e,t){(function(n,r){e.exports=r()})(rF,(function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",c="day",u="week",f="month",d="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var D=["th","st","nd","rd"],M=H%100;return"["+H+(D[(M-20)%10]||D[M]||D[0])+"]"}},y=function(H,D,M){var R=String(H);return!R||R.length>=D?H:""+Array(D+1-R.length).join(M)+H},x={s:y,z:function(H){var D=-H.utcOffset(),M=Math.abs(D),R=Math.floor(M/60),j=M%60;return(D<=0?"+":"-")+y(R,2,"0")+":"+y(j,2,"0")},m:function H(D,M){if(D.date()<M.date())return-H(M,D);var R=12*(M.year()-D.year())+(M.month()-D.month()),j=D.clone().add(R,f),ne=M-j<0,le=D.clone().add(R+(ne?-1:1),f);return+(-(R+(M-j)/(ne?j-le:le-j))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:f,y:p,w:u,d:c,D:h,h:l,m:a,s:i,ms:s,Q:d}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},S="en",E={};E[S]=_;var b="$isDayjsObject",O=function(H){return H instanceof I||!(!H||!H[b])},F=function H(D,M,R){var j;if(!D)return S;if(typeof D=="string"){var ne=D.toLowerCase();E[ne]&&(j=ne),M&&(E[ne]=M,j=ne);var le=D.split("-");if(!j&&le.length>1)return H(le[0])}else{var xe=D.name;E[xe]=D,j=xe}return!R&&j&&(S=j),j||!R&&S},V=function(H,D){if(O(H))return H.clone();var M=typeof D=="object"?D:{};return M.date=H,M.args=arguments,new I(M)},W=x;W.l=F,W.i=O,W.w=function(H,D){return V(H,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var I=(function(){function H(M){this.$L=F(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[b]=!0}var D=H.prototype;return D.parse=function(M){this.$d=(function(R){var j=R.date,ne=R.utc;if(j===null)return new Date(NaN);if(W.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var le=j.match(v);if(le){var xe=le[2]-1||0,Ee=(le[7]||"0").substring(0,3);return ne?new Date(Date.UTC(le[1],xe,le[3]||1,le[4]||0,le[5]||0,le[6]||0,Ee)):new Date(le[1],xe,le[3]||1,le[4]||0,le[5]||0,le[6]||0,Ee)}}return new Date(j)})(M),this.init()},D.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},D.$utils=function(){return W},D.isValid=function(){return this.$d.toString()!==m},D.isSame=function(M,R){var j=V(M);return this.startOf(R)<=j&&j<=this.endOf(R)},D.isAfter=function(M,R){return V(M)<this.startOf(R)},D.isBefore=function(M,R){return this.endOf(R)<V(M)},D.$g=function(M,R,j){return W.u(M)?this[R]:this.set(j,M)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(M,R){var j=this,ne=!!W.u(R)||R,le=W.p(M),xe=function(oe,re){var Ce=W.w(j.$u?Date.UTC(j.$y,re,oe):new Date(j.$y,re,oe),j);return ne?Ce:Ce.endOf(c)},Ee=function(oe,re){return W.w(j.toDate()[oe].apply(j.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(re)),j)},Ne=this.$W,Fe=this.$M,Le=this.$D,He="set"+(this.$u?"UTC":"");switch(le){case p:return ne?xe(1,0):xe(31,11);case f:return ne?xe(1,Fe):xe(0,Fe+1);case u:var K=this.$locale().weekStart||0,se=(Ne<K?Ne+7:Ne)-K;return xe(ne?Le-se:Le+(6-se),Fe);case c:case h:return Ee(He+"Hours",0);case l:return Ee(He+"Minutes",1);case a:return Ee(He+"Seconds",2);case i:return Ee(He+"Milliseconds",3);default:return this.clone()}},D.endOf=function(M){return this.startOf(M,!1)},D.$set=function(M,R){var j,ne=W.p(M),le="set"+(this.$u?"UTC":""),xe=(j={},j[c]=le+"Date",j[h]=le+"Date",j[f]=le+"Month",j[p]=le+"FullYear",j[l]=le+"Hours",j[a]=le+"Minutes",j[i]=le+"Seconds",j[s]=le+"Milliseconds",j)[ne],Ee=ne===c?this.$D+(R-this.$W):R;if(ne===f||ne===p){var Ne=this.clone().set(h,1);Ne.$d[xe](Ee),Ne.init(),this.$d=Ne.set(h,Math.min(this.$D,Ne.daysInMonth())).$d}else xe&&this.$d[xe](Ee);return this.init(),this},D.set=function(M,R){return this.clone().$set(M,R)},D.get=function(M){return this[W.p(M)]()},D.add=function(M,R){var j,ne=this;M=Number(M);var le=W.p(R),xe=function(Fe){var Le=V(ne);return W.w(Le.date(Le.date()+Math.round(Fe*M)),ne)};if(le===f)return this.set(f,this.$M+M);if(le===p)return this.set(p,this.$y+M);if(le===c)return xe(1);if(le===u)return xe(7);var Ee=(j={},j[a]=r,j[l]=o,j[i]=n,j)[le]||1,Ne=this.$d.getTime()+M*Ee;return W.w(Ne,this)},D.subtract=function(M,R){return this.add(-1*M,R)},D.format=function(M){var R=this,j=this.$locale();if(!this.isValid())return j.invalidDate||m;var ne=M||"YYYY-MM-DDTHH:mm:ssZ",le=W.z(this),xe=this.$H,Ee=this.$m,Ne=this.$M,Fe=j.weekdays,Le=j.months,He=j.meridiem,K=function(re,Ce,T,N){return re&&(re[Ce]||re(R,ne))||T[Ce].slice(0,N)},se=function(re){return W.s(xe%12||12,re,"0")},oe=He||function(re,Ce,T){var N=re<12?"AM":"PM";return T?N.toLowerCase():N};return ne.replace(g,(function(re,Ce){return Ce||(function(T){switch(T){case"YY":return String(R.$y).slice(-2);case"YYYY":return W.s(R.$y,4,"0");case"M":return Ne+1;case"MM":return W.s(Ne+1,2,"0");case"MMM":return K(j.monthsShort,Ne,Le,3);case"MMMM":return K(Le,Ne);case"D":return R.$D;case"DD":return W.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return K(j.weekdaysMin,R.$W,Fe,2);case"ddd":return K(j.weekdaysShort,R.$W,Fe,3);case"dddd":return Fe[R.$W];case"H":return String(xe);case"HH":return W.s(xe,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return oe(xe,Ee,!0);case"A":return oe(xe,Ee,!1);case"m":return String(Ee);case"mm":return W.s(Ee,2,"0");case"s":return String(R.$s);case"ss":return W.s(R.$s,2,"0");case"SSS":return W.s(R.$ms,3,"0");case"Z":return le}return null})(re)||le.replace(":","")}))},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(M,R,j){var ne,le=this,xe=W.p(R),Ee=V(M),Ne=(Ee.utcOffset()-this.utcOffset())*r,Fe=this-Ee,Le=function(){return W.m(le,Ee)};switch(xe){case p:ne=Le()/12;break;case f:ne=Le();break;case d:ne=Le()/3;break;case u:ne=(Fe-Ne)/6048e5;break;case c:ne=(Fe-Ne)/864e5;break;case l:ne=Fe/o;break;case a:ne=Fe/r;break;case i:ne=Fe/n;break;default:ne=Fe}return j?ne:W.a(ne)},D.daysInMonth=function(){return this.endOf(f).$D},D.$locale=function(){return E[this.$L]},D.locale=function(M,R){if(!M)return this.$L;var j=this.clone(),ne=F(M,R,!0);return ne&&(j.$L=ne),j},D.clone=function(){return W.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},H})(),Y=I.prototype;return V.prototype=Y,[["$ms",s],["$s",i],["$m",a],["$H",l],["$W",c],["$M",f],["$y",p],["$D",h]].forEach((function(H){Y[H[1]]=function(D){return this.$g(D,H[0],H[1])}})),V.extend=function(H,D){return H.$i||(H(D,I,V),H.$i=!0),V},V.locale=F,V.isDayjs=O,V.unix=function(H){return V(1e3*H)},V.en=E[S],V.Ls=E,V.p={},V}))})(ra)),ra.exports}var $R=oF();const Lr=new Map;if(xt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of Lr.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function Vp(e,t){let n=[];return ce(t.arg)?n=t.arg:ro(t.arg)&&n.push(t.arg),function(r,o){const s=t.instance.popperRef,i=r.target,a=o?.target,l=!t||!t.instance,c=!i||!a,u=e.contains(i)||e.contains(a),f=e===i,d=n.length&&n.some(h=>h?.contains(i))||n.length&&n.includes(a),p=s&&(s.contains(i)||s.contains(a));l||c||u||f||d||p||t.value(r,o)}}const sF={beforeMount(e,t){Lr.has(e)||Lr.set(e,[]),Lr.get(e).push({documentHandler:Vp(e,t),bindingFn:t.value})},updated(e,t){Lr.has(e)||Lr.set(e,[]);const n=Lr.get(e),r=n.findIndex(s=>s.bindingFn===t.oldValue),o={documentHandler:Vp(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted(e){Lr.delete(e)}},Hc=Xe({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:nl},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),iF={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},aF=["aria-label"],lF=["aria-label"];var cF=ue({name:"ElTag",__name:"tag",props:Hc,emits:iF,setup(e,{emit:t}){const n=e,r=t,o=oi(),{t:s}=zu(),i=Qe("tag"),a=L(()=>{const{type:f,hit:d,effect:p,closable:h,round:m}=n;return[i.b(),i.is("closable",h),i.m(f||"primary"),i.m(o.value),i.m(p),i.is("hit",d),i.is("round",m)]}),l=f=>{r("close",f)},c=f=>{r("click",f)},u=f=>{f?.component?.subTree?.component?.bum&&(f.component.subTree.component.bum=null)};return(f,d)=>e.disableTransitions?(U(),ae("span",{key:0,class:de(a.value),style:St({backgroundColor:e.color}),onClick:c},[te("span",{class:de(A(i).e("content"))},[Se(f.$slots,"default")],2),e.closable?(U(),ae("button",{key:0,"aria-label":A(s)("el.tag.close"),class:de(A(i).e("close")),type:"button",onClick:Tn(l,["stop"])},[ee(A(_o),null,{default:pe(()=>[ee(A(Cp))]),_:1})],10,aF)):Ae("v-if",!0)],6)):(U(),he(el,{key:1,name:`${A(i).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:pe(()=>[te("span",{class:de(a.value),style:St({backgroundColor:e.color}),onClick:c},[te("span",{class:de(A(i).e("content"))},[Se(f.$slots,"default")],2),e.closable?(U(),ae("button",{key:0,"aria-label":A(s)("el.tag.close"),class:de(A(i).e("close")),type:"button",onClick:Tn(l,["stop"])},[ee(A(_o),null,{default:pe(()=>[ee(A(Cp))]),_:1})],10,lF)):Ae("v-if",!0)],6)]),_:3},8,["name"]))}}),uF=cF;const Us=ln(uF),Nv=Symbol("ElSelectGroup"),gl=Symbol("ElSelect"),Uc={label:"label",value:"value",disabled:"disabled",options:"options"};function fF(e){const t=Z({...Uc,...e.props});let n={...e.props};return _e(()=>e.props,a=>{mn(a,n)||(t.value={...Uc,...a},n={...a})},{deep:!0}),{aliasProps:t,getLabel:a=>zt(a,t.value.label),getValue:a=>zt(a,t.value.value),getDisabled:a=>zt(a,t.value.disabled),getOptions:a=>zt(a,t.value.options)}}const dF=Xe({name:String,id:String,modelValue:{type:me([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Ei,effect:{type:me(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:me([String,Object])},popperOptions:{type:me(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:me(Function)},filterMethod:{type:me(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,tagTooltip:{type:me(Object),default:()=>({})},maxCollapseTags:{type:Number,default:1},teleported:ft.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:vo,default:fv},fitInputWidth:Boolean,suffixIcon:{type:vo,default:oO},tagType:{...Hc.type,default:"info"},tagEffect:{...Hc.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:me(String),values:bi,default:"bottom-start"},fallbackPlacements:{type:me(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:ft.appendTo,options:{type:me(Array)},props:{type:me(Object),default:()=>Uc},...cv,...is(["ariaLabel"])}),pF={[dr]:e=>!0,[Js]:e=>!0,"popup-scroll":$c.scroll,"end-reached":$c["end-reached"],"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},jc="ElOption",hF=Xe({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function mF(e,t){const n=Te(gl);n||$g(jc,"usage: <el-select><el-option /></el-select/>");const r=Te(Nv,{disabled:!1}),o=L(()=>u(Dr(n.props.modelValue),e.value)),s=L(()=>{if(n.props.multiple){const p=Dr(n.props.modelValue??[]);return!o.value&&p.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),i=L(()=>e.label??(we(e.value)?"":e.value)),a=L(()=>e.value||e.label||""),l=L(()=>e.disabled||t.groupDisabled||s.value),c=Ye(),u=(p=[],h)=>{if(we(e.value)){const m=n.props.valueKey;return p&&p.some(v=>Pe(zt(v,m))===zt(h,m))}else return p&&p.includes(h)},f=()=>{l.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},d=p=>{t.visible=new RegExp(wA(p),"i").test(String(i.value))||e.created};return _e(()=>i.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),_e(()=>e.value,(p,h)=>{const{remote:m,valueKey:v}=n.props;if((m?p!==h:!mn(p,h))&&(n.onOptionDestroy(h,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!m){if(v&&we(p)&&we(h)&&p[v]===h[v])return;n.setSelected()}}),_e(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:i,currentValue:a,itemSelected:o,isDisabled:l,hoverItem:f,updateOption:d}}var gF=ue({name:jc,componentName:jc,props:hF,setup(e){const t=Qe("select"),n=pl(),r=L(()=>[t.be("dropdown","item"),t.is("disabled",A(a)),t.is("selected",A(i)),t.is("hovering",A(d))]),o=Jt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:s,itemSelected:i,isDisabled:a,select:l,hoverItem:c,updateOption:u}=mF(e,o),{visible:f,hover:d}=rs(o),p=Ye().proxy;l.onOptionCreate(p),Nt(()=>{const v=p.value;rt(()=>{const{selected:g}=l.states,_=g.some(y=>y.value===p.value);l.states.cachedOptions.get(v)===p&&!_&&l.states.cachedOptions.delete(v)}),l.onOptionDestroy(v,p)});function h(){a.value||l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:r,currentLabel:s,itemSelected:i,isDisabled:a,select:l,visible:f,hover:d,states:o,hoverItem:c,handleMousedown:v=>{let g=v.target;const _=v.currentTarget;for(;g&&g!==_;){if(Zs(g))return;g=g.parentElement}v.preventDefault()},updateOption:u,selectOptionClick:h}}});const vF=["id","aria-disabled","aria-selected"];function _F(e,t,n,r,o,s){return Jn((U(),ae("li",{id:e.id,class:de(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...i)=>e.hoverItem&&e.hoverItem(...i)),onMousedown:t[1]||(t[1]=(...i)=>e.handleMousedown&&e.handleMousedown(...i)),onClick:t[2]||(t[2]=Tn((...i)=>e.selectOptionClick&&e.selectOptionClick(...i),["stop"]))},[Se(e.$slots,"default",{},()=>[te("span",null,De(e.currentLabel),1)])],42,vF)),[[os,e.visible]])}var uf=wi(gF,[["render",_F]]),xF=ue({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Qe("select"),n=Z(),r=Ye(),o=Z([]);At(Nv,Jt({...rs(e)}));const s=L(()=>o.value.some(c=>c.visible===!0)),i=c=>c.type.name==="ElOption"&&!!c.component?.proxy,a=c=>{const u=Dr(c),f=[];return u.forEach(d=>{zn(d)&&(i(d)?f.push(d.component.proxy):ce(d.children)&&d.children.length?f.push(...a(d.children)):d.component?.subTree&&f.push(...a(d.component.subTree)))}),f},l=()=>{o.value=a(r.subTree)};return gt(()=>{l()}),Iy(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:s,ns:t}}});function bF(e,t,n,r,o,s){return Jn((U(),ae("ul",{ref:"groupRef",class:de(e.ns.be("group","wrap"))},[te("li",{class:de(e.ns.be("group","title"))},De(e.label),3),te("li",null,[te("ul",{class:de(e.ns.b("group"))},[Se(e.$slots,"default")],2)])],2)),[[os,e.visible]])}var ff=wi(xF,[["render",bF]]),yF=ue({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Te(gl),t=Qe("select"),n=L(()=>e.props.popperClass),r=L(()=>e.props.multiple),o=L(()=>e.props.fitInputWidth),s=Z("");function i(){const a=e.selectRef?.offsetWidth;a?s.value=`${a-2}px`:s.value=""}return gt(()=>{i(),On(e.selectRef,i)}),{ns:t,minWidth:s,popperClass:n,isMultiple:r,isFitInputWidth:o}}});function EF(e,t,n,r,o,s){return U(),ae("div",{class:de([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:St({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(U(),ae("div",{key:0,class:de(e.ns.be("dropdown","header"))},[Se(e.$slots,"header")],2)):Ae("v-if",!0),Se(e.$slots,"default"),e.$slots.footer?(U(),ae("div",{key:1,class:de(e.ns.be("dropdown","footer"))},[Se(e.$slots,"footer")],2)):Ae("v-if",!0)],6)}var CF=wi(yF,[["render",EF]]);const SF=(e,t)=>{const{t:n}=zu(),r=Xa(),o=pl(),s=Qe("select"),i=Qe("input"),a=Jt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),l=Z(),c=Z(),u=Z(),f=Z(),d=Z(),p=Z(),h=Z(),m=Z(),v=Z(),g=Z(),_=Z(),y=Z(!1),x=Z(),S=Z(!1),{form:E,formItem:b}=Si(),{inputId:O}=rf(e,{formItemContext:b}),{valueOnClear:F,isEmptyValue:V}=eO(e),{isComposing:W,handleCompositionStart:I,handleCompositionUpdate:Y,handleCompositionEnd:H}=XT({afterComposition:z=>Be(z)}),D=Ci(),{wrapperRef:M,isFocused:R,handleBlur:j}=JT(d,{disabled:D,afterFocus(){e.automaticDropdown&&!y.value&&(y.value=!0,a.menuVisibleOnFocus=!0)},beforeBlur(z){return u.value?.isFocusInsideContent(z)||f.value?.isFocusInsideContent(z)},afterBlur(){y.value=!1,a.menuVisibleOnFocus=!1,e.validateEvent&&b?.validate?.("blur").catch(pt)}}),ne=L(()=>ce(e.modelValue)?e.modelValue.length>0:!V(e.modelValue)),le=L(()=>E?.statusIcon??!1),xe=L(()=>e.clearable&&!D.value&&ne.value&&(R.value||a.inputHovering)),Ee=L(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),Ne=L(()=>s.is("reverse",!!(Ee.value&&y.value))),Fe=L(()=>b?.validateState||""),Le=L(()=>Fe.value&&uO[Fe.value]),He=L(()=>e.remote?e.debounce:0),K=L(()=>e.remote&&!a.inputValue&&a.options.size===0),se=L(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&a.inputValue&&a.options.size>0&&oe.value===0?e.noMatchText||n("el.select.noMatch"):a.options.size===0?e.noDataText||n("el.select.noData"):null),oe=L(()=>re.value.filter(z=>z.visible).length),re=L(()=>{const z=Array.from(a.options.values()),ge=[];return a.optionValues.forEach(Oe=>{const Ue=z.findIndex(ct=>ct.value===Oe);Ue>-1&&ge.push(z[Ue])}),ge.length>=z.length?ge:z}),Ce=L(()=>Array.from(a.cachedOptions.values())),T=L(()=>{const z=re.value.filter(ge=>!ge.created).some(ge=>ge.currentLabel===a.inputValue);return e.filterable&&e.allowCreate&&a.inputValue!==""&&!z}),N=()=>{e.filterable&&be(e.filterMethod)||e.filterable&&e.remote&&be(e.remoteMethod)||re.value.forEach(z=>{z.updateOption?.(a.inputValue)})},$=oi(),q=L(()=>["small"].includes($.value)?"small":"default"),X=L({get(){return y.value&&(e.loading||!K.value||e.remote&&!!r.empty)&&(!S.value||!_A(a.previousQuery)||a.options.size>0)},set(z){y.value=z}}),J=L(()=>{if(e.multiple&&!no(e.modelValue))return Dr(e.modelValue).length===0&&!a.inputValue;const z=ce(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||no(z)?!a.inputValue:!0}),C=L(()=>{const z=e.placeholder??n("el.select.placeholder");return e.multiple||!ne.value?z:a.selectedLabel}),w=Tc?null:"mouseenter";_e(()=>e.modelValue,(z,ge)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(a.inputValue="",P("")),ie(),!mn(z,ge)&&e.validateEvent&&b?.validate("change").catch(pt)},{flush:"post",deep:!0}),_e(()=>y.value,z=>{z?P(a.inputValue):(a.inputValue="",a.previousQuery=null,a.isBeforeHide=!0,a.menuVisibleOnFocus=!1)}),_e(()=>a.options.entries(),()=>{xt&&(ie(),e.defaultFirstOption&&(e.filterable||e.remote)&&oe.value&&B())},{flush:"post"}),_e([()=>a.hoveringIndex,re],([z])=>{It(z)&&z>-1?x.value=re.value[z]||{}:x.value={},re.value.forEach(ge=>{ge.hover=x.value===ge})}),mi(()=>{a.isBeforeHide||N()});const P=z=>{a.previousQuery===z||W.value||(a.previousQuery=z,e.filterable&&be(e.filterMethod)?e.filterMethod(z):e.filterable&&e.remote&&be(e.remoteMethod)&&e.remoteMethod(z),e.defaultFirstOption&&(e.filterable||e.remote)&&oe.value?rt(B):rt(k))},B=()=>{const z=re.value.filter(Ue=>Ue.visible&&!Ue.disabled&&!Ue.states.groupDisabled),ge=z.find(Ue=>Ue.created),Oe=z[0];a.hoveringIndex=ps(re.value.map(Ue=>Ue.value),ge||Oe)},ie=()=>{if(e.multiple)a.selectedLabel="";else{const ge=Q(ce(e.modelValue)?e.modelValue[0]:e.modelValue);a.selectedLabel=ge.currentLabel,a.selected=[ge];return}const z=[];no(e.modelValue)||Dr(e.modelValue).forEach(ge=>{z.push(Q(ge))}),a.selected=z},Q=z=>{let ge;const Oe=hu(z);for(let ct=a.cachedOptions.size-1;ct>=0;ct--){const fn=Ce.value[ct];if(Oe?zt(fn.value,e.valueKey)===zt(z,e.valueKey):fn.value===z){ge={index:re.value.filter(Ii=>!Ii.created).indexOf(fn),value:z,currentLabel:fn.currentLabel,get isDisabled(){return fn.isDisabled}};break}}if(ge)return ge;const Ue=a.selected.find(ct=>Oe?zt(ct.value,e.valueKey)===zt(z,e.valueKey):ct.value===z);return{index:-1,value:z,currentLabel:Oe?z.label:Ue?Ue.currentLabel:z??""}},k=()=>{const z=a.selected.length;if(z>0){const ge=a.selected[z-1];a.hoveringIndex=re.value.findIndex(Oe=>Fi(ge)===Fi(Oe))}else a.hoveringIndex=-1},G=()=>{a.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},ve=()=>{a.collapseItemWidth=g.value.getBoundingClientRect().width},ye=()=>{u.value?.updatePopper?.()},Me=()=>{f.value?.updatePopper?.()},Ge=()=>{a.inputValue.length>0&&!y.value&&(y.value=!0),P(a.inputValue)},Be=z=>{if(a.inputValue=z.target.value,e.remote)S.value=!0,Rt();else return Ge()},Rt=Ay(()=>{Ge(),S.value=!1},He),Et=z=>{mn(e.modelValue,z)||t(Js,z)},Kr=z=>Xw(z,ge=>{const Oe=a.cachedOptions.get(ge);return!Oe?.disabled&&!Oe?.states.groupDisabled}),fs=z=>{const ge=ti(z);if(e.multiple&&ge!==it.delete&&z.target.value.length<=0){const Oe=Dr(e.modelValue).slice(),Ue=Kr(Oe);if(Ue<0)return;const ct=Oe[Ue];Oe.splice(Ue,1),t(dr,Oe),Et(Oe),t("remove-tag",ct)}},$t=(z,ge)=>{const Oe=a.selected.indexOf(ge);if(Oe>-1&&!D.value){const Ue=Dr(e.modelValue).slice();Ue.splice(Oe,1),t(dr,Ue),Et(Ue),t("remove-tag",ge.value)}z.stopPropagation(),Ni()},Xt=z=>{z.stopPropagation();const ge=e.multiple?[]:F.value;if(e.multiple)for(const Oe of a.selected)Oe.isDisabled&&ge.push(Oe.value);t(dr,ge),Et(ge),a.hoveringIndex=-1,y.value=!1,t("clear"),Ni()},ds=z=>{if(e.multiple){const ge=Dr(e.modelValue??[]).slice(),Oe=ps(ge,z);Oe>-1?ge.splice(Oe,1):(e.multipleLimit<=0||ge.length<e.multipleLimit)&&ge.push(z.value),t(dr,ge),Et(ge),z.created&&P(""),e.filterable&&(z.created||!e.reserveKeyword)&&(a.inputValue="")}else!mn(e.modelValue,z.value)&&t("update:modelValue",z.value),Et(z.value),y.value=!1;Ni(),!y.value&&rt(()=>{hs(z)})},ps=(z,ge)=>no(ge)?-1:we(ge.value)?z.findIndex(Oe=>mn(zt(Oe,e.valueKey),Fi(ge))):z.indexOf(ge.value),hs=z=>{const ge=ce(z)?z[z.length-1]:z;let Oe=null;if(!_i(ge?.value)){const Ue=re.value.filter(ct=>ct.value===ge.value);Ue.length>0&&(Oe=Ue[0].$el)}if(u.value&&Oe){const Ue=u.value?.popperRef?.contentRef?.querySelector?.(`.${s.be("dropdown","wrap")}`);Ue&&MA(Ue,Oe)}_.value?.handleScroll()},S_=z=>{a.options.set(z.value,z),a.cachedOptions.set(z.value,z)},w_=(z,ge)=>{a.options.get(z)===ge&&a.options.delete(z)},A_=L(()=>u.value?.popperRef?.contentRef),T_=()=>{a.isBeforeHide=!1,rt(()=>{_.value?.update(),hs(a.selected)})},Ni=()=>{d.value?.focus()},O_=()=>{if(y.value){y.value=!1,rt(()=>d.value?.blur());return}d.value?.blur()},N_=z=>{Xt(z)},F_=z=>{if(y.value=!1,R.value){const ge=new FocusEvent("blur",z);rt(()=>j(ge))}},kf=()=>{a.inputValue.length>0?a.inputValue="":y.value=!1},Rf=z=>{D.value||e.filterable&&y.value&&z&&!h.value?.contains(z.target)||(Tc&&(a.inputHovering=!0),a.menuVisibleOnFocus?a.menuVisibleOnFocus=!1:y.value=!y.value)},$f=()=>{if(!y.value)Rf();else{const z=re.value[a.hoveringIndex];z&&!z.isDisabled&&ds(z)}},Fi=z=>we(z.value)?zt(z.value,e.valueKey):z.value,M_=L(()=>re.value.filter(z=>z.visible).every(z=>z.isDisabled)),L_=L(()=>e.multiple?e.collapseTags?a.selected.slice(0,e.maxCollapseTags):a.selected:[]),I_=L(()=>e.multiple?e.collapseTags?a.selected.slice(e.maxCollapseTags):[]:[]),Mi=z=>{if(!y.value){y.value=!0;return}if(!(a.options.size===0||oe.value===0||W.value)&&!M_.value){z==="next"?(a.hoveringIndex++,a.hoveringIndex===a.options.size&&(a.hoveringIndex=0)):z==="prev"&&(a.hoveringIndex--,a.hoveringIndex<0&&(a.hoveringIndex=a.options.size-1));const ge=re.value[a.hoveringIndex];(ge.isDisabled||!ge.visible)&&Mi(z),rt(()=>hs(x.value))}},Bf=(z,ge,Oe,Ue)=>{for(let ct=ge;ct>=0&&ct<Ue;ct+=Oe){const fn=z[ct];if(!fn?.isDisabled&&fn?.visible)return ct}return null},Li=(z,ge)=>{const Oe=a.options.size;if(Oe===0)return;const Ue=SS(z,0,Oe-1),ct=re.value,fn=ge==="up"?-1:1,Ii=Bf(ct,Ue,fn,Oe)??Bf(ct,Ue-fn,-fn,Oe);Ii!=null&&(a.hoveringIndex=Ii,rt(()=>hs(x.value)))},P_=z=>{const ge=ti(z);let Oe=!0;switch(ge){case it.up:Mi("prev");break;case it.down:Mi("next");break;case it.enter:case it.numpadEnter:W.value||$f();break;case it.esc:kf();break;case it.backspace:Oe=!1,fs(z);return;case it.home:if(!y.value)return;Li(0,"down");break;case it.end:if(!y.value)return;Li(a.options.size-1,"up");break;case it.pageUp:if(!y.value)return;Li(a.hoveringIndex-10,"up");break;case it.pageDown:if(!y.value)return;Li(a.hoveringIndex+10,"down");break;default:Oe=!1;break}Oe&&(z.preventDefault(),z.stopPropagation())},D_=()=>{if(!c.value)return 0;const z=window.getComputedStyle(c.value);return Number.parseFloat(z.gap||"6px")},k_=L(()=>{const z=D_(),ge=e.filterable?z+11:0;return{maxWidth:`${g.value&&e.maxCollapseTags===1?a.selectionWidth-a.collapseItemWidth-z-ge:a.selectionWidth-ge}px`}}),R_=L(()=>({maxWidth:`${a.selectionWidth}px`})),$_=z=>{t("popup-scroll",z)},B_=z=>{t("end-reached",z)};On(c,G),On(M,ye),On(v,Me),On(g,ve);let Tl;return _e(()=>X.value,z=>{z?Tl=On(m,ye).stop:(Tl?.(),Tl=void 0),t("visible-change",z)}),gt(()=>{ie()}),{inputId:O,contentId:o,nsSelect:s,nsInput:i,states:a,isFocused:R,expanded:y,optionsArray:re,hoverOption:x,selectSize:$,filteredOptionsCount:oe,updateTooltip:ye,updateTagTooltip:Me,debouncedOnInputChange:Rt,onInput:Be,deletePrevTag:fs,deleteTag:$t,deleteSelected:Xt,handleOptionSelect:ds,scrollToOption:hs,hasModelValue:ne,shouldShowPlaceholder:J,currentPlaceholder:C,mouseEnterEventName:w,needStatusIcon:le,showClearBtn:xe,iconComponent:Ee,iconReverse:Ne,validateState:Fe,validateIcon:Le,showNewOption:T,updateOptions:N,collapseTagSize:q,setSelected:ie,selectDisabled:D,emptyText:se,handleCompositionStart:I,handleCompositionUpdate:Y,handleCompositionEnd:H,handleKeydown:P_,onOptionCreate:S_,onOptionDestroy:w_,handleMenuEnter:T_,focus:Ni,blur:O_,handleClearClick:N_,handleClickOutside:F_,handleEsc:kf,toggleMenu:Rf,selectOption:$f,getValueKey:Fi,navigateOptions:Mi,dropdownMenuVisible:X,showTagList:L_,collapseTagList:I_,popupScroll:$_,getOption:Q,endReached:B_,tagStyle:k_,collapseTagStyle:R_,popperRef:A_,inputRef:d,tooltipRef:u,tagTooltipRef:f,prefixRef:p,suffixRef:h,selectRef:l,wrapperRef:M,selectionRef:c,scrollbarRef:_,menuRef:m,tagMenuRef:v,collapseItemRef:g}};var wF=ue({name:"ElOptions",setup(e,{slots:t}){const n=Te(gl);let r=[];return()=>{const o=t.default?.(),s=[];function i(a){ce(a)&&a.forEach(l=>{const c=(l?.type||{})?.name;c==="ElOptionGroup"?i(!Re(l.children)&&!ce(l.children)&&be(l.children?.default)?l.children?.default():l.children):c==="ElOption"?s.push(l.props?.value):ce(l.children)&&i(l.children)})}return o.length&&i(o[0]?.children),mn(s,r)||(r=s,n&&(n.states.optionValues=s)),o}}});const Hp="ElSelect",si=new WeakMap,AF=e=>(...t)=>{const n=t[0];if(!n||n.includes('Slot "default" invoked outside of the render function')&&t[2]?.includes("ElTreeSelect"))return;const r=si.get(e)?.originalWarnHandler;if(r){r(...t);return}console.warn(...t)},TF=e=>{let t=si.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:AF(e),count:0},si.set(e,t)),t};var OF=ue({name:Hp,componentName:Hp,components:{ElSelectMenu:CF,ElOption:uf,ElOptions:wF,ElOptionGroup:ff,ElTag:Us,ElScrollbar:bN,ElTooltip:lf,ElIcon:_o},directives:{ClickOutside:sF},props:dF,emits:pF,setup(e,{emit:t,slots:n}){const r=Ye(),o=TF(r.appContext);o.count+=1,r.appContext.config.warnHandler=o.handler;const s=L(()=>{const{modelValue:_,multiple:y}=e,x=y?[]:void 0;return ce(_)?y?_:x:y?x:_}),i=Jt({...rs(e),modelValue:s}),a=SF(i,t),{calculatorRef:l,inputStyle:c}=EA(),{getLabel:u,getValue:f,getOptions:d,getDisabled:p}=fF(e),h=_=>({label:u(_),value:f(_),disabled:p(_)}),m=_=>_.reduce((y,x)=>(y.push(x),x.children&&x.children.length>0&&y.push(...m(x.children)),y),[]),v=_=>{ko(_||[]).forEach(y=>{if(we(y)&&(y.type.name==="ElOption"||y.type.name==="ElTree")){const x=y.type.name;if(x==="ElTree")m(y.props?.data||[]).forEach(S=>{S.currentLabel=S.label??(we(S.value)?"":S.value),a.onOptionCreate(S)});else if(x==="ElOption"){const S={...y.props};S.currentLabel=S.label??(we(S.value)?"":S.value),a.onOptionCreate(S)}}})};_e(()=>[e.persistent||a.expanded.value||!n.default?void 0:n.default?.(),s.value],()=>{e.persistent||a.expanded.value||n.default&&(a.states.options.clear(),v(n.default?.()))},{immediate:!0}),At(gl,Jt({props:i,states:a.states,selectRef:a.selectRef,optionsArray:a.optionsArray,setSelected:a.setSelected,handleOptionSelect:a.handleOptionSelect,onOptionCreate:a.onOptionCreate,onOptionDestroy:a.onOptionDestroy}));const g=L(()=>e.multiple?a.states.selected.map(_=>_.currentLabel):a.states.selectedLabel);return Nt(()=>{const _=si.get(r.appContext);_&&(_.count-=1,_.count<=0&&(r.appContext.config.warnHandler=_.originalWarnHandler,si.delete(r.appContext)))}),{...a,modelValue:s,selectedLabel:g,calculatorRef:l,inputStyle:c,getLabel:u,getValue:f,getOptions:d,getDisabled:p,getOptionProps:h}}});const NF=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],FF=["textContent"],MF={key:1};function LF(e,t,n,r,o,s){const i=sr("el-tag"),a=sr("el-tooltip"),l=sr("el-icon"),c=sr("el-option"),u=sr("el-option-group"),f=sr("el-options"),d=sr("el-scrollbar"),p=sr("el-select-menu"),h=Jx("click-outside");return Jn((U(),ae("div",Dt({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[Qi(e.mouseEnterEventName)]:t[11]||(t[11]=m=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=m=>e.states.inputHovering=!1)}),[ee(a,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[10]||(t[10]=m=>e.states.isBeforeHide=!1)},{default:pe(()=>[te("div",{ref:"wrapperRef",class:de([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[7]||(t[7]=Tn((...m)=>e.toggleMenu&&e.toggleMenu(...m),["prevent"]))},[e.$slots.prefix?(U(),ae("div",{key:0,ref:"prefixRef",class:de(e.nsSelect.e("prefix"))},[Se(e.$slots,"prefix")],2)):Ae("v-if",!0),te("div",{ref:"selectionRef",class:de([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?Se(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(U(!0),ae(ke,null,Nn(e.showTagList,m=>(U(),ae("div",{key:e.getValueKey(m),class:de(e.nsSelect.e("selected-item"))},[ee(i,{closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:St(e.tagStyle),onClose:v=>e.deleteTag(v,m)},{default:pe(()=>[te("span",{class:de(e.nsSelect.e("tags-text"))},[Se(e.$slots,"label",{index:m.index,label:m.currentLabel,value:m.value},()=>[Tt(De(m.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(U(),he(a,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":e.tagTooltip?.fallbackPlacements??["bottom","top","right","left"],effect:e.tagTooltip?.effect??e.effect,placement:e.tagTooltip?.placement??"bottom","popper-class":e.tagTooltip?.popperClass??e.popperClass,"popper-style":e.tagTooltip?.popperStyle??e.popperStyle,teleported:e.tagTooltip?.teleported??e.teleported,"append-to":e.tagTooltip?.appendTo??e.appendTo,"popper-options":e.tagTooltip?.popperOptions??e.popperOptions,transition:e.tagTooltip?.transition,"show-after":e.tagTooltip?.showAfter,"hide-after":e.tagTooltip?.hideAfter,"auto-close":e.tagTooltip?.autoClose,offset:e.tagTooltip?.offset},{default:pe(()=>[te("div",{ref:"collapseItemRef",class:de(e.nsSelect.e("selected-item"))},[ee(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:St(e.collapseTagStyle)},{default:pe(()=>[te("span",{class:de(e.nsSelect.e("tags-text"))}," + "+De(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:pe(()=>[te("div",{ref:"tagMenuRef",class:de(e.nsSelect.e("selection"))},[(U(!0),ae(ke,null,Nn(e.collapseTagList,m=>(U(),ae("div",{key:e.getValueKey(m),class:de(e.nsSelect.e("selected-item"))},[ee(i,{class:"in-tooltip",closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:v=>e.deleteTag(v,m)},{default:pe(()=>[te("span",{class:de(e.nsSelect.e("tags-text"))},[Se(e.$slots,"label",{index:m.index,label:m.currentLabel,value:m.value},()=>[Tt(De(m.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","fallback-placements","effect","placement","popper-class","popper-style","teleported","append-to","popper-options","transition","show-after","hide-after","auto-close","offset"])):Ae("v-if",!0)]):Ae("v-if",!0),te("div",{class:de([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled||!e.states.inputValue&&!e.isFocused)])},[te("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:de([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:St(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":e.hoverOption?.id||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...m)=>e.handleKeydown&&e.handleKeydown(...m)),onCompositionstart:t[1]||(t[1]=(...m)=>e.handleCompositionStart&&e.handleCompositionStart(...m)),onCompositionupdate:t[2]||(t[2]=(...m)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...m)),onCompositionend:t[3]||(t[3]=(...m)=>e.handleCompositionEnd&&e.handleCompositionEnd(...m)),onInput:t[4]||(t[4]=(...m)=>e.onInput&&e.onInput(...m)),onChange:t[5]||(t[5]=Tn(()=>{},["stop"])),onClick:t[6]||(t[6]=Tn((...m)=>e.toggleMenu&&e.toggleMenu(...m),["stop"]))},null,46,NF),e.filterable?(U(),ae("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:de(e.nsSelect.e("input-calculator")),textContent:De(e.states.inputValue)},null,10,FF)):Ae("v-if",!0)],2),e.shouldShowPlaceholder?(U(),ae("div",{key:1,class:de([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?Se(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[te("span",null,De(e.currentPlaceholder),1)]):(U(),ae("span",MF,De(e.currentPlaceholder),1))],2)):Ae("v-if",!0)],2),te("div",{ref:"suffixRef",class:de(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(U(),he(l,{key:0,class:de([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:pe(()=>[(U(),he(vn(e.iconComponent)))]),_:1},8,["class"])):Ae("v-if",!0),e.showClearBtn&&e.clearIcon?(U(),he(l,{key:1,class:de([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:pe(()=>[(U(),he(vn(e.clearIcon)))]),_:1},8,["class","onClick"])):Ae("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(U(),he(l,{key:2,class:de([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:pe(()=>[(U(),he(vn(e.validateIcon)))]),_:1},8,["class"])):Ae("v-if",!0)],2)],2)]),content:pe(()=>[ee(p,{ref:"menuRef"},{default:pe(()=>[e.$slots.header?(U(),ae("div",{key:0,class:de(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Tn(()=>{},["stop"]))},[Se(e.$slots,"header")],2)):Ae("v-if",!0),Jn(ee(d,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:de([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll,onEndReached:e.endReached},{default:pe(()=>[e.showNewOption?(U(),he(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):Ae("v-if",!0),ee(f,null,{default:pe(()=>[Se(e.$slots,"default",{},()=>[(U(!0),ae(ke,null,Nn(e.options,(m,v)=>(U(),ae(ke,{key:v},[e.getOptions(m)?.length?(U(),he(u,{key:0,label:e.getLabel(m),disabled:e.getDisabled(m)},{default:pe(()=>[(U(!0),ae(ke,null,Nn(e.getOptions(m),g=>(U(),he(c,Dt({key:e.getValue(g)},{ref_for:!0},e.getOptionProps(g)),null,16))),128))]),_:2},1032,["label","disabled"])):(U(),he(c,Dt({key:1,ref_for:!0},e.getOptionProps(m)),null,16))],64))),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll","onEndReached"]),[[os,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(U(),ae("div",{key:1,class:de(e.nsSelect.be("dropdown","loading"))},[Se(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(U(),ae("div",{key:2,class:de(e.nsSelect.be("dropdown","empty"))},[Se(e.$slots,"empty",{},()=>[te("span",null,De(e.emptyText),1)])],2)):Ae("v-if",!0),e.$slots.footer?(U(),ae("div",{key:3,class:de(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Tn(()=>{},["stop"]))},[Se(e.$slots,"footer")],2)):Ae("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[h,e.handleClickOutside,e.popperRef]])}var IF=wi(OF,[["render",LF]]);const PF=ln(IF,{Option:uf,OptionGroup:ff}),DF=as(uf);as(ff);const kF=Xe({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:me([String,Object,Array,Boolean]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var RF=ue({name:"ElCard",__name:"card",props:kF,setup(e){const t=Ai("card"),n=Qe("card");return(r,o)=>(U(),ae("div",{class:de([A(n).b(),A(n).is(`${e.shadow||A(t)?.shadow||"always"}-shadow`)])},[r.$slots.header||e.header?(U(),ae("div",{key:0,class:de([A(n).e("header"),e.headerClass])},[Se(r.$slots,"header",{},()=>[Tt(De(e.header),1)])],2)):Ae("v-if",!0),te("div",{class:de([A(n).e("body"),e.bodyClass]),style:St(e.bodyStyle)},[Se(r.$slots,"default")],6),r.$slots.footer||e.footer?(U(),ae("div",{key:1,class:de([A(n).e("footer"),e.footerClass])},[Se(r.$slots,"footer",{},()=>[Tt(De(e.footer),1)])],2)):Ae("v-if",!0)],2))}}),$F=RF;const BF=ln($F),Fv={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:Ei,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...is(["ariaControls"])},Mv={[dr]:e=>Re(e)||It(e)||xr(e),change:e=>Re(e)||It(e)||xr(e)},ls=Symbol("checkboxGroupContextKey"),VF=Xe({modelValue:{type:me(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:Ei,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:me(Array)},props:{type:me(Object),default:()=>Lv},type:{type:String,values:["checkbox","button"],default:"checkbox"},...is(["ariaLabel"])}),HF={[dr]:e=>ce(e),change:e=>ce(e)},Lv={label:"label",value:"value",disabled:"disabled"},UF=({model:e,isChecked:t})=>{const n=Te(ls,void 0),r=Te(hl,void 0),o=L(()=>{const s=n?.max?.value,i=n?.min?.value;return!no(s)&&e.value.length>=s&&!t.value||!no(i)&&e.value.length<=i&&t.value});return{isDisabled:Ci(L(()=>n===void 0?r?.disabled??o.value:n.disabled?.value||o.value)),isLimitDisabled:o}},jF=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:s})=>{const i=Te(ls,void 0),{formItem:a}=Si(),{emit:l}=Ye();function c(h){return[!0,e.trueValue,e.trueLabel].includes(h)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function u(h,m){l(Js,c(h),m)}function f(h){if(n.value)return;const m=h.target;l(Js,c(m.checked),h)}async function d(h){n.value||!r.value&&!o.value&&s.value&&(h.composedPath().some(m=>m.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await rt(),u(t.value,h)))}const p=L(()=>i?.validateEvent||e.validateEvent);return _e(()=>e.modelValue,()=>{p.value&&a?.validate("change").catch(pt)}),{handleChange:f,onClickRoot:d}},WF=e=>{const t=Z(!1),{emit:n,vnode:r}=Ye(),o=Te(ls,void 0),s=L(()=>no(o)===!1),i=Z(!1),a=L(()=>{const c=r.props??{};return"modelValue"in c||"model-value"in c}),l=L({get(){return s.value?o?.modelValue?.value:a.value?e.modelValue:t.value},set(c){s.value&&ce(c)?(i.value=o?.max?.value!==void 0&&c.length>o?.max.value&&c.length>l.value.length,i.value===!1&&o?.changeEvent?.(c)):(n(dr,c),t.value=c)}});return{model:l,isGroup:s,isLimitExceeded:i}},GF=(e,t,{model:n})=>{const r=Te(ls,void 0),o=Z(!1),s=L(()=>Ic(e.value)?e.label:e.value),i=L(()=>{const a=n.value;return xr(a)?a:ce(a)?we(s.value)?a.map(Pe).some(l=>mn(l,s.value)):a.map(Pe).includes(s.value):a!=null?a===e.trueValue||a===e.trueLabel:!!a});return{checkboxButtonSize:oi(L(()=>r?.size?.value),{prop:!0}),isChecked:i,isFocused:o,checkboxSize:oi(L(()=>r?.size?.value)),hasOwnLabel:L(()=>!!t.default||!Ic(s.value)),actualValue:s}},Iv=(e,t)=>{const{formItem:n}=Si(),{model:r,isGroup:o,isLimitExceeded:s}=WF(e),{isFocused:i,isChecked:a,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,actualValue:f}=GF(e,t,{model:r}),{isDisabled:d}=UF({model:r,isChecked:a}),{inputId:p,isLabeledByFormItem:h}=rf(e,{formItemContext:n,disableIdGeneration:u,disableIdManagement:o}),{handleChange:m,onClickRoot:v}=jF(e,{model:r,isLimitExceeded:s,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:h});return(()=>{function _(){ce(r.value)&&!r.value.includes(f.value)?r.value.push(f.value):r.value=e.trueValue??e.trueLabel??!0}e.checked&&_()})(),Bs({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>o.value&&Ic(e.value))),Bs({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.trueLabel)),Bs({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.falseLabel)),{inputId:p,isLabeledByFormItem:h,isChecked:a,isDisabled:d,isFocused:i,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,model:r,actualValue:f,handleChange:m,onClickRoot:v}},zF=["id","indeterminate","name","tabindex","disabled"];var KF=ue({name:"ElCheckbox",__name:"checkbox",props:Fv,emits:Mv,setup(e){const t=e,{inputId:n,isLabeledByFormItem:r,isChecked:o,isDisabled:s,isFocused:i,checkboxSize:a,hasOwnLabel:l,model:c,actualValue:u,handleChange:f,onClickRoot:d}=Iv(t,Xa()),p=L(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:u.value}),h=Qe("checkbox"),m=L(()=>[h.b(),h.m(a.value),h.is("disabled",s.value),h.is("bordered",t.border),h.is("checked",o.value)]),v=L(()=>[h.e("input"),h.is("disabled",s.value),h.is("checked",o.value),h.is("indeterminate",t.indeterminate),h.is("focus",i.value)]);return(g,_)=>(U(),he(vn(!A(l)&&A(r)?"span":"label"),{for:!A(l)&&A(r)?null:A(n),class:de(m.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:A(d)},{default:pe(()=>[te("span",{class:de(v.value)},[Jn(te("input",Dt({id:A(n),"onUpdate:modelValue":_[0]||(_[0]=y=>nt(c)?c.value=y:null),class:A(h).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:A(s)},p.value,{onChange:_[1]||(_[1]=(...y)=>A(f)&&A(f)(...y)),onFocus:_[2]||(_[2]=y=>i.value=!0),onBlur:_[3]||(_[3]=y=>i.value=!1),onClick:_[4]||(_[4]=Tn(()=>{},["stop"]))}),null,16,zF),[[Zm,A(c)]]),te("span",{class:de(A(h).e("inner"))},null,2)],2),A(l)?(U(),ae("span",{key:0,class:de(A(h).e("label"))},[Se(g.$slots,"default"),g.$slots.default?Ae("v-if",!0):(U(),ae(ke,{key:0},[Tt(De(e.label),1)],64))],2)):Ae("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}}),Pv=KF;const YF=["name","tabindex","disabled"];var qF=ue({name:"ElCheckboxButton",__name:"checkbox-button",props:Fv,emits:Mv,setup(e){const t=e,{isFocused:n,isChecked:r,isDisabled:o,checkboxButtonSize:s,model:i,actualValue:a,handleChange:l}=Iv(t,Xa()),c=L(()=>t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":t.trueValue??t.trueLabel??!0,"false-value":t.falseValue??t.falseLabel??!1}:{value:a.value}),u=Te(ls,void 0),f=Qe("checkbox"),d=L(()=>{const h=u?.fill?.value??"";return{backgroundColor:h,borderColor:h,color:u?.textColor?.value??"",boxShadow:h?`-1px 0 0 0 ${h}`:void 0}}),p=L(()=>[f.b("button"),f.bm("button",s.value),f.is("disabled",o.value),f.is("checked",r.value),f.is("focus",n.value)]);return(h,m)=>(U(),ae("label",{class:de(p.value)},[Jn(te("input",Dt({"onUpdate:modelValue":m[0]||(m[0]=v=>nt(i)?i.value=v:null),class:A(f).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:A(o)},c.value,{onChange:m[1]||(m[1]=(...v)=>A(l)&&A(l)(...v)),onFocus:m[2]||(m[2]=v=>n.value=!0),onBlur:m[3]||(m[3]=v=>n.value=!1),onClick:m[4]||(m[4]=Tn(()=>{},["stop"]))}),null,16,YF),[[Zm,A(i)]]),h.$slots.default||e.label?(U(),ae("span",{key:0,class:de(A(f).be("button","inner")),style:St(A(r)?d.value:void 0)},[Se(h.$slots,"default",{},()=>[Tt(De(e.label),1)])],6)):Ae("v-if",!0)],2))}}),df=qF,JF=ue({name:"ElCheckboxGroup",__name:"checkbox-group",props:VF,emits:HF,setup(e,{emit:t}){const n=e,r=t,o=Qe("checkbox"),s=Ci(),{formItem:i}=Si(),{inputId:a,isLabeledByFormItem:l}=rf(n,{formItemContext:i}),c=async h=>{r(dr,h),await rt(),r(Js,h)},u=L({get(){return n.modelValue},set(h){c(h)}}),f=L(()=>({...Lv,...n.props})),d=h=>{const{label:m,value:v,disabled:g}=f.value,_={label:h[m],value:h[v],disabled:h[g]};return{...aA(h,[m,v,g]),..._}},p=L(()=>n.type==="button"?df:Pv);return At(ls,{...kg(rs(n),["size","min","max","validateEvent","fill","textColor"]),disabled:s,modelValue:u,changeEvent:c}),_e(()=>n.modelValue,(h,m)=>{n.validateEvent&&!mn(h,m)&&i?.validate("change").catch(pt)}),(h,m)=>(U(),he(vn(e.tag),{id:A(a),class:de(A(o).b("group")),role:"group","aria-label":A(l)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":A(l)?A(i)?.labelId:void 0},{default:pe(()=>[Se(h.$slots,"default",{},()=>[(U(!0),ae(ke,null,Nn(e.options,(v,g)=>(U(),he(vn(p.value),Dt({key:g},{ref_for:!0},d(v)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"]))}}),Dv=JF;const XF=ln(Pv,{CheckboxButton:df,CheckboxGroup:Dv});as(df);const BR=as(Dv),Jl=Xe({trigger:{...$r.trigger,type:me([String,Array])},triggerKeys:{type:me(Array),default:()=>[it.enter,it.numpadEnter,it.space,it.down]},virtualTriggering:$r.virtualTriggering,virtualRef:$r.virtualRef,effect:{...ft.effect,default:"light"},type:{type:me(String)},placement:{type:me(String),default:"bottom"},popperOptions:{type:me(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:me([Number,String]),default:0},maxHeight:{type:me([Number,String]),default:""},popperClass:ft.popperClass,popperStyle:ft.popperStyle,disabled:Boolean,role:{type:String,values:pv,default:"menu"},buttonProps:{type:me(Object)},teleported:ft.teleported,appendTo:ft.appendTo,persistent:{type:Boolean,default:!0}}),VR=Xe({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:vo}}),HR=Xe({onKeydown:{type:me(Function)}}),QF=Xe({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:vo}}),ZF={click:e=>e instanceof MouseEvent},e3=["href","target"];var t3=ue({name:"ElLink",__name:"link",props:QF,emits:ZF,setup(e,{emit:t}){const n=e,r=t,o=Ai("link");Bs({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},L(()=>xr(n.underline)));const s=Qe("link"),i=L(()=>[s.b(),s.m(n.type??o.value?.type??"default"),s.is("disabled",n.disabled),s.is("underline",a.value==="always"),s.is("hover-underline",a.value==="hover"&&!n.disabled)]),a=L(()=>xr(n.underline)?n.underline?"hover":"never":n.underline??o.value?.underline??"hover");function l(c){n.disabled||r("click",c)}return(c,u)=>(U(),ae("a",{class:de(i.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:l},[e.icon?(U(),he(A(_o),{key:0},{default:pe(()=>[(U(),he(vn(e.icon)))]),_:1})):Ae("v-if",!0),c.$slots.default?(U(),ae("span",{key:1,class:de(A(s).e("inner"))},[Se(c.$slots,"default")],2)):Ae("v-if",!0),c.$slots.icon?Se(c.$slots,"icon",{key:2}):Ae("v-if",!0)],10,e3))}}),n3=t3;const Ti=ln(n3);function r3(e,t){let n;const r=Z(!1),o=Jt({...e,originalPosition:"",originalOverflow:"",visible:!1});function s(d){o.text=d}function i(){const d=o.parent,p=f.ns;if(!d.vLoadingAddClassList){let h=d.getAttribute("loading-number");h=Number.parseInt(h)-1,h?d.setAttribute("loading-number",h.toString()):(wa(d,p.bm("parent","relative")),d.removeAttribute("loading-number")),wa(d,p.bm("parent","hidden"))}a(),u.unmount()}function a(){f.$el?.parentNode?.removeChild(f.$el)}function l(){e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(c,400),o.visible=!1,e.closed?.())}function c(){if(!r.value)return;const d=o.parent;r.value=!1,d.vLoadingAddClassList=void 0,i()}const u=tg(ue({name:"ElLoading",setup(d,{expose:p}){const{ns:h,zIndex:m}=FN("loading");return p({ns:h,zIndex:m}),()=>{const v=o.spinner||o.svg,g=jt("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...v?{innerHTML:v}:{}},[jt("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),_=o.text?jt("p",{class:h.b("text")},[o.text]):void 0;return jt(el,{name:h.b("fade"),onAfterLeave:c},{default:pe(()=>[Jn(ee("div",{style:{backgroundColor:o.background||""},class:[h.b("mask"),o.customClass,h.is("fullscreen",o.fullscreen)]},[jt("div",{class:h.b("spinner")},[g,_])]),[[os,o.visible]])])})}}}));Object.assign(u._context,t??{});const f=u.mount(document.createElement("div"));return{...rs(o),setText:s,removeElLoadingChild:a,close:l,handleAfterLeave:c,vm:f,get $el(){return f.$el}}}let Yi;const pf=function(e={},t){if(!xt)return;const n=o3(e);if(n.fullscreen&&Yi)return Yi;const r=r3({...n,closed:()=>{n.closed?.(),n.fullscreen&&(Yi=void 0)}},t??pf._context);s3(n,n.parent,r),Up(n,n.parent,r),n.parent.vLoadingAddClassList=()=>Up(n,n.parent,r);let o=n.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",n.parent.setAttribute("loading-number",o),n.parent.appendChild(r.$el),rt(()=>r.visible.value=n.visible),n.fullscreen&&(Yi=r),r},o3=e=>{let t;return Re(e.target)?t=document.querySelector(e.target)??document.body:t=e.target||document.body,{parent:t===document.body||e.body?document.body:t,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:t===document.body&&(e.fullscreen??!0),lock:e.lock??!1,customClass:e.customClass||"",visible:e.visible??!0,beforeClose:e.beforeClose,closed:e.closed,target:t}},s3=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=bs(document.body,"position"),n.originalOverflow.value=bs(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=bs(document.body,"position"),await rt();for(const s of["top","left"]){const i=s==="top"?"scrollTop":"scrollLeft";o[s]=`${e.target.getBoundingClientRect()[s]+document.body[i]+document.documentElement[i]-Number.parseInt(bs(document.body,`margin-${s}`),10)}px`}for(const s of["height","width"])o[s]=`${e.target.getBoundingClientRect()[s]}px`}else n.originalPosition.value=bs(t,"position");for(const[s,i]of Object.entries(o))n.$el.style[s]=i},Up=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?wa(t,r.bm("parent","relative")):lp(t,r.bm("parent","relative")),e.fullscreen&&e.lock?lp(t,r.bm("parent","hidden")):wa(t,r.bm("parent","hidden"))};pf._context=null;const Ns=Symbol("ElLoading"),Zr=e=>`element-loading-${Vr(e)}`,jp=(e,t)=>{const n=t.instance,r=c=>we(t.value)?t.value[c]:void 0,o=c=>Z(Re(c)&&n?.[c]||c),s=c=>o(r(c)||e.getAttribute(Zr(c))),i=r("fullscreen")??t.modifiers.fullscreen,a={text:s("text"),svg:s("svg"),svgViewBox:s("svgViewBox"),spinner:s("spinner"),background:s("background"),customClass:s("customClass"),fullscreen:i,target:r("target")??(i?void 0:e),body:r("body")??t.modifiers.body,lock:r("lock")??t.modifiers.lock},l=pf(a);l._context=hf._context,e[Ns]={options:a,instance:l}},i3=(e,t)=>{for(const n of Object.keys(e))nt(e[n])&&(e[n].value=t[n])},hf={mounted(e,t){t.value&&jp(e,t)},updated(e,t){const n=e[Ns];if(!t.value){n?.instance.close(),e[Ns]=null;return}n?i3(n.options,we(t.value)?t.value:{text:e.getAttribute(Zr("text")),svg:e.getAttribute(Zr("svg")),svgViewBox:e.getAttribute(Zr("svgViewBox")),spinner:e.getAttribute(Zr("spinner")),background:e.getAttribute(Zr("background")),customClass:e.getAttribute(Zr("customClass"))}):jp(e,t)},unmounted(e){e[Ns]?.instance.close(),e[Ns]=null}};hf._context=null;const a3=Xe({trigger:$r.trigger,triggerKeys:$r.triggerKeys,placement:Jl.placement,disabled:$r.disabled,visible:ft.visible,transition:ft.transition,popperOptions:Jl.popperOptions,tabindex:Jl.tabindex,content:ft.content,popperStyle:ft.popperStyle,popperClass:ft.popperClass,enterable:{...ft.enterable,default:!0},effect:{...ft.effect,default:"light"},teleported:ft.teleported,appendTo:ft.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),l3={"update:visible":e=>xr(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},c3="onUpdate:visible";var u3=ue({name:"ElPopover",__name:"popover",props:a3,emits:l3,setup(e,{expose:t,emit:n}){const r=e,o=n,s=L(()=>r[c3]),i=Qe("popover"),a=Z(),l=L(()=>A(a)?.popperRef),c=L(()=>[{width:ei(r.width)},r.popperStyle]),u=L(()=>[i.b(),r.popperClass,{[i.m("plain")]:!!r.content}]),f=L(()=>r.transition===`${i.namespace.value}-fade-in-linear`),d=()=>{a.value?.hide()},p=()=>{o("before-enter")},h=()=>{o("before-leave")},m=()=>{o("after-enter")},v=()=>{o("update:visible",!1),o("after-leave")};return t({popperRef:l,hide:d}),(g,_)=>(U(),he(A(lf),Dt({ref_key:"tooltipRef",ref:a},g.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":u.value,"popper-style":c.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":f.value,"onUpdate:visible":s.value,onBeforeShow:p,onBeforeHide:h,onShow:m,onHide:v}),{content:pe(()=>[e.title?(U(),ae("div",{key:0,class:de(A(i).e("title")),role:"title"},De(e.title),3)):Ae("v-if",!0),Se(g.$slots,"default",{hide:d},()=>[Tt(De(e.content),1)])]),default:pe(()=>[g.$slots.reference?Se(g.$slots,"reference",{key:0}):Ae("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),f3=u3;const Wp=(e,t)=>{const n=(t.arg||t.value)?.popperRef;n&&(n.triggerRef=e)};var d3={mounted(e,t){Wp(e,t)},updated(e,t){Wp(e,t)}};const p3="popover",h3=nO(d3,p3),m3=ln(f3,{directive:h3}),g3="local://",v3="main",_3="container",x3="item",b3="/__global_config__",y3="/node_modules/.prebuild_module",E3="_metadata.json",C3="/_module_load_prefix_",S3="/_node_modules_load_prefix_",w3="/_comp_preview_prefix_local_",A3="/__proxy__",T3="/__master__",O3="__remote__",N3="__local__",F3="https://api.comphub.cn:5696",M3="http://localhost:7002",L3="http://localhost:5000",I3="http://localhost:5001",P3="Comp Hub",D3="csrfToken",k3="authorization",R3="x-refresh-token",$3="x-csrf-token",B3="accept-language",V3="isGuestLogin",H3="comp-hub-db",U3="file-compiled",j3="https://oss.comphub.cn",W3="oss:sts:token",G3="oss:sts:expire",z3="comp.json",K3="README.md",Y3="/.comp_hub_temp",q3="main.js",J3="index.vue",kv="list_local",Rv="list_remote",X3={COMP_LIST_TYPE_LOCAL:kv,COMP_LIST_TYPE_REMOTE:Rv},$v="config",Bv="error",Vv="dir",Hv="preview",Uv="extra",jv="deps",Wv="upgradeLog",Gv="readme",Q3={TAB_TYPE_CONFIG:$v,TAB_TYPE_ERROR:Bv,TAB_TYPE_DIR:Vv,TAB_TYPE_PREVIEW:Hv,TAB_TYPE_EXTRA:Uv,TAB_TYPE_DEPS:jv,TAB_TYPE_UPGRADE_LOG:Wv,TAB_TYPE_README:Gv},zv="mini",Kv="full",Z3={COMP_EDIT_TAB_TYPE_MINI:zv,COMP_EDIT_TAB_TYPE_FULL:Kv},Yv="EDIT",qv="ADD",eM={DIALOG_TYPE_EDIT:Yv,DIALOG_TYPE_ADD:qv},Jv="ONLY_INSTALL",Xv="MAJOR_VERSION",Qv="MINOR_VERSION",Zv="EXACT_VERSION",tM={COMP_MATCH_TYPE_ONLY_INSTALL:Jv,COMP_MATCH_TYPE_MAJOR_VERSION:Xv,COMP_MATCH_TYPE_MINOR_VERSION:Qv,COMP_MATCH_TYPE_EXACT_VERSION:Zv},e1="online",t1="offline",nM={COMP_UPDATE_TYPE_ONLINE:e1,COMP_UPDATE_TYPE_OFFLINE:t1},rM=0,oM=1,sM=-1,n1="checkPreviewListForm",r1="checkExtraInfoForm",o1="checkCompConfig",s1="afterCompDel",i1="openCompTerminal",a1="afterCompCancelCollect",l1="afterCompRenderRetry",c1="getCompError",u1="checkUpgradeLogForm",iM={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:n1,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:r1,COMP_METHOD_KEY_CHECK_COMP_CONFIG:o1,COMP_METHOD_KEY_AFTER_COMP_DEL:s1,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:i1,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:a1,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:l1,COMP_METHOD_KEY_GET_COMP_ERROR:c1,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:u1},aM={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"}},lM="http://127.0.0.1",cM="http://localhost:8095",uM="http://localhost:8096",fM="http://localhost:5198",dM="/item",pM="/container",hM="CREATE",mM="JOIN",gM="EXIT",vM="teamAddMyComp",_M="teamCompList",xM="teamCompGroupList",bM="teamMyCompList",yM="teamMyCompUpdate",EM="vue/dist/vue.esm-bundler.js",CM="__v__",SM="compListStore",wM="compEditStore",AM="callbacks",TM="comphubConfig",OM="local",NM="prod",FM="local",MM="prod",LM="http://localhost:5173/en/",IM="https://docs.comphub.cn/en/",PM=20,DM=20,at=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:B3,AUTHORIZATION_HEADER_NAME:k3,CACHE_KEY_STS_EXPIRE_TIME:G3,CACHE_KEY_STS_TOKEN:W3,COMPHUB_CONFIG_KEY:TM,COMP_ACTION_ICON_HEIGHT:DM,COMP_ACTION_ICON_WIDTH:PM,COMP_CONFIG_FILENAME:z3,COMP_EDIT_TAB_TYPES:Z3,COMP_EDIT_TAB_TYPE_FULL:Kv,COMP_EDIT_TAB_TYPE_MINI:zv,COMP_ENTRY_FILE:q3,COMP_HUB_DEV_DOCS_URL:LM,COMP_HUB_PROD_DOCS_URL:IM,COMP_LIST_TYPES:X3,COMP_LIST_TYPE_LOCAL:kv,COMP_LIST_TYPE_REMOTE:Rv,COMP_MATCH_TYPES:tM,COMP_MATCH_TYPE_EXACT_VERSION:Zv,COMP_MATCH_TYPE_MAJOR_VERSION:Xv,COMP_MATCH_TYPE_MINOR_VERSION:Qv,COMP_MATCH_TYPE_ONLY_INSTALL:Jv,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:a1,COMP_METHOD_KEY_AFTER_COMP_DEL:s1,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:l1,COMP_METHOD_KEY_CHECK_COMP_CONFIG:o1,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:r1,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:n1,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:u1,COMP_METHOD_KEY_GET_COMP_ERROR:c1,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:i1,COMP_PREVIEW_PREFIX_LOCAL:w3,COMP_README_FILENAME:K3,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:Y3,COMP_UPDATE_TYPES:nM,COMP_UPDATE_TYPE_OFFLINE:t1,COMP_UPDATE_TYPE_ONLINE:e1,COMP_USE_ENTRY_FILE:J3,CSRF_KEY:D3,CSRF_TOKEN_HEADER_NAME:$3,DIALOG_TYPES:eM,DIALOG_TYPE_ADD:qv,DIALOG_TYPE_EDIT:Yv,FILE_MANAGER_DIRNAME:g3,GLOBAL_CONFIG_PATH:b3,IFRAME_CONTAINER_WEBSITE_PATH:pM,IFRAME_HOST:lM,IFRAME_ITEM_WEBSITE_PATH:dM,IFRAME_ROUTES:aM,INDEX_DB_NAME:H3,INDEX_DB_TABLE_NAME:U3,IS_GUEST_LOGIN:V3,LOCAL_CHILD_IFRAME_URL:cM,LOCAL_LEAF_IFRAME_URL:uM,LOCAL_MIDWAY_ENV_LOCAL:OM,LOCAL_MIDWAY_ENV_PROD:NM,LOCAL_SERVICE_PREFIX:N3,LOCAL_SERVICE_URL_DEV:L3,LOCAL_SERVICE_URL_DEV_SUB:I3,LOCAL_TOP_IFRAME_URL:fM,MASTER_API_PREFIX:T3,META_FILE_NAME:E3,MODULE_LOAD_PREFIX:C3,NODE_MODULES_LOAD_PREFIX:S3,OSS_CUSTOM_DOMAIN:j3,PREBUILD_MODULE_DIR:y3,PROVIDE_KEYS:iM,PROVIDE_KEY_CALLBACKS:AM,PROVIDE_KEY_COMP_EDIT_STORE:wM,PROVIDE_KEY_COMP_LIST_STORE:SM,PROXY_PATH_PREFIX:A3,REFRESH_TOKEN_HEADER_NAME:R3,REMOTE_MIDWAY_ENV_LOCAL:FM,REMOTE_MIDWAY_ENV_PROD:MM,REMOTE_SERVICE_PREFIX:O3,REMOTE_SERVICE_URL_DEV:M3,REMOTE_SERVICE_URL_PROD:F3,ROUTE_STATE_KEY_VERSION:CM,SCOPE_ID_TEAM_ADD_MY_COMP:vM,SCOPE_ID_TEAM_COMP_GROUP_LIST:xM,SCOPE_ID_TEAM_COMP_LIST:_M,SCOPE_ID_TEAM_MY_COMP_LIST:bM,SCOPE_ID_TEAM_MY_COMP_UPDATE:yM,SITE_TITLE:P3,TAB_TYPES:Q3,TAB_TYPE_CONFIG:$v,TAB_TYPE_DEPS:jv,TAB_TYPE_DIR:Vv,TAB_TYPE_ERROR:Bv,TAB_TYPE_EXTRA:Uv,TAB_TYPE_PREVIEW:Hv,TAB_TYPE_README:Gv,TAB_TYPE_UPGRADE_LOG:Wv,TEAM_OPERATE_TYPE_CREATE:hM,TEAM_OPERATE_TYPE_EXIT:gM,TEAM_OPERATE_TYPE_JOIN:mM,VERSION_COMPARE_GREATER:oM,VERSION_COMPARE_LESS:sM,VERSION_COMPARE_SAME:rM,VUE_ESM_BUNDLER:EM,WEBSITE_PATH_CONTAINER:_3,WEBSITE_PATH_ITEM:x3,WEBSITE_PATH_MAIN:v3},Symbol.toStringTag,{value:"Module"})),kM="comp-hub-locale",RM=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:kM},Symbol.toStringTag,{value:"Module"}));var Xl={exports:{}},Gp;function $M(){return Gp||(Gp=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function i(l,c){if(!s[l]){s[l]={};for(var u=0;u<l.length;u++)s[l][l.charAt(u)]=u}return s[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return r.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return i(r,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(n(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return i(o,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return n(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},h={},m="",v="",g="",_=2,y=3,x=2,S=[],E=0,b=0,O;for(O=0;O<l.length;O+=1)if(m=l.charAt(O),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=y++,h[m]=!0),v=g+m,Object.prototype.hasOwnProperty.call(p,v))g=v;else{if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(f=0;f<x;f++)E=E<<1,b==c-1?(b=0,S.push(u(E)),E=0):b++;for(d=g.charCodeAt(0),f=0;f<8;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}else{for(d=1,f=0;f<x;f++)E=E<<1|d,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=0;for(d=g.charCodeAt(0),f=0;f<16;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}_--,_==0&&(_=Math.pow(2,x),x++),delete h[g]}else for(d=p[g],f=0;f<x;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1;_--,_==0&&(_=Math.pow(2,x),x++),p[v]=y++,g=String(m)}if(g!==""){if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(f=0;f<x;f++)E=E<<1,b==c-1?(b=0,S.push(u(E)),E=0):b++;for(d=g.charCodeAt(0),f=0;f<8;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}else{for(d=1,f=0;f<x;f++)E=E<<1|d,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=0;for(d=g.charCodeAt(0),f=0;f<16;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1}_--,_==0&&(_=Math.pow(2,x),x++),delete h[g]}else for(d=p[g],f=0;f<x;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1;_--,_==0&&(_=Math.pow(2,x),x++)}for(d=2,f=0;f<x;f++)E=E<<1|d&1,b==c-1?(b=0,S.push(u(E)),E=0):b++,d=d>>1;for(;;)if(E=E<<1,b==c-1){S.push(u(E));break}else b++;return S.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,h=3,m="",v=[],g,_,y,x,S,E,b,O={val:u(0),position:c,index:1};for(g=0;g<3;g+=1)f[g]=g;for(y=0,S=Math.pow(2,2),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;switch(y){case 0:for(y=0,S=Math.pow(2,8),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;b=n(y);break;case 1:for(y=0,S=Math.pow(2,16),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;b=n(y);break;case 2:return""}for(f[3]=b,_=b,v.push(b);;){if(O.index>l)return"";for(y=0,S=Math.pow(2,h),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;switch(b=y){case 0:for(y=0,S=Math.pow(2,8),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;f[p++]=n(y),b=p-1,d--;break;case 1:for(y=0,S=Math.pow(2,16),E=1;E!=S;)x=O.val&O.position,O.position>>=1,O.position==0&&(O.position=c,O.val=u(O.index++)),y|=(x>0?1:0)*E,E<<=1;f[p++]=n(y),b=p-1,d--;break;case 2:return v.join("")}if(d==0&&(d=Math.pow(2,h),h++),f[b])m=f[b];else if(b===p)m=_+_.charAt(0);else return null;v.push(m),f[p++]=_+m.charAt(0),d--,_=m,d==0&&(d=Math.pow(2,h),h++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Xl)),Xl.exports}var BM=$M();const zp=nF(BM),Kp=["topOrigin","compType","userId","instanceUid","compId","isSfc"],kt=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!Kp.includes(l)).length)throw new Error(`iframe参数键名只能包含${Kp.join(", ")}`);return zp.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=zp.decompressFromEncodedURIComponent(i);return JSON.parse(a)}function r(){const a=new URLSearchParams(window.location.search).get("params")??"";return n(a)}function o(i){const a={...e,...i};return t(a)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},cn=e=>{const{params:{topOrigin:t}}=kt();return e?at.LOCAL_TOP_IFRAME_URL:t},VM=(e,t)=>`${at.IFRAME_HOST}:${t}`,Ie={LIST_INIT:"list_init",LIST_INIT_GET:"list_init_get",ITEM_VERSION_CHANGE:"item_version_change",ITEM_VERSION_LIST_GET:"item_version_list_get",ITEM_VERSION_LIST_SET:"item_version_list_set",ITEM_SITE_PATH_SET:"item_site_path_set",ITEM_SITE_PATH_GET:"item_site_path_get",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",UPDATE_IFRAME_HEIGHT:"update_iframe_height",SELECTED_ROWS_SET:"selected_rows_set",SELECTED_ROWS_GET:"selected_rows_get",SELECTED_ROWS_TO_LEAF_NODE_MAP_SET:"selected_rows_to_leaf_node_map_set",SELECTED_ROWS_TO_LEAF_NODE_MAP_GET:"selected_rows_to_leaf_node_map_get",COMP_GROUP_PATH_GET:"comp_group_path_get",COMP_GROUP_PATH_SET:"comp_group_path_set",LOCAL_EXIST_GET:"local_exist_get",LOCAL_EXIST_SET:"local_exist_set",ACTION_ADD_COMP_START_LOADING:"action_add_comp_start_loading",ACTION_ADD_COMP_FINISH_LOADING:"action_add_comp_finish_loading",ACTION_DOWNLOAD:"action_download",ACTION_PREVIEW:"action_preview",ACTION_PREVIEW_LOCAL:"action_preview_local",ACTION_COLLECT:"action_collect",ACTION_UPDATE:"action_update",ACTION_DELETE:"action_delete",ACTION_OPEN_VSCODE_LOCAL:"action_open_vscoe_local",OSS_FILE_SIGN_URL_GET:"oss_file_sign_url_get",OSS_FILE_SIGN_URL_SET:"oss_file_sign_url_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SEARCH_KEYWORD_GET:"search_keyword_get",SEARCH_KEYWORD_SET:"search_keyword_set",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get"};function un(){const e=Ye();return{sendMessageToParent:(s,i,a)=>{window.parent.postMessage({type:s,payload:JSON.stringify(i)},a)},sendMessageToTop:(s,i,a,l)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:s,payload:JSON.stringify(i),instanceUid:l},a)},sendMessageToTargetIframe:(s,i,a,l)=>{s.postMessage({type:i,payload:JSON.stringify(a)},l)},messageListener:()=>{const s=new Map,i=a=>{const{type:l,payload:c,instanceUid:u}=a.data??{},f=a.source===window.parent||a.source===window.top,d=u?.split(",").some(h=>h===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),yo(()=>{window.removeEventListener("message",i),s.clear()}),{addListener:(a,l)=>{s.set(a,c=>{l(c)})},removeListener:a=>{a?s.delete(a):(s.clear(),window.removeEventListener("message",i))}}},instanceUid:L(()=>e?.uid?.toString()??"")}}function HM(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Na=typeof window<"u",Ur=(e,t=!1)=>t?Symbol.for(e):Symbol(e),UM=(e,t,n)=>jM({l:e,k:t,s:n}),jM=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),dt=e=>typeof e=="number"&&isFinite(e),f1=e=>gf(e)==="[object Date]",Qo=e=>gf(e)==="[object RegExp]",vl=e=>$e(e)&&Object.keys(e).length===0,ht=Object.assign,WM=Object.create,Je=(e=null)=>WM(e);let Yp;const so=()=>Yp||(Yp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Je());function qp(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 GM(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 zM=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,KM=/^(?:href|src|action|formaction)$/i;function mf(e){return zM.test(e)}function YM(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,i=t.lastIndex-1;let a=i+1,l=1,c=null;for(;a<e.length;a++){const d=e[a];if(c){d===c&&(c=null);continue}if(d==='"'||d==="'")c=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const u=e.slice(i+1,a).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;n+=e.slice(r,s),n+=mf(f)?"url(about:blank)":e.slice(s,a+1),r=a+1}return n+e.slice(r)}function Jp(e,t){if(KM.test(e)&&mf(t))return"about:blank";const n=e.toLowerCase()==="style"?YM(t):t;return GM(n)}function qM(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${Jp(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${Jp(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)=>mf(o)?`${r}about:blank`:n),e}const JM=Object.prototype.hasOwnProperty;function gn(e,t){return JM.call(e,t)}const lt=Array.isArray,ot=e=>typeof e=="function",fe=e=>typeof e=="string",je=e=>typeof e=="boolean",We=e=>e!==null&&typeof e=="object",XM=e=>We(e)&&ot(e.then)&&ot(e.catch),d1=Object.prototype.toString,gf=e=>d1.call(e),$e=e=>gf(e)==="[object Object]",QM=e=>e==null?"":lt(e)||$e(e)&&e.toString===d1?JSON.stringify(e,null,2):String(e);function vf(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const qi=e=>!We(e)||lt(e);function oa(e,t){if(qi(e)||qi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(We(r[s])&&!We(o[s])&&(o[s]=Array.isArray(r[s])?[]:Je()),qi(o[s])||qi(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function ZM(e,t,n){return{line:e,column:t,offset:n}}function Wc(e,t,n){return{start:e,end:t}}const Ke={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},eL=17;function _l(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function tL(e){throw e}const $n=" ",nL="\r",Ft=`
9
+ `,rL="\u2028",oL="\u2029";function sL(e){const t=e;let n=0,r=1,o=1,s=0;const i=b=>t[b]===nL&&t[b+1]===Ft,a=b=>t[b]===Ft,l=b=>t[b]===oL,c=b=>t[b]===rL,u=b=>i(b)||a(b)||l(b)||c(b),f=()=>n,d=()=>r,p=()=>o,h=()=>s,m=b=>i(b)||l(b)||c(b)?Ft:t[b],v=()=>m(n),g=()=>m(n+s);function _(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function y(){return i(n+s)&&s++,s++,t[n+s]}function x(){n=0,r=1,o=1,s=0}function S(b=0){s=b}function E(){const b=n+s;for(;b!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:g,next:_,peek:y,reset:x,resetPeek:S,skipToPeek:E}}const rr=void 0,iL=".",Xp="'",aL="tokenizer";function lL(e,t={}){const n=t.location!==!1,r=sL(e),o=()=>r.index(),s=()=>ZM(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(C,w,P,...B){const ie=c();if(w.column+=P,w.offset+=P,u){const Q=n?Wc(ie.startLoc,w):null,k=_l(C,Q,{domain:aL,args:B});u(k)}}function d(C,w,P){C.endLoc=s(),C.currentType=w;const B={type:w};return n&&(B.loc=Wc(C.startLoc,C.endLoc)),P!=null&&(B.value=P),B}const p=C=>d(C,13);function h(C,w){return C.currentChar()===w?(C.next(),w):(f(Ke.EXPECTED_TOKEN,s(),0,w),"")}function m(C){let w="";for(;C.currentPeek()===$n||C.currentPeek()===Ft;)w+=C.currentPeek(),C.peek();return w}function v(C){const w=m(C);return C.skipToPeek(),w}function g(C){if(C===rr)return!1;const w=C.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function _(C){if(C===rr)return!1;const w=C.charCodeAt(0);return w>=48&&w<=57}function y(C,w){const{currentType:P}=w;if(P!==2)return!1;m(C);const B=g(C.currentPeek());return C.resetPeek(),B}function x(C,w){const{currentType:P}=w;if(P!==2)return!1;m(C);const B=C.currentPeek()==="-"?C.peek():C.currentPeek(),ie=_(B);return C.resetPeek(),ie}function S(C,w){const{currentType:P}=w;if(P!==2)return!1;m(C);const B=C.currentPeek()===Xp;return C.resetPeek(),B}function E(C,w){const{currentType:P}=w;if(P!==7)return!1;m(C);const B=C.currentPeek()===".";return C.resetPeek(),B}function b(C,w){const{currentType:P}=w;if(P!==8)return!1;m(C);const B=g(C.currentPeek());return C.resetPeek(),B}function O(C,w){const{currentType:P}=w;if(!(P===7||P===11))return!1;m(C);const B=C.currentPeek()===":";return C.resetPeek(),B}function F(C,w){const{currentType:P}=w;if(P!==9)return!1;const B=()=>{const Q=C.currentPeek();return Q==="{"?g(C.peek()):Q==="@"||Q==="|"||Q===":"||Q==="."||Q===$n||!Q?!1:Q===Ft?(C.peek(),B()):W(C,!1)},ie=B();return C.resetPeek(),ie}function V(C){m(C);const w=C.currentPeek()==="|";return C.resetPeek(),w}function W(C,w=!0){const P=(ie=!1,Q="")=>{const k=C.currentPeek();return k==="{"||k==="@"||!k?ie:k==="|"?!(Q===$n||Q===Ft):k===$n?(C.peek(),P(!0,$n)):k===Ft?(C.peek(),P(!0,Ft)):!0},B=P();return w&&C.resetPeek(),B}function I(C,w){const P=C.currentChar();return P===rr?rr:w(P)?(C.next(),P):null}function Y(C){const w=C.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36}function H(C){return I(C,Y)}function D(C){const w=C.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36||w===45}function M(C){return I(C,D)}function R(C){const w=C.charCodeAt(0);return w>=48&&w<=57}function j(C){return I(C,R)}function ne(C){const w=C.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function le(C){return I(C,ne)}function xe(C){let w="",P="";for(;w=j(C);)P+=w;return P}function Ee(C){let w="";for(;;){const P=C.currentChar();if(P==="\\"){const B=C.peek();B==="{"||B==="}"||B==="@"||B==="|"||B==="\\"?(w+=P+B,C.next(),C.next()):(C.resetPeek(),w+=P,C.next())}else{if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P===$n||P===Ft)if(W(C))w+=P,C.next();else{if(V(C))break;w+=P,C.next()}else w+=P,C.next()}}return w}function Ne(C){v(C);let w="",P="";for(;w=M(C);)P+=w;const B=C.currentChar();if(B&&B!=="}"&&B!==rr&&B!==$n&&B!==Ft&&B!==" "){const ie=re(C);return f(Ke.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P+ie),P+ie}return C.currentChar()===rr&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),P}function Fe(C){v(C);let w="";return C.currentChar()==="-"?(C.next(),w+=`-${xe(C)}`):w+=xe(C),C.currentChar()===rr&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),w}function Le(C){return C!==Xp&&C!==Ft}function He(C){v(C),h(C,"'");let w="",P="";for(;w=I(C,Le);)w==="\\"?P+=K(C):P+=w;const B=C.currentChar();return B===Ft||B===rr?(f(Ke.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),B===Ft&&(C.next(),h(C,"'")),P):(h(C,"'"),P)}function K(C){const w=C.currentChar();switch(w){case"\\":case"'":return C.next(),`\\${w}`;case"u":return se(C,w,4);case"U":return se(C,w,6);default:return f(Ke.UNKNOWN_ESCAPE_SEQUENCE,s(),0,w),""}}function se(C,w,P){h(C,w);let B="";for(let ie=0;ie<P;ie++){const Q=le(C);if(!Q){f(Ke.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${w}${B}${C.currentChar()}`);break}B+=Q}return`\\${w}${B}`}function oe(C){return C!=="{"&&C!=="}"&&C!==$n&&C!==Ft}function re(C){v(C);let w="",P="";for(;w=I(C,oe);)P+=w;return P}function Ce(C){let w="",P="";for(;w=H(C);)P+=w;return P}function T(C){const w=P=>{const B=C.currentChar();return B==="{"||B==="@"||B==="|"||B==="("||B===")"||!B||B===$n?P:(P+=B,C.next(),w(P))};return w("")}function N(C){v(C);const w=h(C,"|");return v(C),w}function $(C,w){let P=null;switch(C.currentChar()){case"{":return w.braceNest>=1&&f(Ke.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),C.next(),P=d(w,2,"{"),v(C),w.braceNest++,P;case"}":return w.braceNest>0&&w.currentType===2&&f(Ke.EMPTY_PLACEHOLDER,s(),0),C.next(),P=d(w,3,"}"),w.braceNest--,w.braceNest>0&&v(C),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),P;case"@":return w.braceNest>0&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),P=q(C,w)||p(w),w.braceNest=0,P;default:{let ie=!0,Q=!0,k=!0;if(V(C))return w.braceNest>0&&f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),P=d(w,1,N(C)),w.braceNest=0,w.inLinked=!1,P;if(w.braceNest>0&&(w.currentType===4||w.currentType===5||w.currentType===6))return f(Ke.UNTERMINATED_CLOSING_BRACE,s(),0),w.braceNest=0,X(C,w);if(ie=y(C,w))return P=d(w,4,Ne(C)),v(C),P;if(Q=x(C,w))return P=d(w,5,Fe(C)),v(C),P;if(k=S(C,w))return P=d(w,6,He(C)),v(C),P;if(!ie&&!Q&&!k)return P=d(w,12,re(C)),f(Ke.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,P.value),v(C),P;break}}return P}function q(C,w){const{currentType:P}=w;let B=null;const ie=C.currentChar();switch((P===7||P===8||P===11||P===9)&&(ie===Ft||ie===$n)&&f(Ke.INVALID_LINKED_FORMAT,s(),0),ie){case"@":return C.next(),B=d(w,7,"@"),w.inLinked=!0,B;case".":return v(C),C.next(),d(w,8,".");case":":return v(C),C.next(),d(w,9,":");default:return V(C)?(B=d(w,1,N(C)),w.braceNest=0,w.inLinked=!1,B):E(C,w)||O(C,w)?(v(C),q(C,w)):b(C,w)?(v(C),d(w,11,Ce(C))):F(C,w)?(v(C),ie==="{"?$(C,w)||B:d(w,10,T(C))):(P===7&&f(Ke.INVALID_LINKED_FORMAT,s(),0),w.braceNest=0,w.inLinked=!1,X(C,w))}}function X(C,w){let P={type:13};if(w.braceNest>0)return $(C,w)||p(w);if(w.inLinked)return q(C,w)||p(w);switch(C.currentChar()){case"{":return $(C,w)||p(w);case"}":return f(Ke.UNBALANCED_CLOSING_BRACE,s(),0),C.next(),d(w,3,"}");case"@":return q(C,w)||p(w);default:{if(V(C))return P=d(w,1,N(C)),w.braceNest=0,w.inLinked=!1,P;if(W(C))return d(w,0,Ee(C));break}}return P}function J(){const{currentType:C,offset:w,startLoc:P,endLoc:B}=l;return l.lastType=C,l.lastOffset=w,l.lastStartLoc=P,l.lastEndLoc=B,l.offset=o(),l.startLoc=s(),r.currentChar()===rr?d(l,13):X(r,l)}return{nextToken:J,currentOffset:o,currentPosition:s,context:c}}const cL="parser",uL=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,fL=/\\([\\@{}|])/g;function dL(e,t){return t}function pL(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 hL(e={}){const t=e.location!==!1,{onError:n}=e;function r(g,_,y,x,...S){const E=g.currentPosition();if(E.offset+=x,E.column+=x,n){const b=t?Wc(y,E):null,O=_l(_,b,{domain:cL,args:S});n(O)}}function o(g,_,y){const x={type:g};return t&&(x.start=_,x.end=_,x.loc={start:y,end:y}),x}function s(g,_,y,x){t&&(g.end=_,g.loc&&(g.loc.end=y))}function i(g,_){const y=g.context(),x=o(3,y.offset,y.startLoc);return x.value=_.replace(fL,dL),s(x,g.currentOffset(),g.currentPosition()),x}function a(g,_){const y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(5,x,S);return E.index=parseInt(_,10),g.nextToken(),s(E,g.currentOffset(),g.currentPosition()),E}function l(g,_){const y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(4,x,S);return E.key=_,g.nextToken(),s(E,g.currentOffset(),g.currentPosition()),E}function c(g,_){const y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(9,x,S);return E.value=_.replace(uL,pL),g.nextToken(),s(E,g.currentOffset(),g.currentPosition()),E}function u(g){const _=g.nextToken(),y=g.context(),{lastOffset:x,lastStartLoc:S}=y,E=o(8,x,S);return _.type!==11?(r(g,Ke.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),E.value="",s(E,x,S),{nextConsumeToken:_,node:E}):(_.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Bn(_)),E.value=_.value||"",s(E,g.currentOffset(),g.currentPosition()),{node:E})}function f(g,_){const y=g.context(),x=o(7,y.offset,y.startLoc);return x.value=_,s(x,g.currentOffset(),g.currentPosition()),x}function d(g){const _=g.context(),y=o(6,_.offset,_.startLoc);let x=g.nextToken();if(x.type===8){const S=u(g);y.modifier=S.node,x=S.nextConsumeToken||g.nextToken()}switch(x.type!==9&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),x=g.nextToken(),x.type===2&&(x=g.nextToken()),x.type){case 10:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=f(g,x.value||"");break;case 4:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=l(g,x.value||"");break;case 5:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=a(g,x.value||"");break;case 6:x.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(x)),y.key=c(g,x.value||"");break;default:{r(g,Ke.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=g.context(),E=o(7,S.offset,S.startLoc);return E.value="",s(E,S.offset,S.startLoc),y.key=E,s(y,S.offset,S.startLoc),{nextConsumeToken:x,node:y}}}return s(y,g.currentOffset(),g.currentPosition()),{node:y}}function p(g){const _=g.context(),y=_.currentType===1?g.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,S=o(2,y,x);S.items=[];let E=null;do{const F=E||g.nextToken();switch(E=null,F.type){case 0:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(i(g,F.value||""));break;case 5:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(a(g,F.value||""));break;case 4:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(l(g,F.value||""));break;case 6:F.value==null&&r(g,Ke.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(F)),S.items.push(c(g,F.value||""));break;case 7:{const V=d(g);S.items.push(V.node),E=V.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const b=_.currentType===1?_.lastOffset:g.currentOffset(),O=_.currentType===1?_.lastEndLoc:g.currentPosition();return s(S,b,O),S}function h(g,_,y,x){const S=g.context();let E=x.items.length===0;const b=o(1,_,y);b.cases=[],b.cases.push(x);do{const O=p(g);E||(E=O.items.length===0),b.cases.push(O)}while(S.currentType!==13);return E&&r(g,Ke.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),s(b,g.currentOffset(),g.currentPosition()),b}function m(g){const _=g.context(),{offset:y,startLoc:x}=_,S=p(g);return _.currentType===13?S:h(g,y,x,S)}function v(g){const _=lL(g,ht({},e)),y=_.context(),x=o(0,y.offset,y.startLoc);return t&&x.loc&&(x.loc.source=g),x.body=m(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(g)),y.currentType!==13&&r(_,Ke.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,g[y.offset]||""),s(x,_.currentOffset(),_.currentPosition()),x}return{parse:v}}function Bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function mL(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Qp(e,t){for(let n=0;n<e.length;n++)_f(e[n],t)}function _f(e,t){switch(e.type){case 1:Qp(e.cases,t),t.helper("plural");break;case 2:Qp(e.items,t);break;case 6:{_f(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 gL(e,t={}){const n=mL(e);n.helper("normalize"),e.body&&_f(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function vL(e){const t=e.body;return t.type===2?Zp(t):t.cases.forEach(n=>Zp(n)),e}function Zp(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=vf(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 Io(e){switch(e.t=e.type,e.type){case 0:{const t=e;Io(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++)Io(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++)Io(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;Io(t.key),t.k=t.key,delete t.key,t.modifier&&(Io(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 _L(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(m,v){i.code+=m}function c(m,v=!0){const g=v?r:"";l(o?g+" ".repeat(m):g)}function u(m=!0){const v=++i.indentLevel;m&&c(v)}function f(m=!0){const v=--i.indentLevel;m&&c(v)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:m=>`_${m}`,needIndent:()=>i.needIndent}}function xL(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Zo(e,t.key),t.modifier?(e.push(", "),Zo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function bL(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&&(Zo(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function yL(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&&(Zo(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function EL(e,t){t.body?Zo(e,t.body):e.push("null")}function Zo(e,t){const{helper:n}=e;switch(t.type){case 0:EL(e,t);break;case 1:yL(e,t);break;case 2:bL(e,t);break;case 6:xL(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 CL=(e,t={})=>{const n=fe(t.mode)?t.mode:"normal",r=fe(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
10
+ `,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=_L(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${vf(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),Zo(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function SL(e,t={}){const n=ht({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=hL(n).parse(e);return r?(s&&vL(a),o&&Io(a),{ast:a,code:""}):(gL(a,n),CL(a,n))}function wL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(so().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(so().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function qn(e){return We(e)&&xf(e)===0&&(gn(e,"b")||gn(e,"body"))}const p1=["b","body"];function AL(e){return jr(e,p1)}const h1=["c","cases"];function TL(e){return jr(e,h1,[])}const m1=["s","static"];function OL(e){return jr(e,m1)}const g1=["i","items"];function NL(e){return jr(e,g1,[])}const v1=["t","type"];function xf(e){return jr(e,v1)}const _1=["v","value"];function Ji(e,t){const n=jr(e,_1);if(n!=null)return n;throw ii(t)}const x1=["m","modifier"];function FL(e){return jr(e,x1)}const b1=["k","key"];function ML(e){const t=jr(e,b1);if(t)return t;throw ii(6)}function jr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(gn(e,o)&&e[o]!=null)return e[o]}return n}const y1=[...p1,...h1,...m1,...g1,...b1,...x1,..._1,...v1];function ii(e){return new Error(`unhandled node type: ${e}`)}function Ql(e){return n=>LL(n,e)}function LL(e,t){const n=AL(t);if(n==null)throw ii(0);if(xf(n)===1){const s=TL(n);return e.plural(s.reduce((i,a)=>[...i,e0(e,a)],[]))}else return e0(e,n)}function e0(e,t){const n=OL(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=NL(t).reduce((o,s)=>[...o,Gc(e,s)],[]);return e.normalize(r)}}function Gc(e,t){const n=xf(t);switch(n){case 3:return Ji(t,n);case 9:return Ji(t,n);case 4:{const r=t;if(gn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(gn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw ii(n)}case 5:{const r=t;if(gn(r,"i")&&dt(r.i))return e.interpolate(e.list(r.i));if(gn(r,"index")&&dt(r.index))return e.interpolate(e.list(r.index));throw ii(n)}case 6:{const r=t,o=FL(r),s=ML(r);return e.linked(Gc(e,s),o?Gc(e,o):void 0,e.type)}case 7:return Ji(t,n);case 8:return Ji(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const IL=e=>e;let Xi=Je();function PL(e,t={}){let n=!1;const r=t.onError||tL;return t.onError=o=>{n=!0,r(o)},{...SL(e,t),detectError:n}}function DL(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&fe(e)){je(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||IL)(e),o=Xi[r];if(o)return o;const{ast:s,detectError:i}=PL(e,{...t,location:!1,jit:!0}),a=Ql(s);return i?a:Xi[r]=a}else{const n=e.cacheKey;if(n){const r=Xi[n];return r||(Xi[n]=Ql(e))}else return Ql(e)}}let ai=null;function kL(e){ai=e}function RL(e,t,n){ai&&ai.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const $L=BL("function:translate");function BL(e){return t=>ai&&ai.emit(e,t)}const pr={INVALID_ARGUMENT:eL,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},VL=24;function hr(e){return _l(e,null,void 0)}function bf(e,t){return t.locale!=null?t0(t.locale):t0(e.locale)}let Zl;function t0(e){if(fe(e))return e;if(ot(e)){if(e.resolvedOnce&&Zl!=null)return Zl;if(e.constructor.name==="Function"){const t=e();if(XM(t))throw hr(pr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Zl=t}else throw hr(pr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hr(pr.NOT_SUPPORT_LOCALE_TYPE)}function HL(e,t,n){return[...new Set([n,...lt(t)?t:We(t)?Object.keys(t):fe(t)?[t]:[n]])]}function zc(e,t,n){const r=fe(n)?n:li,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;lt(i);)i=n0(s,i,t);const a=lt(t)||!$e(t)?t:t.default?t.default:null;i=fe(a)?[a]:a,lt(i)&&n0(s,i,!1),o.__localeChainCache.set(r,s)}return s}function n0(e,t,n){let r=!0;for(let o=0;o<t.length&&je(r);o++){const s=t[o];fe(s)&&(r=UL(e,t[o],n))}return r}function UL(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=jL(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function jL(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),(lt(n)||$e(n))&&n[o]&&(r=n[o])}return r}const Wr=[];Wr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wr[1]={w:[1],".":[2],"[":[4],o:[7]};Wr[2]={w:[2],i:[3,0],0:[3,0]};Wr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wr[5]={"'":[4,0],o:8,l:[5,0]};Wr[6]={'"':[4,0],o:8,l:[6,0]};const WL=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function GL(e){return WL.test(e)}function zL(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 KL(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 YL(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:GL(t)?zL(t):"*"+t}function qL(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=YL(i),i===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=KL(s),f=Wr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const r0=new Map;function JL(e,t){return We(e)?e[t]:null}function XL(e,t){if(!We(e))return null;let n=r0.get(t);if(n||(n=qL(t),n&&r0.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(y1.includes(i)&&qn(o)||!We(o)||!gn(o,i))return null;const a=o[i];if(a===void 0||ot(o))return null;o=a,s++}return o}const QL="11.4.4",xl=-1,li="en-US",Fa="",o0=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ZL(){return{upper:(e,t)=>t==="text"&&fe(e)?e.toUpperCase():t==="vnode"&&We(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&fe(e)?e.toLowerCase():t==="vnode"&&We(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&fe(e)?o0(e):t==="vnode"&&We(e)&&"__v_isVNode"in e?o0(e.children):e}}let E1;function e4(e){E1=e}let C1;function t4(e){C1=e}let S1;function n4(e){S1=e}let w1=null;const r4=e=>{w1=e},o4=()=>w1;let A1=null;const s0=e=>{A1=e},s4=()=>A1;let i0=0;function i4(e={}){const t=ot(e.onWarn)?e.onWarn:HM,n=fe(e.version)?e.version:QL,r=fe(e.locale)||ot(e.locale)?e.locale:li,o=ot(r)?li:r,s=lt(e.fallbackLocale)||$e(e.fallbackLocale)||fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=$e(e.messages)?e.messages:ec(o),a=$e(e.datetimeFormats)?e.datetimeFormats:ec(o),l=$e(e.numberFormats)?e.numberFormats:ec(o),c=ht(Je(),e.modifiers,ZL()),u=e.pluralRules||Je(),f=ot(e.missing)?e.missing:null,d=je(e.missingWarn)||Qo(e.missingWarn)?e.missingWarn:!0,p=je(e.fallbackWarn)||Qo(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=ot(e.postTranslation)?e.postTranslation:null,g=$e(e.processor)?e.processor:null,_=je(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,x=ot(e.messageCompiler)?e.messageCompiler:E1,S=ot(e.messageResolver)?e.messageResolver:C1||JL,E=ot(e.localeFallbacker)?e.localeFallbacker:S1||HL,b=We(e.fallbackContext)?e.fallbackContext:void 0,O=e,F=We(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,V=We(O.__numberFormatters)?O.__numberFormatters:new Map,W=We(O.__meta)?O.__meta:{};i0++;const I={version:n,cid:i0,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:_,escapeParameter:y,messageCompiler:x,messageResolver:S,localeFallbacker:E,fallbackContext:b,onWarn:t,__meta:W};return I.datetimeFormats=a,I.numberFormats=l,I.__datetimeFormatters=F,I.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&RL(I,n,W),I}const ec=e=>({[e]:Je()});function yf(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return fe(a)?a:t}else return t}function Es(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function a4(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function l4(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(a4(e,t[r]))return!0;return!1}function a0(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!fe(t[0])&&!f1(t[0])&&!dt(t[0]))return Fa;const[l,c,u,f]=Kc(...t),d=je(u.missingWarn)?u.missingWarn:e.missingWarn;je(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=bf(e,u),m=i(e,o,h);if(!fe(l)||l==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(c);let v={},g,_=null;const y="datetime format";for(let E=0;E<m.length&&(g=m[E],v=n[g]||{},_=v[l],!$e(_));E++)yf(e,l,g,d,y);if(!$e(_)||!fe(g))return r?xl:l;let x=`${g}__${l}`;vl(f)||(x=`${x}__${JSON.stringify(f)}`);let S=a.get(x);return S||(S=new Intl.DateTimeFormat(g,ht({},_,f)),a.set(x,S)),p?S.formatToParts(c):S.format(c)}const T1=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Kc(...e){const[t,n,r,o]=e,s=Je();let i=Je(),a;if(fe(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw hr(pr.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw hr(pr.INVALID_ISO_DATE_ARGUMENT)}}else if(f1(t)){if(isNaN(t.getTime()))throw hr(pr.INVALID_DATE_ARGUMENT);a=t}else if(dt(t))a=t;else throw hr(pr.INVALID_ARGUMENT);return fe(n)?s.key=n:$e(n)&&Object.keys(n).forEach(l=>{T1.includes(l)?i[l]=n[l]:s[l]=n[l]}),fe(r)?s.locale=r:$e(r)&&(i=r),$e(o)&&(i=o),[s.key||"",a,s,i]}function l0(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function c0(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!dt(t[0]))return Fa;const[l,c,u,f]=Yc(...t),d=je(u.missingWarn)?u.missingWarn:e.missingWarn;je(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=bf(e,u),m=i(e,o,h);if(!fe(l)||l==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(c);let v={},g,_=null;const y="number format";for(let E=0;E<m.length&&(g=m[E],v=n[g]||{},_=v[l],!$e(_));E++)yf(e,l,g,d,y);if(!$e(_)||!fe(g))return r?xl:l;let x=`${g}__${l}`;vl(f)||(x=`${x}__${JSON.stringify(f)}`);let S=a.get(x);return S||(S=new Intl.NumberFormat(g,ht({},_,f)),a.set(x,S)),p?S.formatToParts(c):S.format(c)}const O1=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Yc(...e){const[t,n,r,o]=e,s=Je();let i=Je();if(!dt(t))throw hr(pr.INVALID_ARGUMENT);const a=t;return fe(n)?s.key=n:$e(n)&&Object.keys(n).forEach(l=>{O1.includes(l)?i[l]=n[l]:s[l]=n[l]}),fe(r)?s.locale=r:$e(r)&&(i=r),$e(o)&&(i=o),[s.key||"",a,s,i]}function u0(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const c4=e=>e,u4=e=>"",f4="text",d4=e=>e.length===0?"":vf(e),p4=QM;function tc(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function h4(e){const t=dt(e.pluralIndex)?e.pluralIndex:-1;return dt(e.named?.count)?e.named.count:dt(e.named?.n)?e.named.n:t}function m4(e={}){const t=e.locale,n=h4(e),r=fe(t)&&ot(e.pluralRules?.[t])?e.pluralRules[t]:tc,o=r===tc?void 0:tc,s=g=>g[r(n,g.length,o)],i=e.list||[],a=g=>i[g],l=e.named||Je();dt(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=g=>l[g];function u(g,_){const y=ot(e.messages)?e.messages(g,!!_):We(e.messages)?e.messages[g]:!1;return y||(e.parent?e.parent.message(g):u4)}const f=g=>e.modifiers?e.modifiers[g]:c4,d=ot(e.processor?.normalize)?e.processor.normalize:d4,p=ot(e.processor?.interpolate)?e.processor.interpolate:p4,h=fe(e.processor?.type)?e.processor.type:f4,v={list:a,named:c,plural:s,linked:(g,..._)=>{const[y,x]=_;let S="text",E="";_.length===1?We(y)?(E=y.modifier||E,S=y.type||S):fe(y)&&(E=y||E):_.length===2&&(fe(y)&&(E=y||E),fe(x)&&(S=x||S));const b=u(g,!0)(v),O=b===""||b===void 0?g:b,F=S==="vnode"&&lt(O)&&E?O[0]:O;return E?f(E)(F,S):F},message:u,type:h,interpolate:p,normalize:d,values:ht(Je(),i,l)};return v}const f0=()=>"",hn=e=>ot(e);function d0(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=qc(...t),u=je(c.missingWarn)?c.missingWarn:e.missingWarn,f=je(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=je(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=fe(c.default)||je(c.default)?je(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,m=n||h!=null&&(fe(h)||ot(h)),v=bf(e,c);d&&g4(c);let[g,_,y]=p?[l,v,a[v]||Je()]:N1(e,l,v,i,f,u),x=g,S=l;if(!p&&!(fe(x)||qn(x)||hn(x))&&m&&(x=h,S=x),!p&&(!(fe(x)||qn(x)||hn(x))||!fe(_)))return o?xl:l;let E=!1;const b=()=>{E=!0},O=hn(x)?x:F1(e,l,_,x,S,b);if(E)return x;const F=x4(e,_,y,c),V=m4(F),W=v4(e,O,V);let I=r?r(W,l):W;if(d&&fe(I)&&(I=qM(I)),__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:fe(l)?l:hn(x)?x.key:"",locale:_||(hn(x)?x.locale:""),format:fe(x)?x:hn(x)?x.source:"",message:I};Y.meta=ht({},e.__meta,o4()||{}),$L(Y)}return I}function g4(e){lt(e.list)?e.list=e.list.map(t=>fe(t)?qp(t):t):We(e.named)&&Object.keys(e.named).forEach(t=>{fe(e.named[t])&&(e.named[t]=qp(e.named[t]))})}function N1(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=Je(),d,p=null;const h="translate";for(let m=0;m<u.length&&(d=u[m],f=i[d]||Je(),(p=l(f,t))===null&&(p=f[t]),!(fe(p)||qn(p)||hn(p)));m++)if(!l4(d,u)){const v=yf(e,t,d,s,h);v!==t&&(p=v)}return[p,d,f]}function F1(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(hn(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,_4(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function v4(e,t,n){return t(n)}function qc(...e){const[t,n,r]=e,o=Je();if(!fe(t)&&!dt(t)&&!hn(t)&&!qn(t))throw hr(pr.INVALID_ARGUMENT);const s=dt(t)?String(t):(hn(t),t);return dt(n)?o.plural=n:fe(n)?o.default=n:$e(n)&&!vl(n)?o.named=n:lt(n)&&(o.list=n),dt(r)?o.plural=r:fe(r)?o.default=r:$e(r)&&ht(o,r),[s,o]}function _4(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>UM(t,n,i)}}function x4(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,h)=>{let m=i(n,p);if(m==null&&(u||h)){const[v,,g]=N1(u||e,p,t,a,l,c);m=v??i(g,p)}if(fe(m)||qn(m)){let v=!1;const _=F1(e,p,t,m,p,()=>{v=!0});return v?f0:_}else return hn(m)?m:f0}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),dt(r.plural)&&(d.pluralIndex=r.plural),d}wL();const b4="11.4.4";function y4(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(so().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(so().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(so().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(so().__INTLIFY_PROD_DEVTOOLS__=!1)}const Gt={UNEXPECTED_RETURN_TYPE:VL,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 qt(e,...t){return _l(e,null,void 0)}const Jc=Ur("__translateVNode"),Xc=Ur("__datetimeParts"),Qc=Ur("__numberParts"),M1=Ur("__setPluralRules"),L1=Ur("__injectWithOption"),Ro=Ur("__dispose");function ci(e){if(!We(e)||qn(e))return e;for(const t in e)if(gn(e,t))if(!t.includes("."))We(e[t])&&ci(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Je()),!We(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(qn(o)?y1.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!qn(o)){const i=o[n[r]];We(i)&&ci(i)}}return e}function Ef(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=$e(n)?n:lt(r)?Je():{[e]:Je()};if(lt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||Je(),oa(c,i[l])):oa(c,i)}else fe(a)&&oa(JSON.parse(a),i)}),o==null&&s)for(const a in i)gn(i,a)&&ci(i[a]);return i}function I1(e){return e.type}function P1(e,t,n){let r=We(t.messages)?t.messages:Je();"__i18nGlobal"in n&&(r=Ef(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(We(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(We(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function p0(e){return ee(Eo,null,e,0)}function ui(){return Ye()}const h0="__INTLIFY_META__",m0=()=>[],E4=()=>!1;let g0=0;function v0(e){return((t,n,r,o)=>e(n,r,ui()||void 0,o))}const C4=()=>{const e=ui();let t=null;return e&&(t=I1(e)[h0])?{[h0]:t}:null};function Ma(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Na?Z:wt;let i=je(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:fe(e.locale)?e.locale:li),l=s(t&&i?t.fallbackLocale.value:fe(e.fallbackLocale)||lt(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(Ef(a.value,e)),u=s($e(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s($e(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:je(e.missingWarn)||Qo(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:je(e.fallbackWarn)||Qo(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:je(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,v=ot(e.missing)?e.missing:null,g=ot(e.missing)?v0(e.missing):null,_=ot(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:je(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const S=t?t.modifiers:$e(e.modifiers)?e.modifiers:{};let E=e.pluralRules||t&&t.pluralRules,b;b=(()=>{r&&s0(null);const k={version:b4,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:E,missing:g===null?void 0:g,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:y,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};k.datetimeFormats=u.value,k.numberFormats=f.value,k.__datetimeFormatters=$e(b)?b.__datetimeFormatters:void 0,k.__numberFormatters=$e(b)?b.__numberFormatters:void 0;const G=i4(k);return r&&s0(G),G})(),Es(b,a.value,l.value);function F(){return[a.value,l.value,c.value,u.value,f.value]}const V=L({get:()=>a.value,set:k=>{b.locale=k,a.value=k}}),W=L({get:()=>l.value,set:k=>{b.fallbackLocale=k,l.value=k,Es(b,a.value,k)}}),I=L(()=>c.value),Y=L(()=>u.value),H=L(()=>f.value);function D(){return ot(_)?_:null}function M(k){_=k,b.postTranslation=k}function R(){return v}function j(k){k!==null&&(g=v0(k)),v=k,b.missing=g}const ne=(k,G,ve,ye,Me,Ge)=>{F();let Be;try{__INTLIFY_PROD_DEVTOOLS__,r||(b.fallbackContext=t?s4():void 0),Be=k(b)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(b.fallbackContext=void 0)}if(ve!=="translate exists"&&dt(Be)&&Be===xl||ve==="translate exists"&&!Be){const[Rt,Et]=G();return t&&h?ye(t):Me(Rt)}else{if(Ge(Be))return Be;throw qt(Gt.UNEXPECTED_RETURN_TYPE)}};function le(...k){return ne(G=>Reflect.apply(d0,null,[G,...k]),()=>qc(...k),"translate",G=>Reflect.apply(G.t,G,[...k]),G=>G,G=>fe(G))}function xe(...k){const[G,ve,ye]=k;if(ye&&!We(ye))throw qt(Gt.INVALID_ARGUMENT);return le(G,ve,ht({resolvedMessage:!0},ye||{}))}function Ee(...k){return ne(G=>Reflect.apply(a0,null,[G,...k]),()=>Kc(...k),"datetime format",G=>Reflect.apply(G.d,G,[...k]),()=>Fa,G=>fe(G)||lt(G))}function Ne(...k){return ne(G=>Reflect.apply(c0,null,[G,...k]),()=>Yc(...k),"number format",G=>Reflect.apply(G.n,G,[...k]),()=>Fa,G=>fe(G)||lt(G))}function Fe(k){return k.map(G=>fe(G)||dt(G)||je(G)?p0(String(G)):G)}const He={normalize:Fe,interpolate:k=>k,type:"vnode"};function K(...k){return ne(G=>{let ve;const ye=G;try{ye.processor=He,ve=Reflect.apply(d0,null,[ye,...k])}finally{ye.processor=null}return ve},()=>qc(...k),"translate",G=>G[Jc](...k),G=>[p0(G)],G=>lt(G))}function se(...k){return ne(G=>Reflect.apply(c0,null,[G,...k]),()=>Yc(...k),"number format",G=>G[Qc](...k),m0,G=>fe(G)||lt(G))}function oe(...k){return ne(G=>Reflect.apply(a0,null,[G,...k]),()=>Kc(...k),"datetime format",G=>G[Xc](...k),m0,G=>fe(G)||lt(G))}function re(k){E=k,b.pluralRules=E}function Ce(k,G){return ne(()=>{if(!k)return!1;const ve=fe(G)?G:a.value,ye=fe(G)?[ve]:zc(b,l.value,ve);for(let Me=0;Me<ye.length;Me++){const Ge=$(ye[Me]);let Be=b.messageResolver(Ge,k);if(Be===null&&(Be=Ge[k]),qn(Be)||hn(Be)||fe(Be))return!0}return!1},()=>[k],"translate exists",ve=>Reflect.apply(ve.te,ve,[k,G]),E4,ve=>je(ve))}function T(k){let G=null;const ve=zc(b,l.value,a.value);for(let ye=0;ye<ve.length;ye++){const Me=c.value[ve[ye]]||{},Ge=b.messageResolver(Me,k);if(Ge!=null){G=Ge;break}}return G}function N(k){const G=T(k);return G??(t?t.tm(k)||{}:{})}function $(k){return c.value[k]||{}}function q(k,G){if(o){const ve={[k]:G};for(const ye in ve)gn(ve,ye)&&ci(ve[ye]);G=ve[k]}c.value[k]=G,b.messages=c.value}function X(k,G){c.value[k]=c.value[k]||{};const ve={[k]:G};if(o)for(const ye in ve)gn(ve,ye)&&ci(ve[ye]);G=ve[k],oa(G,c.value[k]),b.messages=c.value}function J(k){return u.value[k]||{}}function C(k,G){u.value[k]=G,b.datetimeFormats=u.value,l0(b,k,G)}function w(k,G){u.value[k]=ht(u.value[k]||{},G),b.datetimeFormats=u.value,l0(b,k,G)}function P(k){return f.value[k]||{}}function B(k,G){f.value[k]=G,b.numberFormats=f.value,u0(b,k,G)}function ie(k,G){f.value[k]=ht(f.value[k]||{},G),b.numberFormats=f.value,u0(b,k,G)}g0++,t&&Na&&(_e(t.locale,k=>{i&&(a.value=k,b.locale=k,Es(b,a.value,l.value))}),_e(t.fallbackLocale,k=>{i&&(l.value=k,b.fallbackLocale=k,Es(b,a.value,l.value))}));const Q={id:g0,locale:V,fallbackLocale:W,get inheritLocale(){return i},set inheritLocale(k){i=k,k&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Es(b,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:I,get modifiers(){return S},get pluralRules(){return E||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(k){d=k,b.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(k){p=k,b.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(k){h=k},get fallbackFormat(){return m},set fallbackFormat(k){m=k,b.fallbackFormat=m},get warnHtmlMessage(){return y},set warnHtmlMessage(k){y=k,b.warnHtmlMessage=k},get escapeParameter(){return x},set escapeParameter(k){x=k,b.escapeParameter=k},t:le,getLocaleMessage:$,setLocaleMessage:q,mergeLocaleMessage:X,getPostTranslationHandler:D,setPostTranslationHandler:M,getMissingHandler:R,setMissingHandler:j,[M1]:re};return Q.datetimeFormats=Y,Q.numberFormats=H,Q.rt=xe,Q.te=Ce,Q.tm=N,Q.d=Ee,Q.n=Ne,Q.getDateTimeFormat=J,Q.setDateTimeFormat=C,Q.mergeDateTimeFormat=w,Q.getNumberFormat=P,Q.setNumberFormat=B,Q.mergeNumberFormat=ie,Q[L1]=n,Q[Jc]=K,Q[Xc]=oe,Q[Qc]=se,Q}function S4(e){const t=fe(e.locale)?e.locale:li,n=fe(e.fallbackLocale)||lt(e.fallbackLocale)||$e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ot(e.missing)?e.missing:void 0,o=je(e.silentTranslationWarn)||Qo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=je(e.silentFallbackWarn)||Qo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=je(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=$e(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ot(e.postTranslation)?e.postTranslation:void 0,f=fe(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=je(e.sync)?e.sync:!0;let h=e.messages;if($e(e.sharedMessages)){const S=e.sharedMessages;h=Object.keys(S).reduce((b,O)=>{const F=b[O]||(b[O]={});return ht(F,S[O]),b},h||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,_=e.datetimeFormats,y=e.numberFormats,x=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:x,datetimeFormats:_,numberFormats:y,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:m,__root:v,__injectWithOption:g}}function Zc(e={}){const t=Ma(S4(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 je(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=je(o)?!o:o},get silentFallbackWarn(){return je(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=je(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 w4(e,t,n){return{beforeCreate(){const r=ui();if(!r)throw qt(Gt.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=_0(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Zc(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=_0(e,o);else{this.$i18n=Zc({__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&&P1(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ui();if(!r)throw qt(Gt.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function _0(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[M1](t.pluralizationRules||e.pluralizationRules);const n=Ef(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 Cf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function A4({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ke?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Je())}function D1(){return ke}const T4=ue({name:"i18n-t",props:ht({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>dt(e)||!isNaN(e)}},Cf),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||tr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=Je();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=fe(e.plural)?+e.plural:e.plural);const u=A4(t,l);return o[Jc](e.keypath,u,c)},i=ht(Je(),r),a=fe(e.tag)||We(e.tag)?e.tag:D1();return We(a)?jt(a,i,{default:s}):jt(a,i,s())}}}),x0=T4;function O4(e){return lt(e)&&!fe(e[0])}function k1(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=Je();e.locale&&(c.locale=e.locale),fe(e.format)?c.key=e.format:We(e.format)&&(fe(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,h)=>n.includes(h)?ht(Je(),p,{[h]:e.format[h]}):p,Je()));const f=r(e.value,c,u);let d=[c.key];return lt(f)?d=f.map((p,h)=>{const m=o[p.type],v=m?m({[p.type]:p.value,index:h,parts:f}):[p.value];return O4(v)&&(v[0].key=`${p.type}-${h}`),v}):fe(f)&&(d=[f]),d},a=ht(Je(),s),l=fe(e.tag)||We(e.tag)?e.tag:D1();return We(l)?jt(l,a,{default:i}):jt(l,a,i())}}const N4=ue({name:"i18n-n",props:ht({value:{type:Number,required:!0},format:{type:[String,Object]}},Cf),setup(e,t){const n=e.i18n||tr({useScope:e.scope,__useComponent:!0});return k1(e,t,O1,(...r)=>n[Qc](...r))}}),b0=N4;function F4(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 M4(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw qt(Gt.UNEXPECTED_ERROR);const c=F4(e,a.$),u=y0(l);return[Reflect.apply(c.t,c,[...E0(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Na&&(i.__i18nWatcher=_e(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Na&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=y0(a);i.textContent=Reflect.apply(l.t,l,[...E0(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function y0(e){if(fe(e))return{path:e};if($e(e)){if(!("path"in e))throw qt(Gt.REQUIRED_VALUE,"path");return e}else throw qt(Gt.INVALID_VALUE)}function E0(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return fe(n)&&(i.locale=n),dt(o)&&(i.plural=o),dt(s)&&(i.plural=s),[t,a,i]}function L4(e,t,...n){const r=$e(n[0])?n[0]:{};(!je(r.globalInstall)||r.globalInstall)&&([x0.name,"I18nT"].forEach(s=>e.component(s,x0)),[b0.name,"I18nN"].forEach(s=>e.component(s,b0)),[w0.name,"I18nD"].forEach(s=>e.component(s,w0))),e.directive("t",M4(t))}const I4=Ur("global-vue-i18n");function P4(e={}){const t=__VUE_I18N_LEGACY_API__&&je(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=je(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=D4(e,t),i=Ur("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),$e(d[0])){const m=d[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let p=null;!t&&n&&(p=U4(f,u.global)),__VUE_I18N_FULL_INSTALL__&&L4(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(w4(s,s.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function tr(e={}){const t=ui();if(t==null)throw qt(Gt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw qt(Gt.NOT_INSTALLED);const n=k4(t),r=$4(n),o=I1(t),s=R4(e,o);if(s==="global")return P1(r,e,o),r;if(s==="parent"){let l=C0(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw qt(Gt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=ht({},e),u=C0(n,t);c.__root=u||r;const f=Ma(c);return l.__composerExtend&&(f[Ro]=l.__composerExtend(f)),Ua()&&Nh(()=>{const p=f[Ro];p&&(p(),delete f[Ro])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=ht({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ma(l),i.__composerExtend&&(a[Ro]=i.__composerExtend(a)),V4(i,t,a),i.__setInstance(t,a)}return a}function D4(e,t){const n=tx(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Zc(e)):n.run(()=>Ma(e));if(r==null)throw qt(Gt.UNEXPECTED_ERROR);return[n,r]}function k4(e){const t=Te(e.isCE?I4:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw qt(e.isCE?Gt.NOT_INSTALLED_WITH_PROVIDE:Gt.UNEXPECTED_ERROR);return t}function R4(e,t){return vl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function $4(e){return e.mode==="composition"?e.global:e.global.__composer}function C0(e,t,n=!1){let r=null;const o=t.root;let s=B4(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[L1]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function B4(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function V4(e,t,n){gt(()=>{},t),yo(()=>{const r=n;e.__deleteInstance(t);const o=r[Ro];o&&(o(),delete r[Ro])},t)}const H4=["locale","fallbackLocale","availableLocales"],S0=["t","rt","d","n","tm","te"];function U4(e,t){const n=Object.create(null);return H4.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw qt(Gt.UNEXPECTED_ERROR);const i=nt(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,S0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw qt(Gt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,S0.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const j4=ue({name:"i18n-d",props:ht({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cf),setup(e,t){const n=e.i18n||tr({useScope:e.scope,__useComponent:!0});return k1(e,t,T1,(...r)=>n[Xc](...r))}}),w0=j4;y4();e4(DL);t4(XL);n4(zc);if(__INTLIFY_PROD_DEVTOOLS__){const e=so();e.__INTLIFY__=!0,kL(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var W4={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const G4=()=>{const{locale:e}=tr(),t={zh:W4,en:Vg};return{locale:L(()=>t[e.value])}},z4=e=>{const{params:{instanceUid:t}}=kt(),n=cn(e),{messageListener:r,sendMessageToTop:o}=un(),{addListener:s}=r(),i=Z([]);return s(Ie.SETTING_DATA_SET,a=>{i.value=a}),o(Ie.SETTING_DATA_GET,"",n,t),{depsSetting:i}},K4={ref:"compListContainer"},Y4=ue({__name:"App",setup(e){const{locale:t}=tr(),{locale:n}=G4(),r=Gy(),o=Ny(r),{params:{instanceUid:s}}=kt(),i=cn(!1),{sendMessageToTop:a,messageListener:l}=un(),{addListener:c}=l(),u=da("compListContainer"),{height:f}=tl(u);return c(Ie.LOCALE_SET,d=>{t.value=d}),c(Ie.THEME_CHANGE_SET,d=>{o(d.isDark??!1)}),a(Ie.LOCALE_GET,"",i,s),a(Ie.THEME_CHANGE_GET,"",i,s),mi(()=>{f.value&&a(Ie.UPDATE_IFRAME_HEIGHT,f.value,i,s)}),(d,p)=>{const h=sr("router-view");return U(),he(A(DN),{locale:A(n)},{default:pe(()=>[te("div",K4,[ee(h)],512)]),_:1},8,["locale"])}}});const Po=typeof document<"u";function R1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function q4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&R1(e.default)}const ze=Object.assign;function nc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Pn(o)?o.map(e):e(o)}return n}const js=()=>{},Pn=Array.isArray;function A0(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let st=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const $1=Symbol("");st.MATCHER_NOT_FOUND+"",st.NAVIGATION_GUARD_REDIRECT+"",st.NAVIGATION_ABORTED+"",st.NAVIGATION_CANCELLED+"",st.NAVIGATION_DUPLICATED+"";function es(e,t){return ze(new Error,{type:e,[$1]:!0},t)}function or(e,t){return e instanceof Error&&$1 in e&&(t==null||!!(e.type&t))}const J4=["params","query","hash"];function X4(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of J4)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Q4=Symbol(""),T0=Symbol(""),Sf=Symbol(""),B1=Symbol(""),eu=Symbol("");const V1=/#/g,Z4=/&/g,eI=/\//g,tI=/=/g,nI=/\?/g,H1=/\+/g,rI=/%5B/g,oI=/%5D/g,U1=/%5E/g,sI=/%60/g,j1=/%7B/g,iI=/%7C/g,W1=/%7D/g,aI=/%20/g;function wf(e){return e==null?"":encodeURI(""+e).replace(iI,"|").replace(rI,"[").replace(oI,"]")}function lI(e){return wf(e).replace(j1,"{").replace(W1,"}").replace(U1,"^")}function tu(e){return wf(e).replace(H1,"%2B").replace(aI,"+").replace(V1,"%23").replace(Z4,"%26").replace(sI,"`").replace(j1,"{").replace(W1,"}").replace(U1,"^")}function cI(e){return tu(e).replace(tI,"%3D")}function uI(e){return wf(e).replace(V1,"%23").replace(nI,"%3F")}function fI(e){return uI(e).replace(eI,"%2F")}function La(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const dI=/\/$/,pI=e=>e.replace(dI,"");function rc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),s=t.slice(l,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=vI(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:La(i)}}function hI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function O0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mI(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ts(t.matched[r],n.matched[o])&&G1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ts(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function G1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!gI(e[n],t[n]))return!1;return!0}function gI(e,t){return Pn(e)?N0(e,t):Pn(t)?N0(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function N0(e,t){return Pn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let nu=(function(e){return e.pop="pop",e.push="push",e})({}),oc=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function _I(e){if(!e)if(Po){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),pI(e)}const xI=/^[^#]+#/;function bI(e,t){return e.replace(xI,"#")+t}function yI(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 bl=()=>({left:window.scrollX,top:window.scrollY});function EI(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=yI(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 F0(e,t){return(history.state?history.state.position-t:-1)+e}const ru=new Map;function CI(e,t){ru.set(e,t)}function SI(e){const t=ru.get(e);return ru.delete(e),t}function wI(e){return typeof e=="string"||e&&typeof e=="object"}function z1(e){return typeof e=="string"||typeof e=="symbol"}function AI(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(H1," "),s=o.indexOf("="),i=La(s<0?o:o.slice(0,s)),a=s<0?null:La(o.slice(s+1));if(i in t){let l=t[i];Pn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function M0(e){let t="";for(let n in e){const r=e[n];if(n=cI(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Pn(r)?r.map(o=>o&&tu(o)):[r&&tu(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function TI(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Cs(){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 Pr(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(es(st.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):wI(d)?l(es(st.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function sc(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(R1(l)){const c=(l.__vccOpts||l)[t];c&&s.push(Pr(c,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=q4(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Pr(d,n,r,i,a,o)()}))}}return s}function OI(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>ts(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>ts(c,l))||o.push(l))}return[n,r,o]}let NI=()=>location.protocol+"//"+location.host;function K1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),O0(a,"")}return O0(n,e)+r+o}function FI(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=K1(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}v=m?d.position-m.position:0}else r(p);o.forEach(g=>{g(n.value,h,{delta:v,type:nu.pop,direction:v?v>0?oc.forward:oc.back:oc.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ze({},d.state,{scroll:bl()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function L0(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?bl():null}}function MI(e){const{history:t,location:n}=window,r={value:K1(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:NI()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){s(l,ze({},t.state,L0(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=ze({},o.value,t.state,{forward:l,scroll:bl()});s(u.current,u,!0),s(l,ze({},L0(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function LI(e){e=_I(e);const t=MI(e),n=FI(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ze({location:"",base:e,go:r,createHref:bI.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let io=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var bt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(bt||{});const II={type:io.Static,value:""},PI=/[a-zA-Z0-9_]/;function DI(e){if(!e)return[[]];if(e==="/")return[[II]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=bt.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===bt.Static?s.push({type:io.Static,value:c}):n===bt.Param||n===bt.ParamRegExp||n===bt.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:io.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;)switch(l=e[a++],n){case bt.Static:l==="\\"?(r=n,n=bt.EscapeNext):l==="/"?(c&&f(),i()):l===":"?(f(),n=bt.Param):d();break;case bt.EscapeNext:d(),n=r;break;case bt.Param:l==="("?n=bt.ParamRegExp:PI.test(l)?d():(f(),n=bt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case bt.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=bt.ParamRegExpEnd:u+=l;break;case bt.ParamRegExpEnd:f(),n=bt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===bt.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const I0="[^/]+?",kI={sensitive:!1,strict:!1,start:!0,end:!0};var Ht=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ht||{});const RI=/[.+*?^${}()[\]/\\]/g;function $I(e,t){const n=ze({},kI,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[Ht.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=Ht.Segment+(n.sensitive?Ht.BonusCaseSensitive:0);if(d.type===io.Static)f||(o+="/"),o+=d.value.replace(RI,"\\$&"),p+=Ht.Static;else if(d.type===io.Param){const{value:h,repeatable:m,optional:v,regexp:g}=d;s.push({name:h,repeatable:m,optional:v});const _=g||I0;if(_!==I0){p+=Ht.BonusCustomRegExp;try{new RegExp(`(${_})`)}catch(x){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+x.message)}}let y=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=v&&c.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,p+=Ht.Dynamic,v&&(p+=Ht.BonusOptional),m&&(p+=Ht.BonusRepeatable),_===".*"&&(p+=Ht.BonusWildcard)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=Ht.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",h=s[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===io.Static)u+=p.value;else if(p.type===io.Param){const{value:h,repeatable:m,optional:v}=p,g=h in c?c[h]:"";if(Pn(g)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=Pn(g)?g.join("/"):g;if(!_)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function BI(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]===Ht.Static+Ht.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ht.Static+Ht.Segment?1:-1:0}function Y1(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=BI(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(P0(r))return 1;if(P0(o))return-1}return o.length-r.length}function P0(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const VI={strict:!1,end:!0,sensitive:!1};function HI(e,t,n){const r=$I(DI(e.path),n),o=ze(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function UI(e,t){const n=[],r=new Map;t=A0(VI,t);function o(f){return r.get(f)}function s(f,d,p){const h=!p,m=k0(f);m.aliasOf=p&&p.record;const v=A0(t,f),g=[m];if("alias"in f){const x=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of x)g.push(k0(ze({},m,{components:p?p.record.components:m.components,path:S,aliasOf:p?p.record:m})))}let _,y;for(const x of g){const{path:S}=x;if(d&&S[0]!=="/"){const E=d.record.path,b=E[E.length-1]==="/"?"":"/";x.path=d.record.path+(S&&b+S)}if(_=HI(x,d,v),p?p.alias.push(_):(y=y||_,y!==_&&y.alias.push(_),h&&f.name&&!R0(_)&&i(f.name)),q1(_)&&l(_),m.children){const E=m.children;for(let b=0;b<E.length;b++)s(E[b],_,p&&p.children[b])}p=p||_}return y?()=>{i(y)}:js}function i(f){if(z1(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=GI(f,n);n.splice(d,0,f),f.record.name&&!R0(f)&&r.set(f.record.name,f)}function c(f,d){let p,h={},m,v;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw es(st.MATCHER_NOT_FOUND,{location:f});v=p.record.name,h=ze(D0(d.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&D0(f.params,p.keys.map(y=>y.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(y=>y.re.test(m)),p&&(h=p.parse(m),v=p.record.name,p.keys.forEach(y=>{y.optional&&!h[y.name]&&delete h[y.name]}));else{if(p=d.name?r.get(d.name):n.find(y=>y.re.test(d.path)),!p)throw es(st.MATCHER_NOT_FOUND,{location:f,currentLocation:d});v=p.record.name,h=ze({},d.params,f.params),m=p.stringify(h)}const g=[];let _=p;for(;_;)g.unshift(_.record),_=_.parent;return{name:v,path:m,params:h,matched:g,meta:WI(g)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function D0(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function k0(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:jI(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 jI(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 R0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function WI(e){return e.reduce((t,n)=>ze(t,n.meta),{})}function GI(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Y1(e,t[s])<0?r=s:n=s+1}const o=zI(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function zI(e){let t=e;for(;t=t.parent;)if(q1(t)&&Y1(e,t)===0)return t}function q1({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function $0(e){const t=Te(Sf),n=Te(B1),r=L(()=>{const l=A(e.to);return t.resolve(l)}),o=L(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(ts.bind(null,u));if(d>-1)return d;const p=B0(l[c-2]);return c>1&&B0(u)===p&&f[f.length-1].path!==p?f.findIndex(ts.bind(null,l[c-2])):d}),s=L(()=>o.value>-1&&XI(n.params,r.value.params)),i=L(()=>o.value>-1&&o.value===n.matched.length-1&&G1(n.params,r.value.params));function a(l={}){if(JI(l)){const c=t[A(e.replace)?"replace":"push"](A(e.to)).catch(js);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:L(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function KI(e){return e.length===1?e[0]:e}const YI=ue({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:$0,setup(e,{slots:t}){const n=Jt($0(e)),{options:r}=Te(Sf),o=L(()=>({[V0(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[V0(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&KI(t.default(n));return e.custom?s:jt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),qI=YI;function JI(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 XI(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(!Pn(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function B0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const V0=(e,t,n)=>e??t??n,QI=ue({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Te(eu),o=L(()=>e.route||r.value),s=Te(T0,0),i=L(()=>{let c=A(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=L(()=>o.value.matched[i.value]);At(T0,L(()=>i.value+1)),At(Q4,a),At(eu,o);const l=Z();return _e(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!ts(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return H0(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=jt(d,ze({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return H0(n.default,{Component:v,route:c})||v}}});function H0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ZI=QI;function eP(e){const t=UI(e.routes,e),n=e.parseQuery||AI,r=e.stringifyQuery||M0,o=e.history,s=Cs(),i=Cs(),a=Cs(),l=wt(Or);let c=Or;Po&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=nc.bind(null,K=>""+K),f=nc.bind(null,fI),d=nc.bind(null,La);function p(K,se){let oe,re;return z1(K)?(oe=t.getRecordMatcher(K),re=se):re=K,t.addRoute(re,oe)}function h(K){const se=t.getRecordMatcher(K);se&&t.removeRoute(se)}function m(){return t.getRoutes().map(K=>K.record)}function v(K){return!!t.getRecordMatcher(K)}function g(K,se){if(se=ze({},se||l.value),typeof K=="string"){const $=rc(n,K,se.path),q=t.resolve({path:$.path},se),X=o.createHref($.fullPath);return ze($,q,{params:d(q.params),redirectedFrom:void 0,href:X})}let oe;if(K.path!=null)oe=ze({},K,{path:rc(n,K.path,se.path).path});else{const $=ze({},K.params);for(const q in $)$[q]==null&&delete $[q];oe=ze({},K,{params:f($)}),se.params=f(se.params)}const re=t.resolve(oe,se),Ce=K.hash||"";re.params=u(d(re.params));const T=hI(r,ze({},K,{hash:lI(Ce),path:re.path})),N=o.createHref(T);return ze({fullPath:T,hash:Ce,query:r===M0?TI(K.query):K.query||{}},re,{redirectedFrom:void 0,href:N})}function _(K){return typeof K=="string"?rc(n,K,l.value.path):ze({},K)}function y(K,se){if(c!==K)return es(st.NAVIGATION_CANCELLED,{from:se,to:K})}function x(K){return b(K)}function S(K){return x(ze(_(K),{replace:!0}))}function E(K,se){const oe=K.matched[K.matched.length-1];if(oe&&oe.redirect){const{redirect:re}=oe;let Ce=typeof re=="function"?re(K,se):re;return typeof Ce=="string"&&(Ce=Ce.includes("?")||Ce.includes("#")?Ce=_(Ce):{path:Ce},Ce.params={}),ze({query:K.query,hash:K.hash,params:Ce.path!=null?{}:K.params},Ce)}}function b(K,se){const oe=c=g(K),re=l.value,Ce=K.state,T=K.force,N=K.replace===!0,$=E(oe,re);if($)return b(ze(_($),{state:typeof $=="object"?ze({},Ce,$.state):Ce,force:T,replace:N}),se||oe);const q=oe;q.redirectedFrom=se;let X;return!T&&mI(r,re,oe)&&(X=es(st.NAVIGATION_DUPLICATED,{to:q,from:re}),xe(re,re,!0,!1)),(X?Promise.resolve(X):V(q,re)).catch(J=>or(J)?or(J,st.NAVIGATION_GUARD_REDIRECT)?J:le(J):j(J,q,re)).then(J=>{if(J){if(or(J,st.NAVIGATION_GUARD_REDIRECT))return b(ze({replace:N},_(J.to),{state:typeof J.to=="object"?ze({},Ce,J.to.state):Ce,force:T}),se||q)}else J=I(q,re,!0,N,Ce);return W(q,re,J),J})}function O(K,se){const oe=y(K,se);return oe?Promise.reject(oe):Promise.resolve()}function F(K){const se=Fe.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(K):K()}function V(K,se){let oe;const[re,Ce,T]=OI(K,se);oe=sc(re.reverse(),"beforeRouteLeave",K,se);for(const $ of re)$.leaveGuards.forEach(q=>{oe.push(Pr(q,K,se))});const N=O.bind(null,K,se);return oe.push(N),He(oe).then(()=>{oe=[];for(const $ of s.list())oe.push(Pr($,K,se));return oe.push(N),He(oe)}).then(()=>{oe=sc(Ce,"beforeRouteUpdate",K,se);for(const $ of Ce)$.updateGuards.forEach(q=>{oe.push(Pr(q,K,se))});return oe.push(N),He(oe)}).then(()=>{oe=[];for(const $ of T)if($.beforeEnter)if(Pn($.beforeEnter))for(const q of $.beforeEnter)oe.push(Pr(q,K,se));else oe.push(Pr($.beforeEnter,K,se));return oe.push(N),He(oe)}).then(()=>(K.matched.forEach($=>$.enterCallbacks={}),oe=sc(T,"beforeRouteEnter",K,se,F),oe.push(N),He(oe))).then(()=>{oe=[];for(const $ of i.list())oe.push(Pr($,K,se));return oe.push(N),He(oe)}).catch($=>or($,st.NAVIGATION_CANCELLED)?$:Promise.reject($))}function W(K,se,oe){a.list().forEach(re=>F(()=>re(K,se,oe)))}function I(K,se,oe,re,Ce){const T=y(K,se);if(T)return T;const N=se===Or,$=Po?history.state:{};oe&&(re||N?o.replace(K.fullPath,ze({scroll:N&&$&&$.scroll},Ce)):o.push(K.fullPath,Ce)),l.value=K,xe(K,se,oe,N),le()}let Y;function H(){Y||(Y=o.listen((K,se,oe)=>{if(!Le.listening)return;const re=g(K),Ce=E(re,Le.currentRoute.value);if(Ce){b(ze(Ce,{replace:!0,force:!0}),re).catch(js);return}c=re;const T=l.value;Po&&CI(F0(T.fullPath,oe.delta),bl()),V(re,T).catch(N=>or(N,st.NAVIGATION_ABORTED|st.NAVIGATION_CANCELLED)?N:or(N,st.NAVIGATION_GUARD_REDIRECT)?(b(ze(_(N.to),{force:!0}),re).then($=>{or($,st.NAVIGATION_ABORTED|st.NAVIGATION_DUPLICATED)&&!oe.delta&&oe.type===nu.pop&&o.go(-1,!1)}).catch(js),Promise.reject()):(oe.delta&&o.go(-oe.delta,!1),j(N,re,T))).then(N=>{N=N||I(re,T,!1),N&&(oe.delta&&!or(N,st.NAVIGATION_CANCELLED)?o.go(-oe.delta,!1):oe.type===nu.pop&&or(N,st.NAVIGATION_ABORTED|st.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),W(re,T,N)}).catch(js)}))}let D=Cs(),M=Cs(),R;function j(K,se,oe){le(K);const re=M.list();return re.length?re.forEach(Ce=>Ce(K,se,oe)):console.error(K),Promise.reject(K)}function ne(){return R&&l.value!==Or?Promise.resolve():new Promise((K,se)=>{D.add([K,se])})}function le(K){return R||(R=!K,H(),D.list().forEach(([se,oe])=>K?oe(K):se()),D.reset()),K}function xe(K,se,oe,re){const{scrollBehavior:Ce}=e;if(!Po||!Ce)return Promise.resolve();const T=!oe&&SI(F0(K.fullPath,0))||(re||!oe)&&history.state&&history.state.scroll||null;return rt().then(()=>Ce(K,se,T)).then(N=>N&&EI(N)).catch(N=>j(N,K,se))}const Ee=K=>o.go(K);let Ne;const Fe=new Set,Le={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:g,options:e,push:x,replace:S,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:M.add,isReady:ne,install(K){K.component("RouterLink",qI),K.component("RouterView",ZI),K.config.globalProperties.$router=Le,Object.defineProperty(K.config.globalProperties,"$route",{enumerable:!0,get:()=>A(l)}),Po&&!Ne&&l.value===Or&&(Ne=!0,x(o.location).catch(re=>{}));const se={};for(const re in Or)Object.defineProperty(se,re,{get:()=>l.value[re],enumerable:!0});K.provide(Sf,Le),K.provide(B1,zh(se)),K.provide(eu,l);const oe=K.unmount;Fe.add(K),K.unmount=function(){Fe.delete(K),Fe.size<1&&(c=Or,Y&&Y(),Y=null,l.value=Or,Ne=!1,R=!1),oe()}}};function He(K){return K.reduce((se,oe)=>se.then(()=>F(oe)),Promise.resolve())}return Le}const tP=ue((e,{slots:t})=>{var n,r;const o=wt(),{width:s,height:i}=rs(e),a=Jt(tl(o,{width:(n=_t(s))!==null&&n!==void 0?n:0,height:(r=_t(i))!==null&&r!==void 0?r:0},{box:e.box,window:e.window}));return()=>{if(t.default)return jt(e.as||"div",{ref:o},t.default(a))}},{name:"UseElementSize",props:["as","box","height","width","window"]}),nP={ref:"el",class:"relative"},rP={class:"absolute opacity-0 pointer-events-none flex"},oP=["itemKey"],sP=ue({__name:"AutoWrapRow",props:{list:{},moreWidth:{default:70},gap:{default:5},getKey:{}},setup(e){const t=e,n=Z(new Map),r=da("el"),o=da("items"),{width:s}=tl(r),i=Z([]),a=Z(!1),l=L(()=>s.value-t.moreWidth),c=L(()=>{const m=i.value.map(v=>v.key);return t.list.filter(v=>m.includes(t.getKey(v)))}),u=L(()=>a.value?t.list.length-i.value.length:0),f=L(()=>{let m=0;for(const v of n.value.values())m+=v;return m});function d(m,v){n.value.set(m,v)}function p(){const m=new Map;for(const v of t.list){const g=t.getKey(v);m.set(g,n.value.get(g)??0)}n.value=m}const h=Dg(()=>{let m=0;const v=[];if(!(!o.value||t.list.length===0)){for(const g of t.list){const _=t.getKey(g),y=o.value.find(x=>x.getAttribute("itemKey")===_);if(y){if(m+=y.offsetWidth+t.gap,m>l.value)break;v.push({key:_,value:y.offsetWidth})}}i.value=v,a.value=!0}},100);return _e([()=>s.value,()=>t.list,()=>f.value],([,,m],[,,v])=>{m!==v&&(a.value=!1),h()},{flush:"post",deep:!0}),_e(()=>t.list.length,()=>{p()}),(m,v)=>(U(),ae("div",nP,[Se(m.$slots,"display",{visibleList:c.value,overflow:u.value}),te("div",rP,[(U(!0),ae(ke,null,Nn(e.list,(g,_)=>(U(),he(A(tP),{key:e.getKey(g)},{default:pe(({width:y})=>[Tt(De(d(e.getKey(g),Number(y)))+" ",1),te("div",{ref_for:!0,ref:"items",itemKey:e.getKey(g),class:"invisible whitespace-nowrap"},[Se(m.$slots,"measure",{item:g,index:_})],8,oP)]),_:2},1024))),128))])],512))}}),Oi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},J1=/^[a-z0-9]+(-[a-z0-9]+)*$/,yl=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!sa(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!sa(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!sa(a,n)?null:a}return null},sa=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function iP(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const X1=Object.freeze({left:0,top:0,width:16,height:16}),Ia=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),El=Object.freeze({...X1,...Ia}),ou=Object.freeze({...El,body:"",hidden:!1});function aP(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 U0(e,t){const n=aP(e,t);for(const r in ou)r in Ia?r in e&&!(r in n)&&(n[r]=Ia[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function lP(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=U0(r[a]||o[a],s)}return i(t),n.forEach(i),U0(e,s)}function Q1(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=iP(e);for(const o in r){const s=r[o];s&&(t(o,lP(e,o,s)),n.push(o))}return n}const cP={provider:"",aliases:{},not_found:{},...X1};function ic(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Z1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ic(e,cP))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!ic(s,ou))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!ic(s,ou))return null}return t}const j0=Object.create(null);function uP(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function ns(e,t){const n=j0[e]||(j0[e]=Object.create(null));return n[t]||(n[t]=uP(e,t))}function e_(e,t){return Z1(t)?Q1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function fP(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let fi=!1;function t_(e){return typeof e=="boolean"&&(fi=e),fi}function dP(e){const t=typeof e=="string"?yl(e,!0,fi):e;if(t){const n=ns(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function pP(e,t){const n=yl(e,!0,fi);if(!n)return!1;const r=ns(n.provider,n.prefix);return t?fP(r,n.name,t):(r.missing.add(n.name),!0)}function hP(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),fi&&!t&&!e.prefix){let r=!1;return Z1(e)&&(e.prefix="",Q1(e,(o,s)=>{pP(o,s)&&(r=!0)})),r}const n=e.prefix;return sa({prefix:n,name:"a"})?!!e_(ns(t,n),e):!1}const n_=Object.freeze({width:null,height:null}),r_=Object.freeze({...n_,...Ia}),mP=/(-?[0-9.]*[0-9]+[0-9.]*)/g,gP=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function W0(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(mP);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=gP.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function vP(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function _P(e,t){return e?"<defs>"+e+"</defs>"+t:t}function xP(e,t,n){const r=vP(e);return _P(r.defs,t+r.content+n)}const bP=e=>e==="unset"||e==="undefined"||e==="none";function yP(e,t){const n={...El,...e},r={...r_,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const v=[],g=m.hFlip,_=m.vFlip;let y=m.rotate;g?_?y+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):_&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let x;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:x=o.height/2+o.top,v.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:x=o.width/2+o.left,v.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}y%2===1&&(o.left!==o.top&&(x=o.left,o.left=o.top,o.top=x),o.width!==o.height&&(x=o.width,o.width=o.height,o.height=x)),v.length&&(s=xP(s,'<g transform="'+v.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=W0(f,l/c)):(u=i==="auto"?l:i,f=a===null?W0(u,c/l):a==="auto"?c:a);const d={},p=(m,v)=>{bP(v)||(d[m]=v.toString())};p("width",u),p("height",f);const h=[o.left,o.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:s}}const EP=/\sid="(\S+)"/g,G0=new Map;function CP(e){e=e.replace(/[0-9]+$/,"")||"a";const t=G0.get(e)||0;return G0.set(e,t+1),t?`${e}${t}`:e}function SP(e){const t=[];let n;for(;n=EP.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=CP(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const su=Object.create(null);function wP(e,t){su[e]=t}function iu(e){return su[e]||su[""]}function Af(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 Tf=Object.create(null),Ss=["https://api.simplesvg.com","https://api.unisvg.com"],ia=[];for(;Ss.length>0;)Ss.length===1||Math.random()>.5?ia.push(Ss.shift()):ia.push(Ss.pop());Tf[""]=Af({resources:["https://api.iconify.design"].concat(ia)});function AP(e,t){const n=Af(t);return n===null?!1:(Tf[e]=n,!0)}function Of(e){return Tf[e]}const TP=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let z0=TP();function OP(e,t){const n=Of(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function NP(e){return e===404}const FP=(e,t,n)=>{const r=[],o=OP(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function MP(e){if(typeof e=="string"){const t=Of(e);if(t)return t.path}return"/"}const LP=(e,t,n)=>{if(!z0){n("abort",424);return}let r=MP(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;z0(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(NP(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},IP={prepare:FP,send:LP};function o_(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function PP(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||o_([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let DP=0;function kP(e,t,n){const r=DP++,o=o_.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function RP(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=ns(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function $P(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?yl(o,t,n):o;s&&r.push(s)}),r}const BP={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function VP(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let E=e.resources.slice(0);for(i=[];E.length>1;){const b=Math.floor(Math.random()*E.length);i.push(E[b]),E=E.slice(0,b).concat(E.slice(b+1))}i=i.concat(E)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),h(),d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function v(E,b){b&&(p=[]),typeof E=="function"&&p.push(E)}function g(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function _(){l="failed",p.forEach(E=>{E(void 0,u)})}function y(){d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function x(E,b,O){const F=b!=="success";switch(d=d.filter(V=>V!==E),l){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(b==="abort"){u=O,_();return}if(F){u=O,d.length||(i.length?S():_());return}if(h(),y(),!e.random){const V=e.resources.indexOf(E.resource);V!==-1&&V!==e.index&&(e.index=V)}l="completed",p.forEach(V=>{V(O)})}function S(){if(l!=="pending")return;h();const E=i.shift();if(E===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(y(),_())},e.timeout);return}_();return}const b={status:"pending",resource:E,callback:(O,F)=>{x(b,O,F)}};d.push(b),c++,f=setTimeout(S,e.rotate),n(E,t,b.callback)}return setTimeout(S),g}function s_(e){const t={...BP,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=VP(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function K0(){}const ac=Object.create(null);function HP(e){if(!ac[e]){const t=Of(e);if(!t)return;ac[e]={config:t,redundancy:s_(t)}}return ac[e]}function UP(e,t,n){let r,o;if(typeof e=="string"){const s=iu(e);if(!s)return n(void 0,424),K0;o=s.send;const i=HP(e);i&&(r=i.redundancy)}else{const s=Af(e);if(s){r=s_(s);const i=iu(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),K0):r.query(t,o,n)().abort}function Y0(){}function jP(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,PP(e)}))}function WP(e){const t=[],n=[];return e.forEach(r=>{(r.match(J1)?t:n).push(r)}),{valid:t,invalid:n}}function ws(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(!e_(e,n).length){r();return}}catch(o){console.error(o)}r(),jP(e)}function q0(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function GP(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)){q0(e.loadIcons(o,r,n),c=>{ws(e,o,c)});return}if(s){o.forEach(c=>{q0(s(c,r,n),u=>{ws(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=WP(o);if(a.length&&ws(e,a,null),!i.length)return;const l=r.match(J1)?iu(n):null;if(!l){ws(e,i,null);return}l.prepare(n,r,i).forEach(c=>{UP(n,c,u=>{ws(e,c.icons,u)})})}))}const zP=(e,t)=>{const n=RP($P(e,!0,t_()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,Y0)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(ns(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=ns(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&&GP(a,l)}),t?kP(t,n,o):Y0};function KP(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in n_?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const YP=/[\s,]+/;function qP(e,t){t.split(YP).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function JP(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 XP(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 QP(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ZP(e){return"data:image/svg+xml,"+QP(e)}function e8(e){return'url("'+ZP(e)+'")'}const J0={...r_,inline:!1},t8={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},n8={display:"inline-block"},au={backgroundColor:"currentColor"},i_={backgroundColor:"transparent"},X0={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Q0={webkitMask:au,mask:au,background:i_};for(const e in Q0){const t=Q0[e];for(const n in X0)t[e+n]=X0[n]}const aa={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";aa[e+"-flip"]=t,aa[e.slice(0,1)+"-flip"]=t,aa[e+"Flip"]=t});function Z0(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const eh=(e,t)=>{const n=KP(J0,t),r={...t8},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&qP(n,v);break;case"color":s.color=v;break;case"rotate":typeof v=="string"?n[m]=JP(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const g=aa[m];g?(v===!0||v==="true"||v===1)&&(n[g]=!0):J0[m]===void 0&&(r[m]=v)}}}const l=yP(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=SP(l.body),jt("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=XP(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":e8(h),width:Z0(c.width),height:Z0(c.height),...n8,...p?au:i_,...a},jt("span",r)};t_(!0);wP("",IP);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"||!hP(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;AP(n,o)||console.error(r)}catch{console.error(r)}}}}const r8={...El,body:""},cs=ue((e,{emit:t})=>{const n=Z(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=Z(!!e.ssr),s=Z(""),i=wt(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=yl(c,!1,!0))===null)return null;let f=dP(u);if(!f){const h=n.value;return(!h||h.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:zP([u],l)}),null}r(),s.value!==c&&(s.value=c,rt(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,u.name,u.prefix,u.provider);typeof h=="string"&&(f.body=h)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():gt(()=>{o.value=!0,l()}),_e(()=>e.icon,l),yo(r),()=>{const c=i.value;if(!c)return eh(r8,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),eh({...El,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),o8={class:"flex items-center gap-1 overflow-hidden text-ellipsis whitespace-nowrap"},s8={class:"text-xs"},i8={key:1},a8={class:"text-xs"},Br=ue({__name:"LabelValue",props:{label:{type:String,default:""},icon:{type:String,default:""},value:{type:[String,Number],default:""}},setup(e){return(t,n)=>(U(),ae("div",o8,[te("span",s8,[e.icon?(U(),he(A(cs),{key:0,icon:e.icon,height:"16"},null,8,["icon"])):Ae("",!0),e.label?(U(),ae("span",i8,De(e.label),1)):Ae("",!0)]),Se(t.$slots,"value",{},()=>[te("span",a8,De(e.value),1)])]))}}),l8=ue({__name:"LoadingWrapper",setup(e){const t=Z(!1);function n(){t.value=!0}function r(){t.value=!1}return(o,s)=>Se(o.$slots,"default",{instance:{start:n,end:r},loading:t.value})}}),c8=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],th=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function u8(e){if(e<=255)return c8[e];let t=0,n=th.length-1;for(;t<=n;){const r=t+n>>1,o=th[r];if(e<o[0]){n=r-1;continue}if(e>o[1]){t=r+1;continue}return o[2]}return"L"}function f8(e){const t=e.length;if(t===0)return null;const n=new Array(t);let r=!1;for(let c=0;c<t;){const u=e.charCodeAt(c);let f=u,d=1;if(u>=55296&&u<=56319&&c+1<t){const h=e.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+(h-56320)+65536,d=2)}const p=u8(f);(p==="R"||p==="AL"||p==="AN")&&(r=!0);for(let h=0;h<d;h++)n[c+h]=p;c+=d}if(!r)return null;let o=0;for(let c=0;c<t;c++){const u=n[c];if(u==="L"){o=0;break}if(u==="R"||u==="AL"){o=1;break}}const s=new Int8Array(t);for(let c=0;c<t;c++)s[c]=o;const i=o&1?"R":"L",a=i;let l=a;for(let c=0;c<t;c++)n[c]==="NSM"?n[c]=l:l=n[c];l=a;for(let c=0;c<t;c++){const u=n[c];u==="EN"?n[c]=l==="AL"?"AN":"EN":(u==="R"||u==="L"||u==="AL")&&(l=u)}for(let c=0;c<t;c++)n[c]==="AL"&&(n[c]="R");for(let c=1;c<t-1;c++)n[c]==="ES"&&n[c-1]==="EN"&&n[c+1]==="EN"&&(n[c]="EN"),n[c]==="CS"&&(n[c-1]==="EN"||n[c-1]==="AN")&&n[c+1]===n[c-1]&&(n[c]=n[c-1]);for(let c=0;c<t;c++){if(n[c]!=="EN")continue;let u;for(u=c-1;u>=0&&n[u]==="ET";u--)n[u]="EN";for(u=c+1;u<t&&n[u]==="ET";u++)n[u]="EN"}for(let c=0;c<t;c++){const u=n[c];(u==="WS"||u==="ES"||u==="ET"||u==="CS")&&(n[c]="ON")}l=a;for(let c=0;c<t;c++){const u=n[c];u==="EN"?n[c]=l==="L"?"L":"EN":(u==="R"||u==="L")&&(l=u)}for(let c=0;c<t;c++){if(n[c]!=="ON")continue;let u=c+1;for(;u<t&&n[u]==="ON";)u++;const f=c>0?n[c-1]:a,d=u<t?n[u]:a,p=f!=="L"?"R":"L";if(p===(d!=="L"?"R":"L"))for(let m=c;m<u;m++)n[m]=p;c=u-1}for(let c=0;c<t;c++)n[c]==="ON"&&(n[c]=i);for(let c=0;c<t;c++){const u=n[c];(s[c]&1)===0?u==="R"?s[c]++:(u==="AN"||u==="EN")&&(s[c]+=2):(u==="L"||u==="AN"||u==="EN")&&s[c]++}return s}function d8(e,t){const n=f8(e);if(n===null)return null;const r=new Int8Array(t.length);for(let o=0;o<t.length;o++)r[o]=n[t[o]];return r}const p8=/[ \t\n\r\f]+/g,h8=/[\t\n\r\f]| {2,}|^ | $/;function m8(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function g8(e){if(!h8.test(e))return e;let t=e.replace(p8," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function v8(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
11
11
  `).replace(/[\r\f]/g,`
12
- `):e}let lc=null,d8;function p8(){return lc===null&&(lc=new Intl.Segmenter(d8,{granularity:"word"})),lc}const h8=new RegExp("\\p{Script=Arabic}","u"),Cl=new RegExp("\\p{M}","u"),i_=new RegExp("\\p{Nd}","u");function th(e){return h8.test(e)}function nh(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=183984&&e<=191471||e>=191472&&e<=192093||e>=194560&&e<=195103||e>=196608&&e<=201551||e>=201552&&e<=205743||e>=205744&&e<=210041||e>=63744&&e<=64255||e>=12288&&e<=12351||e>=12352&&e<=12447||e>=12448&&e<=12543||e>=12592&&e<=12687||e>=44032&&e<=55215||e>=65280&&e<=65519}function xo(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(!(n<12288)){if(n>=55296&&n<=56319&&t+1<e.length){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){const o=(n-55296<<10)+(r-56320)+65536;if(nh(o))return!0;t++;continue}}if(nh(n))return!0}}return!1}function m8(e){const t=wl(e);return t!==null&&(Of.has(t)||bo.has(t))}const g8=new Set([" "," ","⁠","\uFEFF"]);function v8(e){return xo(e)}function _8(e){const t=wl(e);return t!==null&&g8.has(t)}function x8(e){return!m8(e)&&!_8(e)}const Of=new Set([",",".","!",":",";","?","、","。","・",")","〕","〉","》","」","』","】","〗","〙","〛","ー","々","〻","ゝ","ゞ","ヽ","ヾ"]),Sl=new Set(['"',"(","[","{","“","‘","«","‹","(","〔","〈","《","「","『","【","〖","〘","〚"]),Nf=new Set(["'","’"]),bo=new Set([".",",","!","?",":",";","،","؛","؟","।","॥","၊","။","၌","၍","၏",")","]","}","%",'"',"”","’","»","›","…"]),b8=new Set([":",".","،","؛"]),y8=new Set(["၏"]),E8=new Set(["”","’","»","›","」","』","】","》","〉","〕",")"]);function C8(e){if(Ff(e))return!0;let t=!1;for(const n of e){if(bo.has(n)){t=!0;continue}if(!(t&&Cl.test(n)))return!1}return t}function S8(e){for(const t of e)if(!Of.has(t)&&!bo.has(t))return!1;return e.length>0}function w8(e){if(Ff(e))return!0;for(const t of e)if(!Sl.has(t)&&!Nf.has(t)&&!Cl.test(t))return!1;return e.length>0}function Ff(e){let t=!1;for(const n of e)if(!(n==="\\"||Cl.test(n))){if(Sl.has(n)||bo.has(n)||Nf.has(n)){t=!0;continue}return!1}return t}function a_(e,t){const n=t-1;if(n<=0)return Math.max(n,0);const r=e.charCodeAt(n);if(r<56320||r>57343)return n;const o=n-1;if(o<0)return n;const s=e.charCodeAt(o);return s>=55296&&s<=56319?o:n}function wl(e){if(e.length===0)return null;const t=a_(e,e.length);return e.slice(t)}function A8(e){const t=Array.from(e);let n=t.length;for(;n>0;){const r=t[n-1];if(Cl.test(r)){n--;continue}if(Sl.has(r)||Nf.has(r)){n--;continue}break}return n<=0||n===t.length?null:{head:t.slice(0,n).join(""),tail:t.slice(n).join("")}}function T8(e,t,n){return n==="text"&&!t&&e.length===1&&e!=="-"&&e!=="—"?e:null}function rh(e,t,n,r){const o=t[r],s=e[r];if(o==null)return s;const i=n[r];if(s.length===i)return s;const a=o.repeat(i);return e[r]=a,a}function oh(e,t){return e&&t!==null&&b8.has(t)}function O8(e){const t=wl(e);return t!==null&&y8.has(t)}function N8(e){if(e.length<2||e[0]!==" ")return null;const t=e.slice(1);return new RegExp("^\\p{M}+$","u").test(t)?{space:" ",marks:t}:null}function lu(e){let t=e.length;for(;t>0;){const n=a_(e,t),r=e.slice(n,t);if(E8.has(r))return!0;if(!bo.has(r))return!1;t=n}return!1}function F8(e,t){if(t.preserveOrdinarySpaces||t.preserveHardBreaks){if(e===" ")return"preserved-space";if(e===" ")return"tab";if(t.preserveHardBreaks&&e===`
13
- `)return"hard-break"}return e===" "?"space":e===" "||e===" "||e==="⁠"||e==="\uFEFF"?"glue":e==="​"?"zero-width-break":e==="­"?"soft-hyphen":"text"}const M8=/[\x20\t\n\xA0\xAD\u200B\u202F\u2060\uFEFF]/;function bn(e){return e.length===1?e[0]:e.join("")}function L8(e,t){const n=[];for(let r=e.length-1;r>=0;r--)n.push(e[r]);return n.push(t),bn(n)}function I8(e,t,n,r){if(!M8.test(e))return[{text:e,isWordLike:t,kind:"text",start:n}];const o=[];let s=null,i=[],a=n,l=!1,c=0;for(const u of e){const f=F8(u,r),d=f==="text"&&t;if(s!==null&&f===s&&d===l){i.push(u),c+=u.length;continue}s!==null&&o.push({text:bn(i),isWordLike:l,kind:s,start:a}),s=f,i=[u],a=n+c,l=d,c+=u.length}return s!==null&&o.push({text:bn(i),isWordLike:l,kind:s,start:a}),o}function cu(e){return e==="space"||e==="preserved-space"||e==="zero-width-break"||e==="hard-break"}const P8=/^[A-Za-z][A-Za-z0-9+.-]*:$/;function D8(e,t){const n=e.texts[t];return n.startsWith("www.")?!0:P8.test(n)&&t+1<e.len&&e.kinds[t+1]==="text"&&e.texts[t+1]==="//"}function k8(e){return e.includes("?")&&(e.includes("://")||e.startsWith("www."))}function R8(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let i=0;i<e.len;i++){if(r[i]!=="text"||!D8(e,i))continue;const a=[t[i]];let l=i+1;for(;l<e.len&&!cu(r[l]);){a.push(t[l]),n[i]=!0;const c=t[l].includes("?");if(r[l]="text",t[l]="",l++,c)break}t[i]=bn(a)}let s=0;for(let i=0;i<t.length;i++){const a=t[i];a.length!==0&&(s!==i&&(t[s]=a,n[s]=n[i],r[s]=r[i],o[s]=o[i]),s++)}return t.length=s,n.length=s,r.length=s,o.length=s,{len:s,texts:t,isWordLike:n,kinds:r,starts:o}}function $8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s];if(t.push(i),n.push(e.isWordLike[s]),r.push(e.kinds[s]),o.push(e.starts[s]),!k8(i))continue;const a=s+1;if(a>=e.len||cu(e.kinds[a]))continue;const l=[],c=e.starts[a];let u=a;for(;u<e.len&&!cu(e.kinds[u]);)l.push(e.texts[u]),u++;l.length>0&&(t.push(bn(l)),n.push(!0),r.push("text"),o.push(c),s=u-1)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}const B8=new Set([":","-","/","×",",",".","+","–","—"]),sh=/^[A-Za-z0-9_]+[,:;]*$/,ih=/[,:;]+$/;function l_(e){for(const t of e)if(i_.test(t))return!0;return!1}function Pa(e){if(e.length===0)return!1;for(const t of e)if(!(i_.test(t)||B8.has(t)))return!1;return!0}function V8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s],a=e.kinds[s];if(a==="text"&&Pa(i)&&l_(i)){const l=[i];let c=s+1;for(;c<e.len&&e.kinds[c]==="text"&&Pa(e.texts[c]);)l.push(e.texts[c]),c++;t.push(bn(l)),n.push(!0),r.push("text"),o.push(e.starts[s]),s=c-1;continue}t.push(i),n.push(e.isWordLike[s]),r.push(a),o.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function H8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s],a=e.kinds[s],l=e.isWordLike[s];if(a==="text"&&l&&sh.test(i)){const c=[i];let u=ih.test(i),f=s+1;for(;u&&f<e.len&&e.kinds[f]==="text"&&e.isWordLike[f]&&sh.test(e.texts[f]);){const d=e.texts[f];c.push(d),u=ih.test(d),f++}t.push(bn(c)),n.push(!0),r.push("text"),o.push(e.starts[s]),s=f-1;continue}t.push(i),n.push(l),r.push(a),o.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function U8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s];if(e.kinds[s]==="text"&&i.includes("-")){const a=i.split("-");let l=a.length>1;for(let c=0;c<a.length;c++){const u=a[c];if(!l)break;(u.length===0||!l_(u)||!Pa(u))&&(l=!1)}if(l){let c=0;for(let u=0;u<a.length;u++){const f=a[u],d=u<a.length-1?`${f}-`:f;t.push(d),n.push(!0),r.push("text"),o.push(e.starts[s]+c),c+=d.length}continue}}t.push(i),n.push(e.isWordLike[s]),r.push(e.kinds[s]),o.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function j8(e){const t=[],n=[],r=[],o=[];let s=0;for(;s<e.len;){const i=[e.texts[s]];let a=e.isWordLike[s],l=e.kinds[s],c=e.starts[s];if(l==="glue"){const u=[i[0]],f=c;for(s++;s<e.len&&e.kinds[s]==="glue";)u.push(e.texts[s]),s++;const d=bn(u);if(s<e.len&&e.kinds[s]==="text")i[0]=d,i.push(e.texts[s]),a=e.isWordLike[s],l="text",c=f,s++;else{t.push(d),n.push(!1),r.push("glue"),o.push(f);continue}}else s++;if(l==="text")for(;s<e.len&&e.kinds[s]==="glue";){const u=[];for(;s<e.len&&e.kinds[s]==="glue";)u.push(e.texts[s]),s++;const f=bn(u);if(s<e.len&&e.kinds[s]==="text"){i.push(f,e.texts[s]),a=a||e.isWordLike[s],s++;continue}i.push(f)}t.push(bn(i)),n.push(a),r.push(l),o.push(c)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function W8(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let s=0;s<t.length-1;s++){if(r[s]!=="text"||r[s+1]!=="text"||!xo(t[s])||!xo(t[s+1]))continue;const i=A8(t[s]);i!==null&&(t[s]=i.head,t[s+1]=i.tail+t[s+1],o[s+1]=o[s]+i.head.length)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function ah(e,t,n){const r=p8();let o=0;const s=[],i=[],a=[],l=[],c=[],u=[],f=[],d=[],p=[],h=[],m=[],v=[];for(const b of r.segment(e))for(const O of I8(b.segment,b.isWordLike??!1,b.index,n)){let R=function(){u[M]!==null&&(i[M]=[rh(s,u,f,M)],u[M]=null),i[M].push(O.text),a[M]=a[M]||O.isWordLike,d[M]=d[M]||W,p[M]=p[M]||I,h[M]=H,m[M]=D,v[M]=oh(p[M],Y)};var E=R;const F=O.kind==="text",V=T8(O.text,O.isWordLike,O.kind),W=xo(O.text),I=th(O.text),Y=wl(O.text),H=lu(O.text),D=O8(O.text),M=o-1;t.carryCJKAfterClosingQuote&&F&&o>0&&l[M]==="text"&&W&&d[M]&&h[M]||F&&o>0&&l[M]==="text"&&S8(O.text)&&d[M]||F&&o>0&&l[M]==="text"&&m[M]?R():F&&o>0&&l[M]==="text"&&O.isWordLike&&I&&v[M]?(R(),a[M]=!0):V!==null&&o>0&&l[M]==="text"&&u[M]===V?f[M]=(f[M]??1)+1:F&&!O.isWordLike&&o>0&&l[M]==="text"&&!d[M]&&(C8(O.text)||O.text==="-"&&a[M])?R():(s[o]=O.text,i[o]=[O.text],a[o]=O.isWordLike,l[o]=O.kind,c[o]=O.start,u[o]=V,f[o]=V===null?0:1,d[o]=W,p[o]=I,h[o]=H,m[o]=D,v[o]=oh(I,Y),o++)}for(let b=0;b<o;b++){if(u[b]!==null){s[b]=rh(s,u,f,b);continue}s[b]=bn(i[b])}for(let b=1;b<o;b++)l[b]==="text"&&!a[b]&&Ff(s[b])&&l[b-1]==="text"&&!d[b-1]&&(s[b-1]+=s[b],a[b-1]=a[b-1]||a[b],s[b]="");const g=Array.from({length:o},()=>null);let _=-1;for(let b=o-1;b>=0;b--){const O=s[b];if(O.length!==0){if(l[b]==="text"&&!a[b]&&w8(O)&&_>=0&&l[_]==="text"){const F=g[_]??[];F.push(O),g[_]=F,c[_]=c[b],s[b]="";continue}_=b}}for(let b=0;b<o;b++){const O=g[b];O!=null&&(s[b]=L8(O,s[b]))}let y=0;for(let b=0;b<o;b++){const O=s[b];O.length!==0&&(y!==b&&(s[y]=O,a[y]=a[b],l[y]=l[b],c[y]=c[b]),y++)}s.length=y,a.length=y,l.length=y,c.length=y;const x=j8({len:y,texts:s,isWordLike:a,kinds:l,starts:c}),S=W8(H8(U8(V8($8(R8(x))))));for(let b=0;b<S.len-1;b++){const O=N8(S.texts[b]);O!==null&&(S.kinds[b]!=="space"&&S.kinds[b]!=="preserved-space"||S.kinds[b+1]!=="text"||!th(S.texts[b+1])||(S.texts[b]=O.space,S.isWordLike[b]=!1,S.kinds[b]=S.kinds[b]==="preserved-space"?"preserved-space":"space",S.texts[b+1]=O.marks+S.texts[b+1],S.starts[b+1]=S.starts[b]+O.space.length))}return S}function G8(e,t){if(e.len===0)return[];if(!t.preserveHardBreaks)return[{startSegmentIndex:0,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}];const n=[];let r=0;for(let o=0;o<e.len;o++)e.kinds[o]==="hard-break"&&(n.push({startSegmentIndex:r,endSegmentIndex:o,consumedEndSegmentIndex:o+1}),r=o+1);return r<e.len&&n.push({startSegmentIndex:r,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}),n}function z8(e){if(e.len<=1)return e;const t=[],n=[],r=[],o=[];let s=null,i=!1,a=0,l=!1,c=!1;function u(){s!==null&&(t.push(bn(s)),n.push(i),r.push("text"),o.push(a),s=null)}for(let f=0;f<e.len;f++){const d=e.texts[f],p=e.kinds[f],h=e.isWordLike[f],m=e.starts[f];if(p==="text"){const v=v8(d),g=x8(d);if(s!==null&&l&&c){s.push(d),i=i||h,l=l||v,c=g;continue}u(),s=[d],i=h,a=m,l=v,c=g;continue}u(),t.push(d),n.push(h),r.push(p),o.push(m)}return u(),{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function K8(e,t,n="normal",r="normal"){const o=c8(n),s=o.mode==="pre-wrap"?f8(e):u8(e);if(s.length===0)return{normalized:s,chunks:[],len:0,texts:[],isWordLike:[],kinds:[],starts:[]};const i=r==="keep-all"?z8(ah(s,t,o)):ah(s,t,o);return{normalized:s,chunks:G8(i,o),...i}}let Oo=null;const lh=new Map;let No=null;const Y8=96,q8=new RegExp("\\p{Emoji_Presentation}","u"),J8=/[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}\uFE0F\u20E3]/u;let cc=null;const ch=new Map;function Mf(){if(Oo!==null)return Oo;if(typeof OffscreenCanvas<"u")return Oo=new OffscreenCanvas(1,1).getContext("2d"),Oo;if(typeof document<"u")return Oo=document.createElement("canvas").getContext("2d"),Oo;throw new Error("Text measurement requires OffscreenCanvas or a DOM canvas context.")}function X8(e){let t=lh.get(e);return t||(t=new Map,lh.set(e,t)),t}function Rr(e,t){let n=t.get(e);return n===void 0&&(n={width:Mf().measureText(e).width,containsCJK:xo(e)},t.set(e,n)),n}function Al(){if(No!==null)return No;if(typeof navigator>"u")return No={lineFitEpsilon:.005,carryCJKAfterClosingQuote:!1,preferPrefixWidthsForBreakableRuns:!1,preferEarlySoftHyphenBreak:!1},No;const e=navigator.userAgent,n=navigator.vendor==="Apple Computer, Inc."&&e.includes("Safari/")&&!e.includes("Chrome/")&&!e.includes("Chromium/")&&!e.includes("CriOS/")&&!e.includes("FxiOS/")&&!e.includes("EdgiOS/"),r=e.includes("Chrome/")||e.includes("Chromium/")||e.includes("CriOS/")||e.includes("Edg/");return No={lineFitEpsilon:n?1/64:.005,carryCJKAfterClosingQuote:r,preferPrefixWidthsForBreakableRuns:n,preferEarlySoftHyphenBreak:n},No}function Q8(e){const t=e.match(/(\d+(?:\.\d+)?)\s*px/);return t?parseFloat(t[1]):16}function c_(){return cc===null&&(cc=new Intl.Segmenter(void 0,{granularity:"grapheme"})),cc}function Z8(e){return q8.test(e)||e.includes("️")}function eD(e){return J8.test(e)}function tD(e,t){let n=ch.get(e);if(n!==void 0)return n;const r=Mf();r.font=e;const o=r.measureText("😀").width;if(n=0,o>t+.5&&typeof document<"u"&&document.body!==null){const s=document.createElement("span");s.style.font=e,s.style.display="inline-block",s.style.visibility="hidden",s.style.position="absolute",s.textContent="😀",document.body.appendChild(s);const i=s.getBoundingClientRect().width;document.body.removeChild(s),o-i>.5&&(n=o-i)}return ch.set(e,n),n}function nD(e){let t=0;const n=c_();for(const r of n.segment(e))Z8(r.segment)&&t++;return t}function rD(e,t){return t.emojiCount===void 0&&(t.emojiCount=nD(e)),t.emojiCount}function ao(e,t,n){return n===0?t.width:t.width-rD(e,t)*n}function oD(e,t,n,r,o){if(t.breakableFitAdvances!==void 0&&t.breakableFitMode===o)return t.breakableFitAdvances;t.breakableFitMode=o;const s=c_(),i=[];for(const u of s.segment(e))i.push(u.segment);if(i.length<=1)return t.breakableFitAdvances=null,t.breakableFitAdvances;if(o==="sum-graphemes"){const u=[];for(const f of i){const d=Rr(f,n);u.push(ao(f,d,r))}return t.breakableFitAdvances=u,t.breakableFitAdvances}if(o==="pair-context"||i.length>Y8){const u=[];let f=null,d=0;for(const p of i){const h=Rr(p,n),m=ao(p,h,r);if(f===null)u.push(m);else{const v=f+p,g=Rr(v,n);u.push(ao(v,g,r)-d)}f=p,d=m}return t.breakableFitAdvances=u,t.breakableFitAdvances}const a=[];let l="",c=0;for(const u of i){l+=u;const f=Rr(l,n),d=ao(l,f,r);a.push(d-c),c=d}return t.breakableFitAdvances=a,t.breakableFitAdvances}function sD(e,t){const n=Mf();n.font=e;const r=X8(e),o=Q8(e),s=t?tD(e,o):0;return{cache:r,fontSize:o,emojiCorrection:s}}function iD(e){return e==="space"||e==="zero-width-break"||e==="soft-hyphen"}function u_(e){return e==="space"||e==="preserved-space"||e==="tab"||e==="zero-width-break"||e==="soft-hyphen"}function f_(e,t,n=e.widths.length){for(;t<n;){const r=e.kinds[t];if(!iD(r))break;t++}return t}function aD(e,t){if(t<=0)return 0;const n=e%t;return Math.abs(n)<=1e-6?t:t-n}function lD(e,t,n){return e.letterSpacing!==0&&t&&e.spacingGraphemeCounts[n]>0?e.letterSpacing:0}function Lf(e,t){return t===0?0:e+t}function cD(e,t){return e.letterSpacing!==0&&e.spacingGraphemeCounts[t]>0?e.letterSpacing:0}function uD(e,t,n,r,o){const s=t==="tab"?o+cD(e,n):e.lineEndFitAdvances[n];return Lf(r,s)}function uh(e,t,n,r){const o=t==="tab"?0:e.lineEndFitAdvances[n];return Lf(r,o)}function fh(e,t,n,r,o){const s=t==="tab"?o:e.lineEndPaintAdvances[n];return Lf(r,s)}function fD(e,t,n){return e.letterSpacing!==0&&t?n+e.letterSpacing:n}function dD(e,t){return e.letterSpacing===0?t:t+e.letterSpacing}function pD(e,t,n,r,o,s){let i=0,a=t;for(;i<e.length;){const l=a+e[i]+s;if((i+1<e.length?l+o:l)>n+r)break;a=l,i++}return{fitCount:i,fittedWidth:a}}function hD(e,t,n){const{widths:r,kinds:o,breakableFitAdvances:s}=e;if(r.length===0)return 0;const a=Al().lineFitEpsilon,l=t+a;let c=0,u=0,f=!1,d=0,p=0,h=0,m=0,v=-1,g=0;function _(){v=-1,g=0}function y(F=h,V=m,W=u){c++,n?.(W,d,p,F,V),u=0,f=!1,_()}function x(F,V){f=!0,d=F,p=0,h=F+1,m=0,u=V}function S(F,V,W){f=!0,d=F,p=V,h=F,m=V+1,u=W}function E(F,V){if(!f){x(F,V);return}u+=V,h=F+1,m=0}function b(F,V){const W=s[F];for(let I=V;I<W.length;I++){const Y=W[I];f?u+Y>l?(y(),S(F,I,Y)):(u+=Y,h=F,m=I+1):S(F,I,Y)}f&&h===F&&m===W.length&&(h=F+1,m=0)}let O=0;for(;O<r.length&&!(!f&&(O=f_(e,O),O>=r.length));){const F=r[O],V=o[O],W=u_(V);if(!f){F>l&&s[O]!==null?b(O,0):x(O,F),W&&(v=O+1,g=u-F),O++;continue}if(u+F>l){if(W){E(O,F),y(O+1,0,u-F),O++;continue}if(v>=0){if(h>v||h===v&&m>0){y();continue}y(v,0,g);continue}if(F>l&&s[O]!==null){y(),b(O,0),O++;continue}y();continue}E(O,F),W&&(v=O+1,g=u-F),O++}return f&&y(),c}function mD(e,t,n){if(e.simpleLineWalkFastPath)return hD(e,t,n);const{widths:r,kinds:o,breakableFitAdvances:s,discretionaryHyphenWidth:i,chunks:a}=e;if(r.length===0||a.length===0)return 0;const l=Al(),c=l.lineFitEpsilon,u=t+c;let f=0,d=0,p=!1,h=0,m=0,v=0,g=0,_=-1,y=0,x=0,S=null;function E(){_=-1,y=0,x=0,S=null}function b(D=v,M=g,R=d){f++,n?.(R,h,m,D,M),d=0,p=!1,E()}function O(D,M){p=!0,h=D,m=0,v=D+1,g=0,d=M}function F(D,M,R){p=!0,h=D,m=M,v=D,g=M+1,d=R}function V(D,M){if(!p){O(D,M);return}d+=M,v=D+1,g=0}function W(D,M,R,j,ne,le){if(!M)return;const xe=uh(e,D,R,ne),Ee=fh(e,D,R,ne,j);_=R+1,y=d-le+xe,x=d-le+Ee,S=D}function I(D,M){const R=s[D];for(let j=M;j<R.length;j++){const ne=R[j];if(!p)F(D,j,ne);else{const le=fD(e,!0,ne),xe=d+le;dD(e,xe)>u?(b(),F(D,j,ne)):(d=xe,v=D,g=j+1)}}p&&v===D&&g===R.length&&(v=D+1,g=0)}function Y(D){if(S!=="soft-hyphen")return!1;const M=s[D];if(M==null)return!1;const{fitCount:R,fittedWidth:j}=pD(M,d,t,c,i,e.letterSpacing);return R===0?!1:(d=j,v=D,g=R,E(),R===M.length?(v=D+1,g=0,!0):(b(D,R,j+i),I(D,R),!0))}function H(D){f++,n?.(0,D.startSegmentIndex,0,D.consumedEndSegmentIndex,0),E()}for(let D=0;D<a.length;D++){const M=a[D];if(M.startSegmentIndex===M.endSegmentIndex){H(M);continue}p=!1,d=0,h=M.startSegmentIndex,m=0,v=M.startSegmentIndex,g=0,E();let R=M.startSegmentIndex;for(;R<M.endSegmentIndex&&!(!p&&(R=f_(e,R,M.endSegmentIndex),R>=M.endSegmentIndex));){const j=o[R],ne=u_(j),le=lD(e,p,R),xe=j==="tab"?aD(d+le,e.tabStopAdvance):r[R],Ee=le+xe,Ne=uD(e,j,R,le,xe);if(j==="soft-hyphen"){p&&(v=R+1,g=0,_=R+1,y=d+i,x=d+i,S=j),R++;continue}if(!p){Ne>u&&s[R]!==null?I(R,0):O(R,xe),W(j,ne,R,xe,le,Ee),R++;continue}if(d+Ne>u){const Le=d+uh(e,j,R,le),He=d+fh(e,j,R,le,xe);if(S==="soft-hyphen"&&l.preferEarlySoftHyphenBreak&&y<=u){b(_,0,x);continue}if(S==="soft-hyphen"&&Y(R)){R++;continue}if(ne&&Le<=u){V(R,Ee),b(R+1,0,He),R++;continue}if(_>=0&&y<=u){if(v>_||v===_&&g>0){b();continue}const K=_;b(K,0,x),R=K;continue}if(Ne>u&&s[R]!==null){b(),I(R,0),R++;continue}b();continue}V(R,Ee),W(j,ne,R,xe,le,Ee),R++}if(p){const j=_===M.consumedEndSegmentIndex?x:d;b(M.consumedEndSegmentIndex,0,j)}}return f}let uc=null,dh=new WeakMap;function gD(){return uc===null&&(uc=new Intl.Segmenter(void 0,{granularity:"grapheme"})),uc}function ph(e,t,n){let r=n.get(e);if(r!==void 0)return r;r=[];const o=gD();for(const s of o.segment(t[e]))r.push(s.segment);return n.set(e,r),r}function vD(e,t,n,r){return r>0&&e[r-1]==="soft-hyphen"&&!(t===r&&n>0)}function hh(e,t,n,r){for(let o=n;o<r;o++)e+=t[o];return e}function _D(e){let t=dh.get(e);return t!==void 0||(t=new Map,dh.set(e,t)),t}function xD(e,t,n,r,o,s){let i="";const a=vD(e.kinds,n,r,o);for(let l=n;l<o;l++)if(!(e.kinds[l]==="soft-hyphen"||e.kinds[l]==="hard-break"))if(l===n&&r>0){const c=ph(l,e.segments,t);i=hh(i,c,r,c.length)}else i+=e.segments[l];if(s>0){a&&(i+="-");const l=ph(o,e.segments,t);i=hh(i,l,n===o?r:0,s)}else a&&(i+="-");return i}let fc=null;function bD(){return fc===null&&(fc=new Intl.Segmenter(void 0,{granularity:"grapheme"})),fc}function yD(e){return{widths:[],lineEndFitAdvances:[],lineEndPaintAdvances:[],kinds:[],simpleLineWalkFastPath:!0,segLevels:null,breakableFitAdvances:[],letterSpacing:0,spacingGraphemeCounts:[],discretionaryHyphenWidth:0,tabStopAdvance:0,chunks:[],segments:[]}}function ED(e,t){const n=[];let r=[],o=0,s=!1,i=!1,a=!1;function l(){r.length!==0&&(n.push({text:r.length===1?r[0]:r.join(""),start:o}),r=[],s=!1,i=!1,a=!1)}function c(f,d,p){r=[f],o=d,s=p,i=lu(f),a=Sl.has(f)}function u(f,d){r.push(f),s=s||d;const p=lu(f);f.length===1&&bo.has(f)?i=i||p:i=p,a=!1}for(const f of bD().segment(e)){const d=f.segment,p=xo(d);if(r.length===0){c(d,f.index,p);continue}if(a||Of.has(d)||bo.has(d)||t.carryCJKAfterClosingQuote&&p&&i){u(d,p);continue}if(!s&&!p){u(d,p);continue}l(),c(d,f.index,p)}return l(),n}function CD(e,t,n){return e}function SD(e,t,n,r,o){const s=Al(),{cache:i,emojiCorrection:a}=sD(t,eD(e.normalized)),l=ao("-",Rr("-",i),a)+0,u=ao(" ",Rr(" ",i),a)*8;if(e.len===0)return yD();const f=[],d=[],p=[],h=[];let m=e.chunks.length<=1&&!0;const v=[],g=[],_=[],y=n?[]:null,x=Array.from({length:e.len});function S(F,V,W,I,Y,H,D,M){Y!=="text"&&Y!=="space"&&Y!=="zero-width-break"&&(m=!1),f.push(V),d.push(W),p.push(I),h.push(Y),v?.push(H),g.push(D),y!==null&&y.push(F)}function E(F,V,W,I,Y){const H=Rr(F,i),D=CD(ao(F,H,a)),M=V==="space"||V==="preserved-space"||V==="zero-width-break"?0:D,R=M===0?0:M+0,j=V==="space"||V==="zero-width-break"?0:D;if(Y&&I&&F.length>1){let ne="sum-graphemes";Pa(F)?ne="pair-context":s.preferPrefixWidthsForBreakableRuns&&(ne="segment-prefixes");const le=oD(F,H,i,a,ne);S(F,D,R,j,V,W,le);return}S(F,D,R,j,V,W,null)}for(let F=0;F<e.len;F++){x[F]=f.length;const V=e.texts[F],W=e.isWordLike[F],I=e.kinds[F],Y=e.starts[F];if(I==="soft-hyphen"){S(V,0,l,l,I,Y,null);continue}if(I==="hard-break"){S(V,0,0,0,I,Y,null);continue}if(I==="tab"){S(V,0,0,0,I,Y,null);continue}const H=Rr(V,i);if(I==="text"&&H.containsCJK){const M=ED(V,s);for(let R=0;R<M.length;R++){const j=M[R];E(j.text,"text",Y+j.start,W,!xo(j.text))}continue}E(V,I,Y,W,!0)}const b=wD(e.chunks,x,f.length),O=v===null?null:i8(e.normalized,v);return y!==null?{widths:f,lineEndFitAdvances:d,lineEndPaintAdvances:p,kinds:h,simpleLineWalkFastPath:m,segLevels:O,breakableFitAdvances:g,letterSpacing:o,spacingGraphemeCounts:_,discretionaryHyphenWidth:l,tabStopAdvance:u,chunks:b,segments:y}:{widths:f,lineEndFitAdvances:d,lineEndPaintAdvances:p,kinds:h,simpleLineWalkFastPath:m,segLevels:O,breakableFitAdvances:g,letterSpacing:o,spacingGraphemeCounts:_,discretionaryHyphenWidth:l,tabStopAdvance:u,chunks:b}}function wD(e,t,n){const r=[];for(let o=0;o<e.length;o++){const s=e[o],i=s.startSegmentIndex<t.length?t[s.startSegmentIndex]:n,a=s.endSegmentIndex<t.length?t[s.endSegmentIndex]:n,l=s.consumedEndSegmentIndex<t.length?t[s.consumedEndSegmentIndex]:n;r.push({startSegmentIndex:i,endSegmentIndex:a,consumedEndSegmentIndex:l})}return r}function AD(e,t,n,r){const o="normal",i=K8(e,Al(),r?.whiteSpace,o);return SD(i,t,n,o,0)}function TD(e,t,n){return AD(e,t,!0,n)}function OD(e,t,n,r,o,s,i){return{text:xD(e,t,r,o,s,i),width:n,start:{segmentIndex:r,graphemeIndex:o},end:{segmentIndex:s,graphemeIndex:i}}}function ND(e,t,n){const r=[];if(e.widths.length===0)return{lineCount:0,height:0,lines:r};const o=_D(e),s=mD(e,t,(i,a,l,c,u)=>{r.push(OD(e,o,i,a,l,c,u))});return{lineCount:s,height:s*n,lines:r}}function If(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function FD(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${If(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function MD(e,t,n="hl"){if(!t?.trim())return e;const r=If(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function LD(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const d_=e=>e.replace(/[/\\]/g,"/"),ID=(e,t="/")=>e.replace(/[\\/]+/g,t);function PD(){return"#"+gA(0,16777215).toString(16).padStart(6,"0")}const DD=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),p_=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),uu=e=>{if(Array.isArray(e))return e.map(n=>uu(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=p_(n);t[r]=uu(e[n])}return t};function kD(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function RD(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 h_(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===`
14
- `?{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 $D(e){return h_(e).valid}const fu=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:uu,escapeRegExp:If,findKeywordLineIndex:LD,generateNumberString:RD,highlightText:MD,isEmail:DD,isValidHash:$D,randomColor:PD,replaceBackslashWithSlash:d_,replaceSlashWithSpecifiedSeparator:ID,splitTextByKeyword:FD,toCamelCase:p_,validateCompName:kD,validateHash:h_},Symbol.toStringTag,{value:"Module"}));function BD(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=d_(n);return`${e.replace(at.FILE_MANAGER_DIRNAME,"")}${r}`}function VD(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 HD=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:BD,handleDepData:VD},Symbol.toStringTag,{value:"Module"})),mh=/^[\^~>=<]+/,m_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function UD(e){return m_.test(e)}function er(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(mh),n=t?t[0]:"",r=e.replace(mh,"").match(m_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function jD(e,t){const n=er(e),r=er(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function WD(e){return er(e).majorVersion}function GD(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=er(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Do(e,t){const n=er(e),r=er(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=at;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function zD(e,t){const n=er(e),r=er(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Do(e,t.replace(">=",""))>=0;case">":return Do(e,t.replace(">",""))>0;case"<=":return Do(e,t.replace("<=",""))<=0;case"<":return Do(e,t.replace("<",""))<0;case"=":case"":return Do(e,t.replace("=",""))===0;default:return!1}}function KD(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=er(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const Fo=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Do,getMajorVersion:WD,isVersionEqual:jD,parseDependencies:GD,parseVersion:er,satisfiesRange:zD,validateVersion:UD,versionToNumber:KD},Symbol.toStringTag,{value:"Module"})),YD={ref:"content",class:"size-full"},qD={class:"block overflow-hidden size-full"},JD={key:0,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},XD={key:0,class:"shrink-0"},QD=["innerHTML"],ZD=["innerHTML"],e6={key:1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},t6=["innerHTML"],n6={key:0,class:"shrink-0"},r6={key:2,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},o6={key:0,class:"shrink-0"},s6=["innerHTML"],i6={key:1,class:"shrink-0"},a6="12px Inter",gh=16,l6=18,c6=ue({__name:"TextEllipsisHighlight",props:{text:{},modelValue:{type:Boolean},keyword:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=da("content"),{width:r,height:o}=tl(n),s=e,i=t,a=Z([]),l=Z(-1),c=Z(-1),u=Z({});function f(x,S){const E=S.trim().toLowerCase();if(!E||x.length===0)return{startLine:-1,endLine:-1,parts:{}};const b=[];let O=0;for(const I of x)O+=I.length,b.push(O);const W=x.join("").toLowerCase().indexOf(E);if(W!==-1){const I=W+E.length;let Y=0;for(;Y<b.length&&W>=b[Y];)Y++;let H=Y;for(;H<b.length&&I>b[H];)H++;const D=S.trim();if(Y===H)return{startLine:Y,endLine:H,parts:{[Y]:D}};const M=b[Y]-W;return{startLine:Y,endLine:H,parts:{[Y]:D.slice(0,M),[H]:D.slice(M)}}}for(let I=0;I<x.length-1;I++){const Y=x[I].toLowerCase(),H=x[I+1].toLowerCase();for(let D=1;D<E.length;D++)if(Y.endsWith(E.slice(0,D))&&H.startsWith(E.slice(D)))return{startLine:I,endLine:I+1,parts:{[I]:E.slice(0,D),[I+1]:E.slice(D)}};for(let D=1;D<E.length-1;D++)if(E[D]===" "){const M=E.slice(0,D),R=E.slice(D+1);if(M&&R&&Y.endsWith(M)&&H.startsWith(R))return{startLine:I,endLine:I+1,parts:{[I]:M,[I+1]:R}}}}return{startLine:-1,endLine:-1,parts:{}}}const d=Pg((x,S,E)=>{if(!x||!S){a.value=[],l.value=-1,c.value=-1,u.value={};return}const b=TD(x,a6),O=Math.max(0,S-l6),{lines:F}=ND(b,O,gh);a.value=F.map(W=>W.text);const V=f(a.value,E);l.value=V.startLine,c.value=V.endLine,u.value=V.parts},100);_e([()=>s.text,r,()=>s.keyword],([x,S,E])=>{d(x,S,E)},{immediate:!0});const p=L(()=>o.value?Math.max(1,Math.floor(o.value/gh)):1),h=L(()=>{const x=a.value,S=p.value,E=l.value,b=c.value;if(x.length===0)return[];if(E===-1||b===-1||x.length<=S)return x.slice(0,S);const O=Math.max(0,Math.min(E,b-S+1));return x.slice(O,O+S)}),m=L(()=>{const x=a.value,S=p.value,E=l.value,b=c.value;return x.length===0||E===-1||b===-1||x.length<=S?0:Math.max(0,Math.min(E,b-S+1))}),v=L(()=>l.value!==-1&&h.value[0]!==a.value[0]),g=L(()=>l.value===-1?a.value.length>h.value.length:h.value.at(-1)!==a.value.at(-1)),_=L(()=>a.value.length>p.value);_e(_,x=>{i("update:modelValue",x)});const y=(x="",S)=>{if(S!==void 0){const E=u.value[S];if(E)return fu.highlightText(x,E,"hl")}return fu.highlightText(x,s.keyword||"","hl")};return(x,S)=>(U(),ae("div",YD,[te("div",qD,[h.value.length>=2?(U(),ae("div",JD,[v.value?(U(),ae("span",XD,"...")):Ae("",!0),te("span",{innerHTML:y(h.value[0],m.value)},null,8,QD)])):Ae("",!0),(U(!0),ae(ke,null,Nn(h.value.slice(1,-1),(E,b)=>(U(),ae("div",{key:m.value+b+1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},[te("span",{innerHTML:y(E,m.value+b+1)},null,8,ZD)]))),128)),h.value.length>1?(U(),ae("div",e6,[te("span",{innerHTML:y(h.value[h.value.length-1],m.value+h.value.length-1)},null,8,t6),g.value?(U(),ae("span",n6,"...")):Ae("",!0)])):Ae("",!0),h.value.length===1?(U(),ae("div",r6,[v.value?(U(),ae("span",o6,"...")):Ae("",!0),te("span",{innerHTML:y(h.value[0],m.value)},null,8,s6),g.value?(U(),ae("span",i6,"...")):Ae("",!0)])):Ae("",!0)])],512))}}),u6=Oi(c6,[["__scopeId","data-v-361ff366"]]),f6={class:"flex items-center justify-center gap-[6px] leading-[15px]"},d6={class:"text-xs leading-3 align-middle"},p6={class:"inline-block align-middle shrink-0"},h6=ue({__name:"UserAvatar",props:{nickname:{type:String,default:""},teamUserNickname:{type:String,default:""}},setup(e){const t=e,n=L(()=>t.teamUserNickname||t.nickname||"--");return(r,o)=>(U(),ae("div",f6,[te("span",d6,De(n.value),1),te("div",p6,[Se(r.$slots,"avatar",{},void 0,!0)])]))}}),m6=Oi(h6,[["__scopeId","data-v-99cd7413"]]),g6={key:1,class:"grid-container"},v6=ue({__name:"GridContainer",props:{itemMinWidth:{type:Number,default:300},gap:{type:Number,default:20},useTransition:{type:Boolean,default:!0}},setup(e){Ub(o=>({v56c8ef5c:r.value,v1930c0b1:n.value}));const t=e,n=L(()=>t.gap+"px"),r=L(()=>t.itemMinWidth+"px");return(o,s)=>e.useTransition?(U(),he(sy,{key:0,class:"grid-container",name:"list",tag:"div"},{default:pe(()=>[Se(o.$slots,"default",{},void 0,!0)]),_:3})):(U(),ae("div",g6,[Se(o.$slots,"default",{},void 0,!0)]))}}),_6=Oi(v6,[["__scopeId","data-v-25e40c3e"]]);function x6(e){const t=document.createElement("canvas"),n=t.getContext("2d");if(!n)return"";t.width=100,t.height=100,n.fillStyle="#fff",n.font="60px serif";const r=n.measureText(e),o=r.width,s=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=(t.width-o)/2,a=(t.height+s)/2-r.actualBoundingBoxDescent;return n.fillText(e,i,a),t.toDataURL()}let $o=null;const g_="IS_REPLACE",v_="IS_ADD",__="IS_DELETE",x_="IS_CLEAR";function dc(){$o!==null&&(typeof cancelIdleCallback=="function"?cancelIdleCallback($o):typeof clearTimeout=="function"&&clearTimeout($o),$o=null)}const vh=(e,t)=>{if(typeof requestIdleCallback=="function")return requestIdleCallback(e,t);{const n=t?.timeout??50,r=Date.now();return setTimeout(()=>{const o=Date.now()-r>=n;e({timeRemaining:()=>Math.max(0,n-(Date.now()-r)),didTimeout:o})},1)}};function b6({list:e,oldList:t=[],render:n}){if(dc(),e.length===0)return n(x_,t),()=>{dc()};const r=t.filter(f=>!e.some(d=>d._id===f._id));r.length>0&&n(__,r);let o=0;const s=e.length,i=8;let a=i,l=0,c=0;const u=f=>{if(l>2&&(a=Math.max(0,a-1),l=0),c>1&&(a=Math.min(i,a+1)),o<s&&(f.timeRemaining()>a||f.didTimeout)){const d=e[o];if(!d)throw new Error("组件列表项无效");t.findIndex(h=>h._id===d._id)>-1?n(g_,[d]):n(v_,[d]),o++,l=0,c++,c>10&&(c=0)}else l++,c=0,l>5&&(a=Math.max(0,a-2));o<s&&($o=vh(u,{timeout:16.6*30}))};return s>0&&($o=vh(u,{timeout:16.6*30})),()=>{dc()}}const y6=ue({__name:"Collect",props:{isCollect:{type:Boolean,default:!1}},emits:["collect"],setup(e,{emit:t}){const n=_m(),r=e,o=t;function s(){o("collect",!r.isCollect)}return(i,a)=>(U(),he(A(cs),Dt(A(n),{icon:"material-symbols:kid-star",class:["cursor-pointer",{"is-collected":e.isCollect}],onClick:s}),null,16,["class"]))}}),E6=Oi(y6,[["__scopeId","data-v-e64b851f"]]),C6=ue({__name:"CompDepsTags",props:{compDeps:{},depsSetting:{}},setup(e){const{t}=tr(),n=e,r=L(()=>{const a=new Map;return n.depsSetting?.forEach(l=>{a.set(l.name,l)}),a});function o(a,l){const c=l.match;try{switch(c){case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return!0;case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:{const u=Fo.parseVersion(a),f=Fo.parseVersion(l.version);return u.major===f.major}case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:{const u=Fo.parseVersion(a),f=Fo.parseVersion(l.version);return u.major===f.major&&u.minor===f.minor}case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:{const u=Fo.parseVersion(a),f=Fo.parseVersion(l.version);return u.major===f.major&&u.minor===f.minor&&u.patch===f.patch}default:return!1}}catch(u){return console.warn(`Version parse failed: ${a} or ${l.version}`,u),!1}}function s(a){const l=r.value.get(a.name);return l?o(a.version,l):!1}function i(a){const l=r.value.get(a.name);if(!l||!o(a.version,l))return"";switch(l.match){case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return"match-dot-green";case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:return"match-dot-blue";case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:return"match-dot-orange";case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:return"match-dot-red";default:return""}}return(a,l)=>(U(),he(A(ZI),{list:e.compDeps,getKey:c=>c.name,class:"flex items-center gap-1"},{display:pe(({visibleList:c,overflow:u})=>[(U(!0),ae(ke,null,Nn(c,f=>(U(),he(A(Us),{key:f.name,type:"info","disable-transitions":"",size:"small",class:de({"not-matched":!s(f)})},{default:pe(()=>[i(f)?(U(),ae("span",{key:0,class:de(["inline-block w-2 h-2 rounded-full mr-1",i(f)])},null,2)):Ae("",!0),Tt(" "+De(f.name)+" "+De(f.version),1)]),_:2},1032,["class"]))),128)),u>0?(U(),he(A(Us),{key:0,type:"info",size:"small","disable-transitions":""},{default:pe(()=>[Tt("+"+De(u)+" "+De(A(t)("common.more")),1)]),_:2},1024)):Ae("",!0)]),measure:pe(({item:c})=>[ee(A(Us),{type:"info",size:"small","disable-transitions":"",class:de({"not-matched":!s(c)})},{default:pe(()=>[i(c)?(U(),ae("span",{key:0,class:de(["inline-block w-2 h-2 rounded-full mr-1",i(c)])},null,2)):Ae("",!0),Tt(" "+De(c.name)+" "+De(c.version),1)]),_:2},1032,["class"])]),_:1},8,["list","getKey"]))}}),S6=Oi(C6,[["__scopeId","data-v-76d00925"]]),w6={key:0,class:"bg-[#ffe600] rounded-[2px] px-[2px]"},A6=ue({__name:"HighlightText",props:{text:{},keyword:{}},setup(e){const t=e,n=L(()=>fu.splitTextByKeyword(t.text,t.keyword));return(r,o)=>(U(),ae("span",null,[(U(!0),ae(ke,null,Nn(n.value,(s,i)=>(U(),ae(ke,{key:i},[s.isMatch?(U(),ae("mark",w6,De(s.text),1)):(U(),ae(ke,{key:1},[Tt(De(s.text),1)],64))],64))),128))]))}}),Gr=ue({__name:"CompActionPreview",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isLocal:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=un(),{params:{instanceUid:n}}=kt(),r=e,o=cn(r.isDev);function s(){r.isLocal?t(Ie.ACTION_PREVIEW_LOCAL,r.compId,o,n):t(Ie.ACTION_PREVIEW,r.compId,o,n)}return(i,a)=>(U(),he(A(Ti),{type:"primary",onClick:s},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:preview",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),b_=ue({__name:"CompActionCollect",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isCollect:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=un(),{params:{instanceUid:n}}=kt(),r=e,o=cn(r.isDev);function s(i){t(Ie.ACTION_COLLECT,{id:r.compId,isCollect:i},o,n)}return(i,a)=>(U(),he(A(E6),{width:A(at).COMP_ACTION_ICON_WIDTH,isCollect:e.isCollect,onCollect:s},null,8,["width","isCollect"]))}}),us=ue({__name:"CompActionDownload",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},version:{type:String,default:""}},setup(e){const{sendMessageToTop:t}=un(),{params:{instanceUid:n}}=kt(),r=e,o=cn(r.isDev);function s(){t(Ie.ACTION_DOWNLOAD,{id:r.compId,version:r.version},o,n)}return(i,a)=>(U(),he(A(Ti),{type:"primary",onClick:s},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:cloud-download-outline",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),T6={class:"size-full"},O6=ue({__name:"CompDesc",props:{desc:{type:String,default:""},keyword:{type:String,default:""}},setup(e){const t=Z(!1);return(n,r)=>(U(),ae("div",T6,[ee(A(h3),{disabled:!t.value,content:e.desc,placement:"bottom",width:"300","show-after":700},{reference:pe(()=>[ee(A(u6),{modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=o=>t.value=o),text:e.desc,keyword:e.keyword,class:"text-[12px] leading-4"},null,8,["modelValue","text","keyword"])]),_:1},8,["disabled","content"])]))}}),N6=ue({__name:"OssAvatar",props:{isDev:{type:Boolean,default:!1},src:{type:String,default:""},text:{type:String,default:""}},setup(e){const t=e,n=cn(t.isDev),{messageListener:r,sendMessageToTop:o}=un(),{addListener:s}=r(),{params:{instanceUid:i}}=kt(),a=_m(),l=Z("");return s(Ie.OSS_FILE_SIGN_URL_SET,({objectId:c,signUrl:u})=>{c===t.src&&(l.value=u)}),_e(()=>t.text,c=>{!c||t.src||(l.value=x6(c))},{immediate:!0}),mi(async()=>{t.src&&o(Ie.OSS_FILE_SIGN_URL_GET,{objectId:t.src},n,i)}),(c,u)=>(U(),he(A(wN),Dt({class:"border border-gray-400"},A(a),{src:l.value}),null,16,["src"]))}}),F6=ue({__name:"CompVersionSelectListItem",props:{isDev:{type:Boolean,default:!1},id:{type:String,default:""},version:{type:String,default:""}},setup(e){const{t}=tr(),n=e,{sendMessageToTop:r,messageListener:o}=un(),s=cn(n.isDev),{addListener:i}=o(),{params:{instanceUid:a}}=kt(),l=Z(""),c=Z([]),u=L(()=>c.value.map(h=>({value:h.version,label:h.version})));function f(h){l.value=h}async function d(h){u.value.length||!h||r(Ie.ITEM_VERSION_LIST_GET,n.id,s,a)}function p(){l.value=n.version}return i(Ie.ITEM_VERSION_LIST_SET,h=>{h.compId===n.id&&(c.value=h.versionList)}),_e(()=>l.value,(h,m)=>{if(h===m||!m)return;const v={version:h,compId:n.id};r(Ie.ITEM_VERSION_CHANGE,v,s,a)}),gt(()=>{p()}),(h,m)=>(U(),he(A(IF),{modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=v=>l.value=v),placeholder:A(t)("common.pleaseSelect"),onChange:f,onVisibleChange:d},{default:pe(()=>[(U(!0),ae(ke,null,Nn(u.value,v=>(U(),he(A(PF),{key:v.value,label:v.label,value:v.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"]))}}),y_=ue({__name:"CompActionDel",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=cn(t.isDev),{sendMessageToTop:r}=un(),{params:{instanceUid:o}}=kt();function s(){r(Ie.ACTION_DELETE,t.compId,n,o)}return(i,a)=>(U(),he(A(Ti),{type:"danger",onClick:s},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:delete-forever-outline-rounded",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),Pf=ue({__name:"CompActionUpdate",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=cn(t.isDev),{sendMessageToTop:r,messageListener:o}=un(),{addListener:s}=o(),{params:{instanceUid:i}}=kt(),a=Z(!1),l=L(()=>a.value?"primary":"info");function c(){r(Ie.ACTION_UPDATE,t.compId,n,i)}return s(Ie.LOCAL_EXIST_SET,u=>{u.compId===t.compId&&(a.value=u.exist??!1)}),r(Ie.LOCAL_EXIST_GET,t.compId,n,i),(u,f)=>(U(),he(A(Ti),{type:l.value,onClick:c},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:cloud-upload",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1},8,["type"]))}}),Sr=ue({__name:"index",props:{list:{}},setup(e){let t=()=>{};const n=e,r=Z([]),o=()=>b6({list:n.list,oldList:r.value,render:(i,a)=>{const l=a[0];if(i===v_&&l)r.value.push(l);else if(i===g_){const c=a[0];if(c){const u=r.value.findIndex(f=>f._id===c._id);if(u>-1){const f=r.value[u];mn(f,c)||(r.value[u]=c)}}}else i===__?r.value=r.value.filter(c=>!a.find(u=>u._id===c._id)):i===x_&&(r.value=[])}}),s=i=>{for(const a of i){const l=r.value.findIndex(c=>c._id===a._id);l>-1&&(mn(r.value[l],a)||(r.value[l]=a))}};return _e(()=>n.list,(i,a)=>{if(t(),a&&i.length===a.length){const l=new Set(a.map(u=>u._id));if(i.every(u=>l.has(u._id))){s(i);return}}t=o()}),Nt(()=>{t()}),(i,a)=>(U(),he(A(_6),{itemMinWidth:350,class:"overflow-x-hidden"},{default:pe(()=>[(U(!0),ae(ke,null,Nn(r.value,l=>(U(),he(A($F),{key:l._id,"body-class":"!p-[0px] flex flex-col !overflow-hidden relative",class:"overflow-hidden"},{default:pe(()=>[Se(i.$slots,"body",{item:l})]),_:2},1024))),128))]),_:3}))}});function wr(){const{params:{instanceUid:e}}=kt(),t=cn(!1),{sendMessageToTop:n,messageListener:r}=un(),{addListener:o}=r(),{depsSetting:s}=V4(!1),i=Z([]),a=Z("");return o(Ie.LIST_INIT,l=>{i.value=l}),o(Ie.SEARCH_KEYWORD_SET,l=>{a.value=l}),n(Ie.SEARCH_KEYWORD_GET,"",t,e),n(Ie.LIST_INIT_GET,"",t,e),{listInitData:i,depsSetting:s,keyword:a}}const M6={class:"text-left flex flex-col w-full overflow-hidden my-1 gap-[3px] h-[85px]"},L6={class:"flex justify-between items-center"},I6={class:"font-medium"},P6={class:"overflow-hidden relative flex-1"},D6={class:"h-[20px]"},zr=ue({__name:"index",props:{attrs:{type:Object,default:()=>({})},depsSetting:{type:Array,default:()=>[]},keyword:{type:String,default:""}},setup(e){const t=e,n=L(()=>HD.handleDepData(t.attrs.dep??[])),r=L(()=>!1);return(o,s)=>(U(),ae("div",M6,[te("div",L6,[te("h4",I6,[ee(A(A6),{text:e.attrs?.name,keyword:e.keyword},null,8,["text","keyword"])]),te("div",null,[ee(A(m6),Dt(e.attrs?.authorId,{teamUserNickname:e.attrs?.teamUserNickname}),{avatar:pe(()=>[ee(A(N6),{isDev:r.value,size:15,src:e.attrs?.authorId?.avatar},null,8,["isDev","src"])]),_:1},16,["teamUserNickname"])])]),te("div",P6,[ee(A(O6),{desc:e.attrs?.desc,keyword:e.keyword},null,8,["desc","keyword"])]),te("div",D6,[ee(A(S6),{compDeps:n.value,depsSetting:e.depsSetting,keyword:e.keyword},null,8,["compDeps","depsSetting","keyword"])])]))}});var pc,_h;function k6(){if(_h)return pc;_h=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,h=-1,m=0;m<=p;++m){if(m===p){if(d>p){if(i.charCodeAt(u+m)===47)return i.slice(u+m+1);if(m===0)return i.slice(u+m)}else c>p&&(s.charCodeAt(a+m)===47?h=m:m===0&&(h=0));break}var v=s.charCodeAt(a+m),g=i.charCodeAt(u+m);if(v!==g)break;v===47&&(h=m)}var _="";for(m=a+h+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+h):(u+=h,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,h=s.length-1,m=0;h>=c;--h){if(a=s.charCodeAt(h),a===47){if(!p){f=h+1;break}continue}d===-1&&(p=!1,d=h+1),a===46?u===-1?u=h:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,pc=r,pc}var R6=k6();const $6=["bg"],B6={class:"flex-1 dark:border-gray-600 shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1)] dark:shadow-[0_4px_6px_-1px_rgba(0,0,0,0.3)]"},V6=["name","src"],H6={class:"w-[100px] p-1"},U6={key:1},Ar=ue({__name:"index",props:{attrs:{type:Object,default:()=>({})},isSwitchVersion:{type:Boolean,default:!0},iframeType:{type:String,default:at.IFRAME_ROUTES.ITEM.CAROUSEL_REMOTE}},setup(e){const t=e,{uniteParams:n,getTheme:r}=kt(),o=$M(!1,window.__GLOBAL_CONFIG__?.subPort);function s(i){const a=n({compId:i}),l=new URLSearchParams({params:a,isDark:r()??"false"}).toString();return o+R6.join(`/${at.WEBSITE_PATH_ITEM}`,t.iframeType,`?${l}`)}return(i,a)=>(U(),ae("div",{class:"h-[280px] flex flex-col gap-1",bg:e.attrs?.bgColor},[te("div",B6,[te("iframe",{name:e.attrs._id,class:"size-full overflow-hidden border-none",src:s(e.attrs._id),loading:"lazy"},null,8,V6)]),te("div",H6,[e.isSwitchVersion?(U(),he(A(F6),{key:0,id:e.attrs?._id,version:e.attrs?.version},null,8,["id","version"])):(U(),ae("span",U6,De(e.attrs?.version),1))])],8,$6))}}),j6={class:"size-full flex flex-col"},W6={class:"p-1"},G6={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},z6={class:"flex gap-5"},K6={class:"flex-1 flex justify-end items-start gap-2"},Y6=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",j6,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",W6,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",G6,[te("div",z6,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"]),ee(A(Br),{icon:"material-symbols:star-outline-rounded",value:Math.max(a?.collectCount??0,0)},null,8,["value"])]),te("div",K6,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(b_),{compId:a._id,isCollect:a?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),q6={class:"size-full flex flex-col"},J6={class:"p-1"},X6={class:"text-xs mt-1 flex justify-between items-center"},Q6=ue({__name:"index",setup(e){const{t}=tr(),{listInitData:n}=wr(),{messageListener:r,sendMessageToTop:o}=un(),{addListener:s}=r(),i=cn(!1),{params:{instanceUid:a}}=kt(),l=Z([]),c=L(()=>!1);function u(d){o(Ie.ACTION_OPEN_VSCODE_LOCAL,d,i,a)}function f(d){return l.value.find(p=>p.compId===d)?.fullPath??""}return s(Ie.ITEM_SITE_PATH_SET,d=>{l.value=d}),o(Ie.ITEM_SITE_PATH_GET,"",i,a),(d,p)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:h})=>[te("div",q6,[ee(Ar,{attrs:h,iframeType:A(at).IFRAME_ROUTES.ITEM.CAROUSEL_LOCAL,isSwitchVersion:!1},null,8,["attrs","iframeType"]),te("div",J6,[te("span",null,De(h.name),1),te("div",X6,[te("div",null,[Tt(De(A(t)("comp.compLocation"))+": ",1),ee(A(Ti),{href:"javascript:void(0)",type:"primary",underline:"always",title:h.fullPath,onClick:m=>u(h._id)},{default:pe(()=>[Tt(De(f(h._id)||h.fullPath),1)]),_:2},1032,["title","onClick"])]),ee(A(Gr),{compId:h._id,isLocal:!0,isDev:c.value},null,8,["compId","isDev"])])])])]),_:1},8,["list"]))}}),Z6={class:"size-full flex flex-col"},ek={class:"p-1"},tk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},nk={class:"flex gap-5"},rk={class:"flex-1 flex justify-end items-start gap-2"},ok=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",Z6,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",ek,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",tk,[te("div",nk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"]),ee(A(Br),{icon:"material-symbols:star-outline-rounded",value:Math.max(a?.collectCount??0,0)},null,8,["value"])]),te("div",rk,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(Pf),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(y_),{compId:a._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),sk={class:"size-full flex flex-col"},ik={class:"p-1"},ak={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},lk={class:"flex gap-5"},ck={class:"flex-1 flex justify-end items-start gap-2"},uk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",sk,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",ik,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",ak,[te("div",lk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"]),ee(A(Br),{icon:"material-symbols:star-outline-rounded",value:Math.max(a?.collectCount??0,0)},null,8,["value"])]),te("div",ck,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(b_),{compId:a._id,isCollect:a?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),fk={class:"size-full flex flex-col"},dk={class:"p-1"},pk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},hk={class:"flex-1 flex justify-end items-start gap-2"},mk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",fk,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",dk,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",pk,[te("div",hk,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),gk={class:"size-full flex flex-col"},vk={class:"p-1"},_k={class:"mt-auto overflow-hidden w-full flex items-center justify-end"},xk=ue({__name:"index",setup(e){const{t}=tr(),{listInitData:n,depsSetting:r,keyword:o}=wr(),{messageListener:s,sendMessageToTop:i}=un(),a=cn(!1),{params:{instanceUid:l}}=kt(),{addListener:c}=s();let u=null;const f=p=>t(p?"team.added":"team.addComp"),d=(p,h)=>{u=h,u.start(),i(Ie.ACTION_ADD_COMP_START_LOADING,p._id,a,l)};return c(Ie.ACTION_ADD_COMP_FINISH_LOADING,()=>{u?.end()}),(p,h)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:m})=>[te("div",gk,[ee(Ar,{attrs:m},null,8,["attrs"]),te("div",vk,[ee(zr,{attrs:m,depsSetting:A(r),keyword:A(o)},null,8,["attrs","depsSetting","keyword"]),te("div",_k,[ee(A(n8),null,{default:pe(({instance:v,loading:g})=>[ee(A(eF),{type:"primary",loading:g,disabled:m.isAdd,onClick:_=>d(m,v)},{default:pe(()=>[te("span",null,De(f(m?.isAdd??!1)),1)]),_:2},1032,["loading","disabled","onClick"])]),_:2},1024)])])])]),_:1},8,["list"]))}}),bk={class:"size-full flex flex-col"},yk={class:"p-1"},Ek={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Ck={class:"flex gap-5"},Sk={class:"flex-1 flex justify-end items-start gap-2"},wk=ue({__name:"index",setup(e){const{params:{userId:t}}=kt(),{listInitData:n,depsSetting:r,keyword:o}=wr(),s=L(()=>!1);function i(a){if(!t)return!1;const l=a?.canUpdateUsers?.includes(t),c=a?.authorId?._id===t;return l||c}return(a,l)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:c})=>[te("div",bk,[ee(Ar,{attrs:c},null,8,["attrs"]),te("div",yk,[ee(zr,{attrs:c,depsSetting:A(r),keyword:A(o)},null,8,["attrs","depsSetting","keyword"]),te("div",Ek,[te("div",Ck,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(c?.totalDownloadCount??0,0)},null,8,["value"])]),te("div",Sk,[ee(A(us),{compId:c._id,version:c.version,isDev:s.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:c._id,isDev:s.value},null,8,["compId","isDev"]),i(c)?(U(),he(A(Pf),{key:0,compId:c._id,isDev:s.value},null,8,["compId","isDev"])):Ae("",!0)])])])])]),_:1},8,["list"]))}}),Ak={class:"size-full flex flex-col"},Tk={class:"p-1"},Ok={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Nk={class:"flex gap-[5px] h-[32px] items-center"},Fk={class:"flex-1 flex justify-end items-start gap-2"},Mk=ue({__name:"index",setup(e){const{t}=tr(),{listInitData:n,depsSetting:r,keyword:o}=wr(),s=cn(!1),{messageListener:i,sendMessageToTop:a}=un(),{params:{instanceUid:l}}=kt(),{addListener:c}=i(),u=Z({}),f=Z([]),d=Z({}),p=g=>!!u.value[g],h=g=>d.value[g]??"";function m(g){const _=tw(u.value);delete _[g],a(Ie.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,_,s,l)}function v(g,_){let y=[...f.value];g?y.push(_):y=y.filter(x=>x!==_),a(Ie.SELECTED_ROWS_SET,y,s,l)}return c(Ie.COMP_GROUP_PATH_SET,g=>{d.value=g}),c(Ie.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,g=>{u.value=g}),c(Ie.SELECTED_ROWS_SET,g=>{f.value=g}),a(Ie.SELECTED_ROWS_TO_LEAF_NODE_MAP_GET,"",s,l),a(Ie.SELECTED_ROWS_GET,"",s,l),_e(()=>u.value,g=>{const _=Object.keys(g);_.length>0&&a(Ie.COMP_GROUP_PATH_GET,_,s,l)}),(g,_)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:y})=>[te("div",Ak,[ee(Ar,{attrs:y},null,8,["attrs"]),te("div",Tk,[ee(zr,{attrs:y,depsSetting:A(r),keyword:A(o)},null,8,["attrs","depsSetting","keyword"]),te("div",Ok,[te("div",Nk,[p(y._id)?(U(),he(A(Us),{key:0,type:"info",closable:"","disable-transitions":!0,round:"",onClose:x=>m(y._id)},{default:pe(()=>[Tt(De(h(y._id)),1)]),_:2},1032,["onClose"])):(U(),he(A(JF),{key:1,label:A(t)("common.pleaseSelect"),"model-value":f.value.includes(y._id),onChange:x=>v(x,y._id)},null,8,["label","model-value","onChange"]))]),te("div",Fk,[ee(A(Gr),{compId:y._id},null,8,["compId"])])])])])]),_:1},8,["list"]))}}),Lk={class:"size-full flex flex-col"},Ik={class:"p-1"},Pk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Dk={class:"flex gap-5"},kk={class:"flex-1 flex justify-end items-start gap-2"},Rk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",Lk,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",Ik,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",Pk,[te("div",Dk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"])]),te("div",kk,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(Pf),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(y_),{compId:a._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),$k={collect:Y6,local:Q6,mine:ok,share:uk,similar:mk,teamAdd:xk,teamAll:wk,teamGroup:Mk,teamMine:Rk};function Bk(){const e=[],t=at.IFRAME_ROUTES.CONTAINER;for(const n in t){const o=t[n],s=$k[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const Vk=YI({history:AI(`/${at.WEBSITE_PATH_CONTAINER}/`),routes:Bk()});function Hk(e){e.use(Vk)}const Uk={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loading:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},jk={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},Wk={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:"支持创建分组菜单,灵活组织团队组件"},Gk={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",guestLogin:"游客访问",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",guest:"游客",notLoggedIn:"未登录",goLogin:"去登录"},zk={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},Kk={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},Yk={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},qk={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},Jk={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},Xk={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},Qk={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},Zk={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},eR={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},tR={submit:"提交"},nR={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},rR={common:Uk,comp:jk,team:Wk,user:Gk,file:zk,message:Kk,route:Yk,markdown:qk,terminal:Jk,deps:Xk,setting:Qk,upgrade:Zk,tag:eR,formCreate:tR,validateHash:nR},oR={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loading:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},sR={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},iR={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"},aR={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",guestLogin:"Guest Access",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",guest:"Guest",notLoggedIn:"Not logged in",goLogin:"Go to Login"},lR={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"},cR={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},uR={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},fR={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},dR={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},pR={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},hR={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},mR={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"},gR={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},vR={submit:"Submit"},_R={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'},xR={common:oR,comp:sR,team:iR,user:aR,file:lR,message:cR,route:uR,markdown:fR,terminal:dR,deps:pR,setting:hR,upgrade:mR,tag:gR,formCreate:vR,validateHash:_R},bR={zh:rR,en:xR},yR=localStorage.getItem(DM.LOCALE_KEY)||"zh",ER=O4({locale:yR,messages:bR,legacy:!1});function CR(e){e.use(ER)}function SR(e){e.directive("loading",hf)}function wR(e){Hk(e),SR(e),CR(e)}const E_=eg(U4);wR(E_);E_.mount("#app")});export default AR();
12
+ `):e}let lc=null,_8;function x8(){return lc===null&&(lc=new Intl.Segmenter(_8,{granularity:"word"})),lc}const b8=new RegExp("\\p{Script=Arabic}","u"),Cl=new RegExp("\\p{M}","u"),a_=new RegExp("\\p{Nd}","u");function nh(e){return b8.test(e)}function rh(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=183984&&e<=191471||e>=191472&&e<=192093||e>=194560&&e<=195103||e>=196608&&e<=201551||e>=201552&&e<=205743||e>=205744&&e<=210041||e>=63744&&e<=64255||e>=12288&&e<=12351||e>=12352&&e<=12447||e>=12448&&e<=12543||e>=12592&&e<=12687||e>=44032&&e<=55215||e>=65280&&e<=65519}function xo(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(!(n<12288)){if(n>=55296&&n<=56319&&t+1<e.length){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){const o=(n-55296<<10)+(r-56320)+65536;if(rh(o))return!0;t++;continue}}if(rh(n))return!0}}return!1}function y8(e){const t=wl(e);return t!==null&&(Nf.has(t)||bo.has(t))}const E8=new Set([" "," ","⁠","\uFEFF"]);function C8(e){return xo(e)}function S8(e){const t=wl(e);return t!==null&&E8.has(t)}function w8(e){return!y8(e)&&!S8(e)}const Nf=new Set([",",".","!",":",";","?","、","。","・",")","〕","〉","》","」","』","】","〗","〙","〛","ー","々","〻","ゝ","ゞ","ヽ","ヾ"]),Sl=new Set(['"',"(","[","{","“","‘","«","‹","(","〔","〈","《","「","『","【","〖","〘","〚"]),Ff=new Set(["'","’"]),bo=new Set([".",",","!","?",":",";","،","؛","؟","।","॥","၊","။","၌","၍","၏",")","]","}","%",'"',"”","’","»","›","…"]),A8=new Set([":",".","،","؛"]),T8=new Set(["၏"]),O8=new Set(["”","’","»","›","」","』","】","》","〉","〕",")"]);function N8(e){if(Mf(e))return!0;let t=!1;for(const n of e){if(bo.has(n)){t=!0;continue}if(!(t&&Cl.test(n)))return!1}return t}function F8(e){for(const t of e)if(!Nf.has(t)&&!bo.has(t))return!1;return e.length>0}function M8(e){if(Mf(e))return!0;for(const t of e)if(!Sl.has(t)&&!Ff.has(t)&&!Cl.test(t))return!1;return e.length>0}function Mf(e){let t=!1;for(const n of e)if(!(n==="\\"||Cl.test(n))){if(Sl.has(n)||bo.has(n)||Ff.has(n)){t=!0;continue}return!1}return t}function l_(e,t){const n=t-1;if(n<=0)return Math.max(n,0);const r=e.charCodeAt(n);if(r<56320||r>57343)return n;const o=n-1;if(o<0)return n;const s=e.charCodeAt(o);return s>=55296&&s<=56319?o:n}function wl(e){if(e.length===0)return null;const t=l_(e,e.length);return e.slice(t)}function L8(e){const t=Array.from(e);let n=t.length;for(;n>0;){const r=t[n-1];if(Cl.test(r)){n--;continue}if(Sl.has(r)||Ff.has(r)){n--;continue}break}return n<=0||n===t.length?null:{head:t.slice(0,n).join(""),tail:t.slice(n).join("")}}function I8(e,t,n){return n==="text"&&!t&&e.length===1&&e!=="-"&&e!=="—"?e:null}function oh(e,t,n,r){const o=t[r],s=e[r];if(o==null)return s;const i=n[r];if(s.length===i)return s;const a=o.repeat(i);return e[r]=a,a}function sh(e,t){return e&&t!==null&&A8.has(t)}function P8(e){const t=wl(e);return t!==null&&T8.has(t)}function D8(e){if(e.length<2||e[0]!==" ")return null;const t=e.slice(1);return new RegExp("^\\p{M}+$","u").test(t)?{space:" ",marks:t}:null}function lu(e){let t=e.length;for(;t>0;){const n=l_(e,t),r=e.slice(n,t);if(O8.has(r))return!0;if(!bo.has(r))return!1;t=n}return!1}function k8(e,t){if(t.preserveOrdinarySpaces||t.preserveHardBreaks){if(e===" ")return"preserved-space";if(e===" ")return"tab";if(t.preserveHardBreaks&&e===`
13
+ `)return"hard-break"}return e===" "?"space":e===" "||e===" "||e==="⁠"||e==="\uFEFF"?"glue":e==="​"?"zero-width-break":e==="­"?"soft-hyphen":"text"}const R8=/[\x20\t\n\xA0\xAD\u200B\u202F\u2060\uFEFF]/;function bn(e){return e.length===1?e[0]:e.join("")}function $8(e,t){const n=[];for(let r=e.length-1;r>=0;r--)n.push(e[r]);return n.push(t),bn(n)}function B8(e,t,n,r){if(!R8.test(e))return[{text:e,isWordLike:t,kind:"text",start:n}];const o=[];let s=null,i=[],a=n,l=!1,c=0;for(const u of e){const f=k8(u,r),d=f==="text"&&t;if(s!==null&&f===s&&d===l){i.push(u),c+=u.length;continue}s!==null&&o.push({text:bn(i),isWordLike:l,kind:s,start:a}),s=f,i=[u],a=n+c,l=d,c+=u.length}return s!==null&&o.push({text:bn(i),isWordLike:l,kind:s,start:a}),o}function cu(e){return e==="space"||e==="preserved-space"||e==="zero-width-break"||e==="hard-break"}const V8=/^[A-Za-z][A-Za-z0-9+.-]*:$/;function H8(e,t){const n=e.texts[t];return n.startsWith("www.")?!0:V8.test(n)&&t+1<e.len&&e.kinds[t+1]==="text"&&e.texts[t+1]==="//"}function U8(e){return e.includes("?")&&(e.includes("://")||e.startsWith("www."))}function j8(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let i=0;i<e.len;i++){if(r[i]!=="text"||!H8(e,i))continue;const a=[t[i]];let l=i+1;for(;l<e.len&&!cu(r[l]);){a.push(t[l]),n[i]=!0;const c=t[l].includes("?");if(r[l]="text",t[l]="",l++,c)break}t[i]=bn(a)}let s=0;for(let i=0;i<t.length;i++){const a=t[i];a.length!==0&&(s!==i&&(t[s]=a,n[s]=n[i],r[s]=r[i],o[s]=o[i]),s++)}return t.length=s,n.length=s,r.length=s,o.length=s,{len:s,texts:t,isWordLike:n,kinds:r,starts:o}}function W8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s];if(t.push(i),n.push(e.isWordLike[s]),r.push(e.kinds[s]),o.push(e.starts[s]),!U8(i))continue;const a=s+1;if(a>=e.len||cu(e.kinds[a]))continue;const l=[],c=e.starts[a];let u=a;for(;u<e.len&&!cu(e.kinds[u]);)l.push(e.texts[u]),u++;l.length>0&&(t.push(bn(l)),n.push(!0),r.push("text"),o.push(c),s=u-1)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}const G8=new Set([":","-","/","×",",",".","+","–","—"]),ih=/^[A-Za-z0-9_]+[,:;]*$/,ah=/[,:;]+$/;function c_(e){for(const t of e)if(a_.test(t))return!0;return!1}function Pa(e){if(e.length===0)return!1;for(const t of e)if(!(a_.test(t)||G8.has(t)))return!1;return!0}function z8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s],a=e.kinds[s];if(a==="text"&&Pa(i)&&c_(i)){const l=[i];let c=s+1;for(;c<e.len&&e.kinds[c]==="text"&&Pa(e.texts[c]);)l.push(e.texts[c]),c++;t.push(bn(l)),n.push(!0),r.push("text"),o.push(e.starts[s]),s=c-1;continue}t.push(i),n.push(e.isWordLike[s]),r.push(a),o.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function K8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s],a=e.kinds[s],l=e.isWordLike[s];if(a==="text"&&l&&ih.test(i)){const c=[i];let u=ah.test(i),f=s+1;for(;u&&f<e.len&&e.kinds[f]==="text"&&e.isWordLike[f]&&ih.test(e.texts[f]);){const d=e.texts[f];c.push(d),u=ah.test(d),f++}t.push(bn(c)),n.push(!0),r.push("text"),o.push(e.starts[s]),s=f-1;continue}t.push(i),n.push(l),r.push(a),o.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function Y8(e){const t=[],n=[],r=[],o=[];for(let s=0;s<e.len;s++){const i=e.texts[s];if(e.kinds[s]==="text"&&i.includes("-")){const a=i.split("-");let l=a.length>1;for(let c=0;c<a.length;c++){const u=a[c];if(!l)break;(u.length===0||!c_(u)||!Pa(u))&&(l=!1)}if(l){let c=0;for(let u=0;u<a.length;u++){const f=a[u],d=u<a.length-1?`${f}-`:f;t.push(d),n.push(!0),r.push("text"),o.push(e.starts[s]+c),c+=d.length}continue}}t.push(i),n.push(e.isWordLike[s]),r.push(e.kinds[s]),o.push(e.starts[s])}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function q8(e){const t=[],n=[],r=[],o=[];let s=0;for(;s<e.len;){const i=[e.texts[s]];let a=e.isWordLike[s],l=e.kinds[s],c=e.starts[s];if(l==="glue"){const u=[i[0]],f=c;for(s++;s<e.len&&e.kinds[s]==="glue";)u.push(e.texts[s]),s++;const d=bn(u);if(s<e.len&&e.kinds[s]==="text")i[0]=d,i.push(e.texts[s]),a=e.isWordLike[s],l="text",c=f,s++;else{t.push(d),n.push(!1),r.push("glue"),o.push(f);continue}}else s++;if(l==="text")for(;s<e.len&&e.kinds[s]==="glue";){const u=[];for(;s<e.len&&e.kinds[s]==="glue";)u.push(e.texts[s]),s++;const f=bn(u);if(s<e.len&&e.kinds[s]==="text"){i.push(f,e.texts[s]),a=a||e.isWordLike[s],s++;continue}i.push(f)}t.push(bn(i)),n.push(a),r.push(l),o.push(c)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function J8(e){const t=e.texts.slice(),n=e.isWordLike.slice(),r=e.kinds.slice(),o=e.starts.slice();for(let s=0;s<t.length-1;s++){if(r[s]!=="text"||r[s+1]!=="text"||!xo(t[s])||!xo(t[s+1]))continue;const i=L8(t[s]);i!==null&&(t[s]=i.head,t[s+1]=i.tail+t[s+1],o[s+1]=o[s]+i.head.length)}return{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function lh(e,t,n){const r=x8();let o=0;const s=[],i=[],a=[],l=[],c=[],u=[],f=[],d=[],p=[],h=[],m=[],v=[];for(const b of r.segment(e))for(const O of B8(b.segment,b.isWordLike??!1,b.index,n)){let R=function(){u[M]!==null&&(i[M]=[oh(s,u,f,M)],u[M]=null),i[M].push(O.text),a[M]=a[M]||O.isWordLike,d[M]=d[M]||W,p[M]=p[M]||I,h[M]=H,m[M]=D,v[M]=sh(p[M],Y)};var E=R;const F=O.kind==="text",V=I8(O.text,O.isWordLike,O.kind),W=xo(O.text),I=nh(O.text),Y=wl(O.text),H=lu(O.text),D=P8(O.text),M=o-1;t.carryCJKAfterClosingQuote&&F&&o>0&&l[M]==="text"&&W&&d[M]&&h[M]||F&&o>0&&l[M]==="text"&&F8(O.text)&&d[M]||F&&o>0&&l[M]==="text"&&m[M]?R():F&&o>0&&l[M]==="text"&&O.isWordLike&&I&&v[M]?(R(),a[M]=!0):V!==null&&o>0&&l[M]==="text"&&u[M]===V?f[M]=(f[M]??1)+1:F&&!O.isWordLike&&o>0&&l[M]==="text"&&!d[M]&&(N8(O.text)||O.text==="-"&&a[M])?R():(s[o]=O.text,i[o]=[O.text],a[o]=O.isWordLike,l[o]=O.kind,c[o]=O.start,u[o]=V,f[o]=V===null?0:1,d[o]=W,p[o]=I,h[o]=H,m[o]=D,v[o]=sh(I,Y),o++)}for(let b=0;b<o;b++){if(u[b]!==null){s[b]=oh(s,u,f,b);continue}s[b]=bn(i[b])}for(let b=1;b<o;b++)l[b]==="text"&&!a[b]&&Mf(s[b])&&l[b-1]==="text"&&!d[b-1]&&(s[b-1]+=s[b],a[b-1]=a[b-1]||a[b],s[b]="");const g=Array.from({length:o},()=>null);let _=-1;for(let b=o-1;b>=0;b--){const O=s[b];if(O.length!==0){if(l[b]==="text"&&!a[b]&&M8(O)&&_>=0&&l[_]==="text"){const F=g[_]??[];F.push(O),g[_]=F,c[_]=c[b],s[b]="";continue}_=b}}for(let b=0;b<o;b++){const O=g[b];O!=null&&(s[b]=$8(O,s[b]))}let y=0;for(let b=0;b<o;b++){const O=s[b];O.length!==0&&(y!==b&&(s[y]=O,a[y]=a[b],l[y]=l[b],c[y]=c[b]),y++)}s.length=y,a.length=y,l.length=y,c.length=y;const x=q8({len:y,texts:s,isWordLike:a,kinds:l,starts:c}),S=J8(K8(Y8(z8(W8(j8(x))))));for(let b=0;b<S.len-1;b++){const O=D8(S.texts[b]);O!==null&&(S.kinds[b]!=="space"&&S.kinds[b]!=="preserved-space"||S.kinds[b+1]!=="text"||!nh(S.texts[b+1])||(S.texts[b]=O.space,S.isWordLike[b]=!1,S.kinds[b]=S.kinds[b]==="preserved-space"?"preserved-space":"space",S.texts[b+1]=O.marks+S.texts[b+1],S.starts[b+1]=S.starts[b]+O.space.length))}return S}function X8(e,t){if(e.len===0)return[];if(!t.preserveHardBreaks)return[{startSegmentIndex:0,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}];const n=[];let r=0;for(let o=0;o<e.len;o++)e.kinds[o]==="hard-break"&&(n.push({startSegmentIndex:r,endSegmentIndex:o,consumedEndSegmentIndex:o+1}),r=o+1);return r<e.len&&n.push({startSegmentIndex:r,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}),n}function Q8(e){if(e.len<=1)return e;const t=[],n=[],r=[],o=[];let s=null,i=!1,a=0,l=!1,c=!1;function u(){s!==null&&(t.push(bn(s)),n.push(i),r.push("text"),o.push(a),s=null)}for(let f=0;f<e.len;f++){const d=e.texts[f],p=e.kinds[f],h=e.isWordLike[f],m=e.starts[f];if(p==="text"){const v=C8(d),g=w8(d);if(s!==null&&l&&c){s.push(d),i=i||h,l=l||v,c=g;continue}u(),s=[d],i=h,a=m,l=v,c=g;continue}u(),t.push(d),n.push(h),r.push(p),o.push(m)}return u(),{len:t.length,texts:t,isWordLike:n,kinds:r,starts:o}}function Z8(e,t,n="normal",r="normal"){const o=m8(n),s=o.mode==="pre-wrap"?v8(e):g8(e);if(s.length===0)return{normalized:s,chunks:[],len:0,texts:[],isWordLike:[],kinds:[],starts:[]};const i=r==="keep-all"?Q8(lh(s,t,o)):lh(s,t,o);return{normalized:s,chunks:X8(i,o),...i}}let Oo=null;const ch=new Map;let No=null;const eD=96,tD=new RegExp("\\p{Emoji_Presentation}","u"),nD=/[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}\uFE0F\u20E3]/u;let cc=null;const uh=new Map;function Lf(){if(Oo!==null)return Oo;if(typeof OffscreenCanvas<"u")return Oo=new OffscreenCanvas(1,1).getContext("2d"),Oo;if(typeof document<"u")return Oo=document.createElement("canvas").getContext("2d"),Oo;throw new Error("Text measurement requires OffscreenCanvas or a DOM canvas context.")}function rD(e){let t=ch.get(e);return t||(t=new Map,ch.set(e,t)),t}function Rr(e,t){let n=t.get(e);return n===void 0&&(n={width:Lf().measureText(e).width,containsCJK:xo(e)},t.set(e,n)),n}function Al(){if(No!==null)return No;if(typeof navigator>"u")return No={lineFitEpsilon:.005,carryCJKAfterClosingQuote:!1,preferPrefixWidthsForBreakableRuns:!1,preferEarlySoftHyphenBreak:!1},No;const e=navigator.userAgent,n=navigator.vendor==="Apple Computer, Inc."&&e.includes("Safari/")&&!e.includes("Chrome/")&&!e.includes("Chromium/")&&!e.includes("CriOS/")&&!e.includes("FxiOS/")&&!e.includes("EdgiOS/"),r=e.includes("Chrome/")||e.includes("Chromium/")||e.includes("CriOS/")||e.includes("Edg/");return No={lineFitEpsilon:n?1/64:.005,carryCJKAfterClosingQuote:r,preferPrefixWidthsForBreakableRuns:n,preferEarlySoftHyphenBreak:n},No}function oD(e){const t=e.match(/(\d+(?:\.\d+)?)\s*px/);return t?parseFloat(t[1]):16}function u_(){return cc===null&&(cc=new Intl.Segmenter(void 0,{granularity:"grapheme"})),cc}function sD(e){return tD.test(e)||e.includes("️")}function iD(e){return nD.test(e)}function aD(e,t){let n=uh.get(e);if(n!==void 0)return n;const r=Lf();r.font=e;const o=r.measureText("😀").width;if(n=0,o>t+.5&&typeof document<"u"&&document.body!==null){const s=document.createElement("span");s.style.font=e,s.style.display="inline-block",s.style.visibility="hidden",s.style.position="absolute",s.textContent="😀",document.body.appendChild(s);const i=s.getBoundingClientRect().width;document.body.removeChild(s),o-i>.5&&(n=o-i)}return uh.set(e,n),n}function lD(e){let t=0;const n=u_();for(const r of n.segment(e))sD(r.segment)&&t++;return t}function cD(e,t){return t.emojiCount===void 0&&(t.emojiCount=lD(e)),t.emojiCount}function ao(e,t,n){return n===0?t.width:t.width-cD(e,t)*n}function uD(e,t,n,r,o){if(t.breakableFitAdvances!==void 0&&t.breakableFitMode===o)return t.breakableFitAdvances;t.breakableFitMode=o;const s=u_(),i=[];for(const u of s.segment(e))i.push(u.segment);if(i.length<=1)return t.breakableFitAdvances=null,t.breakableFitAdvances;if(o==="sum-graphemes"){const u=[];for(const f of i){const d=Rr(f,n);u.push(ao(f,d,r))}return t.breakableFitAdvances=u,t.breakableFitAdvances}if(o==="pair-context"||i.length>eD){const u=[];let f=null,d=0;for(const p of i){const h=Rr(p,n),m=ao(p,h,r);if(f===null)u.push(m);else{const v=f+p,g=Rr(v,n);u.push(ao(v,g,r)-d)}f=p,d=m}return t.breakableFitAdvances=u,t.breakableFitAdvances}const a=[];let l="",c=0;for(const u of i){l+=u;const f=Rr(l,n),d=ao(l,f,r);a.push(d-c),c=d}return t.breakableFitAdvances=a,t.breakableFitAdvances}function fD(e,t){const n=Lf();n.font=e;const r=rD(e),o=oD(e),s=t?aD(e,o):0;return{cache:r,fontSize:o,emojiCorrection:s}}function dD(e){return e==="space"||e==="zero-width-break"||e==="soft-hyphen"}function f_(e){return e==="space"||e==="preserved-space"||e==="tab"||e==="zero-width-break"||e==="soft-hyphen"}function d_(e,t,n=e.widths.length){for(;t<n;){const r=e.kinds[t];if(!dD(r))break;t++}return t}function pD(e,t){if(t<=0)return 0;const n=e%t;return Math.abs(n)<=1e-6?t:t-n}function hD(e,t,n){return e.letterSpacing!==0&&t&&e.spacingGraphemeCounts[n]>0?e.letterSpacing:0}function If(e,t){return t===0?0:e+t}function mD(e,t){return e.letterSpacing!==0&&e.spacingGraphemeCounts[t]>0?e.letterSpacing:0}function gD(e,t,n,r,o){const s=t==="tab"?o+mD(e,n):e.lineEndFitAdvances[n];return If(r,s)}function fh(e,t,n,r){const o=t==="tab"?0:e.lineEndFitAdvances[n];return If(r,o)}function dh(e,t,n,r,o){const s=t==="tab"?o:e.lineEndPaintAdvances[n];return If(r,s)}function vD(e,t,n){return e.letterSpacing!==0&&t?n+e.letterSpacing:n}function _D(e,t){return e.letterSpacing===0?t:t+e.letterSpacing}function xD(e,t,n,r,o,s){let i=0,a=t;for(;i<e.length;){const l=a+e[i]+s;if((i+1<e.length?l+o:l)>n+r)break;a=l,i++}return{fitCount:i,fittedWidth:a}}function bD(e,t,n){const{widths:r,kinds:o,breakableFitAdvances:s}=e;if(r.length===0)return 0;const a=Al().lineFitEpsilon,l=t+a;let c=0,u=0,f=!1,d=0,p=0,h=0,m=0,v=-1,g=0;function _(){v=-1,g=0}function y(F=h,V=m,W=u){c++,n?.(W,d,p,F,V),u=0,f=!1,_()}function x(F,V){f=!0,d=F,p=0,h=F+1,m=0,u=V}function S(F,V,W){f=!0,d=F,p=V,h=F,m=V+1,u=W}function E(F,V){if(!f){x(F,V);return}u+=V,h=F+1,m=0}function b(F,V){const W=s[F];for(let I=V;I<W.length;I++){const Y=W[I];f?u+Y>l?(y(),S(F,I,Y)):(u+=Y,h=F,m=I+1):S(F,I,Y)}f&&h===F&&m===W.length&&(h=F+1,m=0)}let O=0;for(;O<r.length&&!(!f&&(O=d_(e,O),O>=r.length));){const F=r[O],V=o[O],W=f_(V);if(!f){F>l&&s[O]!==null?b(O,0):x(O,F),W&&(v=O+1,g=u-F),O++;continue}if(u+F>l){if(W){E(O,F),y(O+1,0,u-F),O++;continue}if(v>=0){if(h>v||h===v&&m>0){y();continue}y(v,0,g);continue}if(F>l&&s[O]!==null){y(),b(O,0),O++;continue}y();continue}E(O,F),W&&(v=O+1,g=u-F),O++}return f&&y(),c}function yD(e,t,n){if(e.simpleLineWalkFastPath)return bD(e,t,n);const{widths:r,kinds:o,breakableFitAdvances:s,discretionaryHyphenWidth:i,chunks:a}=e;if(r.length===0||a.length===0)return 0;const l=Al(),c=l.lineFitEpsilon,u=t+c;let f=0,d=0,p=!1,h=0,m=0,v=0,g=0,_=-1,y=0,x=0,S=null;function E(){_=-1,y=0,x=0,S=null}function b(D=v,M=g,R=d){f++,n?.(R,h,m,D,M),d=0,p=!1,E()}function O(D,M){p=!0,h=D,m=0,v=D+1,g=0,d=M}function F(D,M,R){p=!0,h=D,m=M,v=D,g=M+1,d=R}function V(D,M){if(!p){O(D,M);return}d+=M,v=D+1,g=0}function W(D,M,R,j,ne,le){if(!M)return;const xe=fh(e,D,R,ne),Ee=dh(e,D,R,ne,j);_=R+1,y=d-le+xe,x=d-le+Ee,S=D}function I(D,M){const R=s[D];for(let j=M;j<R.length;j++){const ne=R[j];if(!p)F(D,j,ne);else{const le=vD(e,!0,ne),xe=d+le;_D(e,xe)>u?(b(),F(D,j,ne)):(d=xe,v=D,g=j+1)}}p&&v===D&&g===R.length&&(v=D+1,g=0)}function Y(D){if(S!=="soft-hyphen")return!1;const M=s[D];if(M==null)return!1;const{fitCount:R,fittedWidth:j}=xD(M,d,t,c,i,e.letterSpacing);return R===0?!1:(d=j,v=D,g=R,E(),R===M.length?(v=D+1,g=0,!0):(b(D,R,j+i),I(D,R),!0))}function H(D){f++,n?.(0,D.startSegmentIndex,0,D.consumedEndSegmentIndex,0),E()}for(let D=0;D<a.length;D++){const M=a[D];if(M.startSegmentIndex===M.endSegmentIndex){H(M);continue}p=!1,d=0,h=M.startSegmentIndex,m=0,v=M.startSegmentIndex,g=0,E();let R=M.startSegmentIndex;for(;R<M.endSegmentIndex&&!(!p&&(R=d_(e,R,M.endSegmentIndex),R>=M.endSegmentIndex));){const j=o[R],ne=f_(j),le=hD(e,p,R),xe=j==="tab"?pD(d+le,e.tabStopAdvance):r[R],Ee=le+xe,Ne=gD(e,j,R,le,xe);if(j==="soft-hyphen"){p&&(v=R+1,g=0,_=R+1,y=d+i,x=d+i,S=j),R++;continue}if(!p){Ne>u&&s[R]!==null?I(R,0):O(R,xe),W(j,ne,R,xe,le,Ee),R++;continue}if(d+Ne>u){const Le=d+fh(e,j,R,le),He=d+dh(e,j,R,le,xe);if(S==="soft-hyphen"&&l.preferEarlySoftHyphenBreak&&y<=u){b(_,0,x);continue}if(S==="soft-hyphen"&&Y(R)){R++;continue}if(ne&&Le<=u){V(R,Ee),b(R+1,0,He),R++;continue}if(_>=0&&y<=u){if(v>_||v===_&&g>0){b();continue}const K=_;b(K,0,x),R=K;continue}if(Ne>u&&s[R]!==null){b(),I(R,0),R++;continue}b();continue}V(R,Ee),W(j,ne,R,xe,le,Ee),R++}if(p){const j=_===M.consumedEndSegmentIndex?x:d;b(M.consumedEndSegmentIndex,0,j)}}return f}let uc=null,ph=new WeakMap;function ED(){return uc===null&&(uc=new Intl.Segmenter(void 0,{granularity:"grapheme"})),uc}function hh(e,t,n){let r=n.get(e);if(r!==void 0)return r;r=[];const o=ED();for(const s of o.segment(t[e]))r.push(s.segment);return n.set(e,r),r}function CD(e,t,n,r){return r>0&&e[r-1]==="soft-hyphen"&&!(t===r&&n>0)}function mh(e,t,n,r){for(let o=n;o<r;o++)e+=t[o];return e}function SD(e){let t=ph.get(e);return t!==void 0||(t=new Map,ph.set(e,t)),t}function wD(e,t,n,r,o,s){let i="";const a=CD(e.kinds,n,r,o);for(let l=n;l<o;l++)if(!(e.kinds[l]==="soft-hyphen"||e.kinds[l]==="hard-break"))if(l===n&&r>0){const c=hh(l,e.segments,t);i=mh(i,c,r,c.length)}else i+=e.segments[l];if(s>0){a&&(i+="-");const l=hh(o,e.segments,t);i=mh(i,l,n===o?r:0,s)}else a&&(i+="-");return i}let fc=null;function AD(){return fc===null&&(fc=new Intl.Segmenter(void 0,{granularity:"grapheme"})),fc}function TD(e){return{widths:[],lineEndFitAdvances:[],lineEndPaintAdvances:[],kinds:[],simpleLineWalkFastPath:!0,segLevels:null,breakableFitAdvances:[],letterSpacing:0,spacingGraphemeCounts:[],discretionaryHyphenWidth:0,tabStopAdvance:0,chunks:[],segments:[]}}function OD(e,t){const n=[];let r=[],o=0,s=!1,i=!1,a=!1;function l(){r.length!==0&&(n.push({text:r.length===1?r[0]:r.join(""),start:o}),r=[],s=!1,i=!1,a=!1)}function c(f,d,p){r=[f],o=d,s=p,i=lu(f),a=Sl.has(f)}function u(f,d){r.push(f),s=s||d;const p=lu(f);f.length===1&&bo.has(f)?i=i||p:i=p,a=!1}for(const f of AD().segment(e)){const d=f.segment,p=xo(d);if(r.length===0){c(d,f.index,p);continue}if(a||Nf.has(d)||bo.has(d)||t.carryCJKAfterClosingQuote&&p&&i){u(d,p);continue}if(!s&&!p){u(d,p);continue}l(),c(d,f.index,p)}return l(),n}function ND(e,t,n){return e}function FD(e,t,n,r,o){const s=Al(),{cache:i,emojiCorrection:a}=fD(t,iD(e.normalized)),l=ao("-",Rr("-",i),a)+0,u=ao(" ",Rr(" ",i),a)*8;if(e.len===0)return TD();const f=[],d=[],p=[],h=[];let m=e.chunks.length<=1&&!0;const v=[],g=[],_=[],y=n?[]:null,x=Array.from({length:e.len});function S(F,V,W,I,Y,H,D,M){Y!=="text"&&Y!=="space"&&Y!=="zero-width-break"&&(m=!1),f.push(V),d.push(W),p.push(I),h.push(Y),v?.push(H),g.push(D),y!==null&&y.push(F)}function E(F,V,W,I,Y){const H=Rr(F,i),D=ND(ao(F,H,a)),M=V==="space"||V==="preserved-space"||V==="zero-width-break"?0:D,R=M===0?0:M+0,j=V==="space"||V==="zero-width-break"?0:D;if(Y&&I&&F.length>1){let ne="sum-graphemes";Pa(F)?ne="pair-context":s.preferPrefixWidthsForBreakableRuns&&(ne="segment-prefixes");const le=uD(F,H,i,a,ne);S(F,D,R,j,V,W,le);return}S(F,D,R,j,V,W,null)}for(let F=0;F<e.len;F++){x[F]=f.length;const V=e.texts[F],W=e.isWordLike[F],I=e.kinds[F],Y=e.starts[F];if(I==="soft-hyphen"){S(V,0,l,l,I,Y,null);continue}if(I==="hard-break"){S(V,0,0,0,I,Y,null);continue}if(I==="tab"){S(V,0,0,0,I,Y,null);continue}const H=Rr(V,i);if(I==="text"&&H.containsCJK){const M=OD(V,s);for(let R=0;R<M.length;R++){const j=M[R];E(j.text,"text",Y+j.start,W,!xo(j.text))}continue}E(V,I,Y,W,!0)}const b=MD(e.chunks,x,f.length),O=v===null?null:d8(e.normalized,v);return y!==null?{widths:f,lineEndFitAdvances:d,lineEndPaintAdvances:p,kinds:h,simpleLineWalkFastPath:m,segLevels:O,breakableFitAdvances:g,letterSpacing:o,spacingGraphemeCounts:_,discretionaryHyphenWidth:l,tabStopAdvance:u,chunks:b,segments:y}:{widths:f,lineEndFitAdvances:d,lineEndPaintAdvances:p,kinds:h,simpleLineWalkFastPath:m,segLevels:O,breakableFitAdvances:g,letterSpacing:o,spacingGraphemeCounts:_,discretionaryHyphenWidth:l,tabStopAdvance:u,chunks:b}}function MD(e,t,n){const r=[];for(let o=0;o<e.length;o++){const s=e[o],i=s.startSegmentIndex<t.length?t[s.startSegmentIndex]:n,a=s.endSegmentIndex<t.length?t[s.endSegmentIndex]:n,l=s.consumedEndSegmentIndex<t.length?t[s.consumedEndSegmentIndex]:n;r.push({startSegmentIndex:i,endSegmentIndex:a,consumedEndSegmentIndex:l})}return r}function LD(e,t,n,r){const o="normal",i=Z8(e,Al(),r?.whiteSpace,o);return FD(i,t,n,o,0)}function ID(e,t,n){return LD(e,t,!0,n)}function PD(e,t,n,r,o,s,i){return{text:wD(e,t,r,o,s,i),width:n,start:{segmentIndex:r,graphemeIndex:o},end:{segmentIndex:s,graphemeIndex:i}}}function DD(e,t,n){const r=[];if(e.widths.length===0)return{lineCount:0,height:0,lines:r};const o=SD(e),s=yD(e,t,(i,a,l,c,u)=>{r.push(PD(e,o,i,a,l,c,u))});return{lineCount:s,height:s*n,lines:r}}function Pf(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function kD(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${Pf(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function RD(e,t,n="hl"){if(!t?.trim())return e;const r=Pf(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function $D(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const p_=e=>e.replace(/[/\\]/g,"/"),BD=(e,t="/")=>e.replace(/[\\/]+/g,t);function VD(){return"#"+vA(0,16777215).toString(16).padStart(6,"0")}const HD=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),h_=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),uu=e=>{if(Array.isArray(e))return e.map(n=>uu(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=h_(n);t[r]=uu(e[n])}return t};function UD(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function jD(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 m_(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===`
14
+ `?{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 WD(e){return m_(e).valid}const fu=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:uu,escapeRegExp:Pf,findKeywordLineIndex:$D,generateNumberString:jD,highlightText:RD,isEmail:HD,isValidHash:WD,randomColor:VD,replaceBackslashWithSlash:p_,replaceSlashWithSpecifiedSeparator:BD,splitTextByKeyword:kD,toCamelCase:h_,validateCompName:UD,validateHash:m_},Symbol.toStringTag,{value:"Module"}));function GD(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=p_(n);return`${e.replace(at.FILE_MANAGER_DIRNAME,"")}${r}`}function zD(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 KD=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:GD,handleDepData:zD},Symbol.toStringTag,{value:"Module"})),gh=/^[\^~>=<]+/,g_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function YD(e){return g_.test(e)}function er(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(gh),n=t?t[0]:"",r=e.replace(gh,"").match(g_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function qD(e,t){const n=er(e),r=er(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function JD(e){return er(e).majorVersion}function XD(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=er(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Do(e,t){const n=er(e),r=er(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=at;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function QD(e,t){const n=er(e),r=er(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Do(e,t.replace(">=",""))>=0;case">":return Do(e,t.replace(">",""))>0;case"<=":return Do(e,t.replace("<=",""))<=0;case"<":return Do(e,t.replace("<",""))<0;case"=":case"":return Do(e,t.replace("=",""))===0;default:return!1}}function ZD(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=er(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const Fo=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Do,getMajorVersion:JD,isVersionEqual:qD,parseDependencies:XD,parseVersion:er,satisfiesRange:QD,validateVersion:YD,versionToNumber:ZD},Symbol.toStringTag,{value:"Module"})),e6={ref:"content",class:"size-full"},t6={class:"block overflow-hidden size-full"},n6={key:0,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},r6={key:0,class:"shrink-0"},o6=["innerHTML"],s6=["innerHTML"],i6={key:1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},a6=["innerHTML"],l6={key:0,class:"shrink-0"},c6={key:2,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},u6={key:0,class:"shrink-0"},f6=["innerHTML"],d6={key:1,class:"shrink-0"},p6="12px Inter",vh=16,h6=18,m6=ue({__name:"TextEllipsisHighlight",props:{text:{},modelValue:{type:Boolean},keyword:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=da("content"),{width:r,height:o}=tl(n),s=e,i=t,a=Z([]),l=Z(-1),c=Z(-1),u=Z({});function f(x,S){const E=S.trim().toLowerCase();if(!E||x.length===0)return{startLine:-1,endLine:-1,parts:{}};const b=[];let O=0;for(const I of x)O+=I.length,b.push(O);const W=x.join("").toLowerCase().indexOf(E);if(W!==-1){const I=W+E.length;let Y=0;for(;Y<b.length&&W>=b[Y];)Y++;let H=Y;for(;H<b.length&&I>b[H];)H++;const D=S.trim();if(Y===H)return{startLine:Y,endLine:H,parts:{[Y]:D}};const M=b[Y]-W;return{startLine:Y,endLine:H,parts:{[Y]:D.slice(0,M),[H]:D.slice(M)}}}for(let I=0;I<x.length-1;I++){const Y=x[I].toLowerCase(),H=x[I+1].toLowerCase();for(let D=1;D<E.length;D++)if(Y.endsWith(E.slice(0,D))&&H.startsWith(E.slice(D)))return{startLine:I,endLine:I+1,parts:{[I]:E.slice(0,D),[I+1]:E.slice(D)}};for(let D=1;D<E.length-1;D++)if(E[D]===" "){const M=E.slice(0,D),R=E.slice(D+1);if(M&&R&&Y.endsWith(M)&&H.startsWith(R))return{startLine:I,endLine:I+1,parts:{[I]:M,[I+1]:R}}}}return{startLine:-1,endLine:-1,parts:{}}}const d=Dg((x,S,E)=>{if(!x||!S){a.value=[],l.value=-1,c.value=-1,u.value={};return}const b=ID(x,p6),O=Math.max(0,S-h6),{lines:F}=DD(b,O,vh);a.value=F.map(W=>W.text);const V=f(a.value,E);l.value=V.startLine,c.value=V.endLine,u.value=V.parts},100);_e([()=>s.text,r,()=>s.keyword],([x,S,E])=>{d(x,S,E)},{immediate:!0});const p=L(()=>o.value?Math.max(1,Math.floor(o.value/vh)):1),h=L(()=>{const x=a.value,S=p.value,E=l.value,b=c.value;if(x.length===0)return[];if(E===-1||b===-1||x.length<=S)return x.slice(0,S);const O=Math.max(0,Math.min(E,b-S+1));return x.slice(O,O+S)}),m=L(()=>{const x=a.value,S=p.value,E=l.value,b=c.value;return x.length===0||E===-1||b===-1||x.length<=S?0:Math.max(0,Math.min(E,b-S+1))}),v=L(()=>l.value!==-1&&h.value[0]!==a.value[0]),g=L(()=>l.value===-1?a.value.length>h.value.length:h.value.at(-1)!==a.value.at(-1)),_=L(()=>a.value.length>p.value);_e(_,x=>{i("update:modelValue",x)});const y=(x="",S)=>{if(S!==void 0){const E=u.value[S];if(E)return fu.highlightText(x,E,"hl")}return fu.highlightText(x,s.keyword||"","hl")};return(x,S)=>(U(),ae("div",e6,[te("div",t6,[h.value.length>=2?(U(),ae("div",n6,[v.value?(U(),ae("span",r6,"...")):Ae("",!0),te("span",{innerHTML:y(h.value[0],m.value)},null,8,o6)])):Ae("",!0),(U(!0),ae(ke,null,Nn(h.value.slice(1,-1),(E,b)=>(U(),ae("div",{key:m.value+b+1,class:"m-0 p-0 flex items-center whitespace-nowrap overflow-hidden"},[te("span",{innerHTML:y(E,m.value+b+1)},null,8,s6)]))),128)),h.value.length>1?(U(),ae("div",i6,[te("span",{innerHTML:y(h.value[h.value.length-1],m.value+h.value.length-1)},null,8,a6),g.value?(U(),ae("span",l6,"...")):Ae("",!0)])):Ae("",!0),h.value.length===1?(U(),ae("div",c6,[v.value?(U(),ae("span",u6,"...")):Ae("",!0),te("span",{innerHTML:y(h.value[0],m.value)},null,8,f6),g.value?(U(),ae("span",d6,"...")):Ae("",!0)])):Ae("",!0)])],512))}}),g6=Oi(m6,[["__scopeId","data-v-361ff366"]]),v6={class:"flex items-center justify-center gap-[6px] leading-[15px]"},_6={class:"text-xs leading-3 align-middle"},x6={class:"inline-block align-middle shrink-0"},b6=ue({__name:"UserAvatar",props:{nickname:{type:String,default:""},teamUserNickname:{type:String,default:""}},setup(e){const t=e,n=L(()=>t.teamUserNickname||t.nickname||"--");return(r,o)=>(U(),ae("div",v6,[te("span",_6,De(n.value),1),te("div",x6,[Se(r.$slots,"avatar",{},void 0,!0)])]))}}),y6=Oi(b6,[["__scopeId","data-v-99cd7413"]]),E6={key:1,class:"grid-container"},C6=ue({__name:"GridContainer",props:{itemMinWidth:{type:Number,default:300},gap:{type:Number,default:20},useTransition:{type:Boolean,default:!0}},setup(e){jb(o=>({v56c8ef5c:r.value,v1930c0b1:n.value}));const t=e,n=L(()=>t.gap+"px"),r=L(()=>t.itemMinWidth+"px");return(o,s)=>e.useTransition?(U(),he(iy,{key:0,class:"grid-container",name:"list",tag:"div"},{default:pe(()=>[Se(o.$slots,"default",{},void 0,!0)]),_:3})):(U(),ae("div",E6,[Se(o.$slots,"default",{},void 0,!0)]))}}),S6=Oi(C6,[["__scopeId","data-v-25e40c3e"]]);function w6(e){const t=document.createElement("canvas"),n=t.getContext("2d");if(!n)return"";t.width=100,t.height=100,n.fillStyle="#fff",n.font="60px serif";const r=n.measureText(e),o=r.width,s=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=(t.width-o)/2,a=(t.height+s)/2-r.actualBoundingBoxDescent;return n.fillText(e,i,a),t.toDataURL()}let $o=null;const v_="IS_REPLACE",__="IS_ADD",x_="IS_DELETE",b_="IS_CLEAR";function dc(){$o!==null&&(typeof cancelIdleCallback=="function"?cancelIdleCallback($o):typeof clearTimeout=="function"&&clearTimeout($o),$o=null)}const _h=(e,t)=>{if(typeof requestIdleCallback=="function")return requestIdleCallback(e,t);{const n=t?.timeout??50,r=Date.now();return setTimeout(()=>{const o=Date.now()-r>=n;e({timeRemaining:()=>Math.max(0,n-(Date.now()-r)),didTimeout:o})},1)}};function A6({list:e,oldList:t=[],render:n}){if(dc(),e.length===0)return n(b_,t),()=>{dc()};const r=t.filter(f=>!e.some(d=>d._id===f._id));r.length>0&&n(x_,r);let o=0;const s=e.length,i=8;let a=i,l=0,c=0;const u=f=>{if(l>2&&(a=Math.max(0,a-1),l=0),c>1&&(a=Math.min(i,a+1)),o<s&&(f.timeRemaining()>a||f.didTimeout)){const d=e[o];if(!d)throw new Error("组件列表项无效");t.findIndex(h=>h._id===d._id)>-1?n(v_,[d]):n(__,[d]),o++,l=0,c++,c>10&&(c=0)}else l++,c=0,l>5&&(a=Math.max(0,a-2));o<s&&($o=_h(u,{timeout:16.6*30}))};return s>0&&($o=_h(u,{timeout:16.6*30})),()=>{dc()}}const T6=ue({__name:"Collect",props:{isCollect:{type:Boolean,default:!1}},emits:["collect"],setup(e,{emit:t}){const n=xm(),r=e,o=t;function s(){o("collect",!r.isCollect)}return(i,a)=>(U(),he(A(cs),Dt(A(n),{icon:"material-symbols:kid-star",class:["cursor-pointer",{"is-collected":e.isCollect}],onClick:s}),null,16,["class"]))}}),O6=Oi(T6,[["__scopeId","data-v-e64b851f"]]),N6=ue({__name:"CompDepsTags",props:{compDeps:{},depsSetting:{}},setup(e){const{t}=tr(),n=e,r=L(()=>{const a=new Map;return n.depsSetting?.forEach(l=>{a.set(l.name,l)}),a});function o(a,l){const c=l.match;try{switch(c){case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return!0;case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:{const u=Fo.parseVersion(a),f=Fo.parseVersion(l.version);return u.major===f.major}case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:{const u=Fo.parseVersion(a),f=Fo.parseVersion(l.version);return u.major===f.major&&u.minor===f.minor}case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:{const u=Fo.parseVersion(a),f=Fo.parseVersion(l.version);return u.major===f.major&&u.minor===f.minor&&u.patch===f.patch}default:return!1}}catch(u){return console.warn(`Version parse failed: ${a} or ${l.version}`,u),!1}}function s(a){const l=r.value.get(a.name);return l?o(a.version,l):!1}function i(a){const l=r.value.get(a.name);if(!l||!o(a.version,l))return"";switch(l.match){case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_ONLY_INSTALL:return"match-dot-green";case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MAJOR_VERSION:return"match-dot-blue";case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_MINOR_VERSION:return"match-dot-orange";case at.COMP_MATCH_TYPES.COMP_MATCH_TYPE_EXACT_VERSION:return"match-dot-red";default:return""}}return(a,l)=>(U(),he(A(sP),{list:e.compDeps,getKey:c=>c.name,class:"flex items-center gap-1"},{display:pe(({visibleList:c,overflow:u})=>[(U(!0),ae(ke,null,Nn(c,f=>(U(),he(A(Us),{key:f.name,type:"info","disable-transitions":"",size:"small",class:de({"not-matched":!s(f)})},{default:pe(()=>[i(f)?(U(),ae("span",{key:0,class:de(["inline-block w-2 h-2 rounded-full mr-1",i(f)])},null,2)):Ae("",!0),Tt(" "+De(f.name)+" "+De(f.version),1)]),_:2},1032,["class"]))),128)),u>0?(U(),he(A(Us),{key:0,type:"info",size:"small","disable-transitions":""},{default:pe(()=>[Tt("+"+De(u)+" "+De(A(t)("common.more")),1)]),_:2},1024)):Ae("",!0)]),measure:pe(({item:c})=>[ee(A(Us),{type:"info",size:"small","disable-transitions":"",class:de({"not-matched":!s(c)})},{default:pe(()=>[i(c)?(U(),ae("span",{key:0,class:de(["inline-block w-2 h-2 rounded-full mr-1",i(c)])},null,2)):Ae("",!0),Tt(" "+De(c.name)+" "+De(c.version),1)]),_:2},1032,["class"])]),_:1},8,["list","getKey"]))}}),F6=Oi(N6,[["__scopeId","data-v-3150bd08"]]),M6={key:0,class:"bg-[#ffe600] rounded-[2px] px-[2px]"},L6=ue({__name:"HighlightText",props:{text:{},keyword:{}},setup(e){const t=e,n=L(()=>fu.splitTextByKeyword(t.text,t.keyword));return(r,o)=>(U(),ae("span",null,[(U(!0),ae(ke,null,Nn(n.value,(s,i)=>(U(),ae(ke,{key:i},[s.isMatch?(U(),ae("mark",M6,De(s.text),1)):(U(),ae(ke,{key:1},[Tt(De(s.text),1)],64))],64))),128))]))}}),Gr=ue({__name:"CompActionPreview",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isLocal:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=un(),{params:{instanceUid:n}}=kt(),r=e,o=cn(r.isDev);function s(){r.isLocal?t(Ie.ACTION_PREVIEW_LOCAL,r.compId,o,n):t(Ie.ACTION_PREVIEW,r.compId,o,n)}return(i,a)=>(U(),he(A(Ti),{type:"primary",onClick:s},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:preview",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),y_=ue({__name:"CompActionCollect",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},isCollect:{type:Boolean,default:!1}},setup(e){const{sendMessageToTop:t}=un(),{params:{instanceUid:n}}=kt(),r=e,o=cn(r.isDev);function s(i){t(Ie.ACTION_COLLECT,{id:r.compId,isCollect:i},o,n)}return(i,a)=>(U(),he(A(O6),{width:A(at).COMP_ACTION_ICON_WIDTH,isCollect:e.isCollect,onCollect:s},null,8,["width","isCollect"]))}}),us=ue({__name:"CompActionDownload",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""},version:{type:String,default:""}},setup(e){const{sendMessageToTop:t}=un(),{params:{instanceUid:n}}=kt(),r=e,o=cn(r.isDev);function s(){t(Ie.ACTION_DOWNLOAD,{id:r.compId,version:r.version},o,n)}return(i,a)=>(U(),he(A(Ti),{type:"primary",onClick:s},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:cloud-download-outline",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),I6={class:"size-full"},P6=ue({__name:"CompDesc",props:{desc:{type:String,default:""},keyword:{type:String,default:""}},setup(e){const t=Z(!1);return(n,r)=>(U(),ae("div",I6,[ee(A(m3),{disabled:!t.value,content:e.desc,placement:"bottom",width:"300","show-after":700},{reference:pe(()=>[ee(A(g6),{modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=o=>t.value=o),text:e.desc,keyword:e.keyword,class:"text-[12px] leading-4"},null,8,["modelValue","text","keyword"])]),_:1},8,["disabled","content"])]))}}),D6=ue({__name:"OssAvatar",props:{isDev:{type:Boolean,default:!1},src:{type:String,default:""},text:{type:String,default:""}},setup(e){const t=e,n=cn(t.isDev),{messageListener:r,sendMessageToTop:o}=un(),{addListener:s}=r(),{params:{instanceUid:i}}=kt(),a=xm(),l=Z("");return s(Ie.OSS_FILE_SIGN_URL_SET,({objectId:c,signUrl:u})=>{c===t.src&&(l.value=u)}),_e(()=>t.text,c=>{!c||t.src||(l.value=w6(c))},{immediate:!0}),mi(async()=>{t.src&&o(Ie.OSS_FILE_SIGN_URL_GET,{objectId:t.src},n,i)}),(c,u)=>(U(),he(A(AN),Dt({class:"border border-gray-400"},A(a),{src:l.value}),null,16,["src"]))}}),k6=ue({__name:"CompVersionSelectListItem",props:{isDev:{type:Boolean,default:!1},id:{type:String,default:""},version:{type:String,default:""}},setup(e){const{t}=tr(),n=e,{sendMessageToTop:r,messageListener:o}=un(),s=cn(n.isDev),{addListener:i}=o(),{params:{instanceUid:a}}=kt(),l=Z(""),c=Z([]),u=L(()=>c.value.map(h=>({value:h.version,label:h.version})));function f(h){l.value=h}async function d(h){u.value.length||!h||r(Ie.ITEM_VERSION_LIST_GET,n.id,s,a)}function p(){l.value=n.version}return i(Ie.ITEM_VERSION_LIST_SET,h=>{h.compId===n.id&&(c.value=h.versionList)}),_e(()=>l.value,(h,m)=>{if(h===m||!m)return;const v={version:h,compId:n.id};r(Ie.ITEM_VERSION_CHANGE,v,s,a)}),gt(()=>{p()}),(h,m)=>(U(),he(A(PF),{modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=v=>l.value=v),placeholder:A(t)("common.pleaseSelect"),onChange:f,onVisibleChange:d},{default:pe(()=>[(U(!0),ae(ke,null,Nn(u.value,v=>(U(),he(A(DF),{key:v.value,label:v.label,value:v.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"]))}}),E_=ue({__name:"CompActionDel",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=cn(t.isDev),{sendMessageToTop:r}=un(),{params:{instanceUid:o}}=kt();function s(){r(Ie.ACTION_DELETE,t.compId,n,o)}return(i,a)=>(U(),he(A(Ti),{type:"danger",onClick:s},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:delete-forever-outline-rounded",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1}))}}),Df=ue({__name:"CompActionUpdate",props:{isDev:{type:Boolean,default:!1},compId:{type:String,default:""}},setup(e){const t=e,n=cn(t.isDev),{sendMessageToTop:r,messageListener:o}=un(),{addListener:s}=o(),{params:{instanceUid:i}}=kt(),a=Z(!1),l=L(()=>a.value?"primary":"info");function c(){r(Ie.ACTION_UPDATE,t.compId,n,i)}return s(Ie.LOCAL_EXIST_SET,u=>{u.compId===t.compId&&(a.value=u.exist??!1)}),r(Ie.LOCAL_EXIST_GET,t.compId,n,i),(u,f)=>(U(),he(A(Ti),{type:l.value,onClick:c},{default:pe(()=>[ee(A(cs),{icon:"material-symbols:cloud-upload",height:A(at).COMP_ACTION_ICON_HEIGHT},null,8,["height"])]),_:1},8,["type"]))}}),Sr=ue({__name:"index",props:{list:{}},setup(e){let t=()=>{};const n=e,r=Z([]),o=()=>A6({list:n.list,oldList:r.value,render:(i,a)=>{const l=a[0];if(i===__&&l)r.value.push(l);else if(i===v_){const c=a[0];if(c){const u=r.value.findIndex(f=>f._id===c._id);if(u>-1){const f=r.value[u];mn(f,c)||(r.value[u]=c)}}}else i===x_?r.value=r.value.filter(c=>!a.find(u=>u._id===c._id)):i===b_&&(r.value=[])}}),s=i=>{for(const a of i){const l=r.value.findIndex(c=>c._id===a._id);l>-1&&(mn(r.value[l],a)||(r.value[l]=a))}};return _e(()=>n.list,(i,a)=>{if(t(),a&&i.length===a.length){const l=new Set(a.map(u=>u._id));if(i.every(u=>l.has(u._id))){s(i);return}}t=o()}),Nt(()=>{t()}),(i,a)=>(U(),he(A(S6),{itemMinWidth:350,class:"overflow-x-hidden"},{default:pe(()=>[(U(!0),ae(ke,null,Nn(r.value,l=>(U(),he(A(BF),{key:l._id,"body-class":"!p-[0px] flex flex-col !overflow-hidden relative",class:"overflow-hidden"},{default:pe(()=>[Se(i.$slots,"body",{item:l})]),_:2},1024))),128))]),_:3}))}});function wr(){const{params:{instanceUid:e}}=kt(),t=cn(!1),{sendMessageToTop:n,messageListener:r}=un(),{addListener:o}=r(),{depsSetting:s}=z4(!1),i=Z([]),a=Z("");return o(Ie.LIST_INIT,l=>{i.value=l}),o(Ie.SEARCH_KEYWORD_SET,l=>{a.value=l}),n(Ie.SEARCH_KEYWORD_GET,"",t,e),n(Ie.LIST_INIT_GET,"",t,e),{listInitData:i,depsSetting:s,keyword:a}}const R6={class:"text-left flex flex-col w-full overflow-hidden my-1 gap-[3px] h-[85px]"},$6={class:"flex justify-between items-center"},B6={class:"font-medium"},V6={class:"overflow-hidden relative flex-1"},H6={class:"h-[20px]"},zr=ue({__name:"index",props:{attrs:{type:Object,default:()=>({})},depsSetting:{type:Array,default:()=>[]},keyword:{type:String,default:""}},setup(e){const t=e,n=L(()=>KD.handleDepData(t.attrs.dep??[])),r=L(()=>!1);return(o,s)=>(U(),ae("div",R6,[te("div",$6,[te("h4",B6,[ee(A(L6),{text:e.attrs?.name,keyword:e.keyword},null,8,["text","keyword"])]),te("div",null,[ee(A(y6),Dt(e.attrs?.authorId,{teamUserNickname:e.attrs?.teamUserNickname}),{avatar:pe(()=>[ee(A(D6),{isDev:r.value,size:15,src:e.attrs?.authorId?.avatar},null,8,["isDev","src"])]),_:1},16,["teamUserNickname"])])]),te("div",V6,[ee(A(P6),{desc:e.attrs?.desc,keyword:e.keyword},null,8,["desc","keyword"])]),te("div",H6,[ee(A(F6),{compDeps:n.value,depsSetting:e.depsSetting,keyword:e.keyword},null,8,["compDeps","depsSetting","keyword"])])]))}});var pc,xh;function U6(){if(xh)return pc;xh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,h=-1,m=0;m<=p;++m){if(m===p){if(d>p){if(i.charCodeAt(u+m)===47)return i.slice(u+m+1);if(m===0)return i.slice(u+m)}else c>p&&(s.charCodeAt(a+m)===47?h=m:m===0&&(h=0));break}var v=s.charCodeAt(a+m),g=i.charCodeAt(u+m);if(v!==g)break;v===47&&(h=m)}var _="";for(m=a+h+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+h):(u+=h,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,h=s.length-1,m=0;h>=c;--h){if(a=s.charCodeAt(h),a===47){if(!p){f=h+1;break}continue}d===-1&&(p=!1,d=h+1),a===46?u===-1?u=h:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,pc=r,pc}var j6=U6();const W6=["bg"],G6={class:"flex-1 dark:border-gray-600 shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1)] dark:shadow-[0_4px_6px_-1px_rgba(0,0,0,0.3)]"},z6=["name","src"],K6={class:"w-[100px] p-1"},Y6={key:1},Ar=ue({__name:"index",props:{attrs:{type:Object,default:()=>({})},isSwitchVersion:{type:Boolean,default:!0},iframeType:{type:String,default:at.IFRAME_ROUTES.ITEM.CAROUSEL_REMOTE}},setup(e){const t=e,{uniteParams:n,getTheme:r}=kt(),o=VM(!1,window.__GLOBAL_CONFIG__?.subPort);function s(i){const a=n({compId:i}),l=new URLSearchParams({params:a,isDark:r()??"false"}).toString();return o+j6.join(`/${at.WEBSITE_PATH_ITEM}`,t.iframeType,`?${l}`)}return(i,a)=>(U(),ae("div",{class:"h-[280px] flex flex-col gap-1",bg:e.attrs?.bgColor},[te("div",G6,[te("iframe",{name:e.attrs._id,class:"size-full overflow-hidden border-none",src:s(e.attrs._id),loading:"lazy"},null,8,z6)]),te("div",K6,[e.isSwitchVersion?(U(),he(A(k6),{key:0,id:e.attrs?._id,version:e.attrs?.version},null,8,["id","version"])):(U(),ae("span",Y6,De(e.attrs?.version),1))])],8,W6))}}),q6={class:"size-full flex flex-col"},J6={class:"p-1"},X6={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Q6={class:"flex gap-5"},Z6={class:"flex-1 flex justify-end items-start gap-2"},ek=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",q6,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",J6,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",X6,[te("div",Q6,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"]),ee(A(Br),{icon:"material-symbols:star-outline-rounded",value:Math.max(a?.collectCount??0,0)},null,8,["value"])]),te("div",Z6,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(y_),{compId:a._id,isCollect:a?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),tk={class:"size-full flex flex-col"},nk={class:"p-1"},rk={class:"text-xs mt-1 flex justify-between items-center"},ok=ue({__name:"index",setup(e){const{t}=tr(),{listInitData:n}=wr(),{messageListener:r,sendMessageToTop:o}=un(),{addListener:s}=r(),i=cn(!1),{params:{instanceUid:a}}=kt(),l=Z([]),c=L(()=>!1);function u(d){o(Ie.ACTION_OPEN_VSCODE_LOCAL,d,i,a)}function f(d){return l.value.find(p=>p.compId===d)?.fullPath??""}return s(Ie.ITEM_SITE_PATH_SET,d=>{l.value=d}),o(Ie.ITEM_SITE_PATH_GET,"",i,a),(d,p)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:h})=>[te("div",tk,[ee(Ar,{attrs:h,iframeType:A(at).IFRAME_ROUTES.ITEM.CAROUSEL_LOCAL,isSwitchVersion:!1},null,8,["attrs","iframeType"]),te("div",nk,[te("span",null,De(h.name),1),te("div",rk,[te("div",null,[Tt(De(A(t)("comp.compLocation"))+": ",1),ee(A(Ti),{href:"javascript:void(0)",type:"primary",underline:"always",title:h.fullPath,onClick:m=>u(h._id)},{default:pe(()=>[Tt(De(f(h._id)||h.fullPath),1)]),_:2},1032,["title","onClick"])]),ee(A(Gr),{compId:h._id,isLocal:!0,isDev:c.value},null,8,["compId","isDev"])])])])]),_:1},8,["list"]))}}),sk={class:"size-full flex flex-col"},ik={class:"p-1"},ak={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},lk={class:"flex gap-5"},ck={class:"flex-1 flex justify-end items-start gap-2"},uk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",sk,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",ik,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",ak,[te("div",lk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"]),ee(A(Br),{icon:"material-symbols:star-outline-rounded",value:Math.max(a?.collectCount??0,0)},null,8,["value"])]),te("div",ck,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(Df),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(E_),{compId:a._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),fk={class:"size-full flex flex-col"},dk={class:"p-1"},pk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},hk={class:"flex gap-5"},mk={class:"flex-1 flex justify-end items-start gap-2"},gk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",fk,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",dk,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",pk,[te("div",hk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"]),ee(A(Br),{icon:"material-symbols:star-outline-rounded",value:Math.max(a?.collectCount??0,0)},null,8,["value"])]),te("div",mk,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(y_),{compId:a._id,isCollect:a?.isCollect,isDev:o.value},null,8,["compId","isCollect","isDev"])])])])])]),_:1},8,["list"]))}}),vk={class:"size-full flex flex-col"},_k={class:"p-1"},xk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},bk={class:"flex-1 flex justify-end items-start gap-2"},yk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",vk,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",_k,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",xk,[te("div",bk,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),Ek={class:"size-full flex flex-col"},Ck={class:"p-1"},Sk={class:"mt-auto overflow-hidden w-full flex items-center justify-end"},wk=ue({__name:"index",setup(e){const{t}=tr(),{listInitData:n,depsSetting:r,keyword:o}=wr(),{messageListener:s,sendMessageToTop:i}=un(),a=cn(!1),{params:{instanceUid:l}}=kt(),{addListener:c}=s();let u=null;const f=p=>t(p?"team.added":"team.addComp"),d=(p,h)=>{u=h,u.start(),i(Ie.ACTION_ADD_COMP_START_LOADING,p._id,a,l)};return c(Ie.ACTION_ADD_COMP_FINISH_LOADING,()=>{u?.end()}),(p,h)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:m})=>[te("div",Ek,[ee(Ar,{attrs:m},null,8,["attrs"]),te("div",Ck,[ee(zr,{attrs:m,depsSetting:A(r),keyword:A(o)},null,8,["attrs","depsSetting","keyword"]),te("div",Sk,[ee(A(l8),null,{default:pe(({instance:v,loading:g})=>[ee(A(tF),{type:"primary",loading:g,disabled:m.isAdd,onClick:_=>d(m,v)},{default:pe(()=>[te("span",null,De(f(m?.isAdd??!1)),1)]),_:2},1032,["loading","disabled","onClick"])]),_:2},1024)])])])]),_:1},8,["list"]))}}),Ak={class:"size-full flex flex-col"},Tk={class:"p-1"},Ok={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Nk={class:"flex gap-5"},Fk={class:"flex-1 flex justify-end items-start gap-2"},Mk=ue({__name:"index",setup(e){const{params:{userId:t}}=kt(),{listInitData:n,depsSetting:r,keyword:o}=wr(),s=L(()=>!1);function i(a){if(!t)return!1;const l=a?.canUpdateUsers?.includes(t),c=a?.authorId?._id===t;return l||c}return(a,l)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:c})=>[te("div",Ak,[ee(Ar,{attrs:c},null,8,["attrs"]),te("div",Tk,[ee(zr,{attrs:c,depsSetting:A(r),keyword:A(o)},null,8,["attrs","depsSetting","keyword"]),te("div",Ok,[te("div",Nk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(c?.totalDownloadCount??0,0)},null,8,["value"])]),te("div",Fk,[ee(A(us),{compId:c._id,version:c.version,isDev:s.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:c._id,isDev:s.value},null,8,["compId","isDev"]),i(c)?(U(),he(A(Df),{key:0,compId:c._id,isDev:s.value},null,8,["compId","isDev"])):Ae("",!0)])])])])]),_:1},8,["list"]))}}),Lk={class:"size-full flex flex-col"},Ik={class:"p-1"},Pk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Dk={class:"flex gap-[5px] h-[32px] items-center"},kk={class:"flex-1 flex justify-end items-start gap-2"},Rk=ue({__name:"index",setup(e){const{t}=tr(),{listInitData:n,depsSetting:r,keyword:o}=wr(),s=cn(!1),{messageListener:i,sendMessageToTop:a}=un(),{params:{instanceUid:l}}=kt(),{addListener:c}=i(),u=Z({}),f=Z([]),d=Z({}),p=g=>!!u.value[g],h=g=>d.value[g]??"";function m(g){const _=nw(u.value);delete _[g],a(Ie.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,_,s,l)}function v(g,_){let y=[...f.value];g?y.push(_):y=y.filter(x=>x!==_),a(Ie.SELECTED_ROWS_SET,y,s,l)}return c(Ie.COMP_GROUP_PATH_SET,g=>{d.value=g}),c(Ie.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,g=>{u.value=g}),c(Ie.SELECTED_ROWS_SET,g=>{f.value=g}),a(Ie.SELECTED_ROWS_TO_LEAF_NODE_MAP_GET,"",s,l),a(Ie.SELECTED_ROWS_GET,"",s,l),_e(()=>u.value,g=>{const _=Object.keys(g);_.length>0&&a(Ie.COMP_GROUP_PATH_GET,_,s,l)}),(g,_)=>(U(),he(Sr,{list:A(n)},{body:pe(({item:y})=>[te("div",Lk,[ee(Ar,{attrs:y},null,8,["attrs"]),te("div",Ik,[ee(zr,{attrs:y,depsSetting:A(r),keyword:A(o)},null,8,["attrs","depsSetting","keyword"]),te("div",Pk,[te("div",Dk,[p(y._id)?(U(),he(A(Us),{key:0,type:"info",closable:"","disable-transitions":!0,round:"",onClose:x=>m(y._id)},{default:pe(()=>[Tt(De(h(y._id)),1)]),_:2},1032,["onClose"])):(U(),he(A(XF),{key:1,label:A(t)("common.pleaseSelect"),"model-value":f.value.includes(y._id),onChange:x=>v(x,y._id)},null,8,["label","model-value","onChange"]))]),te("div",kk,[ee(A(Gr),{compId:y._id},null,8,["compId"])])])])])]),_:1},8,["list"]))}}),$k={class:"size-full flex flex-col"},Bk={class:"p-1"},Vk={class:"mt-auto overflow-hidden w-full flex items-center justify-between"},Hk={class:"flex gap-5"},Uk={class:"flex-1 flex justify-end items-start gap-2"},jk=ue({__name:"index",setup(e){const{listInitData:t,depsSetting:n,keyword:r}=wr(),o=L(()=>!1);return(s,i)=>(U(),he(Sr,{list:A(t)},{body:pe(({item:a})=>[te("div",$k,[ee(Ar,{attrs:a},null,8,["attrs"]),te("div",Bk,[ee(zr,{attrs:a,depsSetting:A(n),keyword:A(r)},null,8,["attrs","depsSetting","keyword"]),te("div",Vk,[te("div",Hk,[ee(A(Br),{icon:"material-symbols:download-2",value:Math.max(a?.totalDownloadCount??0,0)},null,8,["value"])]),te("div",Uk,[ee(A(us),{compId:a._id,version:a.version,isDev:o.value},null,8,["compId","version","isDev"]),ee(A(Gr),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(Df),{compId:a._id,isDev:o.value},null,8,["compId","isDev"]),ee(A(E_),{compId:a._id,isDev:o.value},null,8,["compId","isDev"])])])])])]),_:1},8,["list"]))}}),Wk={collect:ek,local:ok,mine:uk,share:gk,similar:yk,teamAdd:wk,teamAll:Mk,teamGroup:Rk,teamMine:jk};function Gk(){const e=[],t=at.IFRAME_ROUTES.CONTAINER;for(const n in t){const o=t[n],s=Wk[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const zk=eP({history:LI(`/${at.WEBSITE_PATH_CONTAINER}/`),routes:Gk()});function Kk(e){e.use(zk)}const Yk={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loading:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},qk={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},Jk={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:"支持创建分组菜单,灵活组织团队组件"},Xk={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",guestLogin:"游客访问",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",guest:"游客",notLoggedIn:"未登录",goLogin:"去登录"},Qk={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},Zk={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},eR={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},tR={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},nR={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},rR={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"}},oR={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},sR={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},iR={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},aR={submit:"提交"},lR={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},cR={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},uR={common:Yk,comp:qk,team:Jk,user:Xk,file:Qk,message:Zk,route:eR,markdown:tR,terminal:nR,deps:rR,setting:oR,upgrade:sR,tag:iR,formCreate:aR,validateHash:lR,project:cR},fR={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loading:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},dR={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},pR={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"},hR={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",guestLogin:"Guest Access",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",guest:"Guest",notLoggedIn:"Not logged in",goLogin:"Go to Login"},mR={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"},gR={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},vR={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},_R={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},xR={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},bR={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"}},yR={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},ER={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"},CR={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},SR={submit:"Submit"},wR={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'},AR={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"},TR={common:fR,comp:dR,team:pR,user:hR,file:mR,message:gR,route:vR,markdown:_R,terminal:xR,deps:bR,setting:yR,upgrade:ER,tag:CR,formCreate:SR,validateHash:wR,project:AR},OR={zh:uR,en:TR},NR=localStorage.getItem(RM.LOCALE_KEY)||"zh",FR=P4({locale:NR,messages:OR,legacy:!1});function MR(e){e.use(FR)}function LR(e){e.directive("loading",hf)}function IR(e){Kk(e),LR(e),MR(e)}const C_=tg(Y4);IR(C_);C_.mount("#app")});export default PR();