@nuxt/devtools 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/chunks/module-main.mjs +1 -1
  2. package/dist/chunks/timeline.mjs +6 -2
  3. package/dist/client/200.html +16 -16
  4. package/dist/client/404.html +16 -16
  5. package/dist/client/__blank/index.html +16 -16
  6. package/dist/client/_nuxt/{CodeDiff.vue.72250861.js → CodeDiff.vue.495a2700.js} +1 -1
  7. package/dist/client/_nuxt/{ComposableItem.vue.5fcac467.js → ComposableItem.vue.09c56ec4.js} +1 -1
  8. package/dist/client/_nuxt/{DataSchemaButton.vue.b4fc42f9.js → DataSchemaButton.vue.058ff215.js} +1 -1
  9. package/dist/client/_nuxt/{DataSchemaDrawer.ecd92b92.js → DataSchemaDrawer.d62bbda3.js} +1 -1
  10. package/dist/client/_nuxt/{DurationDisplay.vue.7b02ae9f.js → DurationDisplay.vue.e7d2f90b.js} +1 -1
  11. package/dist/client/_nuxt/{FilepathItem.vue.6cdabcd4.js → FilepathItem.vue.feb8a13c.js} +1 -1
  12. package/dist/client/_nuxt/{HelpFab.vue.31b87f2a.js → HelpFab.vue.70bfd8f0.js} +1 -1
  13. package/dist/client/_nuxt/{LaunchPage.vue.06fcb257.js → LaunchPage.vue.68d99ad2.js} +1 -1
  14. package/dist/client/_nuxt/{NBadge.681f2fb6.js → NBadge.b912de36.js} +1 -1
  15. package/dist/client/_nuxt/{NCheckbox.vue.23790c32.js → NCheckbox.vue.a65a9466.js} +1 -1
  16. package/dist/client/_nuxt/{NCodeBlock.vue.7cb5f01d.js → NCodeBlock.vue.c114d969.js} +1 -1
  17. package/dist/client/_nuxt/{NDrawer.vue.15b4d748.js → NDrawer.vue.4bcebe5d.js} +1 -1
  18. package/dist/client/_nuxt/{NDropdown.vue.54157271.js → NDropdown.vue.32f13066.js} +1 -1
  19. package/dist/client/_nuxt/{NIconTitle.vue.2d1e44fb.js → NIconTitle.vue.dcd70230.js} +1 -1
  20. package/dist/client/_nuxt/{NLink.vue.e913f358.js → NLink.vue.353afc82.js} +1 -1
  21. package/dist/client/_nuxt/{NMarkdown.vue.20899182.js → NMarkdown.vue.4e215b1f.js} +1 -1
  22. package/dist/client/_nuxt/{NNavbar.vue.c506a970.js → NNavbar.vue.29f03776.js} +1 -1
  23. package/dist/client/_nuxt/{NSectionBlock.d66bb8c4.js → NSectionBlock.56f7fa97.js} +1 -1
  24. package/dist/client/_nuxt/{NSelect.vue.9e5ebac9.js → NSelect.vue.d4b5d548.js} +1 -1
  25. package/dist/client/_nuxt/{NSelectTabs.vue.9bf6517b.js → NSelectTabs.vue.f4ae464e.js} +1 -1
  26. package/dist/client/_nuxt/{NSwitch.vue.2e265fe1.js → NSwitch.vue.95382b67.js} +1 -1
  27. package/dist/client/_nuxt/{NTip.vue.51a4b91d.js → NTip.vue.fbfe6de9.js} +1 -1
  28. package/dist/client/_nuxt/{StateEditor.vue.420289e1.js → StateEditor.vue.9d7dcb3f.js} +1 -1
  29. package/dist/client/_nuxt/{__blank.95ba7574.js → __blank.961dc152.js} +1 -1
  30. package/dist/client/_nuxt/{analyze-build.5b09c13b.js → analyze-build.29ca822b.js} +1 -1
  31. package/dist/client/_nuxt/{assets.f0ad2218.js → assets.5182b2b7.js} +1 -1
  32. package/dist/client/_nuxt/builds/latest.json +1 -1
  33. package/dist/client/_nuxt/builds/meta/9c2bc90a-5134-40c2-becb-286bd0304a77.json +1 -0
  34. package/dist/client/_nuxt/{client.b2473ec3.js → client.4841a079.js} +1 -1
  35. package/dist/client/_nuxt/{components.dcc368d1.js → components.3821affe.js} +1 -1
  36. package/dist/client/_nuxt/{custom-_name_.129bf0b8.js → custom-_name_.45e0e481.js} +1 -1
  37. package/dist/client/_nuxt/{default.b857d80c.js → default.551695d6.js} +1 -1
  38. package/dist/client/_nuxt/{entry.7cb87d02.js → entry.5d59ff5c.js} +8 -8
  39. package/dist/client/_nuxt/{error-404.6518563d.js → error-404.c4b39504.js} +1 -1
  40. package/dist/client/_nuxt/{error-500.94c551da.js → error-500.4029de92.js} +1 -1
  41. package/dist/client/_nuxt/{full.169e4977.js → full.b09bb7d2.js} +1 -1
  42. package/dist/client/_nuxt/{hooks.f1018405.js → hooks.ad652487.js} +1 -1
  43. package/dist/client/_nuxt/{imports.dda10442.js → imports.779c7207.js} +1 -1
  44. package/dist/client/_nuxt/{index.05d4e5a2.js → index.07112662.js} +1 -1
  45. package/dist/client/_nuxt/{index.02ce2a44.js → index.8874e47c.js} +1 -1
  46. package/dist/client/_nuxt/{json-editor-vue.b5b3ad21.js → json-editor-vue.b1851782.js} +1 -1
  47. package/dist/client/_nuxt/{modules.25c79d85.js → modules.53d23733.js} +1 -1
  48. package/dist/client/_nuxt/{none.cebdb11e.js → none.48f4e2a5.js} +1 -1
  49. package/dist/client/_nuxt/{open-graph.4871f819.js → open-graph.545307be.js} +1 -1
  50. package/dist/client/_nuxt/{overview.a8b5c91e.js → overview.60692331.js} +1 -1
  51. package/dist/client/_nuxt/{pages.b6c85de5.js → pages.065c5174.js} +1 -1
  52. package/dist/client/_nuxt/{payload.5d97df2d.js → payload.f3ad6ba9.js} +1 -1
  53. package/dist/client/_nuxt/{plugins.f3bd0c25.js → plugins.97361fa6.js} +1 -1
  54. package/dist/client/_nuxt/{runtime-configs.92408de9.js → runtime-configs.04157e18.js} +1 -1
  55. package/dist/client/_nuxt/{server-routes.90d653e7.js → server-routes.631067b9.js} +1 -1
  56. package/dist/client/_nuxt/{settings.9790bb1a.js → settings.72bdb2b5.js} +1 -1
  57. package/dist/client/_nuxt/{state-components.ca15f9b7.js → state-components.9496e3b2.js} +1 -1
  58. package/dist/client/_nuxt/{state-modules.c1654bb7.js → state-modules.3599ee72.js} +1 -1
  59. package/dist/client/_nuxt/{storage-options.035e7403.js → storage-options.5fca38da.js} +1 -1
  60. package/dist/client/_nuxt/{storage.c7339fe7.js → storage.be53a14a.js} +1 -1
  61. package/dist/client/_nuxt/{terminals.41bf8c60.js → terminals.ad730beb.js} +1 -1
  62. package/dist/client/_nuxt/{timeline.ed636d87.js → timeline.b8cc1d67.js} +1 -1
  63. package/dist/client/_nuxt/{unocss-runtime.16c4cc56.js → unocss-runtime.55c74b5c.js} +1 -1
  64. package/dist/client/_nuxt/{virtual-files.7d0bcad0.js → virtual-files.7fd05201.js} +1 -1
  65. package/dist/client/index.html +16 -16
  66. package/dist/client/modules/analyze-build/index.html +16 -16
  67. package/dist/client/modules/assets/index.html +16 -16
  68. package/dist/client/modules/components/index.html +16 -16
  69. package/dist/client/modules/hooks/index.html +16 -16
  70. package/dist/client/modules/imports/index.html +16 -16
  71. package/dist/client/modules/modules/index.html +16 -16
  72. package/dist/client/modules/open-graph/index.html +16 -16
  73. package/dist/client/modules/overview/index.html +16 -16
  74. package/dist/client/modules/pages/index.html +16 -16
  75. package/dist/client/modules/payload/index.html +16 -16
  76. package/dist/client/modules/plugins/index.html +16 -16
  77. package/dist/client/modules/runtime-configs/index.html +16 -16
  78. package/dist/client/modules/server-routes/index.html +16 -16
  79. package/dist/client/modules/storage/index.html +16 -16
  80. package/dist/client/modules/terminals/index.html +16 -16
  81. package/dist/client/modules/timeline/index.html +16 -16
  82. package/dist/client/modules/virtual-files/index.html +16 -16
  83. package/dist/client/settings/index.html +16 -16
  84. package/dist/module.json +1 -1
  85. package/package.json +7 -7
  86. package/dist/client/_nuxt/builds/meta/10bb1edc-fde3-4c52-91c9-404c411ae86d.json +0 -1
@@ -1,11 +1,11 @@
1
- function lc(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Ue={},Ir=[],jt=()=>{},Av=()=>!1,Rv=/^on[^a-z]/,Co=e=>Rv.test(e),cc=e=>e.startsWith("onUpdate:"),Ze=Object.assign,uc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$v=Object.prototype.hasOwnProperty,Ne=(e,t)=>$v.call(e,t),ge=Array.isArray,Lr=e=>rs(e)==="[object Map]",ns=e=>rs(e)==="[object Set]",_u=e=>rs(e)==="[object Date]",Nv=e=>rs(e)==="[object RegExp]",_e=e=>typeof e=="function",Ve=e=>typeof e=="string",Vr=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",fc=e=>(ze(e)||_e(e))&&_e(e.then)&&_e(e.catch),kh=Object.prototype.toString,rs=e=>kh.call(e),Ov=e=>rs(e).slice(8,-1),Ph=e=>rs(e)==="[object Object]",dc=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ks=lc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Iv=/-(\w)/g,rn=Gi(e=>e.replace(Iv,(t,n)=>n?n.toUpperCase():"")),Lv=/\B([A-Z])/g,Sr=Gi(e=>e.replace(Lv,"-$1").toLowerCase()),qi=Gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ai=Gi(e=>e?`on${qi(e)}`:""),pr=(e,t)=>!Object.is(e,t),Mr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},gi=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},vi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ah=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let bu;const cl=()=>bu||(bu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function en(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ve(r)?Bv(r):en(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ve(e)||ze(e))return e}const Mv=/;(?![^(]*\))/g,Dv=/:([^]+)/,Fv=/\/\*[^]*?\*\//g;function Bv(e){const t={};return e.replace(Fv,"").split(Mv).forEach(n=>{if(n){const r=n.split(Dv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function qe(e){let t="";if(Ve(e))t=e;else if(ge(e))for(let n=0;n<e.length;n++){const r=qe(e[n]);r&&(t+=r+" ")}else if(ze(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function hc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ve(t)&&(e.class=qe(t)),n&&(e.style=en(n)),e}const jv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zv=lc(jv);function Rh(e){return!!e||e===""}function Hv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=mr(e[r],t[r]);return n}function mr(e,t){if(e===t)return!0;let n=_u(e),r=_u(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Vr(e),r=Vr(t),n||r)return e===t;if(n=ge(e),r=ge(t),n||r)return n&&r?Hv(e,t):!1;if(n=ze(e),r=ze(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!mr(e[i],t[i]))return!1}}return String(e)===String(t)}function pc(e,t){return e.findIndex(n=>mr(n,t))}const dt=e=>Ve(e)?e:e==null?"":ge(e)||ze(e)&&(e.toString===kh||!_e(e.toString))?JSON.stringify(e,$h,2):String(e),$h=(e,t)=>t&&t.__v_isRef?$h(e,t.value):Lr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ns(t)?{[`Set(${t.size})`]:[...t.values()]}:ze(t)&&!ge(t)&&!Ph(t)?String(t):t;let Tt;class Nh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Tt,!t&&Tt&&(this.index=(Tt.scopes||(Tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Tt;try{return Tt=this,t()}finally{Tt=n}}}on(){Tt=this}off(){Tt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Uv(e){return new Nh(e)}function Vv(e,t=Tt){t&&t.active&&t.effects.push(e)}function Oh(){return Tt}function Wv(e){Tt&&Tt.cleanups.push(e)}const mc=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ih=e=>(e.w&Hn)>0,Lh=e=>(e.n&Hn)>0,Gv=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Hn},qv=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Ih(s)&&!Lh(s)?s.delete(e):t[n++]=s,s.w&=~Hn,s.n&=~Hn}t.length=n}},yi=new WeakMap;let Ws=0,Hn=1;const ul=30;let Dt;const fr=Symbol(""),fl=Symbol("");class gc{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Vv(this,r)}run(){if(!this.active)return this.fn();let t=Dt,n=Mn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Dt,Dt=this,Mn=!0,Hn=1<<++Ws,Ws<=ul?Gv(this):wu(this),this.fn()}finally{Ws<=ul&&qv(this),Hn=1<<--Ws,Dt=this.parent,Mn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Dt===this?this.deferStop=!0:this.active&&(wu(this),this.onStop&&this.onStop(),this.active=!1)}}function wu(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Mn=!0;const Mh=[];function ss(){Mh.push(Mn),Mn=!1}function os(){const e=Mh.pop();Mn=e===void 0?!0:e}function St(e,t,n){if(Mn&&Dt){let r=yi.get(e);r||yi.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=mc()),Dh(s)}}function Dh(e,t){let n=!1;Ws<=ul?Lh(e)||(e.n|=Hn,n=!Ih(e)):n=!e.has(Dt),n&&(e.add(Dt),Dt.deps.push(e))}function mn(e,t,n,r,s,o){const i=yi.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ge(e)){const l=Number(r);i.forEach((c,u)=>{(u==="length"||!Vr(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ge(e)?dc(n)&&a.push(i.get("length")):(a.push(i.get(fr)),Lr(e)&&a.push(i.get(fl)));break;case"delete":ge(e)||(a.push(i.get(fr)),Lr(e)&&a.push(i.get(fl)));break;case"set":Lr(e)&&a.push(i.get(fr));break}if(a.length===1)a[0]&&dl(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);dl(mc(l))}}function dl(e,t){const n=ge(e)?e:[...e];for(const r of n)r.computed&&Su(r);for(const r of n)r.computed||Su(r)}function Su(e,t){(e!==Dt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Kv(e,t){var n;return(n=yi.get(e))==null?void 0:n.get(t)}const Xv=lc("__proto__,__v_isRef,__isVue"),Fh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vr)),Eu=Yv();function Yv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Re(this);for(let o=0,i=this.length;o<i;o++)St(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Re)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ss();const r=Re(this)[t].apply(this,n);return os(),r}}),e}function Jv(e){const t=Re(this);return St(t,"has",e),t.hasOwnProperty(e)}class Bh{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(s?o?uy:Uh:o?Hh:zh).get(t))return t;const i=ge(t);if(!s){if(i&&Ne(Eu,n))return Reflect.get(Eu,n,r);if(n==="hasOwnProperty")return Jv}const a=Reflect.get(t,n,r);return(Vr(n)?Fh.has(n):Xv(n))||(s||St(t,"get",n),o)?a:Fe(a)?i&&dc(n)?a:a.value:ze(a)?s?Er(a):gt(a):a}}class jh extends Bh{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(gr(o)&&Fe(o)&&!Fe(r))return!1;if(!this._shallow&&(!_i(r)&&!gr(r)&&(o=Re(o),r=Re(r)),!ge(t)&&Fe(o)&&!Fe(r)))return o.value=r,!0;const i=ge(t)&&dc(n)?Number(n)<t.length:Ne(t,n),a=Reflect.set(t,n,r,s);return t===Re(s)&&(i?pr(r,o)&&mn(t,"set",n,r):mn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ne(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&mn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Vr(n)||!Fh.has(n))&&St(t,"has",n),r}ownKeys(t){return St(t,"iterate",ge(t)?"length":fr),Reflect.ownKeys(t)}}class Zv extends Bh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qv=new jh,ey=new Zv,ty=new jh(!0),vc=e=>e,Ki=e=>Reflect.getPrototypeOf(e);function Lo(e,t,n=!1,r=!1){e=e.__v_raw;const s=Re(e),o=Re(t);n||(pr(t,o)&&St(s,"get",t),St(s,"get",o));const{has:i}=Ki(s),a=r?vc:n?bc:lo;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function Mo(e,t=!1){const n=this.__v_raw,r=Re(n),s=Re(e);return t||(pr(e,s)&&St(r,"has",e),St(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Do(e,t=!1){return e=e.__v_raw,!t&&St(Re(e),"iterate",fr),Reflect.get(e,"size",e)}function xu(e){e=Re(e);const t=Re(this);return Ki(t).has.call(t,e)||(t.add(e),mn(t,"add",e,e)),this}function Tu(e,t){t=Re(t);const n=Re(this),{has:r,get:s}=Ki(n);let o=r.call(n,e);o||(e=Re(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?pr(t,i)&&mn(n,"set",e,t):mn(n,"add",e,t),this}function Cu(e){const t=Re(this),{has:n,get:r}=Ki(t);let s=n.call(t,e);s||(e=Re(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&mn(t,"delete",e,void 0),o}function ku(){const e=Re(this),t=e.size!==0,n=e.clear();return t&&mn(e,"clear",void 0,void 0),n}function Fo(e,t){return function(r,s){const o=this,i=o.__v_raw,a=Re(i),l=t?vc:e?bc:lo;return!e&&St(a,"iterate",fr),i.forEach((c,u)=>r.call(s,l(c),l(u),o))}}function Bo(e,t,n){return function(...r){const s=this.__v_raw,o=Re(s),i=Lr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?vc:t?bc:lo;return!t&&St(o,"iterate",l?fl:fr),{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}},[Symbol.iterator](){return this}}}}function En(e){return function(...t){return e==="delete"?!1:this}}function ny(){const e={get(o){return Lo(this,o)},get size(){return Do(this)},has:Mo,add:xu,set:Tu,delete:Cu,clear:ku,forEach:Fo(!1,!1)},t={get(o){return Lo(this,o,!1,!0)},get size(){return Do(this)},has:Mo,add:xu,set:Tu,delete:Cu,clear:ku,forEach:Fo(!1,!0)},n={get(o){return Lo(this,o,!0)},get size(){return Do(this,!0)},has(o){return Mo.call(this,o,!0)},add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear"),forEach:Fo(!0,!1)},r={get(o){return Lo(this,o,!0,!0)},get size(){return Do(this,!0)},has(o){return Mo.call(this,o,!0)},add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear"),forEach:Fo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Bo(o,!1,!1),n[o]=Bo(o,!0,!1),t[o]=Bo(o,!1,!0),r[o]=Bo(o,!0,!0)}),[e,n,t,r]}const[ry,sy,oy,iy]=ny();function yc(e,t){const n=t?e?iy:oy:e?sy:ry;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ne(n,s)&&s in r?n:r,s,o)}const ay={get:yc(!1,!1)},ly={get:yc(!1,!0)},cy={get:yc(!0,!1)},zh=new WeakMap,Hh=new WeakMap,Uh=new WeakMap,uy=new WeakMap;function fy(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dy(e){return e.__v_skip||!Object.isExtensible(e)?0:fy(Ov(e))}function gt(e){return gr(e)?e:_c(e,!1,Qv,ay,zh)}function is(e){return _c(e,!1,ty,ly,Hh)}function Er(e){return _c(e,!0,ey,cy,Uh)}function _c(e,t,n,r,s){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=dy(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Dr(e){return gr(e)?Dr(e.__v_raw):!!(e&&e.__v_isReactive)}function gr(e){return!!(e&&e.__v_isReadonly)}function _i(e){return!!(e&&e.__v_isShallow)}function Vh(e){return Dr(e)||gr(e)}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Wh(e){return gi(e,"__v_skip",!0),e}const lo=e=>ze(e)?gt(e):e,bc=e=>ze(e)?Er(e):e;function wc(e){Mn&&Dt&&(e=Re(e),Dh(e.dep||(e.dep=mc())))}function Xi(e,t){e=Re(e);const n=e.dep;n&&dl(n)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function K(e){return Gh(e,!1)}function Ht(e){return Gh(e,!0)}function Gh(e,t){return Fe(e)?e:new hy(e,t)}class hy{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Re(t),this._value=n?t:lo(t)}get value(){return wc(this),this._value}set value(t){const n=this.__v_isShallow||_i(t)||gr(t);t=n?t:Re(t),pr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:lo(t),Xi(this))}}function qh(e){Xi(e)}function z(e){return Fe(e)?e.value:e}function Sc(e){return _e(e)?e():z(e)}const py={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Fe(s)&&!Fe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Kh(e){return Dr(e)?e:new Proxy(e,py)}class my{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>wc(this),()=>Xi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xh(e){return new my(e)}function gy(e){const t=ge(e)?new Array(e.length):{};for(const n in e)t[n]=Yh(e,n);return t}class vy{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Kv(Re(this._object),this._key)}}class yy{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Yi(e,t,n){return Fe(e)?e:_e(e)?new yy(e):ze(e)&&arguments.length>1?Yh(e,t,n):K(e)}function Yh(e,t,n){const r=e[t];return Fe(r)?r:new vy(e,t,n)}class _y{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new gc(t,()=>{this._dirty||(this._dirty=!0,Xi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Re(this);return wc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function by(e,t,n=!1){let r,s;const o=_e(e);return o?(r=e,s=jt):(r=e.get,s=e.set),new _y(r,s,o||!s,n)}function Dn(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){as(o,t,n)}return s}function Nt(e,t,n,r){if(_e(e)){const o=Dn(e,t,n,r);return o&&fc(o)&&o.catch(i=>{as(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Nt(e[o],t,n,r));return s}function as(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){Dn(l,null,10,[e,i,a]);return}}wy(e,n,s,r)}function wy(e,t,n,r=!0){console.error(e)}let co=!1,hl=!1;const lt=[];let Jt=0;const Fr=[];let un=null,nr=0;const Jh=Promise.resolve();let Ec=null;function kt(e){const t=Ec||Jh;return e?t.then(this?e.bind(this):e):t}function Sy(e){let t=Jt+1,n=lt.length;for(;t<n;){const r=t+n>>>1,s=lt[r],o=uo(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Ji(e){(!lt.length||!lt.includes(e,co&&e.allowRecurse?Jt+1:Jt))&&(e.id==null?lt.push(e):lt.splice(Sy(e.id),0,e),Zh())}function Zh(){!co&&!hl&&(hl=!0,Ec=Jh.then(Qh))}function Ey(e){const t=lt.indexOf(e);t>Jt&&lt.splice(t,1)}function pl(e){ge(e)?Fr.push(...e):(!un||!un.includes(e,e.allowRecurse?nr+1:nr))&&Fr.push(e),Zh()}function Pu(e,t=co?Jt+1:0){for(;t<lt.length;t++){const n=lt[t];n&&n.pre&&(lt.splice(t,1),t--,n())}}function bi(e){if(Fr.length){const t=[...new Set(Fr)];if(Fr.length=0,un){un.push(...t);return}for(un=t,un.sort((n,r)=>uo(n)-uo(r)),nr=0;nr<un.length;nr++)un[nr]();un=null,nr=0}}const uo=e=>e.id==null?1/0:e.id,xy=(e,t)=>{const n=uo(e)-uo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qh(e){hl=!1,co=!0,lt.sort(xy);const t=jt;try{for(Jt=0;Jt<lt.length;Jt++){const n=lt[Jt];n&&n.active!==!1&&Dn(n,null,14)}}finally{Jt=0,lt.length=0,bi(),co=!1,Ec=null,(lt.length||Fr.length)&&Qh()}}function Ty(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ue;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||Ue;d&&(s=n.map(p=>Ve(p)?p.trim():p)),f&&(s=n.map(vi))}let a,l=r[a=ai(t)]||r[a=ai(rn(t))];!l&&o&&(l=r[a=ai(Sr(t))]),l&&Nt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Nt(c,e,6,s)}}function ep(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!_e(e)){const l=c=>{const u=ep(c,t,!0);u&&(a=!0,Ze(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ze(e)&&r.set(e,null),null):(ge(o)?o.forEach(l=>i[l]=null):Ze(i,o),ze(e)&&r.set(e,i),i)}function Zi(e,t){return!e||!Co(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Sr(t))||Ne(e,t))}let nt=null,Qi=null;function wi(e){const t=nt;return nt=e,Qi=e&&e.type.__scopeId||null,t}function Cy(e){Qi=e}function ky(){Qi=null}const Py=e=>me;function me(e,t=nt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Hu(-1);const o=wi(t);let i;try{i=e(...s)}finally{wi(o),r._d&&Hu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ka(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e;let b,S;const _=wi(e);try{if(n.shapeFlag&4){const v=s||r;b=At(u.call(v,v,f,o,p,d,h)),S=l}else{const v=t;b=At(v.length>1?v(o,{attrs:l,slots:a,emit:c}):v(o,null)),S=t.props?l:Ry(l)}}catch(v){Zs.length=0,as(v,e,1),b=Z(mt)}let y=b;if(S&&g!==!1){const v=Object.keys(S),{shapeFlag:E}=y;v.length&&E&7&&(i&&v.some(cc)&&(S=$y(S,i)),y=yn(y,S))}return n.dirs&&(y=yn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,wi(_),b}function Ay(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Yr(r)){if(r.type!==mt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const Ry=e=>{let t;for(const n in e)(n==="class"||n==="style"||Co(n))&&((t||(t={}))[n]=e[n]);return t},$y=(e,t)=>{const n={};for(const r in e)(!cc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ny(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Au(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!Zi(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Au(r,i,c):!0:!!i;return!1}function Au(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Zi(n,o))return!0}return!1}function xc({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Tc="components",Oy="directives";function vn(e,t){return Cc(Tc,e,!0,t)||e}const tp=Symbol.for("v-ndc");function Wr(e){return Ve(e)?Cc(Tc,e,!1)||e:e||tp}function Iy(e){return Cc(Oy,e)}function Cc(e,t,n=!0,r=!1){const s=nt||Xe;if(s){const o=s.type;if(e===Tc){const a=wl(o,!1);if(a&&(a===t||a===rn(t)||a===qi(rn(t))))return o}const i=Ru(s[e]||o[e],t)||Ru(s.appContext[e],t);return!i&&r?o:i}}function Ru(e,t){return e&&(e[t]||e[rn(t)]||e[qi(rn(t))])}const np=e=>e.__isSuspense,Ly={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?My(t,n,r,s,o,i,a,l,c):Dy(e,t,n,r,s,i,a,l,c)},hydrate:Fy,create:Pc,normalize:By},kc=Ly;function fo(e,t){const n=e.props&&e.props[t];_e(n)&&n()}function My(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Pc(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(fo(e,"onPending"),fo(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),Br(d,e.ssFallback)):d.resolve(!1,!0)}function Dy(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:b,isHydrating:S}=f;if(g)f.pendingBranch=d,Ft(d,g)?(l(g,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():b&&(l(h,p,n,r,s,null,o,i,a),Br(f,p))):(f.pendingId++,S?(f.isHydrating=!1,f.activeBranch=g):c(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),b?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),Br(f,p))):h&&Ft(d,h)?(l(h,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&Ft(d,h))l(h,d,n,r,s,f,o,i,a),Br(f,d);else if(fo(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:y}=f;_>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},_):_===0&&f.fallback(p)}}function Pc(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:b}}=c;let S;const _=jy(e);_&&t?.pendingBranch&&(S=t.pendingId,t.deps++);const y=e.props?Ah(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,m=!1){const{vnode:k,activeBranch:T,pendingBranch:w,pendingId:C,effects:A,parentComponent:x,container:P}=v;let R=!1;if(v.isHydrating)v.isHydrating=!1;else if(!E){R=T&&w.transition&&w.transition.mode==="out-in",R&&(T.transition.afterLeave=()=>{C===v.pendingId&&(d(w,P,F,0),pl(A))});let{anchor:F}=v;T&&(F=h(T),p(T,x,v,!0)),R||d(w,P,F,0)}Br(v,w),v.pendingBranch=null,v.isInFallback=!1;let L=v.parent,I=!1;for(;L;){if(L.pendingBranch){L.effects.push(...A),I=!0;break}L=L.parent}!I&&!R&&pl(A),v.effects=[],_&&t&&t.pendingBranch&&S===t.pendingId&&(t.deps--,t.deps===0&&!m&&t.resolve()),fo(k,"onResolve")},fallback(E){if(!v.pendingBranch)return;const{vnode:m,activeBranch:k,parentComponent:T,container:w,isSVG:C}=v;fo(m,"onFallback");const A=h(k),x=()=>{v.isInFallback&&(f(null,E,w,A,T,null,C,a,l),Br(v,E))},P=E.transition&&E.transition.mode==="out-in";P&&(k.transition.afterLeave=x),v.isInFallback=!0,p(k,T,null,!0),P||x()},move(E,m,k){v.activeBranch&&d(v.activeBranch,E,m,k),v.container=E},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(E,m){const k=!!v.pendingBranch;k&&v.deps++;const T=E.vnode.el;E.asyncDep.catch(w=>{as(w,E,0)}).then(w=>{if(E.isUnmounted||v.isUnmounted||v.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:C}=E;bl(E,w,!1),T&&(C.el=T);const A=!T&&E.subTree.el;m(E,C,g(T||E.subTree.el),T?null:h(E.subTree),v,i,l),A&&b(A),xc(E,C.el),k&&--v.deps===0&&v.resolve()})},unmount(E,m){v.isUnmounted=!0,v.activeBranch&&p(v.activeBranch,n,E,m),v.pendingBranch&&p(v.pendingBranch,n,E,m)}};return v}function Fy(e,t,n,r,s,o,i,a,l){const c=t.suspense=Pc(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function By(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=$u(r?n.default:n),e.ssFallback=r?$u(n.fallback):Z(mt)}function $u(e){let t;if(_e(e)){const n=Xr&&e._c;n&&(e._d=!1,Q()),e=e(),n&&(e._d=!0,t=Rt,Cp())}return ge(e)&&(e=Ay(e)),e=At(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function rp(e,t){t&&t.pendingBranch?ge(e)?t.effects.push(...e):t.effects.push(e):pl(e)}function Br(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,xc(r,s))}function jy(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Gr(e,t){return Ac(e,null,t)}const jo={};function Be(e,t,n){return Ac(e,t,n)}function Ac(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Ue){var a;const l=Oh()===((a=Xe)==null?void 0:a.scope)?Xe:null;let c,u=!1,f=!1;if(Fe(e)?(c=()=>e.value,u=_i(e)):Dr(e)?(c=()=>e,r=!0):ge(e)?(f=!0,u=e.some(v=>Dr(v)||_i(v)),c=()=>e.map(v=>{if(Fe(v))return v.value;if(Dr(v))return ar(v);if(_e(v))return Dn(v,l,2)})):_e(e)?t?c=()=>Dn(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Nt(e,l,3,[p])}:c=jt,t&&r){const v=c;c=()=>ar(v())}let d,p=v=>{d=_.onStop=()=>{Dn(v,l,4)}},h;if(Jr)if(p=jt,t?n&&Nt(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const v=A_();h=v.__watcherHandles||(v.__watcherHandles=[])}else return jt;let g=f?new Array(e.length).fill(jo):jo;const b=()=>{if(_.active)if(t){const v=_.run();(r||u||(f?v.some((E,m)=>pr(E,g[m])):pr(v,g)))&&(d&&d(),Nt(t,l,3,[v,g===jo?void 0:f&&g[0]===jo?[]:g,p]),g=v)}else _.run()};b.allowRecurse=!!t;let S;s==="sync"?S=b:s==="post"?S=()=>st(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),S=()=>Ji(b));const _=new gc(c,S);t?n?b():g=_.run():s==="post"?st(_.run.bind(_),l&&l.suspense):_.run();const y=()=>{_.stop(),l&&l.scope&&uc(l.scope.effects,_)};return h&&h.push(y),y}function zy(e,t,n){const r=this.proxy,s=Ve(e)?e.includes(".")?sp(r,e):()=>r[e]:e.bind(r,r);let o;_e(t)?o=t:(o=t.handler,n=t);const i=Xe;Vn(this);const a=Ac(s,o.bind(r),n);return i?Vn(i):Fn(),a}function sp(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function ar(e,t){if(!ze(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Fe(e))ar(e.value,t);else if(ge(e))for(let n=0;n<e.length;n++)ar(e[n],t);else if(ns(e)||Lr(e))e.forEach(n=>{ar(n,t)});else if(Ph(e))for(const n in e)ar(e[n],t);return e}function ho(e,t){const n=nt;if(n===null)return e;const r=ra(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=Ue]=t[o];i&&(_e(i)&&(i={mounted:i,updated:i}),i.deep&&ar(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Yt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(ss(),Nt(l,n,8,[e.el,a,e,t]),os())}}const $n=Symbol("_leaveCb"),zo=Symbol("_enterCb");function op(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Sn(()=>{e.isMounted=!0}),ls(()=>{e.isUnmounting=!0}),e}const Pt=[Function,Array],ip={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pt,onEnter:Pt,onAfterEnter:Pt,onEnterCancelled:Pt,onBeforeLeave:Pt,onLeave:Pt,onAfterLeave:Pt,onLeaveCancelled:Pt,onBeforeAppear:Pt,onAppear:Pt,onAfterAppear:Pt,onAppearCancelled:Pt},Hy={name:"BaseTransition",props:ip,setup(e,{slots:t}){const n=on(),r=op();let s;return()=>{const o=t.default&&Rc(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const g of o)if(g.type!==mt){i=g;break}}const a=Re(e),{mode:l}=a;if(r.isLeaving)return Pa(i);const c=Nu(i);if(!c)return Pa(i);const u=po(c,a,r,n);qr(c,u);const f=n.subTree,d=f&&Nu(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();s===void 0?s=g:g!==s&&(s=g,p=!0)}if(d&&d.type!==mt&&(!Ft(c,d)||p)){const g=po(d,a,r,n);if(qr(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Pa(i);l==="in-out"&&c.type!==mt&&(g.delayLeave=(b,S,_)=>{const y=ap(r,d);y[String(d.key)]=d,b[$n]=()=>{S(),b[$n]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return i}}},Uy=Hy;function ap(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 po(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:b,onAfterAppear:S,onAppearCancelled:_}=t,y=String(e.key),v=ap(n,e),E=(T,w)=>{T&&Nt(T,r,9,w)},m=(T,w)=>{const C=w[1];E(T,w),ge(T)?T.every(A=>A.length<=1)&&C():T.length<=1&&C()},k={mode:o,persisted:i,beforeEnter(T){let w=a;if(!n.isMounted)if(s)w=g||a;else return;T[$n]&&T[$n](!0);const C=v[y];C&&Ft(e,C)&&C.el[$n]&&C.el[$n](),E(w,[T])},enter(T){let w=l,C=c,A=u;if(!n.isMounted)if(s)w=b||l,C=S||c,A=_||u;else return;let x=!1;const P=T[zo]=R=>{x||(x=!0,R?E(A,[T]):E(C,[T]),k.delayedLeave&&k.delayedLeave(),T[zo]=void 0)};w?m(w,[T,P]):P()},leave(T,w){const C=String(e.key);if(T[zo]&&T[zo](!0),n.isUnmounting)return w();E(f,[T]);let A=!1;const x=T[$n]=P=>{A||(A=!0,w(),P?E(h,[T]):E(p,[T]),T[$n]=void 0,v[C]===e&&delete v[C])};v[C]=e,d?m(d,[T,x]):x()},clone(T){return po(T,t,n,r)}};return k}function Pa(e){if(ko(e))return e=yn(e),e.children=null,e}function Nu(e){return ko(e)?e.children?e.children[0]:void 0:e}function qr(e,t){e.shapeFlag&6&&e.component?qr(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 Rc(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Le?(i.patchFlag&128&&s++,r=r.concat(Rc(i.children,t,a))):(t||i.type!==mt)&&r.push(a!=null?yn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ce(e,t){return _e(e)?(()=>Ze({name:e.name},t,{setup:e}))():e}const dr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Si(e){_e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((g,b)=>{a(h,()=>g(f()),()=>b(h),u+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Ce({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Xe;if(c)return()=>Aa(c,p);const h=_=>{l=null,as(_,p,13,!r)};if(i&&p.suspense||Jr)return d().then(_=>()=>Aa(_,p)).catch(_=>(h(_),()=>r?Z(r,{error:_}):null));const g=K(!1),b=K(),S=K(!!s);return s&&setTimeout(()=>{S.value=!1},s),o!=null&&setTimeout(()=>{if(!g.value&&!b.value){const _=new Error(`Async component timed out after ${o}ms.`);h(_),b.value=_}},o),d().then(()=>{g.value=!0,p.parent&&ko(p.parent.vnode)&&Ji(p.parent.update)}).catch(_=>{h(_),b.value=_}),()=>{if(g.value&&c)return Aa(c,p);if(b.value&&r)return Z(r,{error:b.value});if(n&&!S.value)return Z(n)}}})}function Aa(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Z(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ko=e=>e.type.__isKeepAlive,Vy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=on(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,y,v,E,m)=>{const k=_.component;c(_,y,v,0,a),l(k.vnode,_,y,v,k,a,E,_.slotScopeIds,m),st(()=>{k.isDeactivated=!1,k.a&&Mr(k.a);const T=_.props&&_.props.onVnodeMounted;T&&_t(T,k.parent,_)},a)},r.deactivate=_=>{const y=_.component;c(_,d,null,1,a),st(()=>{y.da&&Mr(y.da);const v=_.props&&_.props.onVnodeUnmounted;v&&_t(v,y.parent,_),y.isDeactivated=!0},a)};function p(_){Ra(_),u(_,n,a,!0)}function h(_){s.forEach((y,v)=>{const E=wl(y.type);E&&(!_||!_(E))&&g(v)})}function g(_){const y=s.get(_);!i||!Ft(y,i)?p(y):i&&Ra(i),s.delete(_),o.delete(_)}Be(()=>[e.include,e.exclude],([_,y])=>{_&&h(v=>Gs(_,v)),y&&h(v=>!Gs(y,v))},{flush:"post",deep:!0});let b=null;const S=()=>{b!=null&&s.set(b,$a(n.subTree))};return Sn(S),$c(S),ls(()=>{s.forEach(_=>{const{subTree:y,suspense:v}=n,E=$a(y);if(_.type===E.type&&_.key===E.key){Ra(E);const m=E.component.da;m&&st(m,v);return}p(_)})}),()=>{if(b=null,!t.default)return null;const _=t.default(),y=_[0];if(_.length>1)return i=null,_;if(!Yr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let v=$a(y);const E=v.type,m=wl(dr(v)?v.type.__asyncResolved||{}:E),{include:k,exclude:T,max:w}=e;if(k&&(!m||!Gs(k,m))||T&&m&&Gs(T,m))return i=v,y;const C=v.key==null?E:v.key,A=s.get(C);return v.el&&(v=yn(v),y.shapeFlag&128&&(y.ssContent=v)),b=C,A?(v.el=A.el,v.component=A.component,v.transition&&qr(v,v.transition),v.shapeFlag|=512,o.delete(C),o.add(C)):(o.add(C),w&&o.size>parseInt(w,10)&&g(o.values().next().value)),v.shapeFlag|=256,i=v,np(y.type)?y:v}}},Wy=Vy;function Gs(e,t){return ge(e)?e.some(n=>Gs(n,t)):Ve(e)?e.split(",").includes(t):Nv(e)?e.test(t):!1}function lp(e,t){up(e,"a",t)}function cp(e,t){up(e,"da",t)}function up(e,t,n=Xe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ea(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ko(s.parent.vnode)&&Gy(r,t,n,s),s=s.parent}}function Gy(e,t,n,r){const s=ea(t,e,r,!0);mo(()=>{uc(r[t],s)},n)}function Ra(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $a(e){return e.shapeFlag&128?e.ssContent:e}function ea(e,t,n=Xe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;ss(),Vn(n);const a=Nt(t,n,e,i);return Fn(),os(),a});return r?s.unshift(o):s.push(o),o}}const wn=e=>(t,n=Xe)=>(!Jr||e==="sp")&&ea(e,(...r)=>t(...r),n),fp=wn("bm"),Sn=wn("m"),qy=wn("bu"),$c=wn("u"),ls=wn("bum"),mo=wn("um"),Ky=wn("sp"),Xy=wn("rtg"),Yy=wn("rtc");function dp(e,t=Xe){ea("ec",e,t)}function go(e,t,n,r){let s;const o=n&&n[r];if(ge(e)||Ve(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(ze(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function Jy(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ge(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function rt(e,t,n={},r,s){if(nt.isCE||nt.parent&&dr(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),Z("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Q();const i=o&&hp(o(n)),a=Te(Le,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function hp(e){return e.some(t=>Yr(t)?!(t.type===mt||t.type===Le&&!hp(t.children)):!0)?e:null}function h2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ai(r)]=e[r];return n}const ml=e=>e?Ap(e)?ra(e)||e.proxy:ml(e.parent):null,Xs=Ze(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=>ml(e.parent),$root:e=>ml(e.root),$emit:e=>e.emit,$options:e=>Nc(e),$forceUpdate:e=>e.f||(e.f=()=>Ji(e.update)),$nextTick:e=>e.n||(e.n=kt.bind(e.proxy)),$watch:e=>zy.bind(e)}),Na=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ne(e,t),Zy={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Na(r,t))return i[t]=1,r[t];if(s!==Ue&&Ne(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&Ne(c,t))return i[t]=3,o[t];if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];gl&&(i[t]=0)}}const u=Xs[t];let f,d;if(u)return t==="$attrs"&&St(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Na(s,t)?(s[t]=n,!0):r!==Ue&&Ne(r,t)?(r[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ue&&Ne(e,i)||Na(t,i)||(a=o[0])&&Ne(a,i)||Ne(r,i)||Ne(Xs,i)||Ne(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ou(e){return ge(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function p2(e){const t=on();let n=e();return Fn(),fc(n)&&(n=n.catch(r=>{throw Vn(t),r})),[n,()=>Vn(t)]}let gl=!0;function Qy(e){const t=Nc(e),n=e.proxy,r=e.ctx;gl=!1,t.beforeCreate&&Iu(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:b,beforeDestroy:S,beforeUnmount:_,destroyed:y,unmounted:v,render:E,renderTracked:m,renderTriggered:k,errorCaptured:T,serverPrefetch:w,expose:C,inheritAttrs:A,components:x,directives:P,filters:R}=t;if(c&&e_(c,r,null),i)for(const F in i){const D=i[F];_e(D)&&(r[F]=D.bind(n))}if(s){const F=s.call(n,n);ze(F)&&(e.data=gt(F))}if(gl=!0,o)for(const F in o){const D=o[F],U=_e(D)?D.bind(n,n):_e(D.get)?D.get.bind(n,n):jt,ee=!_e(D)&&_e(D.set)?D.set.bind(n):jt,re=de({get:U,set:ee});Object.defineProperty(r,F,{enumerable:!0,configurable:!0,get:()=>re.value,set:oe=>re.value=oe})}if(a)for(const F in a)pp(a[F],r,n,F);if(l){const F=_e(l)?l.call(n):l;Reflect.ownKeys(F).forEach(D=>{hr(D,F[D])})}u&&Iu(u,e,"c");function I(F,D){ge(D)?D.forEach(U=>F(U.bind(n))):D&&F(D.bind(n))}if(I(fp,f),I(Sn,d),I(qy,p),I($c,h),I(lp,g),I(cp,b),I(dp,T),I(Yy,m),I(Xy,k),I(ls,_),I(mo,v),I(Ky,w),ge(C))if(C.length){const F=e.exposed||(e.exposed={});C.forEach(D=>{Object.defineProperty(F,D,{get:()=>n[D],set:U=>n[D]=U})})}else e.exposed||(e.exposed={});E&&e.render===jt&&(e.render=E),A!=null&&(e.inheritAttrs=A),x&&(e.components=x),P&&(e.directives=P)}function e_(e,t,n=jt){ge(e)&&(e=vl(e));for(const r in e){const s=e[r];let o;ze(s)?"default"in s?o=pt(s.from||r,s.default,!0):o=pt(s.from||r):o=pt(s),Fe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Iu(e,t,n){Nt(ge(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function pp(e,t,n,r){const s=r.includes(".")?sp(n,r):()=>n[r];if(Ve(e)){const o=t[e];_e(o)&&Be(s,o)}else if(_e(e))Be(s,e.bind(n));else if(ze(e))if(ge(e))e.forEach(o=>pp(o,t,n,r));else{const o=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(o)&&Be(s,o,e)}}function Nc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Ei(l,c,i,!0)),Ei(l,t,i)),ze(t)&&o.set(t,l),l}function Ei(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Ei(e,o,n,!0),s&&s.forEach(i=>Ei(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=t_[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const t_={data:Lu,props:Mu,emits:Mu,methods:qs,computed:qs,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:qs,directives:qs,watch:r_,provide:Lu,inject:n_};function Lu(e,t){return t?e?function(){return Ze(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function n_(e,t){return qs(vl(e),vl(t))}function vl(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function qs(e,t){return e?Ze(Object.create(null),e,t):t}function Mu(e,t){return e?ge(e)&&ge(t)?[...new Set([...e,...t])]:Ze(Object.create(null),Ou(e),Ou(t??{})):t}function r_(e,t){if(!e)return t;if(!t)return e;const n=Ze(Object.create(null),e);for(const r in t)n[r]=ut(e[r],t[r]);return n}function mp(){return{app:null,config:{isNativeTag:Av,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 s_=0;function o_(e,t){return function(r,s=null){_e(r)||(r=Ze({},r)),s!=null&&!ze(s)&&(s=null);const o=mp(),i=new WeakSet;let a=!1;const l=o.app={_uid:s_++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:$p,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&_e(c.install)?(i.add(c),c.install(l,...u)):_e(c)&&(i.add(c),c(l,...u))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,u){return u?(o.components[c]=u,l):o.components[c]},directive(c,u){return u?(o.directives[c]=u,l):o.directives[c]},mount(c,u,f){if(!a){const d=Z(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,ra(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return o.provides[c]=u,l},runWithContext(c){vo=l;try{return c()}finally{vo=null}}};return l}}let vo=null;function hr(e,t){if(Xe){let n=Xe.provides;const r=Xe.parent&&Xe.parent.provides;r===n&&(n=Xe.provides=Object.create(r)),n[e]=t}}function pt(e,t,n=!1){const r=Xe||nt;if(r||vo){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:vo._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&_e(t)?t.call(r&&r.proxy):t}}function gp(){return!!(Xe||nt||vo)}function i_(e,t,n,r=!1){const s={},o={};gi(o,ta,1),e.propsDefaults=Object.create(null),vp(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:is(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function a_(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Re(s),[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(Zi(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ne(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=rn(d);s[h]=yl(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{vp(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!Ne(t,f)&&((u=Sr(f))===f||!Ne(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=yl(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Ne(t,f))&&(delete o[f],c=!0)}c&&mn(e,"set","$attrs")}function vp(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Ks(l))continue;const c=t[l];let u;s&&Ne(s,u=rn(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Zi(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=Re(n),c=a||Ue;for(let u=0;u<o.length;u++){const f=o[u];n[f]=yl(s,l,f,c[f],e,!Ne(c,f))}}return i}function yl(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ne(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&_e(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(Vn(s),r=c[n]=l.call(null,t),Fn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Sr(n))&&(r=!0))}return r}function yp(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!_e(e)){const u=f=>{l=!0;const[d,p]=yp(f,t,!0);Ze(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(!o&&!l)return ze(e)&&r.set(e,Ir),Ir;if(ge(o))for(let u=0;u<o.length;u++){const f=rn(o[u]);Du(f)&&(i[f]=Ue)}else if(o)for(const u in o){const f=rn(u);if(Du(f)){const d=o[u],p=i[f]=ge(d)||_e(d)?{type:d}:Ze({},d);if(p){const h=ju(Boolean,p.type),g=ju(String,p.type);p[0]=h>-1,p[1]=g<0||h<g,(h>-1||Ne(p,"default"))&&a.push(f)}}}const c=[i,a];return ze(e)&&r.set(e,c),c}function Du(e){return e[0]!=="$"}function Fu(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Bu(e,t){return Fu(e)===Fu(t)}function ju(e,t){return ge(t)?t.findIndex(n=>Bu(n,e)):_e(t)&&Bu(t,e)?0:-1}const _p=e=>e[0]==="_"||e==="$stable",Oc=e=>ge(e)?e.map(At):[At(e)],l_=(e,t,n)=>{if(t._n)return t;const r=me((...s)=>Oc(t(...s)),n);return r._c=!1,r},bp=(e,t,n)=>{const r=e._ctx;for(const s in e){if(_p(s))continue;const o=e[s];if(_e(o))t[s]=l_(s,o,r);else if(o!=null){const i=Oc(o);t[s]=()=>i}}},wp=(e,t)=>{const n=Oc(t);e.slots.default=()=>n},c_=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Re(t),gi(t,"_",n)):bp(t,e.slots={})}else e.slots={},t&&wp(e,t);gi(e.slots,ta,1)},u_=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ue;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ze(s,t),!n&&a===1&&delete s._):(o=!t.$stable,bp(t,s)),i=t}else t&&(wp(e,t),i={default:1});if(o)for(const a in s)!_p(a)&&i[a]==null&&delete s[a]};function xi(e,t,n,r,s=!1){if(ge(e)){e.forEach((d,p)=>xi(d,t&&(ge(t)?t[p]:t),n,r,s));return}if(dr(r)&&!s)return;const o=r.shapeFlag&4?ra(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ue?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ve(c)?(u[c]=null,Ne(f,c)&&(f[c]=null)):Fe(c)&&(c.value=null)),_e(l))Dn(l,a,12,[i,u]);else{const d=Ve(l),p=Fe(l);if(d||p){const h=()=>{if(e.f){const g=d?Ne(f,l)?f[l]:u[l]:l.value;s?ge(g)&&uc(g,o):ge(g)?g.includes(o)||g.push(o):d?(u[l]=[o],Ne(f,l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,Ne(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,st(h,n)):h()}}}let xn=!1;const Ho=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Uo=e=>e.nodeType===8;function f_(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(y,v)=>{if(!v.hasChildNodes()){n(null,y,v),bi(),v._vnode=y;return}xn=!1,f(v.firstChild,y,null,null,null),bi(),v._vnode=y,xn&&console.error("Hydration completed but contains mismatches.")},f=(y,v,E,m,k,T=!1)=>{const w=Uo(y)&&y.data==="[",C=()=>g(y,v,E,m,k,w),{type:A,ref:x,shapeFlag:P,patchFlag:R}=v;let L=y.nodeType;v.el=y,R===-2&&(T=!1,v.dynamicChildren=null);let I=null;switch(A){case Kr:L!==3?v.children===""?(l(v.el=s(""),i(y),y),I=y):I=C():(y.data!==v.children&&(xn=!0,y.data=v.children),I=o(y));break;case mt:_(y)?(I=o(y),S(v.el=y.content.firstChild,y,E)):L!==8||w?I=C():I=o(y);break;case Js:if(w&&(y=o(y),L=y.nodeType),L===1||L===3){I=y;const F=!v.children.length;for(let D=0;D<v.staticCount;D++)F&&(v.children+=I.nodeType===1?I.outerHTML:I.data),D===v.staticCount-1&&(v.anchor=I),I=o(I);return w?o(I):I}else C();break;case Le:w?I=h(y,v,E,m,k,T):I=C();break;default:if(P&1)(L!==1||v.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?I=C():I=d(y,v,E,m,k,T);else if(P&6){v.slotScopeIds=k;const F=i(y);if(w?I=b(y):Uo(y)&&y.data==="teleport start"?I=b(y,y.data,"teleport end"):I=o(y),t(v,F,null,E,m,Ho(F),T),dr(v)){let D;w?(D=Z(Le),D.anchor=I?I.previousSibling:F.lastChild):D=y.nodeType===3?Oe(""):Z("div"),D.el=y,v.component.subTree=D}}else P&64?L!==8?I=C():I=v.type.hydrate(y,v,E,m,k,T,e,p):P&128&&(I=v.type.hydrate(y,v,E,m,Ho(i(y)),k,T,e,f))}return x!=null&&xi(x,null,m,v),I},d=(y,v,E,m,k,T)=>{T=T||!!v.dynamicChildren;const{type:w,props:C,patchFlag:A,shapeFlag:x,dirs:P,transition:R}=v,L=w==="input"&&P||w==="option";if(L||A!==-1){if(P&&Yt(v,null,E,"created"),C)if(L||!T||A&48)for(const D in C)(L&&D.endsWith("value")||Co(D)&&!Ks(D))&&r(y,D,null,C[D],!1,void 0,E);else C.onClick&&r(y,"onClick",null,C.onClick,!1,void 0,E);let I;(I=C&&C.onVnodeBeforeMount)&&_t(I,E,v);let F=!1;if(_(y)){F=Ep(m,R)&&E&&E.vnode.props&&E.vnode.props.appear;const D=y.content.firstChild;F&&R.beforeEnter(D),S(D,y,E),v.el=y=D}if(P&&Yt(v,null,E,"beforeMount"),((I=C&&C.onVnodeMounted)||P||F)&&rp(()=>{I&&_t(I,E,v),F&&R.enter(y),P&&Yt(v,null,E,"mounted")},m),x&16&&!(C&&(C.innerHTML||C.textContent))){let D=p(y.firstChild,v,y,E,m,k,T);for(;D;){xn=!0;const U=D;D=D.nextSibling,a(U)}}else x&8&&y.textContent!==v.children&&(xn=!0,y.textContent=v.children)}return y.nextSibling},p=(y,v,E,m,k,T,w)=>{w=w||!!v.dynamicChildren;const C=v.children,A=C.length;for(let x=0;x<A;x++){const P=w?C[x]:C[x]=At(C[x]);if(y)y=f(y,P,m,k,T,w);else{if(P.type===Kr&&!P.children)continue;xn=!0,n(null,P,E,null,m,k,Ho(E),T)}}return y},h=(y,v,E,m,k,T)=>{const{slotScopeIds:w}=v;w&&(k=k?k.concat(w):w);const C=i(y),A=p(o(y),v,C,E,m,k,T);return A&&Uo(A)&&A.data==="]"?o(v.anchor=A):(xn=!0,l(v.anchor=c("]"),C,A),A)},g=(y,v,E,m,k,T)=>{if(xn=!0,v.el=null,T){const A=b(y);for(;;){const x=o(y);if(x&&x!==A)a(x);else break}}const w=o(y),C=i(y);return a(y),n(null,v,C,w,E,m,Ho(C),k),w},b=(y,v="[",E="]")=>{let m=0;for(;y;)if(y=o(y),y&&Uo(y)&&(y.data===v&&m++,y.data===E)){if(m===0)return o(y);m--}return y},S=(y,v,E)=>{const m=v.parentNode;m&&m.replaceChild(y,v);let k=E;for(;k;)k.vnode.el===v&&(k.vnode.el=k.subTree.el=y),k=k.parent},_=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const st=rp;function d_(e){return Sp(e)}function h_(e){return Sp(e,f_)}function Sp(e,t){const n=cl();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=jt,insertStaticContent:h}=e,g=($,N,M,B=null,j=null,H=null,ne=!1,G=null,X=!!N.dynamicChildren)=>{if($===N)return;$&&!Ft($,N)&&(B=O($),oe($,j,H,!0),$=null),N.patchFlag===-2&&(X=!1,N.dynamicChildren=null);const{type:W,ref:ie,shapeFlag:ae}=N;switch(W){case Kr:b($,N,M,B);break;case mt:S($,N,M,B);break;case Js:$==null&&_(N,M,B,ne);break;case Le:x($,N,M,B,j,H,ne,G,X);break;default:ae&1?E($,N,M,B,j,H,ne,G,X):ae&6?P($,N,M,B,j,H,ne,G,X):(ae&64||ae&128)&&W.process($,N,M,B,j,H,ne,G,X,V)}ie!=null&&j&&xi(ie,$&&$.ref,H,N||$,!N)},b=($,N,M,B)=>{if($==null)r(N.el=a(N.children),M,B);else{const j=N.el=$.el;N.children!==$.children&&c(j,N.children)}},S=($,N,M,B)=>{$==null?r(N.el=l(N.children||""),M,B):N.el=$.el},_=($,N,M,B)=>{[$.el,$.anchor]=h($.children,N,M,B,$.el,$.anchor)},y=({el:$,anchor:N},M,B)=>{let j;for(;$&&$!==N;)j=d($),r($,M,B),$=j;r(N,M,B)},v=({el:$,anchor:N})=>{let M;for(;$&&$!==N;)M=d($),s($),$=M;s(N)},E=($,N,M,B,j,H,ne,G,X)=>{ne=ne||N.type==="svg",$==null?m(N,M,B,j,H,ne,G,X):w($,N,j,H,ne,G,X)},m=($,N,M,B,j,H,ne,G)=>{let X,W;const{type:ie,props:ae,shapeFlag:fe,transition:te,dirs:le}=$;if(X=$.el=i($.type,H,ae&&ae.is,ae),fe&8?u(X,$.children):fe&16&&T($.children,X,null,B,j,H&&ie!=="foreignObject",ne,G),le&&Yt($,null,B,"created"),k(X,$,$.scopeId,ne,B),ae){for(const pe in ae)pe!=="value"&&!Ks(pe)&&o(X,pe,null,ae[pe],H,$.children,B,j,$e);"value"in ae&&o(X,"value",null,ae.value),(W=ae.onVnodeBeforeMount)&&_t(W,B,$)}le&&Yt($,null,B,"beforeMount");const se=Ep(j,te);se&&te.beforeEnter(X),r(X,N,M),((W=ae&&ae.onVnodeMounted)||se||le)&&st(()=>{W&&_t(W,B,$),se&&te.enter(X),le&&Yt($,null,B,"mounted")},j)},k=($,N,M,B,j)=>{if(M&&p($,M),B)for(let H=0;H<B.length;H++)p($,B[H]);if(j){let H=j.subTree;if(N===H){const ne=j.vnode;k($,ne,ne.scopeId,ne.slotScopeIds,j.parent)}}},T=($,N,M,B,j,H,ne,G,X=0)=>{for(let W=X;W<$.length;W++){const ie=$[W]=G?Nn($[W]):At($[W]);g(null,ie,N,M,B,j,H,ne,G)}},w=($,N,M,B,j,H,ne)=>{const G=N.el=$.el;let{patchFlag:X,dynamicChildren:W,dirs:ie}=N;X|=$.patchFlag&16;const ae=$.props||Ue,fe=N.props||Ue;let te;M&&Xn(M,!1),(te=fe.onVnodeBeforeUpdate)&&_t(te,M,N,$),ie&&Yt(N,$,M,"beforeUpdate"),M&&Xn(M,!0);const le=j&&N.type!=="foreignObject";if(W?C($.dynamicChildren,W,G,M,B,le,H):ne||D($,N,G,null,M,B,le,H,!1),X>0){if(X&16)A(G,N,ae,fe,M,B,j);else if(X&2&&ae.class!==fe.class&&o(G,"class",null,fe.class,j),X&4&&o(G,"style",ae.style,fe.style,j),X&8){const se=N.dynamicProps;for(let pe=0;pe<se.length;pe++){const Ie=se[pe],We=ae[Ie],ke=fe[Ie];(ke!==We||Ie==="value")&&o(G,Ie,We,ke,j,$.children,M,B,$e)}}X&1&&$.children!==N.children&&u(G,N.children)}else!ne&&W==null&&A(G,N,ae,fe,M,B,j);((te=fe.onVnodeUpdated)||ie)&&st(()=>{te&&_t(te,M,N,$),ie&&Yt(N,$,M,"updated")},B)},C=($,N,M,B,j,H,ne)=>{for(let G=0;G<N.length;G++){const X=$[G],W=N[G],ie=X.el&&(X.type===Le||!Ft(X,W)||X.shapeFlag&70)?f(X.el):M;g(X,W,ie,null,B,j,H,ne,!0)}},A=($,N,M,B,j,H,ne)=>{if(M!==B){if(M!==Ue)for(const G in M)!Ks(G)&&!(G in B)&&o($,G,M[G],null,ne,N.children,j,H,$e);for(const G in B){if(Ks(G))continue;const X=B[G],W=M[G];X!==W&&G!=="value"&&o($,G,W,X,ne,N.children,j,H,$e)}"value"in B&&o($,"value",M.value,B.value)}},x=($,N,M,B,j,H,ne,G,X)=>{const W=N.el=$?$.el:a(""),ie=N.anchor=$?$.anchor:a("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:te}=N;te&&(G=G?G.concat(te):te),$==null?(r(W,M,B),r(ie,M,B),T(N.children,M,ie,j,H,ne,G,X)):ae>0&&ae&64&&fe&&$.dynamicChildren?(C($.dynamicChildren,fe,M,j,H,ne,G),(N.key!=null||j&&N===j.subTree)&&Ic($,N,!0)):D($,N,M,ie,j,H,ne,G,X)},P=($,N,M,B,j,H,ne,G,X)=>{N.slotScopeIds=G,$==null?N.shapeFlag&512?j.ctx.activate(N,M,B,ne,X):R(N,M,B,j,H,ne,X):L($,N,X)},R=($,N,M,B,j,H,ne)=>{const G=$.component=S_($,B,j);if(ko($)&&(G.ctx.renderer=V),E_(G),G.asyncDep){if(j&&j.registerDep(G,I),!$.el){const X=G.subTree=Z(mt);S(null,X,N,M)}return}I(G,$,N,M,j,H,ne)},L=($,N,M)=>{const B=N.component=$.component;if(Ny($,N,M))if(B.asyncDep&&!B.asyncResolved){F(B,N,M);return}else B.next=N,Ey(B.update),B.update();else N.el=$.el,B.vnode=N},I=($,N,M,B,j,H,ne)=>{const G=()=>{if($.isMounted){let{next:ie,bu:ae,u:fe,parent:te,vnode:le}=$,se=ie,pe;Xn($,!1),ie?(ie.el=le.el,F($,ie,ne)):ie=le,ae&&Mr(ae),(pe=ie.props&&ie.props.onVnodeBeforeUpdate)&&_t(pe,te,ie,le),Xn($,!0);const Ie=ka($),We=$.subTree;$.subTree=Ie,g(We,Ie,f(We.el),O(We),$,j,H),ie.el=Ie.el,se===null&&xc($,Ie.el),fe&&st(fe,j),(pe=ie.props&&ie.props.onVnodeUpdated)&&st(()=>_t(pe,te,ie,le),j)}else{let ie;const{el:ae,props:fe}=N,{bm:te,m:le,parent:se}=$,pe=dr(N);if(Xn($,!1),te&&Mr(te),!pe&&(ie=fe&&fe.onVnodeBeforeMount)&&_t(ie,se,N),Xn($,!0),ae&&xe){const Ie=()=>{$.subTree=ka($),xe(ae,$.subTree,$,j,null)};pe?N.type.__asyncLoader().then(()=>!$.isUnmounted&&Ie()):Ie()}else{const Ie=$.subTree=ka($);g(null,Ie,M,B,$,j,H),N.el=Ie.el}if(le&&st(le,j),!pe&&(ie=fe&&fe.onVnodeMounted)){const Ie=N;st(()=>_t(ie,se,Ie),j)}(N.shapeFlag&256||se&&dr(se.vnode)&&se.vnode.shapeFlag&256)&&$.a&&st($.a,j),$.isMounted=!0,N=M=B=null}},X=$.effect=new gc(G,()=>Ji(W),$.scope),W=$.update=()=>X.run();W.id=$.uid,Xn($,!0),W()},F=($,N,M)=>{N.component=$;const B=$.vnode.props;$.vnode=N,$.next=null,a_($,N.props,B,M),u_($,N.children,M),ss(),Pu(),os()},D=($,N,M,B,j,H,ne,G,X=!1)=>{const W=$&&$.children,ie=$?$.shapeFlag:0,ae=N.children,{patchFlag:fe,shapeFlag:te}=N;if(fe>0){if(fe&128){ee(W,ae,M,B,j,H,ne,G,X);return}else if(fe&256){U(W,ae,M,B,j,H,ne,G,X);return}}te&8?(ie&16&&$e(W,j,H),ae!==W&&u(M,ae)):ie&16?te&16?ee(W,ae,M,B,j,H,ne,G,X):$e(W,j,H,!0):(ie&8&&u(M,""),te&16&&T(ae,M,B,j,H,ne,G,X))},U=($,N,M,B,j,H,ne,G,X)=>{$=$||Ir,N=N||Ir;const W=$.length,ie=N.length,ae=Math.min(W,ie);let fe;for(fe=0;fe<ae;fe++){const te=N[fe]=X?Nn(N[fe]):At(N[fe]);g($[fe],te,M,null,j,H,ne,G,X)}W>ie?$e($,j,H,!0,!1,ae):T(N,M,B,j,H,ne,G,X,ae)},ee=($,N,M,B,j,H,ne,G,X)=>{let W=0;const ie=N.length;let ae=$.length-1,fe=ie-1;for(;W<=ae&&W<=fe;){const te=$[W],le=N[W]=X?Nn(N[W]):At(N[W]);if(Ft(te,le))g(te,le,M,null,j,H,ne,G,X);else break;W++}for(;W<=ae&&W<=fe;){const te=$[ae],le=N[fe]=X?Nn(N[fe]):At(N[fe]);if(Ft(te,le))g(te,le,M,null,j,H,ne,G,X);else break;ae--,fe--}if(W>ae){if(W<=fe){const te=fe+1,le=te<ie?N[te].el:B;for(;W<=fe;)g(null,N[W]=X?Nn(N[W]):At(N[W]),M,le,j,H,ne,G,X),W++}}else if(W>fe)for(;W<=ae;)oe($[W],j,H,!0),W++;else{const te=W,le=W,se=new Map;for(W=le;W<=fe;W++){const at=N[W]=X?Nn(N[W]):At(N[W]);at.key!=null&&se.set(at.key,W)}let pe,Ie=0;const We=fe-le+1;let ke=!1,ve=0;const it=new Array(We);for(W=0;W<We;W++)it[W]=0;for(W=te;W<=ae;W++){const at=$[W];if(Ie>=We){oe(at,j,H,!0);continue}let Gt;if(at.key!=null)Gt=se.get(at.key);else for(pe=le;pe<=fe;pe++)if(it[pe-le]===0&&Ft(at,N[pe])){Gt=pe;break}Gt===void 0?oe(at,j,H,!0):(it[Gt-le]=W+1,Gt>=ve?ve=Gt:ke=!0,g(at,N[Gt],M,null,j,H,ne,G,X),Ie++)}const kr=ke?p_(it):Ir;for(pe=kr.length-1,W=We-1;W>=0;W--){const at=le+W,Gt=N[at],yu=at+1<ie?N[at+1].el:B;it[W]===0?g(null,Gt,M,yu,j,H,ne,G,X):ke&&(pe<0||W!==kr[pe]?re(Gt,M,yu,2):pe--)}}},re=($,N,M,B,j=null)=>{const{el:H,type:ne,transition:G,children:X,shapeFlag:W}=$;if(W&6){re($.component.subTree,N,M,B);return}if(W&128){$.suspense.move(N,M,B);return}if(W&64){ne.move($,N,M,V);return}if(ne===Le){r(H,N,M);for(let ae=0;ae<X.length;ae++)re(X[ae],N,M,B);r($.anchor,N,M);return}if(ne===Js){y($,N,M);return}if(B!==2&&W&1&&G)if(B===0)G.beforeEnter(H),r(H,N,M),st(()=>G.enter(H),j);else{const{leave:ae,delayLeave:fe,afterLeave:te}=G,le=()=>r(H,N,M),se=()=>{ae(H,()=>{le(),te&&te()})};fe?fe(H,le,se):se()}else r(H,N,M)},oe=($,N,M,B=!1,j=!1)=>{const{type:H,props:ne,ref:G,children:X,dynamicChildren:W,shapeFlag:ie,patchFlag:ae,dirs:fe}=$;if(G!=null&&xi(G,null,M,$,!0),ie&256){N.ctx.deactivate($);return}const te=ie&1&&fe,le=!dr($);let se;if(le&&(se=ne&&ne.onVnodeBeforeUnmount)&&_t(se,N,$),ie&6)Se($.component,M,B);else{if(ie&128){$.suspense.unmount(M,B);return}te&&Yt($,null,N,"beforeUnmount"),ie&64?$.type.remove($,N,M,j,V,B):W&&(H!==Le||ae>0&&ae&64)?$e(W,N,M,!1,!0):(H===Le&&ae&384||!j&&ie&16)&&$e(X,N,M),B&&he($)}(le&&(se=ne&&ne.onVnodeUnmounted)||te)&&st(()=>{se&&_t(se,N,$),te&&Yt($,null,N,"unmounted")},M)},he=$=>{const{type:N,el:M,anchor:B,transition:j}=$;if(N===Le){ue(M,B);return}if(N===Js){v($);return}const H=()=>{s(M),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if($.shapeFlag&1&&j&&!j.persisted){const{leave:ne,delayLeave:G}=j,X=()=>ne(M,H);G?G($.el,H,X):X()}else H()},ue=($,N)=>{let M;for(;$!==N;)M=d($),s($),$=M;s(N)},Se=($,N,M)=>{const{bum:B,scope:j,update:H,subTree:ne,um:G}=$;B&&Mr(B),j.stop(),H&&(H.active=!1,oe(ne,$,N,M)),G&&st(G,N),st(()=>{$.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},$e=($,N,M,B=!1,j=!1,H=0)=>{for(let ne=H;ne<$.length;ne++)oe($[ne],N,M,B,j)},O=$=>$.shapeFlag&6?O($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),J=($,N,M)=>{$==null?N._vnode&&oe(N._vnode,null,null,!0):g(N._vnode||null,$,N,null,null,null,M),Pu(),bi(),N._vnode=$},V={p:g,um:oe,m:re,r:he,mt:R,mc:T,pc:D,pbc:C,n:O,o:e};let ce,xe;return t&&([ce,xe]=t(V)),{render:J,hydrate:ce,createApp:o_(J,ce)}}function Xn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ep(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ic(e,t,n=!1){const r=e.children,s=t.children;if(ge(r)&&ge(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Nn(s[o]),a.el=i.el),n||Ic(i,a)),a.type===Kr&&(a.el=i.el)}}function p_(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const m_=e=>e.__isTeleport,Ys=e=>e&&(e.disabled||e.disabled===""),zu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_l=(e,t)=>{const n=e&&e.to;return Ve(n)?t?t(n):null:n},g_={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:g,createComment:b}}=c,S=Ys(t.props);let{shapeFlag:_,children:y,dynamicChildren:v}=t;if(e==null){const E=t.el=g(""),m=t.anchor=g("");p(E,n,r),p(m,n,r);const k=t.target=_l(t.props,h),T=t.targetAnchor=g("");k&&(p(T,k),i=i||zu(k));const w=(C,A)=>{_&16&&u(y,C,A,s,o,i,a,l)};S?w(n,m):k&&w(k,T)}else{t.el=e.el;const E=t.anchor=e.anchor,m=t.target=e.target,k=t.targetAnchor=e.targetAnchor,T=Ys(e.props),w=T?n:m,C=T?E:k;if(i=i||zu(m),v?(d(e.dynamicChildren,v,w,s,o,i,a),Ic(e,t,!0)):l||f(e,t,w,C,s,o,i,a,!1),S)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Vo(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=_l(t.props,h);A&&Vo(t,A,null,c,0)}else T&&Vo(t,m,k,c,1)}Tp(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),i&&o(c),a&16){const p=i||!Ys(d);for(let h=0;h<l.length;h++){const g=l[h];s(g,t,n,p,!!g.dynamicChildren)}}},move:Vo,hydrate:v_};function Vo(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=o===2;if(f&&r(i,t,n),(!f||Ys(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function v_(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=_l(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Ys(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,u,n,r,s,o)}Tp(t)}return t.anchor&&i(t.anchor)}const xp=g_;function Tp(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Le=Symbol.for("v-fgt"),Kr=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),Zs=[];let Rt=null;function Q(e=!1){Zs.push(Rt=e?null:[])}function Cp(){Zs.pop(),Rt=Zs[Zs.length-1]||null}let Xr=1;function Hu(e){Xr+=e}function kp(e){return e.dynamicChildren=Xr>0?Rt||Ir:null,Cp(),Xr>0&&Rt&&Rt.push(e),e}function ye(e,t,n,r,s,o){return kp(q(e,t,n,r,s,o,!0))}function Te(e,t,n,r,s){return kp(Z(e,t,n,r,s,!0))}function Yr(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const ta="__vInternal",Pp=({key:e})=>e??null,li=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Fe(e)||_e(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function q(e,t=null,n=null,r=0,s=null,o=e===Le?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pp(t),ref:t&&li(t),scopeId:Qi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:nt};return a?(Lc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ve(n)?8:16),Xr>0&&!i&&Rt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Rt.push(l),l}const Z=y_;function y_(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===tp)&&(e=mt),Yr(e)){const a=yn(e,t,!0);return n&&Lc(a,n),Xr>0&&!o&&Rt&&(a.shapeFlag&6?Rt[Rt.indexOf(e)]=a:Rt.push(a)),a.patchFlag|=-2,a}if(k_(e)&&(e=e.__vccOpts),t){t=na(t);let{class:a,style:l}=t;a&&!Ve(a)&&(t.class=qe(a)),ze(l)&&(Vh(l)&&!ge(l)&&(l=Ze({},l)),t.style=en(l))}const i=Ve(e)?1:np(e)?128:m_(e)?64:ze(e)?4:_e(e)?2:0;return q(e,t,n,r,s,i,o,!0)}function na(e){return e?Vh(e)||ta in e?Ze({},e):e:null}function yn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Un(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Pp(a),ref:t&&t.ref?n&&s?ge(s)?s.concat(li(t)):[s,li(t)]:li(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yn(e.ssContent),ssFallback:e.ssFallback&&yn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Oe(e=" ",t=0){return Z(Kr,null,e,t)}function __(e,t){const n=Z(Js,null,e);return n.staticCount=t,n}function Ge(e="",t=!1){return t?(Q(),Te(mt,null,e)):Z(mt,null,e)}function At(e){return e==null||typeof e=="boolean"?Z(mt):ge(e)?Z(Le,null,e.slice()):typeof e=="object"?Nn(e):Z(Kr,null,String(e))}function Nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yn(e)}function Lc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ge(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Lc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(ta in t)?t._ctx=nt:s===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[Oe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Un(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=qe([t.class,r.class]));else if(s==="style")t.style=en([t.style,r.style]);else if(Co(s)){const o=t[s],i=r[s];i&&o!==i&&!(ge(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function _t(e,t,n,r=null){Nt(e,t,7,[n,r])}const b_=mp();let w_=0;function S_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||b_,o={uid:w_++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Nh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yp(r,s),emitsOptions:ep(r,s),emit:null,emitted:null,propsDefaults:Ue,inheritAttrs:r.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,setupContext:null,attrsProxy:null,slotsProxy: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Ty.bind(null,o),e.ce&&e.ce(o),o}let Xe=null;const on=()=>Xe||nt;let Mc,Pr,Uu="__VUE_INSTANCE_SETTERS__";(Pr=cl()[Uu])||(Pr=cl()[Uu]=[]),Pr.push(e=>Xe=e),Mc=e=>{Pr.length>1?Pr.forEach(t=>t(e)):Pr[0](e)};const Vn=e=>{Mc(e),e.scope.on()},Fn=()=>{Xe&&Xe.scope.off(),Mc(null)};function Ap(e){return e.vnode.shapeFlag&4}let Jr=!1;function E_(e,t=!1){Jr=t;const{props:n,children:r}=e.vnode,s=Ap(e);i_(e,n,s,t),c_(e,r);const o=s?x_(e,t):void 0;return Jr=!1,o}function x_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Wh(new Proxy(e.ctx,Zy));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?C_(e):null;Vn(e),ss();const o=Dn(r,e,0,[e.props,s]);if(os(),Fn(),fc(o)){if(o.then(Fn,Fn),t)return o.then(i=>{bl(e,i,t)}).catch(i=>{as(i,e,0)});e.asyncDep=o}else bl(e,o,t)}else Rp(e,t)}function bl(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=Kh(t)),Rp(e,n)}let Vu;function Rp(e,t,n){const r=e.type;if(!e.render){if(!t&&Vu&&!r.render){const s=r.template||Nc(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ze(Ze({isCustomElement:o,delimiters:a},i),l);r.render=Vu(s,c)}}e.render=r.render||jt}{Vn(e),ss();try{Qy(e)}finally{os(),Fn()}}}function T_(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return St(e,"get","$attrs"),t[n]}}))}function C_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return T_(e)},slots:e.slots,emit:e.emit,expose:t}}function ra(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kh(Wh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xs)return Xs[n](e)},has(t,n){return n in t||n in Xs}}))}function wl(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function k_(e){return _e(e)&&"__vccOpts"in e}const de=(e,t)=>by(e,t,Jr);function Je(e,t,n){const r=arguments.length;return r===2?ze(t)&&!ge(t)?Yr(t)?Z(e,null,[t]):Z(e,t):Z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yr(n)&&(n=[n]),Z(e,t,n))}const P_=Symbol.for("v-scx"),A_=()=>pt(P_),$p="3.3.8",R_="http://www.w3.org/2000/svg",rr=typeof document<"u"?document:null,Wu=rr&&rr.createElement("template"),$_={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 s=t?rr.createElementNS(R_,e):rr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>rr.createTextNode(e),createComment:e=>rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Wu.innerHTML=r?`<svg>${e}</svg>`:e;const a=Wu.content;if(r){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]}},Tn="transition",ys="animation",Zr=Symbol("_vtc"),sa=(e,{slots:t})=>Je(Uy,Op(e),t);sa.displayName="Transition";const Np={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},N_=sa.props=Ze({},ip,Np),Yn=(e,t=[])=>{ge(e)?e.forEach(n=>n(...t)):e&&e(...t)},Gu=e=>e?ge(e)?e.some(t=>t.length>1):e.length>1:!1;function Op(e){const t={};for(const x in e)x in Np||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=O_(s),g=h&&h[0],b=h&&h[1],{onBeforeEnter:S,onEnter:_,onEnterCancelled:y,onLeave:v,onLeaveCancelled:E,onBeforeAppear:m=S,onAppear:k=_,onAppearCancelled:T=y}=t,w=(x,P,R)=>{Pn(x,P?u:a),Pn(x,P?c:i),R&&R()},C=(x,P)=>{x._isLeaving=!1,Pn(x,f),Pn(x,p),Pn(x,d),P&&P()},A=x=>(P,R)=>{const L=x?k:_,I=()=>w(P,x,R);Yn(L,[P,I]),qu(()=>{Pn(P,x?l:o),cn(P,x?u:a),Gu(L)||Ku(P,r,g,I)})};return Ze(t,{onBeforeEnter(x){Yn(S,[x]),cn(x,o),cn(x,i)},onBeforeAppear(x){Yn(m,[x]),cn(x,l),cn(x,c)},onEnter:A(!1),onAppear:A(!0),onLeave(x,P){x._isLeaving=!0;const R=()=>C(x,P);cn(x,f),Lp(),cn(x,d),qu(()=>{x._isLeaving&&(Pn(x,f),cn(x,p),Gu(v)||Ku(x,r,b,R))}),Yn(v,[x,R])},onEnterCancelled(x){w(x,!1),Yn(y,[x])},onAppearCancelled(x){w(x,!0),Yn(T,[x])},onLeaveCancelled(x){C(x),Yn(E,[x])}})}function O_(e){if(e==null)return null;if(ze(e))return[Oa(e.enter),Oa(e.leave)];{const t=Oa(e);return[t,t]}}function Oa(e){return Ah(e)}function cn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zr]||(e[Zr]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Zr];n&&(n.delete(t),n.size||(e[Zr]=void 0))}function qu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let I_=0;function Ku(e,t,n,r){const s=e._endId=++I_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ip(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Ip(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Tn}Delay`),o=r(`${Tn}Duration`),i=Xu(s,o),a=r(`${ys}Delay`),l=r(`${ys}Duration`),c=Xu(a,l);let u=null,f=0,d=0;t===Tn?i>0&&(u=Tn,f=i,d=o.length):t===ys?c>0&&(u=ys,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Tn:ys:null,d=u?u===Tn?o.length:l.length:0);const p=u===Tn&&/\b(transform|all)(,|$)/.test(r(`${Tn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Xu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Yu(n)+Yu(e[r])))}function Yu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Lp(){return document.body.offsetHeight}function L_(e,t,n){const r=e[Zr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Dc=Symbol("_vod"),Sl={beforeMount(e,{value:t},{transition:n}){e[Dc]=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[Dc]:"none"}function M_(e,t,n){const r=e.style,s=Ve(n);if(n&&!s){if(t&&!Ve(t))for(const o in t)n[o]==null&&El(r,o,"");for(const o in n)El(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),Dc in e&&(r.display=o)}}const Ju=/\s*!important$/;function El(e,t,n){if(ge(n))n.forEach(r=>El(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=D_(e,t);Ju.test(n)?e.setProperty(Sr(r),n.replace(Ju,""),"important"):e[r]=n}}const Zu=["Webkit","Moz","ms"],Ia={};function D_(e,t){const n=Ia[t];if(n)return n;let r=rn(t);if(r!=="filter"&&r in e)return Ia[t]=r;r=qi(r);for(let s=0;s<Zu.length;s++){const o=Zu[s]+r;if(o in e)return Ia[t]=o}return t}const Qu="http://www.w3.org/1999/xlink";function F_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Qu,t.slice(6,t.length)):e.setAttributeNS(Qu,t,n);else{const o=zv(t);n==null||o&&!Rh(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function B_(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Rh(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function pn(e,t,n,r){e.addEventListener(t,n,r)}function j_(e,t,n,r){e.removeEventListener(t,n,r)}const ef=Symbol("_vei");function z_(e,t,n,r,s=null){const o=e[ef]||(e[ef]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=H_(t);if(r){const c=o[t]=W_(r,s);pn(e,a,c,l)}else i&&(j_(e,a,i,l),o[t]=void 0)}}const tf=/(?:Once|Passive|Capture)$/;function H_(e){let t;if(tf.test(e)){t={};let r;for(;r=e.match(tf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Sr(e.slice(2)),t]}let La=0;const U_=Promise.resolve(),V_=()=>La||(U_.then(()=>La=0),La=Date.now());function W_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Nt(G_(r,n.value),t,5,[r])};return n.value=e,n.attached=V_(),n}function G_(e,t){if(ge(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const nf=/^on[a-z]/,q_=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?L_(e,r,s):t==="style"?M_(e,n,r):Co(t)?cc(t)||z_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):K_(e,t,r,s))?B_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),F_(e,t,r,s))};function K_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&nf.test(t)&&_e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nf.test(t)&&Ve(n)?!1:t in e}const Mp=new WeakMap,Dp=new WeakMap,Ti=Symbol("_moveCb"),rf=Symbol("_enterCb"),Fp={name:"TransitionGroup",props:Ze({},N_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=on(),r=op();let s,o;return $c(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!eb(s[0].el,n.vnode.el,i))return;s.forEach(J_),s.forEach(Z_);const a=s.filter(Q_);Lp(),a.forEach(l=>{const c=l.el,u=c.style;cn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Ti]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Ti]=null,Pn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Re(e),a=Op(i);let l=i.tag||Le;s=o,o=t.default?Rc(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&qr(u,po(u,a,r,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];qr(u,po(u,a,r,n)),Mp.set(u,u.el.getBoundingClientRect())}return Z(l,null,o)}}},X_=e=>delete e.mode;Fp.props;const Y_=Fp;function J_(e){const t=e.el;t[Ti]&&t[Ti](),t[rf]&&t[rf]()}function Z_(e){Dp.set(e,e.el.getBoundingClientRect())}function Q_(e){const t=Mp.get(e),n=Dp.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function eb(e,t,n){const r=e.cloneNode(),s=e[Zr];s&&s.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 o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Ip(r);return o.removeChild(r),i}const Wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ge(t)?n=>Mr(t,n):t};function tb(e){e.target.composing=!0}function sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ot=Symbol("_assign"),of={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ot]=Wn(s);const o=r||s.props&&s.props.type==="number";pn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=vi(a)),e[Ot](a)}),n&&pn(e,"change",()=>{e.value=e.value.trim()}),t||(pn(e,"compositionstart",tb),pn(e,"compositionend",sf),pn(e,"change",sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[Ot]=Wn(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&vi(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},nb={deep:!0,created(e,t,n){e[Ot]=Wn(n),pn(e,"change",()=>{const r=e._modelValue,s=Qr(e),o=e.checked,i=e[Ot];if(ge(r)){const a=pc(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(ns(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Bp(e,o))})},mounted:af,beforeUpdate(e,t,n){e[Ot]=Wn(n),af(e,t,n)}};function af(e,{value:t,oldValue:n},r){e._modelValue=t,ge(t)?e.checked=pc(t,r.props.value)>-1:ns(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=mr(t,Bp(e,!0)))}const rb={created(e,{value:t},n){e.checked=mr(t,n.props.value),e[Ot]=Wn(n),pn(e,"change",()=>{e[Ot](Qr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ot]=Wn(r),t!==n&&(e.checked=mr(t,r.props.value))}},sb={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ns(t);pn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?vi(Qr(i)):Qr(i));e[Ot](e.multiple?s?new Set(o):o:o[0])}),e[Ot]=Wn(r)},mounted(e,{value:t}){lf(e,t)},beforeUpdate(e,t,n){e[Ot]=Wn(n)},updated(e,{value:t}){lf(e,t)}};function lf(e,t){const n=e.multiple;if(!(n&&!ge(t)&&!ns(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Qr(o);if(n)ge(t)?o.selected=pc(t,i)>-1:o.selected=t.has(i);else if(mr(Qr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qr(e){return"_value"in e?e._value:e.value}function Bp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ob={created(e,t,n){Wo(e,t,n,null,"created")},mounted(e,t,n){Wo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Wo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Wo(e,t,n,r,"updated")}};function ib(e,t){switch(e){case"SELECT":return sb;case"TEXTAREA":return of;default:switch(t){case"checkbox":return nb;case"radio":return rb;default:return of}}}function Wo(e,t,n,r,s){const i=ib(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const ab=["ctrl","shift","alt","meta"],lb={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)=>ab.some(n=>e[`${n}Key`]&&!t.includes(n))},cb=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=lb[t[s]];if(o&&o(n,t))return}return e(n,...r)},ub={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},jp=(e,t)=>n=>{if(!("key"in n))return;const r=Sr(n.key);if(t.some(s=>s===r||ub[s]===r))return e(n)},zp=Ze({patchProp:q_},$_);let Qs,cf=!1;function fb(){return Qs||(Qs=d_(zp))}function db(){return Qs=cf?Qs:h_(zp),cf=!0,Qs}const Hp=(...e)=>{const t=fb().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Up(r);if(!s)return;const o=t._component;!_e(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},hb=(...e)=>{const t=db().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Up(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Up(e){return Ve(e)?document.querySelector(e):e}const pb=/#/g,mb=/&/g,gb=/=/g,Fc=/\+/g,vb=/%5e/gi,yb=/%60/gi,_b=/%7c/gi,bb=/%20/gi;function wb(e){return encodeURI(""+e).replace(_b,"|")}function xl(e){return wb(typeof e=="string"?e:JSON.stringify(e)).replace(Fc,"%2B").replace(bb,"+").replace(pb,"%23").replace(mb,"%26").replace(yb,"`").replace(vb,"^")}function Ma(e){return xl(e).replace(gb,"%3D")}function Ci(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Sb(e){return Ci(e.replace(Fc," "))}function Eb(e){return Ci(e.replace(Fc," "))}function Vp(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Sb(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Eb(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function xb(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ma(e)}=${xl(n)}`).join("&"):`${Ma(e)}=${xl(t)}`:Ma(e)}function Tb(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>xb(t,e[t])).filter(Boolean).join("&")}const Cb=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,kb=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Pb=/^([/\\]\s*){2,}[^/\\]/;function cs(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cb.test(e):kb.test(e)||(t.acceptRelative?Pb.test(e):!1)}const Ab=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Rb(e){return!!e&&Ab.test(e)}const $b=/\/$|\/\?/;function Tl(e="",t=!1){return t?$b.test(e):e.endsWith("/")}function Bc(e="",t=!1){if(!t)return(Tl(e)?e.slice(0,-1):e)||"/";if(!Tl(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function ki(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Tl(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function Nb(e=""){return e.startsWith("/")}function uf(e=""){return Nb(e)?e:"/"+e}function Ob(e,t){if(Gp(t)||cs(e))return e;const n=Bc(t);return e.startsWith(n)?e:us(n,e)}function ff(e,t){if(Gp(t))return e;const n=Bc(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Wp(e,t){const n=Po(e),r={...Vp(n.search),...t};return n.search=Tb(r),Db(n)}function Gp(e){return!e||e==="/"}function Ib(e){return e&&e!=="/"}const Lb=/^\.?\//;function us(e,...t){let n=e||"";for(const r of t.filter(s=>Ib(s)))if(n){const s=r.replace(Lb,"");n=ki(n)+s}else n=r;return n}function Mb(e,t,n={}){return n.trailingSlash||(e=ki(e),t=ki(t)),n.leadingSlash||(e=uf(e),t=uf(t)),n.encoding||(e=Ci(e),t=Ci(t)),e===t}function Po(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!cs(e,{acceptRelative:!0}))return t?Po(t+e):df(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=df(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u}}function df(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Db(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol?e.protocol+"//":"")+s+o+t+n+r}const Fb=()=>window?.__NUXT__?.config||{},Pi=Fb().app,Bb=()=>Pi.baseURL,jb=()=>Pi.buildAssetsDir,jc=(...e)=>us(qp(),jb(),...e),qp=(...e)=>{const t=Pi.cdnURL||Pi.baseURL;return e.length?us(t,...e):t};globalThis.__buildAssetsURL=jc,globalThis.__publicAssetsURL=qp;const zb=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Hb=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ub=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Vb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Wb(e);return}return t}function Wb(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ai(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Ub.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(zb.test(e)||Hb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Vb)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class Gb extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function qb(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Gb(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const Kb=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function hf(e="GET"){return Kb.has(e.toUpperCase())}function Xb(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Yb=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Jb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Zb(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Jb.test(t)?"json":Yb.has(t)||t.startsWith("text/")?"text":"blob"}function Qb(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[s,o]of new n(e?.headers||{}))r.headers.set(s,o)}return r}const e0=new Set([408,409,425,429,500,502,503,504]),t0=new Set([101,204,205,304]);function Kp(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=hf(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):e0.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),o(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const c=qb(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:Qb(c,e.defaults,n),response:void 0,error:void 0};if(u.options.method=u.options.method?.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Ob(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Wp(u.request,{...u.options.params,...u.options.query}))),u.options.body&&hf(u.options.method)&&(Xb(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const d=new r;setTimeout(()=>d.abort(),u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}if(u.response.body&&!t0.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||Zb(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),h=u.options.parseResponse||Ai;u.response._data=h(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[d]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>Kp({...e,defaults:{...e.defaults,...a}}),i}const zc=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),n0=zc.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),r0=zc.Headers,s0=zc.AbortController,o0=Kp({fetch:n0,Headers:r0,AbortController:s0}),i0=o0;globalThis.$fetch||(globalThis.$fetch=i0.create({baseURL:Bb()}));function Cl(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Cl(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const a0={run:e=>e()},l0=()=>a0,Xp=typeof console.createTask<"u"?console.createTask:l0;function c0(e,t){const n=t.shift(),r=Xp(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function u0(e,t){const n=t.shift(),r=Xp(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Da(e,t){for(const n of[...e])n(t)}class f0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Cl(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Cl(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(c0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(u0,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Da(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Da(this._after,s)}):(this._after&&s&&Da(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Yp(){return new f0}function d0(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;kl.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{kl.delete(c)}}}}function h0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=d0({...e,...r})),t[n],t[n]}}}const Ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},pf="__unctx__",p0=Ri[pf]||(Ri[pf]=h0()),m0=(e,t={})=>p0.get(e,t),mf="__unctx_async_handlers__",kl=Ri[mf]||(Ri[mf]=new Set);function yo(e){const t=[];for(const s of kl){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Jp=m0("nuxt-app",{asyncContext:!1}),g0="__nuxt_plugin";function v0(e){let t=0;const n={_scope:Uv(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.1"},get vue(){return n.vueApp.version}},payload:gt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>b0(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Yp(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Go(n,i,o),Go(n.vueApp.config.globalProperties,i,o)},Go(n.vueApp,"$nuxt",n),Go(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Me;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=gt(n.payload.config);return n.provide("config",r),n}async function y0(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function _0(e,t){const n=[],r=[];for(const s of t){const o=y0(e,s);s.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function It(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[g0]:!0}))}function b0(e,t,n){const r=()=>n?t(...n):t();return Jp.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Me(){let e;if(gp()&&(e=on()?.appContext.app.$nuxt),e=e||Jp.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function oa(){return Me().$config}function Go(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const w0="modulepreload",S0=function(e,t){return e[0]==="."?new URL(e,t).href:e},gf={},E0=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=S0(o,r),o in gf)return;gf[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":w0,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},we=(...e)=>E0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),x0=-1,T0=-2,C0=-3,k0=-4,P0=-5,A0=-6;function R0(e,t){return $0(JSON.parse(e),t)}function $0(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===x0)return;if(o===C0)return NaN;if(o===k0)return 1/0;if(o===P0)return-1/0;if(o===A0)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let p=1;p<a.length;p+=1)u.add(s(a[p]));break;case"Map":const f=new Map;r[o]=f;for(let p=1;p<a.length;p+=2)f.set(s(a[p]),s(a[p+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let p=1;p<a.length;p+=2)d[a[p]]=s(a[p+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==T0&&(l[c]=s(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=s(u)}}return r[o]}return s(0)}function N0(e){return Array.isArray(e)?e:[e]}const O0=["title","titleTemplate","script","style","noscript"],ci=["base","meta","link","style","script","noscript"],I0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],L0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Zp=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],M0=typeof window<"u";function Hc(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function vf(e){return e._h||Hc(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Qp(e,t){const{props:n,tag:r}=e;if(L0.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function yf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function D0(e,t,n){const r={tag:e,props:await em(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Zp.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent"].includes(s)||O0.includes(r.tag))&&(r[s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function F0(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function em(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=F0(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Zp.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const B0=10;async function j0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&I0.includes(n)).forEach(([n,r])=>{const s=N0(r);t.push(...s.map(o=>D0(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<B0)+r,n))}const _f={base:-10,title:10},bf={critical:-80,high:-10,low:20};function $i(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in _f&&(t=_f[e.tag]),typeof n=="string"&&n in bf?t+bf[n]:t)}const z0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],tm=["onload","onerror","onabort","onprogress","onloadstart"],Cn="%separator";function ui(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,c)=>l&&l[c]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),e.includes(Cn)&&(e.endsWith(Cn)&&(e=e.slice(0,-Cn.length).trim()),e.startsWith(Cn)&&(e=e.slice(Cn.length).trim()),e=e.replace(new RegExp(`\\${Cn}\\s*\\${Cn}`,"g"),Cn),e=ui(e,{separator:n},n)),e}async function H0(e){const t={tag:e.tagName.toLowerCase(),props:await em(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=Qp(t),t}async function nm(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(u=>({tag:u,id:ci.includes(u.tag)?vf(u):u.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const u of["body","head"]){const f=n?.[u]?.children;for(const d of[...f].filter(p=>ci.includes(p.tagName.toLowerCase())))o.elMap[d.getAttribute("data-hid")||vf(await H0(d))]=d}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(u,f,d){const p=`${u}:${f}`;o.sideEffects[p]=d,delete o.pendingSideEffects[p]}function a({id:u,$el:f,tag:d}){const p=d.tag.endsWith("Attrs");o.elMap[u]=f,p||(["textContent","innerHTML"].forEach(h=>{d[h]&&d[h]!==f[h]&&(f[h]=d[h])}),i(u,"el",()=>{o.elMap[u].remove(),delete o.elMap[u]})),Object.entries(d.props).forEach(([h,g])=>{const b=`attr:${h}`;if(h==="class")for(const S of(g||"").split(" ").filter(Boolean))p&&i(u,`${b}:${S}`,()=>f.classList.remove(S)),!f.classList.contains(S)&&f.classList.add(S);else f.getAttribute(h)!==g&&f.setAttribute(h,g===!0?"":String(g)),p&&i(u,b,()=>f.removeAttribute(h))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of s){const{tag:f,shouldRender:d,id:p}=u;if(d){if(f.tag==="title"){n.title=f.textContent;continue}u.$el=u.$el||o.elMap[p],u.$el?a(u):ci.includes(f.tag)&&l.push(u)}}for(const u of l){const f=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),a(u),c[f]=c[f]||n.createDocumentFragment(),c[f].appendChild(u.$el)}for(const u of s)await e.hooks.callHook("dom:renderTag",u,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(o.pendingSideEffects).forEach(u=>u()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function U0(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await nm(e,t),delete e._domUpdatePromise,r()}))}function V0(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){U0(r,e)}}}}}const W0=["templateParams","htmlAttrs","bodyAttrs"],G0={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Qp(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r?.tagDuplicateStrategy;if(!a&&W0.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),t[s].props={...l,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if($i(r)>$i(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(ci.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},q0={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},K0=["script","link","bodyAttrs"];function X0(e){const t={},n={};return Object.entries(e.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"?(tm.includes(r)&&(t[r]=`this.dataset.${r} = true`),n[r]=s):t[r]=s}),{props:t,eventHandlers:n}}const Y0=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(K0.includes(n.tag)){const{props:r,eventHandlers:s}=X0(n);n.props=r,Object.keys(s).length&&((n.props.src||n.props.href)&&(n.key=n.key||Hc(n.props.src||n.props.href)),n._eventHandlers=s)}},"dom:renderTag":function(t,n,r){if(!t.tag._eventHandlers)return;const s=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([o,i])=>{const a=`${t.tag._d||t.tag._p}:${o}`,l=o.slice(2).toLowerCase(),c=`data-h-${l}`;if(r(t.id,a,()=>{}),t.$el.hasAttribute(c))return;t.$el.setAttribute(c,"");let u;const f=d=>{i(d),u?.disconnect()};o in t.$el.dataset?f(new Event(o.replace("on",""))):tm.includes(o)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(h=>h.attributeName===`data-${o}`)&&(f(new Event(o.replace("on",""))),u?.disconnect())}),u.observe(t.$el,{attributes:!0})):s.addEventListener(l,f),r(t.id,a,()=>{u?.disconnect(),s.removeEventListener(l,f),t.$el.removeAttribute(c)})})}}}),J0=["link","style","script","noscript"],Z0={hooks:{"tag:normalise":({tag:e})=>{e.key&&J0.includes(e.tag)&&(e.props["data-hid"]=e._h=Hc(e.key))}}},Q0={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of z0)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>$i(n)-$i(r))}}},ew={meta:"content",link:"href",htmlAttrs:"lang"},tw=e=>({hooks:{"tags:resolve":t=>{const{tags:n}=t,r=n.find(a=>a.tag==="title")?.textContent,s=n.findIndex(a=>a.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=ui(o.pageTitle||r||"",o,i);for(const a of n.filter(l=>l.processTemplateParams!==!1)){const l=ew[a.tag];l&&typeof a.props[l]=="string"?a.props[l]=ui(a.props[l],o,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(c=>{typeof a[c]=="string"&&(a[c]=ui(a[c],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),nw={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=yf(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=yf(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let rm;function rw(e={}){const t=sw(e);return t.use(V0()),rm=t}function wf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function sw(e={}){const t=Yp();t.addHooks(e.hooks||{}),e.document=e.document||(M0?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),wf(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const u={_i:s++,input:l,...c};return wf(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await j0(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),l.tags},ssr:n};return[G0,q0,Y0,Z0,Q0,tw,nw,...e?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function ow(){return rm}const iw=$p.startsWith("3");function aw(e){return typeof e=="function"?e():z(e)}function Ni(e,t=""){if(e instanceof Promise)return e;const n=aw(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ni(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,z(s)]:[r,Ni(s,r)])):n}const lw={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ni(t.input)}}},sm="usehead";function cw(e){return{install(n){iw&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(sm,e))}}.install}function uw(e={}){e.domDelayFn=e.domDelayFn||(n=>kt(()=>setTimeout(()=>n(),0)));const t=rw(e);return t.use(lw),t.install=cw(t),t}const Pl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Al="__unhead_injection_handler__";function fw(e){Pl[Al]=e}function dw(){if(Al in Pl)return Pl[Al]();const e=pt(sm);return e||ow()}function hw(e,t={}){const n=t.head||dw();if(n)return n.ssr?n.push(e,t):pw(n,e,t)}function pw(e,t,n={}){const r=K(!1),s=K({});Gr(()=>{s.value=r.value?{}:Ni(t)});const o=e.push(s.value,n);return Be(s,a=>{o.patch(a)}),on()&&(ls(()=>{o.dispose()}),cp(()=>{r.value=!0}),lp(()=>{r.value=!1})),o}function mw(e){return{ctx:{table:e},matchAll:t=>im(t,e)}}function om(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,om(s)])):new Map(Object.entries(e[n]));return t}function gw(e){return mw(om(e))}function im(e,t){const n=[];for(const[s,o]of Sf(t.wildcard))e.startsWith(s)&&n.push(o);for(const[s,o]of Sf(t.dynamic))if(e.startsWith(s+"/")){const i="/"+e.slice(s.length).split("/").splice(2).join("/");n.push(...im(i,o))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function Sf(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Rl(e,t,n=".",r){if(!Fa(t))return Rl(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Fa(i)&&Fa(s[o])?s[o]=Rl(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Fa(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function am(e){return(...t)=>t.reduce((n,r)=>Rl(n,r,"",e),{})}const lm=am(),vw=am((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function yw(e,t){try{return t in e}catch{return!1}}var _w=Object.defineProperty,bw=(e,t,n)=>t in e?_w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,er=(e,t,n)=>(bw(e,typeof t!="symbol"?t+"":t,n),n);class $l extends Error{constructor(t,n={}){super(t,n),er(this,"statusCode",500),er(this,"fatal",!1),er(this,"unhandled",!1),er(this,"statusMessage"),er(this,"data"),er(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ol(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=cm(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}er($l,"__h3_error__",!0);function Nl(e){if(typeof e=="string")return new $l(e);if(ww(e))return e;const t=new $l(e.message??e.statusMessage??"",{cause:e.cause||e});if(yw(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ol(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ol(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;cm(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function ww(e){return e?.constructor?.__h3_error__===!0}const Sw=/[^\u0009\u0020-\u007E]/g;function cm(e=""){return e.replace(Sw,"")}function Ol(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const um=Symbol("layout-meta"),Ao=Symbol("route"),ia=()=>Yi(Me().payload,"error"),Or=e=>{const t=aa(e);try{const n=Me(),r=ia();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Ew=async(e={})=>{const t=Me(),n=ia();t.callHook("app:error:cleared",e),e.redirect&&await ot().replace(e.redirect),n.value=null},xw=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),aa=e=>{const t=Nl(e);return t.__nuxt_error=!0,t},ot=()=>Me()?.$router,fs=()=>gp()?pt(Ao,Me()._route):Me()._route;/*! @__NO_SIDE_EFFECTS__ */const Tw=()=>{try{if(Me()._processingMiddleware)return!0}catch{return!0}return!1},Il=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wp(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=t?.external||cs(n,{acceptRelative:!0});if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Po(n).protocol;if(a&&Rb(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=Tw();if(!r&&s)return e;const o=ot(),i=Me();return r?(i._scope.stop(),t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},Cw={fixture1:"from app.config.ts"},kw={fixture2:"from nuxt.config.ts",nuxt:{buildId:"10bb1edc-fde3-4c52-91c9-404c411ae86d"}},Pw=vw(Cw,kw);function Aw(){const e=Me();return e._appConfig||(e._appConfig=gt(Pw)),e._appConfig}const Rw=!1,Ll=!1,$w=!1,Nw={componentName:"NuxtLink"},Ow={deep:!0},Iw={},Lw="#__nuxt";let fi,fm;function Mw(){const e=Aw().nuxt?.buildId;return fi=$fetch(jc(`builds/meta/${e}.json`)),fi.then(t=>{fm=gw(t.matcher)}),fi}function la(){return fi||Mw()}async function dm(e){return await la(),lm({},...fm.matchAll(e).reverse())}function Ef(e,t={}){const n=Dw(e,t),r=Me(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=Fw(e).then(o=>o?hm(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const xf="json";function Dw(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||cs(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return us(oa().app.baseURL,n.pathname,r?`_payload.${r}.${xf}`:`_payload.${xf}`)}async function hm(e){const t=fetch(e).then(n=>n.text().then(pm));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Fw(e=fs().path){if((await la()).prerendered.includes(e))return!0;const n=await dm(e);return!!n.prerender&&!n.redirect}let qo=null;async function Bw(){if(qo)return qo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=pm(e.textContent||""),n=e.dataset.src?await hm(e.dataset.src):void 0;return qo={...t,...n,...window.__NUXT__},qo}function pm(e){return R0(e,Me()._payloadRevivers)}function jw(e,t){Me()._payloadRevivers[e]=t}const Tf={NuxtError:e=>aa(e),EmptyShallowRef:e=>Ht(e==="_"?void 0:e==="0n"?BigInt(0):Ai(e)),EmptyRef:e=>K(e==="_"?void 0:e==="0n"?BigInt(0):Ai(e)),ShallowRef:e=>Ht(e),ShallowReactive:e=>is(e),Ref:e=>K(e),Reactive:e=>gt(e)},zw=It({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Tf)jw(r,Tf[r]);Object.assign(e.payload,([t,n]=yo(()=>e.runWithContext(Bw)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Hw=[],Uw=It({name:"nuxt:head",enforce:"pre",setup(e){const t=uw({plugins:Hw});fw(()=>Me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await nm(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
1
+ function lc(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Ue={},Lr=[],jt=()=>{},Av=()=>!1,Rv=/^on[^a-z]/,ko=e=>Rv.test(e),cc=e=>e.startsWith("onUpdate:"),Ze=Object.assign,uc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$v=Object.prototype.hasOwnProperty,Ne=(e,t)=>$v.call(e,t),ge=Array.isArray,Mr=e=>ss(e)==="[object Map]",rs=e=>ss(e)==="[object Set]",_u=e=>ss(e)==="[object Date]",Nv=e=>ss(e)==="[object RegExp]",_e=e=>typeof e=="function",Ve=e=>typeof e=="string",Wr=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",fc=e=>(ze(e)||_e(e))&&_e(e.then)&&_e(e.catch),kh=Object.prototype.toString,ss=e=>kh.call(e),Ov=e=>ss(e).slice(8,-1),Ph=e=>ss(e)==="[object Object]",dc=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xs=lc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Iv=/-(\w)/g,rn=Gi(e=>e.replace(Iv,(t,n)=>n?n.toUpperCase():"")),Lv=/\B([A-Z])/g,Sr=Gi(e=>e.replace(Lv,"-$1").toLowerCase()),qi=Gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),li=Gi(e=>e?`on${qi(e)}`:""),pr=(e,t)=>!Object.is(e,t),Dr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},gi=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},vi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ah=e=>{const t=Ve(e)?Number(e):NaN;return isNaN(t)?e:t};let bu;const cl=()=>bu||(bu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function en(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ve(r)?Bv(r):en(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ve(e)||ze(e))return e}const Mv=/;(?![^(]*\))/g,Dv=/:([^]+)/,Fv=/\/\*[^]*?\*\//g;function Bv(e){const t={};return e.replace(Fv,"").split(Mv).forEach(n=>{if(n){const r=n.split(Dv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function qe(e){let t="";if(Ve(e))t=e;else if(ge(e))for(let n=0;n<e.length;n++){const r=qe(e[n]);r&&(t+=r+" ")}else if(ze(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function hc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ve(t)&&(e.class=qe(t)),n&&(e.style=en(n)),e}const jv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zv=lc(jv);function Rh(e){return!!e||e===""}function Hv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=mr(e[r],t[r]);return n}function mr(e,t){if(e===t)return!0;let n=_u(e),r=_u(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Wr(e),r=Wr(t),n||r)return e===t;if(n=ge(e),r=ge(t),n||r)return n&&r?Hv(e,t):!1;if(n=ze(e),r=ze(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!mr(e[i],t[i]))return!1}}return String(e)===String(t)}function pc(e,t){return e.findIndex(n=>mr(n,t))}const dt=e=>Ve(e)?e:e==null?"":ge(e)||ze(e)&&(e.toString===kh||!_e(e.toString))?JSON.stringify(e,$h,2):String(e),$h=(e,t)=>t&&t.__v_isRef?$h(e,t.value):Mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:rs(t)?{[`Set(${t.size})`]:[...t.values()]}:ze(t)&&!ge(t)&&!Ph(t)?String(t):t;let Tt;class Nh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Tt,!t&&Tt&&(this.index=(Tt.scopes||(Tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Tt;try{return Tt=this,t()}finally{Tt=n}}}on(){Tt=this}off(){Tt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Uv(e){return new Nh(e)}function Vv(e,t=Tt){t&&t.active&&t.effects.push(e)}function Oh(){return Tt}function Wv(e){Tt&&Tt.cleanups.push(e)}const mc=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ih=e=>(e.w&Hn)>0,Lh=e=>(e.n&Hn)>0,Gv=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Hn},qv=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Ih(s)&&!Lh(s)?s.delete(e):t[n++]=s,s.w&=~Hn,s.n&=~Hn}t.length=n}},yi=new WeakMap;let Gs=0,Hn=1;const ul=30;let Dt;const fr=Symbol(""),fl=Symbol("");class gc{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Vv(this,r)}run(){if(!this.active)return this.fn();let t=Dt,n=Mn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Dt,Dt=this,Mn=!0,Hn=1<<++Gs,Gs<=ul?Gv(this):wu(this),this.fn()}finally{Gs<=ul&&qv(this),Hn=1<<--Gs,Dt=this.parent,Mn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Dt===this?this.deferStop=!0:this.active&&(wu(this),this.onStop&&this.onStop(),this.active=!1)}}function wu(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Mn=!0;const Mh=[];function os(){Mh.push(Mn),Mn=!1}function is(){const e=Mh.pop();Mn=e===void 0?!0:e}function St(e,t,n){if(Mn&&Dt){let r=yi.get(e);r||yi.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=mc()),Dh(s)}}function Dh(e,t){let n=!1;Gs<=ul?Lh(e)||(e.n|=Hn,n=!Ih(e)):n=!e.has(Dt),n&&(e.add(Dt),Dt.deps.push(e))}function mn(e,t,n,r,s,o){const i=yi.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ge(e)){const l=Number(r);i.forEach((c,u)=>{(u==="length"||!Wr(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ge(e)?dc(n)&&a.push(i.get("length")):(a.push(i.get(fr)),Mr(e)&&a.push(i.get(fl)));break;case"delete":ge(e)||(a.push(i.get(fr)),Mr(e)&&a.push(i.get(fl)));break;case"set":Mr(e)&&a.push(i.get(fr));break}if(a.length===1)a[0]&&dl(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);dl(mc(l))}}function dl(e,t){const n=ge(e)?e:[...e];for(const r of n)r.computed&&Su(r);for(const r of n)r.computed||Su(r)}function Su(e,t){(e!==Dt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Kv(e,t){var n;return(n=yi.get(e))==null?void 0:n.get(t)}const Xv=lc("__proto__,__v_isRef,__isVue"),Fh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wr)),Eu=Yv();function Yv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Re(this);for(let o=0,i=this.length;o<i;o++)St(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Re)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){os();const r=Re(this)[t].apply(this,n);return is(),r}}),e}function Jv(e){const t=Re(this);return St(t,"has",e),t.hasOwnProperty(e)}class Bh{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(s?o?uy:Uh:o?Hh:zh).get(t))return t;const i=ge(t);if(!s){if(i&&Ne(Eu,n))return Reflect.get(Eu,n,r);if(n==="hasOwnProperty")return Jv}const a=Reflect.get(t,n,r);return(Wr(n)?Fh.has(n):Xv(n))||(s||St(t,"get",n),o)?a:Fe(a)?i&&dc(n)?a:a.value:ze(a)?s?Er(a):gt(a):a}}class jh extends Bh{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(gr(o)&&Fe(o)&&!Fe(r))return!1;if(!this._shallow&&(!_i(r)&&!gr(r)&&(o=Re(o),r=Re(r)),!ge(t)&&Fe(o)&&!Fe(r)))return o.value=r,!0;const i=ge(t)&&dc(n)?Number(n)<t.length:Ne(t,n),a=Reflect.set(t,n,r,s);return t===Re(s)&&(i?pr(r,o)&&mn(t,"set",n,r):mn(t,"add",n,r)),a}deleteProperty(t,n){const r=Ne(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&mn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Wr(n)||!Fh.has(n))&&St(t,"has",n),r}ownKeys(t){return St(t,"iterate",ge(t)?"length":fr),Reflect.ownKeys(t)}}class Zv extends Bh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qv=new jh,ey=new Zv,ty=new jh(!0),vc=e=>e,Ki=e=>Reflect.getPrototypeOf(e);function Mo(e,t,n=!1,r=!1){e=e.__v_raw;const s=Re(e),o=Re(t);n||(pr(t,o)&&St(s,"get",t),St(s,"get",o));const{has:i}=Ki(s),a=r?vc:n?bc:co;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function Do(e,t=!1){const n=this.__v_raw,r=Re(n),s=Re(e);return t||(pr(e,s)&&St(r,"has",e),St(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Fo(e,t=!1){return e=e.__v_raw,!t&&St(Re(e),"iterate",fr),Reflect.get(e,"size",e)}function xu(e){e=Re(e);const t=Re(this);return Ki(t).has.call(t,e)||(t.add(e),mn(t,"add",e,e)),this}function Tu(e,t){t=Re(t);const n=Re(this),{has:r,get:s}=Ki(n);let o=r.call(n,e);o||(e=Re(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?pr(t,i)&&mn(n,"set",e,t):mn(n,"add",e,t),this}function Cu(e){const t=Re(this),{has:n,get:r}=Ki(t);let s=n.call(t,e);s||(e=Re(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&mn(t,"delete",e,void 0),o}function ku(){const e=Re(this),t=e.size!==0,n=e.clear();return t&&mn(e,"clear",void 0,void 0),n}function Bo(e,t){return function(r,s){const o=this,i=o.__v_raw,a=Re(i),l=t?vc:e?bc:co;return!e&&St(a,"iterate",fr),i.forEach((c,u)=>r.call(s,l(c),l(u),o))}}function jo(e,t,n){return function(...r){const s=this.__v_raw,o=Re(s),i=Mr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?vc:t?bc:co;return!t&&St(o,"iterate",l?fl:fr),{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}},[Symbol.iterator](){return this}}}}function En(e){return function(...t){return e==="delete"?!1:this}}function ny(){const e={get(o){return Mo(this,o)},get size(){return Fo(this)},has:Do,add:xu,set:Tu,delete:Cu,clear:ku,forEach:Bo(!1,!1)},t={get(o){return Mo(this,o,!1,!0)},get size(){return Fo(this)},has:Do,add:xu,set:Tu,delete:Cu,clear:ku,forEach:Bo(!1,!0)},n={get(o){return Mo(this,o,!0)},get size(){return Fo(this,!0)},has(o){return Do.call(this,o,!0)},add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear"),forEach:Bo(!0,!1)},r={get(o){return Mo(this,o,!0,!0)},get size(){return Fo(this,!0)},has(o){return Do.call(this,o,!0)},add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear"),forEach:Bo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=jo(o,!1,!1),n[o]=jo(o,!0,!1),t[o]=jo(o,!1,!0),r[o]=jo(o,!0,!0)}),[e,n,t,r]}const[ry,sy,oy,iy]=ny();function yc(e,t){const n=t?e?iy:oy:e?sy:ry;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ne(n,s)&&s in r?n:r,s,o)}const ay={get:yc(!1,!1)},ly={get:yc(!1,!0)},cy={get:yc(!0,!1)},zh=new WeakMap,Hh=new WeakMap,Uh=new WeakMap,uy=new WeakMap;function fy(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dy(e){return e.__v_skip||!Object.isExtensible(e)?0:fy(Ov(e))}function gt(e){return gr(e)?e:_c(e,!1,Qv,ay,zh)}function as(e){return _c(e,!1,ty,ly,Hh)}function Er(e){return _c(e,!0,ey,cy,Uh)}function _c(e,t,n,r,s){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=dy(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Fr(e){return gr(e)?Fr(e.__v_raw):!!(e&&e.__v_isReactive)}function gr(e){return!!(e&&e.__v_isReadonly)}function _i(e){return!!(e&&e.__v_isShallow)}function Vh(e){return Fr(e)||gr(e)}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Wh(e){return gi(e,"__v_skip",!0),e}const co=e=>ze(e)?gt(e):e,bc=e=>ze(e)?Er(e):e;function wc(e){Mn&&Dt&&(e=Re(e),Dh(e.dep||(e.dep=mc())))}function Xi(e,t){e=Re(e);const n=e.dep;n&&dl(n)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function K(e){return Gh(e,!1)}function Ht(e){return Gh(e,!0)}function Gh(e,t){return Fe(e)?e:new hy(e,t)}class hy{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Re(t),this._value=n?t:co(t)}get value(){return wc(this),this._value}set value(t){const n=this.__v_isShallow||_i(t)||gr(t);t=n?t:Re(t),pr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:co(t),Xi(this))}}function qh(e){Xi(e)}function z(e){return Fe(e)?e.value:e}function Sc(e){return _e(e)?e():z(e)}const py={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Fe(s)&&!Fe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Kh(e){return Fr(e)?e:new Proxy(e,py)}class my{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>wc(this),()=>Xi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xh(e){return new my(e)}function gy(e){const t=ge(e)?new Array(e.length):{};for(const n in e)t[n]=Yh(e,n);return t}class vy{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Kv(Re(this._object),this._key)}}class yy{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Yi(e,t,n){return Fe(e)?e:_e(e)?new yy(e):ze(e)&&arguments.length>1?Yh(e,t,n):K(e)}function Yh(e,t,n){const r=e[t];return Fe(r)?r:new vy(e,t,n)}class _y{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new gc(t,()=>{this._dirty||(this._dirty=!0,Xi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Re(this);return wc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function by(e,t,n=!1){let r,s;const o=_e(e);return o?(r=e,s=jt):(r=e.get,s=e.set),new _y(r,s,o||!s,n)}function Dn(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){ls(o,t,n)}return s}function Nt(e,t,n,r){if(_e(e)){const o=Dn(e,t,n,r);return o&&fc(o)&&o.catch(i=>{ls(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Nt(e[o],t,n,r));return s}function ls(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){Dn(l,null,10,[e,i,a]);return}}wy(e,n,s,r)}function wy(e,t,n,r=!0){console.error(e)}let uo=!1,hl=!1;const lt=[];let Jt=0;const Br=[];let un=null,nr=0;const Jh=Promise.resolve();let Ec=null;function kt(e){const t=Ec||Jh;return e?t.then(this?e.bind(this):e):t}function Sy(e){let t=Jt+1,n=lt.length;for(;t<n;){const r=t+n>>>1,s=lt[r],o=fo(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Ji(e){(!lt.length||!lt.includes(e,uo&&e.allowRecurse?Jt+1:Jt))&&(e.id==null?lt.push(e):lt.splice(Sy(e.id),0,e),Zh())}function Zh(){!uo&&!hl&&(hl=!0,Ec=Jh.then(Qh))}function Ey(e){const t=lt.indexOf(e);t>Jt&&lt.splice(t,1)}function pl(e){ge(e)?Br.push(...e):(!un||!un.includes(e,e.allowRecurse?nr+1:nr))&&Br.push(e),Zh()}function Pu(e,t=uo?Jt+1:0){for(;t<lt.length;t++){const n=lt[t];n&&n.pre&&(lt.splice(t,1),t--,n())}}function bi(e){if(Br.length){const t=[...new Set(Br)];if(Br.length=0,un){un.push(...t);return}for(un=t,un.sort((n,r)=>fo(n)-fo(r)),nr=0;nr<un.length;nr++)un[nr]();un=null,nr=0}}const fo=e=>e.id==null?1/0:e.id,xy=(e,t)=>{const n=fo(e)-fo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qh(e){hl=!1,uo=!0,lt.sort(xy);const t=jt;try{for(Jt=0;Jt<lt.length;Jt++){const n=lt[Jt];n&&n.active!==!1&&Dn(n,null,14)}}finally{Jt=0,lt.length=0,bi(),uo=!1,Ec=null,(lt.length||Br.length)&&Qh()}}function Ty(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ue;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||Ue;d&&(s=n.map(p=>Ve(p)?p.trim():p)),f&&(s=n.map(vi))}let a,l=r[a=li(t)]||r[a=li(rn(t))];!l&&o&&(l=r[a=li(Sr(t))]),l&&Nt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Nt(c,e,6,s)}}function ep(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!_e(e)){const l=c=>{const u=ep(c,t,!0);u&&(a=!0,Ze(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ze(e)&&r.set(e,null),null):(ge(o)?o.forEach(l=>i[l]=null):Ze(i,o),ze(e)&&r.set(e,i),i)}function Zi(e,t){return!e||!ko(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Sr(t))||Ne(e,t))}let nt=null,Qi=null;function wi(e){const t=nt;return nt=e,Qi=e&&e.type.__scopeId||null,t}function Cy(e){Qi=e}function ky(){Qi=null}const Py=e=>me;function me(e,t=nt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Hu(-1);const o=wi(t);let i;try{i=e(...s)}finally{wi(o),r._d&&Hu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ka(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e;let b,S;const _=wi(e);try{if(n.shapeFlag&4){const v=s||r;b=At(u.call(v,v,f,o,p,d,h)),S=l}else{const v=t;b=At(v.length>1?v(o,{attrs:l,slots:a,emit:c}):v(o,null)),S=t.props?l:Ry(l)}}catch(v){Qs.length=0,ls(v,e,1),b=Z(mt)}let y=b;if(S&&g!==!1){const v=Object.keys(S),{shapeFlag:E}=y;v.length&&E&7&&(i&&v.some(cc)&&(S=$y(S,i)),y=yn(y,S))}return n.dirs&&(y=yn(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,wi(_),b}function Ay(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Jr(r)){if(r.type!==mt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const Ry=e=>{let t;for(const n in e)(n==="class"||n==="style"||ko(n))&&((t||(t={}))[n]=e[n]);return t},$y=(e,t)=>{const n={};for(const r in e)(!cc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ny(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Au(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!Zi(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Au(r,i,c):!0:!!i;return!1}function Au(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Zi(n,o))return!0}return!1}function xc({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Tc="components",Oy="directives";function vn(e,t){return Cc(Tc,e,!0,t)||e}const tp=Symbol.for("v-ndc");function Gr(e){return Ve(e)?Cc(Tc,e,!1)||e:e||tp}function Iy(e){return Cc(Oy,e)}function Cc(e,t,n=!0,r=!1){const s=nt||Xe;if(s){const o=s.type;if(e===Tc){const a=wl(o,!1);if(a&&(a===t||a===rn(t)||a===qi(rn(t))))return o}const i=Ru(s[e]||o[e],t)||Ru(s.appContext[e],t);return!i&&r?o:i}}function Ru(e,t){return e&&(e[t]||e[rn(t)]||e[qi(rn(t))])}const np=e=>e.__isSuspense,Ly={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?My(t,n,r,s,o,i,a,l,c):Dy(e,t,n,r,s,i,a,l,c)},hydrate:Fy,create:Pc,normalize:By},kc=Ly;function ho(e,t){const n=e.props&&e.props[t];_e(n)&&n()}function My(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Pc(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(ho(e,"onPending"),ho(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),jr(d,e.ssFallback)):d.resolve(!1,!0)}function Dy(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:b,isHydrating:S}=f;if(g)f.pendingBranch=d,Ft(d,g)?(l(g,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():b&&(l(h,p,n,r,s,null,o,i,a),jr(f,p))):(f.pendingId++,S?(f.isHydrating=!1,f.activeBranch=g):c(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),b?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),jr(f,p))):h&&Ft(d,h)?(l(h,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&Ft(d,h))l(h,d,n,r,s,f,o,i,a),jr(f,d);else if(ho(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:y}=f;_>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},_):_===0&&f.fallback(p)}}function Pc(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:b}}=c;let S;const _=jy(e);_&&t?.pendingBranch&&(S=t.pendingId,t.deps++);const y=e.props?Ah(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,m=!1){const{vnode:k,activeBranch:T,pendingBranch:w,pendingId:C,effects:A,parentComponent:x,container:P}=v;let R=!1;if(v.isHydrating)v.isHydrating=!1;else if(!E){R=T&&w.transition&&w.transition.mode==="out-in",R&&(T.transition.afterLeave=()=>{C===v.pendingId&&(d(w,P,F,0),pl(A))});let{anchor:F}=v;T&&(F=h(T),p(T,x,v,!0)),R||d(w,P,F,0)}jr(v,w),v.pendingBranch=null,v.isInFallback=!1;let L=v.parent,I=!1;for(;L;){if(L.pendingBranch){L.effects.push(...A),I=!0;break}L=L.parent}!I&&!R&&pl(A),v.effects=[],_&&t&&t.pendingBranch&&S===t.pendingId&&(t.deps--,t.deps===0&&!m&&t.resolve()),ho(k,"onResolve")},fallback(E){if(!v.pendingBranch)return;const{vnode:m,activeBranch:k,parentComponent:T,container:w,isSVG:C}=v;ho(m,"onFallback");const A=h(k),x=()=>{v.isInFallback&&(f(null,E,w,A,T,null,C,a,l),jr(v,E))},P=E.transition&&E.transition.mode==="out-in";P&&(k.transition.afterLeave=x),v.isInFallback=!0,p(k,T,null,!0),P||x()},move(E,m,k){v.activeBranch&&d(v.activeBranch,E,m,k),v.container=E},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(E,m){const k=!!v.pendingBranch;k&&v.deps++;const T=E.vnode.el;E.asyncDep.catch(w=>{ls(w,E,0)}).then(w=>{if(E.isUnmounted||v.isUnmounted||v.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:C}=E;bl(E,w,!1),T&&(C.el=T);const A=!T&&E.subTree.el;m(E,C,g(T||E.subTree.el),T?null:h(E.subTree),v,i,l),A&&b(A),xc(E,C.el),k&&--v.deps===0&&v.resolve()})},unmount(E,m){v.isUnmounted=!0,v.activeBranch&&p(v.activeBranch,n,E,m),v.pendingBranch&&p(v.pendingBranch,n,E,m)}};return v}function Fy(e,t,n,r,s,o,i,a,l){const c=t.suspense=Pc(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function By(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=$u(r?n.default:n),e.ssFallback=r?$u(n.fallback):Z(mt)}function $u(e){let t;if(_e(e)){const n=Yr&&e._c;n&&(e._d=!1,Q()),e=e(),n&&(e._d=!0,t=Rt,Cp())}return ge(e)&&(e=Ay(e)),e=At(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function rp(e,t){t&&t.pendingBranch?ge(e)?t.effects.push(...e):t.effects.push(e):pl(e)}function jr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,xc(r,s))}function jy(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function qr(e,t){return Ac(e,null,t)}const zo={};function Be(e,t,n){return Ac(e,t,n)}function Ac(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Ue){var a;const l=Oh()===((a=Xe)==null?void 0:a.scope)?Xe:null;let c,u=!1,f=!1;if(Fe(e)?(c=()=>e.value,u=_i(e)):Fr(e)?(c=()=>e,r=!0):ge(e)?(f=!0,u=e.some(v=>Fr(v)||_i(v)),c=()=>e.map(v=>{if(Fe(v))return v.value;if(Fr(v))return ar(v);if(_e(v))return Dn(v,l,2)})):_e(e)?t?c=()=>Dn(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Nt(e,l,3,[p])}:c=jt,t&&r){const v=c;c=()=>ar(v())}let d,p=v=>{d=_.onStop=()=>{Dn(v,l,4)}},h;if(Zr)if(p=jt,t?n&&Nt(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const v=A_();h=v.__watcherHandles||(v.__watcherHandles=[])}else return jt;let g=f?new Array(e.length).fill(zo):zo;const b=()=>{if(_.active)if(t){const v=_.run();(r||u||(f?v.some((E,m)=>pr(E,g[m])):pr(v,g)))&&(d&&d(),Nt(t,l,3,[v,g===zo?void 0:f&&g[0]===zo?[]:g,p]),g=v)}else _.run()};b.allowRecurse=!!t;let S;s==="sync"?S=b:s==="post"?S=()=>st(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),S=()=>Ji(b));const _=new gc(c,S);t?n?b():g=_.run():s==="post"?st(_.run.bind(_),l&&l.suspense):_.run();const y=()=>{_.stop(),l&&l.scope&&uc(l.scope.effects,_)};return h&&h.push(y),y}function zy(e,t,n){const r=this.proxy,s=Ve(e)?e.includes(".")?sp(r,e):()=>r[e]:e.bind(r,r);let o;_e(t)?o=t:(o=t.handler,n=t);const i=Xe;Vn(this);const a=Ac(s,o.bind(r),n);return i?Vn(i):Fn(),a}function sp(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function ar(e,t){if(!ze(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Fe(e))ar(e.value,t);else if(ge(e))for(let n=0;n<e.length;n++)ar(e[n],t);else if(rs(e)||Mr(e))e.forEach(n=>{ar(n,t)});else if(Ph(e))for(const n in e)ar(e[n],t);return e}function po(e,t){const n=nt;if(n===null)return e;const r=ra(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=Ue]=t[o];i&&(_e(i)&&(i={mounted:i,updated:i}),i.deep&&ar(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Yt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(os(),Nt(l,n,8,[e.el,a,e,t]),is())}}const $n=Symbol("_leaveCb"),Ho=Symbol("_enterCb");function op(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Sn(()=>{e.isMounted=!0}),cs(()=>{e.isUnmounting=!0}),e}const Pt=[Function,Array],ip={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pt,onEnter:Pt,onAfterEnter:Pt,onEnterCancelled:Pt,onBeforeLeave:Pt,onLeave:Pt,onAfterLeave:Pt,onLeaveCancelled:Pt,onBeforeAppear:Pt,onAppear:Pt,onAfterAppear:Pt,onAppearCancelled:Pt},Hy={name:"BaseTransition",props:ip,setup(e,{slots:t}){const n=on(),r=op();let s;return()=>{const o=t.default&&Rc(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const g of o)if(g.type!==mt){i=g;break}}const a=Re(e),{mode:l}=a;if(r.isLeaving)return Pa(i);const c=Nu(i);if(!c)return Pa(i);const u=mo(c,a,r,n);Kr(c,u);const f=n.subTree,d=f&&Nu(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();s===void 0?s=g:g!==s&&(s=g,p=!0)}if(d&&d.type!==mt&&(!Ft(c,d)||p)){const g=mo(d,a,r,n);if(Kr(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Pa(i);l==="in-out"&&c.type!==mt&&(g.delayLeave=(b,S,_)=>{const y=ap(r,d);y[String(d.key)]=d,b[$n]=()=>{S(),b[$n]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return i}}},Uy=Hy;function ap(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 mo(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:b,onAfterAppear:S,onAppearCancelled:_}=t,y=String(e.key),v=ap(n,e),E=(T,w)=>{T&&Nt(T,r,9,w)},m=(T,w)=>{const C=w[1];E(T,w),ge(T)?T.every(A=>A.length<=1)&&C():T.length<=1&&C()},k={mode:o,persisted:i,beforeEnter(T){let w=a;if(!n.isMounted)if(s)w=g||a;else return;T[$n]&&T[$n](!0);const C=v[y];C&&Ft(e,C)&&C.el[$n]&&C.el[$n](),E(w,[T])},enter(T){let w=l,C=c,A=u;if(!n.isMounted)if(s)w=b||l,C=S||c,A=_||u;else return;let x=!1;const P=T[Ho]=R=>{x||(x=!0,R?E(A,[T]):E(C,[T]),k.delayedLeave&&k.delayedLeave(),T[Ho]=void 0)};w?m(w,[T,P]):P()},leave(T,w){const C=String(e.key);if(T[Ho]&&T[Ho](!0),n.isUnmounting)return w();E(f,[T]);let A=!1;const x=T[$n]=P=>{A||(A=!0,w(),P?E(h,[T]):E(p,[T]),T[$n]=void 0,v[C]===e&&delete v[C])};v[C]=e,d?m(d,[T,x]):x()},clone(T){return mo(T,t,n,r)}};return k}function Pa(e){if(Po(e))return e=yn(e),e.children=null,e}function Nu(e){return Po(e)?e.children?e.children[0]:void 0:e}function Kr(e,t){e.shapeFlag&6&&e.component?Kr(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 Rc(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Le?(i.patchFlag&128&&s++,r=r.concat(Rc(i.children,t,a))):(t||i.type!==mt)&&r.push(a!=null?yn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ce(e,t){return _e(e)?(()=>Ze({name:e.name},t,{setup:e}))():e}const dr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Si(e){_e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((g,b)=>{a(h,()=>g(f()),()=>b(h),u+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Ce({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Xe;if(c)return()=>Aa(c,p);const h=_=>{l=null,ls(_,p,13,!r)};if(i&&p.suspense||Zr)return d().then(_=>()=>Aa(_,p)).catch(_=>(h(_),()=>r?Z(r,{error:_}):null));const g=K(!1),b=K(),S=K(!!s);return s&&setTimeout(()=>{S.value=!1},s),o!=null&&setTimeout(()=>{if(!g.value&&!b.value){const _=new Error(`Async component timed out after ${o}ms.`);h(_),b.value=_}},o),d().then(()=>{g.value=!0,p.parent&&Po(p.parent.vnode)&&Ji(p.parent.update)}).catch(_=>{h(_),b.value=_}),()=>{if(g.value&&c)return Aa(c,p);if(b.value&&r)return Z(r,{error:b.value});if(n&&!S.value)return Z(n)}}})}function Aa(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Z(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Po=e=>e.type.__isKeepAlive,Vy={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=on(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,y,v,E,m)=>{const k=_.component;c(_,y,v,0,a),l(k.vnode,_,y,v,k,a,E,_.slotScopeIds,m),st(()=>{k.isDeactivated=!1,k.a&&Dr(k.a);const T=_.props&&_.props.onVnodeMounted;T&&_t(T,k.parent,_)},a)},r.deactivate=_=>{const y=_.component;c(_,d,null,1,a),st(()=>{y.da&&Dr(y.da);const v=_.props&&_.props.onVnodeUnmounted;v&&_t(v,y.parent,_),y.isDeactivated=!0},a)};function p(_){Ra(_),u(_,n,a,!0)}function h(_){s.forEach((y,v)=>{const E=wl(y.type);E&&(!_||!_(E))&&g(v)})}function g(_){const y=s.get(_);!i||!Ft(y,i)?p(y):i&&Ra(i),s.delete(_),o.delete(_)}Be(()=>[e.include,e.exclude],([_,y])=>{_&&h(v=>qs(_,v)),y&&h(v=>!qs(y,v))},{flush:"post",deep:!0});let b=null;const S=()=>{b!=null&&s.set(b,$a(n.subTree))};return Sn(S),$c(S),cs(()=>{s.forEach(_=>{const{subTree:y,suspense:v}=n,E=$a(y);if(_.type===E.type&&_.key===E.key){Ra(E);const m=E.component.da;m&&st(m,v);return}p(_)})}),()=>{if(b=null,!t.default)return null;const _=t.default(),y=_[0];if(_.length>1)return i=null,_;if(!Jr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let v=$a(y);const E=v.type,m=wl(dr(v)?v.type.__asyncResolved||{}:E),{include:k,exclude:T,max:w}=e;if(k&&(!m||!qs(k,m))||T&&m&&qs(T,m))return i=v,y;const C=v.key==null?E:v.key,A=s.get(C);return v.el&&(v=yn(v),y.shapeFlag&128&&(y.ssContent=v)),b=C,A?(v.el=A.el,v.component=A.component,v.transition&&Kr(v,v.transition),v.shapeFlag|=512,o.delete(C),o.add(C)):(o.add(C),w&&o.size>parseInt(w,10)&&g(o.values().next().value)),v.shapeFlag|=256,i=v,np(y.type)?y:v}}},Wy=Vy;function qs(e,t){return ge(e)?e.some(n=>qs(n,t)):Ve(e)?e.split(",").includes(t):Nv(e)?e.test(t):!1}function lp(e,t){up(e,"a",t)}function cp(e,t){up(e,"da",t)}function up(e,t,n=Xe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ea(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Po(s.parent.vnode)&&Gy(r,t,n,s),s=s.parent}}function Gy(e,t,n,r){const s=ea(t,e,r,!0);go(()=>{uc(r[t],s)},n)}function Ra(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $a(e){return e.shapeFlag&128?e.ssContent:e}function ea(e,t,n=Xe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;os(),Vn(n);const a=Nt(t,n,e,i);return Fn(),is(),a});return r?s.unshift(o):s.push(o),o}}const wn=e=>(t,n=Xe)=>(!Zr||e==="sp")&&ea(e,(...r)=>t(...r),n),fp=wn("bm"),Sn=wn("m"),qy=wn("bu"),$c=wn("u"),cs=wn("bum"),go=wn("um"),Ky=wn("sp"),Xy=wn("rtg"),Yy=wn("rtc");function dp(e,t=Xe){ea("ec",e,t)}function vo(e,t,n,r){let s;const o=n&&n[r];if(ge(e)||Ve(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(ze(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function Jy(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ge(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function rt(e,t,n={},r,s){if(nt.isCE||nt.parent&&dr(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),Z("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Q();const i=o&&hp(o(n)),a=Te(Le,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function hp(e){return e.some(t=>Jr(t)?!(t.type===mt||t.type===Le&&!hp(t.children)):!0)?e:null}function h2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:li(r)]=e[r];return n}const ml=e=>e?Ap(e)?ra(e)||e.proxy:ml(e.parent):null,Ys=Ze(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=>ml(e.parent),$root:e=>ml(e.root),$emit:e=>e.emit,$options:e=>Nc(e),$forceUpdate:e=>e.f||(e.f=()=>Ji(e.update)),$nextTick:e=>e.n||(e.n=kt.bind(e.proxy)),$watch:e=>zy.bind(e)}),Na=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ne(e,t),Zy={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Na(r,t))return i[t]=1,r[t];if(s!==Ue&&Ne(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&Ne(c,t))return i[t]=3,o[t];if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];gl&&(i[t]=0)}}const u=Ys[t];let f,d;if(u)return t==="$attrs"&&St(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Na(s,t)?(s[t]=n,!0):r!==Ue&&Ne(r,t)?(r[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ue&&Ne(e,i)||Na(t,i)||(a=o[0])&&Ne(a,i)||Ne(r,i)||Ne(Ys,i)||Ne(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ou(e){return ge(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function p2(e){const t=on();let n=e();return Fn(),fc(n)&&(n=n.catch(r=>{throw Vn(t),r})),[n,()=>Vn(t)]}let gl=!0;function Qy(e){const t=Nc(e),n=e.proxy,r=e.ctx;gl=!1,t.beforeCreate&&Iu(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:b,beforeDestroy:S,beforeUnmount:_,destroyed:y,unmounted:v,render:E,renderTracked:m,renderTriggered:k,errorCaptured:T,serverPrefetch:w,expose:C,inheritAttrs:A,components:x,directives:P,filters:R}=t;if(c&&e_(c,r,null),i)for(const F in i){const D=i[F];_e(D)&&(r[F]=D.bind(n))}if(s){const F=s.call(n,n);ze(F)&&(e.data=gt(F))}if(gl=!0,o)for(const F in o){const D=o[F],U=_e(D)?D.bind(n,n):_e(D.get)?D.get.bind(n,n):jt,ee=!_e(D)&&_e(D.set)?D.set.bind(n):jt,re=de({get:U,set:ee});Object.defineProperty(r,F,{enumerable:!0,configurable:!0,get:()=>re.value,set:oe=>re.value=oe})}if(a)for(const F in a)pp(a[F],r,n,F);if(l){const F=_e(l)?l.call(n):l;Reflect.ownKeys(F).forEach(D=>{hr(D,F[D])})}u&&Iu(u,e,"c");function I(F,D){ge(D)?D.forEach(U=>F(U.bind(n))):D&&F(D.bind(n))}if(I(fp,f),I(Sn,d),I(qy,p),I($c,h),I(lp,g),I(cp,b),I(dp,T),I(Yy,m),I(Xy,k),I(cs,_),I(go,v),I(Ky,w),ge(C))if(C.length){const F=e.exposed||(e.exposed={});C.forEach(D=>{Object.defineProperty(F,D,{get:()=>n[D],set:U=>n[D]=U})})}else e.exposed||(e.exposed={});E&&e.render===jt&&(e.render=E),A!=null&&(e.inheritAttrs=A),x&&(e.components=x),P&&(e.directives=P)}function e_(e,t,n=jt){ge(e)&&(e=vl(e));for(const r in e){const s=e[r];let o;ze(s)?"default"in s?o=pt(s.from||r,s.default,!0):o=pt(s.from||r):o=pt(s),Fe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Iu(e,t,n){Nt(ge(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function pp(e,t,n,r){const s=r.includes(".")?sp(n,r):()=>n[r];if(Ve(e)){const o=t[e];_e(o)&&Be(s,o)}else if(_e(e))Be(s,e.bind(n));else if(ze(e))if(ge(e))e.forEach(o=>pp(o,t,n,r));else{const o=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(o)&&Be(s,o,e)}}function Nc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Ei(l,c,i,!0)),Ei(l,t,i)),ze(t)&&o.set(t,l),l}function Ei(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Ei(e,o,n,!0),s&&s.forEach(i=>Ei(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=t_[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const t_={data:Lu,props:Mu,emits:Mu,methods:Ks,computed:Ks,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Ks,directives:Ks,watch:r_,provide:Lu,inject:n_};function Lu(e,t){return t?e?function(){return Ze(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function n_(e,t){return Ks(vl(e),vl(t))}function vl(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Ks(e,t){return e?Ze(Object.create(null),e,t):t}function Mu(e,t){return e?ge(e)&&ge(t)?[...new Set([...e,...t])]:Ze(Object.create(null),Ou(e),Ou(t??{})):t}function r_(e,t){if(!e)return t;if(!t)return e;const n=Ze(Object.create(null),e);for(const r in t)n[r]=ut(e[r],t[r]);return n}function mp(){return{app:null,config:{isNativeTag:Av,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 s_=0;function o_(e,t){return function(r,s=null){_e(r)||(r=Ze({},r)),s!=null&&!ze(s)&&(s=null);const o=mp(),i=new WeakSet;let a=!1;const l=o.app={_uid:s_++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:$p,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&_e(c.install)?(i.add(c),c.install(l,...u)):_e(c)&&(i.add(c),c(l,...u))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,u){return u?(o.components[c]=u,l):o.components[c]},directive(c,u){return u?(o.directives[c]=u,l):o.directives[c]},mount(c,u,f){if(!a){const d=Z(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,ra(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return o.provides[c]=u,l},runWithContext(c){yo=l;try{return c()}finally{yo=null}}};return l}}let yo=null;function hr(e,t){if(Xe){let n=Xe.provides;const r=Xe.parent&&Xe.parent.provides;r===n&&(n=Xe.provides=Object.create(r)),n[e]=t}}function pt(e,t,n=!1){const r=Xe||nt;if(r||yo){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:yo._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&_e(t)?t.call(r&&r.proxy):t}}function gp(){return!!(Xe||nt||yo)}function i_(e,t,n,r=!1){const s={},o={};gi(o,ta,1),e.propsDefaults=Object.create(null),vp(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:as(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function a_(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Re(s),[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(Zi(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ne(o,d))p!==o[d]&&(o[d]=p,c=!0);else{const h=rn(d);s[h]=yl(l,a,h,p,e,!1)}else p!==o[d]&&(o[d]=p,c=!0)}}}else{vp(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!Ne(t,f)&&((u=Sr(f))===f||!Ne(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=yl(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Ne(t,f))&&(delete o[f],c=!0)}c&&mn(e,"set","$attrs")}function vp(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Xs(l))continue;const c=t[l];let u;s&&Ne(s,u=rn(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Zi(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=Re(n),c=a||Ue;for(let u=0;u<o.length;u++){const f=o[u];n[f]=yl(s,l,f,c[f],e,!Ne(c,f))}}return i}function yl(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ne(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&_e(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(Vn(s),r=c[n]=l.call(null,t),Fn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Sr(n))&&(r=!0))}return r}function yp(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!_e(e)){const u=f=>{l=!0;const[d,p]=yp(f,t,!0);Ze(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(!o&&!l)return ze(e)&&r.set(e,Lr),Lr;if(ge(o))for(let u=0;u<o.length;u++){const f=rn(o[u]);Du(f)&&(i[f]=Ue)}else if(o)for(const u in o){const f=rn(u);if(Du(f)){const d=o[u],p=i[f]=ge(d)||_e(d)?{type:d}:Ze({},d);if(p){const h=ju(Boolean,p.type),g=ju(String,p.type);p[0]=h>-1,p[1]=g<0||h<g,(h>-1||Ne(p,"default"))&&a.push(f)}}}const c=[i,a];return ze(e)&&r.set(e,c),c}function Du(e){return e[0]!=="$"}function Fu(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Bu(e,t){return Fu(e)===Fu(t)}function ju(e,t){return ge(t)?t.findIndex(n=>Bu(n,e)):_e(t)&&Bu(t,e)?0:-1}const _p=e=>e[0]==="_"||e==="$stable",Oc=e=>ge(e)?e.map(At):[At(e)],l_=(e,t,n)=>{if(t._n)return t;const r=me((...s)=>Oc(t(...s)),n);return r._c=!1,r},bp=(e,t,n)=>{const r=e._ctx;for(const s in e){if(_p(s))continue;const o=e[s];if(_e(o))t[s]=l_(s,o,r);else if(o!=null){const i=Oc(o);t[s]=()=>i}}},wp=(e,t)=>{const n=Oc(t);e.slots.default=()=>n},c_=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Re(t),gi(t,"_",n)):bp(t,e.slots={})}else e.slots={},t&&wp(e,t);gi(e.slots,ta,1)},u_=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ue;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ze(s,t),!n&&a===1&&delete s._):(o=!t.$stable,bp(t,s)),i=t}else t&&(wp(e,t),i={default:1});if(o)for(const a in s)!_p(a)&&i[a]==null&&delete s[a]};function xi(e,t,n,r,s=!1){if(ge(e)){e.forEach((d,p)=>xi(d,t&&(ge(t)?t[p]:t),n,r,s));return}if(dr(r)&&!s)return;const o=r.shapeFlag&4?ra(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ue?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ve(c)?(u[c]=null,Ne(f,c)&&(f[c]=null)):Fe(c)&&(c.value=null)),_e(l))Dn(l,a,12,[i,u]);else{const d=Ve(l),p=Fe(l);if(d||p){const h=()=>{if(e.f){const g=d?Ne(f,l)?f[l]:u[l]:l.value;s?ge(g)&&uc(g,o):ge(g)?g.includes(o)||g.push(o):d?(u[l]=[o],Ne(f,l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,Ne(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,st(h,n)):h()}}}let xn=!1;const Uo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Vo=e=>e.nodeType===8;function f_(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(y,v)=>{if(!v.hasChildNodes()){n(null,y,v),bi(),v._vnode=y;return}xn=!1,f(v.firstChild,y,null,null,null),bi(),v._vnode=y,xn&&console.error("Hydration completed but contains mismatches.")},f=(y,v,E,m,k,T=!1)=>{const w=Vo(y)&&y.data==="[",C=()=>g(y,v,E,m,k,w),{type:A,ref:x,shapeFlag:P,patchFlag:R}=v;let L=y.nodeType;v.el=y,R===-2&&(T=!1,v.dynamicChildren=null);let I=null;switch(A){case Xr:L!==3?v.children===""?(l(v.el=s(""),i(y),y),I=y):I=C():(y.data!==v.children&&(xn=!0,y.data=v.children),I=o(y));break;case mt:_(y)?(I=o(y),S(v.el=y.content.firstChild,y,E)):L!==8||w?I=C():I=o(y);break;case Zs:if(w&&(y=o(y),L=y.nodeType),L===1||L===3){I=y;const F=!v.children.length;for(let D=0;D<v.staticCount;D++)F&&(v.children+=I.nodeType===1?I.outerHTML:I.data),D===v.staticCount-1&&(v.anchor=I),I=o(I);return w?o(I):I}else C();break;case Le:w?I=h(y,v,E,m,k,T):I=C();break;default:if(P&1)(L!==1||v.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?I=C():I=d(y,v,E,m,k,T);else if(P&6){v.slotScopeIds=k;const F=i(y);if(w?I=b(y):Vo(y)&&y.data==="teleport start"?I=b(y,y.data,"teleport end"):I=o(y),t(v,F,null,E,m,Uo(F),T),dr(v)){let D;w?(D=Z(Le),D.anchor=I?I.previousSibling:F.lastChild):D=y.nodeType===3?Oe(""):Z("div"),D.el=y,v.component.subTree=D}}else P&64?L!==8?I=C():I=v.type.hydrate(y,v,E,m,k,T,e,p):P&128&&(I=v.type.hydrate(y,v,E,m,Uo(i(y)),k,T,e,f))}return x!=null&&xi(x,null,m,v),I},d=(y,v,E,m,k,T)=>{T=T||!!v.dynamicChildren;const{type:w,props:C,patchFlag:A,shapeFlag:x,dirs:P,transition:R}=v,L=w==="input"&&P||w==="option";if(L||A!==-1){if(P&&Yt(v,null,E,"created"),C)if(L||!T||A&48)for(const D in C)(L&&D.endsWith("value")||ko(D)&&!Xs(D))&&r(y,D,null,C[D],!1,void 0,E);else C.onClick&&r(y,"onClick",null,C.onClick,!1,void 0,E);let I;(I=C&&C.onVnodeBeforeMount)&&_t(I,E,v);let F=!1;if(_(y)){F=Ep(m,R)&&E&&E.vnode.props&&E.vnode.props.appear;const D=y.content.firstChild;F&&R.beforeEnter(D),S(D,y,E),v.el=y=D}if(P&&Yt(v,null,E,"beforeMount"),((I=C&&C.onVnodeMounted)||P||F)&&rp(()=>{I&&_t(I,E,v),F&&R.enter(y),P&&Yt(v,null,E,"mounted")},m),x&16&&!(C&&(C.innerHTML||C.textContent))){let D=p(y.firstChild,v,y,E,m,k,T);for(;D;){xn=!0;const U=D;D=D.nextSibling,a(U)}}else x&8&&y.textContent!==v.children&&(xn=!0,y.textContent=v.children)}return y.nextSibling},p=(y,v,E,m,k,T,w)=>{w=w||!!v.dynamicChildren;const C=v.children,A=C.length;for(let x=0;x<A;x++){const P=w?C[x]:C[x]=At(C[x]);if(y)y=f(y,P,m,k,T,w);else{if(P.type===Xr&&!P.children)continue;xn=!0,n(null,P,E,null,m,k,Uo(E),T)}}return y},h=(y,v,E,m,k,T)=>{const{slotScopeIds:w}=v;w&&(k=k?k.concat(w):w);const C=i(y),A=p(o(y),v,C,E,m,k,T);return A&&Vo(A)&&A.data==="]"?o(v.anchor=A):(xn=!0,l(v.anchor=c("]"),C,A),A)},g=(y,v,E,m,k,T)=>{if(xn=!0,v.el=null,T){const A=b(y);for(;;){const x=o(y);if(x&&x!==A)a(x);else break}}const w=o(y),C=i(y);return a(y),n(null,v,C,w,E,m,Uo(C),k),w},b=(y,v="[",E="]")=>{let m=0;for(;y;)if(y=o(y),y&&Vo(y)&&(y.data===v&&m++,y.data===E)){if(m===0)return o(y);m--}return y},S=(y,v,E)=>{const m=v.parentNode;m&&m.replaceChild(y,v);let k=E;for(;k;)k.vnode.el===v&&(k.vnode.el=k.subTree.el=y),k=k.parent},_=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const st=rp;function d_(e){return Sp(e)}function h_(e){return Sp(e,f_)}function Sp(e,t){const n=cl();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=jt,insertStaticContent:h}=e,g=($,N,M,B=null,j=null,H=null,ne=!1,G=null,X=!!N.dynamicChildren)=>{if($===N)return;$&&!Ft($,N)&&(B=O($),oe($,j,H,!0),$=null),N.patchFlag===-2&&(X=!1,N.dynamicChildren=null);const{type:W,ref:ie,shapeFlag:ae}=N;switch(W){case Xr:b($,N,M,B);break;case mt:S($,N,M,B);break;case Zs:$==null&&_(N,M,B,ne);break;case Le:x($,N,M,B,j,H,ne,G,X);break;default:ae&1?E($,N,M,B,j,H,ne,G,X):ae&6?P($,N,M,B,j,H,ne,G,X):(ae&64||ae&128)&&W.process($,N,M,B,j,H,ne,G,X,V)}ie!=null&&j&&xi(ie,$&&$.ref,H,N||$,!N)},b=($,N,M,B)=>{if($==null)r(N.el=a(N.children),M,B);else{const j=N.el=$.el;N.children!==$.children&&c(j,N.children)}},S=($,N,M,B)=>{$==null?r(N.el=l(N.children||""),M,B):N.el=$.el},_=($,N,M,B)=>{[$.el,$.anchor]=h($.children,N,M,B,$.el,$.anchor)},y=({el:$,anchor:N},M,B)=>{let j;for(;$&&$!==N;)j=d($),r($,M,B),$=j;r(N,M,B)},v=({el:$,anchor:N})=>{let M;for(;$&&$!==N;)M=d($),s($),$=M;s(N)},E=($,N,M,B,j,H,ne,G,X)=>{ne=ne||N.type==="svg",$==null?m(N,M,B,j,H,ne,G,X):w($,N,j,H,ne,G,X)},m=($,N,M,B,j,H,ne,G)=>{let X,W;const{type:ie,props:ae,shapeFlag:fe,transition:te,dirs:le}=$;if(X=$.el=i($.type,H,ae&&ae.is,ae),fe&8?u(X,$.children):fe&16&&T($.children,X,null,B,j,H&&ie!=="foreignObject",ne,G),le&&Yt($,null,B,"created"),k(X,$,$.scopeId,ne,B),ae){for(const pe in ae)pe!=="value"&&!Xs(pe)&&o(X,pe,null,ae[pe],H,$.children,B,j,$e);"value"in ae&&o(X,"value",null,ae.value),(W=ae.onVnodeBeforeMount)&&_t(W,B,$)}le&&Yt($,null,B,"beforeMount");const se=Ep(j,te);se&&te.beforeEnter(X),r(X,N,M),((W=ae&&ae.onVnodeMounted)||se||le)&&st(()=>{W&&_t(W,B,$),se&&te.enter(X),le&&Yt($,null,B,"mounted")},j)},k=($,N,M,B,j)=>{if(M&&p($,M),B)for(let H=0;H<B.length;H++)p($,B[H]);if(j){let H=j.subTree;if(N===H){const ne=j.vnode;k($,ne,ne.scopeId,ne.slotScopeIds,j.parent)}}},T=($,N,M,B,j,H,ne,G,X=0)=>{for(let W=X;W<$.length;W++){const ie=$[W]=G?Nn($[W]):At($[W]);g(null,ie,N,M,B,j,H,ne,G)}},w=($,N,M,B,j,H,ne)=>{const G=N.el=$.el;let{patchFlag:X,dynamicChildren:W,dirs:ie}=N;X|=$.patchFlag&16;const ae=$.props||Ue,fe=N.props||Ue;let te;M&&Xn(M,!1),(te=fe.onVnodeBeforeUpdate)&&_t(te,M,N,$),ie&&Yt(N,$,M,"beforeUpdate"),M&&Xn(M,!0);const le=j&&N.type!=="foreignObject";if(W?C($.dynamicChildren,W,G,M,B,le,H):ne||D($,N,G,null,M,B,le,H,!1),X>0){if(X&16)A(G,N,ae,fe,M,B,j);else if(X&2&&ae.class!==fe.class&&o(G,"class",null,fe.class,j),X&4&&o(G,"style",ae.style,fe.style,j),X&8){const se=N.dynamicProps;for(let pe=0;pe<se.length;pe++){const Ie=se[pe],We=ae[Ie],ke=fe[Ie];(ke!==We||Ie==="value")&&o(G,Ie,We,ke,j,$.children,M,B,$e)}}X&1&&$.children!==N.children&&u(G,N.children)}else!ne&&W==null&&A(G,N,ae,fe,M,B,j);((te=fe.onVnodeUpdated)||ie)&&st(()=>{te&&_t(te,M,N,$),ie&&Yt(N,$,M,"updated")},B)},C=($,N,M,B,j,H,ne)=>{for(let G=0;G<N.length;G++){const X=$[G],W=N[G],ie=X.el&&(X.type===Le||!Ft(X,W)||X.shapeFlag&70)?f(X.el):M;g(X,W,ie,null,B,j,H,ne,!0)}},A=($,N,M,B,j,H,ne)=>{if(M!==B){if(M!==Ue)for(const G in M)!Xs(G)&&!(G in B)&&o($,G,M[G],null,ne,N.children,j,H,$e);for(const G in B){if(Xs(G))continue;const X=B[G],W=M[G];X!==W&&G!=="value"&&o($,G,W,X,ne,N.children,j,H,$e)}"value"in B&&o($,"value",M.value,B.value)}},x=($,N,M,B,j,H,ne,G,X)=>{const W=N.el=$?$.el:a(""),ie=N.anchor=$?$.anchor:a("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:te}=N;te&&(G=G?G.concat(te):te),$==null?(r(W,M,B),r(ie,M,B),T(N.children,M,ie,j,H,ne,G,X)):ae>0&&ae&64&&fe&&$.dynamicChildren?(C($.dynamicChildren,fe,M,j,H,ne,G),(N.key!=null||j&&N===j.subTree)&&Ic($,N,!0)):D($,N,M,ie,j,H,ne,G,X)},P=($,N,M,B,j,H,ne,G,X)=>{N.slotScopeIds=G,$==null?N.shapeFlag&512?j.ctx.activate(N,M,B,ne,X):R(N,M,B,j,H,ne,X):L($,N,X)},R=($,N,M,B,j,H,ne)=>{const G=$.component=S_($,B,j);if(Po($)&&(G.ctx.renderer=V),E_(G),G.asyncDep){if(j&&j.registerDep(G,I),!$.el){const X=G.subTree=Z(mt);S(null,X,N,M)}return}I(G,$,N,M,j,H,ne)},L=($,N,M)=>{const B=N.component=$.component;if(Ny($,N,M))if(B.asyncDep&&!B.asyncResolved){F(B,N,M);return}else B.next=N,Ey(B.update),B.update();else N.el=$.el,B.vnode=N},I=($,N,M,B,j,H,ne)=>{const G=()=>{if($.isMounted){let{next:ie,bu:ae,u:fe,parent:te,vnode:le}=$,se=ie,pe;Xn($,!1),ie?(ie.el=le.el,F($,ie,ne)):ie=le,ae&&Dr(ae),(pe=ie.props&&ie.props.onVnodeBeforeUpdate)&&_t(pe,te,ie,le),Xn($,!0);const Ie=ka($),We=$.subTree;$.subTree=Ie,g(We,Ie,f(We.el),O(We),$,j,H),ie.el=Ie.el,se===null&&xc($,Ie.el),fe&&st(fe,j),(pe=ie.props&&ie.props.onVnodeUpdated)&&st(()=>_t(pe,te,ie,le),j)}else{let ie;const{el:ae,props:fe}=N,{bm:te,m:le,parent:se}=$,pe=dr(N);if(Xn($,!1),te&&Dr(te),!pe&&(ie=fe&&fe.onVnodeBeforeMount)&&_t(ie,se,N),Xn($,!0),ae&&xe){const Ie=()=>{$.subTree=ka($),xe(ae,$.subTree,$,j,null)};pe?N.type.__asyncLoader().then(()=>!$.isUnmounted&&Ie()):Ie()}else{const Ie=$.subTree=ka($);g(null,Ie,M,B,$,j,H),N.el=Ie.el}if(le&&st(le,j),!pe&&(ie=fe&&fe.onVnodeMounted)){const Ie=N;st(()=>_t(ie,se,Ie),j)}(N.shapeFlag&256||se&&dr(se.vnode)&&se.vnode.shapeFlag&256)&&$.a&&st($.a,j),$.isMounted=!0,N=M=B=null}},X=$.effect=new gc(G,()=>Ji(W),$.scope),W=$.update=()=>X.run();W.id=$.uid,Xn($,!0),W()},F=($,N,M)=>{N.component=$;const B=$.vnode.props;$.vnode=N,$.next=null,a_($,N.props,B,M),u_($,N.children,M),os(),Pu(),is()},D=($,N,M,B,j,H,ne,G,X=!1)=>{const W=$&&$.children,ie=$?$.shapeFlag:0,ae=N.children,{patchFlag:fe,shapeFlag:te}=N;if(fe>0){if(fe&128){ee(W,ae,M,B,j,H,ne,G,X);return}else if(fe&256){U(W,ae,M,B,j,H,ne,G,X);return}}te&8?(ie&16&&$e(W,j,H),ae!==W&&u(M,ae)):ie&16?te&16?ee(W,ae,M,B,j,H,ne,G,X):$e(W,j,H,!0):(ie&8&&u(M,""),te&16&&T(ae,M,B,j,H,ne,G,X))},U=($,N,M,B,j,H,ne,G,X)=>{$=$||Lr,N=N||Lr;const W=$.length,ie=N.length,ae=Math.min(W,ie);let fe;for(fe=0;fe<ae;fe++){const te=N[fe]=X?Nn(N[fe]):At(N[fe]);g($[fe],te,M,null,j,H,ne,G,X)}W>ie?$e($,j,H,!0,!1,ae):T(N,M,B,j,H,ne,G,X,ae)},ee=($,N,M,B,j,H,ne,G,X)=>{let W=0;const ie=N.length;let ae=$.length-1,fe=ie-1;for(;W<=ae&&W<=fe;){const te=$[W],le=N[W]=X?Nn(N[W]):At(N[W]);if(Ft(te,le))g(te,le,M,null,j,H,ne,G,X);else break;W++}for(;W<=ae&&W<=fe;){const te=$[ae],le=N[fe]=X?Nn(N[fe]):At(N[fe]);if(Ft(te,le))g(te,le,M,null,j,H,ne,G,X);else break;ae--,fe--}if(W>ae){if(W<=fe){const te=fe+1,le=te<ie?N[te].el:B;for(;W<=fe;)g(null,N[W]=X?Nn(N[W]):At(N[W]),M,le,j,H,ne,G,X),W++}}else if(W>fe)for(;W<=ae;)oe($[W],j,H,!0),W++;else{const te=W,le=W,se=new Map;for(W=le;W<=fe;W++){const at=N[W]=X?Nn(N[W]):At(N[W]);at.key!=null&&se.set(at.key,W)}let pe,Ie=0;const We=fe-le+1;let ke=!1,ve=0;const it=new Array(We);for(W=0;W<We;W++)it[W]=0;for(W=te;W<=ae;W++){const at=$[W];if(Ie>=We){oe(at,j,H,!0);continue}let Gt;if(at.key!=null)Gt=se.get(at.key);else for(pe=le;pe<=fe;pe++)if(it[pe-le]===0&&Ft(at,N[pe])){Gt=pe;break}Gt===void 0?oe(at,j,H,!0):(it[Gt-le]=W+1,Gt>=ve?ve=Gt:ke=!0,g(at,N[Gt],M,null,j,H,ne,G,X),Ie++)}const kr=ke?p_(it):Lr;for(pe=kr.length-1,W=We-1;W>=0;W--){const at=le+W,Gt=N[at],yu=at+1<ie?N[at+1].el:B;it[W]===0?g(null,Gt,M,yu,j,H,ne,G,X):ke&&(pe<0||W!==kr[pe]?re(Gt,M,yu,2):pe--)}}},re=($,N,M,B,j=null)=>{const{el:H,type:ne,transition:G,children:X,shapeFlag:W}=$;if(W&6){re($.component.subTree,N,M,B);return}if(W&128){$.suspense.move(N,M,B);return}if(W&64){ne.move($,N,M,V);return}if(ne===Le){r(H,N,M);for(let ae=0;ae<X.length;ae++)re(X[ae],N,M,B);r($.anchor,N,M);return}if(ne===Zs){y($,N,M);return}if(B!==2&&W&1&&G)if(B===0)G.beforeEnter(H),r(H,N,M),st(()=>G.enter(H),j);else{const{leave:ae,delayLeave:fe,afterLeave:te}=G,le=()=>r(H,N,M),se=()=>{ae(H,()=>{le(),te&&te()})};fe?fe(H,le,se):se()}else r(H,N,M)},oe=($,N,M,B=!1,j=!1)=>{const{type:H,props:ne,ref:G,children:X,dynamicChildren:W,shapeFlag:ie,patchFlag:ae,dirs:fe}=$;if(G!=null&&xi(G,null,M,$,!0),ie&256){N.ctx.deactivate($);return}const te=ie&1&&fe,le=!dr($);let se;if(le&&(se=ne&&ne.onVnodeBeforeUnmount)&&_t(se,N,$),ie&6)Se($.component,M,B);else{if(ie&128){$.suspense.unmount(M,B);return}te&&Yt($,null,N,"beforeUnmount"),ie&64?$.type.remove($,N,M,j,V,B):W&&(H!==Le||ae>0&&ae&64)?$e(W,N,M,!1,!0):(H===Le&&ae&384||!j&&ie&16)&&$e(X,N,M),B&&he($)}(le&&(se=ne&&ne.onVnodeUnmounted)||te)&&st(()=>{se&&_t(se,N,$),te&&Yt($,null,N,"unmounted")},M)},he=$=>{const{type:N,el:M,anchor:B,transition:j}=$;if(N===Le){ue(M,B);return}if(N===Zs){v($);return}const H=()=>{s(M),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if($.shapeFlag&1&&j&&!j.persisted){const{leave:ne,delayLeave:G}=j,X=()=>ne(M,H);G?G($.el,H,X):X()}else H()},ue=($,N)=>{let M;for(;$!==N;)M=d($),s($),$=M;s(N)},Se=($,N,M)=>{const{bum:B,scope:j,update:H,subTree:ne,um:G}=$;B&&Dr(B),j.stop(),H&&(H.active=!1,oe(ne,$,N,M)),G&&st(G,N),st(()=>{$.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},$e=($,N,M,B=!1,j=!1,H=0)=>{for(let ne=H;ne<$.length;ne++)oe($[ne],N,M,B,j)},O=$=>$.shapeFlag&6?O($.component.subTree):$.shapeFlag&128?$.suspense.next():d($.anchor||$.el),J=($,N,M)=>{$==null?N._vnode&&oe(N._vnode,null,null,!0):g(N._vnode||null,$,N,null,null,null,M),Pu(),bi(),N._vnode=$},V={p:g,um:oe,m:re,r:he,mt:R,mc:T,pc:D,pbc:C,n:O,o:e};let ce,xe;return t&&([ce,xe]=t(V)),{render:J,hydrate:ce,createApp:o_(J,ce)}}function Xn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ep(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ic(e,t,n=!1){const r=e.children,s=t.children;if(ge(r)&&ge(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Nn(s[o]),a.el=i.el),n||Ic(i,a)),a.type===Xr&&(a.el=i.el)}}function p_(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const m_=e=>e.__isTeleport,Js=e=>e&&(e.disabled||e.disabled===""),zu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,_l=(e,t)=>{const n=e&&e.to;return Ve(n)?t?t(n):null:n},g_={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:g,createComment:b}}=c,S=Js(t.props);let{shapeFlag:_,children:y,dynamicChildren:v}=t;if(e==null){const E=t.el=g(""),m=t.anchor=g("");p(E,n,r),p(m,n,r);const k=t.target=_l(t.props,h),T=t.targetAnchor=g("");k&&(p(T,k),i=i||zu(k));const w=(C,A)=>{_&16&&u(y,C,A,s,o,i,a,l)};S?w(n,m):k&&w(k,T)}else{t.el=e.el;const E=t.anchor=e.anchor,m=t.target=e.target,k=t.targetAnchor=e.targetAnchor,T=Js(e.props),w=T?n:m,C=T?E:k;if(i=i||zu(m),v?(d(e.dynamicChildren,v,w,s,o,i,a),Ic(e,t,!0)):l||f(e,t,w,C,s,o,i,a,!1),S)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wo(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=_l(t.props,h);A&&Wo(t,A,null,c,0)}else T&&Wo(t,m,k,c,1)}Tp(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),i&&o(c),a&16){const p=i||!Js(d);for(let h=0;h<l.length;h++){const g=l[h];s(g,t,n,p,!!g.dynamicChildren)}}},move:Wo,hydrate:v_};function Wo(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=o===2;if(f&&r(i,t,n),(!f||Js(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function v_(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=_l(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(Js(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,u,n,r,s,o)}Tp(t)}return t.anchor&&i(t.anchor)}const xp=g_;function Tp(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Le=Symbol.for("v-fgt"),Xr=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Zs=Symbol.for("v-stc"),Qs=[];let Rt=null;function Q(e=!1){Qs.push(Rt=e?null:[])}function Cp(){Qs.pop(),Rt=Qs[Qs.length-1]||null}let Yr=1;function Hu(e){Yr+=e}function kp(e){return e.dynamicChildren=Yr>0?Rt||Lr:null,Cp(),Yr>0&&Rt&&Rt.push(e),e}function ye(e,t,n,r,s,o){return kp(q(e,t,n,r,s,o,!0))}function Te(e,t,n,r,s){return kp(Z(e,t,n,r,s,!0))}function Jr(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const ta="__vInternal",Pp=({key:e})=>e??null,ci=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ve(e)||Fe(e)||_e(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function q(e,t=null,n=null,r=0,s=null,o=e===Le?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pp(t),ref:t&&ci(t),scopeId:Qi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:nt};return a?(Lc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ve(n)?8:16),Yr>0&&!i&&Rt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Rt.push(l),l}const Z=y_;function y_(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===tp)&&(e=mt),Jr(e)){const a=yn(e,t,!0);return n&&Lc(a,n),Yr>0&&!o&&Rt&&(a.shapeFlag&6?Rt[Rt.indexOf(e)]=a:Rt.push(a)),a.patchFlag|=-2,a}if(k_(e)&&(e=e.__vccOpts),t){t=na(t);let{class:a,style:l}=t;a&&!Ve(a)&&(t.class=qe(a)),ze(l)&&(Vh(l)&&!ge(l)&&(l=Ze({},l)),t.style=en(l))}const i=Ve(e)?1:np(e)?128:m_(e)?64:ze(e)?4:_e(e)?2:0;return q(e,t,n,r,s,i,o,!0)}function na(e){return e?Vh(e)||ta in e?Ze({},e):e:null}function yn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Un(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Pp(a),ref:t&&t.ref?n&&s?ge(s)?s.concat(ci(t)):[s,ci(t)]:ci(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yn(e.ssContent),ssFallback:e.ssFallback&&yn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Oe(e=" ",t=0){return Z(Xr,null,e,t)}function __(e,t){const n=Z(Zs,null,e);return n.staticCount=t,n}function Ge(e="",t=!1){return t?(Q(),Te(mt,null,e)):Z(mt,null,e)}function At(e){return e==null||typeof e=="boolean"?Z(mt):ge(e)?Z(Le,null,e.slice()):typeof e=="object"?Nn(e):Z(Xr,null,String(e))}function Nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yn(e)}function Lc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ge(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Lc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(ta in t)?t._ctx=nt:s===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[Oe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Un(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=qe([t.class,r.class]));else if(s==="style")t.style=en([t.style,r.style]);else if(ko(s)){const o=t[s],i=r[s];i&&o!==i&&!(ge(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function _t(e,t,n,r=null){Nt(e,t,7,[n,r])}const b_=mp();let w_=0;function S_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||b_,o={uid:w_++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Nh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yp(r,s),emitsOptions:ep(r,s),emit:null,emitted:null,propsDefaults:Ue,inheritAttrs:r.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,setupContext:null,attrsProxy:null,slotsProxy: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Ty.bind(null,o),e.ce&&e.ce(o),o}let Xe=null;const on=()=>Xe||nt;let Mc,Pr,Uu="__VUE_INSTANCE_SETTERS__";(Pr=cl()[Uu])||(Pr=cl()[Uu]=[]),Pr.push(e=>Xe=e),Mc=e=>{Pr.length>1?Pr.forEach(t=>t(e)):Pr[0](e)};const Vn=e=>{Mc(e),e.scope.on()},Fn=()=>{Xe&&Xe.scope.off(),Mc(null)};function Ap(e){return e.vnode.shapeFlag&4}let Zr=!1;function E_(e,t=!1){Zr=t;const{props:n,children:r}=e.vnode,s=Ap(e);i_(e,n,s,t),c_(e,r);const o=s?x_(e,t):void 0;return Zr=!1,o}function x_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Wh(new Proxy(e.ctx,Zy));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?C_(e):null;Vn(e),os();const o=Dn(r,e,0,[e.props,s]);if(is(),Fn(),fc(o)){if(o.then(Fn,Fn),t)return o.then(i=>{bl(e,i,t)}).catch(i=>{ls(i,e,0)});e.asyncDep=o}else bl(e,o,t)}else Rp(e,t)}function bl(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=Kh(t)),Rp(e,n)}let Vu;function Rp(e,t,n){const r=e.type;if(!e.render){if(!t&&Vu&&!r.render){const s=r.template||Nc(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ze(Ze({isCustomElement:o,delimiters:a},i),l);r.render=Vu(s,c)}}e.render=r.render||jt}{Vn(e),os();try{Qy(e)}finally{is(),Fn()}}}function T_(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return St(e,"get","$attrs"),t[n]}}))}function C_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return T_(e)},slots:e.slots,emit:e.emit,expose:t}}function ra(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kh(Wh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ys)return Ys[n](e)},has(t,n){return n in t||n in Ys}}))}function wl(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function k_(e){return _e(e)&&"__vccOpts"in e}const de=(e,t)=>by(e,t,Zr);function Je(e,t,n){const r=arguments.length;return r===2?ze(t)&&!ge(t)?Jr(t)?Z(e,null,[t]):Z(e,t):Z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Jr(n)&&(n=[n]),Z(e,t,n))}const P_=Symbol.for("v-scx"),A_=()=>pt(P_),$p="3.3.8",R_="http://www.w3.org/2000/svg",rr=typeof document<"u"?document:null,Wu=rr&&rr.createElement("template"),$_={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 s=t?rr.createElementNS(R_,e):rr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>rr.createTextNode(e),createComment:e=>rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Wu.innerHTML=r?`<svg>${e}</svg>`:e;const a=Wu.content;if(r){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]}},Tn="transition",_s="animation",Qr=Symbol("_vtc"),sa=(e,{slots:t})=>Je(Uy,Op(e),t);sa.displayName="Transition";const Np={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},N_=sa.props=Ze({},ip,Np),Yn=(e,t=[])=>{ge(e)?e.forEach(n=>n(...t)):e&&e(...t)},Gu=e=>e?ge(e)?e.some(t=>t.length>1):e.length>1:!1;function Op(e){const t={};for(const x in e)x in Np||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=O_(s),g=h&&h[0],b=h&&h[1],{onBeforeEnter:S,onEnter:_,onEnterCancelled:y,onLeave:v,onLeaveCancelled:E,onBeforeAppear:m=S,onAppear:k=_,onAppearCancelled:T=y}=t,w=(x,P,R)=>{Pn(x,P?u:a),Pn(x,P?c:i),R&&R()},C=(x,P)=>{x._isLeaving=!1,Pn(x,f),Pn(x,p),Pn(x,d),P&&P()},A=x=>(P,R)=>{const L=x?k:_,I=()=>w(P,x,R);Yn(L,[P,I]),qu(()=>{Pn(P,x?l:o),cn(P,x?u:a),Gu(L)||Ku(P,r,g,I)})};return Ze(t,{onBeforeEnter(x){Yn(S,[x]),cn(x,o),cn(x,i)},onBeforeAppear(x){Yn(m,[x]),cn(x,l),cn(x,c)},onEnter:A(!1),onAppear:A(!0),onLeave(x,P){x._isLeaving=!0;const R=()=>C(x,P);cn(x,f),Lp(),cn(x,d),qu(()=>{x._isLeaving&&(Pn(x,f),cn(x,p),Gu(v)||Ku(x,r,b,R))}),Yn(v,[x,R])},onEnterCancelled(x){w(x,!1),Yn(y,[x])},onAppearCancelled(x){w(x,!0),Yn(T,[x])},onLeaveCancelled(x){C(x),Yn(E,[x])}})}function O_(e){if(e==null)return null;if(ze(e))return[Oa(e.enter),Oa(e.leave)];{const t=Oa(e);return[t,t]}}function Oa(e){return Ah(e)}function cn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qr]||(e[Qr]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Qr];n&&(n.delete(t),n.size||(e[Qr]=void 0))}function qu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let I_=0;function Ku(e,t,n,r){const s=e._endId=++I_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ip(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Ip(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Tn}Delay`),o=r(`${Tn}Duration`),i=Xu(s,o),a=r(`${_s}Delay`),l=r(`${_s}Duration`),c=Xu(a,l);let u=null,f=0,d=0;t===Tn?i>0&&(u=Tn,f=i,d=o.length):t===_s?c>0&&(u=_s,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Tn:_s:null,d=u?u===Tn?o.length:l.length:0);const p=u===Tn&&/\b(transform|all)(,|$)/.test(r(`${Tn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Xu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Yu(n)+Yu(e[r])))}function Yu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Lp(){return document.body.offsetHeight}function L_(e,t,n){const r=e[Qr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Dc=Symbol("_vod"),Sl={beforeMount(e,{value:t},{transition:n}){e[Dc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):bs(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),bs(e,!0),r.enter(e)):r.leave(e,()=>{bs(e,!1)}):bs(e,t))},beforeUnmount(e,{value:t}){bs(e,t)}};function bs(e,t){e.style.display=t?e[Dc]:"none"}function M_(e,t,n){const r=e.style,s=Ve(n);if(n&&!s){if(t&&!Ve(t))for(const o in t)n[o]==null&&El(r,o,"");for(const o in n)El(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),Dc in e&&(r.display=o)}}const Ju=/\s*!important$/;function El(e,t,n){if(ge(n))n.forEach(r=>El(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=D_(e,t);Ju.test(n)?e.setProperty(Sr(r),n.replace(Ju,""),"important"):e[r]=n}}const Zu=["Webkit","Moz","ms"],Ia={};function D_(e,t){const n=Ia[t];if(n)return n;let r=rn(t);if(r!=="filter"&&r in e)return Ia[t]=r;r=qi(r);for(let s=0;s<Zu.length;s++){const o=Zu[s]+r;if(o in e)return Ia[t]=o}return t}const Qu="http://www.w3.org/1999/xlink";function F_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Qu,t.slice(6,t.length)):e.setAttributeNS(Qu,t,n);else{const o=zv(t);n==null||o&&!Rh(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function B_(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Rh(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function pn(e,t,n,r){e.addEventListener(t,n,r)}function j_(e,t,n,r){e.removeEventListener(t,n,r)}const ef=Symbol("_vei");function z_(e,t,n,r,s=null){const o=e[ef]||(e[ef]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=H_(t);if(r){const c=o[t]=W_(r,s);pn(e,a,c,l)}else i&&(j_(e,a,i,l),o[t]=void 0)}}const tf=/(?:Once|Passive|Capture)$/;function H_(e){let t;if(tf.test(e)){t={};let r;for(;r=e.match(tf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Sr(e.slice(2)),t]}let La=0;const U_=Promise.resolve(),V_=()=>La||(U_.then(()=>La=0),La=Date.now());function W_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Nt(G_(r,n.value),t,5,[r])};return n.value=e,n.attached=V_(),n}function G_(e,t){if(ge(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const nf=/^on[a-z]/,q_=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?L_(e,r,s):t==="style"?M_(e,n,r):ko(t)?cc(t)||z_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):K_(e,t,r,s))?B_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),F_(e,t,r,s))};function K_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&nf.test(t)&&_e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nf.test(t)&&Ve(n)?!1:t in e}const Mp=new WeakMap,Dp=new WeakMap,Ti=Symbol("_moveCb"),rf=Symbol("_enterCb"),Fp={name:"TransitionGroup",props:Ze({},N_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=on(),r=op();let s,o;return $c(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!eb(s[0].el,n.vnode.el,i))return;s.forEach(J_),s.forEach(Z_);const a=s.filter(Q_);Lp(),a.forEach(l=>{const c=l.el,u=c.style;cn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Ti]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Ti]=null,Pn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Re(e),a=Op(i);let l=i.tag||Le;s=o,o=t.default?Rc(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&Kr(u,mo(u,a,r,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];Kr(u,mo(u,a,r,n)),Mp.set(u,u.el.getBoundingClientRect())}return Z(l,null,o)}}},X_=e=>delete e.mode;Fp.props;const Y_=Fp;function J_(e){const t=e.el;t[Ti]&&t[Ti](),t[rf]&&t[rf]()}function Z_(e){Dp.set(e,e.el.getBoundingClientRect())}function Q_(e){const t=Mp.get(e),n=Dp.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function eb(e,t,n){const r=e.cloneNode(),s=e[Qr];s&&s.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 o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Ip(r);return o.removeChild(r),i}const Wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ge(t)?n=>Dr(t,n):t};function tb(e){e.target.composing=!0}function sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ot=Symbol("_assign"),of={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ot]=Wn(s);const o=r||s.props&&s.props.type==="number";pn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=vi(a)),e[Ot](a)}),n&&pn(e,"change",()=>{e.value=e.value.trim()}),t||(pn(e,"compositionstart",tb),pn(e,"compositionend",sf),pn(e,"change",sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[Ot]=Wn(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&vi(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},nb={deep:!0,created(e,t,n){e[Ot]=Wn(n),pn(e,"change",()=>{const r=e._modelValue,s=es(e),o=e.checked,i=e[Ot];if(ge(r)){const a=pc(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(rs(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Bp(e,o))})},mounted:af,beforeUpdate(e,t,n){e[Ot]=Wn(n),af(e,t,n)}};function af(e,{value:t,oldValue:n},r){e._modelValue=t,ge(t)?e.checked=pc(t,r.props.value)>-1:rs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=mr(t,Bp(e,!0)))}const rb={created(e,{value:t},n){e.checked=mr(t,n.props.value),e[Ot]=Wn(n),pn(e,"change",()=>{e[Ot](es(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ot]=Wn(r),t!==n&&(e.checked=mr(t,r.props.value))}},sb={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=rs(t);pn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?vi(es(i)):es(i));e[Ot](e.multiple?s?new Set(o):o:o[0])}),e[Ot]=Wn(r)},mounted(e,{value:t}){lf(e,t)},beforeUpdate(e,t,n){e[Ot]=Wn(n)},updated(e,{value:t}){lf(e,t)}};function lf(e,t){const n=e.multiple;if(!(n&&!ge(t)&&!rs(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=es(o);if(n)ge(t)?o.selected=pc(t,i)>-1:o.selected=t.has(i);else if(mr(es(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function es(e){return"_value"in e?e._value:e.value}function Bp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ob={created(e,t,n){Go(e,t,n,null,"created")},mounted(e,t,n){Go(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Go(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Go(e,t,n,r,"updated")}};function ib(e,t){switch(e){case"SELECT":return sb;case"TEXTAREA":return of;default:switch(t){case"checkbox":return nb;case"radio":return rb;default:return of}}}function Go(e,t,n,r,s){const i=ib(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const ab=["ctrl","shift","alt","meta"],lb={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)=>ab.some(n=>e[`${n}Key`]&&!t.includes(n))},cb=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=lb[t[s]];if(o&&o(n,t))return}return e(n,...r)},ub={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},jp=(e,t)=>n=>{if(!("key"in n))return;const r=Sr(n.key);if(t.some(s=>s===r||ub[s]===r))return e(n)},zp=Ze({patchProp:q_},$_);let eo,cf=!1;function fb(){return eo||(eo=d_(zp))}function db(){return eo=cf?eo:h_(zp),cf=!0,eo}const Hp=(...e)=>{const t=fb().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Up(r);if(!s)return;const o=t._component;!_e(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},hb=(...e)=>{const t=db().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Up(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Up(e){return Ve(e)?document.querySelector(e):e}const pb=/#/g,mb=/&/g,gb=/=/g,Fc=/\+/g,vb=/%5e/gi,yb=/%60/gi,_b=/%7c/gi,bb=/%20/gi;function wb(e){return encodeURI(""+e).replace(_b,"|")}function xl(e){return wb(typeof e=="string"?e:JSON.stringify(e)).replace(Fc,"%2B").replace(bb,"+").replace(pb,"%23").replace(mb,"%26").replace(yb,"`").replace(vb,"^")}function Ma(e){return xl(e).replace(gb,"%3D")}function Ci(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Sb(e){return Ci(e.replace(Fc," "))}function Eb(e){return Ci(e.replace(Fc," "))}function Vp(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=Sb(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Eb(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function xb(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ma(e)}=${xl(n)}`).join("&"):`${Ma(e)}=${xl(t)}`:Ma(e)}function Tb(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>xb(t,e[t])).filter(Boolean).join("&")}const Cb=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,kb=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Pb=/^([/\\]\s*){2,}[^/\\]/;function us(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cb.test(e):kb.test(e)||(t.acceptRelative?Pb.test(e):!1)}const Ab=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Rb(e){return!!e&&Ab.test(e)}const $b=/\/$|\/\?/;function Tl(e="",t=!1){return t?$b.test(e):e.endsWith("/")}function Bc(e="",t=!1){if(!t)return(Tl(e)?e.slice(0,-1):e)||"/";if(!Tl(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function ki(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Tl(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function Nb(e=""){return e.startsWith("/")}function uf(e=""){return Nb(e)?e:"/"+e}function Ob(e,t){if(Gp(t)||us(e))return e;const n=Bc(t);return e.startsWith(n)?e:fs(n,e)}function ff(e,t){if(Gp(t))return e;const n=Bc(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Wp(e,t){const n=Ao(e),r={...Vp(n.search),...t};return n.search=Tb(r),Db(n)}function Gp(e){return!e||e==="/"}function Ib(e){return e&&e!=="/"}const Lb=/^\.?\//;function fs(e,...t){let n=e||"";for(const r of t.filter(s=>Ib(s)))if(n){const s=r.replace(Lb,"");n=ki(n)+s}else n=r;return n}function Mb(e,t,n={}){return n.trailingSlash||(e=ki(e),t=ki(t)),n.leadingSlash||(e=uf(e),t=uf(t)),n.encoding||(e=Ci(e),t=Ci(t)),e===t}function Ao(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!us(e,{acceptRelative:!0}))return t?Ao(t+e):df(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=df(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u}}function df(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Db(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol?e.protocol+"//":"")+s+o+t+n+r}const Fb=()=>window?.__NUXT__?.config||{},Pi=Fb().app,Bb=()=>Pi.baseURL,jb=()=>Pi.buildAssetsDir,jc=(...e)=>fs(qp(),jb(),...e),qp=(...e)=>{const t=Pi.cdnURL||Pi.baseURL;return e.length?fs(t,...e):t};globalThis.__buildAssetsURL=jc,globalThis.__publicAssetsURL=qp;const zb=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Hb=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ub=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Vb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Wb(e);return}return t}function Wb(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ai(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Ub.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(zb.test(e)||Hb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Vb)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class Gb extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function qb(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Gb(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const Kb=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function hf(e="GET"){return Kb.has(e.toUpperCase())}function Xb(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Yb=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Jb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Zb(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Jb.test(t)?"json":Yb.has(t)||t.startsWith("text/")?"text":"blob"}function Qb(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[s,o]of new n(e?.headers||{}))r.headers.set(s,o)}return r}const e0=new Set([408,409,425,429,500,502,503,504]),t0=new Set([101,204,205,304]);function Kp(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=hf(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):e0.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),o(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const c=qb(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:Qb(c,e.defaults,n),response:void 0,error:void 0};if(u.options.method=u.options.method?.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Ob(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Wp(u.request,{...u.options.params,...u.options.query}))),u.options.body&&hf(u.options.method)&&(Xb(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const d=new r;setTimeout(()=>d.abort(),u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}if(u.response.body&&!t0.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||Zb(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),h=u.options.parseResponse||Ai;u.response._data=h(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[d]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>Kp({...e,defaults:{...e.defaults,...a}}),i}const zc=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),n0=zc.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),r0=zc.Headers,s0=zc.AbortController,o0=Kp({fetch:n0,Headers:r0,AbortController:s0}),i0=o0;globalThis.$fetch||(globalThis.$fetch=i0.create({baseURL:Bb()}));function Cl(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Cl(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const a0={run:e=>e()},l0=()=>a0,Xp=typeof console.createTask<"u"?console.createTask:l0;function c0(e,t){const n=t.shift(),r=Xp(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function u0(e,t){const n=t.shift(),r=Xp(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Da(e,t){for(const n of[...e])n(t)}class f0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Cl(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Cl(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(c0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(u0,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Da(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Da(this._after,s)}):(this._after&&s&&Da(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Yp(){return new f0}function d0(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;kl.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{kl.delete(c)}}}}function h0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=d0({...e,...r})),t[n],t[n]}}}const Ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},pf="__unctx__",p0=Ri[pf]||(Ri[pf]=h0()),m0=(e,t={})=>p0.get(e,t),mf="__unctx_async_handlers__",kl=Ri[mf]||(Ri[mf]=new Set);function _o(e){const t=[];for(const s of kl){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Jp=m0("nuxt-app",{asyncContext:!1}),g0="__nuxt_plugin";function v0(e){let t=0;const n={_scope:Uv(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.1"},get vue(){return n.vueApp.version}},payload:gt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>b0(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Yp(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;qo(n,i,o),qo(n.vueApp.config.globalProperties,i,o)},qo(n.vueApp,"$nuxt",n),qo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Me;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=gt(n.payload.config);return n.provide("config",r),n}async function y0(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function _0(e,t){const n=[],r=[];for(const s of t){const o=y0(e,s);s.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function It(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[g0]:!0}))}function b0(e,t,n){const r=()=>n?t(...n):t();return Jp.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Me(){let e;if(gp()&&(e=on()?.appContext.app.$nuxt),e=e||Jp.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function oa(){return Me().$config}function qo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const w0="modulepreload",S0=function(e,t){return e[0]==="."?new URL(e,t).href:e},gf={},E0=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=S0(o,r),o in gf)return;gf[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=s.length-1;u>=0;u--){const f=s[u];if(f.href===o&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":w0,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},we=(...e)=>E0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),x0=-1,T0=-2,C0=-3,k0=-4,P0=-5,A0=-6;function R0(e,t){return $0(JSON.parse(e),t)}function $0(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===x0)return;if(o===C0)return NaN;if(o===k0)return 1/0;if(o===P0)return-1/0;if(o===A0)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let p=1;p<a.length;p+=1)u.add(s(a[p]));break;case"Map":const f=new Map;r[o]=f;for(let p=1;p<a.length;p+=2)f.set(s(a[p]),s(a[p+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let p=1;p<a.length;p+=2)d[a[p]]=s(a[p+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==T0&&(l[c]=s(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=s(u)}}return r[o]}return s(0)}function N0(e){return Array.isArray(e)?e:[e]}const O0=["title","titleTemplate","script","style","noscript"],ui=["base","meta","link","style","script","noscript"],I0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],L0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Zp=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],M0=typeof window<"u";function Hc(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function vf(e){return e._h||Hc(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Qp(e,t){const{props:n,tag:r}=e;if(L0.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function yf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function D0(e,t,n){const r={tag:e,props:await em(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Zp.forEach(s=>{const o=typeof r.props[s]<"u"?r.props[s]:n[s];typeof o<"u"&&((!["innerHTML","textContent"].includes(s)||O0.includes(r.tag))&&(r[s]=o),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function F0(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function em(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=F0(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Zp.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const B0=10;async function j0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&I0.includes(n)).forEach(([n,r])=>{const s=N0(r);t.push(...s.map(o=>D0(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<B0)+r,n))}const _f={base:-10,title:10},bf={critical:-80,high:-10,low:20};function $i(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in _f&&(t=_f[e.tag]),typeof n=="string"&&n in bf?t+bf[n]:t)}const z0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],tm=["onload","onerror","onabort","onprogress","onloadstart"],Cn="%separator";function fi(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,c)=>l&&l[c]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),e.includes(Cn)&&(e.endsWith(Cn)&&(e=e.slice(0,-Cn.length).trim()),e.startsWith(Cn)&&(e=e.slice(Cn.length).trim()),e=e.replace(new RegExp(`\\${Cn}\\s*\\${Cn}`,"g"),Cn),e=fi(e,{separator:n},n)),e}async function H0(e){const t={tag:e.tagName.toLowerCase(),props:await em(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=Qp(t),t}async function nm(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(u=>({tag:u,id:ui.includes(u.tag)?vf(u):u.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const u of["body","head"]){const f=n?.[u]?.children;for(const d of[...f].filter(p=>ui.includes(p.tagName.toLowerCase())))o.elMap[d.getAttribute("data-hid")||vf(await H0(d))]=d}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(u,f,d){const p=`${u}:${f}`;o.sideEffects[p]=d,delete o.pendingSideEffects[p]}function a({id:u,$el:f,tag:d}){const p=d.tag.endsWith("Attrs");o.elMap[u]=f,p||(["textContent","innerHTML"].forEach(h=>{d[h]&&d[h]!==f[h]&&(f[h]=d[h])}),i(u,"el",()=>{o.elMap[u].remove(),delete o.elMap[u]})),Object.entries(d.props).forEach(([h,g])=>{const b=`attr:${h}`;if(h==="class")for(const S of(g||"").split(" ").filter(Boolean))p&&i(u,`${b}:${S}`,()=>f.classList.remove(S)),!f.classList.contains(S)&&f.classList.add(S);else f.getAttribute(h)!==g&&f.setAttribute(h,g===!0?"":String(g)),p&&i(u,b,()=>f.removeAttribute(h))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of s){const{tag:f,shouldRender:d,id:p}=u;if(d){if(f.tag==="title"){n.title=f.textContent;continue}u.$el=u.$el||o.elMap[p],u.$el?a(u):ui.includes(f.tag)&&l.push(u)}}for(const u of l){const f=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),a(u),c[f]=c[f]||n.createDocumentFragment(),c[f].appendChild(u.$el)}for(const u of s)await e.hooks.callHook("dom:renderTag",u,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(o.pendingSideEffects).forEach(u=>u()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function U0(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await nm(e,t),delete e._domUpdatePromise,r()}))}function V0(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){U0(r,e)}}}}}const W0=["templateParams","htmlAttrs","bodyAttrs"],G0={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Qp(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r?.tagDuplicateStrategy;if(!a&&W0.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),t[s].props={...l,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if($i(r)>$i(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(ui.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},q0={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},K0=["script","link","bodyAttrs"];function X0(e){const t={},n={};return Object.entries(e.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"?(tm.includes(r)&&(t[r]=`this.dataset.${r} = true`),n[r]=s):t[r]=s}),{props:t,eventHandlers:n}}const Y0=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(K0.includes(n.tag)){const{props:r,eventHandlers:s}=X0(n);n.props=r,Object.keys(s).length&&((n.props.src||n.props.href)&&(n.key=n.key||Hc(n.props.src||n.props.href)),n._eventHandlers=s)}},"dom:renderTag":function(t,n,r){if(!t.tag._eventHandlers)return;const s=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([o,i])=>{const a=`${t.tag._d||t.tag._p}:${o}`,l=o.slice(2).toLowerCase(),c=`data-h-${l}`;if(r(t.id,a,()=>{}),t.$el.hasAttribute(c))return;t.$el.setAttribute(c,"");let u;const f=d=>{i(d),u?.disconnect()};o in t.$el.dataset?f(new Event(o.replace("on",""))):tm.includes(o)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(h=>h.attributeName===`data-${o}`)&&(f(new Event(o.replace("on",""))),u?.disconnect())}),u.observe(t.$el,{attributes:!0})):s.addEventListener(l,f),r(t.id,a,()=>{u?.disconnect(),s.removeEventListener(l,f),t.$el.removeAttribute(c)})})}}}),J0=["link","style","script","noscript"],Z0={hooks:{"tag:normalise":({tag:e})=>{e.key&&J0.includes(e.tag)&&(e.props["data-hid"]=e._h=Hc(e.key))}}},Q0={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of z0)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>$i(n)-$i(r))}}},ew={meta:"content",link:"href",htmlAttrs:"lang"},tw=e=>({hooks:{"tags:resolve":t=>{const{tags:n}=t,r=n.find(a=>a.tag==="title")?.textContent,s=n.findIndex(a=>a.tag==="templateParams"),o=s!==-1?n[s].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=fi(o.pageTitle||r||"",o,i);for(const a of n.filter(l=>l.processTemplateParams!==!1)){const l=ew[a.tag];l&&typeof a.props[l]=="string"?a.props[l]=fi(a.props[l],o,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(c=>{typeof a[c]=="string"&&(a[c]=fi(a[c],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),nw={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=yf(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=yf(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let rm;function rw(e={}){const t=sw(e);return t.use(V0()),rm=t}function wf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function sw(e={}){const t=Yp();t.addHooks(e.hooks||{}),e.document=e.document||(M0?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),wf(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const u={_i:s++,input:l,...c};return wf(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){o=o.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await j0(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),l.tags},ssr:n};return[G0,q0,Y0,Z0,Q0,tw,nw,...e?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function ow(){return rm}const iw=$p.startsWith("3");function aw(e){return typeof e=="function"?e():z(e)}function Ni(e,t=""){if(e instanceof Promise)return e;const n=aw(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ni(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,z(s)]:[r,Ni(s,r)])):n}const lw={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ni(t.input)}}},sm="usehead";function cw(e){return{install(n){iw&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(sm,e))}}.install}function uw(e={}){e.domDelayFn=e.domDelayFn||(n=>kt(()=>setTimeout(()=>n(),0)));const t=rw(e);return t.use(lw),t.install=cw(t),t}const Pl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Al="__unhead_injection_handler__";function fw(e){Pl[Al]=e}function dw(){if(Al in Pl)return Pl[Al]();const e=pt(sm);return e||ow()}function hw(e,t={}){const n=t.head||dw();if(n)return n.ssr?n.push(e,t):pw(n,e,t)}function pw(e,t,n={}){const r=K(!1),s=K({});qr(()=>{s.value=r.value?{}:Ni(t)});const o=e.push(s.value,n);return Be(s,a=>{o.patch(a)}),on()&&(cs(()=>{o.dispose()}),cp(()=>{r.value=!0}),lp(()=>{r.value=!1})),o}function mw(e){return{ctx:{table:e},matchAll:t=>im(t,e)}}function om(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,om(s)])):new Map(Object.entries(e[n]));return t}function gw(e){return mw(om(e))}function im(e,t){const n=[];for(const[s,o]of Sf(t.wildcard))e.startsWith(s)&&n.push(o);for(const[s,o]of Sf(t.dynamic))if(e.startsWith(s+"/")){const i="/"+e.slice(s.length).split("/").splice(2).join("/");n.push(...im(i,o))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function Sf(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Rl(e,t,n=".",r){if(!Fa(t))return Rl(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Fa(i)&&Fa(s[o])?s[o]=Rl(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Fa(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function am(e){return(...t)=>t.reduce((n,r)=>Rl(n,r,"",e),{})}const lm=am(),vw=am((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function yw(e,t){try{return t in e}catch{return!1}}var _w=Object.defineProperty,bw=(e,t,n)=>t in e?_w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,er=(e,t,n)=>(bw(e,typeof t!="symbol"?t+"":t,n),n);class $l extends Error{constructor(t,n={}){super(t,n),er(this,"statusCode",500),er(this,"fatal",!1),er(this,"unhandled",!1),er(this,"statusMessage"),er(this,"data"),er(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ol(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=cm(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}er($l,"__h3_error__",!0);function Nl(e){if(typeof e=="string")return new $l(e);if(ww(e))return e;const t=new $l(e.message??e.statusMessage??"",{cause:e.cause||e});if(yw(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ol(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ol(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;cm(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function ww(e){return e?.constructor?.__h3_error__===!0}const Sw=/[^\u0009\u0020-\u007E]/g;function cm(e=""){return e.replace(Sw,"")}function Ol(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const um=Symbol("layout-meta"),Ro=Symbol("route"),ia=()=>Yi(Me().payload,"error"),Ir=e=>{const t=aa(e);try{const n=Me(),r=ia();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Ew=async(e={})=>{const t=Me(),n=ia();t.callHook("app:error:cleared",e),e.redirect&&await ot().replace(e.redirect),n.value=null},xw=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),aa=e=>{const t=Nl(e);return t.__nuxt_error=!0,t},ot=()=>Me()?.$router,ds=()=>gp()?pt(Ro,Me()._route):Me()._route;/*! @__NO_SIDE_EFFECTS__ */const Tw=()=>{try{if(Me()._processingMiddleware)return!0}catch{return!0}return!1},Il=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wp(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=t?.external||us(n,{acceptRelative:!0});if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Ao(n).protocol;if(a&&Rb(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=Tw();if(!r&&s)return e;const o=ot(),i=Me();return r?(i._scope.stop(),t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},Cw={fixture1:"from app.config.ts"},kw={fixture2:"from nuxt.config.ts",nuxt:{buildId:"9c2bc90a-5134-40c2-becb-286bd0304a77"}},Pw=vw(Cw,kw);function Aw(){const e=Me();return e._appConfig||(e._appConfig=gt(Pw)),e._appConfig}const Rw=!1,Ll=!1,$w=!1,Nw={componentName:"NuxtLink"},Ow={deep:!0},Iw={},Lw="#__nuxt";let di,fm;function Mw(){const e=Aw().nuxt?.buildId;return di=$fetch(jc(`builds/meta/${e}.json`)),di.then(t=>{fm=gw(t.matcher)}),di}function la(){return di||Mw()}async function dm(e){return await la(),lm({},...fm.matchAll(e).reverse())}function Ef(e,t={}){const n=Dw(e,t),r=Me(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=Fw(e).then(o=>o?hm(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const xf="json";function Dw(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||us(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return fs(oa().app.baseURL,n.pathname,r?`_payload.${r}.${xf}`:`_payload.${xf}`)}async function hm(e){const t=fetch(e).then(n=>n.text().then(pm));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Fw(e=ds().path){if((await la()).prerendered.includes(e))return!0;const n=await dm(e);return!!n.prerender&&!n.redirect}let Ko=null;async function Bw(){if(Ko)return Ko;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=pm(e.textContent||""),n=e.dataset.src?await hm(e.dataset.src):void 0;return Ko={...t,...n,...window.__NUXT__},Ko}function pm(e){return R0(e,Me()._payloadRevivers)}function jw(e,t){Me()._payloadRevivers[e]=t}const Tf={NuxtError:e=>aa(e),EmptyShallowRef:e=>Ht(e==="_"?void 0:e==="0n"?BigInt(0):Ai(e)),EmptyRef:e=>K(e==="_"?void 0:e==="0n"?BigInt(0):Ai(e)),ShallowRef:e=>Ht(e),ShallowReactive:e=>as(e),Ref:e=>K(e),Reactive:e=>gt(e)},zw=It({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Tf)jw(r,Tf[r]);Object.assign(e.payload,([t,n]=_o(()=>e.runWithContext(Bw)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Hw=[],Uw=It({name:"nuxt:head",enforce:"pre",setup(e){const t=uw({plugins:Hw});fw(()=>Me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await nm(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
2
2
  * vue-router v4.2.5
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const Nr=typeof window<"u";function Vw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function Ba(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ut(s)?s.map(e):e(s)}return n}const eo=()=>{},Ut=Array.isArray,Ww=/\/$/,Gw=e=>e.replace(Ww,"");function ja(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Yw(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function qw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Kw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&es(t.matched[r],n.matched[s])&&mm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Xw(e[n],t[n]))return!1;return!0}function Xw(e,t){return Ut(e)?kf(e,t):Ut(t)?kf(t,e):e===t}function kf(e,t){return Ut(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Yw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var _o;(function(e){e.pop="pop",e.push="push"})(_o||(_o={}));var to;(function(e){e.back="back",e.forward="forward",e.unknown=""})(to||(to={}));function Jw(e){if(!e)if(Nr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Gw(e)}const Zw=/^[^#]+#/;function Qw(e,t){return e.replace(Zw,"#")+t}function e1(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ca=()=>({left:window.pageXOffset,top:window.pageYOffset});function t1(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=e1(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Pf(e,t){return(history.state?history.state.position-t:-1)+e}const Ml=new Map;function n1(e,t){Ml.set(e,t)}function r1(e){const t=Ml.get(e);return Ml.delete(e),t}let s1=()=>location.protocol+"//"+location.host;function gm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Cf(l,"")}return Cf(n,e)+r+s}function o1(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=gm(e,location),h=n.value,g=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}b=g?d.position-g.position:0}else r(p);s.forEach(S=>{S(n.value,h,{delta:b,type:_o.pop,direction:b?b>0?to.forward:to.back:to.unknown})})};function l(){i=n.value}function c(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:ca()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Af(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ca():null}}function i1(e){const{history:t,location:n}=window,r={value:gm(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:s1()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=je({},t.state,Af(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=je({},s.value,t.state,{forward:l,scroll:ca()});o(u.current,u,!0);const f=je({},Af(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function vm(e){e=Jw(e);const t=i1(e),n=o1(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=je({location:"",base:e,go:r,createHref:Qw.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function a1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),vm(e)}function l1(e){return typeof e=="string"||e&&typeof e=="object"}function ym(e){return typeof e=="string"||typeof e=="symbol"}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},_m=Symbol("");var Rf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rf||(Rf={}));function ts(e,t){return je(new Error,{type:e,[_m]:!0},t)}function an(e,t){return e instanceof Error&&_m in e&&(t==null||!!(e.type&t))}const $f="[^/]+?",c1={sensitive:!1,strict:!1,start:!0,end:!0},u1=/[.+*?^${}()[\]/\\]/g;function f1(e,t){const n=je({},c1,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(u1,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:b,regexp:S}=d;o.push({name:h,repeatable:g,optional:b});const _=S||$f;if(_!==$f){p+=10;try{new RegExp(`(${_})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+v.message)}}let y=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=b&&c.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),s+=y,p+=20,b&&(p+=-8),g&&(p+=-20),_===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,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=o[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===0)u+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:b}=p,S=h in c?c[h]:"";if(Ut(S)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=Ut(S)?S.join("/"):S;if(!_)if(b)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:o,parse:a,stringify:l}}function d1(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function h1(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=d1(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Nf(r))return 1;if(Nf(s))return-1}return s.length-r.length}function Nf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const p1={type:0,value:""},m1=/[a-zA-Z0-9_]/;function g1(e){if(!e)return[[]];if(e==="/")return[[p1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,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;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:m1.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function v1(e,t,n){const r=f1(g1(e.path),n),s=je(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function y1(e,t){const n=[],r=new Map;t=Lf({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,d){const p=!d,h=_1(u);h.aliasOf=d&&d.record;const g=Lf(t,u),b=[h];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const v of y)b.push(je({},h,{components:d?d.record.components:h.components,path:v,aliasOf:d?d.record:h}))}let S,_;for(const y of b){const{path:v}=y;if(f&&v[0]!=="/"){const E=f.record.path,m=E[E.length-1]==="/"?"":"/";y.path=f.record.path+(v&&m+v)}if(S=v1(y,f,g),d?d.alias.push(S):(_=_||S,_!==S&&_.alias.push(S),p&&u.name&&!If(S)&&i(u.name)),h.children){const E=h.children;for(let m=0;m<E.length;m++)o(E[m],S,d&&d.children[m])}d=d||S,(S.record.components&&Object.keys(S.record.components).length||S.record.name||S.record.redirect)&&l(S)}return _?()=>{i(_)}:eo}function i(u){if(ym(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&h1(u,n[f])>=0&&(u.record.path!==n[f].record.path||!bm(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!If(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw ts(1,{location:u});g=d.record.name,p=je(Of(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),u.params&&Of(u.params,d.keys.map(_=>_.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(_=>_.re.test(h)),d&&(p=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw ts(1,{location:u,currentLocation:f});g=d.record.name,p=je({},f.params,u.params),h=d.stringify(p)}const b=[];let S=d;for(;S;)b.unshift(S.record),S=S.parent;return{name:g,path:h,params:p,matched:b,meta:w1(b)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Of(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function _1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:b1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function b1(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 If(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function w1(e){return e.reduce((t,n)=>je(t,n.meta),{})}function Lf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bm(e,t){return t.children.some(n=>n===e||bm(e,n))}const wm=/#/g,S1=/&/g,E1=/\//g,x1=/=/g,T1=/\?/g,Sm=/\+/g,C1=/%5B/g,k1=/%5D/g,Em=/%5E/g,P1=/%60/g,xm=/%7B/g,A1=/%7C/g,Tm=/%7D/g,R1=/%20/g;function Uc(e){return encodeURI(""+e).replace(A1,"|").replace(C1,"[").replace(k1,"]")}function $1(e){return Uc(e).replace(xm,"{").replace(Tm,"}").replace(Em,"^")}function Dl(e){return Uc(e).replace(Sm,"%2B").replace(R1,"+").replace(wm,"%23").replace(S1,"%26").replace(P1,"`").replace(xm,"{").replace(Tm,"}").replace(Em,"^")}function N1(e){return Dl(e).replace(x1,"%3D")}function O1(e){return Uc(e).replace(wm,"%23").replace(T1,"%3F")}function I1(e){return e==null?"":O1(e).replace(E1,"%2F")}function Oi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function L1(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Sm," "),i=o.indexOf("="),a=Oi(i<0?o:o.slice(0,i)),l=i<0?null:Oi(o.slice(i+1));if(a in t){let c=t[a];Ut(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Mf(e){let t="";for(let n in e){const r=e[n];if(n=N1(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ut(r)?r.map(o=>o&&Dl(o)):[r&&Dl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function M1(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ut(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const D1=Symbol(""),Df=Symbol(""),Vc=Symbol(""),Wc=Symbol(""),Fl=Symbol("");function bs(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function On(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(ts(4,{from:n,to:t})):f instanceof Error?a(f):l1(f)?a(ts(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function za(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(F1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(On(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=Vw(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&On(d,n,r,o,i)()}))}}return s}function F1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ff(e){const t=pt(Vc),n=pt(Wc),r=de(()=>t.resolve(z(e.to))),s=de(()=>{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(es.bind(null,u));if(d>-1)return d;const p=Bf(l[c-2]);return c>1&&Bf(u)===p&&f[f.length-1].path!==p?f.findIndex(es.bind(null,l[c-2])):d}),o=de(()=>s.value>-1&&H1(n.params,r.value.params)),i=de(()=>s.value>-1&&s.value===n.matched.length-1&&mm(n.params,r.value.params));function a(l={}){return z1(l)?t[z(e.replace)?"replace":"push"](z(e.to)).catch(eo):Promise.resolve()}return{route:r,href:de(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const B1=Ce({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"}},useLink:Ff,setup(e,{slots:t}){const n=gt(Ff(e)),{options:r}=pt(Vc),s=de(()=>({[jf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[jf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),j1=B1;function z1(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 H1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Ut(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Bf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jf=(e,t,n)=>e??t??n,U1=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=pt(Fl),s=de(()=>e.route||r.value),o=pt(Df,0),i=de(()=>{let c=z(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=de(()=>s.value.matched[i.value]);hr(Df,de(()=>i.value+1)),hr(D1,a),hr(Fl,s);const l=K();return Be(()=>[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||!es(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return zf(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=Je(d,je({},h,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return zf(n.default,{Component:b,route:c})||b}}});function zf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Cm=U1;function V1(e){const t=y1(e.routes,e),n=e.parseQuery||L1,r=e.stringifyQuery||Mf,s=e.history,o=bs(),i=bs(),a=bs(),l=Ht(Xt);let c=Xt;Nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ba.bind(null,O=>""+O),f=Ba.bind(null,I1),d=Ba.bind(null,Oi);function p(O,J){let V,ce;return ym(O)?(V=t.getRecordMatcher(O),ce=J):ce=O,t.addRoute(ce,V)}function h(O){const J=t.getRecordMatcher(O);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(O=>O.record)}function b(O){return!!t.getRecordMatcher(O)}function S(O,J){if(J=je({},J||l.value),typeof O=="string"){const M=ja(n,O,J.path),B=t.resolve({path:M.path},J),j=s.createHref(M.fullPath);return je(M,B,{params:d(B.params),hash:Oi(M.hash),redirectedFrom:void 0,href:j})}let V;if("path"in O)V=je({},O,{path:ja(n,O.path,J.path).path});else{const M=je({},O.params);for(const B in M)M[B]==null&&delete M[B];V=je({},O,{params:f(M)}),J.params=f(J.params)}const ce=t.resolve(V,J),xe=O.hash||"";ce.params=u(d(ce.params));const $=qw(r,je({},O,{hash:$1(xe),path:ce.path})),N=s.createHref($);return je({fullPath:$,hash:xe,query:r===Mf?M1(O.query):O.query||{}},ce,{redirectedFrom:void 0,href:N})}function _(O){return typeof O=="string"?ja(n,O,l.value.path):je({},O)}function y(O,J){if(c!==O)return ts(8,{from:J,to:O})}function v(O){return k(O)}function E(O){return v(je(_(O),{replace:!0}))}function m(O){const J=O.matched[O.matched.length-1];if(J&&J.redirect){const{redirect:V}=J;let ce=typeof V=="function"?V(O):V;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=_(ce):{path:ce},ce.params={}),je({query:O.query,hash:O.hash,params:"path"in ce?{}:O.params},ce)}}function k(O,J){const V=c=S(O),ce=l.value,xe=O.state,$=O.force,N=O.replace===!0,M=m(V);if(M)return k(je(_(M),{state:typeof M=="object"?je({},xe,M.state):xe,force:$,replace:N}),J||V);const B=V;B.redirectedFrom=J;let j;return!$&&Kw(r,ce,V)&&(j=ts(16,{to:B,from:ce}),re(ce,ce,!0,!1)),(j?Promise.resolve(j):C(B,ce)).catch(H=>an(H)?an(H,2)?H:ee(H):D(H,B,ce)).then(H=>{if(H){if(an(H,2))return k(je({replace:N},_(H.to),{state:typeof H.to=="object"?je({},xe,H.to.state):xe,force:$}),J||B)}else H=x(B,ce,!0,N,xe);return A(B,ce,H),H})}function T(O,J){const V=y(O,J);return V?Promise.reject(V):Promise.resolve()}function w(O){const J=ue.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(O):O()}function C(O,J){let V;const[ce,xe,$]=W1(O,J);V=za(ce.reverse(),"beforeRouteLeave",O,J);for(const M of ce)M.leaveGuards.forEach(B=>{V.push(On(B,O,J))});const N=T.bind(null,O,J);return V.push(N),$e(V).then(()=>{V=[];for(const M of o.list())V.push(On(M,O,J));return V.push(N),$e(V)}).then(()=>{V=za(xe,"beforeRouteUpdate",O,J);for(const M of xe)M.updateGuards.forEach(B=>{V.push(On(B,O,J))});return V.push(N),$e(V)}).then(()=>{V=[];for(const M of $)if(M.beforeEnter)if(Ut(M.beforeEnter))for(const B of M.beforeEnter)V.push(On(B,O,J));else V.push(On(M.beforeEnter,O,J));return V.push(N),$e(V)}).then(()=>(O.matched.forEach(M=>M.enterCallbacks={}),V=za($,"beforeRouteEnter",O,J),V.push(N),$e(V))).then(()=>{V=[];for(const M of i.list())V.push(On(M,O,J));return V.push(N),$e(V)}).catch(M=>an(M,8)?M:Promise.reject(M))}function A(O,J,V){a.list().forEach(ce=>w(()=>ce(O,J,V)))}function x(O,J,V,ce,xe){const $=y(O,J);if($)return $;const N=J===Xt,M=Nr?history.state:{};V&&(ce||N?s.replace(O.fullPath,je({scroll:N&&M&&M.scroll},xe)):s.push(O.fullPath,xe)),l.value=O,re(O,J,V,N),ee()}let P;function R(){P||(P=s.listen((O,J,V)=>{if(!Se.listening)return;const ce=S(O),xe=m(ce);if(xe){k(je(xe,{replace:!0}),ce).catch(eo);return}c=ce;const $=l.value;Nr&&n1(Pf($.fullPath,V.delta),ca()),C(ce,$).catch(N=>an(N,12)?N:an(N,2)?(k(N.to,ce).then(M=>{an(M,20)&&!V.delta&&V.type===_o.pop&&s.go(-1,!1)}).catch(eo),Promise.reject()):(V.delta&&s.go(-V.delta,!1),D(N,ce,$))).then(N=>{N=N||x(ce,$,!1),N&&(V.delta&&!an(N,8)?s.go(-V.delta,!1):V.type===_o.pop&&an(N,20)&&s.go(-1,!1)),A(ce,$,N)}).catch(eo)}))}let L=bs(),I=bs(),F;function D(O,J,V){ee(O);const ce=I.list();return ce.length?ce.forEach(xe=>xe(O,J,V)):console.error(O),Promise.reject(O)}function U(){return F&&l.value!==Xt?Promise.resolve():new Promise((O,J)=>{L.add([O,J])})}function ee(O){return F||(F=!O,R(),L.list().forEach(([J,V])=>O?V(O):J()),L.reset()),O}function re(O,J,V,ce){const{scrollBehavior:xe}=e;if(!Nr||!xe)return Promise.resolve();const $=!V&&r1(Pf(O.fullPath,0))||(ce||!V)&&history.state&&history.state.scroll||null;return kt().then(()=>xe(O,J,$)).then(N=>N&&t1(N)).catch(N=>D(N,O,J))}const oe=O=>s.go(O);let he;const ue=new Set,Se={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:S,options:e,push:v,replace:E,go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:U,install(O){const J=this;O.component("RouterLink",j1),O.component("RouterView",Cm),O.config.globalProperties.$router=J,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>z(l)}),Nr&&!he&&l.value===Xt&&(he=!0,v(s.location).catch(xe=>{}));const V={};for(const xe in Xt)Object.defineProperty(V,xe,{get:()=>l.value[xe],enumerable:!0});O.provide(Vc,J),O.provide(Wc,is(V)),O.provide(Fl,l);const ce=O.unmount;ue.add(O),O.unmount=function(){ue.delete(O),ue.size<1&&(c=Xt,P&&P(),P=null,l.value=Xt,he=!1,F=!1),ce()}}};function $e(O){return O.reduce((J,V)=>J.then(()=>w(V)),Promise.resolve())}return Se}function W1(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>es(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>es(c,l))||s.push(l))}return[n,r,s]}function G1(){return pt(Wc)}const ws={layout:"none"},Ss={layout:"none"},Bl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),q1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Gc=e=>{const t=Me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Bl(e)}):Bl(e)};function km(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const o=Me(),i=()=>null,a=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];s.server=s.server??!0,s.default=s.default??i,s.getCachedData=s.getCachedData??a,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0,s.deep=s.deep??Ow.deep;const l=()=>![null,void 0].includes(s.getCachedData(n));if(!o._asyncData[n]||!s.immediate){o.payload._errors[n]??=null;const p=s.deep?K:Ht;o._asyncData[n]={data:p(s.getCachedData(n)??s.default()),pending:K(!l()),error:Yi(o.payload._errors,n),status:K("idle")}}const c={...o._asyncData[n]};c.refresh=c.execute=(p={})=>{if(o._asyncDataPromises[n]){if(p.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((p._initial||o.isHydrating&&p._initial!==!1)&&l())return Promise.resolve(s.getCachedData(n));c.pending.value=!0,c.status.value="pending";const h=new Promise((g,b)=>{try{g(r(o))}catch(S){b(S)}}).then(g=>{if(h.cancelled)return o._asyncDataPromises[n];let b=g;s.transform&&(b=s.transform(g)),s.pick&&(b=K1(b,s.pick)),c.data.value=b,c.error.value=null,c.status.value="success"}).catch(g=>{if(h.cancelled)return o._asyncDataPromises[n];c.error.value=g,c.data.value=z(s.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,o.payload.data[n]=c.data.value,c.error.value&&(o.payload._errors[n]=aa(c.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=s.server!==!1&&o.payload.serverRendered;{const p=on();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const g=p._nuxtOnBeforeMountCbs;p&&(fp(()=>{g.forEach(b=>{b()}),g.splice(0,g.length)}),mo(()=>g.splice(0,g.length)))}f&&o.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):p&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?p._nuxtOnBeforeMountCbs.push(u):s.immediate&&u(),s.watch&&Be(s.watch,()=>c.refresh());const h=o.hook("app:data:refresh",async g=>{(!g||g.includes(n))&&await c.refresh()});p&&mo(h)}const d=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function K1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const X1="$s";function ds(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=X1+n,o=Me(),i=Yi(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Fe(a))return o.payload.state[s]=a,a;i.value=a}return i}function _n(e){return Oh()?(Wv(e),!0):!1}function Y1(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function Ye(e){return typeof e=="function"?e():z(e)}function J1(e){if(!Fe(e))return gt(e);const t=new Proxy({},{get(n,r,s){return z(Reflect.get(e.value,r,s))},set(n,r,s){return Fe(e.value[r])&&!Fe(s)?e.value[r].value=s:e.value[r]=s,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return gt(t)}function m2(e){return J1(de(e))}const vr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Z1=e=>typeof e<"u",Q1=Object.prototype.toString,eS=e=>Q1.call(e)==="[object Object]",yr=()=>{},tS=nS();function nS(){var e;return vr&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Pm(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Am=e=>e();function Rm(e,t={}){let n,r,s=yr;const o=a=>{clearTimeout(a),s(),s=yr};return a=>{const l=Ye(e),c=Ye(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{s=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,u(a())},l)})}}function rS(e=Am){const t=K(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Er(t),pause:n,resume:r,eventFilter:s}}function sS(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const oS=/-(\w)/g,iS=sS(e=>e.replace(oS,(t,n)=>n?n.toUpperCase():""));function Hf(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function aS(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function lS(e){return Object.entries(e)}function cS(...e){if(e.length!==1)return Yi(...e);const t=e[0];return typeof t=="function"?Er(Xh(()=>({get:t,set:yr}))):K(t)}function uS(e,t=200,n={}){return Pm(Rm(t,n),e)}function fS(e,t=200,n={}){const r=K(e.value),s=uS(()=>{r.value=e.value},t,n);return Be(e,()=>s()),r}function $m(e,t,n={}){const{eventFilter:r=Am,...s}=n;return Be(e,Pm(r,t),s)}function dS(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:a,isActive:l}=rS(r);return{stop:$m(e,t,{...s,eventFilter:o}),pause:i,resume:a,isActive:l}}function hS(e,t={}){if(!Fe(e))return gy(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Xh(()=>({get(){return e.value[r]},set(s){var o;if((o=Ye(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=s,e.value=a}else{const a={...e.value,[r]:s};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=s}}));return n}function hs(e,t=!0){on()?Sn(e):t?e():kt(e)}function jl(e,t=!1){function n(f,{flush:d="sync",deep:p=!1,timeout:h,throwOnTimeout:g}={}){let b=null;const _=[new Promise(y=>{b=Be(e,v=>{f(v)!==t&&(b?.(),y(v))},{flush:d,deep:p,immediate:!0})})];return h!=null&&_.push(Hf(h,g).then(()=>Ye(e)).finally(()=>b?.())),Promise.race(_)}function r(f,d){if(!Fe(f))return n(v=>v===f,d);const{flush:p="sync",deep:h=!1,timeout:g,throwOnTimeout:b}=d??{};let S=null;const y=[new Promise(v=>{S=Be([e,f],([E,m])=>{t!==(E===m)&&(S?.(),v(E))},{flush:p,deep:h,immediate:!0})})];return g!=null&&y.push(Hf(g,b).then(()=>Ye(e)).finally(()=>(S?.(),Ye(e)))),Promise.race(y)}function s(f){return n(d=>!!d,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(p=>{const h=Array.from(p);return h.includes(f)||h.includes(Ye(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let p=-1;return n(()=>(p+=1,p>=f),d)}return Array.isArray(Ye(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return jl(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return jl(e,!t)}}}function pS(e){return jl(e)}const mS=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,gS=/[YMDHhms]o|\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function vS(e,t,n,r){let s=e<12?"AM":"PM";return r&&(s=s.split("").reduce((o,i)=>o+=`${i}.`,"")),n?s.toLowerCase():s}function Jn(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function yS(e,t,n={}){var r;const s=e.getFullYear(),o=e.getMonth(),i=e.getDate(),a=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),u=e.getMilliseconds(),f=e.getDay(),d=(r=n.customMeridiem)!=null?r:vS,p={Yo:()=>Jn(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>o+1,Mo:()=>Jn(o+1),MM:()=>`${o+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(i),Do:()=>Jn(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(a),Ho:()=>Jn(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>Jn(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>Jn(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>Jn(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${u}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>d(a,l),AA:()=>d(a,l,!1,!0),a:()=>d(a,l,!0),aa:()=>d(a,l,!0,!0)};return t.replace(gS,(h,g)=>{var b,S;return(S=g??((b=p[h])==null?void 0:b.call(p)))!=null?S:h})}function _S(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(mS);if(t){const n=t[2]-1||0,r=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,r)}}return new Date(e)}function g2(e,t="HH:mm:ss",n={}){return de(()=>yS(_S(Ye(e)),Ye(t),n))}function bS(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=K(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const u=Ye(t);u<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,u))}if(r&&vr&&c(),Fe(t)||typeof t=="function"){const u=Be(t,()=>{i.value&&vr&&c()});_n(u)}return _n(l),{isActive:i,pause:l,resume:c}}function wS(e,t,n={}){const{immediate:r=!0}=n,s=K(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},Ye(t))}return r&&(s.value=!0,vr&&l()),_n(a),{isPending:Er(s),start:l,stop:a}}function v2(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return $m(e,t,{...o,eventFilter:Rm(r,{maxWait:s})})}function y2(e,t,n){let r;Fe(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=yr}=r,l=K(!s),c=i?Ht(t):K(t);let u=0;return Gr(async f=>{if(!l.value)return;u++;const d=u;let p=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const h=await e(g=>{f(()=>{o&&(o.value=!1),p||g()})});d===u&&(c.value=h)}catch(h){a(h)}finally{o&&d===u&&(o.value=!1),p=!0}}),s?de(()=>(l.value=!0,c.value)):c}function _2(e={}){const{inheritAttrs:t=!0}=e,n=Ht(),r=Ce({setup(o,{slots:i}){return()=>{n.value=i.default}}}),s=Ce({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...SS(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return Y1({define:r,reuse:s},[r,s])}function SS(e){const t={};for(const n in e)t[iS(n)]=e[n];return t}function qc(e={}){let t=0;const n=K([]);function r(...i){const a=is({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Ce((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return Je(Le,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>Je(Y_,e.transition,l):l});return o.start=s,o}function ht(e){var t;const n=Ye(e);return(t=n?.$el)!=null?t:n}const Et=vr?window:void 0,ES=vr?window.document:void 0,Nm=vr?window.navigator:void 0;function wt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Et):[t,n,r,s]=e,!t)return yr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=Be(()=>[ht(t),Ye(s)],([u,f])=>{if(i(),!u)return;const d=eS(f)?{...f}:f;o.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return _n(c),c}let Uf=!1;function Kc(e,t,n={}){const{window:r=Et,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;tS&&!Uf&&(Uf=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",yr)),r.document.documentElement.addEventListener("click",yr));let a=!0;const l=d=>s.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(h=>h===d.target||d.composedPath().includes(h));{const h=ht(p);return h&&(d.target===h||d.composedPath().includes(h))}}),u=[wt(r,"click",d=>{const p=ht(e);if(!(!p||p===d.target||d.composedPath().includes(p))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:o}),wt(r,"pointerdown",d=>{const p=ht(e);a=!l(d)&&!!(p&&!d.composedPath().includes(p))},{passive:!0}),i&&wt(r,"blur",d=>{setTimeout(()=>{var p;const h=ht(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!h?.contains(r.document.activeElement)&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function xS(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function TS(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Et,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=xS(t);return wt(s,o,u=>{u.repeat&&Ye(a)||l(u)&&n(u)},i)}function b2(e,t,n={}){return TS(e,t,{...n,eventName:"keydown"})}function CS(){const e=K(!1);return on()&&Sn(()=>{e.value=!0}),e}function ua(e){const t=CS();return de(()=>(t.value,!!e()))}function kS(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=Et}=t,o=K(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!o.value||!s)return;const p=d-(a||d);if(i&&p<i){l=s.requestAnimationFrame(c);return}e({delta:p,timestamp:d}),a=d,l=s.requestAnimationFrame(c)}function u(){!o.value&&s&&(o.value=!0,l=s.requestAnimationFrame(c))}function f(){o.value=!1,l!=null&&s&&(s.cancelAnimationFrame(l),l=null)}return n&&u(),_n(f),{isActive:Er(o),pause:f,resume:u}}function Om(e,t={}){const{window:n=Et}=t,r=ua(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=K(!1),i=c=>{o.value=c.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},l=Gr(()=>{r.value&&(a(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return _n(()=>{l(),a(),s=void 0}),o}const Vf=["hash","host","hostname","href","pathname","port","protocol","search"];function w2(e={}){const{window:t=Et}=e,n=Object.fromEntries(Vf.map(o=>[o,K()]));for(const[o,i]of lS(n))Be(i,a=>{!t?.location||t.location[o]===a||(t.location[o]=a)});const r=o=>{var i;const{state:a,length:l}=t?.history||{},{origin:c}=t?.location||{};for(const u of Vf)n[u].value=(i=t?.location)==null?void 0:i[u];return gt({trigger:o,state:a,length:l,origin:c,...n})},s=K(r("load"));return t&&(wt(t,"popstate",()=>s.value=r("popstate"),{passive:!0}),wt(t,"hashchange",()=>s.value=r("hashchange"),{passive:!0})),s}function Wf(e,t={}){const{controls:n=!1,navigator:r=Nm}=t,s=ua(()=>r&&"permissions"in r);let o;const i=typeof e=="string"?{name:e}:e,a=K(),l=()=>{o&&(a.value=o.state)},c=aS(async()=>{if(s.value){if(!o)try{o=await r.permissions.query(i),wt(o,"change",l),l()}catch{a.value="prompt"}return o}});return c(),n?{state:a,isSupported:s,query:c}:a}function PS(e={}){const{navigator:t=Nm,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=ua(()=>t&&"clipboard"in t),a=Wf("clipboard-read"),l=Wf("clipboard-write"),c=de(()=>i.value||o),u=K(""),f=K(!1),d=wS(()=>f.value=!1,s);function p(){i.value&&a.value!=="denied"?t.clipboard.readText().then(S=>{u.value=S}):u.value=b()}c.value&&n&&wt(["copy","cut"],p);async function h(S=Ye(r)){c.value&&S!=null&&(i.value&&l.value!=="denied"?await t.clipboard.writeText(S):g(S),u.value=S,f.value=!0,d.start())}function g(S){const _=document.createElement("textarea");_.value=S??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function b(){var S,_,y;return(y=(_=(S=document?.getSelection)==null?void 0:S.call(document))==null?void 0:_.toString())!=null?y:""}return{isSupported:c,text:u,copied:f,copy:h}}function AS(e){return JSON.parse(JSON.stringify(e))}const Ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xo="__vueuse_ssr_handlers__",RS=$S();function $S(){return Xo in Ko||(Ko[Xo]=Ko[Xo]||{}),Ko[Xo]}function Im(e,t){return RS[e]||t}function NS(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 OS={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()}},Gf="vueuse-storage";function Xc(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Et,eventFilter:d,onError:p=w=>{console.error(w)},initOnMounted:h}=r,g=(u?Ht:K)(typeof t=="function"?t():t);if(!n)try{n=Im("getDefaultStorage",()=>{var w;return(w=Et)==null?void 0:w.localStorage})()}catch(w){p(w)}if(!n)return g;const b=Ye(t),S=NS(b),_=(s=r.serializer)!=null?s:OS[S],{pause:y,resume:v}=dS(g,()=>E(g.value),{flush:o,deep:i,eventFilter:d});return f&&a&&hs(()=>{wt(f,"storage",T),wt(f,Gf,k),h&&T()}),h||T(),g;function E(w){try{if(w==null)n.removeItem(e);else{const C=_.write(w),A=n.getItem(e);A!==C&&(n.setItem(e,C),f&&f.dispatchEvent(new CustomEvent(Gf,{detail:{key:e,oldValue:A,newValue:C,storageArea:n}})))}}catch(C){p(C)}}function m(w){const C=w?w.newValue:n.getItem(e);if(C==null)return l&&b!==null&&n.setItem(e,_.write(b)),b;if(!w&&c){const A=_.read(C);return typeof c=="function"?c(A,b):S==="object"&&!Array.isArray(A)?{...b,...A}:A}else return typeof C!="string"?C:_.read(C)}function k(w){T(w.detail)}function T(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){g.value=b;return}if(!(w&&w.key!==e)){y();try{w?.newValue!==_.write(g.value)&&(g.value=m(w))}catch(C){p(C)}finally{w?kt(v):v()}}}}}function IS(e){return Om("(prefers-color-scheme: dark)",e)}function LS(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Et,storage:o,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=IS({window:s}),p=de(()=>d.value?"dark":"light"),h=l||(i==null?cS(r):Xc(i,r,o,{window:s,listenToStorageChanges:a})),g=de(()=>h.value==="auto"?p.value:h.value),b=Im("updateHTMLAttrs",(v,E,m)=>{const k=typeof v=="string"?s?.document.querySelector(v):ht(v);if(!k)return;let T;if(u){T=s.document.createElement("style");const w="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";T.appendChild(document.createTextNode(w)),s.document.head.appendChild(T)}if(E==="class"){const w=m.split(/\s/g);Object.values(f).flatMap(C=>(C||"").split(/\s/g)).filter(Boolean).forEach(C=>{w.includes(C)?k.classList.add(C):k.classList.remove(C)})}else k.setAttribute(E,m);u&&(s.getComputedStyle(T).opacity,document.head.removeChild(T))});function S(v){var E;b(t,n,(E=f[v])!=null?E:v)}function _(v){e.onChanged?e.onChanged(v,S):S(v)}Be(g,_,{flush:"post",immediate:!0}),hs(()=>_(g.value));const y=de({get(){return c?h.value:g.value},set(v){h.value=v}});try{return Object.assign(y,{store:h,system:p,state:g})}catch{return y}}function Lm(e,t,n={}){const{window:r=Et,...s}=n;let o;const i=ua(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=de(()=>Array.isArray(e)?e.map(f=>ht(f)):[ht(e)]),c=Be(l,f=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{a(),c()};return _n(u),{isSupported:i,stop:u}}function S2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=K(0),a=K(0),l=K(0),c=K(0),u=K(0),f=K(0),d=K(0),p=K(0);function h(){const g=ht(e);if(!g){n&&(i.value=0,a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,p.value=0);return}const b=g.getBoundingClientRect();i.value=b.height,a.value=b.bottom,l.value=b.left,c.value=b.right,u.value=b.top,f.value=b.width,d.value=b.x,p.value=b.y}return Lm(e,h),Be(()=>ht(e),g=>!g&&h()),s&&wt("scroll",h,{capture:!0,passive:!0}),r&&wt("resize",h,{passive:!0}),hs(()=>{o&&h()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:p,update:h}}function E2(e,t={width:0,height:0},n={}){const{window:r=Et,box:s="content-box"}=n,o=de(()=>{var f,d;return(d=(f=ht(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=K(t.width),a=K(t.height),{stop:l}=Lm(e,([f])=>{const d=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const p=ht(e);if(p){const h=r.getComputedStyle(p);i.value=Number.parseFloat(h.width),a.value=Number.parseFloat(h.height)}}else if(d){const p=Array.isArray(d)?d:[d];i.value=p.reduce((h,{inlineSize:g})=>h+g,0),a.value=p.reduce((h,{blockSize:g})=>h+g,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);hs(()=>{const f=ht(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=Be(()=>ht(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}}function ps(e,t,n={}){const{window:r=Et}=n;return Xc(e,t,r?.localStorage,n)}function MS(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=K(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?kS(s,{immediate:!0}):bS(s,n,{immediate:!0});return t?{now:r,...o}:r}function DS(e,t,n={}){const{window:r=Et}=n;return Xc(e,t,r?.sessionStorage,n)}let FS=0;function x2(e,t={}){const n=K(!1),{document:r=ES,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++FS}`}=t,a=K(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=Be(a,d=>{f.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&hs(c),o||_n(u),{id:i,css:a,unload:u,load:c,isLoaded:Er(n)}}const BS=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],jS={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function zS(e){return e.toISOString().slice(0,10)}function T2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...o}=MS({interval:r,controls:!0}),i=de(()=>HS(new Date(Ye(e)),t,Ye(s)));return n?{timeAgo:i,...o}:i}function HS(e,t={},n=Date.now()){var r;const{max:s,messages:o=jS,fullDateFormatter:i=zS,units:a=BS,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?b=>+b.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function p(b,S){return u(Math.abs(b)/S.value)}function h(b,S){const _=p(b,S),y=b>0,v=g(S.name,_,y);return g(y?"past":"future",v,y)}function g(b,S,_){const y=o[b];return typeof y=="function"?y(S,_):y.replace("{0}",S.toString())}if(d<6e4&&!l)return o.justNow;if(typeof s=="number"&&d>s)return i(new Date(e));if(typeof s=="string"){const b=(r=a.find(S=>S.name===s))==null?void 0:r.max;if(b&&d>b)return i(new Date(e))}for(const[b,S]of a.entries()){if(p(f,S)<=0&&a[b-1])return h(f,a[b-1]);if(d<S.max)return h(f,S)}return o.invalid}function Mm(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=on(),h=n||p?.emit||((s=p?.$emit)==null?void 0:s.bind(p))||((i=(o=p?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(p?.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const b=y=>a?typeof a=="function"?a(y):AS(y):y,S=()=>Z1(e[t])?b(e[t]):f,_=y=>{d?d(y)&&h(g,y):h(g,y)};if(l){const y=S(),v=K(y);let E=!1;return Be(()=>e[t],m=>{E||(E=!0,v.value=b(m),kt(()=>E=!1))}),Be(v,m=>{!E&&(m!==e[t]||u)&&_(m)},{deep:u}),v}else return de({get(){return S()},set(y){_(y)}})}function Dm(e={}){const{window:t=Et,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=K(n),a=K(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),hs(l),wt("resize",l,{passive:!0}),s){const c=Om("(orientation: portrait)");Be(c,()=>l())}return{width:i,height:a}}function US(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const VS=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function WS(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const qf=function(...e){e=e.map(r=>US(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:WS();!s||s.length===0||(t=`${s}/${t}`,n=Kf(s))}return t=GS(t,!n),n&&!Kf(t)?`/${t}`:t.length>0?t:"."};function GS(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Kf=function(e){return VS.test(e)},qS=function(e,t){const n=qf(e).split("/"),r=qf(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function C2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Yc(e)}function Yc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function KS(e){if(Yc(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function XS(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function k2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function P2(e,t){if(e=e.replace(/\\/g,"/"),Yc(e))return{moduleName:e,path:e};const n=KS(e),r=XS(e);if(n&&r)return{moduleName:n,path:r};try{let s=qS(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function vt(e,t,n){const r=Me(),s=r.payload.unique=r.payload.unique||{};return s[e]||(s[e]=km(e,t,n)),s[e].data}function A2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Xf={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function R2(e){return Xf[e.toLowerCase()]||Xf.default}function $2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function N2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function O2(e,t=65,n=50,r=1){let s=0;for(let i=0;i<e.length;i++)s=e.charCodeAt(i)+((s<<5)-s);return`hsla(${s%360}, ${t}%, ${n}%, ${r})`}function fa(e,t){return ds(e,()=>DS(e,t,{listenToStorageChanges:!1}))}function I2(e,t){const n=t?.find(s=>s.id===e.filePath)?.deps?.map(s=>t?.find(o=>o.id===s)?.id).filter(Boolean),r=t?.filter(s=>s.deps.includes(e.filePath)).map(s=>s.id);return{component:e,dependencies:n,dependents:r}}function L2(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}const YS=6e4;function Fm(e){return e}const JS=Fm,{clearTimeout:ZS,setTimeout:QS}=globalThis,eE=Math.random.bind(Math);function tE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Fm,deserialize:i=JS,resolver:a,timeout:l=YS}=t,c=new Map;let u;const f=new Proxy({},{get(d,p){if(p==="$functions")return e;const h=(...b)=>{n(o({m:p,a:b,t:"q"}))};if(s.includes(p))return h.asEvent=h,h;const g=async(...b)=>(await u,new Promise((S,_)=>{const y=rE();let v;l>=0&&(v=QS(()=>{_(new Error(`[birpc] timeout on calling "${p}"`)),c.delete(y)},l).unref?.()),c.set(y,{resolve:S,reject:_,timeoutId:v}),n(o({m:p,a:b,i:y,t:"q"}))}));return g.asEvent=h,g}});return u=r(async(d,...p)=>{const h=i(d);if(h.t==="q"){const{m:g,a:b}=h;let S,_;const y=a?a(g,e[g]):e[g];if(!y)_=new Error(`[birpc] function "${g}" not found`);else try{S=await y.apply(f,b)}catch(v){_=v}h.i&&(_&&t.onError&&t.onError(_,g,b),n(o({t:"s",i:h.i,r:S,e:_}),...p))}else{const{i:g,r:b,e:S}=h,_=c.get(g);_&&(ZS(_.timeoutId),S?_.reject(S):_.resolve(b)),c.delete(g)}}),f}const nE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function rE(e=21){let t="",n=e;for(;n--;)t+=nE[eE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:sE,stringify:oE}=JSON,{keys:iE}=Object,bo=String,Bm="string",Yf={},Ii="object",jm=(e,t)=>t,aE=e=>e instanceof bo?bo(e):e,lE=(e,t)=>typeof t===Bm?new bo(t):t,zm=(e,t,n,r)=>{const s=[];for(let o=iE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof bo){const u=e[c];typeof u===Ii&&!t.has(u)?(t.add(u),n[l]=Yf,s.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==Yf&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,zm.apply(null,l))}return n},Jf=(e,t,n)=>{const r=bo(t.push(n)-1);return e.set(n,r),r},cE=(e,t)=>{const n=sE(e,lE).map(aE),r=n[0],s=t||jm,o=typeof r===Ii&&r?zm(n,new Set,r,s):r;return s.call({"":o},"",o)},uE=(e,t,n)=>{const r=t&&typeof t===Ii?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||jm,s=new Map,o=[],i=[];let a=+Jf(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=oE(o[a++],c,n);return"["+i.join(",")+"]";function c(u,f){if(l)return l=!l,f;const d=r.call(this,u,f);switch(typeof d){case Ii:if(d===null)return d;case Bm:return s.get(d)||Jf(s,o,d)}return d}};async function fE(e="/",t=!0){try{const n=`${e}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await we(()=>import(n),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function dE(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function hE(e="/___",t){t=t??dE();for(const n of t){const s=(await fE(n,!1))?.createHotContext(e);if(s)return s}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const Hm="nuxt:devtools:rpc",di=K(!1),M2=K(),pE=fS(di,2e3),mE=gE();let Um=()=>{};const Vm={},Wm=new Map,Pe=tE(Vm,{post:async e=>{(await mE).send(Hm,e)},on:e=>{Um=e},serialize:uE,deserialize:cE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Wm.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function gE(){let e=window.parent?.__NUXT__?.config?.app?.baseURL;const t=window.parent?.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=await hE(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw new Error("Unable to connect to devtools");return n.on(Hm,r=>{Um(r)}),di.value=!0,n.on("vite:ws:connect",()=>{di.value=!1}),n.on("vite:ws:disconnect",()=>{di.value=!0}),n}let Gm;function Jc(e){Gm?.(e)}function vE(e){Gm=e}const D2=qc(),qm=qc();function yE(){return ds("devtools:restart-dialogs",()=>[])}var _E=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function F2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var zl={exports:{}};(function(e,t){(function(n,r){var s="1.0.37",o="",i="?",a="function",l="undefined",c="object",u="string",f="major",d="model",p="name",h="type",g="vendor",b="version",S="architecture",_="console",y="mobile",v="tablet",E="smarttv",m="wearable",k="embedded",T=500,w="Amazon",C="Apple",A="ASUS",x="BlackBerry",P="Browser",R="Chrome",L="Edge",I="Firefox",F="Google",D="Huawei",U="LG",ee="Microsoft",re="Motorola",oe="Opera",he="Samsung",ue="Sharp",Se="Sony",$e="Xiaomi",O="Zebra",J="Facebook",V="Chromium OS",ce="Mac OS",xe=function(te,le){var se={};for(var pe in te)le[pe]&&le[pe].length%2===0?se[pe]=le[pe].concat(te[pe]):se[pe]=te[pe];return se},$=function(te){for(var le={},se=0;se<te.length;se++)le[te[se].toUpperCase()]=te[se];return le},N=function(te,le){return typeof te===u?M(le).indexOf(M(te))!==-1:!1},M=function(te){return te.toLowerCase()},B=function(te){return typeof te===u?te.replace(/[^\d\.]/g,o).split(".")[0]:r},j=function(te,le){if(typeof te===u)return te=te.replace(/^\s\s*/,o),typeof le===l?te:te.substring(0,T)},H=function(te,le){for(var se=0,pe,Ie,We,ke,ve,it;se<le.length&&!ve;){var kr=le[se],at=le[se+1];for(pe=Ie=0;pe<kr.length&&!ve&&kr[pe];)if(ve=kr[pe++].exec(te),ve)for(We=0;We<at.length;We++)it=ve[++Ie],ke=at[We],typeof ke===c&&ke.length>0?ke.length===2?typeof ke[1]==a?this[ke[0]]=ke[1].call(this,it):this[ke[0]]=ke[1]:ke.length===3?typeof ke[1]===a&&!(ke[1].exec&&ke[1].test)?this[ke[0]]=it?ke[1].call(this,it,ke[2]):r:this[ke[0]]=it?it.replace(ke[1],ke[2]):r:ke.length===4&&(this[ke[0]]=it?ke[3].call(this,it.replace(ke[1],ke[2])):r):this[ke]=it||r;se+=2}},ne=function(te,le){for(var se in le)if(typeof le[se]===c&&le[se].length>0){for(var pe=0;pe<le[se].length;pe++)if(N(le[se][pe],te))return se===i?r:se}else if(N(le[se],te))return se===i?r:se;return te},G={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,b],[/opios[\/ ]+([\w\.]+)/i],[b,[p,oe+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[p,oe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[b,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[p,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[b,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[b,[p,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+P],b],[/\bfocus\/([\w\.]+)/i],[b,[p,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[p,oe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[p,oe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[p,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[b,[p,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+P],b],[/samsungbrowser\/([\w\.]+)/i],[b,[p,he+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],b],[/metasr[\/ ]?([\d\.]+)/i],[b,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,b],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,J],b],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[p,R+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,R+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[p,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[b,ne,G]],[/(webkit|khtml)\/([\w\.]+)/i],[p,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[p,I+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,b],[/(cobalt)\/([\w\.]+)/i],[p,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,M]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,o,M]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,M]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[g,he],[h,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[g,he],[h,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[g,C],[h,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[g,C],[h,v]],[/(macintosh);/i],[d,[g,C]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[g,ue],[h,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[g,D],[h,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[g,D],[h,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[g,$e],[h,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[g,$e],[h,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[g,"OPPO"],[h,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[g,"Vivo"],[h,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[g,"Realme"],[h,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[g,re],[h,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[g,re],[h,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[g,U],[h,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[g,U],[h,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[g,"Lenovo"],[h,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[g,"Nokia"],[h,y]],[/(pixel c)\b/i],[d,[g,F],[h,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[g,F],[h,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[g,Se],[h,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[g,Se],[h,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[g,"OnePlus"],[h,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[g,w],[h,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[g,w],[h,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,g,[h,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[g,x],[h,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[g,A],[h,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[g,A],[h,y]],[/(nexus 9)/i],[d,[g,"HTC"],[h,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[d,/_/g," "],[h,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[g,"Acer"],[h,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[g,"Meizu"],[h,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[g,"Ulefone"],[h,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,d,[h,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[g,d,[h,v]],[/(surface duo)/i],[d,[g,ee],[h,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[g,"Fairphone"],[h,y]],[/(u304aa)/i],[d,[g,"AT&T"],[h,y]],[/\bsie-(\w*)/i],[d,[g,"Siemens"],[h,y]],[/\b(rct\w+) b/i],[d,[g,"RCA"],[h,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[g,"Dell"],[h,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[g,"Verizon"],[h,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[g,"Barnes & Noble"],[h,v]],[/\b(tm\d{3}\w+) b/i],[d,[g,"NuVision"],[h,v]],[/\b(k88) b/i],[d,[g,"ZTE"],[h,v]],[/\b(nx\d{3}j) b/i],[d,[g,"ZTE"],[h,y]],[/\b(gen\d{3}) b.+49h/i],[d,[g,"Swiss"],[h,y]],[/\b(zur\d{3}) b/i],[d,[g,"Swiss"],[h,v]],[/\b((zeki)?tb.*\b) b/i],[d,[g,"Zeki"],[h,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],d,[h,v]],[/\b(ns-?\w{0,9}) b/i],[d,[g,"Insignia"],[h,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[g,"NextBook"],[h,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],d,[h,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],d,[h,y]],[/\b(ph-1) /i],[d,[g,"Essential"],[h,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[g,"Envizen"],[h,v]],[/\b(trio[-\w\. ]+) b/i],[d,[g,"MachSpeed"],[h,v]],[/\btu_(1491) b/i],[d,[g,"Rotor"],[h,v]],[/(shield[\w ]+) b/i],[d,[g,"Nvidia"],[h,v]],[/(sprint) (\w+)/i],[g,d,[h,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[g,ee],[h,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[g,O],[h,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[g,O],[h,y]],[/smart-tv.+(samsung)/i],[g,[h,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[g,he],[h,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,U],[h,E]],[/(apple) ?tv/i],[g,[d,C+" TV"],[h,E]],[/crkey/i],[[d,R+"cast"],[g,F],[h,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[g,w],[h,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[g,ue],[h,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[g,Se],[h,E]],[/(mitv-\w{5}) bui/i],[d,[g,$e],[h,E]],[/Hbbtv.*(technisat) (.*);/i],[g,d,[h,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,j],[d,j],[h,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,d,[h,_]],[/droid.+; (shield) bui/i],[d,[g,"Nvidia"],[h,_]],[/(playstation [345portablevi]+)/i],[d,[g,Se],[h,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[g,ee],[h,_]],[/((pebble))app/i],[g,d,[h,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[g,C],[h,m]],[/droid.+; (glass) \d/i],[d,[g,F],[h,m]],[/droid.+; (wt63?0{2,3})\)/i],[d,[g,O],[h,m]],[/(quest( 2| pro)?)/i],[d,[g,J],[h,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[h,k]],[/(aeobc)\b/i],[d,[g,w],[h,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[p,L+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,b],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[b,ne,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,ne,X],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,ce],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,b],[/\(bb(10);/i],[b,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[p,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[p,R+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,V],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,b],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,b]]},ie=function(te,le){if(typeof te===c&&(le=te,te=r),!(this instanceof ie))return new ie(te,le).getResult();var se=typeof n!==l&&n.navigator?n.navigator:r,pe=te||(se&&se.userAgent?se.userAgent:o),Ie=se&&se.userAgentData?se.userAgentData:r,We=le?xe(W,le):W,ke=se&&se.userAgent==pe;return this.getBrowser=function(){var ve={};return ve[p]=r,ve[b]=r,H.call(ve,pe,We.browser),ve[f]=B(ve[b]),ke&&se&&se.brave&&typeof se.brave.isBrave==a&&(ve[p]="Brave"),ve},this.getCPU=function(){var ve={};return ve[S]=r,H.call(ve,pe,We.cpu),ve},this.getDevice=function(){var ve={};return ve[g]=r,ve[d]=r,ve[h]=r,H.call(ve,pe,We.device),ke&&!ve[h]&&Ie&&Ie.mobile&&(ve[h]=y),ke&&ve[d]=="Macintosh"&&se&&typeof se.standalone!==l&&se.maxTouchPoints&&se.maxTouchPoints>2&&(ve[d]="iPad",ve[h]=v),ve},this.getEngine=function(){var ve={};return ve[p]=r,ve[b]=r,H.call(ve,pe,We.engine),ve},this.getOS=function(){var ve={};return ve[p]=r,ve[b]=r,H.call(ve,pe,We.os),ke&&!ve[p]&&Ie&&Ie.platform!="Unknown"&&(ve[p]=Ie.platform.replace(/chrome os/i,V).replace(/macos/i,ce)),ve},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return pe},this.setUA=function(ve){return pe=typeof ve===u&&ve.length>T?j(ve,T):ve,this},this.setUA(pe),this};ie.VERSION=s,ie.BROWSER=$([p,b,f]),ie.CPU=$([S]),ie.DEVICE=$([d,g,h,_,y,E,v,m,k]),ie.ENGINE=ie.OS=$([p,b]),e.exports&&(t=e.exports=ie),t.UAParser=ie;var ae=typeof n!==l&&(n.jQuery||n.Zepto);if(ae&&!ae.ua){var fe=new ie;ae.ua=fe.getResult(),ae.ua.get=function(){return fe.getUA()},ae.ua.set=function(te){fe.setUA(te);var le=fe.getResult();for(var se in le)ae.ua[se]=le[se]}}})(typeof window=="object"?window:_E)})(zl,zl.exports);var wE=zl.exports;const ft=K(localStorage.getItem("__nuxt_dev_token__")),bt=K(!1),Km=new BroadcastChannel("__nuxt_dev_token__");Km.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===ft.value)return;const t=e.data.data;Pe.verifyAuthToken(t).then(n=>{ft.value=n?t:null,bt.value=n})}});function SE(e){ft.value=e,bt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Km.postMessage({event:"new-token",data:e})}async function EE(){if(bt.value)return ft.value;if(ft.value||await Zf(),bt.value=await Pe.verifyAuthToken(ft.value),!bt.value)throw ft.value=null,Jc({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await Zf(),new Error("Invalid auth token");return ft.value}const Zt=new wE.UAParser(navigator.userAgent).getResult();async function Xm(){const e=[Zt.browser.name,Zt.browser.version,"|",Zt.os.name,Zt.os.version,Zt.device.type].filter(t=>t).join(" ");return await Pe.requestForAuth(e,window.location.origin)}async function Zf(){if(ft.value||Xm(),await Promise.race([qm.start(),pS(ft.value).toBeTruthy()])===!1)throw Jc({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var Hl={exports:{}};const xE="2.0.0",Ym=256,TE=Number.MAX_SAFE_INTEGER||9007199254740991,CE=16,kE=Ym-6,PE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var da={MAX_LENGTH:Ym,MAX_SAFE_COMPONENT_LENGTH:CE,MAX_SAFE_BUILD_LENGTH:kE,MAX_SAFE_INTEGER:TE,RELEASE_TYPES:PE,SEMVER_SPEC_VERSION:xE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const AE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var ha=AE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=da,o=ha;t=e.exports={};const i=t.re=[],a=t.safeRe=[],l=t.src=[],c=t.t={};let u=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",s],[f,r]],p=g=>{for(const[b,S]of d)g=g.split(`${b}*`).join(`${b}{0,${S}}`).split(`${b}+`).join(`${b}{1,${S}}`);return g},h=(g,b,S)=>{const _=p(b),y=u++;o(g,y,b),c[g]=y,l[y]=b,i[y]=new RegExp(b,S?"g":void 0),a[y]=new RegExp(_,S?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),h("FULL",`^${l[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),h("LOOSE",`^${l[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),h("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",l[c.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Hl,Hl.exports);var Ro=Hl.exports;const RE=Object.freeze({loose:!0}),$E=Object.freeze({}),NE=e=>e?typeof e!="object"?RE:e:$E;var Zc=NE;const Qf=/^[0-9]+$/,Jm=(e,t)=>{const n=Qf.test(e),r=Qf.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},OE=(e,t)=>Jm(t,e);var Zm={compareIdentifiers:Jm,rcompareIdentifiers:OE};const Yo=ha,{MAX_LENGTH:ed,MAX_SAFE_INTEGER:Jo}=da,{safeRe:td,t:nd}=Ro,IE=Zc,{compareIdentifiers:Ar}=Zm;let LE=class qt{constructor(t,n){if(n=IE(n),t instanceof qt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>ed)throw new TypeError(`version is longer than ${ed} characters`);Yo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?td[nd.LOOSE]:td[nd.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Jo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Jo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Jo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<Jo)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Yo("SemVer.compare",this.version,this.options,t),!(t instanceof qt)){if(typeof t=="string"&&t===this.version)return 0;t=new qt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof qt||(t=new qt(t,this.options)),Ar(this.major,t.major)||Ar(this.minor,t.minor)||Ar(this.patch,t.patch)}comparePre(t){if(t instanceof qt||(t=new qt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(Yo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Ar(r,s)}while(++n)}compareBuild(t){t instanceof qt||(t=new qt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Yo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Ar(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Ar(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var yt=LE;const rd=yt,ME=(e,t,n=!1)=>{if(e instanceof rd)return e;try{return new rd(e,t)}catch(r){if(!n)return null;throw r}};var ms=ME;const DE=ms,FE=(e,t)=>{const n=DE(e,t);return n?n.version:null};var BE=FE;const jE=ms,zE=(e,t)=>{const n=jE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var HE=zE;const sd=yt,UE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new sd(e instanceof sd?e.version:e,n).inc(t,r,s).version}catch{return null}};var VE=UE;const od=ms,WE=(e,t)=>{const n=od(e,null,!0),r=od(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const u=l?"pre":"";return n.major!==r.major?u+"major":n.minor!==r.minor?u+"minor":n.patch!==r.patch?u+"patch":"prerelease"};var GE=WE;const qE=yt,KE=(e,t)=>new qE(e,t).major;var XE=KE;const YE=yt,JE=(e,t)=>new YE(e,t).minor;var ZE=JE;const QE=yt,ex=(e,t)=>new QE(e,t).patch;var tx=ex;const nx=ms,rx=(e,t)=>{const n=nx(e,t);return n&&n.prerelease.length?n.prerelease:null};var sx=rx;const id=yt,ox=(e,t,n)=>new id(e,n).compare(new id(t,n));var Vt=ox;const ix=Vt,ax=(e,t,n)=>ix(t,e,n);var lx=ax;const cx=Vt,ux=(e,t)=>cx(e,t,!0);var fx=ux;const ad=yt,dx=(e,t,n)=>{const r=new ad(e,n),s=new ad(t,n);return r.compare(s)||r.compareBuild(s)};var Qc=dx;const hx=Qc,px=(e,t)=>e.sort((n,r)=>hx(n,r,t));var mx=px;const gx=Qc,vx=(e,t)=>e.sort((n,r)=>gx(r,n,t));var yx=vx;const _x=Vt,bx=(e,t,n)=>_x(e,t,n)>0;var pa=bx;const wx=Vt,Sx=(e,t,n)=>wx(e,t,n)<0;var eu=Sx;const Ex=Vt,xx=(e,t,n)=>Ex(e,t,n)===0;var Qm=xx;const Tx=Vt,Cx=(e,t,n)=>Tx(e,t,n)!==0;var eg=Cx;const kx=Vt,Px=(e,t,n)=>kx(e,t,n)>=0;var tu=Px;const Ax=Vt,Rx=(e,t,n)=>Ax(e,t,n)<=0;var nu=Rx;const $x=Qm,Nx=eg,Ox=pa,Ix=tu,Lx=eu,Mx=nu,Dx=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return $x(e,n,r);case"!=":return Nx(e,n,r);case">":return Ox(e,n,r);case">=":return Ix(e,n,r);case"<":return Lx(e,n,r);case"<=":return Mx(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var tg=Dx;const Fx=yt,Bx=ms,{safeRe:Zo,t:Qo}=Ro,jx=(e,t)=>{if(e instanceof Fx)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Zo[Qo.COERCE]);else{let r;for(;(r=Zo[Qo.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Zo[Qo.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Zo[Qo.COERCERTL].lastIndex=-1}return n===null?null:Bx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var zx=jx,Ha,ld;function Hx(){return ld||(ld=1,Ha=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Ha}var Ux=De;De.Node=_r;De.create=De;function De(e){var t=this;if(t instanceof De||(t=new De),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}De.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};De.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};De.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};De.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Wx(this,arguments[e]);return this.length};De.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Gx(this,arguments[e]);return this.length};De.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};De.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};De.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};De.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};De.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};De.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};De.prototype.map=function(e,t){t=t||this;for(var n=new De,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};De.prototype.mapReverse=function(e,t){t=t||this;for(var n=new De,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};De.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};De.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};De.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};De.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};De.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new De;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};De.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new De;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};De.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=Vx(this,s,n[r]);return o};De.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function Vx(e,t,n){var r=t===e.head?new _r(n,null,t,e):new _r(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Wx(e,t){e.tail=new _r(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Gx(e,t){e.head=new _r(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function _r(e,t,n,r){if(!(this instanceof _r))return new _r(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{Hx()(De)}catch{}const qx=Ux,sr=Symbol("max"),dn=Symbol("length"),Rr=Symbol("lengthCalculator"),no=Symbol("allowStale"),lr=Symbol("maxAge"),fn=Symbol("dispose"),cd=Symbol("noDisposeOnSet"),et=Symbol("lruList"),Mt=Symbol("cache"),ng=Symbol("updateAgeOnGet"),Ua=()=>1;class Kx{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[sr]=t.max||1/0;const n=t.length||Ua;if(this[Rr]=typeof n!="function"?Ua:n,this[no]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[lr]=t.maxAge||0,this[fn]=t.dispose,this[cd]=t.noDisposeOnSet||!1,this[ng]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[sr]=t||1/0,Es(this)}get max(){return this[sr]}set allowStale(t){this[no]=!!t}get allowStale(){return this[no]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[lr]=t,Es(this)}get maxAge(){return this[lr]}set lengthCalculator(t){typeof t!="function"&&(t=Ua),t!==this[Rr]&&(this[Rr]=t,this[dn]=0,this[et].forEach(n=>{n.length=this[Rr](n.value,n.key),this[dn]+=n.length})),Es(this)}get lengthCalculator(){return this[Rr]}get length(){return this[dn]}get itemCount(){return this[et].length}rforEach(t,n){n=n||this;for(let r=this[et].tail;r!==null;){const s=r.prev;ud(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[et].head;r!==null;){const s=r.next;ud(this,t,r,n),r=s}}keys(){return this[et].toArray().map(t=>t.key)}values(){return this[et].toArray().map(t=>t.value)}reset(){this[fn]&&this[et]&&this[et].length&&this[et].forEach(t=>this[fn](t.key,t.value)),this[Mt]=new Map,this[et]=new qx,this[dn]=0}dump(){return this[et].map(t=>Li(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[et]}set(t,n,r){if(r=r||this[lr],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[Rr](n,t);if(this[Mt].has(t)){if(o>this[sr])return jr(this,this[Mt].get(t)),!1;const l=this[Mt].get(t).value;return this[fn]&&(this[cd]||this[fn](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[dn]+=o-l.length,l.length=o,this.get(t),Es(this),!0}const i=new Xx(t,n,o,s,r);return i.length>this[sr]?(this[fn]&&this[fn](t,n),!1):(this[dn]+=i.length,this[et].unshift(i),this[Mt].set(t,this[et].head),Es(this),!0)}has(t){if(!this[Mt].has(t))return!1;const n=this[Mt].get(t).value;return!Li(this,n)}get(t){return Va(this,t,!0)}peek(t){return Va(this,t,!1)}pop(){const t=this[et].tail;return t?(jr(this,t),t.value):null}del(t){jr(this,this[Mt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Mt].forEach((t,n)=>Va(this,n,!1))}}const Va=(e,t,n)=>{const r=e[Mt].get(t);if(r){const s=r.value;if(Li(e,s)){if(jr(e,r),!e[no])return}else n&&(e[ng]&&(r.value.now=Date.now()),e[et].unshiftNode(r));return s.value}},Li=(e,t)=>{if(!t||!t.maxAge&&!e[lr])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[lr]&&n>e[lr]},Es=e=>{if(e[dn]>e[sr])for(let t=e[et].tail;e[dn]>e[sr]&&t!==null;){const n=t.prev;jr(e,t),t=n}},jr=(e,t)=>{if(t){const n=t.value;e[fn]&&e[fn](n.key,n.value),e[dn]-=n.length,e[Mt].delete(n.key),e[et].removeNode(t)}};class Xx{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const ud=(e,t,n,r)=>{let s=n.value;Li(e,s)&&(jr(e,n),e[no]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var Yx=Kx,Wa,fd;function Wt(){if(fd)return Wa;fd=1;class e{constructor(R,L){if(L=r(L),R instanceof e)return R.loose===!!L.loose&&R.includePrerelease===!!L.includePrerelease?R:new e(R.raw,L);if(R instanceof s)return this.raw=R.value,this.set=[[R]],this.format(),this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=R.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(F=>!h(F[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const F of this.set)if(F.length===1&&g(F[0])){this.set=[F];break}}}this.format()}format(){return this.range=this.set.map(R=>R.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(R){const I=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+R,F=n.get(I);if(F)return F;const D=this.options.loose,U=D?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];R=R.replace(U,A(this.options.includePrerelease)),o("hyphen replace",R),R=R.replace(a[l.COMPARATORTRIM],c),o("comparator trim",R),R=R.replace(a[l.TILDETRIM],u),o("tilde trim",R),R=R.replace(a[l.CARETTRIM],f),o("caret trim",R);let ee=R.split(" ").map(ue=>S(ue,this.options)).join(" ").split(/\s+/).map(ue=>C(ue,this.options));D&&(ee=ee.filter(ue=>(o("loose invalid filter",ue,this.options),!!ue.match(a[l.COMPARATORLOOSE])))),o("range list",ee);const re=new Map,oe=ee.map(ue=>new s(ue,this.options));for(const ue of oe){if(h(ue))return[ue];re.set(ue.value,ue)}re.size>1&&re.has("")&&re.delete("");const he=[...re.values()];return n.set(I,he),he}intersects(R,L){if(!(R instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>b(I,L)&&R.set.some(F=>b(F,L)&&I.every(D=>F.every(U=>D.intersects(U,L)))))}test(R){if(!R)return!1;if(typeof R=="string")try{R=new i(R,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if(x(this.set[L],R,this.options))return!0;return!1}}Wa=e;const t=Yx,n=new t({max:1e3}),r=Zc,s=ma(),o=ha,i=yt,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=Ro,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=da,h=P=>P.value==="<0.0.0-0",g=P=>P.value==="",b=(P,R)=>{let L=!0;const I=P.slice();let F=I.pop();for(;L&&I.length;)L=I.every(D=>F.intersects(D,R)),F=I.pop();return L},S=(P,R)=>(o("comp",P,R),P=E(P,R),o("caret",P),P=y(P,R),o("tildes",P),P=k(P,R),o("xrange",P),P=w(P,R),o("stars",P),P),_=P=>!P||P.toLowerCase()==="x"||P==="*",y=(P,R)=>P.trim().split(/\s+/).map(L=>v(L,R)).join(" "),v=(P,R)=>{const L=R.loose?a[l.TILDELOOSE]:a[l.TILDE];return P.replace(L,(I,F,D,U,ee)=>{o("tilde",P,I,F,D,U,ee);let re;return _(F)?re="":_(D)?re=`>=${F}.0.0 <${+F+1}.0.0-0`:_(U)?re=`>=${F}.${D}.0 <${F}.${+D+1}.0-0`:ee?(o("replaceTilde pr",ee),re=`>=${F}.${D}.${U}-${ee} <${F}.${+D+1}.0-0`):re=`>=${F}.${D}.${U} <${F}.${+D+1}.0-0`,o("tilde return",re),re})},E=(P,R)=>P.trim().split(/\s+/).map(L=>m(L,R)).join(" "),m=(P,R)=>{o("caret",P,R);const L=R.loose?a[l.CARETLOOSE]:a[l.CARET],I=R.includePrerelease?"-0":"";return P.replace(L,(F,D,U,ee,re)=>{o("caret",P,F,D,U,ee,re);let oe;return _(D)?oe="":_(U)?oe=`>=${D}.0.0${I} <${+D+1}.0.0-0`:_(ee)?D==="0"?oe=`>=${D}.${U}.0${I} <${D}.${+U+1}.0-0`:oe=`>=${D}.${U}.0${I} <${+D+1}.0.0-0`:re?(o("replaceCaret pr",re),D==="0"?U==="0"?oe=`>=${D}.${U}.${ee}-${re} <${D}.${U}.${+ee+1}-0`:oe=`>=${D}.${U}.${ee}-${re} <${D}.${+U+1}.0-0`:oe=`>=${D}.${U}.${ee}-${re} <${+D+1}.0.0-0`):(o("no pr"),D==="0"?U==="0"?oe=`>=${D}.${U}.${ee}${I} <${D}.${U}.${+ee+1}-0`:oe=`>=${D}.${U}.${ee}${I} <${D}.${+U+1}.0-0`:oe=`>=${D}.${U}.${ee} <${+D+1}.0.0-0`),o("caret return",oe),oe})},k=(P,R)=>(o("replaceXRanges",P,R),P.split(/\s+/).map(L=>T(L,R)).join(" ")),T=(P,R)=>{P=P.trim();const L=R.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return P.replace(L,(I,F,D,U,ee,re)=>{o("xRange",P,I,F,D,U,ee,re);const oe=_(D),he=oe||_(U),ue=he||_(ee),Se=ue;return F==="="&&Se&&(F=""),re=R.includePrerelease?"-0":"",oe?F===">"||F==="<"?I="<0.0.0-0":I="*":F&&Se?(he&&(U=0),ee=0,F===">"?(F=">=",he?(D=+D+1,U=0,ee=0):(U=+U+1,ee=0)):F==="<="&&(F="<",he?D=+D+1:U=+U+1),F==="<"&&(re="-0"),I=`${F+D}.${U}.${ee}${re}`):he?I=`>=${D}.0.0${re} <${+D+1}.0.0-0`:ue&&(I=`>=${D}.${U}.0${re} <${D}.${+U+1}.0-0`),o("xRange return",I),I})},w=(P,R)=>(o("replaceStars",P,R),P.trim().replace(a[l.STAR],"")),C=(P,R)=>(o("replaceGTE0",P,R),P.trim().replace(a[R.includePrerelease?l.GTE0PRE:l.GTE0],"")),A=P=>(R,L,I,F,D,U,ee,re,oe,he,ue,Se,$e)=>(_(I)?L="":_(F)?L=`>=${I}.0.0${P?"-0":""}`:_(D)?L=`>=${I}.${F}.0${P?"-0":""}`:U?L=`>=${L}`:L=`>=${L}${P?"-0":""}`,_(oe)?re="":_(he)?re=`<${+oe+1}.0.0-0`:_(ue)?re=`<${oe}.${+he+1}.0-0`:Se?re=`<=${oe}.${he}.${ue}-${Se}`:P?re=`<${oe}.${he}.${+ue+1}-0`:re=`<=${re}`,`${L} ${re}`.trim()),x=(P,R,L)=>{for(let I=0;I<P.length;I++)if(!P[I].test(R))return!1;if(R.prerelease.length&&!L.includePrerelease){for(let I=0;I<P.length;I++)if(o(P[I].semver),P[I].semver!==s.ANY&&P[I].semver.prerelease.length>0){const F=P[I].semver;if(F.major===R.major&&F.minor===R.minor&&F.patch===R.patch)return!0}return!1}return!0};return Wa}var Ga,dd;function ma(){if(dd)return Ga;dd=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(u,f){if(f=n(f),u instanceof t){if(u.loose===!!f.loose)return u;u=u.value}u=u.trim().split(/\s+/).join(" "),i("comparator",u,f),this.options=f,this.loose=!!f.loose,this.parse(u),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(u){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],d=u.match(f);if(!d)throw new TypeError(`Invalid comparator: ${u}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(u){if(i("Comparator.test",u,this.options.loose),this.semver===e||u===e)return!0;if(typeof u=="string")try{u=new a(u,this.options)}catch{return!1}return o(u,this.operator,this.semver,this.options)}intersects(u,f){if(!(u instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(u.value,f).test(this.value):u.operator===""?u.value===""?!0:new l(this.value,f).test(u.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||u.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||u.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&u.operator.startsWith(">")||this.operator.startsWith("<")&&u.operator.startsWith("<")||this.semver.version===u.semver.version&&this.operator.includes("=")&&u.operator.includes("=")||o(this.semver,"<",u.semver,f)&&this.operator.startsWith(">")&&u.operator.startsWith("<")||o(this.semver,">",u.semver,f)&&this.operator.startsWith("<")&&u.operator.startsWith(">")))}}Ga=t;const n=Zc,{safeRe:r,t:s}=Ro,o=tg,i=ha,a=yt,l=Wt();return Ga}const Jx=Wt(),Zx=(e,t,n)=>{try{t=new Jx(t,n)}catch{return!1}return t.test(e)};var ga=Zx;const Qx=Wt(),eT=(e,t)=>new Qx(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var tT=eT;const nT=yt,rT=Wt(),sT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new rT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new nT(r,n))}),r};var oT=sT;const iT=yt,aT=Wt(),lT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new aT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new iT(r,n))}),r};var cT=lT;const qa=yt,uT=Wt(),hd=pa,fT=(e,t)=>{e=new uT(e,t);let n=new qa("0.0.0");if(e.test(n)||(n=new qa("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new qa(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||hd(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||hd(n,o))&&(n=o)}return n&&e.test(n)?n:null};var dT=fT;const hT=Wt(),pT=(e,t)=>{try{return new hT(e,t).range||"*"}catch{return null}};var mT=pT;const gT=yt,rg=ma(),{ANY:vT}=rg,yT=Wt(),_T=ga,pd=pa,md=eu,bT=nu,wT=tu,ST=(e,t,n,r)=>{e=new gT(e,r),t=new yT(t,r);let s,o,i,a,l;switch(n){case">":s=pd,o=bT,i=md,a=">",l=">=";break;case"<":s=md,o=wT,i=pd,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_T(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const u=t.set[c];let f=null,d=null;if(u.forEach(p=>{p.semver===vT&&(p=new rg(">=0.0.0")),f=f||p,d=d||p,s(p.semver,f.semver,r)?f=p:i(p.semver,d.semver,r)&&(d=p)}),f.operator===a||f.operator===l||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var ru=ST;const ET=ru,xT=(e,t,n)=>ET(e,t,">",n);var TT=xT;const CT=ru,kT=(e,t,n)=>CT(e,t,"<",n);var PT=kT;const gd=Wt(),AT=(e,t,n)=>(e=new gd(e,n),t=new gd(t,n),e.intersects(t,n));var RT=AT;const $T=ga,NT=Vt;var OT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((u,f)=>NT(u,f,n));for(const u of i)$T(u,t,n)?(o=u,s||(s=u)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[u,f]of r)u===f?a.push(u):!f&&u===i[0]?a.push("*"):f?u===i[0]?a.push(`<=${f}`):a.push(`${u} - ${f}`):a.push(`>=${u}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const vd=Wt(),su=ma(),{ANY:Ka}=su,xs=ga,ou=Vt,IT=(e,t,n={})=>{if(e===t)return!0;e=new vd(e,n),t=new vd(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=MT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},LT=[new su(">=0.0.0-0")],yd=[new su(">=0.0.0")],MT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ka){if(t.length===1&&t[0].semver===Ka)return!0;n.includePrerelease?e=LT:e=yd}if(t.length===1&&t[0].semver===Ka){if(n.includePrerelease)return!0;t=yd}const r=new Set;let s,o;for(const p of e)p.operator===">"||p.operator===">="?s=_d(s,p,n):p.operator==="<"||p.operator==="<="?o=bd(o,p,n):r.add(p.semver);if(r.size>1)return null;let i;if(s&&o){if(i=ou(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const p of r){if(s&&!xs(p,String(s),n)||o&&!xs(p,String(o),n))return null;for(const h of t)if(!xs(p,String(h),n))return!1;return!0}let a,l,c,u,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const p of t){if(u=u||p.operator===">"||p.operator===">=",c=c||p.operator==="<"||p.operator==="<=",s){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=_d(s,p,n),a===p&&a!==s)return!1}else if(s.operator===">="&&!xs(s.semver,String(p),n))return!1}if(o){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=bd(o,p,n),l===p&&l!==o)return!1}else if(o.operator==="<="&&!xs(o.semver,String(p),n))return!1}if(!p.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&u&&!s&&i!==0||d||f)},_d=(e,t,n)=>{if(!e)return t;const r=ou(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},bd=(e,t,n)=>{if(!e)return t;const r=ou(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var DT=IT;const Xa=Ro,wd=da,FT=yt,Sd=Zm,BT=ms,jT=BE,zT=HE,HT=VE,UT=GE,VT=XE,WT=ZE,GT=tx,qT=sx,KT=Vt,XT=lx,YT=fx,JT=Qc,ZT=mx,QT=yx,eC=pa,tC=eu,nC=Qm,rC=eg,sC=tu,oC=nu,iC=tg,aC=zx,lC=ma(),cC=Wt(),uC=ga,fC=tT,dC=oT,hC=cT,pC=dT,mC=mT,gC=ru,vC=TT,yC=PT,_C=RT,bC=OT,wC=DT;var SC={parse:BT,valid:jT,clean:zT,inc:HT,diff:UT,major:VT,minor:WT,patch:GT,prerelease:qT,compare:KT,rcompare:XT,compareLoose:YT,compareBuild:JT,sort:ZT,rsort:QT,gt:eC,lt:tC,eq:nC,neq:rC,gte:sC,lte:oC,cmp:iC,coerce:aC,Comparator:lC,Range:cC,satisfies:uC,toComparators:fC,maxSatisfying:dC,minSatisfying:hC,minVersion:pC,validRange:mC,outside:gC,gtr:vC,ltr:yC,intersects:_C,simplifyRange:bC,subset:wC,SemVer:FT,re:Xa.re,src:Xa.src,tokens:Xa.t,SEMVER_SPEC_VERSION:wd.SEMVER_SPEC_VERSION,RELEASE_TYPES:wd.RELEASE_TYPES,compareIdentifiers:Sd.compareIdentifiers,rcompareIdentifiers:Sd.rcompareIdentifiers};const EC=bE(SC),Ya=new Map;function B2(e,t){const n=e;return Ya.has(n)||Ya.set(n,CC(e,t)),Ya.get(n)}function xC(){return vt("npm:check:nuxt",()=>Pe.checkForUpdateFor("nuxt"))}function TC(e){const t=xC();return de(()=>t?.value?.current?EC.satisfies(t.value.current,e):!1)}function CC(e,t){const n=Me(),r=vt(`npm:check:${e}`,()=>Pe.checkForUpdateFor(e)),s=K("idle"),o=K();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await Pe.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Pe.runNpmCommand(await EE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Pe.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Ts={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return TC("^3.5.0")}},Cs={icon:"carbon-image-copy",title:"Assets",layout:"full"},ks={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Ps={layout:"full"},As={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Rs={icon:"carbon-function",title:"Imports",order:3},$s={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},sg=()=>ds("color-mode").value,Ul=K();let Ed;function kC(){Ed||(Ed=(async()=>{const{default:e}=await we(()=>import("./index.02ce2a44.js").then(t=>t.i),[],import.meta.url);Ul.value=new e({html:!0,linkify:!0,breaks:!0})})())}function PC(e){return kC(),Ul.value?Ul.value.render(e):e}async function AC(e){let t,n,r;function s(d){n=d,e.HEAP8=new Int8Array(d),e.HEAP16=new Int16Array(d),e.HEAP32=new Int32Array(d),e.HEAPU8=r=new Uint8Array(d),e.HEAPU16=new Uint16Array(d),e.HEAPU32=new Uint32Array(d),e.HEAPF32=new Float32Array(d),e.HEAPF64=new Float64Array(d)}const o=()=>performance.now();function i(d,p,h){r.copyWithin(d,p,p+h)}function a(){return 2147483648}function l(d){try{return t.grow(d-n.byteLength+65535>>>16),s(t.buffer),1}catch{}}function c(d){const p=r.length;d=d>>>0;const h=a();if(d>h)return!1;const g=(b,S)=>b+(S-b%S)%S;for(let b=1;b<=4;b*=2){let S=p*(1+.2/b);S=Math.min(S,d+100663296);const _=Math.min(h,g(Math.max(d,S),65536));if(l(_))return!0}return!1}const u={emscripten_get_now:o,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const d={env:u,wasi_snapshot_preview1:u};function p(g){const b=g.exports;e.asm=b,t=e.asm.memory,s(t.buffer)}const h=await e.instantiateWasm(d);return p(h),h}return await f(),e._omalloc=function(){return(e._omalloc=e.asm.omalloc).apply(null,arguments)},e._ofree=function(){return(e._ofree=e.asm.ofree).apply(null,arguments)},e._getLastOnigError=function(){return(e._getLastOnigError=e.asm.getLastOnigError).apply(null,arguments)},e._createOnigScanner=function(){return(e._createOnigScanner=e.asm.createOnigScanner).apply(null,arguments)},e._freeOnigScanner=function(){return(e._freeOnigScanner=e.asm.freeOnigScanner).apply(null,arguments)},e._findNextOnigScannerMatch=function(){return(e._findNextOnigScannerMatch=e.asm.findNextOnigScannerMatch).apply(null,arguments)},e._findNextOnigScannerMatchDbg=function(){return(e._findNextOnigScannerMatchDbg=e.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},e}let tt=null,RC=!1;function $C(e){throw new Error(e.UTF8ToString(e._getLastOnigError()))}class va{static _utf8ByteLength(t){let n=0;for(let r=0,s=t.length;r<s;r++){const o=t.charCodeAt(r);let i=o,a=!1;if(o>=55296&&o<=56319&&r+1<s){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(o-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}constructor(t){const n=t.length,r=va._utf8ByteLength(t),s=r!==n,o=s?new Uint32Array(n+1):null;s&&(o[n]=r);const i=s?new Uint32Array(r+1):null;s&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}s&&(o[c]=l,d&&(o[c+1]=l),f<=127?i[l+0]=c:f<=2047?(i[l+0]=c,i[l+1]=c):f<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}createString(t){const n=t._omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const ya=class Kt{constructor(t){if(this.id=++Kt.LAST_ID,!tt)throw new Error("Must invoke loadWasm first.");this._onigBinding=tt,this.content=t;const n=new va(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Kt._sharedPtrInUse?(Kt._sharedPtr||(Kt._sharedPtr=tt._omalloc(1e4)),Kt._sharedPtrInUse=!0,tt.HEAPU8.set(n.utf8Value,Kt._sharedPtr),this.ptr=Kt._sharedPtr):this.ptr=n.createString(tt)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Kt._sharedPtr?Kt._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}};ya.LAST_ID=0;ya._sharedPtr=0;ya._sharedPtrInUse=!1;let og=ya;class NC{constructor(t){if(!tt)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new va(t[a]);n[a]=c.createString(tt),r[a]=c.utf8Length}const s=tt._omalloc(4*t.length);tt.HEAPU32.set(n,s/4);const o=tt._omalloc(4*t.length);tt.HEAPU32.set(r,o/4);const i=tt._createOnigScanner(s,o,t.length);for(let a=0,l=t.length;a<l;a++)tt._ofree(n[a]);tt._ofree(o),tt._ofree(s),i===0&&$C(tt),this._onigBinding=tt,this._ptr=i}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let s=RC,o=0;if(typeof r=="number"?(r&8&&(s=!0),o=r):typeof r=="boolean"&&(s=r),typeof t=="string"){t=new og(t);const i=this._findNextMatchSync(t,n,s,o);return t.dispose(),i}return this._findNextMatchSync(t,n,s,o)}_findNextMatchSync(t,n,r,s){const o=this._onigBinding;let i;if(r?i=o._findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s):i=o._findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s),i===0)return null;const a=o.HEAPU32;let l=i/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}async function OC(e,t){tt=await AC({print:t,instantiateWasm:n=>{if(typeof performance>"u"){const r=()=>Date.now();n.env.emscripten_get_now=r,n.wasi_snapshot_preview1.emscripten_get_now=r}return e(n).then(r=>r.instance||r)}})}function IC(e){return typeof e.instantiator=="function"}function LC(e){return typeof e.data<"u"}function MC(e){return typeof Response<"u"&&e instanceof Response}let xd=!1,Ja=null;function Td(e){if(xd)return Ja;xd=!0;let t,n;if(typeof e=="function")t=e;else if(IC(e))t=e.instantiator,n=e.print;else{let r;LC(e)?(r=e.data,n=e.print):r=e,MC(r)?typeof WebAssembly.instantiateStreaming=="function"?t=FC(r):t=BC(r):t=DC(r)}return Ja=OC(t,n),Ja}function DC(e){return t=>WebAssembly.instantiate(e,t)}function FC(e){return t=>WebAssembly.instantiateStreaming(e,t)}function BC(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function jC(e){return new og(e)}function zC(e){return new NC(e)}var HC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ig={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(HC,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},442:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.applyStateStackDiff=o.diffStateStacksRefEq=void 0;const a=i(391);o.diffStateStacksRefEq=function(l,c){let u=0;const f=[];let d=l,p=c;for(;d!==p;)d&&(!p||d.depth>=p.depth)?(u++,d=d.parent):(f.push(p.toStateStackFrame()),p=p.parent);return{pops:u,newFrames:f.reverse()}},o.applyStateStackDiff=function(l,c){let u=l;for(let f=0;f<c.pops;f++)u=u.parent;for(const f of c.newFrames)u=a.StateStackImpl.pushFrame(u,f);return u}},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),u=i.getFontStyle(a),f=i.getForeground(a),d=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:u,foreground:f,background:d})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,u,f,d,p){let h=i.getLanguageId(a),g=i.getTokenType(a),b=i.containsBalancedBrackets(a)?1:0,S=i.getFontStyle(a),_=i.getForeground(a),y=i.getBackground(a);return l!==0&&(h=l),c!==8&&(g=c),u!==null&&(b=u?1:0),f!==-1&&(S=f),d!==0&&(_=d),p!==0&&(y=p),(h<<0|g<<8|b<<10|S<<11|_<<15|y<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(d,p){this.languageId=d,this.tokenType=p}}o.BasicScopeAttributes=l;class c{constructor(d,p){this._getBasicScopeAttributes=new a.CachedFn(h=>{const g=this._scopeToLanguage(h),b=this._toStandardTokenType(h);return new l(g,b)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(p||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const p=d.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!p)return 8;switch(p[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class u{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const p=d.map(([h,g])=>a.escapeRegExpCharacters(h));p.sort(),p.reverse(),this.scopesRegExp=new RegExp(`^((${p.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const p=d.match(this.scopesRegExp);return p?this.values.get(p[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStackImpl=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),u=i(44),f=i(792),d=i(583),p=i(878),h=i(996),g=i(47);function b(T,w,C,A,x){const P=c.createMatchers(w,S),R=f.RuleFactory.getCompiledRuleId(C,A,x.repository);for(const L of P)T.push({debugSelector:w,matcher:L.matcher,ruleId:R,grammar:x,priority:L.priority})}function S(T,w){if(w.length<T.length)return!1;let C=0;return T.every(A=>{for(let x=C;x<w.length;x++)if(_(w[x],A))return C=x+1,!0;return!1})}function _(T,w){if(!T)return!1;if(T===w)return!0;const C=w.length;return T.length>C&&T.substr(0,C)===w&&T[C]==="."}o.createGrammar=function(T,w,C,A,x,P,R,L){return new y(T,w,C,A,x,P,R,L)};class y{constructor(w,C,A,x,P,R,L,I){if(this._rootScopeName=w,this.balancedBracketSelectors=R,this._onigLib=I,this._basicScopeAttributesProvider=new h.BasicScopeAttributesProvider(A,x),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=L,this._grammar=v(C,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const F of Object.keys(P)){const D=c.createMatchers(F,S);for(const U of D)this._tokenTypeMatchers.push({matcher:U.matcher,type:P[F]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const w of this._ruleId2desc)w&&w.dispose()}createOnigScanner(w){return this._onigLib.createOnigScanner(w)}createOnigString(w){return this._onigLib.createOnigString(w)}getMetadataForScope(w){return this._basicScopeAttributesProvider.getBasicScopeAttributes(w)}_collectInjections(){const w=[],C=this._rootScopeName,A=(x=>x===this._rootScopeName?this._grammar:this.getExternalGrammar(x))(C);if(A){const x=A.injections;if(x)for(let R in x)b(w,R,x[R],this,A);const P=this._grammarRepository.injections(C);P&&P.forEach(R=>{const L=this.getExternalGrammar(R);if(L){const I=L.injectionSelector;I&&b(w,I,L,this,L)}})}return w.sort((x,P)=>x.priority-P.priority),w}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const w of this._injections)console.log(` - ${w.debugSelector}`)}return this._injections}registerRule(w){const C=++this._lastRuleId,A=w(f.ruleIdFromNumber(C));return this._ruleId2desc[C]=A,A}getRule(w){return this._ruleId2desc[f.ruleIdToNumber(w)]}getExternalGrammar(w,C){if(this._includedGrammars[w])return this._includedGrammars[w];if(this._grammarRepository){const A=this._grammarRepository.lookup(w);if(A)return this._includedGrammars[w]=v(A,C&&C.$base),this._includedGrammars[w]}}tokenizeLine(w,C,A=0){const x=this._tokenize(w,C,!1,A);return{tokens:x.lineTokens.getResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}tokenizeLine2(w,C,A=0){const x=this._tokenize(w,C,!0,A);return{tokens:x.lineTokens.getBinaryResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}_tokenize(w,C,A,x){let P;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),C&&C!==m.NULL)P=!1,C.reset();else{P=!0;const D=this._basicScopeAttributesProvider.getDefaultAttributes(),U=this.themeProvider.getDefaults(),ee=l.EncodedTokenAttributes.set(0,D.languageId,D.tokenType,null,U.fontStyle,U.foregroundId,U.backgroundId),re=this.getRule(this._rootId).getName(null,null);let oe;oe=re?E.createRootAndLookUpScopeName(re,ee,this):E.createRoot("unknown",ee),C=new m(null,this._rootId,-1,-1,!1,null,oe,oe)}w+=`
5
+ */const Nr=typeof window<"u";function Vw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function Ba(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ut(s)?s.map(e):e(s)}return n}const to=()=>{},Ut=Array.isArray,Ww=/\/$/,Gw=e=>e.replace(Ww,"");function ja(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Yw(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function qw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Kw(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&ts(t.matched[r],n.matched[s])&&mm(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 mm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Xw(e[n],t[n]))return!1;return!0}function Xw(e,t){return Ut(e)?kf(e,t):Ut(t)?kf(t,e):e===t}function kf(e,t){return Ut(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Yw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var bo;(function(e){e.pop="pop",e.push="push"})(bo||(bo={}));var no;(function(e){e.back="back",e.forward="forward",e.unknown=""})(no||(no={}));function Jw(e){if(!e)if(Nr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Gw(e)}const Zw=/^[^#]+#/;function Qw(e,t){return e.replace(Zw,"#")+t}function e1(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ca=()=>({left:window.pageXOffset,top:window.pageYOffset});function t1(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=e1(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Pf(e,t){return(history.state?history.state.position-t:-1)+e}const Ml=new Map;function n1(e,t){Ml.set(e,t)}function r1(e){const t=Ml.get(e);return Ml.delete(e),t}let s1=()=>location.protocol+"//"+location.host;function gm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Cf(l,"")}return Cf(n,e)+r+s}function o1(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=gm(e,location),h=n.value,g=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}b=g?d.position-g.position:0}else r(p);s.forEach(S=>{S(n.value,h,{delta:b,type:bo.pop,direction:b?b>0?no.forward:no.back:no.unknown})})};function l(){i=n.value}function c(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:ca()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Af(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ca():null}}function i1(e){const{history:t,location:n}=window,r={value:gm(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:s1()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=je({},t.state,Af(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=je({},s.value,t.state,{forward:l,scroll:ca()});o(u.current,u,!0);const f=je({},Af(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function vm(e){e=Jw(e);const t=i1(e),n=o1(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=je({location:"",base:e,go:r,createHref:Qw.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function a1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),vm(e)}function l1(e){return typeof e=="string"||e&&typeof e=="object"}function ym(e){return typeof e=="string"||typeof e=="symbol"}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},_m=Symbol("");var Rf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rf||(Rf={}));function ns(e,t){return je(new Error,{type:e,[_m]:!0},t)}function an(e,t){return e instanceof Error&&_m in e&&(t==null||!!(e.type&t))}const $f="[^/]+?",c1={sensitive:!1,strict:!1,start:!0,end:!0},u1=/[.+*?^${}()[\]/\\]/g;function f1(e,t){const n=je({},c1,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(u1,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:b,regexp:S}=d;o.push({name:h,repeatable:g,optional:b});const _=S||$f;if(_!==$f){p+=10;try{new RegExp(`(${_})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+v.message)}}let y=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=b&&c.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),s+=y,p+=20,b&&(p+=-8),g&&(p+=-20),_===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,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=o[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===0)u+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:b}=p,S=h in c?c[h]:"";if(Ut(S)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=Ut(S)?S.join("/"):S;if(!_)if(b)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:o,parse:a,stringify:l}}function d1(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function h1(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=d1(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Nf(r))return 1;if(Nf(s))return-1}return s.length-r.length}function Nf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const p1={type:0,value:""},m1=/[a-zA-Z0-9_]/;function g1(e){if(!e)return[[]];if(e==="/")return[[p1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,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;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:m1.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}function v1(e,t,n){const r=f1(g1(e.path),n),s=je(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function y1(e,t){const n=[],r=new Map;t=Lf({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function o(u,f,d){const p=!d,h=_1(u);h.aliasOf=d&&d.record;const g=Lf(t,u),b=[h];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const v of y)b.push(je({},h,{components:d?d.record.components:h.components,path:v,aliasOf:d?d.record:h}))}let S,_;for(const y of b){const{path:v}=y;if(f&&v[0]!=="/"){const E=f.record.path,m=E[E.length-1]==="/"?"":"/";y.path=f.record.path+(v&&m+v)}if(S=v1(y,f,g),d?d.alias.push(S):(_=_||S,_!==S&&_.alias.push(S),p&&u.name&&!If(S)&&i(u.name)),h.children){const E=h.children;for(let m=0;m<E.length;m++)o(E[m],S,d&&d.children[m])}d=d||S,(S.record.components&&Object.keys(S.record.components).length||S.record.name||S.record.redirect)&&l(S)}return _?()=>{i(_)}:to}function i(u){if(ym(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&h1(u,n[f])>=0&&(u.record.path!==n[f].record.path||!bm(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!If(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw ns(1,{location:u});g=d.record.name,p=je(Of(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),u.params&&Of(u.params,d.keys.map(_=>_.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(_=>_.re.test(h)),d&&(p=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw ns(1,{location:u,currentLocation:f});g=d.record.name,p=je({},f.params,u.params),h=d.stringify(p)}const b=[];let S=d;for(;S;)b.unshift(S.record),S=S.parent;return{name:g,path:h,params:p,matched:b,meta:w1(b)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Of(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function _1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:b1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function b1(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 If(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function w1(e){return e.reduce((t,n)=>je(t,n.meta),{})}function Lf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bm(e,t){return t.children.some(n=>n===e||bm(e,n))}const wm=/#/g,S1=/&/g,E1=/\//g,x1=/=/g,T1=/\?/g,Sm=/\+/g,C1=/%5B/g,k1=/%5D/g,Em=/%5E/g,P1=/%60/g,xm=/%7B/g,A1=/%7C/g,Tm=/%7D/g,R1=/%20/g;function Uc(e){return encodeURI(""+e).replace(A1,"|").replace(C1,"[").replace(k1,"]")}function $1(e){return Uc(e).replace(xm,"{").replace(Tm,"}").replace(Em,"^")}function Dl(e){return Uc(e).replace(Sm,"%2B").replace(R1,"+").replace(wm,"%23").replace(S1,"%26").replace(P1,"`").replace(xm,"{").replace(Tm,"}").replace(Em,"^")}function N1(e){return Dl(e).replace(x1,"%3D")}function O1(e){return Uc(e).replace(wm,"%23").replace(T1,"%3F")}function I1(e){return e==null?"":O1(e).replace(E1,"%2F")}function Oi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function L1(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Sm," "),i=o.indexOf("="),a=Oi(i<0?o:o.slice(0,i)),l=i<0?null:Oi(o.slice(i+1));if(a in t){let c=t[a];Ut(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Mf(e){let t="";for(let n in e){const r=e[n];if(n=N1(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ut(r)?r.map(o=>o&&Dl(o)):[r&&Dl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function M1(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ut(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const D1=Symbol(""),Df=Symbol(""),Vc=Symbol(""),Wc=Symbol(""),Fl=Symbol("");function ws(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function On(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(ns(4,{from:n,to:t})):f instanceof Error?a(f):l1(f)?a(ns(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function za(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(F1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(On(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=Vw(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&On(d,n,r,o,i)()}))}}return s}function F1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ff(e){const t=pt(Vc),n=pt(Wc),r=de(()=>t.resolve(z(e.to))),s=de(()=>{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=Bf(l[c-2]);return c>1&&Bf(u)===p&&f[f.length-1].path!==p?f.findIndex(ts.bind(null,l[c-2])):d}),o=de(()=>s.value>-1&&H1(n.params,r.value.params)),i=de(()=>s.value>-1&&s.value===n.matched.length-1&&mm(n.params,r.value.params));function a(l={}){return z1(l)?t[z(e.replace)?"replace":"push"](z(e.to)).catch(to):Promise.resolve()}return{route:r,href:de(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const B1=Ce({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"}},useLink:Ff,setup(e,{slots:t}){const n=gt(Ff(e)),{options:r}=pt(Vc),s=de(()=>({[jf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[jf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),j1=B1;function z1(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 H1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Ut(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Bf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jf=(e,t,n)=>e??t??n,U1=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=pt(Fl),s=de(()=>e.route||r.value),o=pt(Df,0),i=de(()=>{let c=z(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=de(()=>s.value.matched[i.value]);hr(Df,de(()=>i.value+1)),hr(D1,a),hr(Fl,s);const l=K();return Be(()=>[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(g=>g(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return zf(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=Je(d,je({},h,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return zf(n.default,{Component:b,route:c})||b}}});function zf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Cm=U1;function V1(e){const t=y1(e.routes,e),n=e.parseQuery||L1,r=e.stringifyQuery||Mf,s=e.history,o=ws(),i=ws(),a=ws(),l=Ht(Xt);let c=Xt;Nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ba.bind(null,O=>""+O),f=Ba.bind(null,I1),d=Ba.bind(null,Oi);function p(O,J){let V,ce;return ym(O)?(V=t.getRecordMatcher(O),ce=J):ce=O,t.addRoute(ce,V)}function h(O){const J=t.getRecordMatcher(O);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(O=>O.record)}function b(O){return!!t.getRecordMatcher(O)}function S(O,J){if(J=je({},J||l.value),typeof O=="string"){const M=ja(n,O,J.path),B=t.resolve({path:M.path},J),j=s.createHref(M.fullPath);return je(M,B,{params:d(B.params),hash:Oi(M.hash),redirectedFrom:void 0,href:j})}let V;if("path"in O)V=je({},O,{path:ja(n,O.path,J.path).path});else{const M=je({},O.params);for(const B in M)M[B]==null&&delete M[B];V=je({},O,{params:f(M)}),J.params=f(J.params)}const ce=t.resolve(V,J),xe=O.hash||"";ce.params=u(d(ce.params));const $=qw(r,je({},O,{hash:$1(xe),path:ce.path})),N=s.createHref($);return je({fullPath:$,hash:xe,query:r===Mf?M1(O.query):O.query||{}},ce,{redirectedFrom:void 0,href:N})}function _(O){return typeof O=="string"?ja(n,O,l.value.path):je({},O)}function y(O,J){if(c!==O)return ns(8,{from:J,to:O})}function v(O){return k(O)}function E(O){return v(je(_(O),{replace:!0}))}function m(O){const J=O.matched[O.matched.length-1];if(J&&J.redirect){const{redirect:V}=J;let ce=typeof V=="function"?V(O):V;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=_(ce):{path:ce},ce.params={}),je({query:O.query,hash:O.hash,params:"path"in ce?{}:O.params},ce)}}function k(O,J){const V=c=S(O),ce=l.value,xe=O.state,$=O.force,N=O.replace===!0,M=m(V);if(M)return k(je(_(M),{state:typeof M=="object"?je({},xe,M.state):xe,force:$,replace:N}),J||V);const B=V;B.redirectedFrom=J;let j;return!$&&Kw(r,ce,V)&&(j=ns(16,{to:B,from:ce}),re(ce,ce,!0,!1)),(j?Promise.resolve(j):C(B,ce)).catch(H=>an(H)?an(H,2)?H:ee(H):D(H,B,ce)).then(H=>{if(H){if(an(H,2))return k(je({replace:N},_(H.to),{state:typeof H.to=="object"?je({},xe,H.to.state):xe,force:$}),J||B)}else H=x(B,ce,!0,N,xe);return A(B,ce,H),H})}function T(O,J){const V=y(O,J);return V?Promise.reject(V):Promise.resolve()}function w(O){const J=ue.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(O):O()}function C(O,J){let V;const[ce,xe,$]=W1(O,J);V=za(ce.reverse(),"beforeRouteLeave",O,J);for(const M of ce)M.leaveGuards.forEach(B=>{V.push(On(B,O,J))});const N=T.bind(null,O,J);return V.push(N),$e(V).then(()=>{V=[];for(const M of o.list())V.push(On(M,O,J));return V.push(N),$e(V)}).then(()=>{V=za(xe,"beforeRouteUpdate",O,J);for(const M of xe)M.updateGuards.forEach(B=>{V.push(On(B,O,J))});return V.push(N),$e(V)}).then(()=>{V=[];for(const M of $)if(M.beforeEnter)if(Ut(M.beforeEnter))for(const B of M.beforeEnter)V.push(On(B,O,J));else V.push(On(M.beforeEnter,O,J));return V.push(N),$e(V)}).then(()=>(O.matched.forEach(M=>M.enterCallbacks={}),V=za($,"beforeRouteEnter",O,J),V.push(N),$e(V))).then(()=>{V=[];for(const M of i.list())V.push(On(M,O,J));return V.push(N),$e(V)}).catch(M=>an(M,8)?M:Promise.reject(M))}function A(O,J,V){a.list().forEach(ce=>w(()=>ce(O,J,V)))}function x(O,J,V,ce,xe){const $=y(O,J);if($)return $;const N=J===Xt,M=Nr?history.state:{};V&&(ce||N?s.replace(O.fullPath,je({scroll:N&&M&&M.scroll},xe)):s.push(O.fullPath,xe)),l.value=O,re(O,J,V,N),ee()}let P;function R(){P||(P=s.listen((O,J,V)=>{if(!Se.listening)return;const ce=S(O),xe=m(ce);if(xe){k(je(xe,{replace:!0}),ce).catch(to);return}c=ce;const $=l.value;Nr&&n1(Pf($.fullPath,V.delta),ca()),C(ce,$).catch(N=>an(N,12)?N:an(N,2)?(k(N.to,ce).then(M=>{an(M,20)&&!V.delta&&V.type===bo.pop&&s.go(-1,!1)}).catch(to),Promise.reject()):(V.delta&&s.go(-V.delta,!1),D(N,ce,$))).then(N=>{N=N||x(ce,$,!1),N&&(V.delta&&!an(N,8)?s.go(-V.delta,!1):V.type===bo.pop&&an(N,20)&&s.go(-1,!1)),A(ce,$,N)}).catch(to)}))}let L=ws(),I=ws(),F;function D(O,J,V){ee(O);const ce=I.list();return ce.length?ce.forEach(xe=>xe(O,J,V)):console.error(O),Promise.reject(O)}function U(){return F&&l.value!==Xt?Promise.resolve():new Promise((O,J)=>{L.add([O,J])})}function ee(O){return F||(F=!O,R(),L.list().forEach(([J,V])=>O?V(O):J()),L.reset()),O}function re(O,J,V,ce){const{scrollBehavior:xe}=e;if(!Nr||!xe)return Promise.resolve();const $=!V&&r1(Pf(O.fullPath,0))||(ce||!V)&&history.state&&history.state.scroll||null;return kt().then(()=>xe(O,J,$)).then(N=>N&&t1(N)).catch(N=>D(N,O,J))}const oe=O=>s.go(O);let he;const ue=new Set,Se={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:S,options:e,push:v,replace:E,go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:U,install(O){const J=this;O.component("RouterLink",j1),O.component("RouterView",Cm),O.config.globalProperties.$router=J,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>z(l)}),Nr&&!he&&l.value===Xt&&(he=!0,v(s.location).catch(xe=>{}));const V={};for(const xe in Xt)Object.defineProperty(V,xe,{get:()=>l.value[xe],enumerable:!0});O.provide(Vc,J),O.provide(Wc,as(V)),O.provide(Fl,l);const ce=O.unmount;ue.add(O),O.unmount=function(){ue.delete(O),ue.size<1&&(c=Xt,P&&P(),P=null,l.value=Xt,he=!1,F=!1),ce()}}};function $e(O){return O.reduce((J,V)=>J.then(()=>w(V)),Promise.resolve())}return Se}function W1(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;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))||s.push(l))}return[n,r,s]}function G1(){return pt(Wc)}const Ss={layout:"none"},Es={layout:"none"},Bl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),q1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Gc=e=>{const t=Me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Bl(e)}):Bl(e)};function km(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const o=Me(),i=()=>null,a=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];s.server=s.server??!0,s.default=s.default??i,s.getCachedData=s.getCachedData??a,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0,s.deep=s.deep??Ow.deep;const l=()=>![null,void 0].includes(s.getCachedData(n));if(!o._asyncData[n]||!s.immediate){o.payload._errors[n]??=null;const p=s.deep?K:Ht;o._asyncData[n]={data:p(s.getCachedData(n)??s.default()),pending:K(!l()),error:Yi(o.payload._errors,n),status:K("idle")}}const c={...o._asyncData[n]};c.refresh=c.execute=(p={})=>{if(o._asyncDataPromises[n]){if(p.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((p._initial||o.isHydrating&&p._initial!==!1)&&l())return Promise.resolve(s.getCachedData(n));c.pending.value=!0,c.status.value="pending";const h=new Promise((g,b)=>{try{g(r(o))}catch(S){b(S)}}).then(g=>{if(h.cancelled)return o._asyncDataPromises[n];let b=g;s.transform&&(b=s.transform(g)),s.pick&&(b=K1(b,s.pick)),c.data.value=b,c.error.value=null,c.status.value="success"}).catch(g=>{if(h.cancelled)return o._asyncDataPromises[n];c.error.value=g,c.data.value=z(s.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,o.payload.data[n]=c.data.value,c.error.value&&(o.payload._errors[n]=aa(c.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=s.server!==!1&&o.payload.serverRendered;{const p=on();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const g=p._nuxtOnBeforeMountCbs;p&&(fp(()=>{g.forEach(b=>{b()}),g.splice(0,g.length)}),go(()=>g.splice(0,g.length)))}f&&o.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):p&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?p._nuxtOnBeforeMountCbs.push(u):s.immediate&&u(),s.watch&&Be(s.watch,()=>c.refresh());const h=o.hook("app:data:refresh",async g=>{(!g||g.includes(n))&&await c.refresh()});p&&go(h)}const d=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function K1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const X1="$s";function hs(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=X1+n,o=Me(),i=Yi(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Fe(a))return o.payload.state[s]=a,a;i.value=a}return i}function _n(e){return Oh()?(Wv(e),!0):!1}function Y1(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function Ye(e){return typeof e=="function"?e():z(e)}function J1(e){if(!Fe(e))return gt(e);const t=new Proxy({},{get(n,r,s){return z(Reflect.get(e.value,r,s))},set(n,r,s){return Fe(e.value[r])&&!Fe(s)?e.value[r].value=s:e.value[r]=s,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return gt(t)}function m2(e){return J1(de(e))}const vr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Z1=e=>typeof e<"u",Q1=Object.prototype.toString,eS=e=>Q1.call(e)==="[object Object]",yr=()=>{},tS=nS();function nS(){var e;return vr&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Pm(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Am=e=>e();function Rm(e,t={}){let n,r,s=yr;const o=a=>{clearTimeout(a),s(),s=yr};return a=>{const l=Ye(e),c=Ye(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{s=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,u(a())},l)})}}function rS(e=Am){const t=K(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Er(t),pause:n,resume:r,eventFilter:s}}function sS(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const oS=/-(\w)/g,iS=sS(e=>e.replace(oS,(t,n)=>n?n.toUpperCase():""));function Hf(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function aS(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function lS(e){return Object.entries(e)}function cS(...e){if(e.length!==1)return Yi(...e);const t=e[0];return typeof t=="function"?Er(Xh(()=>({get:t,set:yr}))):K(t)}function uS(e,t=200,n={}){return Pm(Rm(t,n),e)}function fS(e,t=200,n={}){const r=K(e.value),s=uS(()=>{r.value=e.value},t,n);return Be(e,()=>s()),r}function $m(e,t,n={}){const{eventFilter:r=Am,...s}=n;return Be(e,Pm(r,t),s)}function dS(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:a,isActive:l}=rS(r);return{stop:$m(e,t,{...s,eventFilter:o}),pause:i,resume:a,isActive:l}}function hS(e,t={}){if(!Fe(e))return gy(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Xh(()=>({get(){return e.value[r]},set(s){var o;if((o=Ye(t.replaceRef))!=null?o:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=s,e.value=a}else{const a={...e.value,[r]:s};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=s}}));return n}function ps(e,t=!0){on()?Sn(e):t?e():kt(e)}function jl(e,t=!1){function n(f,{flush:d="sync",deep:p=!1,timeout:h,throwOnTimeout:g}={}){let b=null;const _=[new Promise(y=>{b=Be(e,v=>{f(v)!==t&&(b?.(),y(v))},{flush:d,deep:p,immediate:!0})})];return h!=null&&_.push(Hf(h,g).then(()=>Ye(e)).finally(()=>b?.())),Promise.race(_)}function r(f,d){if(!Fe(f))return n(v=>v===f,d);const{flush:p="sync",deep:h=!1,timeout:g,throwOnTimeout:b}=d??{};let S=null;const y=[new Promise(v=>{S=Be([e,f],([E,m])=>{t!==(E===m)&&(S?.(),v(E))},{flush:p,deep:h,immediate:!0})})];return g!=null&&y.push(Hf(g,b).then(()=>Ye(e)).finally(()=>(S?.(),Ye(e)))),Promise.race(y)}function s(f){return n(d=>!!d,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(p=>{const h=Array.from(p);return h.includes(f)||h.includes(Ye(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let p=-1;return n(()=>(p+=1,p>=f),d)}return Array.isArray(Ye(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return jl(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return jl(e,!t)}}}function pS(e){return jl(e)}const mS=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,gS=/[YMDHhms]o|\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function vS(e,t,n,r){let s=e<12?"AM":"PM";return r&&(s=s.split("").reduce((o,i)=>o+=`${i}.`,"")),n?s.toLowerCase():s}function Jn(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function yS(e,t,n={}){var r;const s=e.getFullYear(),o=e.getMonth(),i=e.getDate(),a=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),u=e.getMilliseconds(),f=e.getDay(),d=(r=n.customMeridiem)!=null?r:vS,p={Yo:()=>Jn(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>o+1,Mo:()=>Jn(o+1),MM:()=>`${o+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(i),Do:()=>Jn(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(a),Ho:()=>Jn(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>Jn(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>Jn(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>Jn(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${u}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>d(a,l),AA:()=>d(a,l,!1,!0),a:()=>d(a,l,!0),aa:()=>d(a,l,!0,!0)};return t.replace(gS,(h,g)=>{var b,S;return(S=g??((b=p[h])==null?void 0:b.call(p)))!=null?S:h})}function _S(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(mS);if(t){const n=t[2]-1||0,r=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,r)}}return new Date(e)}function g2(e,t="HH:mm:ss",n={}){return de(()=>yS(_S(Ye(e)),Ye(t),n))}function bS(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=K(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const u=Ye(t);u<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,u))}if(r&&vr&&c(),Fe(t)||typeof t=="function"){const u=Be(t,()=>{i.value&&vr&&c()});_n(u)}return _n(l),{isActive:i,pause:l,resume:c}}function wS(e,t,n={}){const{immediate:r=!0}=n,s=K(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},Ye(t))}return r&&(s.value=!0,vr&&l()),_n(a),{isPending:Er(s),start:l,stop:a}}function v2(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return $m(e,t,{...o,eventFilter:Rm(r,{maxWait:s})})}function y2(e,t,n){let r;Fe(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=yr}=r,l=K(!s),c=i?Ht(t):K(t);let u=0;return qr(async f=>{if(!l.value)return;u++;const d=u;let p=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const h=await e(g=>{f(()=>{o&&(o.value=!1),p||g()})});d===u&&(c.value=h)}catch(h){a(h)}finally{o&&d===u&&(o.value=!1),p=!0}}),s?de(()=>(l.value=!0,c.value)):c}function _2(e={}){const{inheritAttrs:t=!0}=e,n=Ht(),r=Ce({setup(o,{slots:i}){return()=>{n.value=i.default}}}),s=Ce({inheritAttrs:t,setup(o,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...SS(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return Y1({define:r,reuse:s},[r,s])}function SS(e){const t={};for(const n in e)t[iS(n)]=e[n];return t}function qc(e={}){let t=0;const n=K([]);function r(...i){const a=as({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Ce((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return Je(Le,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>Je(Y_,e.transition,l):l});return o.start=s,o}function ht(e){var t;const n=Ye(e);return(t=n?.$el)!=null?t:n}const Et=vr?window:void 0,ES=vr?window.document:void 0,Nm=vr?window.navigator:void 0;function wt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Et):[t,n,r,s]=e,!t)return yr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=Be(()=>[ht(t),Ye(s)],([u,f])=>{if(i(),!u)return;const d=eS(f)?{...f}:f;o.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return _n(c),c}let Uf=!1;function Kc(e,t,n={}){const{window:r=Et,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;tS&&!Uf&&(Uf=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",yr)),r.document.documentElement.addEventListener("click",yr));let a=!0;const l=d=>s.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(h=>h===d.target||d.composedPath().includes(h));{const h=ht(p);return h&&(d.target===h||d.composedPath().includes(h))}}),u=[wt(r,"click",d=>{const p=ht(e);if(!(!p||p===d.target||d.composedPath().includes(p))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:o}),wt(r,"pointerdown",d=>{const p=ht(e);a=!l(d)&&!!(p&&!d.composedPath().includes(p))},{passive:!0}),i&&wt(r,"blur",d=>{setTimeout(()=>{var p;const h=ht(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!h?.contains(r.document.activeElement)&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function xS(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function TS(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Et,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=xS(t);return wt(s,o,u=>{u.repeat&&Ye(a)||l(u)&&n(u)},i)}function b2(e,t,n={}){return TS(e,t,{...n,eventName:"keydown"})}function CS(){const e=K(!1);return on()&&Sn(()=>{e.value=!0}),e}function ua(e){const t=CS();return de(()=>(t.value,!!e()))}function kS(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=Et}=t,o=K(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!o.value||!s)return;const p=d-(a||d);if(i&&p<i){l=s.requestAnimationFrame(c);return}e({delta:p,timestamp:d}),a=d,l=s.requestAnimationFrame(c)}function u(){!o.value&&s&&(o.value=!0,l=s.requestAnimationFrame(c))}function f(){o.value=!1,l!=null&&s&&(s.cancelAnimationFrame(l),l=null)}return n&&u(),_n(f),{isActive:Er(o),pause:f,resume:u}}function Om(e,t={}){const{window:n=Et}=t,r=ua(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=K(!1),i=c=>{o.value=c.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},l=qr(()=>{r.value&&(a(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return _n(()=>{l(),a(),s=void 0}),o}const Vf=["hash","host","hostname","href","pathname","port","protocol","search"];function w2(e={}){const{window:t=Et}=e,n=Object.fromEntries(Vf.map(o=>[o,K()]));for(const[o,i]of lS(n))Be(i,a=>{!t?.location||t.location[o]===a||(t.location[o]=a)});const r=o=>{var i;const{state:a,length:l}=t?.history||{},{origin:c}=t?.location||{};for(const u of Vf)n[u].value=(i=t?.location)==null?void 0:i[u];return gt({trigger:o,state:a,length:l,origin:c,...n})},s=K(r("load"));return t&&(wt(t,"popstate",()=>s.value=r("popstate"),{passive:!0}),wt(t,"hashchange",()=>s.value=r("hashchange"),{passive:!0})),s}function Wf(e,t={}){const{controls:n=!1,navigator:r=Nm}=t,s=ua(()=>r&&"permissions"in r);let o;const i=typeof e=="string"?{name:e}:e,a=K(),l=()=>{o&&(a.value=o.state)},c=aS(async()=>{if(s.value){if(!o)try{o=await r.permissions.query(i),wt(o,"change",l),l()}catch{a.value="prompt"}return o}});return c(),n?{state:a,isSupported:s,query:c}:a}function PS(e={}){const{navigator:t=Nm,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=ua(()=>t&&"clipboard"in t),a=Wf("clipboard-read"),l=Wf("clipboard-write"),c=de(()=>i.value||o),u=K(""),f=K(!1),d=wS(()=>f.value=!1,s);function p(){i.value&&a.value!=="denied"?t.clipboard.readText().then(S=>{u.value=S}):u.value=b()}c.value&&n&&wt(["copy","cut"],p);async function h(S=Ye(r)){c.value&&S!=null&&(i.value&&l.value!=="denied"?await t.clipboard.writeText(S):g(S),u.value=S,f.value=!0,d.start())}function g(S){const _=document.createElement("textarea");_.value=S??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function b(){var S,_,y;return(y=(_=(S=document?.getSelection)==null?void 0:S.call(document))==null?void 0:_.toString())!=null?y:""}return{isSupported:c,text:u,copied:f,copy:h}}function AS(e){return JSON.parse(JSON.stringify(e))}const Xo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yo="__vueuse_ssr_handlers__",RS=$S();function $S(){return Yo in Xo||(Xo[Yo]=Xo[Yo]||{}),Xo[Yo]}function Im(e,t){return RS[e]||t}function NS(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 OS={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()}},Gf="vueuse-storage";function Xc(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Et,eventFilter:d,onError:p=w=>{console.error(w)},initOnMounted:h}=r,g=(u?Ht:K)(typeof t=="function"?t():t);if(!n)try{n=Im("getDefaultStorage",()=>{var w;return(w=Et)==null?void 0:w.localStorage})()}catch(w){p(w)}if(!n)return g;const b=Ye(t),S=NS(b),_=(s=r.serializer)!=null?s:OS[S],{pause:y,resume:v}=dS(g,()=>E(g.value),{flush:o,deep:i,eventFilter:d});return f&&a&&ps(()=>{wt(f,"storage",T),wt(f,Gf,k),h&&T()}),h||T(),g;function E(w){try{if(w==null)n.removeItem(e);else{const C=_.write(w),A=n.getItem(e);A!==C&&(n.setItem(e,C),f&&f.dispatchEvent(new CustomEvent(Gf,{detail:{key:e,oldValue:A,newValue:C,storageArea:n}})))}}catch(C){p(C)}}function m(w){const C=w?w.newValue:n.getItem(e);if(C==null)return l&&b!==null&&n.setItem(e,_.write(b)),b;if(!w&&c){const A=_.read(C);return typeof c=="function"?c(A,b):S==="object"&&!Array.isArray(A)?{...b,...A}:A}else return typeof C!="string"?C:_.read(C)}function k(w){T(w.detail)}function T(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){g.value=b;return}if(!(w&&w.key!==e)){y();try{w?.newValue!==_.write(g.value)&&(g.value=m(w))}catch(C){p(C)}finally{w?kt(v):v()}}}}}function IS(e){return Om("(prefers-color-scheme: dark)",e)}function LS(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Et,storage:o,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=IS({window:s}),p=de(()=>d.value?"dark":"light"),h=l||(i==null?cS(r):Xc(i,r,o,{window:s,listenToStorageChanges:a})),g=de(()=>h.value==="auto"?p.value:h.value),b=Im("updateHTMLAttrs",(v,E,m)=>{const k=typeof v=="string"?s?.document.querySelector(v):ht(v);if(!k)return;let T;if(u){T=s.document.createElement("style");const w="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";T.appendChild(document.createTextNode(w)),s.document.head.appendChild(T)}if(E==="class"){const w=m.split(/\s/g);Object.values(f).flatMap(C=>(C||"").split(/\s/g)).filter(Boolean).forEach(C=>{w.includes(C)?k.classList.add(C):k.classList.remove(C)})}else k.setAttribute(E,m);u&&(s.getComputedStyle(T).opacity,document.head.removeChild(T))});function S(v){var E;b(t,n,(E=f[v])!=null?E:v)}function _(v){e.onChanged?e.onChanged(v,S):S(v)}Be(g,_,{flush:"post",immediate:!0}),ps(()=>_(g.value));const y=de({get(){return c?h.value:g.value},set(v){h.value=v}});try{return Object.assign(y,{store:h,system:p,state:g})}catch{return y}}function Lm(e,t,n={}){const{window:r=Et,...s}=n;let o;const i=ua(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=de(()=>Array.isArray(e)?e.map(f=>ht(f)):[ht(e)]),c=Be(l,f=>{if(a(),i.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{a(),c()};return _n(u),{isSupported:i,stop:u}}function S2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=K(0),a=K(0),l=K(0),c=K(0),u=K(0),f=K(0),d=K(0),p=K(0);function h(){const g=ht(e);if(!g){n&&(i.value=0,a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,p.value=0);return}const b=g.getBoundingClientRect();i.value=b.height,a.value=b.bottom,l.value=b.left,c.value=b.right,u.value=b.top,f.value=b.width,d.value=b.x,p.value=b.y}return Lm(e,h),Be(()=>ht(e),g=>!g&&h()),s&&wt("scroll",h,{capture:!0,passive:!0}),r&&wt("resize",h,{passive:!0}),ps(()=>{o&&h()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:p,update:h}}function E2(e,t={width:0,height:0},n={}){const{window:r=Et,box:s="content-box"}=n,o=de(()=>{var f,d;return(d=(f=ht(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=K(t.width),a=K(t.height),{stop:l}=Lm(e,([f])=>{const d=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const p=ht(e);if(p){const h=r.getComputedStyle(p);i.value=Number.parseFloat(h.width),a.value=Number.parseFloat(h.height)}}else if(d){const p=Array.isArray(d)?d:[d];i.value=p.reduce((h,{inlineSize:g})=>h+g,0),a.value=p.reduce((h,{blockSize:g})=>h+g,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);ps(()=>{const f=ht(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=Be(()=>ht(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}}function ms(e,t,n={}){const{window:r=Et}=n;return Xc(e,t,r?.localStorage,n)}function MS(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=K(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?kS(s,{immediate:!0}):bS(s,n,{immediate:!0});return t?{now:r,...o}:r}function DS(e,t,n={}){const{window:r=Et}=n;return Xc(e,t,r?.sessionStorage,n)}let FS=0;function x2(e,t={}){const n=K(!1),{document:r=ES,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++FS}`}=t,a=K(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=Be(a,d=>{f.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&ps(c),o||_n(u),{id:i,css:a,unload:u,load:c,isLoaded:Er(n)}}const BS=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],jS={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function zS(e){return e.toISOString().slice(0,10)}function T2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...o}=MS({interval:r,controls:!0}),i=de(()=>HS(new Date(Ye(e)),t,Ye(s)));return n?{timeAgo:i,...o}:i}function HS(e,t={},n=Date.now()){var r;const{max:s,messages:o=jS,fullDateFormatter:i=zS,units:a=BS,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?b=>+b.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function p(b,S){return u(Math.abs(b)/S.value)}function h(b,S){const _=p(b,S),y=b>0,v=g(S.name,_,y);return g(y?"past":"future",v,y)}function g(b,S,_){const y=o[b];return typeof y=="function"?y(S,_):y.replace("{0}",S.toString())}if(d<6e4&&!l)return o.justNow;if(typeof s=="number"&&d>s)return i(new Date(e));if(typeof s=="string"){const b=(r=a.find(S=>S.name===s))==null?void 0:r.max;if(b&&d>b)return i(new Date(e))}for(const[b,S]of a.entries()){if(p(f,S)<=0&&a[b-1])return h(f,a[b-1]);if(d<S.max)return h(f,S)}return o.invalid}function Mm(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=on(),h=n||p?.emit||((s=p?.$emit)==null?void 0:s.bind(p))||((i=(o=p?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(p?.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const b=y=>a?typeof a=="function"?a(y):AS(y):y,S=()=>Z1(e[t])?b(e[t]):f,_=y=>{d?d(y)&&h(g,y):h(g,y)};if(l){const y=S(),v=K(y);let E=!1;return Be(()=>e[t],m=>{E||(E=!0,v.value=b(m),kt(()=>E=!1))}),Be(v,m=>{!E&&(m!==e[t]||u)&&_(m)},{deep:u}),v}else return de({get(){return S()},set(y){_(y)}})}function Dm(e={}){const{window:t=Et,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=K(n),a=K(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),ps(l),wt("resize",l,{passive:!0}),s){const c=Om("(orientation: portrait)");Be(c,()=>l())}return{width:i,height:a}}function US(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const VS=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function WS(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const qf=function(...e){e=e.map(r=>US(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:WS();!s||s.length===0||(t=`${s}/${t}`,n=Kf(s))}return t=GS(t,!n),n&&!Kf(t)?`/${t}`:t.length>0?t:"."};function GS(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Kf=function(e){return VS.test(e)},qS=function(e,t){const n=qf(e).split("/"),r=qf(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function C2(e){return!!e.match(/[/\\]node_modules[/\\]/)||Yc(e)}function Yc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function KS(e){if(Yc(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function XS(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function k2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function P2(e,t){if(e=e.replace(/\\/g,"/"),Yc(e))return{moduleName:e,path:e};const n=KS(e),r=XS(e);if(n&&r)return{moduleName:n,path:r};try{let s=qS(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function vt(e,t,n){const r=Me(),s=r.payload.unique=r.payload.unique||{};return s[e]||(s[e]=km(e,t,n)),s[e].data}function A2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Xf={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function R2(e){return Xf[e.toLowerCase()]||Xf.default}function $2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function N2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function O2(e,t=65,n=50,r=1){let s=0;for(let i=0;i<e.length;i++)s=e.charCodeAt(i)+((s<<5)-s);return`hsla(${s%360}, ${t}%, ${n}%, ${r})`}function fa(e,t){return hs(e,()=>DS(e,t,{listenToStorageChanges:!1}))}function I2(e,t){const n=t?.find(s=>s.id===e.filePath)?.deps?.map(s=>t?.find(o=>o.id===s)?.id).filter(Boolean),r=t?.filter(s=>s.deps.includes(e.filePath)).map(s=>s.id);return{component:e,dependencies:n,dependents:r}}function L2(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}const YS=6e4;function Fm(e){return e}const JS=Fm,{clearTimeout:ZS,setTimeout:QS}=globalThis,eE=Math.random.bind(Math);function tE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Fm,deserialize:i=JS,resolver:a,timeout:l=YS}=t,c=new Map;let u;const f=new Proxy({},{get(d,p){if(p==="$functions")return e;const h=(...b)=>{n(o({m:p,a:b,t:"q"}))};if(s.includes(p))return h.asEvent=h,h;const g=async(...b)=>(await u,new Promise((S,_)=>{const y=rE();let v;l>=0&&(v=QS(()=>{_(new Error(`[birpc] timeout on calling "${p}"`)),c.delete(y)},l).unref?.()),c.set(y,{resolve:S,reject:_,timeoutId:v}),n(o({m:p,a:b,i:y,t:"q"}))}));return g.asEvent=h,g}});return u=r(async(d,...p)=>{const h=i(d);if(h.t==="q"){const{m:g,a:b}=h;let S,_;const y=a?a(g,e[g]):e[g];if(!y)_=new Error(`[birpc] function "${g}" not found`);else try{S=await y.apply(f,b)}catch(v){_=v}h.i&&(_&&t.onError&&t.onError(_,g,b),n(o({t:"s",i:h.i,r:S,e:_}),...p))}else{const{i:g,r:b,e:S}=h,_=c.get(g);_&&(ZS(_.timeoutId),S?_.reject(S):_.resolve(b)),c.delete(g)}}),f}const nE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function rE(e=21){let t="",n=e;for(;n--;)t+=nE[eE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:sE,stringify:oE}=JSON,{keys:iE}=Object,wo=String,Bm="string",Yf={},Ii="object",jm=(e,t)=>t,aE=e=>e instanceof wo?wo(e):e,lE=(e,t)=>typeof t===Bm?new wo(t):t,zm=(e,t,n,r)=>{const s=[];for(let o=iE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof wo){const u=e[c];typeof u===Ii&&!t.has(u)?(t.add(u),n[l]=Yf,s.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==Yf&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,zm.apply(null,l))}return n},Jf=(e,t,n)=>{const r=wo(t.push(n)-1);return e.set(n,r),r},cE=(e,t)=>{const n=sE(e,lE).map(aE),r=n[0],s=t||jm,o=typeof r===Ii&&r?zm(n,new Set,r,s):r;return s.call({"":o},"",o)},uE=(e,t,n)=>{const r=t&&typeof t===Ii?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||jm,s=new Map,o=[],i=[];let a=+Jf(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=oE(o[a++],c,n);return"["+i.join(",")+"]";function c(u,f){if(l)return l=!l,f;const d=r.call(this,u,f);switch(typeof d){case Ii:if(d===null)return d;case Bm:return s.get(d)||Jf(s,o,d)}return d}};async function fE(e="/",t=!0){try{const n=`${e}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await we(()=>import(n),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function dE(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function hE(e="/___",t){t=t??dE();for(const n of t){const s=(await fE(n,!1))?.createHotContext(e);if(s)return s}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const Hm="nuxt:devtools:rpc",Or=K(!1),M2=K(),pE=fS(Or,2e3),mE=gE();let Um=()=>{};const Vm={},Wm=new Map,Pe=tE(Vm,{post:async e=>{(await mE).send(Hm,e)},on:e=>{Um=e},serialize:uE,deserialize:cE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Wm.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function gE(){let e=window.parent?.__NUXT__?.config?.app?.baseURL;const t=window.parent?.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=await hE(void 0,[...e?[`${e}${t}/`,e]:[],"/_nuxt/","/"]);if(!n)throw Or.value=!0,new Error("Unable to connect to devtools");return n.on(Hm,r=>{Or.value=!1,Um(r)}),Or.value=!0,n.on("vite:ws:connect",()=>{Or.value=!1}),n.on("vite:ws:disconnect",()=>{Or.value=!0}),n}let Gm;function Jc(e){Gm?.(e)}function vE(e){Gm=e}const D2=qc(),qm=qc();function yE(){return hs("devtools:restart-dialogs",()=>[])}var _E=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function F2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var zl={exports:{}};(function(e,t){(function(n,r){var s="1.0.37",o="",i="?",a="function",l="undefined",c="object",u="string",f="major",d="model",p="name",h="type",g="vendor",b="version",S="architecture",_="console",y="mobile",v="tablet",E="smarttv",m="wearable",k="embedded",T=500,w="Amazon",C="Apple",A="ASUS",x="BlackBerry",P="Browser",R="Chrome",L="Edge",I="Firefox",F="Google",D="Huawei",U="LG",ee="Microsoft",re="Motorola",oe="Opera",he="Samsung",ue="Sharp",Se="Sony",$e="Xiaomi",O="Zebra",J="Facebook",V="Chromium OS",ce="Mac OS",xe=function(te,le){var se={};for(var pe in te)le[pe]&&le[pe].length%2===0?se[pe]=le[pe].concat(te[pe]):se[pe]=te[pe];return se},$=function(te){for(var le={},se=0;se<te.length;se++)le[te[se].toUpperCase()]=te[se];return le},N=function(te,le){return typeof te===u?M(le).indexOf(M(te))!==-1:!1},M=function(te){return te.toLowerCase()},B=function(te){return typeof te===u?te.replace(/[^\d\.]/g,o).split(".")[0]:r},j=function(te,le){if(typeof te===u)return te=te.replace(/^\s\s*/,o),typeof le===l?te:te.substring(0,T)},H=function(te,le){for(var se=0,pe,Ie,We,ke,ve,it;se<le.length&&!ve;){var kr=le[se],at=le[se+1];for(pe=Ie=0;pe<kr.length&&!ve&&kr[pe];)if(ve=kr[pe++].exec(te),ve)for(We=0;We<at.length;We++)it=ve[++Ie],ke=at[We],typeof ke===c&&ke.length>0?ke.length===2?typeof ke[1]==a?this[ke[0]]=ke[1].call(this,it):this[ke[0]]=ke[1]:ke.length===3?typeof ke[1]===a&&!(ke[1].exec&&ke[1].test)?this[ke[0]]=it?ke[1].call(this,it,ke[2]):r:this[ke[0]]=it?it.replace(ke[1],ke[2]):r:ke.length===4&&(this[ke[0]]=it?ke[3].call(this,it.replace(ke[1],ke[2])):r):this[ke]=it||r;se+=2}},ne=function(te,le){for(var se in le)if(typeof le[se]===c&&le[se].length>0){for(var pe=0;pe<le[se].length;pe++)if(N(le[se][pe],te))return se===i?r:se}else if(N(le[se],te))return se===i?r:se;return te},G={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,b],[/opios[\/ ]+([\w\.]+)/i],[b,[p,oe+" Mini"]],[/\bopr\/([\w\.]+)/i],[b,[p,oe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[b,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[p,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[b,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[b,[p,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+P],b],[/\bfocus\/([\w\.]+)/i],[b,[p,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[p,oe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[p,oe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[p,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[b,[p,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+P],b],[/samsungbrowser\/([\w\.]+)/i],[b,[p,he+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],b],[/metasr[\/ ]?([\d\.]+)/i],[b,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,b],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,J],b],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[p,R+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,R+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[p,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[b,ne,G]],[/(webkit|khtml)\/([\w\.]+)/i],[p,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[p,I+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,b],[/(cobalt)\/([\w\.]+)/i],[p,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,M]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,o,M]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,M]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[g,he],[h,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[g,he],[h,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[g,C],[h,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[g,C],[h,v]],[/(macintosh);/i],[d,[g,C]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[g,ue],[h,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[g,D],[h,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[g,D],[h,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[g,$e],[h,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[g,$e],[h,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[g,"OPPO"],[h,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[g,"Vivo"],[h,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[g,"Realme"],[h,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[g,re],[h,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[g,re],[h,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[g,U],[h,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[g,U],[h,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[g,"Lenovo"],[h,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[g,"Nokia"],[h,y]],[/(pixel c)\b/i],[d,[g,F],[h,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[g,F],[h,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[g,Se],[h,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[g,Se],[h,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[g,"OnePlus"],[h,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[g,w],[h,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[g,w],[h,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,g,[h,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[g,x],[h,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[g,A],[h,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[g,A],[h,y]],[/(nexus 9)/i],[d,[g,"HTC"],[h,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[d,/_/g," "],[h,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[g,"Acer"],[h,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[g,"Meizu"],[h,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[g,"Ulefone"],[h,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,d,[h,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[g,d,[h,v]],[/(surface duo)/i],[d,[g,ee],[h,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[g,"Fairphone"],[h,y]],[/(u304aa)/i],[d,[g,"AT&T"],[h,y]],[/\bsie-(\w*)/i],[d,[g,"Siemens"],[h,y]],[/\b(rct\w+) b/i],[d,[g,"RCA"],[h,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[g,"Dell"],[h,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[g,"Verizon"],[h,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[g,"Barnes & Noble"],[h,v]],[/\b(tm\d{3}\w+) b/i],[d,[g,"NuVision"],[h,v]],[/\b(k88) b/i],[d,[g,"ZTE"],[h,v]],[/\b(nx\d{3}j) b/i],[d,[g,"ZTE"],[h,y]],[/\b(gen\d{3}) b.+49h/i],[d,[g,"Swiss"],[h,y]],[/\b(zur\d{3}) b/i],[d,[g,"Swiss"],[h,v]],[/\b((zeki)?tb.*\b) b/i],[d,[g,"Zeki"],[h,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],d,[h,v]],[/\b(ns-?\w{0,9}) b/i],[d,[g,"Insignia"],[h,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[g,"NextBook"],[h,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],d,[h,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],d,[h,y]],[/\b(ph-1) /i],[d,[g,"Essential"],[h,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[g,"Envizen"],[h,v]],[/\b(trio[-\w\. ]+) b/i],[d,[g,"MachSpeed"],[h,v]],[/\btu_(1491) b/i],[d,[g,"Rotor"],[h,v]],[/(shield[\w ]+) b/i],[d,[g,"Nvidia"],[h,v]],[/(sprint) (\w+)/i],[g,d,[h,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[g,ee],[h,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[g,O],[h,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[g,O],[h,y]],[/smart-tv.+(samsung)/i],[g,[h,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[g,he],[h,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,U],[h,E]],[/(apple) ?tv/i],[g,[d,C+" TV"],[h,E]],[/crkey/i],[[d,R+"cast"],[g,F],[h,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[g,w],[h,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[g,ue],[h,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[g,Se],[h,E]],[/(mitv-\w{5}) bui/i],[d,[g,$e],[h,E]],[/Hbbtv.*(technisat) (.*);/i],[g,d,[h,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,j],[d,j],[h,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,d,[h,_]],[/droid.+; (shield) bui/i],[d,[g,"Nvidia"],[h,_]],[/(playstation [345portablevi]+)/i],[d,[g,Se],[h,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[g,ee],[h,_]],[/((pebble))app/i],[g,d,[h,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[g,C],[h,m]],[/droid.+; (glass) \d/i],[d,[g,F],[h,m]],[/droid.+; (wt63?0{2,3})\)/i],[d,[g,O],[h,m]],[/(quest( 2| pro)?)/i],[d,[g,J],[h,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[h,k]],[/(aeobc)\b/i],[d,[g,w],[h,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[p,L+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,b],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[b,ne,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,ne,X],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,ce],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,b],[/\(bb(10);/i],[b,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[p,I+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[p,R+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,V],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,b],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,b]]},ie=function(te,le){if(typeof te===c&&(le=te,te=r),!(this instanceof ie))return new ie(te,le).getResult();var se=typeof n!==l&&n.navigator?n.navigator:r,pe=te||(se&&se.userAgent?se.userAgent:o),Ie=se&&se.userAgentData?se.userAgentData:r,We=le?xe(W,le):W,ke=se&&se.userAgent==pe;return this.getBrowser=function(){var ve={};return ve[p]=r,ve[b]=r,H.call(ve,pe,We.browser),ve[f]=B(ve[b]),ke&&se&&se.brave&&typeof se.brave.isBrave==a&&(ve[p]="Brave"),ve},this.getCPU=function(){var ve={};return ve[S]=r,H.call(ve,pe,We.cpu),ve},this.getDevice=function(){var ve={};return ve[g]=r,ve[d]=r,ve[h]=r,H.call(ve,pe,We.device),ke&&!ve[h]&&Ie&&Ie.mobile&&(ve[h]=y),ke&&ve[d]=="Macintosh"&&se&&typeof se.standalone!==l&&se.maxTouchPoints&&se.maxTouchPoints>2&&(ve[d]="iPad",ve[h]=v),ve},this.getEngine=function(){var ve={};return ve[p]=r,ve[b]=r,H.call(ve,pe,We.engine),ve},this.getOS=function(){var ve={};return ve[p]=r,ve[b]=r,H.call(ve,pe,We.os),ke&&!ve[p]&&Ie&&Ie.platform!="Unknown"&&(ve[p]=Ie.platform.replace(/chrome os/i,V).replace(/macos/i,ce)),ve},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return pe},this.setUA=function(ve){return pe=typeof ve===u&&ve.length>T?j(ve,T):ve,this},this.setUA(pe),this};ie.VERSION=s,ie.BROWSER=$([p,b,f]),ie.CPU=$([S]),ie.DEVICE=$([d,g,h,_,y,E,v,m,k]),ie.ENGINE=ie.OS=$([p,b]),e.exports&&(t=e.exports=ie),t.UAParser=ie;var ae=typeof n!==l&&(n.jQuery||n.Zepto);if(ae&&!ae.ua){var fe=new ie;ae.ua=fe.getResult(),ae.ua.get=function(){return fe.getUA()},ae.ua.set=function(te){fe.setUA(te);var le=fe.getResult();for(var se in le)ae.ua[se]=le[se]}}})(typeof window=="object"?window:_E)})(zl,zl.exports);var wE=zl.exports;const ft=K(localStorage.getItem("__nuxt_dev_token__")),bt=K(!1),Km=new BroadcastChannel("__nuxt_dev_token__");Km.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===ft.value)return;const t=e.data.data;Pe.verifyAuthToken(t).then(n=>{ft.value=n?t:null,bt.value=n})}});function SE(e){ft.value=e,bt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Km.postMessage({event:"new-token",data:e})}async function EE(){if(bt.value)return ft.value;if(ft.value||await Zf(),bt.value=await Pe.verifyAuthToken(ft.value),!bt.value)throw ft.value=null,Jc({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await Zf(),new Error("Invalid auth token");return ft.value}const Zt=new wE.UAParser(navigator.userAgent).getResult();async function Xm(){const e=[Zt.browser.name,Zt.browser.version,"|",Zt.os.name,Zt.os.version,Zt.device.type].filter(t=>t).join(" ");return await Pe.requestForAuth(e,window.location.origin)}async function Zf(){if(ft.value||Xm(),await Promise.race([qm.start(),pS(ft.value).toBeTruthy()])===!1)throw Jc({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var Hl={exports:{}};const xE="2.0.0",Ym=256,TE=Number.MAX_SAFE_INTEGER||9007199254740991,CE=16,kE=Ym-6,PE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var da={MAX_LENGTH:Ym,MAX_SAFE_COMPONENT_LENGTH:CE,MAX_SAFE_BUILD_LENGTH:kE,MAX_SAFE_INTEGER:TE,RELEASE_TYPES:PE,SEMVER_SPEC_VERSION:xE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const AE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var ha=AE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=da,o=ha;t=e.exports={};const i=t.re=[],a=t.safeRe=[],l=t.src=[],c=t.t={};let u=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",s],[f,r]],p=g=>{for(const[b,S]of d)g=g.split(`${b}*`).join(`${b}{0,${S}}`).split(`${b}+`).join(`${b}{1,${S}}`);return g},h=(g,b,S)=>{const _=p(b),y=u++;o(g,y,b),c[g]=y,l[y]=b,i[y]=new RegExp(b,S?"g":void 0),a[y]=new RegExp(_,S?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),h("FULL",`^${l[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),h("LOOSE",`^${l[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),h("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",l[c.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Hl,Hl.exports);var $o=Hl.exports;const RE=Object.freeze({loose:!0}),$E=Object.freeze({}),NE=e=>e?typeof e!="object"?RE:e:$E;var Zc=NE;const Qf=/^[0-9]+$/,Jm=(e,t)=>{const n=Qf.test(e),r=Qf.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},OE=(e,t)=>Jm(t,e);var Zm={compareIdentifiers:Jm,rcompareIdentifiers:OE};const Jo=ha,{MAX_LENGTH:ed,MAX_SAFE_INTEGER:Zo}=da,{safeRe:td,t:nd}=$o,IE=Zc,{compareIdentifiers:Ar}=Zm;let LE=class qt{constructor(t,n){if(n=IE(n),t instanceof qt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>ed)throw new TypeError(`version is longer than ${ed} characters`);Jo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?td[nd.LOOSE]:td[nd.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Zo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Zo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Zo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<Zo)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Jo("SemVer.compare",this.version,this.options,t),!(t instanceof qt)){if(typeof t=="string"&&t===this.version)return 0;t=new qt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof qt||(t=new qt(t,this.options)),Ar(this.major,t.major)||Ar(this.minor,t.minor)||Ar(this.patch,t.patch)}comparePre(t){if(t instanceof qt||(t=new qt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(Jo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Ar(r,s)}while(++n)}compareBuild(t){t instanceof qt||(t=new qt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Jo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Ar(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Ar(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var yt=LE;const rd=yt,ME=(e,t,n=!1)=>{if(e instanceof rd)return e;try{return new rd(e,t)}catch(r){if(!n)return null;throw r}};var gs=ME;const DE=gs,FE=(e,t)=>{const n=DE(e,t);return n?n.version:null};var BE=FE;const jE=gs,zE=(e,t)=>{const n=jE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var HE=zE;const sd=yt,UE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new sd(e instanceof sd?e.version:e,n).inc(t,r,s).version}catch{return null}};var VE=UE;const od=gs,WE=(e,t)=>{const n=od(e,null,!0),r=od(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const u=l?"pre":"";return n.major!==r.major?u+"major":n.minor!==r.minor?u+"minor":n.patch!==r.patch?u+"patch":"prerelease"};var GE=WE;const qE=yt,KE=(e,t)=>new qE(e,t).major;var XE=KE;const YE=yt,JE=(e,t)=>new YE(e,t).minor;var ZE=JE;const QE=yt,ex=(e,t)=>new QE(e,t).patch;var tx=ex;const nx=gs,rx=(e,t)=>{const n=nx(e,t);return n&&n.prerelease.length?n.prerelease:null};var sx=rx;const id=yt,ox=(e,t,n)=>new id(e,n).compare(new id(t,n));var Vt=ox;const ix=Vt,ax=(e,t,n)=>ix(t,e,n);var lx=ax;const cx=Vt,ux=(e,t)=>cx(e,t,!0);var fx=ux;const ad=yt,dx=(e,t,n)=>{const r=new ad(e,n),s=new ad(t,n);return r.compare(s)||r.compareBuild(s)};var Qc=dx;const hx=Qc,px=(e,t)=>e.sort((n,r)=>hx(n,r,t));var mx=px;const gx=Qc,vx=(e,t)=>e.sort((n,r)=>gx(r,n,t));var yx=vx;const _x=Vt,bx=(e,t,n)=>_x(e,t,n)>0;var pa=bx;const wx=Vt,Sx=(e,t,n)=>wx(e,t,n)<0;var eu=Sx;const Ex=Vt,xx=(e,t,n)=>Ex(e,t,n)===0;var Qm=xx;const Tx=Vt,Cx=(e,t,n)=>Tx(e,t,n)!==0;var eg=Cx;const kx=Vt,Px=(e,t,n)=>kx(e,t,n)>=0;var tu=Px;const Ax=Vt,Rx=(e,t,n)=>Ax(e,t,n)<=0;var nu=Rx;const $x=Qm,Nx=eg,Ox=pa,Ix=tu,Lx=eu,Mx=nu,Dx=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return $x(e,n,r);case"!=":return Nx(e,n,r);case">":return Ox(e,n,r);case">=":return Ix(e,n,r);case"<":return Lx(e,n,r);case"<=":return Mx(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var tg=Dx;const Fx=yt,Bx=gs,{safeRe:Qo,t:ei}=$o,jx=(e,t)=>{if(e instanceof Fx)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Qo[ei.COERCE]);else{let r;for(;(r=Qo[ei.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Qo[ei.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Qo[ei.COERCERTL].lastIndex=-1}return n===null?null:Bx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var zx=jx,Ha,ld;function Hx(){return ld||(ld=1,Ha=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Ha}var Ux=De;De.Node=_r;De.create=De;function De(e){var t=this;if(t instanceof De||(t=new De),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}De.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};De.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};De.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};De.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Wx(this,arguments[e]);return this.length};De.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Gx(this,arguments[e]);return this.length};De.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};De.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};De.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};De.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};De.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};De.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};De.prototype.map=function(e,t){t=t||this;for(var n=new De,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};De.prototype.mapReverse=function(e,t){t=t||this;for(var n=new De,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};De.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};De.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};De.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};De.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};De.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new De;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};De.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new De;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};De.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=Vx(this,s,n[r]);return o};De.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function Vx(e,t,n){var r=t===e.head?new _r(n,null,t,e):new _r(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Wx(e,t){e.tail=new _r(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Gx(e,t){e.head=new _r(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function _r(e,t,n,r){if(!(this instanceof _r))return new _r(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{Hx()(De)}catch{}const qx=Ux,sr=Symbol("max"),dn=Symbol("length"),Rr=Symbol("lengthCalculator"),ro=Symbol("allowStale"),lr=Symbol("maxAge"),fn=Symbol("dispose"),cd=Symbol("noDisposeOnSet"),et=Symbol("lruList"),Mt=Symbol("cache"),ng=Symbol("updateAgeOnGet"),Ua=()=>1;class Kx{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[sr]=t.max||1/0;const n=t.length||Ua;if(this[Rr]=typeof n!="function"?Ua:n,this[ro]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[lr]=t.maxAge||0,this[fn]=t.dispose,this[cd]=t.noDisposeOnSet||!1,this[ng]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[sr]=t||1/0,xs(this)}get max(){return this[sr]}set allowStale(t){this[ro]=!!t}get allowStale(){return this[ro]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[lr]=t,xs(this)}get maxAge(){return this[lr]}set lengthCalculator(t){typeof t!="function"&&(t=Ua),t!==this[Rr]&&(this[Rr]=t,this[dn]=0,this[et].forEach(n=>{n.length=this[Rr](n.value,n.key),this[dn]+=n.length})),xs(this)}get lengthCalculator(){return this[Rr]}get length(){return this[dn]}get itemCount(){return this[et].length}rforEach(t,n){n=n||this;for(let r=this[et].tail;r!==null;){const s=r.prev;ud(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[et].head;r!==null;){const s=r.next;ud(this,t,r,n),r=s}}keys(){return this[et].toArray().map(t=>t.key)}values(){return this[et].toArray().map(t=>t.value)}reset(){this[fn]&&this[et]&&this[et].length&&this[et].forEach(t=>this[fn](t.key,t.value)),this[Mt]=new Map,this[et]=new qx,this[dn]=0}dump(){return this[et].map(t=>Li(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[et]}set(t,n,r){if(r=r||this[lr],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[Rr](n,t);if(this[Mt].has(t)){if(o>this[sr])return zr(this,this[Mt].get(t)),!1;const l=this[Mt].get(t).value;return this[fn]&&(this[cd]||this[fn](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[dn]+=o-l.length,l.length=o,this.get(t),xs(this),!0}const i=new Xx(t,n,o,s,r);return i.length>this[sr]?(this[fn]&&this[fn](t,n),!1):(this[dn]+=i.length,this[et].unshift(i),this[Mt].set(t,this[et].head),xs(this),!0)}has(t){if(!this[Mt].has(t))return!1;const n=this[Mt].get(t).value;return!Li(this,n)}get(t){return Va(this,t,!0)}peek(t){return Va(this,t,!1)}pop(){const t=this[et].tail;return t?(zr(this,t),t.value):null}del(t){zr(this,this[Mt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Mt].forEach((t,n)=>Va(this,n,!1))}}const Va=(e,t,n)=>{const r=e[Mt].get(t);if(r){const s=r.value;if(Li(e,s)){if(zr(e,r),!e[ro])return}else n&&(e[ng]&&(r.value.now=Date.now()),e[et].unshiftNode(r));return s.value}},Li=(e,t)=>{if(!t||!t.maxAge&&!e[lr])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[lr]&&n>e[lr]},xs=e=>{if(e[dn]>e[sr])for(let t=e[et].tail;e[dn]>e[sr]&&t!==null;){const n=t.prev;zr(e,t),t=n}},zr=(e,t)=>{if(t){const n=t.value;e[fn]&&e[fn](n.key,n.value),e[dn]-=n.length,e[Mt].delete(n.key),e[et].removeNode(t)}};class Xx{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const ud=(e,t,n,r)=>{let s=n.value;Li(e,s)&&(zr(e,n),e[ro]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var Yx=Kx,Wa,fd;function Wt(){if(fd)return Wa;fd=1;class e{constructor(R,L){if(L=r(L),R instanceof e)return R.loose===!!L.loose&&R.includePrerelease===!!L.includePrerelease?R:new e(R.raw,L);if(R instanceof s)return this.raw=R.value,this.set=[[R]],this.format(),this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=R.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(F=>!h(F[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const F of this.set)if(F.length===1&&g(F[0])){this.set=[F];break}}}this.format()}format(){return this.range=this.set.map(R=>R.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(R){const I=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+R,F=n.get(I);if(F)return F;const D=this.options.loose,U=D?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];R=R.replace(U,A(this.options.includePrerelease)),o("hyphen replace",R),R=R.replace(a[l.COMPARATORTRIM],c),o("comparator trim",R),R=R.replace(a[l.TILDETRIM],u),o("tilde trim",R),R=R.replace(a[l.CARETTRIM],f),o("caret trim",R);let ee=R.split(" ").map(ue=>S(ue,this.options)).join(" ").split(/\s+/).map(ue=>C(ue,this.options));D&&(ee=ee.filter(ue=>(o("loose invalid filter",ue,this.options),!!ue.match(a[l.COMPARATORLOOSE])))),o("range list",ee);const re=new Map,oe=ee.map(ue=>new s(ue,this.options));for(const ue of oe){if(h(ue))return[ue];re.set(ue.value,ue)}re.size>1&&re.has("")&&re.delete("");const he=[...re.values()];return n.set(I,he),he}intersects(R,L){if(!(R instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>b(I,L)&&R.set.some(F=>b(F,L)&&I.every(D=>F.every(U=>D.intersects(U,L)))))}test(R){if(!R)return!1;if(typeof R=="string")try{R=new i(R,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if(x(this.set[L],R,this.options))return!0;return!1}}Wa=e;const t=Yx,n=new t({max:1e3}),r=Zc,s=ma(),o=ha,i=yt,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=$o,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=da,h=P=>P.value==="<0.0.0-0",g=P=>P.value==="",b=(P,R)=>{let L=!0;const I=P.slice();let F=I.pop();for(;L&&I.length;)L=I.every(D=>F.intersects(D,R)),F=I.pop();return L},S=(P,R)=>(o("comp",P,R),P=E(P,R),o("caret",P),P=y(P,R),o("tildes",P),P=k(P,R),o("xrange",P),P=w(P,R),o("stars",P),P),_=P=>!P||P.toLowerCase()==="x"||P==="*",y=(P,R)=>P.trim().split(/\s+/).map(L=>v(L,R)).join(" "),v=(P,R)=>{const L=R.loose?a[l.TILDELOOSE]:a[l.TILDE];return P.replace(L,(I,F,D,U,ee)=>{o("tilde",P,I,F,D,U,ee);let re;return _(F)?re="":_(D)?re=`>=${F}.0.0 <${+F+1}.0.0-0`:_(U)?re=`>=${F}.${D}.0 <${F}.${+D+1}.0-0`:ee?(o("replaceTilde pr",ee),re=`>=${F}.${D}.${U}-${ee} <${F}.${+D+1}.0-0`):re=`>=${F}.${D}.${U} <${F}.${+D+1}.0-0`,o("tilde return",re),re})},E=(P,R)=>P.trim().split(/\s+/).map(L=>m(L,R)).join(" "),m=(P,R)=>{o("caret",P,R);const L=R.loose?a[l.CARETLOOSE]:a[l.CARET],I=R.includePrerelease?"-0":"";return P.replace(L,(F,D,U,ee,re)=>{o("caret",P,F,D,U,ee,re);let oe;return _(D)?oe="":_(U)?oe=`>=${D}.0.0${I} <${+D+1}.0.0-0`:_(ee)?D==="0"?oe=`>=${D}.${U}.0${I} <${D}.${+U+1}.0-0`:oe=`>=${D}.${U}.0${I} <${+D+1}.0.0-0`:re?(o("replaceCaret pr",re),D==="0"?U==="0"?oe=`>=${D}.${U}.${ee}-${re} <${D}.${U}.${+ee+1}-0`:oe=`>=${D}.${U}.${ee}-${re} <${D}.${+U+1}.0-0`:oe=`>=${D}.${U}.${ee}-${re} <${+D+1}.0.0-0`):(o("no pr"),D==="0"?U==="0"?oe=`>=${D}.${U}.${ee}${I} <${D}.${U}.${+ee+1}-0`:oe=`>=${D}.${U}.${ee}${I} <${D}.${+U+1}.0-0`:oe=`>=${D}.${U}.${ee} <${+D+1}.0.0-0`),o("caret return",oe),oe})},k=(P,R)=>(o("replaceXRanges",P,R),P.split(/\s+/).map(L=>T(L,R)).join(" ")),T=(P,R)=>{P=P.trim();const L=R.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return P.replace(L,(I,F,D,U,ee,re)=>{o("xRange",P,I,F,D,U,ee,re);const oe=_(D),he=oe||_(U),ue=he||_(ee),Se=ue;return F==="="&&Se&&(F=""),re=R.includePrerelease?"-0":"",oe?F===">"||F==="<"?I="<0.0.0-0":I="*":F&&Se?(he&&(U=0),ee=0,F===">"?(F=">=",he?(D=+D+1,U=0,ee=0):(U=+U+1,ee=0)):F==="<="&&(F="<",he?D=+D+1:U=+U+1),F==="<"&&(re="-0"),I=`${F+D}.${U}.${ee}${re}`):he?I=`>=${D}.0.0${re} <${+D+1}.0.0-0`:ue&&(I=`>=${D}.${U}.0${re} <${D}.${+U+1}.0-0`),o("xRange return",I),I})},w=(P,R)=>(o("replaceStars",P,R),P.trim().replace(a[l.STAR],"")),C=(P,R)=>(o("replaceGTE0",P,R),P.trim().replace(a[R.includePrerelease?l.GTE0PRE:l.GTE0],"")),A=P=>(R,L,I,F,D,U,ee,re,oe,he,ue,Se,$e)=>(_(I)?L="":_(F)?L=`>=${I}.0.0${P?"-0":""}`:_(D)?L=`>=${I}.${F}.0${P?"-0":""}`:U?L=`>=${L}`:L=`>=${L}${P?"-0":""}`,_(oe)?re="":_(he)?re=`<${+oe+1}.0.0-0`:_(ue)?re=`<${oe}.${+he+1}.0-0`:Se?re=`<=${oe}.${he}.${ue}-${Se}`:P?re=`<${oe}.${he}.${+ue+1}-0`:re=`<=${re}`,`${L} ${re}`.trim()),x=(P,R,L)=>{for(let I=0;I<P.length;I++)if(!P[I].test(R))return!1;if(R.prerelease.length&&!L.includePrerelease){for(let I=0;I<P.length;I++)if(o(P[I].semver),P[I].semver!==s.ANY&&P[I].semver.prerelease.length>0){const F=P[I].semver;if(F.major===R.major&&F.minor===R.minor&&F.patch===R.patch)return!0}return!1}return!0};return Wa}var Ga,dd;function ma(){if(dd)return Ga;dd=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(u,f){if(f=n(f),u instanceof t){if(u.loose===!!f.loose)return u;u=u.value}u=u.trim().split(/\s+/).join(" "),i("comparator",u,f),this.options=f,this.loose=!!f.loose,this.parse(u),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(u){const f=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],d=u.match(f);if(!d)throw new TypeError(`Invalid comparator: ${u}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(u){if(i("Comparator.test",u,this.options.loose),this.semver===e||u===e)return!0;if(typeof u=="string")try{u=new a(u,this.options)}catch{return!1}return o(u,this.operator,this.semver,this.options)}intersects(u,f){if(!(u instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(u.value,f).test(this.value):u.operator===""?u.value===""?!0:new l(this.value,f).test(u.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||u.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||u.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&u.operator.startsWith(">")||this.operator.startsWith("<")&&u.operator.startsWith("<")||this.semver.version===u.semver.version&&this.operator.includes("=")&&u.operator.includes("=")||o(this.semver,"<",u.semver,f)&&this.operator.startsWith(">")&&u.operator.startsWith("<")||o(this.semver,">",u.semver,f)&&this.operator.startsWith("<")&&u.operator.startsWith(">")))}}Ga=t;const n=Zc,{safeRe:r,t:s}=$o,o=tg,i=ha,a=yt,l=Wt();return Ga}const Jx=Wt(),Zx=(e,t,n)=>{try{t=new Jx(t,n)}catch{return!1}return t.test(e)};var ga=Zx;const Qx=Wt(),eT=(e,t)=>new Qx(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var tT=eT;const nT=yt,rT=Wt(),sT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new rT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new nT(r,n))}),r};var oT=sT;const iT=yt,aT=Wt(),lT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new aT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new iT(r,n))}),r};var cT=lT;const qa=yt,uT=Wt(),hd=pa,fT=(e,t)=>{e=new uT(e,t);let n=new qa("0.0.0");if(e.test(n)||(n=new qa("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new qa(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||hd(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||hd(n,o))&&(n=o)}return n&&e.test(n)?n:null};var dT=fT;const hT=Wt(),pT=(e,t)=>{try{return new hT(e,t).range||"*"}catch{return null}};var mT=pT;const gT=yt,rg=ma(),{ANY:vT}=rg,yT=Wt(),_T=ga,pd=pa,md=eu,bT=nu,wT=tu,ST=(e,t,n,r)=>{e=new gT(e,r),t=new yT(t,r);let s,o,i,a,l;switch(n){case">":s=pd,o=bT,i=md,a=">",l=">=";break;case"<":s=md,o=wT,i=pd,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_T(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const u=t.set[c];let f=null,d=null;if(u.forEach(p=>{p.semver===vT&&(p=new rg(">=0.0.0")),f=f||p,d=d||p,s(p.semver,f.semver,r)?f=p:i(p.semver,d.semver,r)&&(d=p)}),f.operator===a||f.operator===l||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var ru=ST;const ET=ru,xT=(e,t,n)=>ET(e,t,">",n);var TT=xT;const CT=ru,kT=(e,t,n)=>CT(e,t,"<",n);var PT=kT;const gd=Wt(),AT=(e,t,n)=>(e=new gd(e,n),t=new gd(t,n),e.intersects(t,n));var RT=AT;const $T=ga,NT=Vt;var OT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((u,f)=>NT(u,f,n));for(const u of i)$T(u,t,n)?(o=u,s||(s=u)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[u,f]of r)u===f?a.push(u):!f&&u===i[0]?a.push("*"):f?u===i[0]?a.push(`<=${f}`):a.push(`${u} - ${f}`):a.push(`>=${u}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const vd=Wt(),su=ma(),{ANY:Ka}=su,Ts=ga,ou=Vt,IT=(e,t,n={})=>{if(e===t)return!0;e=new vd(e,n),t=new vd(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=MT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},LT=[new su(">=0.0.0-0")],yd=[new su(">=0.0.0")],MT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ka){if(t.length===1&&t[0].semver===Ka)return!0;n.includePrerelease?e=LT:e=yd}if(t.length===1&&t[0].semver===Ka){if(n.includePrerelease)return!0;t=yd}const r=new Set;let s,o;for(const p of e)p.operator===">"||p.operator===">="?s=_d(s,p,n):p.operator==="<"||p.operator==="<="?o=bd(o,p,n):r.add(p.semver);if(r.size>1)return null;let i;if(s&&o){if(i=ou(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const p of r){if(s&&!Ts(p,String(s),n)||o&&!Ts(p,String(o),n))return null;for(const h of t)if(!Ts(p,String(h),n))return!1;return!0}let a,l,c,u,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const p of t){if(u=u||p.operator===">"||p.operator===">=",c=c||p.operator==="<"||p.operator==="<=",s){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=_d(s,p,n),a===p&&a!==s)return!1}else if(s.operator===">="&&!Ts(s.semver,String(p),n))return!1}if(o){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator==="<"||p.operator==="<="){if(l=bd(o,p,n),l===p&&l!==o)return!1}else if(o.operator==="<="&&!Ts(o.semver,String(p),n))return!1}if(!p.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&u&&!s&&i!==0||d||f)},_d=(e,t,n)=>{if(!e)return t;const r=ou(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},bd=(e,t,n)=>{if(!e)return t;const r=ou(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var DT=IT;const Xa=$o,wd=da,FT=yt,Sd=Zm,BT=gs,jT=BE,zT=HE,HT=VE,UT=GE,VT=XE,WT=ZE,GT=tx,qT=sx,KT=Vt,XT=lx,YT=fx,JT=Qc,ZT=mx,QT=yx,eC=pa,tC=eu,nC=Qm,rC=eg,sC=tu,oC=nu,iC=tg,aC=zx,lC=ma(),cC=Wt(),uC=ga,fC=tT,dC=oT,hC=cT,pC=dT,mC=mT,gC=ru,vC=TT,yC=PT,_C=RT,bC=OT,wC=DT;var SC={parse:BT,valid:jT,clean:zT,inc:HT,diff:UT,major:VT,minor:WT,patch:GT,prerelease:qT,compare:KT,rcompare:XT,compareLoose:YT,compareBuild:JT,sort:ZT,rsort:QT,gt:eC,lt:tC,eq:nC,neq:rC,gte:sC,lte:oC,cmp:iC,coerce:aC,Comparator:lC,Range:cC,satisfies:uC,toComparators:fC,maxSatisfying:dC,minSatisfying:hC,minVersion:pC,validRange:mC,outside:gC,gtr:vC,ltr:yC,intersects:_C,simplifyRange:bC,subset:wC,SemVer:FT,re:Xa.re,src:Xa.src,tokens:Xa.t,SEMVER_SPEC_VERSION:wd.SEMVER_SPEC_VERSION,RELEASE_TYPES:wd.RELEASE_TYPES,compareIdentifiers:Sd.compareIdentifiers,rcompareIdentifiers:Sd.rcompareIdentifiers};const EC=bE(SC),Ya=new Map;function B2(e,t){const n=e;return Ya.has(n)||Ya.set(n,CC(e,t)),Ya.get(n)}function xC(){return vt("npm:check:nuxt",()=>Pe.checkForUpdateFor("nuxt"))}function TC(e){const t=xC();return de(()=>t?.value?.current?EC.satisfies(t.value.current,e):!1)}function CC(e,t){const n=Me(),r=vt(`npm:check:${e}`,()=>Pe.checkForUpdateFor(e)),s=K("idle"),o=K();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await Pe.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Pe.runNpmCommand(await EE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Pe.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const Cs={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return TC("^3.5.0")}},ks={icon:"carbon-image-copy",title:"Assets",layout:"full"},Ps={icon:"i-carbon-assembly-cluster",title:"Components",order:2},As={layout:"full"},Rs={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},$s={icon:"carbon-function",title:"Imports",order:3},Ns={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},sg=()=>hs("color-mode").value,Ul=K();let Ed;function kC(){Ed||(Ed=(async()=>{const{default:e}=await we(()=>import("./index.8874e47c.js").then(t=>t.i),[],import.meta.url);Ul.value=new e({html:!0,linkify:!0,breaks:!0})})())}function PC(e){return kC(),Ul.value?Ul.value.render(e):e}async function AC(e){let t,n,r;function s(d){n=d,e.HEAP8=new Int8Array(d),e.HEAP16=new Int16Array(d),e.HEAP32=new Int32Array(d),e.HEAPU8=r=new Uint8Array(d),e.HEAPU16=new Uint16Array(d),e.HEAPU32=new Uint32Array(d),e.HEAPF32=new Float32Array(d),e.HEAPF64=new Float64Array(d)}const o=()=>performance.now();function i(d,p,h){r.copyWithin(d,p,p+h)}function a(){return 2147483648}function l(d){try{return t.grow(d-n.byteLength+65535>>>16),s(t.buffer),1}catch{}}function c(d){const p=r.length;d=d>>>0;const h=a();if(d>h)return!1;const g=(b,S)=>b+(S-b%S)%S;for(let b=1;b<=4;b*=2){let S=p*(1+.2/b);S=Math.min(S,d+100663296);const _=Math.min(h,g(Math.max(d,S),65536));if(l(_))return!0}return!1}const u={emscripten_get_now:o,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const d={env:u,wasi_snapshot_preview1:u};function p(g){const b=g.exports;e.asm=b,t=e.asm.memory,s(t.buffer)}const h=await e.instantiateWasm(d);return p(h),h}return await f(),e._omalloc=function(){return(e._omalloc=e.asm.omalloc).apply(null,arguments)},e._ofree=function(){return(e._ofree=e.asm.ofree).apply(null,arguments)},e._getLastOnigError=function(){return(e._getLastOnigError=e.asm.getLastOnigError).apply(null,arguments)},e._createOnigScanner=function(){return(e._createOnigScanner=e.asm.createOnigScanner).apply(null,arguments)},e._freeOnigScanner=function(){return(e._freeOnigScanner=e.asm.freeOnigScanner).apply(null,arguments)},e._findNextOnigScannerMatch=function(){return(e._findNextOnigScannerMatch=e.asm.findNextOnigScannerMatch).apply(null,arguments)},e._findNextOnigScannerMatchDbg=function(){return(e._findNextOnigScannerMatchDbg=e.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},e}let tt=null,RC=!1;function $C(e){throw new Error(e.UTF8ToString(e._getLastOnigError()))}class va{static _utf8ByteLength(t){let n=0;for(let r=0,s=t.length;r<s;r++){const o=t.charCodeAt(r);let i=o,a=!1;if(o>=55296&&o<=56319&&r+1<s){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(o-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}constructor(t){const n=t.length,r=va._utf8ByteLength(t),s=r!==n,o=s?new Uint32Array(n+1):null;s&&(o[n]=r);const i=s?new Uint32Array(r+1):null;s&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}s&&(o[c]=l,d&&(o[c+1]=l),f<=127?i[l+0]=c:f<=2047?(i[l+0]=c,i[l+1]=c):f<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}createString(t){const n=t._omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const ya=class Kt{constructor(t){if(this.id=++Kt.LAST_ID,!tt)throw new Error("Must invoke loadWasm first.");this._onigBinding=tt,this.content=t;const n=new va(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Kt._sharedPtrInUse?(Kt._sharedPtr||(Kt._sharedPtr=tt._omalloc(1e4)),Kt._sharedPtrInUse=!0,tt.HEAPU8.set(n.utf8Value,Kt._sharedPtr),this.ptr=Kt._sharedPtr):this.ptr=n.createString(tt)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Kt._sharedPtr?Kt._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}};ya.LAST_ID=0;ya._sharedPtr=0;ya._sharedPtrInUse=!1;let og=ya;class NC{constructor(t){if(!tt)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new va(t[a]);n[a]=c.createString(tt),r[a]=c.utf8Length}const s=tt._omalloc(4*t.length);tt.HEAPU32.set(n,s/4);const o=tt._omalloc(4*t.length);tt.HEAPU32.set(r,o/4);const i=tt._createOnigScanner(s,o,t.length);for(let a=0,l=t.length;a<l;a++)tt._ofree(n[a]);tt._ofree(o),tt._ofree(s),i===0&&$C(tt),this._onigBinding=tt,this._ptr=i}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let s=RC,o=0;if(typeof r=="number"?(r&8&&(s=!0),o=r):typeof r=="boolean"&&(s=r),typeof t=="string"){t=new og(t);const i=this._findNextMatchSync(t,n,s,o);return t.dispose(),i}return this._findNextMatchSync(t,n,s,o)}_findNextMatchSync(t,n,r,s){const o=this._onigBinding;let i;if(r?i=o._findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s):i=o._findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),s),i===0)return null;const a=o.HEAPU32;let l=i/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}async function OC(e,t){tt=await AC({print:t,instantiateWasm:n=>{if(typeof performance>"u"){const r=()=>Date.now();n.env.emscripten_get_now=r,n.wasi_snapshot_preview1.emscripten_get_now=r}return e(n).then(r=>r.instance||r)}})}function IC(e){return typeof e.instantiator=="function"}function LC(e){return typeof e.data<"u"}function MC(e){return typeof Response<"u"&&e instanceof Response}let xd=!1,Ja=null;function Td(e){if(xd)return Ja;xd=!0;let t,n;if(typeof e=="function")t=e;else if(IC(e))t=e.instantiator,n=e.print;else{let r;LC(e)?(r=e.data,n=e.print):r=e,MC(r)?typeof WebAssembly.instantiateStreaming=="function"?t=FC(r):t=BC(r):t=DC(r)}return Ja=OC(t,n),Ja}function DC(e){return t=>WebAssembly.instantiate(e,t)}function FC(e){return t=>WebAssembly.instantiateStreaming(e,t)}function BC(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function jC(e){return new og(e)}function zC(e){return new NC(e)}var HC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ig={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(HC,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},442:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.applyStateStackDiff=o.diffStateStacksRefEq=void 0;const a=i(391);o.diffStateStacksRefEq=function(l,c){let u=0;const f=[];let d=l,p=c;for(;d!==p;)d&&(!p||d.depth>=p.depth)?(u++,d=d.parent):(f.push(p.toStateStackFrame()),p=p.parent);return{pops:u,newFrames:f.reverse()}},o.applyStateStackDiff=function(l,c){let u=l;for(let f=0;f<c.pops;f++)u=u.parent;for(const f of c.newFrames)u=a.StateStackImpl.pushFrame(u,f);return u}},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),u=i.getFontStyle(a),f=i.getForeground(a),d=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:u,foreground:f,background:d})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,u,f,d,p){let h=i.getLanguageId(a),g=i.getTokenType(a),b=i.containsBalancedBrackets(a)?1:0,S=i.getFontStyle(a),_=i.getForeground(a),y=i.getBackground(a);return l!==0&&(h=l),c!==8&&(g=c),u!==null&&(b=u?1:0),f!==-1&&(S=f),d!==0&&(_=d),p!==0&&(y=p),(h<<0|g<<8|b<<10|S<<11|_<<15|y<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(d,p){this.languageId=d,this.tokenType=p}}o.BasicScopeAttributes=l;class c{constructor(d,p){this._getBasicScopeAttributes=new a.CachedFn(h=>{const g=this._scopeToLanguage(h),b=this._toStandardTokenType(h);return new l(g,b)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(p||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const p=d.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!p)return 8;switch(p[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class u{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const p=d.map(([h,g])=>a.escapeRegExpCharacters(h));p.sort(),p.reverse(),this.scopesRegExp=new RegExp(`^((${p.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const p=d.match(this.scopesRegExp);return p?this.values.get(p[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStackImpl=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),u=i(44),f=i(792),d=i(583),p=i(878),h=i(996),g=i(47);function b(T,w,C,A,x){const P=c.createMatchers(w,S),R=f.RuleFactory.getCompiledRuleId(C,A,x.repository);for(const L of P)T.push({debugSelector:w,matcher:L.matcher,ruleId:R,grammar:x,priority:L.priority})}function S(T,w){if(w.length<T.length)return!1;let C=0;return T.every(A=>{for(let x=C;x<w.length;x++)if(_(w[x],A))return C=x+1,!0;return!1})}function _(T,w){if(!T)return!1;if(T===w)return!0;const C=w.length;return T.length>C&&T.substr(0,C)===w&&T[C]==="."}o.createGrammar=function(T,w,C,A,x,P,R,L){return new y(T,w,C,A,x,P,R,L)};class y{constructor(w,C,A,x,P,R,L,I){if(this._rootScopeName=w,this.balancedBracketSelectors=R,this._onigLib=I,this._basicScopeAttributesProvider=new h.BasicScopeAttributesProvider(A,x),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=L,this._grammar=v(C,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const F of Object.keys(P)){const D=c.createMatchers(F,S);for(const U of D)this._tokenTypeMatchers.push({matcher:U.matcher,type:P[F]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const w of this._ruleId2desc)w&&w.dispose()}createOnigScanner(w){return this._onigLib.createOnigScanner(w)}createOnigString(w){return this._onigLib.createOnigString(w)}getMetadataForScope(w){return this._basicScopeAttributesProvider.getBasicScopeAttributes(w)}_collectInjections(){const w=[],C=this._rootScopeName,A=(x=>x===this._rootScopeName?this._grammar:this.getExternalGrammar(x))(C);if(A){const x=A.injections;if(x)for(let R in x)b(w,R,x[R],this,A);const P=this._grammarRepository.injections(C);P&&P.forEach(R=>{const L=this.getExternalGrammar(R);if(L){const I=L.injectionSelector;I&&b(w,I,L,this,L)}})}return w.sort((x,P)=>x.priority-P.priority),w}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const w of this._injections)console.log(` - ${w.debugSelector}`)}return this._injections}registerRule(w){const C=++this._lastRuleId,A=w(f.ruleIdFromNumber(C));return this._ruleId2desc[C]=A,A}getRule(w){return this._ruleId2desc[f.ruleIdToNumber(w)]}getExternalGrammar(w,C){if(this._includedGrammars[w])return this._includedGrammars[w];if(this._grammarRepository){const A=this._grammarRepository.lookup(w);if(A)return this._includedGrammars[w]=v(A,C&&C.$base),this._includedGrammars[w]}}tokenizeLine(w,C,A=0){const x=this._tokenize(w,C,!1,A);return{tokens:x.lineTokens.getResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}tokenizeLine2(w,C,A=0){const x=this._tokenize(w,C,!0,A);return{tokens:x.lineTokens.getBinaryResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}_tokenize(w,C,A,x){let P;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),C&&C!==m.NULL)P=!1,C.reset();else{P=!0;const D=this._basicScopeAttributesProvider.getDefaultAttributes(),U=this.themeProvider.getDefaults(),ee=l.EncodedTokenAttributes.set(0,D.languageId,D.tokenType,null,U.fontStyle,U.foregroundId,U.backgroundId),re=this.getRule(this._rootId).getName(null,null);let oe;oe=re?E.createRootAndLookUpScopeName(re,ee,this):E.createRoot("unknown",ee),C=new m(null,this._rootId,-1,-1,!1,null,oe,oe)}w+=`
6
6
  `;const R=this.createOnigString(w),L=R.content.length,I=new k(A,w,this._tokenTypeMatchers,this.balancedBracketSelectors),F=g._tokenizeString(this,R,P,0,C,I,!0,x);return u.disposeOnigString(R),{lineLength:L,lineTokens:I,ruleStack:F.stack,stoppedEarly:F.stoppedEarly}}}function v(T,w){return(T=p.clone(T)).repository=T.repository||{},T.repository.$self={$vscodeTextmateLocation:T.$vscodeTextmateLocation,patterns:T.patterns,name:T.scopeName},T.repository.$base=w||T.repository.$self,T}o.Grammar=y;class E{constructor(w,C,A){this.parent=w,this.scopePath=C,this.tokenAttributes=A}static fromExtension(w,C){let A=w,x=w?.scopePath??null;for(const P of C)x=d.ScopeStack.push(x,P.scopeNames),A=new E(A,x,P.encodedTokenAttributes);return A}static createRoot(w,C){return new E(null,new d.ScopeStack(null,w),C)}static createRootAndLookUpScopeName(w,C,A){const x=A.getMetadataForScope(w),P=new d.ScopeStack(null,w),R=A.themeProvider.themeMatch(P),L=E.mergeAttributes(C,x,R);return new E(null,P,L)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(w){return E.equals(this,w)}static equals(w,C){for(;;){if(w===C||!w&&!C)return!0;if(!w||!C||w.scopeName!==C.scopeName||w.tokenAttributes!==C.tokenAttributes)return!1;w=w.parent,C=C.parent}}static mergeAttributes(w,C,A){let x=-1,P=0,R=0;return A!==null&&(x=A.fontStyle,P=A.foregroundId,R=A.backgroundId),l.EncodedTokenAttributes.set(w,C.languageId,C.tokenType,null,x,P,R)}pushAttributed(w,C){if(w===null)return this;if(w.indexOf(" ")===-1)return E._pushAttributed(this,w,C);const A=w.split(/ /g);let x=this;for(const P of A)x=E._pushAttributed(x,P,C);return x}static _pushAttributed(w,C,A){const x=A.getMetadataForScope(C),P=w.scopePath.push(C),R=A.themeProvider.themeMatch(P),L=E.mergeAttributes(w.tokenAttributes,x,R);return new E(w,P,L)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(w){const C=[];let A=this;for(;A&&A!==w;)C.push({encodedTokenAttributes:A.tokenAttributes,scopeNames:A.scopePath.getExtensionIfDefined(A.parent?.scopePath??null)}),A=A.parent;return A===w?C.reverse():void 0}}o.AttributedScopeStack=E;class m{constructor(w,C,A,x,P,R,L,I){this.parent=w,this.ruleId=C,this.beginRuleCapturedEOL=P,this.endRule=R,this.nameScopesList=L,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=A,this._anchorPos=x}equals(w){return w!==null&&m._equals(this,w)}static _equals(w,C){return w===C||!!this._structuralEquals(w,C)&&E.equals(w.contentNameScopesList,C.contentNameScopesList)}static _structuralEquals(w,C){for(;;){if(w===C||!w&&!C)return!0;if(!w||!C||w.depth!==C.depth||w.ruleId!==C.ruleId||w.endRule!==C.endRule)return!1;w=w.parent,C=C.parent}}clone(){return this}static _reset(w){for(;w;)w._enterPos=-1,w._anchorPos=-1,w=w.parent}reset(){m._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(w,C,A,x,P,R,L){return new m(this,w,C,A,x,P,R,L)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(w){return w.getRule(this.ruleId)}toString(){const w=[];return this._writeString(w,0),"["+w.join(",")+"]"}_writeString(w,C){return this.parent&&(C=this.parent._writeString(w,C)),w[C++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,C}withContentNameScopesList(w){return this.contentNameScopesList===w?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,w)}withEndRule(w){return this.endRule===w?this:new m(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,w,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(w){let C=this;for(;C&&C._enterPos===w._enterPos;){if(C.ruleId===w.ruleId)return!0;C=C.parent}return!1}toStateStackFrame(){return{ruleId:f.ruleIdToNumber(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(w,C){const A=E.fromExtension(w?.nameScopesList??null,C.nameScopesList);return new m(w,f.ruleIdFromNumber(C.ruleId),C.enterPos??-1,C.anchorPos??-1,C.beginRuleCapturedEOL,C.endRule,A,E.fromExtension(A,C.contentNameScopesList))}}o.StateStackImpl=m,m.NULL=new m(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(T,w){this.allowAny=!1,this.balancedBracketScopes=T.flatMap(C=>C==="*"?(this.allowAny=!0,[]):c.createMatchers(C,S).map(A=>A.matcher)),this.unbalancedBracketScopes=w.flatMap(C=>c.createMatchers(C,S).map(A=>A.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(T){for(const w of this.unbalancedBracketScopes)if(w(T))return!1;for(const w of this.balancedBracketScopes)if(w(T))return!0;return this.allowAny}};class k{constructor(w,C,A,x){this.balancedBracketSelectors=x,this._emitBinaryTokens=w,this._tokenTypeOverrides=A,a.DebugFlags.InDebugMode?this._lineText=C:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(w,C){this.produceFromScopes(w.contentNameScopesList,C)}produceFromScopes(w,C){if(this._lastTokenEndIndex>=C)return;if(this._emitBinaryTokens){let x=w?.tokenAttributes??0,P=!1;if(this.balancedBracketSelectors?.matchesAlways&&(P=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const R=w?.getScopeNames()??[];for(const L of this._tokenTypeOverrides)L.matcher(R)&&(x=l.EncodedTokenAttributes.set(x,0,l.toOptionalTokenType(L.type),null,-1,0,0));this.balancedBracketSelectors&&(P=this.balancedBracketSelectors.match(R))}if(P&&(x=l.EncodedTokenAttributes.set(x,0,8,P,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===x)return void(this._lastTokenEndIndex=C);if(a.DebugFlags.InDebugMode){const R=w?.getScopeNames()??[];console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,C).replace(/\n$/,"\\n")+"|");for(let L=0;L<R.length;L++)console.log(" * "+R[L])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(x),void(this._lastTokenEndIndex=C)}const A=w?.getScopeNames()??[];if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,C).replace(/\n$/,"\\n")+"|");for(let x=0;x<A.length;x++)console.log(" * "+A[x])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:C,scopes:A}),this._lastTokenEndIndex=C}getResult(w,C){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===C-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(w,C),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(w,C){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===C-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(w,C),this._binaryTokens[this._binaryTokens.length-2]=0);const A=new Uint32Array(this._binaryTokens.length);for(let x=0,P=this._binaryTokens.length;x<P;x++)A[x]=this._binaryTokens[x];return A}}o.LineTokens=k},965:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class l{constructor(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=l;class c{constructor(m,k){this.scopeName=m,this.ruleName=k}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=c;class u{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(m){const k=m.toKey();this._seenReferenceKeys.has(k)||(this._seenReferenceKeys.add(k),this._references.push(m))}}function f(E,m,k,T){const w=k.lookup(E.scopeName);if(!w){if(E.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const C=k.lookup(m);E instanceof l?p({baseGrammar:C,selfGrammar:w},T):d(E.ruleName,{baseGrammar:C,selfGrammar:w,repository:w.repository},T);const A=k.injections(E.scopeName);if(A)for(const x of A)T.add(new l(x))}function d(E,m,k){m.repository&&m.repository[E]&&h([m.repository[E]],m,k)}function p(E,m){E.selfGrammar.patterns&&Array.isArray(E.selfGrammar.patterns)&&h(E.selfGrammar.patterns,{...E,repository:E.selfGrammar.repository},m),E.selfGrammar.injections&&h(Object.values(E.selfGrammar.injections),{...E,repository:E.selfGrammar.repository},m)}function h(E,m,k){for(const T of E){if(k.visitedRule.has(T))continue;k.visitedRule.add(T);const w=T.repository?a.mergeObjects({},m.repository,T.repository):m.repository;Array.isArray(T.patterns)&&h(T.patterns,{...m,repository:w},k);const C=T.include;if(!C)continue;const A=v(C);switch(A.kind){case 0:p({...m,selfGrammar:m.baseGrammar},k);break;case 1:p(m,k);break;case 2:d(A.ruleName,{...m,repository:w},k);break;case 3:case 4:const x=A.scopeName===m.selfGrammar.scopeName?m.selfGrammar:A.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if(x){const P={baseGrammar:m.baseGrammar,selfGrammar:x,repository:w};A.kind===4?d(A.ruleName,P,k):p(P,k)}else A.kind===4?k.add(new c(A.scopeName,A.ruleName)):k.add(new l(A.scopeName))}}}o.ExternalReferenceCollector=u,o.ScopeDependencyProcessor=class{constructor(E,m){this.repo=E,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const E=this.Q;this.Q=[];const m=new u;for(const k of E)f(k,this.initialScopeName,this.repo,m);for(const k of m.references)if(k instanceof l){if(this.seenFullScopeRequests.has(k.scopeName))continue;this.seenFullScopeRequests.add(k.scopeName),this.Q.push(k)}else{if(this.seenFullScopeRequests.has(k.scopeName)||this.seenPartialScopeRequests.has(k.toKey()))continue;this.seenPartialScopeRequests.add(k.toKey()),this.Q.push(k)}}};class g{constructor(){this.kind=0}}o.BaseReference=g;class b{constructor(){this.kind=1}}o.SelfReference=b;class S{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=S;class _{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=_;class y{constructor(m,k){this.scopeName=m,this.ruleName=k,this.kind=4}}function v(E){if(E==="$base")return new g;if(E==="$self")return new b;const m=E.indexOf("#");if(m===-1)return new _(E);if(m===0)return new S(E.substring(1));{const k=E.substring(0,m),T=E.substring(m+1);return new y(k,T)}}o.TopLevelRepositoryReference=y,o.parseInclude=v},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(c,u,f,d){d===void 0&&(d=f),Object.defineProperty(c,d,{enumerable:!0,get:function(){return u[f]}})}:function(c,u,f,d){d===void 0&&(d=f),c[d]=u[f]}),l=this&&this.__exportStar||function(c,u){for(var f in c)f==="default"||Object.prototype.hasOwnProperty.call(u,f)||a(u,c,f)};Object.defineProperty(o,"__esModule",{value:!0}),l(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),l=i(44),c=i(792),u=i(878);class f{constructor(y,v){this.stack=y,this.stoppedEarly=v}}function d(_,y,v,E,m,k,T,w){const C=y.content.length;let A=!1,x=-1;if(T){const L=function(I,F,D,U,ee,re){let oe=ee.beginRuleCapturedEOL?0:-1;const he=[];for(let ue=ee;ue;ue=ue.pop()){const Se=ue.getRule(I);Se instanceof c.BeginWhileRule&&he.push({rule:Se,stack:ue})}for(let ue=he.pop();ue;ue=he.pop()){const{ruleScanner:Se,findOptions:$e}=h(ue.rule,I,ue.stack.endRule,D,U===oe),O=Se.findNextMatchSync(F,U,$e);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(Se.toString())),!O){a.DebugFlags.InDebugMode&&console.log(" popping "+ue.rule.debugName+" - "+ue.rule.debugWhileRegExp),ee=ue.stack.pop();break}if(O.ruleId!==c.whileRuleId){ee=ue.stack.pop();break}O.captureIndices&&O.captureIndices.length&&(re.produce(ue.stack,O.captureIndices[0].start),b(I,F,D,ue.stack,re,ue.rule.whileCaptures,O.captureIndices),re.produce(ue.stack,O.captureIndices[0].end),oe=O.captureIndices[0].end,O.captureIndices[0].end>U&&(U=O.captureIndices[0].end,D=!1))}return{stack:ee,linePos:U,anchorPosition:oe,isFirstLine:D}}(_,y,v,E,m,k);m=L.stack,E=L.linePos,v=L.isFirstLine,x=L.anchorPosition}const P=Date.now();for(;!A;){if(w!==0&&Date.now()-P>w)return new f(m,!0);R()}return new f(m,!1);function R(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${E}: |${y.content.substr(E).replace(/\n$/,"\\n")}|`));const L=function(U,ee,re,oe,he,ue){const Se=function(ce,xe,$,N,M,B){const j=M.getRule(ce),{ruleScanner:H,findOptions:ne}=p(j,ce,M.endRule,$,N===B);let G=0;a.DebugFlags.InDebugMode&&(G=u.performanceNow());const X=H.findNextMatchSync(xe,N,ne);if(a.DebugFlags.InDebugMode){const W=u.performanceNow()-G;W>5&&console.warn(`Rule ${j.debugName} (${j.id}) matching took ${W} against '${xe}'`),console.log(` scanning for (linePos: ${N}, anchorPosition: ${B})`),console.log(H.toString()),X&&console.log(`matched rule id: ${X.ruleId} from ${X.captureIndices[0].start} to ${X.captureIndices[0].end}`)}return X?{captureIndices:X.captureIndices,matchedRuleId:X.ruleId}:null}(U,ee,re,oe,he,ue),$e=U.getInjections();if($e.length===0)return Se;const O=function(ce,xe,$,N,M,B,j){let H,ne=Number.MAX_VALUE,G=null,X=0;const W=B.contentNameScopesList.getScopeNames();for(let ie=0,ae=ce.length;ie<ae;ie++){const fe=ce[ie];if(!fe.matcher(W))continue;const te=xe.getRule(fe.ruleId),{ruleScanner:le,findOptions:se}=p(te,xe,null,N,M===j),pe=le.findNextMatchSync($,M,se);if(!pe)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${fe.debugSelector}`),console.log(le.toString()));const Ie=pe.captureIndices[0].start;if(!(Ie>=ne)&&(ne=Ie,G=pe.captureIndices,H=pe.ruleId,X=fe.priority,ne===M))break}return G?{priorityMatch:X===-1,captureIndices:G,matchedRuleId:H}:null}($e,U,ee,re,oe,he,ue);if(!O)return Se;if(!Se)return O;const J=Se.captureIndices[0].start,V=O.captureIndices[0].start;return V<J||O.priorityMatch&&V===J?O:Se}(_,y,v,E,m,x);if(!L)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),k.produce(m,C),void(A=!0);const I=L.captureIndices,F=L.matchedRuleId,D=!!(I&&I.length>0)&&I[0].end>E;if(F===c.endRuleId){const U=m.getRule(_);a.DebugFlags.InDebugMode&&console.log(" popping "+U.debugName+" - "+U.debugEndRegExp),k.produce(m,I[0].start),m=m.withContentNameScopesList(m.nameScopesList),b(_,y,v,m,k,U.endCaptures,I),k.produce(m,I[0].end);const ee=m;if(m=m.parent,x=ee.getAnchorPos(),!D&&ee.getEnterPos()===E)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=ee,k.produce(m,C),void(A=!0)}else{const U=_.getRule(F);k.produce(m,I[0].start);const ee=m,re=U.getName(y.content,I),oe=m.contentNameScopesList.pushAttributed(re,_);if(m=m.push(F,E,x,I[0].end===C,null,oe,oe),U instanceof c.BeginEndRule){const he=U;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName+" - "+he.debugBeginRegExp),b(_,y,v,m,k,he.beginCaptures,I),k.produce(m,I[0].end),x=I[0].end;const ue=he.getContentName(y.content,I),Se=oe.pushAttributed(ue,_);if(m=m.withContentNameScopesList(Se),he.endHasBackReferences&&(m=m.withEndRule(he.getEndWithResolvedBackReferences(y.content,I))),!D&&ee.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),k.produce(m,C),void(A=!0)}else if(U instanceof c.BeginWhileRule){const he=U;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName),b(_,y,v,m,k,he.beginCaptures,I),k.produce(m,I[0].end),x=I[0].end;const ue=he.getContentName(y.content,I),Se=oe.pushAttributed(ue,_);if(m=m.withContentNameScopesList(Se),he.whileHasBackReferences&&(m=m.withEndRule(he.getWhileWithResolvedBackReferences(y.content,I))),!D&&ee.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),k.produce(m,C),void(A=!0)}else{const he=U;if(a.DebugFlags.InDebugMode&&console.log(" matched "+he.debugName+" - "+he.debugMatchRegExp),b(_,y,v,m,k,he.captures,I),k.produce(m,I[0].end),m=m.pop(),!D)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),m=m.safePop(),k.produce(m,C),void(A=!0)}}I[0].end>E&&(E=I[0].end,v=!1)}}function p(_,y,v,E,m){return a.UseOnigurumaFindOptions?{ruleScanner:_.compile(y,v),findOptions:g(E,m)}:{ruleScanner:_.compileAG(y,v,E,m),findOptions:0}}function h(_,y,v,E,m){return a.UseOnigurumaFindOptions?{ruleScanner:_.compileWhile(y,v),findOptions:g(E,m)}:{ruleScanner:_.compileWhileAG(y,v,E,m),findOptions:0}}function g(_,y){let v=0;return _||(v|=1),y||(v|=4),v}function b(_,y,v,E,m,k,T){if(k.length===0)return;const w=y.content,C=Math.min(k.length,T.length),A=[],x=T[0].end;for(let P=0;P<C;P++){const R=k[P];if(R===null)continue;const L=T[P];if(L.length===0)continue;if(L.start>x)break;for(;A.length>0&&A[A.length-1].endPos<=L.start;)m.produceFromScopes(A[A.length-1].scopes,A[A.length-1].endPos),A.pop();if(A.length>0?m.produceFromScopes(A[A.length-1].scopes,L.start):m.produce(E,L.start),R.retokenizeCapturedWithRuleId){const F=R.getName(w,T),D=E.contentNameScopesList.pushAttributed(F,_),U=R.getContentName(w,T),ee=D.pushAttributed(U,_),re=E.push(R.retokenizeCapturedWithRuleId,L.start,-1,!1,null,D,ee),oe=_.createOnigString(w.substring(0,L.end));d(_,oe,v&&L.start===0,L.start,re,m,!1,0),l.disposeOnigString(oe);continue}const I=R.getName(w,T);if(I!==null){const F=(A.length>0?A[A.length-1].scopes:E.contentNameScopesList).pushAttributed(I,_);A.push(new S(F,L.end))}}for(;A.length>0;)m.produceFromScopes(A[A.length-1].scopes,A[A.length-1].endPos),A.pop()}o._tokenizeString=d;class S{constructor(y,v){this.scopes=y,this.endPos=v}}o.LocalStackElement=S},974:(s,o)=>{function i(u,f){throw new Error("Near offset "+u.pos+": "+f+" ~~~"+u.source.substr(u.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(u,f,d){let p=new a(u),h=new l,g=0,b=null,S=[],_=[];function y(){S.push(g),_.push(b)}function v(){g=S.pop(),b=_.pop()}function E(m){i(p,m)}for(;c(p,h);){if(g===0){if(b!==null&&E("too many constructs in root"),h.type===3){b={},d&&(b.$vscodeTextmateLocation=h.toLocation(f)),y(),g=1;continue}if(h.type===2){b=[],y(),g=4;continue}E("unexpected token in root")}if(g===2){if(h.type===5){v();continue}if(h.type===7){g=3;continue}E("expected , or }")}if(g===1||g===3){if(g===1&&h.type===5){v();continue}if(h.type===1){let m=h.value;if(c(p,h)&&h.type===6||E("expected colon"),c(p,h)||E("expected value"),g=2,h.type===1){b[m]=h.value;continue}if(h.type===8){b[m]=null;continue}if(h.type===9){b[m]=!0;continue}if(h.type===10){b[m]=!1;continue}if(h.type===11){b[m]=parseFloat(h.value);continue}if(h.type===2){let k=[];b[m]=k,y(),g=4,b=k;continue}if(h.type===3){let k={};d&&(k.$vscodeTextmateLocation=h.toLocation(f)),b[m]=k,y(),g=1,b=k;continue}}E("unexpected token in dict")}if(g===5){if(h.type===4){v();continue}if(h.type===7){g=6;continue}E("expected , or ]")}if(g===4||g===6){if(g===4&&h.type===4){v();continue}if(g=5,h.type===1){b.push(h.value);continue}if(h.type===8){b.push(null);continue}if(h.type===9){b.push(!0);continue}if(h.type===10){b.push(!1);continue}if(h.type===11){b.push(parseFloat(h.value));continue}if(h.type===2){let m=[];b.push(m),y(),g=4,b=m;continue}if(h.type===3){let m={};d&&(m.$vscodeTextmateLocation=h.toLocation(f)),b.push(m),y(),g=1,b=m;continue}E("unexpected token in array")}E("unknown state")}return _.length!==0&&E("unclosed constructs"),b};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class l{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(f){return{filename:f,line:this.line,char:this.char}}}function c(u,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let d,p=u.source,h=u.pos,g=u.len,b=u.line,S=u.char;for(;;){if(h>=g)return!1;if(d=p.charCodeAt(h),d!==32&&d!==9&&d!==13){if(d!==10)break;h++,b++,S=0}else h++,S++}if(f.offset=h,f.line=b,f.char=S,d===34){for(f.type=1,h++,S++;;){if(h>=g)return!1;if(d=p.charCodeAt(h),h++,S++,d!==92){if(d===34)break}else h++,S++}f.value=p.substring(f.offset+1,h-1).replace(/\\u([0-9A-Fa-f]{4})/g,(_,y)=>String.fromCodePoint(parseInt(y,16))).replace(/\\(.)/g,(_,y)=>{switch(y){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
7
7
  `;case"r":return"\r";case"t":return" ";default:i(u,"invalid escape sequence")}throw new Error("unreachable")})}else if(d===91)f.type=2,h++,S++;else if(d===123)f.type=3,h++,S++;else if(d===93)f.type=4,h++,S++;else if(d===125)f.type=5,h++,S++;else if(d===58)f.type=6,h++,S++;else if(d===44)f.type=7,h++,S++;else if(d===110){if(f.type=8,h++,S++,d=p.charCodeAt(h),d!==117||(h++,S++,d=p.charCodeAt(h),d!==108)||(h++,S++,d=p.charCodeAt(h),d!==108))return!1;h++,S++}else if(d===116){if(f.type=9,h++,S++,d=p.charCodeAt(h),d!==114||(h++,S++,d=p.charCodeAt(h),d!==117)||(h++,S++,d=p.charCodeAt(h),d!==101))return!1;h++,S++}else if(d===102){if(f.type=10,h++,S++,d=p.charCodeAt(h),d!==97||(h++,S++,d=p.charCodeAt(h),d!==108)||(h++,S++,d=p.charCodeAt(h),d!==115)||(h++,S++,d=p.charCodeAt(h),d!==101))return!1;h++,S++}else for(f.type=11;;){if(h>=g)return!1;if(d=p.charCodeAt(h),!(d===46||d>=48&&d<=57||d===101||d===69||d===45||d===43))break;h++,S++}return f.len=h-f.offset,f.value===null&&(f.value=p.substr(f.offset,f.len)),u.pos=h,u.line=b,u.char=S,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(g,b,S,_){_===void 0&&(_=S),Object.defineProperty(g,_,{enumerable:!0,get:function(){return b[S]}})}:function(g,b,S,_){_===void 0&&(_=S),g[_]=b[S]}),l=this&&this.__exportStar||function(g,b){for(var S in g)S==="default"||Object.prototype.hasOwnProperty.call(b,S)||a(b,g,S)};Object.defineProperty(o,"__esModule",{value:!0}),o.applyStateStackDiff=o.diffStateStacksRefEq=o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const c=i(391),u=i(50),f=i(652),d=i(583),p=i(965),h=i(442);Object.defineProperty(o,"applyStateStackDiff",{enumerable:!0,get:function(){return h.applyStateStackDiff}}),Object.defineProperty(o,"diffStateStacksRefEq",{enumerable:!0,get:function(){return h.diffStateStacksRefEq}}),l(i(44),o),o.Registry=class{constructor(g){this._options=g,this._syncRegistry=new f.SyncRegistry(d.Theme.createFromRawTheme(g.theme,g.colorMap),g.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(g,b){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(g,b))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(g,b,S){return this.loadGrammarWithConfiguration(g,b,{embeddedLanguages:S})}loadGrammarWithConfiguration(g,b,S){return this._loadGrammar(g,b,S.embeddedLanguages,S.tokenTypes,new c.BalancedBracketSelectors(S.balancedBracketSelectors||[],S.unbalancedBracketSelectors||[]))}loadGrammar(g){return this._loadGrammar(g,0,null,null,null)}async _loadGrammar(g,b,S,_,y){const v=new p.ScopeDependencyProcessor(this._syncRegistry,g);for(;v.Q.length>0;)await Promise.all(v.Q.map(E=>this._loadSingleGrammar(E.scopeName))),v.processQueue();return this._grammarForScopeName(g,b,S,_,y)}async _loadSingleGrammar(g){return this._ensureGrammarCache.has(g)||this._ensureGrammarCache.set(g,this._doLoadSingleGrammar(g)),this._ensureGrammarCache.get(g)}async _doLoadSingleGrammar(g){const b=await this._options.loadGrammar(g);if(b){const S=typeof this._options.getInjections=="function"?this._options.getInjections(g):void 0;this._syncRegistry.addGrammar(b,S)}}async addGrammar(g,b=[],S=0,_=null){return this._syncRegistry.addGrammar(g,b),await this._grammarForScopeName(g.scopeName,S,_)}_grammarForScopeName(g,b=0,S=null,_=null,y=null){return this._syncRegistry.grammarForScopeName(g,b,S,_,y)}},o.INITIAL=c.StateStackImpl.NULL,o.parseRawGrammar=u.parseRawGrammar},736:(s,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,l){const c=[],u=function(h){let g=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,b=g.exec(h);return{next:()=>{if(!b)return null;const S=b[0];return b=g.exec(h),S}}}(a);let f=u.next();for(;f!==null;){let h=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":h=1;break;case"L":h=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=u.next()}let g=p();if(c.push({matcher:g,priority:h}),f!==",")break;f=u.next()}return c;function d(){if(f==="-"){f=u.next();const h=d();return g=>!!h&&!h(g)}if(f==="("){f=u.next();const h=function(){const g=[];let b=p();for(;b&&(g.push(b),f==="|"||f===",");){do f=u.next();while(f==="|"||f===",");b=p()}return S=>g.some(_=>_(S))}();return f===")"&&(f=u.next()),h}if(i(f)){const h=[];do h.push(f),f=u.next();while(i(f));return g=>l(h,g)}return null}function p(){const h=[];let g=d();for(;g;)h.push(g),g=d();return b=>h.every(S=>S(b))}}},44:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),l=i(350),c=i(974);o.parseRawGrammar=function(u,f=null){return f!==null&&/\.json$/.test(f)?(d=u,p=f,l.DebugFlags.InDebugMode?c.parseJSON(d,p,!0):JSON.parse(d)):function(h,g){return l.DebugFlags.InDebugMode?a.parseWithLocation(h,g,"$vscodeTextmateLocation"):a.parsePLIST(h)}(u,f);var d,p}},69:(s,o)=>{function i(a,l,c){const u=a.length;let f=0,d=1,p=0;function h(O){if(c===null)f+=O;else for(;O>0;)a.charCodeAt(f)===10?(f++,d++,p=0):(f++,p++),O--}function g(O){c===null?f=O:h(O-f)}function b(){for(;f<u;){let O=a.charCodeAt(f);if(O!==32&&O!==9&&O!==13&&O!==10)break;h(1)}}function S(O){return a.substr(f,O.length)===O&&(h(O.length),!0)}function _(O){let J=a.indexOf(O,f);g(J!==-1?J+O.length:u)}function y(O){let J=a.indexOf(O,f);if(J!==-1){let V=a.substring(f,J);return g(J+O.length),V}{let V=a.substr(f);return g(u),V}}u>0&&a.charCodeAt(0)===65279&&(f=1);let v=0,E=null,m=[],k=[],T=null;function w(O,J){m.push(v),k.push(E),v=O,E=J}function C(){if(m.length===0)return A("illegal state stack");v=m.pop(),E=k.pop()}function A(O){throw new Error("Near offset "+f+": "+O+" ~~~"+a.substr(f,50)+"~~~")}const x=function(){if(T===null)return A("missing <key>");let O={};c!==null&&(O[c]={filename:l,line:d,char:p}),E[T]=O,T=null,w(1,O)},P=function(){if(T===null)return A("missing <key>");let O=[];E[T]=O,T=null,w(2,O)},R=function(){let O={};c!==null&&(O[c]={filename:l,line:d,char:p}),E.push(O),w(1,O)},L=function(){let O=[];E.push(O),w(2,O)};function I(){if(v!==1)return A("unexpected </dict>");C()}function F(){return v===1||v!==2?A("unexpected </array>"):void C()}function D(O){if(v===1){if(T===null)return A("missing <key>");E[T]=O,T=null}else v===2?E.push(O):E=O}function U(O){if(isNaN(O))return A("cannot parse float");if(v===1){if(T===null)return A("missing <key>");E[T]=O,T=null}else v===2?E.push(O):E=O}function ee(O){if(isNaN(O))return A("cannot parse integer");if(v===1){if(T===null)return A("missing <key>");E[T]=O,T=null}else v===2?E.push(O):E=O}function re(O){if(v===1){if(T===null)return A("missing <key>");E[T]=O,T=null}else v===2?E.push(O):E=O}function oe(O){if(v===1){if(T===null)return A("missing <key>");E[T]=O,T=null}else v===2?E.push(O):E=O}function he(O){if(v===1){if(T===null)return A("missing <key>");E[T]=O,T=null}else v===2?E.push(O):E=O}function ue(){let O=y(">"),J=!1;return O.charCodeAt(O.length-1)===47&&(J=!0,O=O.substring(0,O.length-1)),{name:O.trim(),isClosed:J}}function Se(O){if(O.isClosed)return"";let J=y("</");return _(">"),J.replace(/&#([0-9]+);/g,function(V,ce){return String.fromCodePoint(parseInt(ce,10))}).replace(/&#x([0-9a-f]+);/g,function(V,ce){return String.fromCodePoint(parseInt(ce,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(V){switch(V){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return V})}for(;f<u&&(b(),!(f>=u));){const O=a.charCodeAt(f);if(h(1),O!==60)return A("expected <");if(f>=u)return A("unexpected end of input");const J=a.charCodeAt(f);if(J===63){h(1),_("?>");continue}if(J===33){if(h(1),S("--")){_("-->");continue}_(">");continue}if(J===47){if(h(1),b(),S("plist")){_(">");continue}if(S("dict")){_(">"),I();continue}if(S("array")){_(">"),F();continue}return A("unexpected closed tag")}let V=ue();switch(V.name){case"dict":v===1?x():v===2?R():(E={},c!==null&&(E[c]={filename:l,line:d,char:p}),w(1,E)),V.isClosed&&I();continue;case"array":v===1?P():v===2?L():(E=[],w(2,E)),V.isClosed&&F();continue;case"key":$e=Se(V),v!==1?A("unexpected <key>"):T!==null?A("too many <key>"):T=$e;continue;case"string":D(Se(V));continue;case"real":U(parseFloat(Se(V)));continue;case"integer":ee(parseInt(Se(V),10));continue;case"date":re(new Date(Se(V)));continue;case"data":oe(Se(V));continue;case"true":Se(V),he(!0);continue;case"false":Se(V),he(!1);continue}if(!/^plist/.test(V.name))return A("unexpected opened tag "+V.name)}var $e;return E}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,u,f,d){if(!this._grammars.has(l)){let p=this._rawGrammars.get(l);if(!p)return null;this._grammars.set(l,a.createGrammar(l,p,c,u,f,d,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,u=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(E){return E},o.ruleIdToNumber=function(E){return E};class f{constructor(m,k,T,w){this.$location=m,this.id=k,this._name=T||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=w||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const m=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${m}`}getName(m,k){return this._nameIsCapturing&&this._name!==null&&m!==null&&k!==null?a.RegexSource.replaceCaptures(this._name,m,k):this._name}getContentName(m,k){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,k):this._contentName}}o.Rule=f;class d extends f{constructor(m,k,T,w,C){super(m,k,T,w),this.retokenizeCapturedWithRuleId=C}dispose(){}collectPatterns(m,k){throw new Error("Not supported!")}compile(m,k){throw new Error("Not supported!")}compileAG(m,k,T,w){throw new Error("Not supported!")}}o.CaptureRule=d;class p extends f{constructor(m,k,T,w,C){super(m,k,T,null),this._match=new _(w,this.id),this.captures=C,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(m,k){k.push(this._match)}compile(m,k){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,k,T,w){return this._getCachedCompiledPatterns(m).compileAG(m,T,w)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new y,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=p;class h extends f{constructor(m,k,T,w,C){super(m,k,T,w),this.patterns=C.patterns,this.hasMissingPatterns=C.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,k){for(const T of this.patterns)m.getRule(T).collectPatterns(m,k)}compile(m,k){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,k,T,w){return this._getCachedCompiledPatterns(m).compileAG(m,T,w)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new y,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=h;class g extends f{constructor(m,k,T,w,C,A,x,P,R,L){super(m,k,T,w),this._begin=new _(C,this.id),this.beginCaptures=A,this._end=new _(x||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=P,this.applyEndPatternLast=R||!1,this.patterns=L.patterns,this.hasMissingPatterns=L.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(m,k){return this._end.resolveBackReferences(m,k)}collectPatterns(m,k){k.push(this._begin)}compile(m,k){return this._getCachedCompiledPatterns(m,k).compile(m)}compileAG(m,k,T,w){return this._getCachedCompiledPatterns(m,k).compileAG(m,T,w)}_getCachedCompiledPatterns(m,k){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new y;for(const T of this.patterns)m.getRule(T).collectPatterns(m,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,k):this._cachedCompiledPatterns.setSource(0,k)),this._cachedCompiledPatterns}}o.BeginEndRule=g;class b extends f{constructor(m,k,T,w,C,A,x,P,R){super(m,k,T,w),this._begin=new _(C,this.id),this.beginCaptures=A,this.whileCaptures=P,this._while=new _(x,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=R.patterns,this.hasMissingPatterns=R.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(m,k){return this._while.resolveBackReferences(m,k)}collectPatterns(m,k){k.push(this._begin)}compile(m,k){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,k,T,w){return this._getCachedCompiledPatterns(m).compileAG(m,T,w)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new y;for(const k of this.patterns)m.getRule(k).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,k){return this._getCachedCompiledWhilePatterns(m,k).compile(m)}compileWhileAG(m,k,T,w){return this._getCachedCompiledWhilePatterns(m,k).compileAG(m,T,w)}_getCachedCompiledWhilePatterns(m,k){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new y,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,k||"￿"),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=b;class S{static createCaptureRule(m,k,T,w,C){return m.registerRule(A=>new d(k,A,T,w,C))}static getCompiledRuleId(m,k,T){return m.id||k.registerRule(w=>{if(m.id=w,m.match)return new p(m.$vscodeTextmateLocation,m.id,m.name,m.match,S._compileCaptures(m.captures,k,T));if(m.begin===void 0){m.repository&&(T=a.mergeObjects({},T,m.repository));let C=m.patterns;return C===void 0&&m.include&&(C=[{include:m.include}]),new h(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,S._compilePatterns(C,k,T))}return m.while?new b(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,S._compileCaptures(m.beginCaptures||m.captures,k,T),m.while,S._compileCaptures(m.whileCaptures||m.captures,k,T),S._compilePatterns(m.patterns,k,T)):new g(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,S._compileCaptures(m.beginCaptures||m.captures,k,T),m.end,S._compileCaptures(m.endCaptures||m.captures,k,T),m.applyEndPatternLast,S._compilePatterns(m.patterns,k,T))}),m.id}static _compileCaptures(m,k,T){let w=[];if(m){let C=0;for(const A in m){if(A==="$vscodeTextmateLocation")continue;const x=parseInt(A,10);x>C&&(C=x)}for(let A=0;A<=C;A++)w[A]=null;for(const A in m){if(A==="$vscodeTextmateLocation")continue;const x=parseInt(A,10);let P=0;m[A].patterns&&(P=S.getCompiledRuleId(m[A],k,T)),w[x]=S.createCaptureRule(k,m[A].$vscodeTextmateLocation,m[A].name,m[A].contentName,P)}}return w}static _compilePatterns(m,k,T){let w=[];if(m)for(let C=0,A=m.length;C<A;C++){const x=m[C];let P=-1;if(x.include){const R=l.parseInclude(x.include);switch(R.kind){case 0:case 1:P=S.getCompiledRuleId(T[x.include],k,T);break;case 2:let L=T[R.ruleName];L&&(P=S.getCompiledRuleId(L,k,T));break;case 3:case 4:const I=R.scopeName,F=R.kind===4?R.ruleName:null,D=k.getExternalGrammar(I,T);if(D)if(F){let U=D.repository[F];U&&(P=S.getCompiledRuleId(U,k,D.repository))}else P=S.getCompiledRuleId(D.repository.$self,k,D.repository)}}else P=S.getCompiledRuleId(x,k,T);if(P!==-1){const R=k.getRule(P);let L=!1;if((R instanceof h||R instanceof g||R instanceof b)&&R.hasMissingPatterns&&R.patterns.length===0&&(L=!0),L)continue;w.push(P)}}return{patterns:w,hasMissingPatterns:(m?m.length:0)!==w.length}}}o.RuleFactory=S;class _{constructor(m,k){if(m){const T=m.length;let w=0,C=[],A=!1;for(let x=0;x<T;x++)if(m.charAt(x)==="\\"&&x+1<T){const P=m.charAt(x+1);P==="z"?(C.push(m.substring(w,x)),C.push("$(?!\\n)(?<!\\n)"),w=x+2):P!=="A"&&P!=="G"||(A=!0),x++}this.hasAnchor=A,w===0?this.source=m:(C.push(m.substring(w,T)),this.source=C.join(""))}else this.hasAnchor=!1,this.source=m;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=k,this.hasBackReferences=c.test(this.source)}clone(){return new _(this.source,this.ruleId)}setSource(m){this.source!==m&&(this.source=m,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(m,k){let T=k.map(w=>m.substring(w.start,w.end));return u.lastIndex=0,this.source.replace(u,(w,C)=>a.escapeRegExpCharacters(T[parseInt(C,10)]||""))}_buildAnchorCache(){let m,k,T,w,C=[],A=[],x=[],P=[];for(m=0,k=this.source.length;m<k;m++)T=this.source.charAt(m),C[m]=T,A[m]=T,x[m]=T,P[m]=T,T==="\\"&&m+1<k&&(w=this.source.charAt(m+1),w==="A"?(C[m+1]="￿",A[m+1]="￿",x[m+1]="A",P[m+1]="A"):w==="G"?(C[m+1]="￿",A[m+1]="G",x[m+1]="￿",P[m+1]="G"):(C[m+1]=w,A[m+1]=w,x[m+1]=w,P[m+1]=w),m++);return{A0_G0:C.join(""),A0_G1:A.join(""),A1_G0:x.join(""),A1_G1:P.join("")}}resolveAnchors(m,k){return this.hasAnchor&&this._anchorCache?m?k?this._anchorCache.A1_G1:this._anchorCache.A1_G0:k?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=_;class y{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(m){this._items.push(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}unshift(m){this._items.unshift(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}length(){return this._items.length}setSource(m,k){this._items[m].source!==k&&(this._disposeCaches(),this._items[m].setSource(k))}compile(m){if(!this._cached){let k=this._items.map(T=>T.source);this._cached=new v(m,k,this._items.map(T=>T.ruleId))}return this._cached}compileAG(m,k,T){return this._hasAnchors?k?T?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,k,T)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,k,T)),this._anchorCache.A1_G0):T?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,k,T)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,k,T)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,k,T){let w=this._items.map(C=>C.resolveAnchors(k,T));return new v(m,w,this._items.map(C=>C.ruleId))}}o.RegExpSourceList=y;class v{constructor(m,k,T){this.regExps=k,this.rules=T,this.scanner=m.createOnigScanner(k)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let k=0,T=this.rules.length;k<T;k++)m.push(" - "+this.rules[k]+": "+this.regExps[k]);return m.join(`
8
- `)}findNextMatchSync(m,k,T){const w=this.scanner.findNextMatchSync(m,k,T);return w?{ruleId:this.rules[w.index],captureIndices:w.captureIndices}:null}}o.CompiledRule=v},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(_,y,v){this._colorMap=_,this._defaults=y,this._root=v,this._cachedMatchRoot=new a.CachedFn(E=>this._root.match(E))}static createFromRawTheme(_,y){return this.createFromParsedTheme(d(_),y)}static createFromParsedTheme(_,y){return function(v,E){v.sort((x,P)=>{let R=a.strcmp(x.scope,P.scope);return R!==0?R:(R=a.strArrCmp(x.parentScopes,P.parentScopes),R!==0?R:x.index-P.index)});let m=0,k="#000000",T="#ffffff";for(;v.length>=1&&v[0].scope==="";){let x=v.shift();x.fontStyle!==-1&&(m=x.fontStyle),x.foreground!==null&&(k=x.foreground),x.background!==null&&(T=x.background)}let w=new h(E),C=new f(m,w.getId(k),w.getId(T)),A=new b(new g(0,null,-1,0,0),[]);for(let x=0,P=v.length;x<P;x++){let R=v[x];A.insert(0,R.scope,R.parentScopes,R.fontStyle,w.getId(R.foreground),w.getId(R.background))}return new l(w,C,A)}(_,y)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(_){if(_===null)return this._defaults;const y=_.scopeName,v=this._cachedMatchRoot.get(y).find(E=>function(m,k){if(k===null)return!0;let T=0,w=k[T];for(;m;){if(u(m.scopeName,w)){if(T++,T===k.length)return!0;w=k[T]}m=m.parent}return!1}(_.parent,E.parentScopes));return v?new f(v.fontStyle,v.foreground,v.background):null}}o.Theme=l;class c{constructor(_,y){this.parent=_,this.scopeName=y}static push(_,y){for(const v of y)_=new c(_,v);return _}static from(..._){let y=null;for(let v=0;v<_.length;v++)y=new c(y,_[v]);return y}push(_){return new c(this,_)}getSegments(){let _=this;const y=[];for(;_;)y.push(_.scopeName),_=_.parent;return y.reverse(),y}toString(){return this.getSegments().join(" ")}extends(_){return this===_||this.parent!==null&&this.parent.extends(_)}getExtensionIfDefined(_){const y=[];let v=this;for(;v&&v!==_;)y.push(v.scopeName),v=v.parent;return v===_?y.reverse():void 0}}function u(S,_){return _===S||S.startsWith(_)&&S[_.length]==="."}o.ScopeStack=c;class f{constructor(_,y,v){this.fontStyle=_,this.foregroundId=y,this.backgroundId=v}}function d(S){if(!S)return[];if(!S.settings||!Array.isArray(S.settings))return[];let _=S.settings,y=[],v=0;for(let E=0,m=_.length;E<m;E++){let k,T=_[E];if(!T.settings)continue;if(typeof T.scope=="string"){let x=T.scope;x=x.replace(/^[,]+/,""),x=x.replace(/[,]+$/,""),k=x.split(",")}else k=Array.isArray(T.scope)?T.scope:[""];let w=-1;if(typeof T.settings.fontStyle=="string"){w=0;let x=T.settings.fontStyle.split(" ");for(let P=0,R=x.length;P<R;P++)switch(x[P]){case"italic":w|=1;break;case"bold":w|=2;break;case"underline":w|=4;break;case"strikethrough":w|=8}}let C=null;typeof T.settings.foreground=="string"&&a.isValidHexColor(T.settings.foreground)&&(C=T.settings.foreground);let A=null;typeof T.settings.background=="string"&&a.isValidHexColor(T.settings.background)&&(A=T.settings.background);for(let x=0,P=k.length;x<P;x++){let R=k[x].trim().split(" "),L=R[R.length-1],I=null;R.length>1&&(I=R.slice(0,R.length-1),I.reverse()),y[v++]=new p(L,I,E,w,C,A)}}return y}o.StyleAttributes=f,o.parseTheme=d;class p{constructor(_,y,v,E,m,k){this.scope=_,this.parentScopes=y,this.index=v,this.fontStyle=E,this.foreground=m,this.background=k}}o.ParsedThemeRule=p,o.fontStyleToString=function(S){if(S===-1)return"not set";let _="";return 1&S&&(_+="italic "),2&S&&(_+="bold "),4&S&&(_+="underline "),8&S&&(_+="strikethrough "),_===""&&(_="none"),_.trim()};class h{constructor(_){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(_)){this._isFrozen=!0;for(let y=0,v=_.length;y<v;y++)this._color2id[_[y]]=y,this._id2color[y]=_[y]}else this._isFrozen=!1}getId(_){if(_===null)return 0;_=_.toUpperCase();let y=this._color2id[_];if(y)return y;if(this._isFrozen)throw new Error(`Missing color in color map - ${_}`);return y=++this._lastColorId,this._color2id[_]=y,this._id2color[y]=_,y}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=h;class g{constructor(_,y,v,E,m){this.scopeDepth=_,this.parentScopes=y,this.fontStyle=v,this.foreground=E,this.background=m}clone(){return new g(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(_){let y=[];for(let v=0,E=_.length;v<E;v++)y[v]=_[v].clone();return y}acceptOverwrite(_,y,v,E){this.scopeDepth>_?console.log("how did this happen?"):this.scopeDepth=_,y!==-1&&(this.fontStyle=y),v!==0&&(this.foreground=v),E!==0&&(this.background=E)}}o.ThemeTrieElementRule=g;class b{constructor(_,y=[],v={}){this._mainRule=_,this._children=v,this._rulesWithParentScopes=y}static _sortBySpecificity(_){return _.length===1||_.sort(this._cmpBySpecificity),_}static _cmpBySpecificity(_,y){if(_.scopeDepth===y.scopeDepth){const v=_.parentScopes,E=y.parentScopes;let m=v===null?0:v.length,k=E===null?0:E.length;if(m===k)for(let T=0;T<m;T++){const w=v[T].length,C=E[T].length;if(w!==C)return C-w}return k-m}return y.scopeDepth-_.scopeDepth}match(_){if(_==="")return b._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let y,v,E=_.indexOf(".");return E===-1?(y=_,v=""):(y=_.substring(0,E),v=_.substring(E+1)),this._children.hasOwnProperty(y)?this._children[y].match(v):b._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(_,y,v,E,m,k){if(y==="")return void this._doInsertHere(_,v,E,m,k);let T,w,C,A=y.indexOf(".");A===-1?(T=y,w=""):(T=y.substring(0,A),w=y.substring(A+1)),this._children.hasOwnProperty(T)?C=this._children[T]:(C=new b(this._mainRule.clone(),g.cloneArr(this._rulesWithParentScopes)),this._children[T]=C),C.insert(_+1,w,v,E,m,k)}_doInsertHere(_,y,v,E,m){if(y!==null){for(let k=0,T=this._rulesWithParentScopes.length;k<T;k++){let w=this._rulesWithParentScopes[k];if(a.strArrCmp(w.parentScopes,y)===0)return void w.acceptOverwrite(_,v,E,m)}v===-1&&(v=this._mainRule.fontStyle),E===0&&(E=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new g(_,y,v,E,m))}else this._mainRule.acceptOverwrite(_,v,E,m)}}o.ThemeTrieElement=b},878:(s,o)=>{function i(c){return Array.isArray(c)?function(u){let f=[];for(let d=0,p=u.length;d<p;d++)f[d]=i(u[d]);return f}(c):typeof c=="object"?function(u){let f={};for(let d in u)f[d]=i(u[d]);return f}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...u){return u.forEach(f=>{for(let d in f)c[d]=f[d]}),c},o.basename=function c(u){const f=~u.lastIndexOf("/")||~u.lastIndexOf("\\");return f===0?u:~f==u.length-1?c(u.substring(0,u.length-1)):u.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,u){return c<u?-1:c>u?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,u,f){return c.replace(a,(d,p,h,g)=>{let b=f[parseInt(p||h,10)];if(!b)return d;{let S=u.substring(b.start,b.end);for(;S[0]===".";)S=S.substring(1);switch(g){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}})}},o.strcmp=l,o.strArrCmp=function(c,u){if(c===null&&u===null)return 0;if(!c)return-1;if(!u)return 1;let f=c.length,d=u.length;if(f===d){for(let p=0;p<f;p++){let h=l(c[p],u[p]);if(h!==0)return h}return 0}return f-d},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const u=this.fn(c);return this.cache.set(c,u),u}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})(ig);var ag=ig.exports;function UC(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...WC(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),VC(n),n}function VC(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}const Cd={light:"#333333",dark:"#bbbbbb"},kd={light:"#fffffe",dark:"#1e1e1e"};function WC(e){let t,n;const r=e.settings?e.settings:e.tokenColors,s=r?r.find(o=>!o.name&&!o.scope):void 0;return s?.settings?.foreground&&(t=s.settings.foreground),s?.settings?.background&&(n=s.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?Cd.light:Cd.dark),n||(n=e.type==="light"?kd.light:kd.dark),{fg:t,bg:n}}class GC extends ag.Registry{constructor(t,n,r){super(t),this._resolver=t,this._themes=n,this._langs=r,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langMap={},this._langGraph=new Map,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=UC(t);return n.name&&(this._resolvedThemes[n.name]=n),n}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){if(this._resolvedGrammars[t.name])return;this._resolver.addLanguage(t);const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.name]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.entries()),r=n.filter(([s,o])=>!o);if(r.length){const s=n.filter(([o,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(o=>!r.includes(o));throw new Error(`[shikiji] Missing languages ${r.map(([o])=>`\`${o}\``).join(", ")}, required by ${s.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[s,o]of n)this._resolver.addLanguage(o);for(const[s,o]of n)await this.loadLanguage(o)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class qC{constructor(t,n,r){this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n,r.forEach(s=>this.addLanguage(s))}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){return this.scopeToLangMap[t]}addLanguage(t){this.languageMap[t.name]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}async function KC(e={}){async function t(h){return Promise.resolve(typeof h=="function"?h():h).then(g=>g.default||g)}async function n(h){return Array.from(new Set((await Promise.all(h.map(async g=>await t(g).then(b=>Array.isArray(b)?b:[b])))).flat()))}const[r,s]=await Promise.all([Promise.all((e.themes||[]).map(t)),n(e.langs||[]),typeof e.loadWasm=="function"?Promise.resolve(e.loadWasm()).then(h=>Td(h)):e.loadWasm?Td(e.loadWasm):void 0]),o=new qC(Promise.resolve({createOnigScanner(h){return zC(h)},createOnigString(h){return jC(h)}}),"vscode-oniguruma",s),i=new GC(o,r,s);await i.init();function a(h){const g=i.getGrammar(h);if(!g)throw new Error(`[shikiji] Language \`${h}\` not found, you may need to load it first`);return g}function l(h){const g=i.getTheme(h);if(!g)throw new Error(`[shikiji] Theme \`${h}\` not found, you may need to load it first`);return g}function c(h){const g=l(h);i.setTheme(g);const b=i.getColorMap();return{theme:g,colorMap:b}}function u(){return i.getLoadedThemes()}function f(){return i.getLoadedLanguages()}async function d(...h){await i.loadLanguages(await n(h))}async function p(...h){await Promise.all(h.map(async g=>i.loadTheme(await t(g))))}return{setTheme:c,getTheme:l,getLangGrammar:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:d,loadTheme:p}}const XC=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class $o{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}$o.prototype.property={};$o.prototype.normal={};$o.prototype.space=null;function lg(e,t){const n={},r={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(r,e[s].normal);return new $o(n,r,t)}function Vl(e){return e.toLowerCase()}class Lt{constructor(t,n){this.property=t,this.attribute=n}}Lt.prototype.space=null;Lt.prototype.boolean=!1;Lt.prototype.booleanish=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.number=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.spaceSeparated=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.defined=!1;let YC=0;const Ee=xr(),Ke=xr(),cg=xr(),Y=xr(),He=xr(),zr=xr(),xt=xr();function xr(){return 2**++YC}var Wl=Object.freeze({__proto__:null,boolean:Ee,booleanish:Ke,commaOrSpaceSeparated:xt,commaSeparated:zr,number:Y,overloadedBoolean:cg,spaceSeparated:He});const Za=Object.keys(Wl);class iu extends Lt{constructor(t,n,r,s){let o=-1;if(super(t,n),Pd(this,"space",s),typeof r=="number")for(;++o<Za.length;){const i=Za[o];Pd(this,Za[o],(r&Wl[i])===Wl[i])}}}iu.prototype.defined=!0;function Pd(e,t,n){n&&(e[t]=n)}const JC={}.hasOwnProperty;function gs(e){const t={},n={};let r;for(r in e.properties)if(JC.call(e.properties,r)){const s=e.properties[r],o=new iu(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Vl(r)]=r,n[Vl(o.attribute)]=r}return new $o(t,n,e.space)}const ug=gs({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),fg=gs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dg(e,t){return t in e?e[t]:t}function hg(e,t){return dg(e,t.toLowerCase())}const pg=gs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hg,properties:{xmlns:null,xmlnsXLink:null}}),mg=gs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ke,ariaAutoComplete:null,ariaBusy:Ke,ariaChecked:Ke,ariaColCount:Y,ariaColIndex:Y,ariaColSpan:Y,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:Ke,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:Ke,ariaFlowTo:He,ariaGrabbed:Ke,ariaHasPopup:null,ariaHidden:Ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:Y,ariaLive:null,ariaModal:Ke,ariaMultiLine:Ke,ariaMultiSelectable:Ke,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:Y,ariaPressed:Ke,ariaReadOnly:Ke,ariaRelevant:null,ariaRequired:Ke,ariaRoleDescription:He,ariaRowCount:Y,ariaRowIndex:Y,ariaRowSpan:Y,ariaSelected:Ke,ariaSetSize:Y,ariaSort:null,ariaValueMax:Y,ariaValueMin:Y,ariaValueNow:Y,ariaValueText:null,role:null}}),ZC=gs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zr,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:He,autoFocus:Ee,autoPlay:Ee,capture:Ee,charSet:null,checked:Ee,cite:null,className:He,cols:Y,colSpan:null,content:null,contentEditable:Ke,controls:Ee,controlsList:He,coords:Y|zr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:cg,draggable:Ke,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:He,height:Y,hidden:Ee,high:Y,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:He,itemRef:He,itemScope:Ee,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:Y,manifest:null,max:null,maxLength:Y,media:null,method:null,min:null,minLength:Y,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:Y,pattern:null,ping:He,placeholder:null,playsInline:Ee,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:He,required:Ee,reversed:Ee,rows:Y,rowSpan:Y,sandbox:He,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shape:null,size:Y,sizes:null,slot:null,span:Y,spellCheck:Ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Y,step:null,style:null,tabIndex:Y,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Ke,width:Y,wrap:null,align:null,aLink:null,archive:He,axis:null,background:null,bgColor:null,border:Y,borderColor:null,bottomMargin:Y,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:Y,leftMargin:Y,link:null,longDesc:null,lowSrc:null,marginHeight:Y,marginWidth:Y,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:Y,rules:null,scheme:null,scrolling:Ke,standby:null,summary:null,text:null,topMargin:Y,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Y,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:Y,security:null,unselectable:null}}),QC=gs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:dg,properties:{about:xt,accentHeight:Y,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Y,amplitude:Y,arabicForm:null,ascent:Y,attributeName:null,attributeType:null,azimuth:Y,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Y,by:null,calcMode:null,capHeight:Y,className:He,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Y,diffuseConstant:Y,direction:null,display:null,dur:null,divisor:Y,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:Y,enableBackground:null,end:null,event:null,exponent:Y,externalResourcesRequired:null,fill:null,fillOpacity:Y,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:zr,g2:zr,glyphName:zr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Y,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Y,horizOriginX:Y,horizOriginY:Y,id:null,ideographic:Y,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Y,k:Y,k1:Y,k2:Y,k3:Y,k4:Y,kernelMatrix:xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Y,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Y,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Y,overlineThickness:Y,paintOrder:null,panose1:null,path:null,pathLength:Y,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:He,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Y,pointsAtY:Y,pointsAtZ:Y,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xt,rev:xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xt,requiredFeatures:xt,requiredFonts:xt,requiredFormats:xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Y,specularExponent:Y,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Y,strikethroughThickness:Y,string:null,stroke:null,strokeDashArray:xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Y,strokeOpacity:Y,strokeWidth:null,style:null,surfaceScale:Y,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xt,tabIndex:Y,tableValues:null,target:null,targetX:Y,targetY:Y,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xt,to:null,transform:null,u1:null,u2:null,underlinePosition:Y,underlineThickness:Y,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Y,values:null,vAlphabetic:Y,vMathematical:Y,vectorEffect:null,vHanging:Y,vIdeographic:Y,version:null,vertAdvY:Y,vertOriginX:Y,vertOriginY:Y,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Y,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ek=/^data[-\w.:]+$/i,Ad=/-[a-z]/g,tk=/[A-Z]/g;function nk(e,t){const n=Vl(t);let r=t,s=Lt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ek.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Ad,sk);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Ad.test(o)){let i=o.replace(tk,rk);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=iu}return new s(r,t)}function rk(e){return"-"+e.toLowerCase()}function sk(e){return e.charAt(1).toUpperCase()}const ok=lg([fg,ug,pg,mg,ZC],"html"),gg=lg([fg,ug,pg,mg,QC],"svg"),Rd={}.hasOwnProperty;function ik(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Rd.call(s,e)){const l=String(s[e]);i=Rd.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function ak(e,t){if(e=e.replace(t.subset?lk(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function lk(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function ck(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function uk(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const fk=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Qa={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},dk=["cent","copy","divide","gt","lt","not","para","times"],vg={}.hasOwnProperty,Gl={};let ei;for(ei in Qa)vg.call(Qa,ei)&&(Gl[Qa[ei]]=ei);function hk(e,t,n,r){const s=String.fromCharCode(e);if(vg.call(Gl,s)){const o=Gl[s],i="&"+o;return n&&fk.includes(o)&&!dk.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function pk(e,t,n){let r=ck(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=hk(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=uk(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Hr(e,t){return ak(e,Object.assign({format:pk},t))}function mk(e,t,n,r){return r.settings.bogusComments?"<?"+Hr(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,s)+"-->";function s(o){return Hr(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function gk(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function $d(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function vk(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function yk(e){return e.join(" ").trim()}const _k=/[ \t\n\f\r]/g;function au(e){return typeof e=="object"?e.type==="text"?Nd(e.value):!1:Nd(e)}function Nd(e){return e.replace(_k,"")===""}const Qe=_g(1),yg=_g(-1),bk=[];function _g(e){return t;function t(n,r,s){const o=n?n.children:bk;let i=(r||0)+e,a=o[i];if(!s)for(;a&&au(a);)i+=e,a=o[i];return a}}const wk={}.hasOwnProperty;function bg(e){return t;function t(n,r,s){return wk.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const lu=bg({body:Ek,caption:el,colgroup:el,dd:kk,dt:Ck,head:el,html:Sk,li:Tk,optgroup:Pk,option:Ak,p:xk,rp:Od,rt:Od,tbody:$k,td:Id,tfoot:Nk,th:Id,thead:Rk,tr:Ok});function el(e,t,n){const r=Qe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&au(r.value.charAt(0)))}function Sk(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function Ek(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function xk(e,t,n){const r=Qe(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Tk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Ck(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function kk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Od(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Pk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Ak(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Rk(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function $k(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Nk(e,t,n){return!Qe(n,t)}function Ok(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Id(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Ik=bg({body:Dk,colgroup:Fk,head:Mk,html:Lk,tbody:Bk});function Lk(e){const t=Qe(e,-1);return!t||t.type!=="comment"}function Mk(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const s=t[r];if(s.type==="element"&&(s.tagName==="title"||s.tagName==="base")){if(n.includes(s.tagName))return!1;n.push(s.tagName)}}return t.length>0}function Dk(e){const t=Qe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&au(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Fk(e,t,n){const r=yg(n,t),s=Qe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&lu(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function Bk(e,t,n){const r=yg(n,t),s=Qe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&lu(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const ti={name:[[`
8
+ `)}findNextMatchSync(m,k,T){const w=this.scanner.findNextMatchSync(m,k,T);return w?{ruleId:this.rules[w.index],captureIndices:w.captureIndices}:null}}o.CompiledRule=v},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(_,y,v){this._colorMap=_,this._defaults=y,this._root=v,this._cachedMatchRoot=new a.CachedFn(E=>this._root.match(E))}static createFromRawTheme(_,y){return this.createFromParsedTheme(d(_),y)}static createFromParsedTheme(_,y){return function(v,E){v.sort((x,P)=>{let R=a.strcmp(x.scope,P.scope);return R!==0?R:(R=a.strArrCmp(x.parentScopes,P.parentScopes),R!==0?R:x.index-P.index)});let m=0,k="#000000",T="#ffffff";for(;v.length>=1&&v[0].scope==="";){let x=v.shift();x.fontStyle!==-1&&(m=x.fontStyle),x.foreground!==null&&(k=x.foreground),x.background!==null&&(T=x.background)}let w=new h(E),C=new f(m,w.getId(k),w.getId(T)),A=new b(new g(0,null,-1,0,0),[]);for(let x=0,P=v.length;x<P;x++){let R=v[x];A.insert(0,R.scope,R.parentScopes,R.fontStyle,w.getId(R.foreground),w.getId(R.background))}return new l(w,C,A)}(_,y)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(_){if(_===null)return this._defaults;const y=_.scopeName,v=this._cachedMatchRoot.get(y).find(E=>function(m,k){if(k===null)return!0;let T=0,w=k[T];for(;m;){if(u(m.scopeName,w)){if(T++,T===k.length)return!0;w=k[T]}m=m.parent}return!1}(_.parent,E.parentScopes));return v?new f(v.fontStyle,v.foreground,v.background):null}}o.Theme=l;class c{constructor(_,y){this.parent=_,this.scopeName=y}static push(_,y){for(const v of y)_=new c(_,v);return _}static from(..._){let y=null;for(let v=0;v<_.length;v++)y=new c(y,_[v]);return y}push(_){return new c(this,_)}getSegments(){let _=this;const y=[];for(;_;)y.push(_.scopeName),_=_.parent;return y.reverse(),y}toString(){return this.getSegments().join(" ")}extends(_){return this===_||this.parent!==null&&this.parent.extends(_)}getExtensionIfDefined(_){const y=[];let v=this;for(;v&&v!==_;)y.push(v.scopeName),v=v.parent;return v===_?y.reverse():void 0}}function u(S,_){return _===S||S.startsWith(_)&&S[_.length]==="."}o.ScopeStack=c;class f{constructor(_,y,v){this.fontStyle=_,this.foregroundId=y,this.backgroundId=v}}function d(S){if(!S)return[];if(!S.settings||!Array.isArray(S.settings))return[];let _=S.settings,y=[],v=0;for(let E=0,m=_.length;E<m;E++){let k,T=_[E];if(!T.settings)continue;if(typeof T.scope=="string"){let x=T.scope;x=x.replace(/^[,]+/,""),x=x.replace(/[,]+$/,""),k=x.split(",")}else k=Array.isArray(T.scope)?T.scope:[""];let w=-1;if(typeof T.settings.fontStyle=="string"){w=0;let x=T.settings.fontStyle.split(" ");for(let P=0,R=x.length;P<R;P++)switch(x[P]){case"italic":w|=1;break;case"bold":w|=2;break;case"underline":w|=4;break;case"strikethrough":w|=8}}let C=null;typeof T.settings.foreground=="string"&&a.isValidHexColor(T.settings.foreground)&&(C=T.settings.foreground);let A=null;typeof T.settings.background=="string"&&a.isValidHexColor(T.settings.background)&&(A=T.settings.background);for(let x=0,P=k.length;x<P;x++){let R=k[x].trim().split(" "),L=R[R.length-1],I=null;R.length>1&&(I=R.slice(0,R.length-1),I.reverse()),y[v++]=new p(L,I,E,w,C,A)}}return y}o.StyleAttributes=f,o.parseTheme=d;class p{constructor(_,y,v,E,m,k){this.scope=_,this.parentScopes=y,this.index=v,this.fontStyle=E,this.foreground=m,this.background=k}}o.ParsedThemeRule=p,o.fontStyleToString=function(S){if(S===-1)return"not set";let _="";return 1&S&&(_+="italic "),2&S&&(_+="bold "),4&S&&(_+="underline "),8&S&&(_+="strikethrough "),_===""&&(_="none"),_.trim()};class h{constructor(_){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(_)){this._isFrozen=!0;for(let y=0,v=_.length;y<v;y++)this._color2id[_[y]]=y,this._id2color[y]=_[y]}else this._isFrozen=!1}getId(_){if(_===null)return 0;_=_.toUpperCase();let y=this._color2id[_];if(y)return y;if(this._isFrozen)throw new Error(`Missing color in color map - ${_}`);return y=++this._lastColorId,this._color2id[_]=y,this._id2color[y]=_,y}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=h;class g{constructor(_,y,v,E,m){this.scopeDepth=_,this.parentScopes=y,this.fontStyle=v,this.foreground=E,this.background=m}clone(){return new g(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(_){let y=[];for(let v=0,E=_.length;v<E;v++)y[v]=_[v].clone();return y}acceptOverwrite(_,y,v,E){this.scopeDepth>_?console.log("how did this happen?"):this.scopeDepth=_,y!==-1&&(this.fontStyle=y),v!==0&&(this.foreground=v),E!==0&&(this.background=E)}}o.ThemeTrieElementRule=g;class b{constructor(_,y=[],v={}){this._mainRule=_,this._children=v,this._rulesWithParentScopes=y}static _sortBySpecificity(_){return _.length===1||_.sort(this._cmpBySpecificity),_}static _cmpBySpecificity(_,y){if(_.scopeDepth===y.scopeDepth){const v=_.parentScopes,E=y.parentScopes;let m=v===null?0:v.length,k=E===null?0:E.length;if(m===k)for(let T=0;T<m;T++){const w=v[T].length,C=E[T].length;if(w!==C)return C-w}return k-m}return y.scopeDepth-_.scopeDepth}match(_){if(_==="")return b._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let y,v,E=_.indexOf(".");return E===-1?(y=_,v=""):(y=_.substring(0,E),v=_.substring(E+1)),this._children.hasOwnProperty(y)?this._children[y].match(v):b._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(_,y,v,E,m,k){if(y==="")return void this._doInsertHere(_,v,E,m,k);let T,w,C,A=y.indexOf(".");A===-1?(T=y,w=""):(T=y.substring(0,A),w=y.substring(A+1)),this._children.hasOwnProperty(T)?C=this._children[T]:(C=new b(this._mainRule.clone(),g.cloneArr(this._rulesWithParentScopes)),this._children[T]=C),C.insert(_+1,w,v,E,m,k)}_doInsertHere(_,y,v,E,m){if(y!==null){for(let k=0,T=this._rulesWithParentScopes.length;k<T;k++){let w=this._rulesWithParentScopes[k];if(a.strArrCmp(w.parentScopes,y)===0)return void w.acceptOverwrite(_,v,E,m)}v===-1&&(v=this._mainRule.fontStyle),E===0&&(E=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new g(_,y,v,E,m))}else this._mainRule.acceptOverwrite(_,v,E,m)}}o.ThemeTrieElement=b},878:(s,o)=>{function i(c){return Array.isArray(c)?function(u){let f=[];for(let d=0,p=u.length;d<p;d++)f[d]=i(u[d]);return f}(c):typeof c=="object"?function(u){let f={};for(let d in u)f[d]=i(u[d]);return f}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...u){return u.forEach(f=>{for(let d in f)c[d]=f[d]}),c},o.basename=function c(u){const f=~u.lastIndexOf("/")||~u.lastIndexOf("\\");return f===0?u:~f==u.length-1?c(u.substring(0,u.length-1)):u.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,u){return c<u?-1:c>u?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,u,f){return c.replace(a,(d,p,h,g)=>{let b=f[parseInt(p||h,10)];if(!b)return d;{let S=u.substring(b.start,b.end);for(;S[0]===".";)S=S.substring(1);switch(g){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}})}},o.strcmp=l,o.strArrCmp=function(c,u){if(c===null&&u===null)return 0;if(!c)return-1;if(!u)return 1;let f=c.length,d=u.length;if(f===d){for(let p=0;p<f;p++){let h=l(c[p],u[p]);if(h!==0)return h}return 0}return f-d},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const u=this.fn(c);return this.cache.set(c,u),u}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})(ig);var ag=ig.exports;function UC(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...WC(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),VC(n),n}function VC(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}const Cd={light:"#333333",dark:"#bbbbbb"},kd={light:"#fffffe",dark:"#1e1e1e"};function WC(e){let t,n;const r=e.settings?e.settings:e.tokenColors,s=r?r.find(o=>!o.name&&!o.scope):void 0;return s?.settings?.foreground&&(t=s.settings.foreground),s?.settings?.background&&(n=s.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?Cd.light:Cd.dark),n||(n=e.type==="light"?kd.light:kd.dark),{fg:t,bg:n}}class GC extends ag.Registry{constructor(t,n,r){super(t),this._resolver=t,this._themes=n,this._langs=r,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langMap={},this._langGraph=new Map,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=UC(t);return n.name&&(this._resolvedThemes[n.name]=n),n}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){if(this._resolvedGrammars[t.name])return;this._resolver.addLanguage(t);const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.name]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.entries()),r=n.filter(([s,o])=>!o);if(r.length){const s=n.filter(([o,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(o=>!r.includes(o));throw new Error(`[shikiji] Missing languages ${r.map(([o])=>`\`${o}\``).join(", ")}, required by ${s.map(([o])=>`\`${o}\``).join(", ")}`)}for(const[s,o]of n)this._resolver.addLanguage(o);for(const[s,o]of n)await this.loadLanguage(o)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class qC{constructor(t,n,r){this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n,r.forEach(s=>this.addLanguage(s))}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){return this.scopeToLangMap[t]}addLanguage(t){this.languageMap[t.name]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}async function KC(e={}){async function t(h){return Promise.resolve(typeof h=="function"?h():h).then(g=>g.default||g)}async function n(h){return Array.from(new Set((await Promise.all(h.map(async g=>await t(g).then(b=>Array.isArray(b)?b:[b])))).flat()))}const[r,s]=await Promise.all([Promise.all((e.themes||[]).map(t)),n(e.langs||[]),typeof e.loadWasm=="function"?Promise.resolve(e.loadWasm()).then(h=>Td(h)):e.loadWasm?Td(e.loadWasm):void 0]),o=new qC(Promise.resolve({createOnigScanner(h){return zC(h)},createOnigString(h){return jC(h)}}),"vscode-oniguruma",s),i=new GC(o,r,s);await i.init();function a(h){const g=i.getGrammar(h);if(!g)throw new Error(`[shikiji] Language \`${h}\` not found, you may need to load it first`);return g}function l(h){const g=i.getTheme(h);if(!g)throw new Error(`[shikiji] Theme \`${h}\` not found, you may need to load it first`);return g}function c(h){const g=l(h);i.setTheme(g);const b=i.getColorMap();return{theme:g,colorMap:b}}function u(){return i.getLoadedThemes()}function f(){return i.getLoadedLanguages()}async function d(...h){await i.loadLanguages(await n(h))}async function p(...h){await Promise.all(h.map(async g=>i.loadTheme(await t(g))))}return{setTheme:c,getTheme:l,getLangGrammar:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:d,loadTheme:p}}const XC=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class No{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}No.prototype.property={};No.prototype.normal={};No.prototype.space=null;function lg(e,t){const n={},r={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(r,e[s].normal);return new No(n,r,t)}function Vl(e){return e.toLowerCase()}class Lt{constructor(t,n){this.property=t,this.attribute=n}}Lt.prototype.space=null;Lt.prototype.boolean=!1;Lt.prototype.booleanish=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.number=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.spaceSeparated=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.defined=!1;let YC=0;const Ee=xr(),Ke=xr(),cg=xr(),Y=xr(),He=xr(),Hr=xr(),xt=xr();function xr(){return 2**++YC}var Wl=Object.freeze({__proto__:null,boolean:Ee,booleanish:Ke,commaOrSpaceSeparated:xt,commaSeparated:Hr,number:Y,overloadedBoolean:cg,spaceSeparated:He});const Za=Object.keys(Wl);class iu extends Lt{constructor(t,n,r,s){let o=-1;if(super(t,n),Pd(this,"space",s),typeof r=="number")for(;++o<Za.length;){const i=Za[o];Pd(this,Za[o],(r&Wl[i])===Wl[i])}}}iu.prototype.defined=!0;function Pd(e,t,n){n&&(e[t]=n)}const JC={}.hasOwnProperty;function vs(e){const t={},n={};let r;for(r in e.properties)if(JC.call(e.properties,r)){const s=e.properties[r],o=new iu(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Vl(r)]=r,n[Vl(o.attribute)]=r}return new No(t,n,e.space)}const ug=vs({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),fg=vs({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dg(e,t){return t in e?e[t]:t}function hg(e,t){return dg(e,t.toLowerCase())}const pg=vs({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hg,properties:{xmlns:null,xmlnsXLink:null}}),mg=vs({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ke,ariaAutoComplete:null,ariaBusy:Ke,ariaChecked:Ke,ariaColCount:Y,ariaColIndex:Y,ariaColSpan:Y,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:Ke,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:Ke,ariaFlowTo:He,ariaGrabbed:Ke,ariaHasPopup:null,ariaHidden:Ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:Y,ariaLive:null,ariaModal:Ke,ariaMultiLine:Ke,ariaMultiSelectable:Ke,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:Y,ariaPressed:Ke,ariaReadOnly:Ke,ariaRelevant:null,ariaRequired:Ke,ariaRoleDescription:He,ariaRowCount:Y,ariaRowIndex:Y,ariaRowSpan:Y,ariaSelected:Ke,ariaSetSize:Y,ariaSort:null,ariaValueMax:Y,ariaValueMin:Y,ariaValueNow:Y,ariaValueText:null,role:null}}),ZC=vs({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hr,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:He,autoFocus:Ee,autoPlay:Ee,capture:Ee,charSet:null,checked:Ee,cite:null,className:He,cols:Y,colSpan:null,content:null,contentEditable:Ke,controls:Ee,controlsList:He,coords:Y|Hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:cg,draggable:Ke,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:He,height:Y,hidden:Ee,high:Y,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:He,itemRef:He,itemScope:Ee,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:Y,manifest:null,max:null,maxLength:Y,media:null,method:null,min:null,minLength:Y,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:Y,pattern:null,ping:He,placeholder:null,playsInline:Ee,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:He,required:Ee,reversed:Ee,rows:Y,rowSpan:Y,sandbox:He,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shape:null,size:Y,sizes:null,slot:null,span:Y,spellCheck:Ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Y,step:null,style:null,tabIndex:Y,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Ke,width:Y,wrap:null,align:null,aLink:null,archive:He,axis:null,background:null,bgColor:null,border:Y,borderColor:null,bottomMargin:Y,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:Y,leftMargin:Y,link:null,longDesc:null,lowSrc:null,marginHeight:Y,marginWidth:Y,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:Y,rules:null,scheme:null,scrolling:Ke,standby:null,summary:null,text:null,topMargin:Y,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Y,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:Y,security:null,unselectable:null}}),QC=vs({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:dg,properties:{about:xt,accentHeight:Y,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Y,amplitude:Y,arabicForm:null,ascent:Y,attributeName:null,attributeType:null,azimuth:Y,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Y,by:null,calcMode:null,capHeight:Y,className:He,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Y,diffuseConstant:Y,direction:null,display:null,dur:null,divisor:Y,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:Y,enableBackground:null,end:null,event:null,exponent:Y,externalResourcesRequired:null,fill:null,fillOpacity:Y,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hr,g2:Hr,glyphName:Hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Y,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Y,horizOriginX:Y,horizOriginY:Y,id:null,ideographic:Y,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Y,k:Y,k1:Y,k2:Y,k3:Y,k4:Y,kernelMatrix:xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Y,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Y,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Y,overlineThickness:Y,paintOrder:null,panose1:null,path:null,pathLength:Y,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:He,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Y,pointsAtY:Y,pointsAtZ:Y,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xt,rev:xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xt,requiredFeatures:xt,requiredFonts:xt,requiredFormats:xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Y,specularExponent:Y,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Y,strikethroughThickness:Y,string:null,stroke:null,strokeDashArray:xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Y,strokeOpacity:Y,strokeWidth:null,style:null,surfaceScale:Y,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xt,tabIndex:Y,tableValues:null,target:null,targetX:Y,targetY:Y,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xt,to:null,transform:null,u1:null,u2:null,underlinePosition:Y,underlineThickness:Y,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Y,values:null,vAlphabetic:Y,vMathematical:Y,vectorEffect:null,vHanging:Y,vIdeographic:Y,version:null,vertAdvY:Y,vertOriginX:Y,vertOriginY:Y,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Y,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ek=/^data[-\w.:]+$/i,Ad=/-[a-z]/g,tk=/[A-Z]/g;function nk(e,t){const n=Vl(t);let r=t,s=Lt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ek.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Ad,sk);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Ad.test(o)){let i=o.replace(tk,rk);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=iu}return new s(r,t)}function rk(e){return"-"+e.toLowerCase()}function sk(e){return e.charAt(1).toUpperCase()}const ok=lg([fg,ug,pg,mg,ZC],"html"),gg=lg([fg,ug,pg,mg,QC],"svg"),Rd={}.hasOwnProperty;function ik(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Rd.call(s,e)){const l=String(s[e]);i=Rd.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function ak(e,t){if(e=e.replace(t.subset?lk(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function lk(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function ck(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function uk(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const fk=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Qa={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},dk=["cent","copy","divide","gt","lt","not","para","times"],vg={}.hasOwnProperty,Gl={};let ti;for(ti in Qa)vg.call(Qa,ti)&&(Gl[Qa[ti]]=ti);function hk(e,t,n,r){const s=String.fromCharCode(e);if(vg.call(Gl,s)){const o=Gl[s],i="&"+o;return n&&fk.includes(o)&&!dk.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function pk(e,t,n){let r=ck(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=hk(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=uk(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Ur(e,t){return ak(e,Object.assign({format:pk},t))}function mk(e,t,n,r){return r.settings.bogusComments?"<?"+Ur(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,s)+"-->";function s(o){return Ur(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function gk(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function $d(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function vk(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function yk(e){return e.join(" ").trim()}const _k=/[ \t\n\f\r]/g;function au(e){return typeof e=="object"?e.type==="text"?Nd(e.value):!1:Nd(e)}function Nd(e){return e.replace(_k,"")===""}const Qe=_g(1),yg=_g(-1),bk=[];function _g(e){return t;function t(n,r,s){const o=n?n.children:bk;let i=(r||0)+e,a=o[i];if(!s)for(;a&&au(a);)i+=e,a=o[i];return a}}const wk={}.hasOwnProperty;function bg(e){return t;function t(n,r,s){return wk.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const lu=bg({body:Ek,caption:el,colgroup:el,dd:kk,dt:Ck,head:el,html:Sk,li:Tk,optgroup:Pk,option:Ak,p:xk,rp:Od,rt:Od,tbody:$k,td:Id,tfoot:Nk,th:Id,thead:Rk,tr:Ok});function el(e,t,n){const r=Qe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&au(r.value.charAt(0)))}function Sk(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function Ek(e,t,n){const r=Qe(n,t);return!r||r.type!=="comment"}function xk(e,t,n){const r=Qe(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Tk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Ck(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function kk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Od(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Pk(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Ak(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Rk(e,t,n){const r=Qe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function $k(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Nk(e,t,n){return!Qe(n,t)}function Ok(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Id(e,t,n){const r=Qe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Ik=bg({body:Dk,colgroup:Fk,head:Mk,html:Lk,tbody:Bk});function Lk(e){const t=Qe(e,-1);return!t||t.type!=="comment"}function Mk(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const s=t[r];if(s.type==="element"&&(s.tagName==="title"||s.tagName==="base")){if(n.includes(s.tagName))return!1;n.push(s.tagName)}}return t.length>0}function Dk(e){const t=Qe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&au(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Fk(e,t,n){const r=yg(n,t),s=Qe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&lu(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function Bk(e,t,n){const r=yg(n,t),s=Qe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&lu(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const ni={name:[[`
9
9
  \f\r &/=>`.split(""),`
10
10
  \f\r "&'/=>\``.split("")],[`\0
11
11
  \f\r "&'/<=>`.split(""),`\0
@@ -13,15 +13,15 @@ function lc(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.leng
13
13
  \f\r &>`.split(""),`\0
14
14
  \f\r "&'<=>\``.split("")],[`\0
15
15
  \f\r "&'<=>\``.split(""),`\0
16
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function jk(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=gg);const c=zk(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!Ik(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!lu(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function zk(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=Hk(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function Hk(e,t,n){const r=nk(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Hr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ti.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?vk:yk)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Hr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ti.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&$d(n,i)>$d(n,e.alternative)&&(i=e.alternative),a=i+Hr(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?ti.single:ti.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}function wg(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Hr(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Uk(e,t,n,r){return r.settings.allowDangerousHtml?e.value:wg(e,t,n,r)}function Vk(e,t,n,r){return r.all(e)}const Wk=ik("type",{invalid:Gk,unknown:qk,handlers:{comment:mk,doctype:gk,element:jk,raw:Uk,root:Vk,text:wg}});function Gk(e){throw new Error("Expected node, not `"+e+"`")}function qk(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Kk={},Xk={},Yk=[];function Jk(e,t){const n=t||Kk,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Zk,all:Qk,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||XC,characterReferences:n.characterReferences||Xk,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?gg:ok,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Zk(e,t,n){return Wk(e,t,n,this)}function Qk(e){const t=[],n=e&&e.children||Yk;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}var In=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(In||{});class hn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=hn.getLanguageId(t),l=hn.getTokenType(t),c=hn.getFontStyle(t),u=hn.getForeground(t),f=hn.getBackground(t);const d=hn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(u=o),i!==0&&(f=i),(a<<0|l<<8|c<<11|d<<10|u<<15|f<<24)>>>0}}function eP(e){return!e||["plaintext","txt","text","plain"].includes(e)}var cr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],tl={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function tP(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Ld(e,t){let n=1;const r=e[t+n++];let s;if(r==="2"){const o=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));o.length===3&&!o.some(i=>Number.isNaN(i))&&(s={type:"rgb",rgb:o})}else if(r==="5"){const o=Number.parseInt(e[t+n]);Number.isNaN(o)||(s={type:"table",index:Number(o)})}return[n,s]}function nP(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],s=Number.parseInt(r);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)tl[s]&&t.push({type:"setDecoration",value:tl[s]});else if(s<=29){const o=tl[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:cr[s-30]}});else if(s===38){const[o,i]=Ld(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=o}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:cr[s-40]}});else if(s===48){const[o,i]=Ld(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=o}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:cr[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:cr[s-100+8]}})}return t}function rP(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=tP(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=nP(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var sP={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function oP(e=sP){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let c=0;c<cr.length;c++)r.push(t(cr[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function iP(e,t){const n=t.split(/\r?\n/),r=oP(Object.fromEntries(cr.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=rP();return n.map(o=>s.parse(o).map(i=>{let a;i.decorations.has("reverse")?a=i.background?r.value(i.background):e.bg:a=i.foreground?r.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=aP(a));let l=In.None;return i.decorations.has("bold")&&(l|=In.Bold),i.decorations.has("italic")&&(l|=In.Italic),i.decorations.has("underline")&&(l|=In.Underline),{content:i.value,color:a,fontStyle:l}}))}function aP(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function cu(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0],includeExplanation:o=!0}=n;if(eP(r))return[...t.split(/\r\n|\r|\n/).map(u=>[{content:u}])];const{theme:i,colorMap:a}=e.setTheme(s);if(r==="ansi")return iP(i,t);const l=e.getLangGrammar(r);return lP(t,l,i,a,{includeExplanation:o})}function lP(e,t,n,r,s){const o=e.split(/\r\n|\r|\n/);let i=ag.INITIAL,a=[];const l=[];for(let c=0,u=o.length;c<u;c++){const f=o[c];if(f===""){a=[],l.push([]);continue}let d,p,h;s.includeExplanation&&(d=t.tokenizeLine(f,i),p=d.tokens,h=0);const g=t.tokenizeLine2(f,i),b=g.tokens.length/2;for(let S=0;S<b;S++){const _=g.tokens[2*S],y=S+1<b?g.tokens[2*S+2]:f.length;if(_===y)continue;const v=g.tokens[2*S+1],E=hn.getForeground(v),m=r[E],k=hn.getFontStyle(v),T={content:f.substring(_,y),color:m,fontStyle:k};if(s.includeExplanation){T.explanation=[];let w=0;for(;_+w<y;){const C=p[h],A=f.substring(C.startIndex,C.endIndex);w+=A.length,T.explanation.push({content:A,scopes:cP(n,C.scopes)}),h+=1}}a.push(T)}l.push(a),a=[],i=g.ruleStack}return l}function cP(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:fP(e,i,o)}}return n}function Md(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function uP(e,t,n,r){if(!Md(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Md(t[s],r[o])&&(s-=1),o-=1;return s===-1}function fP(e,t,n){const r=[];let s=0;for(let o=0,i=e.settings.length;o<i;o++){const a=e.settings[o];let l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,u=l.length;c<u;c++){const d=l[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);uP(p,h,t,n)&&(r[s++]=a,c=u)}}return r}function Sg(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]),s=dP(...r.map(o=>cu(e,t,{...n,theme:o[1],includeExplanation:!1})));return r.map(([o,i],a)=>[o,i,s[a]])}function dP(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l)})}}}return t}function Eg(e,t,n){let r,s,o,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n;if(Object.entries(n.themes).filter(h=>h[1]).length===0)throw new Error("[shikiji] `themes` option must not be empty");const f=Sg(e,t,n).sort(h=>h[0]===l?-1:1);if(l&&!f.find(h=>h[0]===l))throw new Error(`[shikiji] \`themes\` option must contain the defaultColor key \`${l}\``);const d=f.map(h=>e.getTheme(h[1])),p=f.map(h=>h[2]);o=[];for(let h=0;h<p[0].length;h++){const g=p.map(S=>S[h]),b=[];o.push(b);for(let S=0;S<g[0].length;S++){const _=g.map(m=>m[S]),y=_.map(m=>xg(m)),v=new Set(y.flatMap(m=>Object.keys(m))),E=y.reduce((m,k,T)=>{for(const w of v){const C=k[w]||"inherit";if(T===0&&l)m[w]=C;else{const A=c+f[T][0]+(w==="color"?"":`-${w}`);m[w]?m[w]+=`;${A}:${C}`:m[w]=`${A}:${C}`}}return m},{});b.push({..._[0],color:"",htmlStyle:l?Tg(E):Object.values(E).join(";")})}}s=f.map((h,g)=>(g===0&&l?"":`${c+h[0]}:`)+d[g].fg).join(";"),r=f.map((h,g)=>(g===0&&l?"":`${c+h[0]}-bg:`)+d[g].bg).join(";"),i=`shiki-themes ${d.map(h=>h.name).join(" ")}`,a=l?void 0:[s,r].join(";")}else if("theme"in n){o=cu(e,t,{...n,includeExplanation:!1});const l=e.getTheme(n.theme);r=l.bg,s=l.fg,i=l.name}else throw new Error("[shikiji] Invalid options, either `theme` or `themes` must be provided");return hP(o,{...n,fg:s,bg:r,themeName:i,rootStyle:a})}function hP(e,t){const{mergeWhitespaces:n=!0}=t;n&&(e=pP(e));const r=[],s={type:"root",children:[]};let o={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",lang:t.lang,...t.meta},children:[]},i={type:"element",tagName:"code",properties:{},children:r};return e.forEach((a,l)=>{l&&r.push({type:"text",value:`
17
- `});let c={type:"element",tagName:"span",properties:{class:"line"},children:[]},u=0;for(const f of a){let d={type:"element",tagName:"span",properties:{},children:[{type:"text",value:f.content}]};const p=f.htmlStyle||Tg(xg(f));p&&(d.properties.style=p),d=t.transforms?.token?.(d,l+1,u,c)||d,c.children.push(d),u+=f.content.length}c=t.transforms?.line?.(c,l+1)||c,r.push(c)}),i=t.transforms?.code?.(i)||i,o.children.push(i),o=t.transforms?.pre?.(o)||o,s.children.push(o),t.transforms?.root?.(s)||s}function xg(e){const t={};return e.color&&(t.color=e.color),e.fontStyle&&(e.fontStyle&In.Italic&&(t["font-style"]="italic"),e.fontStyle&In.Bold&&(t["font-weight"]="bold"),e.fontStyle&In.Underline&&(t["text-decoration"]="underline")),t}function Tg(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function pP(e){return e.map(t=>{const n=[];let r="";return t.forEach((s,o)=>{s.content.match(/^\s+$/)&&t[o+1]?r+=s.content:r?(n.push({...s,content:r+s.content}),r=""):n.push(s)}),n})}function mP(e,t,n){return Jk(Eg(e,t,n))}async function gP(e={}){const t=await KC(e);return{codeToThemedTokens:(n,r)=>cu(t,n,r),codeToTokensWithThemes:(n,r)=>Sg(t,n,r),codeToHast:(n,r)=>Eg(t,n,r),codeToHtml:(n,r)=>mP(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages}}let nl=null;async function vP(){return nl||(nl=we(()=>import("./onig.0c57a370.js"),[],import.meta.url).then(e=>({data:e.default}))),nl}const ni=Ht();let Dd=null;function yP(e,t="text"){!Dd&&!ni.value&&(Dd=gP({themes:[we(()=>import("./vitesse-dark.ff0e7dcb.js"),[],import.meta.url),we(()=>import("./vitesse-light.c6996724.js"),[],import.meta.url)],langs:[we(()=>import("./json.709f1c4d.js"),[],import.meta.url),we(()=>import("./yaml.b29e536f.js"),[],import.meta.url),we(()=>import("./css.f61fd02b.js"),[],import.meta.url),we(()=>import("./javascript.b7d6d348.js"),[],import.meta.url),we(()=>import("./typescript.24e7badf.js"),[],import.meta.url),we(()=>import("./vue.7ad3b25a.js"),["./vue.7ad3b25a.js","./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),we(()=>import("./vue-html.88dda4a8.js"),["./vue-html.88dda4a8.js","./vue.7ad3b25a.js","./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),we(()=>import("./html.14085b69.js"),["./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js"],import.meta.url),we(()=>import("./diff.22e0b108.js"),[],import.meta.url),we(()=>import("./shellscript.e25d1410.js"),[],import.meta.url)],loadWasm:vP}).then(r=>{ni.value=r}));const n=ni.value?.getLoadedLanguages().includes(t);return n?{code:ni.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}function ct(){return ds("devtools-client")}function j2(){const e=ct();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Cg(){const e=ct();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function z2(){const e=ct();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function _P(){return ds("devtools-component-inspector-data")}const kg=K(!1);setTimeout(()=>{kg.value=!0},2e3);const bP=de(()=>kg.value&&!ct().value);function wP(){const e=ct(),t=sg();return de(()=>({host:e.value,devtools:{rpc:Pe,colorMode:t.value,renderCodeHighlight(n,r){return yP(n,r)},renderMarkdown(n){return PC(n)},extendClientRpc(n,r){return Wm.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Pe[`${n}:${o}`]}})}}}))}const Ns={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ct();return()=>!!e.value}},Os={icon:"carbon-information",title:"Overview",order:-100},Is={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ct();return()=>!!e.value},order:1},Ls={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ct();return()=>!!e.value},order:7},Ms={icon:"carbon-plug",title:"Plugins",category:"analyze"},Ds={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=ct();return()=>!!e.value},order:6},Fd=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function SP(e,t){t?t={...Fd,...t}:t=Fd;const n=Pg(t);return n.dispatch(e),n.toString()}const EP=Object.freeze(["prototype","__proto__","constructor"]);function Pg(e){let t="",n=new Map;const r=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let c=Object.keys(s);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Bd(s)&&(u=EP),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const c=Pg(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),Bd(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
16
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function jk(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=gg);const c=zk(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!Ik(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!lu(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function zk(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=Hk(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function Hk(e,t,n){const r=nk(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Ur(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ni.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?vk:yk)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Ur(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ni.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&$d(n,i)>$d(n,e.alternative)&&(i=e.alternative),a=i+Ur(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?ni.single:ni.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}function wg(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Ur(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Uk(e,t,n,r){return r.settings.allowDangerousHtml?e.value:wg(e,t,n,r)}function Vk(e,t,n,r){return r.all(e)}const Wk=ik("type",{invalid:Gk,unknown:qk,handlers:{comment:mk,doctype:gk,element:jk,raw:Uk,root:Vk,text:wg}});function Gk(e){throw new Error("Expected node, not `"+e+"`")}function qk(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Kk={},Xk={},Yk=[];function Jk(e,t){const n=t||Kk,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Zk,all:Qk,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||XC,characterReferences:n.characterReferences||Xk,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?gg:ok,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Zk(e,t,n){return Wk(e,t,n,this)}function Qk(e){const t=[],n=e&&e.children||Yk;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}var In=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(In||{});class hn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=hn.getLanguageId(t),l=hn.getTokenType(t),c=hn.getFontStyle(t),u=hn.getForeground(t),f=hn.getBackground(t);const d=hn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(u=o),i!==0&&(f=i),(a<<0|l<<8|c<<11|d<<10|u<<15|f<<24)>>>0}}function eP(e){return!e||["plaintext","txt","text","plain"].includes(e)}var cr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],tl={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function tP(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Ld(e,t){let n=1;const r=e[t+n++];let s;if(r==="2"){const o=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));o.length===3&&!o.some(i=>Number.isNaN(i))&&(s={type:"rgb",rgb:o})}else if(r==="5"){const o=Number.parseInt(e[t+n]);Number.isNaN(o)||(s={type:"table",index:Number(o)})}return[n,s]}function nP(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],s=Number.parseInt(r);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)tl[s]&&t.push({type:"setDecoration",value:tl[s]});else if(s<=29){const o=tl[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:cr[s-30]}});else if(s===38){const[o,i]=Ld(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=o}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:cr[s-40]}});else if(s===48){const[o,i]=Ld(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=o}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:cr[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:cr[s-100+8]}})}return t}function rP(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=tP(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=nP(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var sP={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function oP(e=sP){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let c=0;c<cr.length;c++)r.push(t(cr[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function iP(e,t){const n=t.split(/\r?\n/),r=oP(Object.fromEntries(cr.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=rP();return n.map(o=>s.parse(o).map(i=>{let a;i.decorations.has("reverse")?a=i.background?r.value(i.background):e.bg:a=i.foreground?r.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=aP(a));let l=In.None;return i.decorations.has("bold")&&(l|=In.Bold),i.decorations.has("italic")&&(l|=In.Italic),i.decorations.has("underline")&&(l|=In.Underline),{content:i.value,color:a,fontStyle:l}}))}function aP(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function cu(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0],includeExplanation:o=!0}=n;if(eP(r))return[...t.split(/\r\n|\r|\n/).map(u=>[{content:u}])];const{theme:i,colorMap:a}=e.setTheme(s);if(r==="ansi")return iP(i,t);const l=e.getLangGrammar(r);return lP(t,l,i,a,{includeExplanation:o})}function lP(e,t,n,r,s){const o=e.split(/\r\n|\r|\n/);let i=ag.INITIAL,a=[];const l=[];for(let c=0,u=o.length;c<u;c++){const f=o[c];if(f===""){a=[],l.push([]);continue}let d,p,h;s.includeExplanation&&(d=t.tokenizeLine(f,i),p=d.tokens,h=0);const g=t.tokenizeLine2(f,i),b=g.tokens.length/2;for(let S=0;S<b;S++){const _=g.tokens[2*S],y=S+1<b?g.tokens[2*S+2]:f.length;if(_===y)continue;const v=g.tokens[2*S+1],E=hn.getForeground(v),m=r[E],k=hn.getFontStyle(v),T={content:f.substring(_,y),color:m,fontStyle:k};if(s.includeExplanation){T.explanation=[];let w=0;for(;_+w<y;){const C=p[h],A=f.substring(C.startIndex,C.endIndex);w+=A.length,T.explanation.push({content:A,scopes:cP(n,C.scopes)}),h+=1}}a.push(T)}l.push(a),a=[],i=g.ruleStack}return l}function cP(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:fP(e,i,o)}}return n}function Md(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function uP(e,t,n,r){if(!Md(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Md(t[s],r[o])&&(s-=1),o-=1;return s===-1}function fP(e,t,n){const r=[];let s=0;for(let o=0,i=e.settings.length;o<i;o++){const a=e.settings[o];let l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,u=l.length;c<u;c++){const d=l[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);uP(p,h,t,n)&&(r[s++]=a,c=u)}}return r}function Sg(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]),s=dP(...r.map(o=>cu(e,t,{...n,theme:o[1],includeExplanation:!1})));return r.map(([o,i],a)=>[o,i,s[a]])}function dP(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l)})}}}return t}function Eg(e,t,n){let r,s,o,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n;if(Object.entries(n.themes).filter(h=>h[1]).length===0)throw new Error("[shikiji] `themes` option must not be empty");const f=Sg(e,t,n).sort(h=>h[0]===l?-1:1);if(l&&!f.find(h=>h[0]===l))throw new Error(`[shikiji] \`themes\` option must contain the defaultColor key \`${l}\``);const d=f.map(h=>e.getTheme(h[1])),p=f.map(h=>h[2]);o=[];for(let h=0;h<p[0].length;h++){const g=p.map(S=>S[h]),b=[];o.push(b);for(let S=0;S<g[0].length;S++){const _=g.map(m=>m[S]),y=_.map(m=>xg(m)),v=new Set(y.flatMap(m=>Object.keys(m))),E=y.reduce((m,k,T)=>{for(const w of v){const C=k[w]||"inherit";if(T===0&&l)m[w]=C;else{const A=c+f[T][0]+(w==="color"?"":`-${w}`);m[w]?m[w]+=`;${A}:${C}`:m[w]=`${A}:${C}`}}return m},{});b.push({..._[0],color:"",htmlStyle:l?Tg(E):Object.values(E).join(";")})}}s=f.map((h,g)=>(g===0&&l?"":`${c+h[0]}:`)+d[g].fg).join(";"),r=f.map((h,g)=>(g===0&&l?"":`${c+h[0]}-bg:`)+d[g].bg).join(";"),i=`shiki-themes ${d.map(h=>h.name).join(" ")}`,a=l?void 0:[s,r].join(";")}else if("theme"in n){o=cu(e,t,{...n,includeExplanation:!1});const l=e.getTheme(n.theme);r=l.bg,s=l.fg,i=l.name}else throw new Error("[shikiji] Invalid options, either `theme` or `themes` must be provided");return hP(o,{...n,fg:s,bg:r,themeName:i,rootStyle:a})}function hP(e,t){const{mergeWhitespaces:n=!0}=t;n&&(e=pP(e));const r=[],s={type:"root",children:[]};let o={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",lang:t.lang,...t.meta},children:[]},i={type:"element",tagName:"code",properties:{},children:r};return e.forEach((a,l)=>{l&&r.push({type:"text",value:`
17
+ `});let c={type:"element",tagName:"span",properties:{class:"line"},children:[]},u=0;for(const f of a){let d={type:"element",tagName:"span",properties:{},children:[{type:"text",value:f.content}]};const p=f.htmlStyle||Tg(xg(f));p&&(d.properties.style=p),d=t.transforms?.token?.(d,l+1,u,c)||d,c.children.push(d),u+=f.content.length}c=t.transforms?.line?.(c,l+1)||c,r.push(c)}),i=t.transforms?.code?.(i)||i,o.children.push(i),o=t.transforms?.pre?.(o)||o,s.children.push(o),t.transforms?.root?.(s)||s}function xg(e){const t={};return e.color&&(t.color=e.color),e.fontStyle&&(e.fontStyle&In.Italic&&(t["font-style"]="italic"),e.fontStyle&In.Bold&&(t["font-weight"]="bold"),e.fontStyle&In.Underline&&(t["text-decoration"]="underline")),t}function Tg(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function pP(e){return e.map(t=>{const n=[];let r="";return t.forEach((s,o)=>{s.content.match(/^\s+$/)&&t[o+1]?r+=s.content:r?(n.push({...s,content:r+s.content}),r=""):n.push(s)}),n})}function mP(e,t,n){return Jk(Eg(e,t,n))}async function gP(e={}){const t=await KC(e);return{codeToThemedTokens:(n,r)=>cu(t,n,r),codeToTokensWithThemes:(n,r)=>Sg(t,n,r),codeToHast:(n,r)=>Eg(t,n,r),codeToHtml:(n,r)=>mP(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages}}let nl=null;async function vP(){return nl||(nl=we(()=>import("./onig.0c57a370.js"),[],import.meta.url).then(e=>({data:e.default}))),nl}const ri=Ht();let Dd=null;function yP(e,t="text"){!Dd&&!ri.value&&(Dd=gP({themes:[we(()=>import("./vitesse-dark.ff0e7dcb.js"),[],import.meta.url),we(()=>import("./vitesse-light.c6996724.js"),[],import.meta.url)],langs:[we(()=>import("./json.709f1c4d.js"),[],import.meta.url),we(()=>import("./yaml.b29e536f.js"),[],import.meta.url),we(()=>import("./css.f61fd02b.js"),[],import.meta.url),we(()=>import("./javascript.b7d6d348.js"),[],import.meta.url),we(()=>import("./typescript.24e7badf.js"),[],import.meta.url),we(()=>import("./vue.7ad3b25a.js"),["./vue.7ad3b25a.js","./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),we(()=>import("./vue-html.88dda4a8.js"),["./vue-html.88dda4a8.js","./vue.7ad3b25a.js","./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js","./typescript.24e7badf.js","./json.709f1c4d.js","./yaml.b29e536f.js"],import.meta.url),we(()=>import("./html.14085b69.js"),["./html.14085b69.js","./javascript.b7d6d348.js","./css.f61fd02b.js"],import.meta.url),we(()=>import("./diff.22e0b108.js"),[],import.meta.url),we(()=>import("./shellscript.e25d1410.js"),[],import.meta.url)],loadWasm:vP}).then(r=>{ri.value=r}));const n=ri.value?.getLoadedLanguages().includes(t);return n?{code:ri.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}function ct(){return hs("devtools-client")}function j2(){const e=ct();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Cg(){const e=ct();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function z2(){const e=ct();return de(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function _P(){return hs("devtools-component-inspector-data")}const kg=K(!1);setTimeout(()=>{kg.value=!0},2e3);const bP=de(()=>kg.value&&!ct().value);function wP(){const e=ct(),t=sg();return de(()=>({host:e.value,devtools:{rpc:Pe,colorMode:t.value,renderCodeHighlight(n,r){return yP(n,r)},renderMarkdown(n){return PC(n)},extendClientRpc(n,r){return Wm.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Pe[`${n}:${o}`]}})}}}))}const Os={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ct();return()=>!!e.value}},Is={icon:"carbon-information",title:"Overview",order:-100},Ls={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ct();return()=>!!e.value},order:1},Ms={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ct();return()=>!!e.value},order:7},Ds={icon:"carbon-plug",title:"Plugins",category:"analyze"},Fs={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=ct();return()=>!!e.value},order:6},Fd=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function SP(e,t){t?t={...Fd,...t}:t=Fd;const n=Pg(t);return n.dispatch(e),n.toString()}const EP=Object.freeze(["prototype","__proto__","constructor"]);function Pg(e){let t="",n=new Map;const r=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let c=Object.keys(s);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Bd(s)&&(u=EP),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const c=Pg(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),Bd(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
18
18
  Use "options.replacer" or "options.ignoreUnknown"
19
- `)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Ag="[native code] }",xP=Ag.length;function Bd(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-xP)===Ag}class Bn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||TP).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Bn([...this.words])}}const TP={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},CP={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},kP={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Bn(n,t)}},PP={parse(e){return kP.parse(unescape(encodeURIComponent(e)))}};class AP{constructor(){this._data=new Bn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Bn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=PP.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new Bn(n,o)}}class RP extends AP{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const jd=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],$P=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Zn=[];class NP extends RP{constructor(){super(...arguments),this._hash=new Bn([...jd])}reset(){super.reset(),this._hash=new Bn([...jd])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)Zn[d]=t[n+d]|0;else{const y=Zn[d-15],v=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,E=Zn[d-2],m=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;Zn[d]=v+Zn[d-7]+m+Zn[d-16]}const p=l&c^~l&u,h=s&o^s&i^o&i,g=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),S=f+b+p+$P[d]+Zn[d],_=g+h;f=u,u=c,c=l,l=a+S|0,a=i,i=o,o=s,s=S+_|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function OP(e){return new NP().finalize(e).toString(CP)}function IP(e,t={}){const n=typeof e=="string"?e:SP(e,t);return OP(n).slice(0,10)}function LP(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=de(()=>{let m=e;return typeof m=="function"&&(m=m()),z(m)}),i=r.key||IP([s,z(r.method)?.toUpperCase()||"GET",z(r.baseURL),typeof o.value=="string"?o.value:"",z(r.params||r.query),z(r.headers)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===s?"$f"+i:i;if(!r.baseURL&&typeof o.value=="string"&&o.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:p,immediate:h,getCachedData:g,deep:b,...S}=r,_=gt({...Iw,...S,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:l,lazy:c,default:u,transform:f,pick:d,immediate:h,getCachedData:g,deep:b,watch:p===!1?[]:[_,o,...p||[]]};let v;return km(a,()=>(v?.abort?.(),v=typeof AbortController<"u"?new AbortController:{},(r.$fetch||globalThis.$fetch)(o.value,{signal:v.signal,..._})),y)}function H2(e,t,n){return Math.min(n,Math.max(t,e))}const MP="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function DP(e=16,t=MP){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function Rg(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function $g(){return vt("getServerPages",()=>Pe.getServerPages())}function FP(){return vt("getServerRoutes",()=>Pe.getServerRoutes())}function U2(){return vt("getServerHooks",()=>Pe.getServerHooks())}function V2(){return vt("getServerLayouts",()=>Pe.getServerLayouts())}function W2(){return vt("getAutoImports",()=>Pe.getAutoImports())}function G2(){return vt("getStaticAssets",()=>Pe.getStaticAssets())}function BP(){return vt("getServerConfig",()=>Pe.getServerConfig())}function q2(){return vt("getServerRuntimeConfig",()=>Pe.getServerRuntimeConfig())}function K2(){return vt("getModuleOptions",()=>Pe.getModuleOptions())}function X2(){return vt("getServerApp",()=>Pe.getServerApp())}function jP(){return vt("getCustomTabs",()=>Pe.getCustomTabs())}function zd(){return vt("getTerminals",()=>Pe.getTerminals())}function Y2(){return vt("getAnalyzeBuildInfo",()=>Pe.getAnalyzeBuildInfo())}function zP(){const{data:e}=LP("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function J2(){const e=$g(),t=Cg();return de(()=>(t.value?.getRoutes()||[]).map(n=>Rg(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const Fs={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=FP();return()=>e.value?.length}},Bs={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},js={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=zd();return()=>!!e.value?.length},badge(){const e=zd();return()=>e.value?.filter(t=>!t.isTerminated).length}},zs={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},Hs={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Us={layout:"full"},Hd=[{name:ws?.name??"__blank",path:ws?.path??"/__blank",meta:ws||{},alias:ws?.alias||[],redirect:ws?.redirect||void 0,component:()=>we(()=>import("./__blank.95ba7574.js"),[],import.meta.url).then(e=>e.default||e)},{name:Ss?.name??"index",path:Ss?.path??"/",meta:Ss||{},alias:Ss?.alias||[],redirect:Ss?.redirect||void 0,component:()=>we(()=>import("./index.05d4e5a2.js"),["./index.05d4e5a2.js","./NLink.vue.e913f358.js","./NCheckbox.vue.23790c32.js"],import.meta.url).then(e=>e.default||e)},{name:Ts?.name??"modules-analyze-build",path:Ts?.path??"/modules/analyze-build",meta:Ts||{},alias:Ts?.alias||[],redirect:Ts?.redirect||void 0,component:()=>we(()=>import("./analyze-build.5b09c13b.js"),["./analyze-build.5b09c13b.js","./FilepathItem.vue.6cdabcd4.js","./NTip.vue.51a4b91d.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.23790c32.js","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Cs?.name??"modules-assets",path:Cs?.path??"/modules/assets",meta:Cs||{},alias:Cs?.alias||[],redirect:Cs?.redirect||void 0,component:()=>we(()=>import("./assets.f0ad2218.js"),["./assets.f0ad2218.js","./NCheckbox.vue.23790c32.js","./NDropdown.vue.54157271.js","./NNavbar.vue.c506a970.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./FilepathItem.vue.6cdabcd4.js","./storage-options.035e7403.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./NDrawer.vue.15b4d748.js","./constants.2cc6e981.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:ks?.name??"modules-components",path:ks?.path??"/modules/components",meta:ks||{},alias:ks?.alias||[],redirect:ks?.redirect||void 0,component:()=>we(()=>import("./components.dcc368d1.js"),["./components.dcc368d1.js","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css","./state-components.ca15f9b7.js","./NCheckbox.vue.23790c32.js","./NNavbar.vue.c506a970.js","./NBadge.681f2fb6.js","./FilepathItem.vue.6cdabcd4.js","./NDrawer.vue.15b4d748.js","./NSelectTabs.vue.9bf6517b.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./constants.2cc6e981.js"],import.meta.url).then(e=>e.default||e)},{name:Ps?.name??"modules-custom-name",path:Ps?.path??"/modules/custom-:name()",meta:Ps||{},alias:Ps?.alias||[],redirect:Ps?.redirect||void 0,component:()=>we(()=>import("./custom-_name_.129bf0b8.js"),["./custom-_name_.129bf0b8.js","./LaunchPage.vue.06fcb257.js","./NMarkdown.vue.20899182.js","./client.b2473ec3.js"],import.meta.url).then(e=>e.default||e)},{name:As?.name??"modules-hooks",path:As?.path??"/modules/hooks",meta:As||{},alias:As?.alias||[],redirect:As?.redirect||void 0,component:()=>we(()=>import("./hooks.f1018405.js"),["./hooks.f1018405.js","./DurationDisplay.vue.7b02ae9f.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Rs?.name??"modules-imports",path:Rs?.path??"/modules/imports",meta:Rs||{},alias:Rs?.alias||[],redirect:Rs?.redirect||void 0,component:()=>we(()=>import("./imports.dda10442.js"),["./imports.dda10442.js","./NSelectTabs.vue.9bf6517b.js","./NNavbar.vue.c506a970.js","./FilepathItem.vue.6cdabcd4.js","./ComposableItem.vue.5fcac467.js","./NMarkdown.vue.20899182.js","./client.b2473ec3.js","./constants.2cc6e981.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:$s?.name??"modules-modules",path:$s?.path??"/modules/modules",meta:$s||{},alias:$s?.alias||[],redirect:$s?.redirect||void 0,component:()=>we(()=>import("./modules.25c79d85.js"),["./modules.25c79d85.js","./FilepathItem.vue.6cdabcd4.js","./state-modules.c1654bb7.js","./NBadge.681f2fb6.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.23790c32.js","./NTip.vue.51a4b91d.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./NDropdown.vue.54157271.js","./NNavbar.vue.c506a970.js","./NLink.vue.e913f358.js","./CodeDiff.vue.72250861.js","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ns?.name??"modules-open-graph",path:Ns?.path??"/modules/open-graph",meta:Ns||{},alias:Ns?.alias||[],redirect:Ns?.redirect||void 0,component:()=>we(()=>import("./open-graph.4871f819.js"),["./open-graph.4871f819.js","./NNavbar.vue.c506a970.js","./NLink.vue.e913f358.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css","./open-graph.484b1a77.css"],import.meta.url).then(e=>e.default||e)},{name:Os?.name??"modules-overview",path:Os?.path??"/modules/overview",meta:Os||{},alias:Os?.alias||[],redirect:Os?.redirect||void 0,component:()=>we(()=>import("./overview.a8b5c91e.js"),["./overview.a8b5c91e.js","./state-modules.c1654bb7.js","./NBadge.681f2fb6.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.23790c32.js","./NTip.vue.51a4b91d.js","./state-components.ca15f9b7.js"],import.meta.url).then(e=>e.default||e)},{name:Is?.name??"modules-pages",path:Is?.path??"/modules/pages",meta:Is||{},alias:Is?.alias||[],redirect:Is?.redirect||void 0,component:()=>we(()=>import("./pages.b6c85de5.js"),["./pages.b6c85de5.js","./NBadge.681f2fb6.js","./FilepathItem.vue.6cdabcd4.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./LaunchPage.vue.06fcb257.js","./NMarkdown.vue.20899182.js","./client.b2473ec3.js","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ls?.name??"modules-payload",path:Ls?.path??"/modules/payload",meta:Ls||{},alias:Ls?.alias||[],redirect:Ls?.redirect||void 0,component:()=>we(()=>import("./payload.5d97df2d.js"),["./payload.5d97df2d.js","./StateEditor.vue.420289e1.js","./DataSchemaButton.vue.b4fc42f9.js","./json-editor-vue.b5b3ad21.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ms?.name??"modules-plugins",path:Ms?.path??"/modules/plugins",meta:Ms||{},alias:Ms?.alias||[],redirect:Ms?.redirect||void 0,component:()=>we(()=>import("./plugins.f3bd0c25.js"),["./plugins.f3bd0c25.js","./FilepathItem.vue.6cdabcd4.js","./NBadge.681f2fb6.js","./DurationDisplay.vue.7b02ae9f.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ds?.name??"modules-runtime-configs",path:Ds?.path??"/modules/runtime-configs",meta:Ds||{},alias:Ds?.alias||[],redirect:Ds?.redirect||void 0,component:()=>we(()=>import("./runtime-configs.92408de9.js"),["./runtime-configs.92408de9.js","./StateEditor.vue.420289e1.js","./DataSchemaButton.vue.b4fc42f9.js","./json-editor-vue.b5b3ad21.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Fs?.name??"modules-server-routes",path:Fs?.path??"/modules/server-routes",meta:Fs||{},alias:Fs?.alias||[],redirect:Fs?.redirect||void 0,component:()=>we(()=>import("./server-routes.90d653e7.js"),["./server-routes.90d653e7.js","./NNavbar.vue.c506a970.js","./NBadge.681f2fb6.js","./NSelect.vue.9e5ebac9.js","./NCheckbox.vue.23790c32.js","./storage-options.035e7403.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.b4fc42f9.js","./constants.2cc6e981.js","./json-editor-vue.b5b3ad21.js","./NSectionBlock.d66bb8c4.js","./NIconTitle.vue.2d1e44fb.js","./NSectionBlock.0d0061ef.css","./NDrawer.vue.15b4d748.js"],import.meta.url).then(e=>e.default||e)},{name:Bs?.name??"modules-storage",path:Bs?.path??"/modules/storage",meta:Bs||{},alias:Bs?.alias||[],redirect:Bs?.redirect||void 0,component:()=>we(()=>import("./storage.c7339fe7.js"),["./storage.c7339fe7.js","./NSelect.vue.9e5ebac9.js","./NLink.vue.e913f358.js","./FilepathItem.vue.6cdabcd4.js","./json-editor-vue.b5b3ad21.js"],import.meta.url).then(e=>e.default||e)},{name:js?.name??"modules-terminals",path:js?.path??"/modules/terminals",meta:js||{},alias:js?.alias||[],redirect:js?.redirect||void 0,component:()=>we(()=>import("./terminals.41bf8c60.js"),["./terminals.41bf8c60.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:zs?.name??"modules-timeline",path:zs?.path??"/modules/timeline",meta:zs||{},alias:zs?.alias||[],redirect:zs?.redirect||void 0,component:()=>we(()=>import("./timeline.ed636d87.js"),["./timeline.ed636d87.js","./DurationDisplay.vue.7b02ae9f.js","./NBadge.681f2fb6.js","./ComposableItem.vue.5fcac467.js","./NMarkdown.vue.20899182.js","./client.b2473ec3.js","./FilepathItem.vue.6cdabcd4.js","./constants.2cc6e981.js","./json-editor-vue.b5b3ad21.js","./NDrawer.vue.15b4d748.js","./LaunchPage.vue.06fcb257.js","./NLink.vue.e913f358.js","./CodeDiff.vue.72250861.js","./NCodeBlock.vue.7cb5f01d.js","./NCodeBlock.6994516c.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css","./timeline.1ad3a70f.css"],import.meta.url).then(e=>e.default||e)},{name:Hs?.name??"modules-virtual-files",path:Hs?.path??"/modules/virtual-files",meta:Hs||{},alias:Hs?.alias||[],redirect:Hs?.redirect||void 0,component:()=>we(()=>import("./virtual-files.7d0bcad0.js"),["./virtual-files.7d0bcad0.js","./NNavbar.vue.c506a970.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./HelpFab.vue.31b87f2a.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Us?.name??"settings",path:Us?.path??"/settings",meta:Us||{},alias:Us?.alias||[],redirect:Us?.redirect||void 0,component:()=>we(()=>import("./settings.9790bb1a.js"),["./settings.9790bb1a.js","./NIconTitle.vue.2d1e44fb.js","./NSwitch.vue.2e265fe1.js","./NSelect.vue.9e5ebac9.js","./NCheckbox.vue.23790c32.js","./NLink.vue.e913f358.js"],import.meta.url).then(e=>e.default||e)}],Ng=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Je(e,t,n):n.default?.()});function Ud(e){const t=e?.meta.key??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Og(e,t){return e===t?!1:Ud(e)!==Ud(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const HP={scrollBehavior(e,t,n){const r=Me(),s=ot().options?.scrollBehaviorType??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Og(e,t)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Vd(e.hash),behavior:s}}const a=c=>!!(c.meta.pageTransition??Ll),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await kt(),e.hash&&(o={el:e.hash,top:Vd(e.hash),behavior:s}),c(o)})})}};function Vd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const UP={hashMode:!1,scrollBehaviorType:"auto"},kn={...UP,...HP},VP=async e=>{let t,n;if(!e.meta?.validate)return;const r=Me(),s=ot();if(([t,n]=yo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=aa({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>Or(i)),window.history.pushState({},"",e.fullPath)});return!1}})},WP=ps("nuxt-devtools-first-visit",!0),GP=Dm(),ql=de(()=>GP.width.value>1080),Ln=ps("nuxt-devtools-split-screen",!1),Ig=ps("nuxt-devtools-split-screen-view","overview");ps("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});ps("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const uu=K(await Pe.getOptions("ui")),qP=hS(uu);Be(uu,async e=>{Pe.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(uu.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Tr(){return qP}const Mi=K(await Pe.getOptions("behavior").then(e=>e.telemetry));Be(Mi,async e=>{await Pe.updateOptions("behavior",{telemetry:e})});function _a(e,t,n=!1){Mi.value!==!1&&Pe.telemetryEvent({event:e,browser:Zt.browser.name,browserVersion:Zt.browser.version,os:Zt.os.name,osVersion:Zt.os.version,deviceType:Zt.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const KP=e=>{if(e.path==="/"&&!(WP.value||Mi.value==null))return Il("/modules/overview");if(e.path!=="/"&&Mi.value==null)return Il("/")},XP=async e=>{let t,n;const r=([t,n]=yo(()=>dm(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},hi=[VP,KP,XP],Kl={};function YP(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),ff(u,"")}const a=ff(r,e),l=!n||Mb(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+o}const JP=It({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=oa().app.baseURL;kn.hashMode&&!r.includes("#")&&(r+="#");const s=kn.history?.(r)??(kn.hashMode?a1(r):vm(r)),o=kn.routes?.(Hd)??Hd;let i;const a=YP(r,window.location,e.payload.path),l=V1({...kn,scrollBehavior:(g,b,S)=>{if(b===Xt){i=S;return}return l.options.scrollBehavior=kn.scrollBehavior,kn.scrollBehavior?.(g,Xt,i||S)},history:s,routes:o});e.vueApp.use(l);const c=Ht(l.currentRoute.value);l.afterEach((g,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Ht(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((g,b)=>{g.matched[0]?.components?.default===b.matched[0]?.components?.default&&f()});const d={};for(const g in u.value)Object.defineProperty(d,g,{get:()=>u.value[g]});e._route=is(d),e._middleware=e._middleware||{global:[],named:{}};const p=ia();try{[t,n]=yo(()=>l.isReady()),await t,n()}catch(g){[t,n]=yo(()=>e.runWithContext(()=>Or(g))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(g,b)=>{g.meta=gt(g.meta),e.isHydrating&&h&&!gr(g.meta.layout)&&(g.meta.layout=h),e._processingMiddleware=!0;{const S=new Set([...hi,...e._middleware.global]);for(const _ of g.matched){const y=_.meta.middleware;if(y)if(Array.isArray(y))for(const v of y)S.add(v);else S.add(y)}for(const _ of S){const y=typeof _=="string"?e._middleware.named[_]||await Kl[_]?.().then(E=>E.default||E):_;if(!y)throw new Error(`Unknown route middleware: '${_}'.`);const v=await e.runWithContext(()=>y(g,b));if(!e.payload.serverRendered&&e.isHydrating&&(v===!1||v instanceof Error)){const E=v||Nl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Or(E)),!1}if(v!==!0&&(v||v===!1))return v}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(g,b,S)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ew),g.matched.length===0&&await e.runWithContext(()=>Or(Nl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${g.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=kn.scrollBehavior}catch(g){await e.runWithContext(()=>Or(g))}}),{provide:{router:l}}}}),ZP=It({name:"nuxt:payload",setup(e){ot().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ef(t.path);r&&Object.assign(e.static.data,r.data)}),Gc(()=>{e.hooks.hook("link:prefetch",async t=>{Po(t).protocol||await Ef(t)}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(la,1e3)})}}),QP=It({name:"nuxt:global-components"}),ur={default:()=>we(()=>import("./default.b857d80c.js"),[],import.meta.url).then(e=>e.default||e),full:()=>we(()=>import("./full.169e4977.js"),[],import.meta.url).then(e=>e.default||e),none:()=>we(()=>import("./none.cebdb11e.js"),[],import.meta.url).then(e=>e.default||e)},eA=It({name:"nuxt:prefetch",setup(e){const t=ot();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ur[r]=="function"&&await ur[r]()})}),e.hooks.hook("link:prefetch",n=>{if(cs(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof Kl[i]=="function"&&Kl[i]();s&&typeof ur[s]=="function"&&ur[s]()})}}),tA="__NUXT_COLOR_MODE__",nA="ColorScheme",rA="nuxt-color-mode",ln=window[tA],sA=It(e=>{const t=ds("color-mode",()=>gt({preference:ln.preference,value:ln.value,unknown:!1,forced:!1})).value;ot().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?ln.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=ln.getColorScheme())}))}Be(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=ln.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(rA,s))},{immediate:!0}),Be(()=>t.value,(s,o)=>{ln.removeColorScheme(o),ln.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=ln.preference,t.value=ln.value,t.unknown=!1)}),e.provide("colorMode",t)});const oA=It(()=>{});function iA(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ai(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Me().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const aA=It({name:"nuxt:chunk-reload",setup(e){const t=ot(),n=oa(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:us(n.app.baseURL,o.fullPath);iA({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),lA=It(e=>{let t;async function n(){const r=await la();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const s=await $fetch(jc("builds/latest.json"));s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}Gc(()=>{t=setTimeout(n,1e3*60*60)})}),cA=["top","right","bottom","left"],Wd=["start","end"],Gd=cA.reduce((e,t)=>e.concat(t,t+"-"+Wd[0],t+"-"+Wd[1]),[]),wo=Math.min,tr=Math.max,uA={left:"right",right:"left",bottom:"top",top:"bottom"},fA={start:"end",end:"start"};function Xl(e,t,n){return tr(e,wo(t,n))}function Cr(e,t){return typeof e=="function"?e(t):e}function sn(e){return e.split("-")[0]}function zt(e){return e.split("-")[1]}function Lg(e){return e==="x"?"y":"x"}function fu(e){return e==="y"?"height":"width"}function No(e){return["top","bottom"].includes(sn(e))?"y":"x"}function du(e){return Lg(No(e))}function Mg(e,t,n){n===void 0&&(n=!1);const r=zt(e),s=du(e),o=fu(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Fi(i)),[i,Fi(i)]}function dA(e){const t=Fi(e);return[Di(e),t,Di(t)]}function Di(e){return e.replace(/start|end/g,t=>fA[t])}function hA(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function pA(e,t,n,r){const s=zt(e);let o=hA(sn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Di)))),o}function Fi(e){return e.replace(/left|right|bottom|top/g,t=>uA[t])}function mA(e){return{top:0,right:0,bottom:0,left:0,...e}}function Dg(e){return typeof e!="number"?mA(e):{top:e,right:e,bottom:e,left:e}}function ro(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function qd(e,t,n){let{reference:r,floating:s}=e;const o=No(t),i=du(t),a=fu(i),l=sn(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,d=r[a]/2-s[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-s.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(zt(t)){case"start":p[i]-=d*(n&&c?-1:1);break;case"end":p[i]+=d*(n&&c?-1:1);break}return p}const gA=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=qd(c,r,l),d=r,p={},h=0;for(let g=0;g<a.length;g++){const{name:b,fn:S}=a[g],{x:_,y,data:v,reset:E}=await S({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});if(u=_??u,f=y??f,p={...p,[b]:{...p[b],...v}},E&&h<=50){h++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):E.rects),{x:u,y:f}=qd(c,d,l)),g=-1;continue}}return{x:u,y:f,placement:d,strategy:s,middlewareData:p}};async function ba(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Cr(t,e),h=Dg(p),b=a[d?f==="floating"?"reference":"floating":f],S=ro(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(b)))==null||n?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),_=f==="floating"?{...i.floating,x:r,y:s}:i.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),v=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},E=ro(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:l}):_);return{top:(S.top-E.top+h.top)/v.y,bottom:(E.bottom-S.bottom+h.bottom)/v.y,left:(S.left-E.left+h.left)/v.x,right:(E.right-S.right+h.right)/v.x}}const vA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a}=t,{element:l,padding:c=0}=Cr(e,t)||{};if(l==null)return{};const u=Dg(c),f={x:n,y:r},d=du(s),p=fu(d),h=await i.getDimensions(l),g=d==="y",b=g?"top":"left",S=g?"bottom":"right",_=g?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[d]-f[d]-o.floating[p],v=f[d]-o.reference[d],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let m=E?E[_]:0;(!m||!await(i.isElement==null?void 0:i.isElement(E)))&&(m=a.floating[_]||o.floating[p]);const k=y/2-v/2,T=m/2-h[p]/2-1,w=wo(u[b],T),C=wo(u[S],T),A=w,x=m-h[p]-C,P=m/2-h[p]/2+k,R=Xl(A,P,x),I=zt(s)!=null&&P!=R&&o.reference[p]/2-(P<A?w:C)-h[p]/2<0?P<A?A-P:x-P:0;return{[d]:f[d]-I,data:{[d]:R,centerOffset:P-R+I}}}});function yA(e,t,n){return(e?[...n.filter(s=>zt(s)===e),...n.filter(s=>zt(s)!==e)]:n.filter(s=>sn(s)===s)).filter(s=>e?zt(s)===e||(t?Di(s)!==s:!1):!0)}const _A=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Gd,autoAlignment:p=!0,...h}=Cr(e,t),g=f!==void 0||d===Gd?yA(f||null,p,d):d,b=await ba(t,h),S=((n=i.autoPlacement)==null?void 0:n.index)||0,_=g[S];if(_==null)return{};const y=Mg(_,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==_)return{reset:{placement:g[0]}};const v=[b[sn(_)],b[y[0]],b[y[1]]],E=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:_,overflows:v}],m=g[S+1];if(m)return{data:{index:S+1,overflows:E},reset:{placement:m}};const k=E.map(C=>{const A=zt(C.placement);return[C.placement,A&&u?C.overflows.slice(0,2).reduce((x,P)=>x+P,0):C.overflows[0],C.overflows]}).sort((C,A)=>C[1]-A[1]),w=((s=k.filter(C=>C[2].slice(0,zt(C[0])?2:3).every(A=>A<=0))[0])==null?void 0:s[0])||k[0][0];return w!==a?{data:{index:S+1,overflows:E},reset:{placement:w}}:{}}}},bA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:s,rects:o,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...g}=Cr(e,t),b=sn(r),S=sn(i)===i,_=await(a.isRTL==null?void 0:a.isRTL(l.floating)),y=f||(S||!h?[Fi(i)]:dA(i));!f&&p!=="none"&&y.push(...pA(i,h,p,_));const v=[i,...y],E=await ba(t,g),m=[];let k=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&m.push(E[b]),u){const A=Mg(r,o,_);m.push(E[A[0]],E[A[1]])}if(k=[...k,{placement:r,overflows:m}],!m.every(A=>A<=0)){var T,w;const A=(((T=s.flip)==null?void 0:T.index)||0)+1,x=v[A];if(x)return{data:{index:A,overflows:k},reset:{placement:x}};let P=(w=k.filter(R=>R.overflows[0]<=0).sort((R,L)=>R.overflows[1]-L.overflows[1])[0])==null?void 0:w.placement;if(!P)switch(d){case"bestFit":{var C;const R=(C=k.map(L=>[L.placement,L.overflows.filter(I=>I>0).reduce((I,F)=>I+F,0)]).sort((L,I)=>L[1]-I[1])[0])==null?void 0:C[0];R&&(P=R);break}case"initialPlacement":P=i;break}if(r!==P)return{reset:{placement:P}}}return{}}}};async function wA(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=sn(n),a=zt(n),l=No(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=Cr(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const SA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await wA(t,e);return{x:n+s.x,y:r+s.y,data:s}}}},EA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:S,y:_}=b;return{x:S,y:_}}},...l}=Cr(e,t),c={x:n,y:r},u=await ba(t,l),f=No(sn(s)),d=Lg(f);let p=c[d],h=c[f];if(o){const b=d==="y"?"top":"left",S=d==="y"?"bottom":"right",_=p+u[b],y=p-u[S];p=Xl(_,p,y)}if(i){const b=f==="y"?"top":"left",S=f==="y"?"bottom":"right",_=h+u[b],y=h-u[S];h=Xl(_,h,y)}const g=a.fn({...t,[d]:p,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},xA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:s,elements:o}=t,{apply:i=()=>{},...a}=Cr(e,t),l=await ba(t,a),c=sn(n),u=zt(n),f=No(n)==="y",{width:d,height:p}=r.floating;let h,g;c==="top"||c==="bottom"?(h=c,g=u===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(g=c,h=u==="end"?"top":"bottom");const b=p-l[h],S=d-l[g],_=!t.middlewareData.shift;let y=b,v=S;if(f){const m=d-l.left-l.right;v=u||_?wo(S,m):m}else{const m=p-l.top-l.bottom;y=u||_?wo(b,m):m}if(_&&!u){const m=tr(l.left,0),k=tr(l.right,0),T=tr(l.top,0),w=tr(l.bottom,0);f?v=d-2*(m!==0||k!==0?m+k:tr(l.left,l.right)):y=p-2*(T!==0||w!==0?T+w:tr(l.top,l.bottom))}await i({...t,availableWidth:v,availableHeight:y});const E=await s.getDimensions(o.floating);return d!==E.width||p!==E.height?{reset:{rects:!0}}:{}}}};function $t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tn(e){return $t(e).getComputedStyle(e)}const Kd=Math.min,so=Math.max,Bi=Math.round;function Fg(e){const t=tn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=Bi(n)!==s||Bi(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Gn(e){return jg(e)?(e.nodeName||"").toLowerCase():""}let ri;function Bg(){if(ri)return ri;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ri=e.brands.map(t=>t.brand+"/"+t.version).join(" "),ri):navigator.userAgent}function nn(e){return e instanceof $t(e).HTMLElement}function jn(e){return e instanceof $t(e).Element}function jg(e){return e instanceof $t(e).Node}function Xd(e){return typeof ShadowRoot>"u"?!1:e instanceof $t(e).ShadowRoot||e instanceof ShadowRoot}function wa(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=tn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function TA(e){return["table","td","th"].includes(Gn(e))}function Yl(e){const t=/firefox/i.test(Bg()),n=tn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function zg(){return!/^((?!chrome|android).)*safari/i.test(Bg())}function hu(e){return["html","body","#document"].includes(Gn(e))}function Hg(e){return jn(e)?e:e.contextElement}const Ug={x:1,y:1};function Ur(e){const t=Hg(e);if(!nn(t))return Ug;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=Fg(t);let i=(o?Bi(n.width):n.width)/r,a=(o?Bi(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function So(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Hg(e);let l=Ug;t&&(r?jn(r)&&(l=Ur(r)):l=Ur(e));const c=a?$t(a):window,u=!zg()&&n;let f=(i.left+(u&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,d=(i.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,p=i.width/l.x,h=i.height/l.y;if(a){const g=$t(a),b=r&&jn(r)?$t(r):r;let S=g.frameElement;for(;S&&r&&b!==g;){const _=Ur(S),y=S.getBoundingClientRect(),v=getComputedStyle(S);y.x+=(S.clientLeft+parseFloat(v.paddingLeft))*_.x,y.y+=(S.clientTop+parseFloat(v.paddingTop))*_.y,f*=_.x,d*=_.y,p*=_.x,h*=_.y,f+=y.x,d+=y.y,S=$t(S).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function zn(e){return((jg(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sa(e){return jn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vg(e){return So(zn(e)).left+Sa(e).scrollLeft}function Eo(e){if(Gn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xd(e)&&e.host||zn(e);return Xd(t)?t.host:t}function Wg(e){const t=Eo(e);return hu(t)?t.ownerDocument.body:nn(t)&&wa(t)?t:Wg(t)}function ji(e,t){var n;t===void 0&&(t=[]);const r=Wg(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=$t(r);return s?t.concat(o,o.visualViewport||[],wa(r)?r:[]):t.concat(r,ji(r))}function Yd(e,t,n){return t==="viewport"?ro(function(r,s){const o=$t(r),i=zn(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=zg();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):jn(t)?ro(function(r,s){const o=So(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=nn(r)?Ur(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):ro(function(r){const s=zn(r),o=Sa(r),i=r.ownerDocument.body,a=so(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=so(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+Vg(r);const u=-o.scrollTop;return tn(i).direction==="rtl"&&(c+=so(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(zn(e)))}function Jd(e){return nn(e)&&tn(e).position!=="fixed"?e.offsetParent:null}function Zd(e){const t=$t(e);let n=Jd(e);for(;n&&TA(n)&&tn(n).position==="static";)n=Jd(n);return n&&(Gn(n)==="html"||Gn(n)==="body"&&tn(n).position==="static"&&!Yl(n))?t:n||function(r){let s=Eo(r);for(;nn(s)&&!hu(s);){if(Yl(s))return s;s=Eo(s)}return null}(e)||t}function CA(e,t,n){const r=nn(t),s=zn(t),o=So(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Gn(t)!=="body"||wa(s))&&(i=Sa(t)),nn(t)){const l=So(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Vg(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const kA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=ji(c).filter(b=>jn(b)&&Gn(b)!=="body"),p=null;const h=tn(c).position==="fixed";let g=h?Eo(c):c;for(;jn(g)&&!hu(g);){const b=tn(g),S=Yl(g);(h?S||p:S||b.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=b:d=d.filter(_=>_!==g),g=Eo(g)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,u)=>{const f=Yd(t,u,s);return c.top=so(f.top,c.top),c.right=Kd(f.right,c.right),c.bottom=Kd(f.bottom,c.bottom),c.left=so(f.left,c.left),c},Yd(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=nn(n),o=zn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((Gn(n)!=="body"||wa(o))&&(i=Sa(n)),nn(n))){const c=So(n);a=Ur(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:jn,getDimensions:function(e){return nn(e)?Fg(e):e.getBoundingClientRect()},getOffsetParent:Zd,getDocumentElement:zn,getScale:Ur,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Zd,o=this.getDimensions;return{reference:CA(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>tn(e).direction==="rtl"},PA=(e,t,n)=>{const r=new Map,s={platform:kA,...n},o={...s.platform,_c:r};return gA(e,t,{...s,platform:o})};function Gg(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Gg(e[n],t[n]):e[n]=t[n])}const gn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function xo(e,t){let n=gn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=gn.themes[n.$extend]||{}:(n=null,r=gn[t]):n=null;while(n);return r}function AA(e){const t=[e];let n=gn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=gn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Qd(e){const t=[e];let n=gn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=gn.themes[n.$extend]||{}):n=null;while(n);return t}let br=!1;if(typeof window<"u"){br=!1;try{const e=Object.defineProperty({},"passive",{get(){br=!0}});window.addEventListener("test",null,e)}catch{}}let qg=!1;typeof window<"u"&&typeof navigator<"u"&&(qg=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Kg=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),eh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},th={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function nh(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function rl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Bt=[];let Qn=null;const rh={};function sh(e){let t=rh[e];return t||(t=rh[e]=[]),t}let Jl=function(){};typeof window<"u"&&(Jl=window.Element);function Ae(e){return function(t){return xo(t.theme,e)}}const sl="__floating-vue__popper",Xg=()=>Ce({name:"VPopper",provide(){return{[sl]:{parentPopper:this}}},inject:{[sl]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Ae("disabled")},positioningDisabled:{type:Boolean,default:Ae("positioningDisabled")},placement:{type:String,default:Ae("placement"),validator:e=>Kg.includes(e)},delay:{type:[String,Number,Object],default:Ae("delay")},distance:{type:[Number,String],default:Ae("distance")},skidding:{type:[Number,String],default:Ae("skidding")},triggers:{type:Array,default:Ae("triggers")},showTriggers:{type:[Array,Function],default:Ae("showTriggers")},hideTriggers:{type:[Array,Function],default:Ae("hideTriggers")},popperTriggers:{type:Array,default:Ae("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ae("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ae("popperHideTriggers")},container:{type:[String,Object,Jl,Boolean],default:Ae("container")},boundary:{type:[String,Jl],default:Ae("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ae("strategy")},autoHide:{type:[Boolean,Function],default:Ae("autoHide")},handleResize:{type:Boolean,default:Ae("handleResize")},instantMove:{type:Boolean,default:Ae("instantMove")},eagerMount:{type:Boolean,default:Ae("eagerMount")},popperClass:{type:[String,Array,Object],default:Ae("popperClass")},computeTransformOrigin:{type:Boolean,default:Ae("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ae("autoMinSize")},autoSize:{type:[Boolean,String],default:Ae("autoSize")},autoMaxSize:{type:Boolean,default:Ae("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ae("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ae("preventOverflow")},overflowPadding:{type:[Number,String],default:Ae("overflowPadding")},arrowPadding:{type:[Number,String],default:Ae("arrowPadding")},arrowOverflow:{type:Boolean,default:Ae("arrowOverflow")},flip:{type:Boolean,default:Ae("flip")},shift:{type:Boolean,default:Ae("shift")},shiftCrossAxis:{type:Boolean,default:Ae("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ae("noAutoFocus")},disposeTimeout:{type:Number,default:Ae("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[sl])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(SA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(_A({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(EA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(bA({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(vA({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(xA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await PA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Qn&&this.instantMove&&Qn.instantMove&&Qn!==this.parentPopper){Qn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Qn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await rl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ji(this.$_referenceNode),...ji(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Bt.length;n++)t=Bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Qd(this.theme))sh(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await rl(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,nh(Bt,this),Bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Qd(this.theme)){const r=sh(n);nh(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Qn===this&&(Qn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await rl(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,eh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],eh,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,th,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],th,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,br?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(oo>=e.left&&oo<=e.right&&io>=e.top&&io<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=oo-An,r=io-Rn,s=t.left+t.width/2-An+(t.top+t.height/2)-Rn+t.width+t.height,o=An+n*s,i=Rn+r*s;return si(An,Rn,o,i,t.left,t.top,t.left,t.bottom)||si(An,Rn,o,i,t.left,t.top,t.right,t.top)||si(An,Rn,o,i,t.right,t.top,t.right,t.bottom)||si(An,Rn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(qg?(document.addEventListener("touchstart",oh,br?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",$A,br?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",oh,!0),window.addEventListener("click",RA,!0)),window.addEventListener("resize",IA));function oh(e){for(let t=0;t<Bt.length;t++){const n=Bt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function RA(e){Yg(e)}function $A(e){Yg(e,!0)}function Yg(e,t=!1){const n={};for(let r=Bt.length-1;r>=0;r--){const s=Bt[r];try{const o=s.$_containsGlobalTarget=NA(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&ih(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&ih(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function NA(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function ih(e,t,n){return n.closeAllPopover||n.closePopover&&t||OA(e,n)&&!t}function OA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function IA(e){for(let t=0;t<Bt.length;t++)Bt[t].$_computePosition(e)}let An=0,Rn=0,oo=0,io=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{An=oo,Rn=io,oo=e.clientX,io=e.clientY},br?{passive:!0}:void 0);function si(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const LA={extends:Xg()},Ea=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function MA(e,t,n,r,s,o){return Q(),ye("div",{ref:"reference",class:qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[rt(e.$slots,"default",hc(na(e.slotData)))],2)}const DA=Ea(LA,[["render",MA]]);function FA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let pi;function Zl(){Zl.init||(Zl.init=!0,pi=FA()!==-1)}var xa={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Zl(),kt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pi&&this.$el.appendChild(e),e.data="about:blank",pi||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!pi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const BA=Py();Cy("data-v-b329ee4c");const jA={class:"resize-observer",tabindex:"-1"};ky();const zA=BA((e,t,n,r,s,o)=>(Q(),Te("div",jA)));xa.render=zA;xa.__scopeId="data-v-b329ee4c";xa.__file="src/components/ResizeObserver.vue";const Jg=(e="theme")=>({computed:{themeClass(){return AA(this[e])}}}),HA=Ce({name:"VPopperContent",components:{ResizeObserver:xa},mixins:[Jg()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),UA=["id","aria-hidden","tabindex","data-popper-placement"],VA={ref:"inner",class:"v-popper__inner"},WA=q("div",{class:"v-popper__arrow-outer"},null,-1),GA=q("div",{class:"v-popper__arrow-inner"},null,-1),qA=[WA,GA];function KA(e,t,n,r,s,o){const i=vn("ResizeObserver");return Q(),ye("div",{id:e.popperId,ref:"popover",class:qe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:en(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=jp(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[q("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),q("div",{class:"v-popper__wrapper",style:en(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[q("div",VA,[e.mounted?(Q(),ye(Le,{key:0},[q("div",null,[rt(e.$slots,"default")]),e.handleResize?(Q(),Te(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ge("",!0)],64)):Ge("",!0)],512),q("div",{ref:"arrow",class:"v-popper__arrow-container",style:en(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},qA,4)],4)],46,UA)}const Zg=Ea(HA,[["render",KA]]),Qg={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},XA=Ce({name:"VPopperWrapper",components:{Popper:DA,PopperContent:Zg},mixins:[Qg,Jg("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function YA(e,t,n,r,s,o){const i=vn("PopperContent"),a=vn("Popper");return Q(),Te(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:qe([e.themeClass])},{default:me(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:g,onResize:b,classes:S,result:_})=>[rt(e.$slots,"default",{shown:c,show:p,hide:h}),Z(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:S,result:_,onHide:h,onResize:b},{default:me(()=>[rt(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const pu=Ea(XA,[["render",YA]]),JA={...pu,name:"VDropdown",vPopperTheme:"dropdown"},ZA={...pu,name:"VMenu",vPopperTheme:"menu"},QA={...pu,name:"VTooltip",vPopperTheme:"tooltip"},eR=Ce({name:"VTooltipDirective",components:{Popper:Xg(),PopperContent:Zg},mixins:[Qg],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>xo(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>xo(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tR=["innerHTML"],nR=["textContent"];function rR(e,t,n,r,s,o){const i=vn("PopperContent"),a=vn("Popper");return Q(),Te(a,Un({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:me(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:g,classes:b,result:S})=>[Z(i,{ref:"popperContent",class:qe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:b,result:S,onHide:p,onResize:g},{default:me(()=>[e.html?(Q(),ye("div",{key:0,innerHTML:e.finalContent},null,8,tR)):(Q(),ye("div",{key:1,textContent:dt(e.finalContent)},null,8,nR))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const sR=Ea(eR,[["render",rR]]),ev="v-popper--has-tooltip";function oR(e,t){let n=e.placement;if(!n&&t)for(const r of Kg)t[r]&&(n=r);return n||(n=xo(e.theme||"tooltip","placement")),n}function tv(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=oR(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ol,To,iR=0;function aR(){if(ol)return;To=K([]),ol=Hp({name:"VTooltipDirectiveApp",setup(){return{directives:To}},render(){return this.directives.map(t=>Je(sR,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ol.mount(e)}function lR(e,t,n){aR();const r=K(tv(e,t,n)),s=K(!1),o={id:iR++,options:r,shown:s};return To.value.push(o),e.classList&&e.classList.add(ev),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function nv(e){if(e.$_popper){const t=To.value.indexOf(e.$_popper.item);t!==-1&&To.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ev)}function ah(e,{value:t,modifiers:n}){const r=tv(e,t,n);if(!r.content||xo(r.theme||"tooltip","disabled"))nv(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=lR(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const cR={beforeMount:ah,updated:ah,beforeUnmount(e){nv(e)}};function lh(e){e.addEventListener("click",rv),e.addEventListener("touchstart",sv,br?{passive:!0}:!1)}function ch(e){e.removeEventListener("click",rv),e.removeEventListener("touchstart",sv),e.removeEventListener("touchend",ov),e.removeEventListener("touchcancel",iv)}function rv(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function sv(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",ov),t.addEventListener("touchcancel",iv)}}function ov(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function iv(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const uR={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&lh(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?lh(e):ch(e))},beforeUnmount(e){ch(e)}};function fR(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Gg(gn,t),e.directive("tooltip",cR),e.directive("close-popper",uR),e.component("VTooltip",QA),e.component("VDropdown",JA),e.component("VMenu",ZA))}const dR={version:"2.0.0-beta.24",install:fR,options:gn},hR=It(e=>{e.vueApp.use(dR)}),pR=It(()=>{const e=ct(),t=_P(),n=ot();function r(){qh(e)}function s(i){t.value=i}function o(i,a,l,c){const u=`./${a}:${l}:${c}`;Pe.openInEditor(u)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",r),i.hooks.hook("host:inspector:update",s),i.hooks.hook("host:inspector:click",o),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value?.path;!i||i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),mR=[zw,Uw,JP,ZP,QP,eA,sA,oA,aA,lA,hR,pR],gR=Ce({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const{progress:n,isLoading:r,start:s,finish:o,clear:i}=vR({duration:e.duration,throttle:e.throttle});{const a=Me(),l=ot();hi.unshift(s),l.onError(()=>{o()}),l.beforeResolve((f,d)=>{Og(f,d)||o()}),l.afterEach((f,d,p)=>{p&&o()});const c=a.hook("page:finish",o),u=a.hook("vue:error",o);ls(()=>{const f=hi.indexOf(s);f>=0&&hi.splice(f,1),c(),u(),i()})}return()=>Je("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:r.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.value*100}% auto`,transform:`scaleX(${n.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function vR(e){const t=K(0),n=K(!1),r=de(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,u()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(d){t.value=Math.min(100,t.value+d)}function u(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const yR=Ce({__name:"NNotification",setup(e){const t=K(!1),n=K(),r=K(),s=K(),o=K("top-center");return vE(i=>{r.value=i.message,n.value=i.icon,s.value=i.classes??"text-primary border-primary",n.value=i.icon,t.value=!0,o.value=i.position??"top-center",setTimeout(()=>{t.value=!1},i.duration??1500)}),(i,a)=>(Q(),ye("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:qe([{"pointer-events-none overflow-hidden":!t.value},{"top-0":o.value.startsWith("top")},{"bottom-0":o.value.startsWith("bottom")}])},[q("div",{flex:"",style:en({justifyContent:o.value.includes("right")?"right":o.value.includes("left")?"left":"center"})},[q("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:en(t.value?{}:{transform:`translateY(${o.value.startsWith("top")?"-":""}300%)`}),class:qe([t.value?"shadow":"shadow-none",s.value])},[n.value?(Q(),ye("div",{key:0,class:qe(n.value)},null,2)):Ge("",!0),q("div",null,dt(r.value),1)],6)],4)],2))}}),Oo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},_R={},bR={class:"n-loading n-panel-grids-center"},wR={class:"flex flex-col animate-pulse items-center text-lg"},SR=q("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function ER(e,t){return Q(),ye("div",bR,[q("div",wR,[SR,rt(e.$slots,"default",{},()=>[Oe(" Loading... ")])])])}const xR=Oo(_R,[["render",ER]]),Io=Ce({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Q(),ye("div",{class:qe(["n-icon",t.icon])},null,2))}});async function av(e,t=ot()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>av(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const TR=(...e)=>e.find(t=>t!==void 0),CR="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function kR(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?ki:Bc;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return Ce({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=ot(),i=oa(),a=de(()=>{const p=r.to||r.href||"";return n(p,o.resolve)}),l=de(()=>typeof a.value=="string"&&cs(a.value,{acceptRelative:!0})),c=de(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||l.value),u=K(!1),f=K(null),d=p=>{f.value=r.custom?p?.$el?.nextElementSibling:p?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!AR()){const h=Me();let g,b=null;Sn(()=>{const S=PR();Gc(()=>{g=Bl(()=>{f?.value?.tagName&&(b=S.observe(f.value,async()=>{b?.(),b=null;const _=typeof a.value=="string"?a.value:o.resolve(a.value).fullPath;await Promise.all([h.hooks.callHook("link:prefetch",_).catch(()=>{}),!c.value&&av(a.value,o).catch(()=>{})]),u.value=!0}))})})}),ls(()=>{g&&q1(g),b?.(),b=null})}return()=>{if(!c.value){const S={ref:d,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(S.class=r.prefetchedClass||e.prefetchedClass),S.rel=r.rel),Je(vn("RouterLink"),S,s.default)}const p=typeof a.value=="object"?o.resolve(a.value)?.href??null:a.value&&!r.external&&!l.value?n(us(i.app.baseURL,a.value),o.resolve):a.value||null,h=r.target||null,g=r.noRel?null:TR(r.rel,e.externalRelAttribute,p?CR:"")||null,b=()=>Il(p,{replace:r.replace});return r.custom?s.default?s.default({href:p,navigate:b,get route(){if(!p)return;const S=Po(p);return{path:S.pathname,fullPath:S.pathname,get query(){return Vp(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:g,target:h,isExternal:c.value,isActive:!1,isExactActive:!1}):null:Je("a",{ref:f,href:p,rel:g,target:h},s.default?.())}}})}const lv=kR(Nw);function PR(){const e=Me();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function AR(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const qn=Ce({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Io;return Q(),Te(Wr(t.to?z(lv):"button"),Un({to:t.to},{...t.$attrs,...!t.to&&{type:t.type}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:me(()=>[rt(t.$slots,"icon",{},()=>[t.icon?(Q(),Te(r,{key:0,icon:t.icon,class:qe({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ge("",!0)]),rt(t.$slots,"default")]),_:3},16,["to","class"])}}}),RR=Ce({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=K(!1);return Sn(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return ye(a,n,i)}}}),$R={name:nA,props:{placeholder:String,tag:{type:String,default:"span"}}};function NR(e,t,n,r,s,o){const i=RR;return Q(),Te(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:me(()=>[rt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const OR=Oo($R,[["render",NR]]),IR=Ce({__name:"NDarkToggle",setup(e){const t=LS(),n=de({get(){return t.value==="dark"},set(){t.value=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await kt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=OR;return Q(),Te(l,{tag:"span"},{default:me(()=>[rt(i.$slots,"default",hc(na(o)))]),_:3})}}}),LR={},MR={class:"n-card n-card-base"};function DR(e,t){return Q(),ye("div",MR,[rt(e.$slots,"default")])}const mu=Oo(LR,[["render",DR]]);/*!
19
+ `)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Ag="[native code] }",xP=Ag.length;function Bd(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-xP)===Ag}class Bn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||TP).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Bn([...this.words])}}const TP={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},CP={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},kP={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Bn(n,t)}},PP={parse(e){return kP.parse(unescape(encodeURIComponent(e)))}};class AP{constructor(){this._data=new Bn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Bn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=PP.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new Bn(n,o)}}class RP extends AP{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const jd=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],$P=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Zn=[];class NP extends RP{constructor(){super(...arguments),this._hash=new Bn([...jd])}reset(){super.reset(),this._hash=new Bn([...jd])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)Zn[d]=t[n+d]|0;else{const y=Zn[d-15],v=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,E=Zn[d-2],m=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;Zn[d]=v+Zn[d-7]+m+Zn[d-16]}const p=l&c^~l&u,h=s&o^s&i^o&i,g=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),S=f+b+p+$P[d]+Zn[d],_=g+h;f=u,u=c,c=l,l=a+S|0,a=i,i=o,o=s,s=S+_|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function OP(e){return new NP().finalize(e).toString(CP)}function IP(e,t={}){const n=typeof e=="string"?e:SP(e,t);return OP(n).slice(0,10)}function LP(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=de(()=>{let m=e;return typeof m=="function"&&(m=m()),z(m)}),i=r.key||IP([s,z(r.method)?.toUpperCase()||"GET",z(r.baseURL),typeof o.value=="string"?o.value:"",z(r.params||r.query),z(r.headers)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===s?"$f"+i:i;if(!r.baseURL&&typeof o.value=="string"&&o.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:p,immediate:h,getCachedData:g,deep:b,...S}=r,_=gt({...Iw,...S,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:l,lazy:c,default:u,transform:f,pick:d,immediate:h,getCachedData:g,deep:b,watch:p===!1?[]:[_,o,...p||[]]};let v;return km(a,()=>(v?.abort?.(),v=typeof AbortController<"u"?new AbortController:{},(r.$fetch||globalThis.$fetch)(o.value,{signal:v.signal,..._})),y)}function H2(e,t,n){return Math.min(n,Math.max(t,e))}const MP="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function DP(e=16,t=MP){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function Rg(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function $g(){return vt("getServerPages",()=>Pe.getServerPages())}function FP(){return vt("getServerRoutes",()=>Pe.getServerRoutes())}function U2(){return vt("getServerHooks",()=>Pe.getServerHooks())}function V2(){return vt("getServerLayouts",()=>Pe.getServerLayouts())}function W2(){return vt("getAutoImports",()=>Pe.getAutoImports())}function G2(){return vt("getStaticAssets",()=>Pe.getStaticAssets())}function BP(){return vt("getServerConfig",()=>Pe.getServerConfig())}function q2(){return vt("getServerRuntimeConfig",()=>Pe.getServerRuntimeConfig())}function K2(){return vt("getModuleOptions",()=>Pe.getModuleOptions())}function X2(){return vt("getServerApp",()=>Pe.getServerApp())}function jP(){return vt("getCustomTabs",()=>Pe.getCustomTabs())}function zd(){return vt("getTerminals",()=>Pe.getTerminals())}function Y2(){return vt("getAnalyzeBuildInfo",()=>Pe.getAnalyzeBuildInfo())}function zP(){const{data:e}=LP("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function J2(){const e=$g(),t=Cg();return de(()=>(t.value?.getRoutes()||[]).map(n=>Rg(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const Bs={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=FP();return()=>e.value?.length}},js={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},zs={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=zd();return()=>!!e.value?.length},badge(){const e=zd();return()=>e.value?.filter(t=>!t.isTerminated).length}},Hs={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},Us={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Vs={layout:"full"},Hd=[{name:Ss?.name??"__blank",path:Ss?.path??"/__blank",meta:Ss||{},alias:Ss?.alias||[],redirect:Ss?.redirect||void 0,component:()=>we(()=>import("./__blank.961dc152.js"),[],import.meta.url).then(e=>e.default||e)},{name:Es?.name??"index",path:Es?.path??"/",meta:Es||{},alias:Es?.alias||[],redirect:Es?.redirect||void 0,component:()=>we(()=>import("./index.07112662.js"),["./index.07112662.js","./NLink.vue.353afc82.js","./NCheckbox.vue.a65a9466.js"],import.meta.url).then(e=>e.default||e)},{name:Cs?.name??"modules-analyze-build",path:Cs?.path??"/modules/analyze-build",meta:Cs||{},alias:Cs?.alias||[],redirect:Cs?.redirect||void 0,component:()=>we(()=>import("./analyze-build.29ca822b.js"),["./analyze-build.29ca822b.js","./FilepathItem.vue.feb8a13c.js","./NTip.vue.fbfe6de9.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.a65a9466.js","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ks?.name??"modules-assets",path:ks?.path??"/modules/assets",meta:ks||{},alias:ks?.alias||[],redirect:ks?.redirect||void 0,component:()=>we(()=>import("./assets.5182b2b7.js"),["./assets.5182b2b7.js","./NCheckbox.vue.a65a9466.js","./NDropdown.vue.32f13066.js","./NNavbar.vue.29f03776.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./FilepathItem.vue.feb8a13c.js","./storage-options.5fca38da.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./NDrawer.vue.4bcebe5d.js","./constants.2cc6e981.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:Ps?.name??"modules-components",path:Ps?.path??"/modules/components",meta:Ps||{},alias:Ps?.alias||[],redirect:Ps?.redirect||void 0,component:()=>we(()=>import("./components.3821affe.js"),["./components.3821affe.js","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css","./state-components.9496e3b2.js","./NCheckbox.vue.a65a9466.js","./NNavbar.vue.29f03776.js","./NBadge.b912de36.js","./FilepathItem.vue.feb8a13c.js","./NDrawer.vue.4bcebe5d.js","./NSelectTabs.vue.f4ae464e.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./constants.2cc6e981.js"],import.meta.url).then(e=>e.default||e)},{name:As?.name??"modules-custom-name",path:As?.path??"/modules/custom-:name()",meta:As||{},alias:As?.alias||[],redirect:As?.redirect||void 0,component:()=>we(()=>import("./custom-_name_.45e0e481.js"),["./custom-_name_.45e0e481.js","./LaunchPage.vue.68d99ad2.js","./NMarkdown.vue.4e215b1f.js","./client.4841a079.js"],import.meta.url).then(e=>e.default||e)},{name:Rs?.name??"modules-hooks",path:Rs?.path??"/modules/hooks",meta:Rs||{},alias:Rs?.alias||[],redirect:Rs?.redirect||void 0,component:()=>we(()=>import("./hooks.ad652487.js"),["./hooks.ad652487.js","./DurationDisplay.vue.e7d2f90b.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:$s?.name??"modules-imports",path:$s?.path??"/modules/imports",meta:$s||{},alias:$s?.alias||[],redirect:$s?.redirect||void 0,component:()=>we(()=>import("./imports.779c7207.js"),["./imports.779c7207.js","./NSelectTabs.vue.f4ae464e.js","./NNavbar.vue.29f03776.js","./FilepathItem.vue.feb8a13c.js","./ComposableItem.vue.09c56ec4.js","./NMarkdown.vue.4e215b1f.js","./client.4841a079.js","./constants.2cc6e981.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ns?.name??"modules-modules",path:Ns?.path??"/modules/modules",meta:Ns||{},alias:Ns?.alias||[],redirect:Ns?.redirect||void 0,component:()=>we(()=>import("./modules.53d23733.js"),["./modules.53d23733.js","./FilepathItem.vue.feb8a13c.js","./state-modules.3599ee72.js","./NBadge.b912de36.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.a65a9466.js","./NTip.vue.fbfe6de9.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./NDropdown.vue.32f13066.js","./NNavbar.vue.29f03776.js","./NLink.vue.353afc82.js","./CodeDiff.vue.495a2700.js","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Os?.name??"modules-open-graph",path:Os?.path??"/modules/open-graph",meta:Os||{},alias:Os?.alias||[],redirect:Os?.redirect||void 0,component:()=>we(()=>import("./open-graph.545307be.js"),["./open-graph.545307be.js","./NNavbar.vue.29f03776.js","./NLink.vue.353afc82.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css","./open-graph.484b1a77.css"],import.meta.url).then(e=>e.default||e)},{name:Is?.name??"modules-overview",path:Is?.path??"/modules/overview",meta:Is||{},alias:Is?.alias||[],redirect:Is?.redirect||void 0,component:()=>we(()=>import("./overview.60692331.js"),["./overview.60692331.js","./state-modules.3599ee72.js","./NBadge.b912de36.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./NCheckbox.vue.a65a9466.js","./NTip.vue.fbfe6de9.js","./state-components.9496e3b2.js"],import.meta.url).then(e=>e.default||e)},{name:Ls?.name??"modules-pages",path:Ls?.path??"/modules/pages",meta:Ls||{},alias:Ls?.alias||[],redirect:Ls?.redirect||void 0,component:()=>we(()=>import("./pages.065c5174.js"),["./pages.065c5174.js","./NBadge.b912de36.js","./FilepathItem.vue.feb8a13c.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./LaunchPage.vue.68d99ad2.js","./NMarkdown.vue.4e215b1f.js","./client.4841a079.js","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ms?.name??"modules-payload",path:Ms?.path??"/modules/payload",meta:Ms||{},alias:Ms?.alias||[],redirect:Ms?.redirect||void 0,component:()=>we(()=>import("./payload.f3ad6ba9.js"),["./payload.f3ad6ba9.js","./StateEditor.vue.9d7dcb3f.js","./DataSchemaButton.vue.058ff215.js","./json-editor-vue.b1851782.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Ds?.name??"modules-plugins",path:Ds?.path??"/modules/plugins",meta:Ds||{},alias:Ds?.alias||[],redirect:Ds?.redirect||void 0,component:()=>we(()=>import("./plugins.97361fa6.js"),["./plugins.97361fa6.js","./FilepathItem.vue.feb8a13c.js","./NBadge.b912de36.js","./DurationDisplay.vue.e7d2f90b.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Fs?.name??"modules-runtime-configs",path:Fs?.path??"/modules/runtime-configs",meta:Fs||{},alias:Fs?.alias||[],redirect:Fs?.redirect||void 0,component:()=>we(()=>import("./runtime-configs.04157e18.js"),["./runtime-configs.04157e18.js","./StateEditor.vue.9d7dcb3f.js","./DataSchemaButton.vue.058ff215.js","./json-editor-vue.b1851782.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Bs?.name??"modules-server-routes",path:Bs?.path??"/modules/server-routes",meta:Bs||{},alias:Bs?.alias||[],redirect:Bs?.redirect||void 0,component:()=>we(()=>import("./server-routes.631067b9.js"),["./server-routes.631067b9.js","./NNavbar.vue.29f03776.js","./NBadge.b912de36.js","./NSelect.vue.d4b5d548.js","./NCheckbox.vue.a65a9466.js","./storage-options.5fca38da.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./DataSchemaButton.vue.058ff215.js","./constants.2cc6e981.js","./json-editor-vue.b1851782.js","./NSectionBlock.56f7fa97.js","./NIconTitle.vue.dcd70230.js","./NSectionBlock.0d0061ef.css","./NDrawer.vue.4bcebe5d.js"],import.meta.url).then(e=>e.default||e)},{name:js?.name??"modules-storage",path:js?.path??"/modules/storage",meta:js||{},alias:js?.alias||[],redirect:js?.redirect||void 0,component:()=>we(()=>import("./storage.be53a14a.js"),["./storage.be53a14a.js","./NSelect.vue.d4b5d548.js","./NLink.vue.353afc82.js","./FilepathItem.vue.feb8a13c.js","./json-editor-vue.b1851782.js"],import.meta.url).then(e=>e.default||e)},{name:zs?.name??"modules-terminals",path:zs?.path??"/modules/terminals",meta:zs||{},alias:zs?.alias||[],redirect:zs?.redirect||void 0,component:()=>we(()=>import("./terminals.ad730beb.js"),["./terminals.ad730beb.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:Hs?.name??"modules-timeline",path:Hs?.path??"/modules/timeline",meta:Hs||{},alias:Hs?.alias||[],redirect:Hs?.redirect||void 0,component:()=>we(()=>import("./timeline.b8cc1d67.js"),["./timeline.b8cc1d67.js","./DurationDisplay.vue.e7d2f90b.js","./NBadge.b912de36.js","./ComposableItem.vue.09c56ec4.js","./NMarkdown.vue.4e215b1f.js","./client.4841a079.js","./FilepathItem.vue.feb8a13c.js","./constants.2cc6e981.js","./json-editor-vue.b1851782.js","./NDrawer.vue.4bcebe5d.js","./LaunchPage.vue.68d99ad2.js","./NLink.vue.353afc82.js","./CodeDiff.vue.495a2700.js","./NCodeBlock.vue.c114d969.js","./NCodeBlock.6994516c.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css","./timeline.1ad3a70f.css"],import.meta.url).then(e=>e.default||e)},{name:Us?.name??"modules-virtual-files",path:Us?.path??"/modules/virtual-files",meta:Us||{},alias:Us?.alias||[],redirect:Us?.redirect||void 0,component:()=>we(()=>import("./virtual-files.7fd05201.js"),["./virtual-files.7fd05201.js","./NNavbar.vue.29f03776.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./HelpFab.vue.70bfd8f0.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Vs?.name??"settings",path:Vs?.path??"/settings",meta:Vs||{},alias:Vs?.alias||[],redirect:Vs?.redirect||void 0,component:()=>we(()=>import("./settings.72bdb2b5.js"),["./settings.72bdb2b5.js","./NIconTitle.vue.dcd70230.js","./NSwitch.vue.95382b67.js","./NSelect.vue.d4b5d548.js","./NCheckbox.vue.a65a9466.js","./NLink.vue.353afc82.js"],import.meta.url).then(e=>e.default||e)}],Ng=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Je(e,t,n):n.default?.()});function Ud(e){const t=e?.meta.key??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Og(e,t){return e===t?!1:Ud(e)!==Ud(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const HP={scrollBehavior(e,t,n){const r=Me(),s=ot().options?.scrollBehaviorType??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&Og(e,t)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Vd(e.hash),behavior:s}}const a=c=>!!(c.meta.pageTransition??Ll),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await kt(),e.hash&&(o={el:e.hash,top:Vd(e.hash),behavior:s}),c(o)})})}};function Vd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const UP={hashMode:!1,scrollBehaviorType:"auto"},kn={...UP,...HP},VP=async e=>{let t,n;if(!e.meta?.validate)return;const r=Me(),s=ot();if(([t,n]=_o(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=aa({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>Ir(i)),window.history.pushState({},"",e.fullPath)});return!1}})},WP=ms("nuxt-devtools-first-visit",!0),GP=Dm(),ql=de(()=>GP.width.value>1080),Ln=ms("nuxt-devtools-split-screen",!1),Ig=ms("nuxt-devtools-split-screen-view","overview");ms("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});ms("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const uu=K(await Pe.getOptions("ui")),qP=hS(uu);Be(uu,async e=>{Pe.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(uu.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Tr(){return qP}const Mi=K(await Pe.getOptions("behavior").then(e=>e.telemetry));Be(Mi,async e=>{await Pe.updateOptions("behavior",{telemetry:e})});function _a(e,t,n=!1){Mi.value!==!1&&Pe.telemetryEvent({event:e,browser:Zt.browser.name,browserVersion:Zt.browser.version,os:Zt.os.name,osVersion:Zt.os.version,deviceType:Zt.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const KP=e=>{if(e.path==="/"&&!(WP.value||Mi.value==null))return Il("/modules/overview");if(e.path!=="/"&&Mi.value==null)return Il("/")},XP=async e=>{let t,n;const r=([t,n]=_o(()=>dm(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},hi=[VP,KP,XP],Kl={};function YP(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),ff(u,"")}const a=ff(r,e),l=!n||Mb(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+o}const JP=It({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=oa().app.baseURL;kn.hashMode&&!r.includes("#")&&(r+="#");const s=kn.history?.(r)??(kn.hashMode?a1(r):vm(r)),o=kn.routes?.(Hd)??Hd;let i;const a=YP(r,window.location,e.payload.path),l=V1({...kn,scrollBehavior:(g,b,S)=>{if(b===Xt){i=S;return}return l.options.scrollBehavior=kn.scrollBehavior,kn.scrollBehavior?.(g,Xt,i||S)},history:s,routes:o});e.vueApp.use(l);const c=Ht(l.currentRoute.value);l.afterEach((g,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Ht(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((g,b)=>{g.matched[0]?.components?.default===b.matched[0]?.components?.default&&f()});const d={};for(const g in u.value)Object.defineProperty(d,g,{get:()=>u.value[g]});e._route=as(d),e._middleware=e._middleware||{global:[],named:{}};const p=ia();try{[t,n]=_o(()=>l.isReady()),await t,n()}catch(g){[t,n]=_o(()=>e.runWithContext(()=>Ir(g))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(g,b)=>{g.meta=gt(g.meta),e.isHydrating&&h&&!gr(g.meta.layout)&&(g.meta.layout=h),e._processingMiddleware=!0;{const S=new Set([...hi,...e._middleware.global]);for(const _ of g.matched){const y=_.meta.middleware;if(y)if(Array.isArray(y))for(const v of y)S.add(v);else S.add(y)}for(const _ of S){const y=typeof _=="string"?e._middleware.named[_]||await Kl[_]?.().then(E=>E.default||E):_;if(!y)throw new Error(`Unknown route middleware: '${_}'.`);const v=await e.runWithContext(()=>y(g,b));if(!e.payload.serverRendered&&e.isHydrating&&(v===!1||v instanceof Error)){const E=v||Nl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Ir(E)),!1}if(v!==!0&&(v||v===!1))return v}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(g,b,S)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ew),g.matched.length===0&&await e.runWithContext(()=>Ir(Nl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${g.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=kn.scrollBehavior}catch(g){await e.runWithContext(()=>Ir(g))}}),{provide:{router:l}}}}),ZP=It({name:"nuxt:payload",setup(e){ot().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ef(t.path);r&&Object.assign(e.static.data,r.data)}),Gc(()=>{e.hooks.hook("link:prefetch",async t=>{Ao(t).protocol||await Ef(t)}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(la,1e3)})}}),QP=It({name:"nuxt:global-components"}),ur={default:()=>we(()=>import("./default.551695d6.js"),[],import.meta.url).then(e=>e.default||e),full:()=>we(()=>import("./full.b09bb7d2.js"),[],import.meta.url).then(e=>e.default||e),none:()=>we(()=>import("./none.48f4e2a5.js"),[],import.meta.url).then(e=>e.default||e)},eA=It({name:"nuxt:prefetch",setup(e){const t=ot();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ur[r]=="function"&&await ur[r]()})}),e.hooks.hook("link:prefetch",n=>{if(us(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof Kl[i]=="function"&&Kl[i]();s&&typeof ur[s]=="function"&&ur[s]()})}}),tA="__NUXT_COLOR_MODE__",nA="ColorScheme",rA="nuxt-color-mode",ln=window[tA],sA=It(e=>{const t=hs("color-mode",()=>gt({preference:ln.preference,value:ln.value,unknown:!1,forced:!1})).value;ot().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?ln.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=ln.getColorScheme())}))}Be(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=ln.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(rA,s))},{immediate:!0}),Be(()=>t.value,(s,o)=>{ln.removeColorScheme(o),ln.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=ln.preference,t.value=ln.value,t.unknown=!1)}),e.provide("colorMode",t)});const oA=It(()=>{});function iA(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ai(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Me().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const aA=It({name:"nuxt:chunk-reload",setup(e){const t=ot(),n=oa(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:fs(n.app.baseURL,o.fullPath);iA({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),lA=It(e=>{let t;async function n(){const r=await la();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const s=await $fetch(jc("builds/latest.json"));s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}Gc(()=>{t=setTimeout(n,1e3*60*60)})}),cA=["top","right","bottom","left"],Wd=["start","end"],Gd=cA.reduce((e,t)=>e.concat(t,t+"-"+Wd[0],t+"-"+Wd[1]),[]),So=Math.min,tr=Math.max,uA={left:"right",right:"left",bottom:"top",top:"bottom"},fA={start:"end",end:"start"};function Xl(e,t,n){return tr(e,So(t,n))}function Cr(e,t){return typeof e=="function"?e(t):e}function sn(e){return e.split("-")[0]}function zt(e){return e.split("-")[1]}function Lg(e){return e==="x"?"y":"x"}function fu(e){return e==="y"?"height":"width"}function Oo(e){return["top","bottom"].includes(sn(e))?"y":"x"}function du(e){return Lg(Oo(e))}function Mg(e,t,n){n===void 0&&(n=!1);const r=zt(e),s=du(e),o=fu(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Fi(i)),[i,Fi(i)]}function dA(e){const t=Fi(e);return[Di(e),t,Di(t)]}function Di(e){return e.replace(/start|end/g,t=>fA[t])}function hA(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function pA(e,t,n,r){const s=zt(e);let o=hA(sn(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Di)))),o}function Fi(e){return e.replace(/left|right|bottom|top/g,t=>uA[t])}function mA(e){return{top:0,right:0,bottom:0,left:0,...e}}function Dg(e){return typeof e!="number"?mA(e):{top:e,right:e,bottom:e,left:e}}function so(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function qd(e,t,n){let{reference:r,floating:s}=e;const o=Oo(t),i=du(t),a=fu(i),l=sn(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,d=r[a]/2-s[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-s.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(zt(t)){case"start":p[i]-=d*(n&&c?-1:1);break;case"end":p[i]+=d*(n&&c?-1:1);break}return p}const gA=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=qd(c,r,l),d=r,p={},h=0;for(let g=0;g<a.length;g++){const{name:b,fn:S}=a[g],{x:_,y,data:v,reset:E}=await S({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});if(u=_??u,f=y??f,p={...p,[b]:{...p[b],...v}},E&&h<=50){h++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):E.rects),{x:u,y:f}=qd(c,d,l)),g=-1;continue}}return{x:u,y:f,placement:d,strategy:s,middlewareData:p}};async function ba(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Cr(t,e),h=Dg(p),b=a[d?f==="floating"?"reference":"floating":f],S=so(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(b)))==null||n?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),_=f==="floating"?{...i.floating,x:r,y:s}:i.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),v=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},E=so(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:l}):_);return{top:(S.top-E.top+h.top)/v.y,bottom:(E.bottom-S.bottom+h.bottom)/v.y,left:(S.left-E.left+h.left)/v.x,right:(E.right-S.right+h.right)/v.x}}const vA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a}=t,{element:l,padding:c=0}=Cr(e,t)||{};if(l==null)return{};const u=Dg(c),f={x:n,y:r},d=du(s),p=fu(d),h=await i.getDimensions(l),g=d==="y",b=g?"top":"left",S=g?"bottom":"right",_=g?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[d]-f[d]-o.floating[p],v=f[d]-o.reference[d],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let m=E?E[_]:0;(!m||!await(i.isElement==null?void 0:i.isElement(E)))&&(m=a.floating[_]||o.floating[p]);const k=y/2-v/2,T=m/2-h[p]/2-1,w=So(u[b],T),C=So(u[S],T),A=w,x=m-h[p]-C,P=m/2-h[p]/2+k,R=Xl(A,P,x),I=zt(s)!=null&&P!=R&&o.reference[p]/2-(P<A?w:C)-h[p]/2<0?P<A?A-P:x-P:0;return{[d]:f[d]-I,data:{[d]:R,centerOffset:P-R+I}}}});function yA(e,t,n){return(e?[...n.filter(s=>zt(s)===e),...n.filter(s=>zt(s)!==e)]:n.filter(s=>sn(s)===s)).filter(s=>e?zt(s)===e||(t?Di(s)!==s:!1):!0)}const _A=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Gd,autoAlignment:p=!0,...h}=Cr(e,t),g=f!==void 0||d===Gd?yA(f||null,p,d):d,b=await ba(t,h),S=((n=i.autoPlacement)==null?void 0:n.index)||0,_=g[S];if(_==null)return{};const y=Mg(_,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==_)return{reset:{placement:g[0]}};const v=[b[sn(_)],b[y[0]],b[y[1]]],E=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:_,overflows:v}],m=g[S+1];if(m)return{data:{index:S+1,overflows:E},reset:{placement:m}};const k=E.map(C=>{const A=zt(C.placement);return[C.placement,A&&u?C.overflows.slice(0,2).reduce((x,P)=>x+P,0):C.overflows[0],C.overflows]}).sort((C,A)=>C[1]-A[1]),w=((s=k.filter(C=>C[2].slice(0,zt(C[0])?2:3).every(A=>A<=0))[0])==null?void 0:s[0])||k[0][0];return w!==a?{data:{index:S+1,overflows:E},reset:{placement:w}}:{}}}},bA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:s,rects:o,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...g}=Cr(e,t),b=sn(r),S=sn(i)===i,_=await(a.isRTL==null?void 0:a.isRTL(l.floating)),y=f||(S||!h?[Fi(i)]:dA(i));!f&&p!=="none"&&y.push(...pA(i,h,p,_));const v=[i,...y],E=await ba(t,g),m=[];let k=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&m.push(E[b]),u){const A=Mg(r,o,_);m.push(E[A[0]],E[A[1]])}if(k=[...k,{placement:r,overflows:m}],!m.every(A=>A<=0)){var T,w;const A=(((T=s.flip)==null?void 0:T.index)||0)+1,x=v[A];if(x)return{data:{index:A,overflows:k},reset:{placement:x}};let P=(w=k.filter(R=>R.overflows[0]<=0).sort((R,L)=>R.overflows[1]-L.overflows[1])[0])==null?void 0:w.placement;if(!P)switch(d){case"bestFit":{var C;const R=(C=k.map(L=>[L.placement,L.overflows.filter(I=>I>0).reduce((I,F)=>I+F,0)]).sort((L,I)=>L[1]-I[1])[0])==null?void 0:C[0];R&&(P=R);break}case"initialPlacement":P=i;break}if(r!==P)return{reset:{placement:P}}}return{}}}};async function wA(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=sn(n),a=zt(n),l=Oo(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=Cr(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const SA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await wA(t,e);return{x:n+s.x,y:r+s.y,data:s}}}},EA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:S,y:_}=b;return{x:S,y:_}}},...l}=Cr(e,t),c={x:n,y:r},u=await ba(t,l),f=Oo(sn(s)),d=Lg(f);let p=c[d],h=c[f];if(o){const b=d==="y"?"top":"left",S=d==="y"?"bottom":"right",_=p+u[b],y=p-u[S];p=Xl(_,p,y)}if(i){const b=f==="y"?"top":"left",S=f==="y"?"bottom":"right",_=h+u[b],y=h-u[S];h=Xl(_,h,y)}const g=a.fn({...t,[d]:p,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},xA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:s,elements:o}=t,{apply:i=()=>{},...a}=Cr(e,t),l=await ba(t,a),c=sn(n),u=zt(n),f=Oo(n)==="y",{width:d,height:p}=r.floating;let h,g;c==="top"||c==="bottom"?(h=c,g=u===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(g=c,h=u==="end"?"top":"bottom");const b=p-l[h],S=d-l[g],_=!t.middlewareData.shift;let y=b,v=S;if(f){const m=d-l.left-l.right;v=u||_?So(S,m):m}else{const m=p-l.top-l.bottom;y=u||_?So(b,m):m}if(_&&!u){const m=tr(l.left,0),k=tr(l.right,0),T=tr(l.top,0),w=tr(l.bottom,0);f?v=d-2*(m!==0||k!==0?m+k:tr(l.left,l.right)):y=p-2*(T!==0||w!==0?T+w:tr(l.top,l.bottom))}await i({...t,availableWidth:v,availableHeight:y});const E=await s.getDimensions(o.floating);return d!==E.width||p!==E.height?{reset:{rects:!0}}:{}}}};function $t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tn(e){return $t(e).getComputedStyle(e)}const Kd=Math.min,oo=Math.max,Bi=Math.round;function Fg(e){const t=tn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=Bi(n)!==s||Bi(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Gn(e){return jg(e)?(e.nodeName||"").toLowerCase():""}let si;function Bg(){if(si)return si;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(si=e.brands.map(t=>t.brand+"/"+t.version).join(" "),si):navigator.userAgent}function nn(e){return e instanceof $t(e).HTMLElement}function jn(e){return e instanceof $t(e).Element}function jg(e){return e instanceof $t(e).Node}function Xd(e){return typeof ShadowRoot>"u"?!1:e instanceof $t(e).ShadowRoot||e instanceof ShadowRoot}function wa(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=tn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function TA(e){return["table","td","th"].includes(Gn(e))}function Yl(e){const t=/firefox/i.test(Bg()),n=tn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function zg(){return!/^((?!chrome|android).)*safari/i.test(Bg())}function hu(e){return["html","body","#document"].includes(Gn(e))}function Hg(e){return jn(e)?e:e.contextElement}const Ug={x:1,y:1};function Vr(e){const t=Hg(e);if(!nn(t))return Ug;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=Fg(t);let i=(o?Bi(n.width):n.width)/r,a=(o?Bi(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Eo(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Hg(e);let l=Ug;t&&(r?jn(r)&&(l=Vr(r)):l=Vr(e));const c=a?$t(a):window,u=!zg()&&n;let f=(i.left+(u&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,d=(i.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,p=i.width/l.x,h=i.height/l.y;if(a){const g=$t(a),b=r&&jn(r)?$t(r):r;let S=g.frameElement;for(;S&&r&&b!==g;){const _=Vr(S),y=S.getBoundingClientRect(),v=getComputedStyle(S);y.x+=(S.clientLeft+parseFloat(v.paddingLeft))*_.x,y.y+=(S.clientTop+parseFloat(v.paddingTop))*_.y,f*=_.x,d*=_.y,p*=_.x,h*=_.y,f+=y.x,d+=y.y,S=$t(S).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function zn(e){return((jg(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sa(e){return jn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Vg(e){return Eo(zn(e)).left+Sa(e).scrollLeft}function xo(e){if(Gn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xd(e)&&e.host||zn(e);return Xd(t)?t.host:t}function Wg(e){const t=xo(e);return hu(t)?t.ownerDocument.body:nn(t)&&wa(t)?t:Wg(t)}function ji(e,t){var n;t===void 0&&(t=[]);const r=Wg(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=$t(r);return s?t.concat(o,o.visualViewport||[],wa(r)?r:[]):t.concat(r,ji(r))}function Yd(e,t,n){return t==="viewport"?so(function(r,s){const o=$t(r),i=zn(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=zg();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):jn(t)?so(function(r,s){const o=Eo(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=nn(r)?Vr(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):so(function(r){const s=zn(r),o=Sa(r),i=r.ownerDocument.body,a=oo(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=oo(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+Vg(r);const u=-o.scrollTop;return tn(i).direction==="rtl"&&(c+=oo(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(zn(e)))}function Jd(e){return nn(e)&&tn(e).position!=="fixed"?e.offsetParent:null}function Zd(e){const t=$t(e);let n=Jd(e);for(;n&&TA(n)&&tn(n).position==="static";)n=Jd(n);return n&&(Gn(n)==="html"||Gn(n)==="body"&&tn(n).position==="static"&&!Yl(n))?t:n||function(r){let s=xo(r);for(;nn(s)&&!hu(s);){if(Yl(s))return s;s=xo(s)}return null}(e)||t}function CA(e,t,n){const r=nn(t),s=zn(t),o=Eo(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Gn(t)!=="body"||wa(s))&&(i=Sa(t)),nn(t)){const l=Eo(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Vg(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const kA={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=ji(c).filter(b=>jn(b)&&Gn(b)!=="body"),p=null;const h=tn(c).position==="fixed";let g=h?xo(c):c;for(;jn(g)&&!hu(g);){const b=tn(g),S=Yl(g);(h?S||p:S||b.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=b:d=d.filter(_=>_!==g),g=xo(g)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,u)=>{const f=Yd(t,u,s);return c.top=oo(f.top,c.top),c.right=Kd(f.right,c.right),c.bottom=Kd(f.bottom,c.bottom),c.left=oo(f.left,c.left),c},Yd(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=nn(n),o=zn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((Gn(n)!=="body"||wa(o))&&(i=Sa(n)),nn(n))){const c=Eo(n);a=Vr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:jn,getDimensions:function(e){return nn(e)?Fg(e):e.getBoundingClientRect()},getOffsetParent:Zd,getDocumentElement:zn,getScale:Vr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Zd,o=this.getDimensions;return{reference:CA(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>tn(e).direction==="rtl"},PA=(e,t,n)=>{const r=new Map,s={platform:kA,...n},o={...s.platform,_c:r};return gA(e,t,{...s,platform:o})};function Gg(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Gg(e[n],t[n]):e[n]=t[n])}const gn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function To(e,t){let n=gn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=gn.themes[n.$extend]||{}:(n=null,r=gn[t]):n=null;while(n);return r}function AA(e){const t=[e];let n=gn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=gn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Qd(e){const t=[e];let n=gn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=gn.themes[n.$extend]||{}):n=null;while(n);return t}let br=!1;if(typeof window<"u"){br=!1;try{const e=Object.defineProperty({},"passive",{get(){br=!0}});window.addEventListener("test",null,e)}catch{}}let qg=!1;typeof window<"u"&&typeof navigator<"u"&&(qg=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Kg=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),eh={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},th={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function nh(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function rl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Bt=[];let Qn=null;const rh={};function sh(e){let t=rh[e];return t||(t=rh[e]=[]),t}let Jl=function(){};typeof window<"u"&&(Jl=window.Element);function Ae(e){return function(t){return To(t.theme,e)}}const sl="__floating-vue__popper",Xg=()=>Ce({name:"VPopper",provide(){return{[sl]:{parentPopper:this}}},inject:{[sl]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Ae("disabled")},positioningDisabled:{type:Boolean,default:Ae("positioningDisabled")},placement:{type:String,default:Ae("placement"),validator:e=>Kg.includes(e)},delay:{type:[String,Number,Object],default:Ae("delay")},distance:{type:[Number,String],default:Ae("distance")},skidding:{type:[Number,String],default:Ae("skidding")},triggers:{type:Array,default:Ae("triggers")},showTriggers:{type:[Array,Function],default:Ae("showTriggers")},hideTriggers:{type:[Array,Function],default:Ae("hideTriggers")},popperTriggers:{type:Array,default:Ae("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Ae("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Ae("popperHideTriggers")},container:{type:[String,Object,Jl,Boolean],default:Ae("container")},boundary:{type:[String,Jl],default:Ae("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Ae("strategy")},autoHide:{type:[Boolean,Function],default:Ae("autoHide")},handleResize:{type:Boolean,default:Ae("handleResize")},instantMove:{type:Boolean,default:Ae("instantMove")},eagerMount:{type:Boolean,default:Ae("eagerMount")},popperClass:{type:[String,Array,Object],default:Ae("popperClass")},computeTransformOrigin:{type:Boolean,default:Ae("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Ae("autoMinSize")},autoSize:{type:[Boolean,String],default:Ae("autoSize")},autoMaxSize:{type:Boolean,default:Ae("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Ae("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Ae("preventOverflow")},overflowPadding:{type:[Number,String],default:Ae("overflowPadding")},arrowPadding:{type:[Number,String],default:Ae("arrowPadding")},arrowOverflow:{type:Boolean,default:Ae("arrowOverflow")},flip:{type:Boolean,default:Ae("flip")},shift:{type:Boolean,default:Ae("shift")},shiftCrossAxis:{type:Boolean,default:Ae("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Ae("noAutoFocus")},disposeTimeout:{type:Number,default:Ae("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[sl])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(SA({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(_A({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(EA({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(bA({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(vA({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(xA({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await PA(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Qn&&this.instantMove&&Qn.instantMove&&Qn!==this.parentPopper){Qn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Qn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await rl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ji(this.$_referenceNode),...ji(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Bt.length;n++)t=Bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Qd(this.theme))sh(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await rl(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,nh(Bt,this),Bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Qd(this.theme)){const r=sh(n);nh(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Qn===this&&(Qn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await rl(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,eh,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],eh,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,th,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],th,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,br?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(io>=e.left&&io<=e.right&&ao>=e.top&&ao<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=io-An,r=ao-Rn,s=t.left+t.width/2-An+(t.top+t.height/2)-Rn+t.width+t.height,o=An+n*s,i=Rn+r*s;return oi(An,Rn,o,i,t.left,t.top,t.left,t.bottom)||oi(An,Rn,o,i,t.left,t.top,t.right,t.top)||oi(An,Rn,o,i,t.right,t.top,t.right,t.bottom)||oi(An,Rn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(qg?(document.addEventListener("touchstart",oh,br?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",$A,br?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",oh,!0),window.addEventListener("click",RA,!0)),window.addEventListener("resize",IA));function oh(e){for(let t=0;t<Bt.length;t++){const n=Bt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function RA(e){Yg(e)}function $A(e){Yg(e,!0)}function Yg(e,t=!1){const n={};for(let r=Bt.length-1;r>=0;r--){const s=Bt[r];try{const o=s.$_containsGlobalTarget=NA(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&ih(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&ih(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function NA(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function ih(e,t,n){return n.closeAllPopover||n.closePopover&&t||OA(e,n)&&!t}function OA(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function IA(e){for(let t=0;t<Bt.length;t++)Bt[t].$_computePosition(e)}let An=0,Rn=0,io=0,ao=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{An=io,Rn=ao,io=e.clientX,ao=e.clientY},br?{passive:!0}:void 0);function oi(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const LA={extends:Xg()},Ea=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function MA(e,t,n,r,s,o){return Q(),ye("div",{ref:"reference",class:qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[rt(e.$slots,"default",hc(na(e.slotData)))],2)}const DA=Ea(LA,[["render",MA]]);function FA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let pi;function Zl(){Zl.init||(Zl.init=!0,pi=FA()!==-1)}var xa={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Zl(),kt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pi&&this.$el.appendChild(e),e.data="about:blank",pi||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!pi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const BA=Py();Cy("data-v-b329ee4c");const jA={class:"resize-observer",tabindex:"-1"};ky();const zA=BA((e,t,n,r,s,o)=>(Q(),Te("div",jA)));xa.render=zA;xa.__scopeId="data-v-b329ee4c";xa.__file="src/components/ResizeObserver.vue";const Jg=(e="theme")=>({computed:{themeClass(){return AA(this[e])}}}),HA=Ce({name:"VPopperContent",components:{ResizeObserver:xa},mixins:[Jg()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),UA=["id","aria-hidden","tabindex","data-popper-placement"],VA={ref:"inner",class:"v-popper__inner"},WA=q("div",{class:"v-popper__arrow-outer"},null,-1),GA=q("div",{class:"v-popper__arrow-inner"},null,-1),qA=[WA,GA];function KA(e,t,n,r,s,o){const i=vn("ResizeObserver");return Q(),ye("div",{id:e.popperId,ref:"popover",class:qe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:en(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=jp(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[q("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),q("div",{class:"v-popper__wrapper",style:en(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[q("div",VA,[e.mounted?(Q(),ye(Le,{key:0},[q("div",null,[rt(e.$slots,"default")]),e.handleResize?(Q(),Te(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ge("",!0)],64)):Ge("",!0)],512),q("div",{ref:"arrow",class:"v-popper__arrow-container",style:en(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},qA,4)],4)],46,UA)}const Zg=Ea(HA,[["render",KA]]),Qg={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},XA=Ce({name:"VPopperWrapper",components:{Popper:DA,PopperContent:Zg},mixins:[Qg,Jg("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function YA(e,t,n,r,s,o){const i=vn("PopperContent"),a=vn("Popper");return Q(),Te(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:qe([e.themeClass])},{default:me(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:g,onResize:b,classes:S,result:_})=>[rt(e.$slots,"default",{shown:c,show:p,hide:h}),Z(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:S,result:_,onHide:h,onResize:b},{default:me(()=>[rt(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const pu=Ea(XA,[["render",YA]]),JA={...pu,name:"VDropdown",vPopperTheme:"dropdown"},ZA={...pu,name:"VMenu",vPopperTheme:"menu"},QA={...pu,name:"VTooltip",vPopperTheme:"tooltip"},eR=Ce({name:"VTooltipDirective",components:{Popper:Xg(),PopperContent:Zg},mixins:[Qg],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>To(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>To(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tR=["innerHTML"],nR=["textContent"];function rR(e,t,n,r,s,o){const i=vn("PopperContent"),a=vn("Popper");return Q(),Te(a,Un({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:me(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:g,classes:b,result:S})=>[Z(i,{ref:"popperContent",class:qe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:b,result:S,onHide:p,onResize:g},{default:me(()=>[e.html?(Q(),ye("div",{key:0,innerHTML:e.finalContent},null,8,tR)):(Q(),ye("div",{key:1,textContent:dt(e.finalContent)},null,8,nR))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const sR=Ea(eR,[["render",rR]]),ev="v-popper--has-tooltip";function oR(e,t){let n=e.placement;if(!n&&t)for(const r of Kg)t[r]&&(n=r);return n||(n=To(e.theme||"tooltip","placement")),n}function tv(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=oR(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ol,Co,iR=0;function aR(){if(ol)return;Co=K([]),ol=Hp({name:"VTooltipDirectiveApp",setup(){return{directives:Co}},render(){return this.directives.map(t=>Je(sR,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ol.mount(e)}function lR(e,t,n){aR();const r=K(tv(e,t,n)),s=K(!1),o={id:iR++,options:r,shown:s};return Co.value.push(o),e.classList&&e.classList.add(ev),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function nv(e){if(e.$_popper){const t=Co.value.indexOf(e.$_popper.item);t!==-1&&Co.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ev)}function ah(e,{value:t,modifiers:n}){const r=tv(e,t,n);if(!r.content||To(r.theme||"tooltip","disabled"))nv(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=lR(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const cR={beforeMount:ah,updated:ah,beforeUnmount(e){nv(e)}};function lh(e){e.addEventListener("click",rv),e.addEventListener("touchstart",sv,br?{passive:!0}:!1)}function ch(e){e.removeEventListener("click",rv),e.removeEventListener("touchstart",sv),e.removeEventListener("touchend",ov),e.removeEventListener("touchcancel",iv)}function rv(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function sv(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",ov),t.addEventListener("touchcancel",iv)}}function ov(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function iv(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const uR={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&lh(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?lh(e):ch(e))},beforeUnmount(e){ch(e)}};function fR(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Gg(gn,t),e.directive("tooltip",cR),e.directive("close-popper",uR),e.component("VTooltip",QA),e.component("VDropdown",JA),e.component("VMenu",ZA))}const dR={version:"2.0.0-beta.24",install:fR,options:gn},hR=It(e=>{e.vueApp.use(dR)}),pR=It(()=>{const e=ct(),t=_P(),n=ot();function r(){qh(e)}function s(i){t.value=i}function o(i,a,l,c){const u=`./${a}:${l}:${c}`;Pe.openInEditor(u)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",r),i.hooks.hook("host:inspector:update",s),i.hooks.hook("host:inspector:click",o),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value?.path;!i||i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),mR=[zw,Uw,JP,ZP,QP,eA,sA,oA,aA,lA,hR,pR],gR=Ce({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const{progress:n,isLoading:r,start:s,finish:o,clear:i}=vR({duration:e.duration,throttle:e.throttle});{const a=Me(),l=ot();hi.unshift(s),l.onError(()=>{o()}),l.beforeResolve((f,d)=>{Og(f,d)||o()}),l.afterEach((f,d,p)=>{p&&o()});const c=a.hook("page:finish",o),u=a.hook("vue:error",o);cs(()=>{const f=hi.indexOf(s);f>=0&&hi.splice(f,1),c(),u(),i()})}return()=>Je("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:r.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.value*100}% auto`,transform:`scaleX(${n.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function vR(e){const t=K(0),n=K(!1),r=de(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,f()},e.throttle):(n.value=!0,f())}function a(){t.value=100,u()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(d){t.value=Math.min(100,t.value+d)}function u(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function f(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const yR=Ce({__name:"NNotification",setup(e){const t=K(!1),n=K(),r=K(),s=K(),o=K("top-center");return vE(i=>{r.value=i.message,n.value=i.icon,s.value=i.classes??"text-primary border-primary",n.value=i.icon,t.value=!0,o.value=i.position??"top-center",setTimeout(()=>{t.value=!1},i.duration??1500)}),(i,a)=>(Q(),ye("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:qe([{"pointer-events-none overflow-hidden":!t.value},{"top-0":o.value.startsWith("top")},{"bottom-0":o.value.startsWith("bottom")}])},[q("div",{flex:"",style:en({justifyContent:o.value.includes("right")?"right":o.value.includes("left")?"left":"center"})},[q("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:en(t.value?{}:{transform:`translateY(${o.value.startsWith("top")?"-":""}300%)`}),class:qe([t.value?"shadow":"shadow-none",s.value])},[n.value?(Q(),ye("div",{key:0,class:qe(n.value)},null,2)):Ge("",!0),q("div",null,dt(r.value),1)],6)],4)],2))}}),Io=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},_R={},bR={class:"n-loading n-panel-grids-center"},wR={class:"flex flex-col animate-pulse items-center text-lg"},SR=q("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function ER(e,t){return Q(),ye("div",bR,[q("div",wR,[SR,rt(e.$slots,"default",{},()=>[Oe(" Loading... ")])])])}const xR=Io(_R,[["render",ER]]),Lo=Ce({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Q(),ye("div",{class:qe(["n-icon",t.icon])},null,2))}});async function av(e,t=ot()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>av(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const TR=(...e)=>e.find(t=>t!==void 0),CR="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function kR(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?ki:Bc;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return Ce({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const o=ot(),i=oa(),a=de(()=>{const p=r.to||r.href||"";return n(p,o.resolve)}),l=de(()=>typeof a.value=="string"&&us(a.value,{acceptRelative:!0})),c=de(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||l.value),u=K(!1),f=K(null),d=p=>{f.value=r.custom?p?.$el?.nextElementSibling:p?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!AR()){const h=Me();let g,b=null;Sn(()=>{const S=PR();Gc(()=>{g=Bl(()=>{f?.value?.tagName&&(b=S.observe(f.value,async()=>{b?.(),b=null;const _=typeof a.value=="string"?a.value:o.resolve(a.value).fullPath;await Promise.all([h.hooks.callHook("link:prefetch",_).catch(()=>{}),!c.value&&av(a.value,o).catch(()=>{})]),u.value=!0}))})})}),cs(()=>{g&&q1(g),b?.(),b=null})}return()=>{if(!c.value){const S={ref:d,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(S.class=r.prefetchedClass||e.prefetchedClass),S.rel=r.rel),Je(vn("RouterLink"),S,s.default)}const p=typeof a.value=="object"?o.resolve(a.value)?.href??null:a.value&&!r.external&&!l.value?n(fs(i.app.baseURL,a.value),o.resolve):a.value||null,h=r.target||null,g=r.noRel?null:TR(r.rel,e.externalRelAttribute,p?CR:"")||null,b=()=>Il(p,{replace:r.replace});return r.custom?s.default?s.default({href:p,navigate:b,get route(){if(!p)return;const S=Ao(p);return{path:S.pathname,fullPath:S.pathname,get query(){return Vp(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:g,target:h,isExternal:c.value,isActive:!1,isExactActive:!1}):null:Je("a",{ref:f,href:p,rel:g,target:h},s.default?.())}}})}const lv=kR(Nw);function PR(){const e=Me();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function AR(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const qn=Ce({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Lo;return Q(),Te(Gr(t.to?z(lv):"button"),Un({to:t.to},{...t.$attrs,...!t.to&&{type:t.type}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:me(()=>[rt(t.$slots,"icon",{},()=>[t.icon?(Q(),Te(r,{key:0,icon:t.icon,class:qe({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ge("",!0)]),rt(t.$slots,"default")]),_:3},16,["to","class"])}}}),RR=Ce({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=K(!1);return Sn(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return ye(a,n,i)}}}),$R={name:nA,props:{placeholder:String,tag:{type:String,default:"span"}}};function NR(e,t,n,r,s,o){const i=RR;return Q(),Te(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:me(()=>[rt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const OR=Io($R,[["render",NR]]),IR=Ce({__name:"NDarkToggle",setup(e){const t=LS(),n=de({get(){return t.value==="dark"},set(){t.value=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await kt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=OR;return Q(),Te(l,{tag:"span"},{default:me(()=>[rt(i.$slots,"default",hc(na(o)))]),_:3})}}}),LR={},MR={class:"n-card n-card-base"};function DR(e,t){return Q(),ye("div",MR,[rt(e.$slots,"default")])}const mu=Io(LR,[["render",DR]]);/*!
20
20
  * tabbable 6.2.0
21
21
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
22
22
  */var cv=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],zi=cv.join(","),uv=typeof Element>"u",wr=uv?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Hi=!uv&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Ui=function e(t,n){var r;n===void 0&&(n=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=s===""||s==="true",i=o||n&&t&&e(t.parentNode);return i},FR=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},fv=function(t,n,r){if(Ui(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(zi));return n&&wr.call(t,zi)&&s.unshift(t),s=s.filter(r),s},dv=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!Ui(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var u=wr.call(i,zi);u&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Ui(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&d){var p=e(f===!0?i.children:f.children,!0,r);r.flatten?s.push.apply(s,p):s.push({scopeParent:i,candidates:p})}else o.unshift.apply(o,i.children)}}return s},hv=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},or=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||FR(t))&&!hv(t)?0:t.tabIndex},BR=function(t,n){var r=or(t);return r<0&&n&&!hv(t)?0:r},jR=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},pv=function(t){return t.tagName==="INPUT"},zR=function(t){return pv(t)&&t.type==="hidden"},HR=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},UR=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},VR=function(t){if(!t.name)return!0;var n=t.form||Hi(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=UR(s,t.form);return!o||o===t},WR=function(t){return pv(t)&&t.type==="radio"},GR=function(t){return WR(t)&&!VR(t)},qR=function(t){var n,r=t&&Hi(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,l;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&s;){var c,u,f;r=Hi(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((u=s)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(s))}}return o},uh=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},KR=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=wr.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(wr.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var a=t;t;){var l=t.parentElement,c=Hi(t);if(l&&!l.shadowRoot&&s(l)===!0)return uh(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(qR(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return uh(t);return!1},XR=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var s=n.children.item(r);if(s.tagName==="LEGEND")return wr.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},Vi=function(t,n){return!(n.disabled||Ui(n)||zR(n)||KR(n,t)||HR(n)||XR(n))},Ql=function(t,n){return!(GR(n)||or(n)<0||!Vi(t,n))},YR=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},JR=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=BR(a,i),c=i?e(s.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:s,isScope:i,content:c})}),r.sort(jR).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},ZR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=dv([t],n.includeContainer,{filter:Ql.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:YR}):r=fv(t,n.includeContainer,Ql.bind(null,n)),JR(r)},QR=function(t,n){n=n||{};var r;return n.getShadowRoot?r=dv([t],n.includeContainer,{filter:Vi.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=fv(t,n.includeContainer,Vi.bind(null,n)),r},$r=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return wr.call(t,zi)===!1?!1:Ql(n,t)},e$=cv.concat("iframe").join(","),il=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return wr.call(t,e$)===!1?!1:Vi(n,t)};/*!
23
23
  * focus-trap 7.5.4
24
24
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
25
- */function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function dh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fh(Object(n),!0).forEach(function(r){t$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function t$(e,t,n){return t=r$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n$(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r$(e){var t=n$(e,"string");return typeof t=="symbol"?t:String(t)}var hh={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},s$=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},o$=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},ao=function(t){return t?.key==="Tab"||t?.keyCode===9},i$=function(t){return ao(t)&&!t.shiftKey},a$=function(t){return ao(t)&&t.shiftKey},ph=function(t){return setTimeout(t,0)},mh=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},Vs=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},oi=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},l$=[],c$=function(t,n){var r=n?.document||document,s=n?.trapStack||l$,o=dh({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:i$,isKeyBackward:a$},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(x,P,R){return x&&x[P]!==void 0?x[P]:o[R||P]},c=function(x,P){var R=typeof P?.composedPath=="function"?P.composedPath():void 0;return i.containerGroups.findIndex(function(L){var I=L.container,F=L.tabbableNodes;return I.contains(x)||R?.includes(I)||F.find(function(D){return D===x})})},u=function(x){var P=o[x];if(typeof P=="function"){for(var R=arguments.length,L=new Array(R>1?R-1:0),I=1;I<R;I++)L[I-1]=arguments[I];P=P.apply(void 0,L)}if(P===!0&&(P=void 0),!P){if(P===void 0||P===!1)return P;throw new Error("`".concat(x,"` was specified but was not a node, or did not return a node"))}var F=P;if(typeof P=="string"&&(F=r.querySelector(P),!F))throw new Error("`".concat(x,"` as selector refers to no known node"));return F},f=function(){var x=u("initialFocus");if(x===!1)return!1;if(x===void 0||!il(x,o.tabbableOptions))if(c(r.activeElement)>=0)x=r.activeElement;else{var P=i.tabbableGroups[0],R=P&&P.firstTabbableNode;x=R||u("fallbackFocus")}if(!x)throw new Error("Your focus-trap needs to have at least one focusable element");return x},d=function(){if(i.containerGroups=i.containers.map(function(x){var P=ZR(x,o.tabbableOptions),R=QR(x,o.tabbableOptions),L=P.length>0?P[0]:void 0,I=P.length>0?P[P.length-1]:void 0,F=R.find(function(ee){return $r(ee)}),D=R.slice().reverse().find(function(ee){return $r(ee)}),U=!!P.find(function(ee){return or(ee)>0});return{container:x,tabbableNodes:P,focusableNodes:R,posTabIndexesFound:U,firstTabbableNode:L,lastTabbableNode:I,firstDomTabbableNode:F,lastDomTabbableNode:D,nextTabbableNode:function(re){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,he=P.indexOf(re);return he<0?oe?R.slice(R.indexOf(re)+1).find(function(ue){return $r(ue)}):R.slice(0,R.indexOf(re)).reverse().find(function(ue){return $r(ue)}):P[he+(oe?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(x){return x.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(x){return x.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function A(x){var P=x.activeElement;if(P)return P.shadowRoot&&P.shadowRoot.activeElement!==null?A(P.shadowRoot):P},h=function A(x){if(x!==!1&&x!==p(document)){if(!x||!x.focus){A(f());return}x.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=x,s$(x)&&x.select()}},g=function(x){var P=u("setReturnFocus",x);return P||(P===!1?!1:x)},b=function(x){var P=x.target,R=x.event,L=x.isBackward,I=L===void 0?!1:L;P=P||oi(R),d();var F=null;if(i.tabbableGroups.length>0){var D=c(P,R),U=D>=0?i.containerGroups[D]:void 0;if(D<0)I?F=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:F=i.tabbableGroups[0].firstTabbableNode;else if(I){var ee=mh(i.tabbableGroups,function($e){var O=$e.firstTabbableNode;return P===O});if(ee<0&&(U.container===P||il(P,o.tabbableOptions)&&!$r(P,o.tabbableOptions)&&!U.nextTabbableNode(P,!1))&&(ee=D),ee>=0){var re=ee===0?i.tabbableGroups.length-1:ee-1,oe=i.tabbableGroups[re];F=or(P)>=0?oe.lastTabbableNode:oe.lastDomTabbableNode}else ao(R)||(F=U.nextTabbableNode(P,!1))}else{var he=mh(i.tabbableGroups,function($e){var O=$e.lastTabbableNode;return P===O});if(he<0&&(U.container===P||il(P,o.tabbableOptions)&&!$r(P,o.tabbableOptions)&&!U.nextTabbableNode(P))&&(he=D),he>=0){var ue=he===i.tabbableGroups.length-1?0:he+1,Se=i.tabbableGroups[ue];F=or(P)>=0?Se.firstTabbableNode:Se.firstDomTabbableNode}else ao(R)||(F=U.nextTabbableNode(P))}}else F=u("fallbackFocus");return F},S=function(x){var P=oi(x);if(!(c(P,x)>=0)){if(Vs(o.clickOutsideDeactivates,x)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Vs(o.allowOutsideClick,x)||x.preventDefault()}},_=function(x){var P=oi(x),R=c(P,x)>=0;if(R||P instanceof Document)R&&(i.mostRecentlyFocusedNode=P);else{x.stopImmediatePropagation();var L,I=!0;if(i.mostRecentlyFocusedNode)if(or(i.mostRecentlyFocusedNode)>0){var F=c(i.mostRecentlyFocusedNode),D=i.containerGroups[F].tabbableNodes;if(D.length>0){var U=D.findIndex(function(ee){return ee===i.mostRecentlyFocusedNode});U>=0&&(o.isKeyForward(i.recentNavEvent)?U+1<D.length&&(L=D[U+1],I=!1):U-1>=0&&(L=D[U-1],I=!1))}}else i.containerGroups.some(function(ee){return ee.tabbableNodes.some(function(re){return or(re)>0})})||(I=!1);else I=!1;I&&(L=b({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(L||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},y=function(x){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=x;var R=b({event:x,isBackward:P});R&&(ao(x)&&x.preventDefault(),h(R))},v=function(x){if(o$(x)&&Vs(o.escapeDeactivates,x)!==!1){x.preventDefault(),a.deactivate();return}(o.isKeyForward(x)||o.isKeyBackward(x))&&y(x,o.isKeyBackward(x))},E=function(x){var P=oi(x);c(P,x)>=0||Vs(o.clickOutsideDeactivates,x)||Vs(o.allowOutsideClick,x)||(x.preventDefault(),x.stopImmediatePropagation())},m=function(){if(i.active)return hh.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?ph(function(){h(f())}):h(f()),r.addEventListener("focusin",_,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",v,{capture:!0,passive:!1}),a},k=function(){if(i.active)return r.removeEventListener("focusin",_,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",v,!0),a},T=function(x){var P=x.some(function(R){var L=Array.from(R.removedNodes);return L.some(function(I){return I===i.mostRecentlyFocusedNode})});P&&h(f())},w=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,C=function(){w&&(w.disconnect(),i.active&&!i.paused&&i.containers.map(function(x){w.observe(x,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(x){if(i.active)return this;var P=l(x,"onActivate"),R=l(x,"onPostActivate"),L=l(x,"checkCanFocusTrap");L||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,P?.();var I=function(){L&&d(),m(),C(),R?.()};return L?(L(i.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(x){if(!i.active)return this;var P=dh({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},x);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,C(),hh.deactivateTrap(s,a);var R=l(P,"onDeactivate"),L=l(P,"onPostDeactivate"),I=l(P,"checkCanReturnFocus"),F=l(P,"returnFocus","returnFocusOnDeactivate");R?.();var D=function(){ph(function(){F&&h(g(i.nodeFocusedBeforeActivation)),L?.()})};return F&&I?(I(g(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(x){if(i.paused||!i.active)return this;var P=l(x,"onPause"),R=l(x,"onPostPause");return i.paused=!0,P?.(),k(),C(),R?.(),this},unpause:function(x){if(!i.paused||!i.active)return this;var P=l(x,"onUnpause"),R=l(x,"onPostUnpause");return i.paused=!1,P?.(),d(),m(),C(),R?.(),this},updateContainerElements:function(x){var P=[].concat(x).filter(Boolean);return i.containers=P.map(function(R){return typeof R=="string"?r.querySelector(R):R}),i.active&&d(),C(),this}},a.updateContainerElements(t),a};function u$(e,t={}){let n;const{immediate:r,...s}=t,o=K(!1),i=K(!1),a=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),c=()=>{n&&(n.pause(),i.value=!0)},u=()=>{n&&(n.unpause(),i.value=!1)};return Be(()=>ht(e),f=>{f&&(n=c$(f,{...s,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),_n(()=>l()),{hasFocus:o,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const f$={inheritAttrs:!1},Ta=Ce({...f$,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,s=Mm(n,"modelValue",r,{passive:!0}),o=K(null),i=K(!1),{activate:a,deactivate:l}=u$(de(()=>o.value||document.body),{immediate:!1});return Gr(()=>{!i.value&&s.value&&(i.value=!0),s.value&&o.value?kt(a):l()}),Kc(o,()=>{n.modelValue&&n.autoClose&&(s.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=mu;return i.value?(Q(),Te(xp,{key:0,to:"body"},[ho(q("div",{class:qe(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[z(s)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[q("div",{class:qe(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),Z(f,Un(c.$attrs,{ref_key:"card",ref:o,class:"max-h-screen of-auto"}),{default:me(()=>[rt(c.$slots,"default")]),_:3},16)],2),[[Sl,z(s)]])])):Ge("",!0)}}});function d$(){return fa("virtual-files:current","")}function Z2(){return fa("terminals:current","")}function Q2(){return fa("server-routes:current","")}function eI(){const e=BP(),t=zP(),n=ot(),r=d$();return async s=>{const o=e.value?.buildDir,i=o&&s.startsWith(o)?`#build${s.slice(o.length)}`:s,[a,l=1,c=0]=i.split(/:/g),u=t.value?.entries.find(f=>f.path===a||f.id===a)||t.value?.entries.find(f=>f.path===s||f.id===s);u?(r.value=u.id,n.push("/modules/virtual-files")):await Pe.openInEditor(s)}}function h$(){const e=PS();return(t,n)=>{e.copy(t),_a("copy",{copyType:n}),Jc({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const p$=q("div",{"carbon-launch":""},null,-1),m$=q("div",{"carbon-launch":""},null,-1),g$=q("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),v$=q("h1",{"text-3xl":""}," Popup is not Supported ",-1),y$=q("p",null,[Oe(" To popup the DevTools, it requires the "),q("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Oe(" which is currently in experimental state. ")],-1),_$=q("p",null,[Oe(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),q("code",null,"#document-picture-in-picture-api"),Oe(". ")],-1),b$=Ce({__name:"PictureInPictureButton",setup(e){const t=ct(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=K(!1),s=h$();function o(){const i=t.value?.devtools?.popup;i&&(_a("popup"),i())}return(i,a)=>{const l=qn,c=Ta;return z(n)?Ge("",!0):(Q(),ye(Le,{key:0},[z(t)?.devtools.popup?(Q(),Te(l,{key:0,n:"sm primary",onClick:a[0]||(a[0]=u=>o())},{default:me(()=>[p$,Oe(" Popup ")]),_:1})):(Q(),ye(Le,{key:1},[Z(l,{n:"sm primary",onClick:a[1]||(a[1]=u=>r.value=!0)},{default:me(()=>[m$,Oe(" Popup "),g$]),_:1}),Z(c,{modelValue:z(r),"onUpdate:modelValue":a[4]||(a[4]=u=>Fe(r)?r.value=u:null),class:"max-w-150 p6 pt-2 prose",onClose:a[5]||(a[5]=u=>r.value=!1)},{default:me(()=>[v$,y$,_$,q("p",null,[Oe(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),Z(l,{n:"xs primary",title:"Click to Copy",onClick:a[2]||(a[2]=u=>z(s)("chrome://flags/#document-picture-in-picture-api","external-docs"))},{default:me(()=>[Oe(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Oe(" and restart the browser. ")]),q("div",null,[Z(l,{onClick:a[3]||(a[3]=u=>r.value=!1)},{default:me(()=>[Oe(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),w$={px3:"",py2:"",border:"b base",flex:"~ gap-2"},S$=q("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),E$=q("div",{"i-carbon-settings-adjust":""},null,-1),x$={px3:"",py2:"",border:"b base",flex:"~ gap-2"},T$=q("div",{"i-carbon-split-screen":""},null,-1),C$={px3:"",py2:"",flex:"~ gap2"},k$=Ce({__name:"DockingPanel",setup(e){const t=ct(),n=Me(),{sidebarExpanded:r}=Tr();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),qh(t)}function o(){location.reload()}function i(){Ln.value=!Ln.value}return(a,l)=>{const c=qn,u=IR,f=Io,d=b$;return Q(),ye("div",null,[q("div",w$,[Z(u,null,{default:me(({toggle:p,isDark:h})=>[Z(c,{n:"sm primary",onClick:p},{default:me(()=>[S$,Oe(" "+dt(h.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Z(c,{n:"sm primary",onClick:l[0]||(l[0]=p=>r.value=!z(r))},{default:me(()=>[Z(f,{icon:z(r)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Oe(" "+dt(z(r)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),Z(c,{n:"sm primary",to:"/settings"},{default:me(()=>[E$,Oe(" Settings ")]),_:1})]),q("div",x$,[("splitScreenAvailable"in a?a.splitScreenAvailable:z(ql))?(Q(),Te(c,{key:0,n:"sm primary",onClick:i},{default:me(()=>[T$,Oe(" "+dt(("splitScreenEnabled"in a?a.splitScreenEnabled:z(Ln))?"Close Split Screen":"Split Screen"),1)]),_:1})):Ge("",!0),Z(d)]),q("div",C$,[Z(c,{n:"primary sm",onClick:s},{default:me(()=>[Oe(" Refetch Data ")]),_:1}),Z(c,{n:"primary sm",onClick:o},{default:me(()=>[Oe(" Refresh Page ")]),_:1})])])}}}),P$=["src","alt"],A$=["title"],Ca=Ce({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Q(),ye("img",Un({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,P$)):(Q(),ye("div",Un({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,A$))}}),R$={flex:"~ items-center gap-3"},$$={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},N$={"translate-y-0.5px":""},O$={key:0,hidden:"","lg:block":""},mv=Ce({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=fs(),r=de(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),s=de(()=>"badge"in t.tab&&t.tab.badge?.()),o=de(()=>n.path.startsWith(r.value));function i(){_a("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(Ig.value=t.tab.name)}return(a,l)=>{const c=Ca,u=vn("VTooltip");return Q(),Te(u,{disabled:!a.minimized,placement:"right",class:qe({"w-full":!a.minimized})},{popper:me(()=>[q("div",null,dt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Q(),ye("div",O$,[(Q(),Te(Wr(a.tab.extraTabVNode)))])):Ge("",!0)]),default:me(()=>[(Q(),Te(Wr(a.target==="main"?z(lv):"button"),{to:z(r),flex:`~ items-center ${a.minimized?"justify-center":"justify-between"}`,hover:"bg-active",relative:"",block:"","h-10":"",w:a.minimized?"10":"full","select-none":"",rounded:a.minimized?"xl":"",p:a.minimized?"1":"x3","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:me(()=>[q("div",R$,[Z(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?Ge("",!0):(Q(),ye("span",$$,dt(a.tab.title),1))]),z(s)?(Q(),ye("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:qe([z(o)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[q("span",N$,dt(("toValue"in a?a.toValue:z(Sc))(z(s))),1)],2)):Ge("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function I$(){const e=jP(),t=Tr(),n=ot(),r=de(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=de(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return de(()=>[...r.value,...s.value])}function gv(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function mi(e){const{pinnedTabs:t}=Tr();return de(()=>{const n=gv();for(const r of z(e)){let s=r.category||"app";t.value.includes(r.name)&&(s="pinned"),n[s]?n[s].push(r):console.warn(`Unknown tab category: ${s}`)}for(const r of Object.keys(n))n[r].length===0&&delete n[r];return n.pinned?.length&&n.pinned.sort((r,s)=>t.value.indexOf(r.name)-t.value.indexOf(s.name)),Object.entries(n)})}function gu(){const e=I$(),t=Tr(),n=Object.keys(gv()),r=e.value.map(s=>s?.show?.());return de(()=>e.value.filter((s,o)=>{const i=s,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||r[o]&&!Sc(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app")&&!a)}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function tI(){const e=Cg(),t=$g();return de(()=>(e.value?.getRoutes()||[]).map(n=>Rg(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const L$={flex:"~ col gap-1","max-w-80":"",py1:""},M$={key:0,"h-1px":"",border:"b base"},D$={flex:"~ wrap",px1:""},vv=Ce({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=mv;return Q(),ye("div",L$,[(Q(!0),ye(Le,null,go(t.categories,([s,o],i)=>(Q(),ye(Le,{key:s},[o.length?(Q(),ye(Le,{key:0},[i?(Q(),ye("div",M$)):Ge("",!0),q("div",D$,[(Q(!0),ye(Le,null,go(o,a=>(Q(),Te(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Ge("",!0)],64))),128))])}}}),F$={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},B$={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},j$=["title"],z$=q("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),H$=q("span",{text:"lg white","font-600":""}," DevTools ",-1),U$=q("div",{"flex-auto":""},null,-1),V$=q("div",{"i-carbon-overflow-menu-vertical":""},null,-1),W$={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},G$=q("div",{"flex-auto":""},null,-1),q$=["flex"],K$={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},X$={"translate-y-0.5px":""},Y$=45,J$=Ce({__name:"SideNav",setup(e){const t=ct(),n=gu(),{sidebarExpanded:r,sidebarScrollable:s}=Tr(),o=K(!1),i=K(!1),a=K(),l=K(),c=K();function u(){o.value=!o.value}function f(){i.value=!i.value}const{height:d}=Dm(),p=de(()=>{const v=d.value-130;return Math.max(0,Math.floor(v/Y$))}),h=de(()=>n.value.slice(0,p.value)),g=de(()=>n.value.slice(p.value)),b=mi(n),S=mi(h),_=mi(g),y=de(()=>s.value||r.value?b.value:S.value);return Kc(a,v=>{l.value&&v.composedPath().includes(l.value)||c.value&&v.composedPath().includes(c.value)||(o.value=!1,i.value=!1)},{detectIframe:!0}),(v,E)=>{const m=k$,k=vn("VDropdown"),T=mv,w=Ca;return Q(),ye("div",F$,[q("div",B$,[Z(k,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:z(o),"auto-hide":!0},{popper:me(()=>[Z(m,{ref_key:"panel",ref:a},null,512)]),default:me(()=>[q("button",{ref_key:"buttonDocking",ref:l,flex:"~ items-center justify-center gap-2",hover:"bg-active",relative:"","h-10":"","select-none":"",p2:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:qe([z(t)?"":"saturate-0",z(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:z(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:u},[z$,z(r)?(Q(),ye(Le,{key:0},[H$,U$,V$],64)):Ge("",!0)],10,j$)]),_:1},8,["shown"])]),q("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:qe(["no-scrollbar",z(r)?"":"of-x-hidden of-y-auto"])},[(Q(!0),ye(Le,null,go(z(y),([C,A],x)=>(Q(),ye(Le,{key:C},[A.length?(Q(),ye(Le,{key:0},[x?(Q(),ye("div",W$)):Ge("",!0),(Q(!0),ye(Le,null,go(A,P=>(Q(),Te(T,{key:P.name,tab:P,minimized:!z(r)},null,8,["tab","minimized"]))),128))],64)):Ge("",!0)],64))),128)),G$],2),q("div",{flex:`~ items-center gap-1 ${z(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[z(g).length&&!z(s)&&!z(r)?(Q(),Te(k,{key:0,placement:"left-end",distance:12,triggers:[],shown:z(i),"auto-hide":!0},{popper:me(()=>[Z(vv,{categories:z(_),"max-w-80":"",target:"main"},null,8,["categories"])]),default:me(()=>[q("button",{ref_key:"buttonMoreTabs",ref:c,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:f},[Z(w,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),q("div",K$,[q("span",X$,dt(z(g).length),1)])],512)]),_:1},8,["shown"])):Ge("",!0),Z(T,{minimized:!z(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,q$)])}}}),Z$=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),ec=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Z$(e.route,n));return typeof r=="function"?r(e.route):r},Q$=(e,t)=>({default:()=>e?Je(Wy,e===!0?{}:e,t):t}),eN=Ce({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return hr(Ao,is(r)),()=>Je(e.vnode,{ref:e.vnodeRef})}}),tN=Ce({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=Me(),s=K(),o=pt(Ao,null);n({pageRef:s});const i=pt(um,null);let a;const l=r.deferHydration();return()=>Je(Cm,{name:e.name,route:e.route,...t},{default:c=>{const u=sN(o,c.route,c.Component),f=o&&o.matched.length===c.route.matched.length;if(!c.Component){if(a&&!f)return a;l();return}if(a&&i&&!i.isCurrent(c.route))return a;if(u&&o&&(!i||i?.isCurrent(o)))return f?a:null;const d=ec(c,e.pageKey),p=!!(e.transition??c.route.meta.pageTransition??Ll),h=p&&rN([e.transition,c.route.meta.pageTransition,Ll,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean));return a=Ng(sa,p&&h,Q$(e.keepalive??c.route.meta.keepalive??$w,Je(kc,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{kt(()=>r.callHook("page:finish",c.Component).finally(l))}},{default:()=>Je(eN,{key:d||void 0,vnode:c.Component,route:c.route,renderKey:d||void 0,trackRootNodes:p,vnodeRef:s})}))).default(),a}})}});function nN(e){return Array.isArray(e)?e:e?[e]:[]}function rN(e){const t=e.map(n=>({...n,onAfterLeave:nN(n.onAfterLeave)}));return lm(...t)}function sN(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&ec({route:t,Component:n})!==ec({route:e,Component:n})}const oN={},iN={class:"n-panel-grids-center"};function aN(e,t){return Q(),ye("div",iN,[rt(e.$slots,"default")])}const yv=Oo(oN,[["render",aN]]),lN={"h-full":"","h-screen":"","of-hidden":""},cN={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},uN=q("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),fN=q("div",{"flex-auto":""},null,-1),dN={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},hN=q("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),pN=Ce({__name:"SplitScreen",setup(e){const t=gu(),n=Ht(),r=fs(),s=ot(),o=de(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=mi(o),a=de(()=>o.value.find(d=>d.name===Ig.value));Be(()=>a.value,d=>{if(!d)return;const p=s.getRoutes(),h=d&&"path"in d?p.find(b=>b.path===d.path):p.find(b=>b.name==="modules-custom-name");if(h?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const g=h?.components?.default;typeof g=="function"?n.value=Si(g):n.value=g},{immediate:!0});function l(){Ln.value=!1}const c=K(),u=K(),f=K(!1);return Kc(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,p)=>{const h=Ca,g=vv,b=vn("VDropdown"),S=qn,_=mu,y=yv,v=Iy("tooltip");return Q(),ye("div",lN,[q("div",cN,[Z(b,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:z(f),"auto-hide":!0},{popper:me(()=>[Z(g,{ref_key:"gridPanel",ref:c,categories:z(i),target:"side"},null,8,["categories"])]),default:me(()=>[q("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:p[0]||(p[0]=E=>f.value=!z(f))},[uN,z(a)?(Q(),ye(Le,{key:0},[Z(h,{"text-xl":"",icon:z(a).icon,title:z(a).title,"show-title":!1},null,8,["icon","title"]),q("span",null,dt(z(a).title),1)],64)):(Q(),ye(Le,{key:1},[Oe(" Select a tab ")],64))],512)]),_:1},8,["shown"]),fN,ho(Z(S,{icon:"i-carbon:side-panel-open",title:"Close split screen",border:!1,onClick:l},null,512),[[v,"Close split screen"]])]),z(n)&&z(a)?(Q(),ye("div",dN,["view"in z(a)?(Q(),Te(Wr(z(n)),{key:z(a).name,name:z(a).name},null,8,["name"])):(Q(),Te(Wr(z(n)),{key:`tab-${z(a).name}`}))])):(Q(),Te(y,{key:1},{default:me(()=>[hN,Z(_,{px4:"",py2:""},{default:me(()=>[Z(g,{categories:z(i),target:"side"},null,8,["categories"])]),_:1}),Z(S,{n:"sm orange",mt2:"",onClick:l},{default:me(()=>[Oe(" Close Split Screen ")]),_:1})]),_:1}))])}}}),mN={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,s)=>(r.size=s===t?r.max:r.min,s!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),s=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),s),r);let i=[t,t+1],a=this.panes[i[0]]||null,l=this.panes[i[1]]||null;const c=a.max<100&&o>=a.max+n.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,o);if(!f)return;({sums:n,panesToResize:i}=f),a=this.panes[i[0]]||null,l=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((s,o)=>{o>r[0]&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((s,o)=>{o>0&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((s,o)=>{o>n&&o<r[1]&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((s,o)=>{o<this.panesCount-1&&o>=n+1&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,s=document.createElement("div");s.classList.add("splitpanes__splitter"),n||(s.onmousedown=o=>this.onMouseDown(o,r),typeof window<"u"&&"ontouchstart"in window&&(s.ontouchstart=o=>this.onMouseDown(o,r)),s.onclick=o=>this.onSplitterClick(o,r+1)),this.dblClickSplitter&&(s.ondblclick=o=>this.onSplitterDblClick(o,r+1)),t.parentNode.insertBefore(s,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,s])=>n[r]=s)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(s=>(s.className.includes("splitpanes__pane")&&t++,s===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((s,o)=>s.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,s)=>r.index=s),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(s=>{s.size=Math.max(Math.min(e,s.max),s.min),t-=s.size,s.size>=s.max&&n.push(s.id),s.size<=s.min&&r.push(s.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&r++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let s=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-r),o.max),o.min)),s-=o.size}),s>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const s=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),r>.1&&this.readjustSizes(r,s,o))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((s,o)=>{if(e>0&&!t.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}else if(!n.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Je("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},gN=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vN={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function yN(e,t,n,r,s,o){return Q(),ye("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:en(e.style)},[rt(e.$slots,"default")],4)}const gh=gN(vN,[["render",yN]]);const vh=30,_N=Ce({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=ps(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,s=r?de({get:()=>n.value[r]||t.leftSize||vh,set:o=>{n.value[r]=o}}):K(t.leftSize||vh);return(o,i)=>(Q(),Te(z(mN),{horizontal:o.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>s.value=a[0].size)},{default:me(()=>[Z(z(gh),{"h-full":"",class:"of-auto!",size:z(s),"min-size":o.$slots.right?o.minSize||10:100},{default:me(()=>[rt(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(Q(),Te(z(gh),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:me(()=>[rt(o.$slots,"right")]),_:3},8,["min-size"])):Ge("",!0)]),_:3},8,["horizontal"]))}});const bN=Ce({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await ur[e.name]().then(r=>r.default||r);return()=>Je(n,e.layoutProps,t.slots)}}),wN=Ce({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Me(),r=pt(Ao),s=r===fs()?G1():r,o=de(()=>z(e.name)??s.meta.layout??"default"),i=K();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=o.value&&o.value in ur,c=s.meta.layoutTransition??Rw;return Ng(sa,l&&c,{default:()=>Je(kc,{suspensible:!0,onResolve:()=>{kt(a)}},{default:()=>Je(SN,{layoutProps:Un(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),SN=Ce({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&hr(um,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in ur)?t.slots.default?.():Je(bN,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),EN={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},_v=Ce({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},readonly:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const s=Mm(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=Io;return Q(),ye("div",EN,[rt(o.$slots,"icon",{},()=>[o.icon?(Q(),Te(a,{key:0,icon:o.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ge("",!0)]),ho(q("input",Un({"onUpdate:modelValue":i[0]||(i[0]=l=>Fe(s)?s.value=l:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[ob,z(s)]])])}}}),tc=gt(new Map);function xN(){const e=gu(),t=ot(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>kN()}],r=de(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return de(()=>[...n,...r.value,...Array.from(tc.values()).flatMap(s=>Sc(s))])}function TN(e){const t=DP();tc.set(t,e),mo(()=>{tc.delete(t)})}let al;const CN=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function kN(){return al||(al=(await we(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:CN.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),al}function bn(e){return Array.isArray?Array.isArray(e):Sv(e)==="[object Array]"}const PN=1/0;function AN(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-PN?"-0":t}function RN(e){return e==null?"":AN(e)}function Qt(e){return typeof e=="string"}function bv(e){return typeof e=="number"}function $N(e){return e===!0||e===!1||NN(e)&&Sv(e)=="[object Boolean]"}function wv(e){return typeof e=="object"}function NN(e){return wv(e)&&e!==null}function Ct(e){return e!=null}function ll(e){return!e.trim().length}function Sv(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ON="Incorrect 'index' type",IN=e=>`Invalid value for key ${e}`,LN=e=>`Pattern length exceeds max of ${e}.`,MN=e=>`Missing ${e} property in key`,DN=e=>`Property 'weight' in key '${e}' must be a positive integer`,yh=Object.prototype.hasOwnProperty;class FN{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Ev(r);this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Ev(e){let t=null,n=null,r=null,s=1,o=null;if(Qt(e)||bn(e))r=e,t=_h(e),n=nc(e);else{if(!yh.call(e,"name"))throw new Error(MN("name"));const i=e.name;if(r=i,yh.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(DN(i));t=_h(i),n=nc(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function _h(e){return bn(e)?e:e.split(".")}function nc(e){return bn(e)?e.join("."):e}function BN(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(Ct(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!Ct(c))return;if(a===i.length-1&&(Qt(c)||bv(c)||$N(c)))n.push(RN(c));else if(bn(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)s(c[u],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Qt(t)?t.split("."):t,0),r?n:n[0]}const jN={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},zN={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},HN={location:0,threshold:.6,distance:100},UN={useExtendedSearch:!1,getFn:BN,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var be={...zN,...jN,...HN,...UN};const VN=/[^ ]+/g;function WN(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(VN).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class vu{constructor({getFn:t=be.getFn,fieldNormWeight:n=be.fieldNormWeight}={}){this.norm=WN(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Qt(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Qt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Ct(t)||ll(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(Ct(i)){if(bn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(Ct(u))if(Qt(u)&&!ll(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else bn(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[o]=a}else if(Qt(i)&&!ll(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function xv(e,t,{getFn:n=be.getFn,fieldNormWeight:r=be.fieldNormWeight}={}){const s=new vu({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Ev)),s.setSources(t),s.create(),s}function GN(e,{getFn:t=be.getFn,fieldNormWeight:n=be.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new vu({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function ii(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=be.distance,ignoreLocation:o=be.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function qN(e=[],t=be.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const ir=32;function KN(e,t,n,{location:r=be.location,distance:s=be.distance,threshold:o=be.threshold,findAllMatches:i=be.findAllMatches,minMatchCharLength:a=be.minMatchCharLength,includeMatches:l=be.includeMatches,ignoreLocation:c=be.ignoreLocation}={}){if(t.length>ir)throw new Error(LN(ir));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let p=o,h=d;const g=a>1||l,b=g?Array(f):[];let S;for(;(S=e.indexOf(t,h))>-1;){let k=ii(t,{currentLocation:S,expectedLocation:d,distance:s,ignoreLocation:c});if(p=Math.min(k,p),h=S+u,g){let T=0;for(;T<u;)b[S+T]=1,T+=1}}h=-1;let _=[],y=1,v=u+f;const E=1<<u-1;for(let k=0;k<u;k+=1){let T=0,w=v;for(;T<w;)ii(t,{errors:k,currentLocation:d+w,expectedLocation:d,distance:s,ignoreLocation:c})<=p?T=w:v=w,w=Math.floor((v-T)/2+T);v=w;let C=Math.max(1,d-w+1),A=i?f:Math.min(d+w,f)+u,x=Array(A+2);x[A+1]=(1<<k)-1;for(let R=A;R>=C;R-=1){let L=R-1,I=n[e.charAt(L)];if(g&&(b[L]=+!!I),x[R]=(x[R+1]<<1|1)&I,k&&(x[R]|=(_[R+1]|_[R])<<1|1|_[R+1]),x[R]&E&&(y=ii(t,{errors:k,currentLocation:L,expectedLocation:d,distance:s,ignoreLocation:c}),y<=p)){if(p=y,h=L,h<=d)break;C=Math.max(1,2*d-h)}}if(ii(t,{errors:k+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:c})>p)break;_=x}const m={isMatch:h>=0,score:Math.max(.001,y)};if(g){const k=qN(b,a);k.length?l&&(m.indices=k):m.isMatch=!1}return m}function XN(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Tv{constructor(t,{location:n=be.location,threshold:r=be.threshold,distance:s=be.distance,includeMatches:o=be.includeMatches,findAllMatches:i=be.findAllMatches,minMatchCharLength:a=be.minMatchCharLength,isCaseSensitive:l=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,p)=>{this.chunks.push({pattern:d,alphabet:XN(d),startIndex:p})},f=this.pattern.length;if(f>ir){let d=0;const p=f%ir,h=f-p;for(;d<h;)u(this.pattern.substr(d,ir),d),d+=ir;if(p){const g=f-ir;u(this.pattern.substr(g),g)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let h={isMatch:!0,score:0};return r&&(h.indices=[[0,t.length-1]]),h}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],f=0,d=!1;this.chunks.forEach(({pattern:h,alphabet:g,startIndex:b})=>{const{isMatch:S,score:_,indices:y}=KN(t,h,g,{location:s+b,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});S&&(d=!0),f+=_,S&&y&&(u=[...u,...y])});let p={isMatch:d,score:d?f/this.chunks.length:1};return d&&r&&(p.indices=u),p}}class Kn{constructor(t){this.pattern=t}static isMultiMatch(t){return bh(t,this.multiRegex)}static isSingleMatch(t){return bh(t,this.singleRegex)}search(){}}function bh(e,t){const n=e.match(t);return n?n[1]:null}class YN extends Kn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class JN extends Kn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class ZN extends Kn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class QN extends Kn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class eO extends Kn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class tO extends Kn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Cv extends Kn{constructor(t,{location:n=be.location,threshold:r=be.threshold,distance:s=be.distance,includeMatches:o=be.includeMatches,findAllMatches:i=be.findAllMatches,minMatchCharLength:a=be.minMatchCharLength,isCaseSensitive:l=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){super(t),this._bitapSearch=new Tv(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class kv extends Kn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const rc=[YN,kv,ZN,QN,tO,eO,JN,Cv],wh=rc.length,nO=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,rO="|";function sO(e,t={}){return e.split(rO).map(n=>{let r=n.trim().split(nO).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<wh;){const u=rc[c];let f=u.isMultiMatch(a);f&&(s.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<wh;){const u=rc[c];let f=u.isSingleMatch(a);if(f){s.push(new u(f,t));break}}}return s})}const oO=new Set([Cv.type,kv.type]);class iO{constructor(t,{isCaseSensitive:n=be.isCaseSensitive,includeMatches:r=be.includeMatches,minMatchCharLength:s=be.minMatchCharLength,ignoreLocation:o=be.ignoreLocation,findAllMatches:i=be.findAllMatches,location:a=be.location,threshold:l=be.threshold,distance:c=be.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=sO(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];i.length=0,o=0;for(let f=0,d=u.length;f<d;f+=1){const p=u[f],{isMatch:h,indices:g,score:b}=p.search(t);if(h){if(o+=1,a+=b,r){const S=p.constructor.type;oO.has(S)?i=[...i,...g]:i.push(g)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const sc=[];function aO(...e){sc.push(...e)}function oc(e,t){for(let n=0,r=sc.length;n<r;n+=1){let s=sc[n];if(s.condition(e,t))return new s(e,t)}return new Tv(e,t)}const Wi={AND:"$and",OR:"$or"},ic={PATH:"$path",PATTERN:"$val"},ac=e=>!!(e[Wi.AND]||e[Wi.OR]),lO=e=>!!e[ic.PATH],cO=e=>!bn(e)&&wv(e)&&!ac(e),Sh=e=>({[Wi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Pv(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=lO(s);if(!i&&o.length>1&&!ac(s))return r(Sh(s));if(cO(s)){const l=i?s[ic.PATH]:o[0],c=i?s[ic.PATTERN]:s[l];if(!Qt(c))throw new Error(IN(l));const u={keyId:nc(l),pattern:c};return n&&(u.searcher=oc(c,t)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];bn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return ac(e)||(e=Sh(e)),r(e)}function uO(e,{ignoreFieldNorm:t=be.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function fO(e,t){const n=e.matches;t.matches=[],Ct(n)&&n.forEach(r=>{if(!Ct(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function dO(e,t){t.score=e.score}function hO(e,t,{includeMatches:n=be.includeMatches,includeScore:r=be.includeScore}={}){const s=[];return n&&s.push(fO),r&&s.push(dO),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class vs{constructor(t,n={},r){this.options={...be,...n},this.options.useExtendedSearch,this._keyStore=new FN(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof vu))throw new Error(ON);this._myIndex=n||xv(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Ct(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Qt(t)?Qt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return uO(l,{ignoreFieldNorm:a}),o&&l.sort(i),bv(n)&&n>-1&&(l=l.slice(0,n)),hO(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=oc(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!Ct(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:u}]})}),s}_searchLogical(t){const n=Pv(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:d}=a,p=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return p&&p.length?[{idx:c,item:l,matches:p}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const p=a.children[f],h=r(p,l,c);if(h.length)u.push(...h);else if(a.operator===Wi.AND)return[]}return u},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(Ct(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),i}_searchObjectList(t){const n=oc(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!Ct(i))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:i[u],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!Ct(n))return[];let s=[];if(bn(n))n.forEach(({v:o,i,n:a})=>{if(!Ct(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:u})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}vs.version="7.0.0";vs.createIndex=xv;vs.parseIndex=GN;vs.config=be;vs.parseQuery=Pv;aO(iO);const pO={"h-full":"",flex:"~ col"},mO={border:"b base","flex-none":""},gO={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},vO=["id","onClick","onMouseover"],yO={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},_O={"ws-nowrap":""},bO={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},wO={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},SO=q("span",{op50:""},"No results for",-1),EO={"text-primary":""},xO={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},TO={"text-xs":"",flex:"~ items-center gap2"},CO=q("span",{op75:""},"to navigate",-1),kO={"text-xs":"",flex:"~ items-center gap2"},PO={op75:""},AO={"text-xs":"",flex:"~ items-center gap2"},RO=q("span",{op75:""},"to select",-1),$O=Ce({__name:"CommandPalette",setup(e){const t=K(!1),n=K(""),r=xN(),s=K(),o=de(()=>s.value||r.value),i=de(()=>new vs(o.value,{keys:["id","title"],distance:50})),a=de(()=>n.value?i.value.search(n.value).map(p=>p.item):o.value||[]),l=K(0);Be(n,()=>{l.value=0,u()});function c(p){l.value=(l.value+p+a.value.length)%a.value.length,u()}function u(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(p){const h=await p.action();h?(s.value=h,n.value=""):(s.value=void 0,n.value="",t.value=!1)}wt("keydown",p=>{if((p.ctrlKey||p.metaKey)&&p.key==="k"){p.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(p.key){case"ArrowDown":case"ArrowUp":p.preventDefault(),c(p.key==="ArrowDown"?1:-1);break;case"Enter":{const h=a.value[l.value];h&&(p.preventDefault(),f(h));break}case"Escape":{p.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function d(p){p.key==="Backspace"&&!n.value&&s.value&&(p.preventDefault(),s.value=void 0,n.value="")}return(p,h)=>{const g=_v,b=Ca,S=Io,_=qn,y=Ta;return Q(),Te(y,{modelValue:z(t),"onUpdate:modelValue":h[1]||(h[1]=v=>Fe(t)?t.value=v:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:me(()=>[q("div",pO,[q("header",mO,[Z(g,{modelValue:z(n),"onUpdate:modelValue":h[0]||(h[0]=v=>Fe(n)?n.value=v:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),q("div",gO,[(Q(!0),ye(Le,null,go(z(a),(v,E)=>(Q(),ye("button",{id:v.id,key:v.id,onClick:m=>f(v),onMouseover:m=>l.value=E},[q("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:qe(z(l)===E?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Z(b,{icon:v.icon,title:v.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),q("span",yO,[q("span",_O,dt(v.title),1),q("span",bO,dt(v.description),1)]),z(l)===E?(Q(),Te(S,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ge("",!0)],2)],40,vO))),128)),z(a).length?Ge("",!0):(Q(),ye("div",wO,[Z(S,{op50:"",icon:"carbon-search"}),q("div",null,[SO,q("strong",EO,' "'+dt(z(n))+'" ',1)])]))]),q("footer",xO,[q("div",TO,[Z(_,{n:"xs",px1:""},{default:me(()=>[Z(S,{icon:"carbon-arrow-down"})]),_:1}),Z(_,{n:"xs",px1:""},{default:me(()=>[Z(S,{icon:"carbon-arrow-up"})]),_:1}),CO]),q("div",kO,[Z(_,{n:"xs",px1:""},{default:me(()=>[Oe(" Esc ")]),_:1}),q("span",PO,"to "+dt(z(s)?"go back":"close"),1)]),q("div",AO,[Z(_,{n:"xs",px1:""},{default:me(()=>[Z(S,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),RO])])])]),_:1},8,["modelValue"])}}}),NO=q("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[q("span",{class:"i-carbon-information-square"}),Oe(" Permissions required ")],-1),OO=q("p",null," This operation requires permissions for running command and access files from the browser. ",-1),IO=q("p",null,[Oe(" A request is sent to the server."),q("br"),Oe(" Please check your terminal for the instructions and then come back. ")],-1),LO={flex:"~ gap-3",mt5:"","justify-between":""},MO=["onSubmit"],DO=q("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),FO={flex:"~ inline gap-2 items-center"},BO={flex:"~ gap-2 items-end"},jO=Ce({__name:"AuthRequiredPanel",setup(e){Sn(async()=>{bt.value||ft.value&&await Pe.verifyAuthToken(ft.value)&&(bt.value=!0),bt.value||Xm()});const t=K(""),n=K(!1);async function r(){const s=t.value.trim();n.value=!1,await Pe.verifyAuthToken(s).then(o=>{o?(bt.value=!0,SE(s)):n.value=!0})}return(s,o)=>{const i=_v,a=qn,l=mu,c=yv;return("isDevAuthed"in s?s.isDevAuthed:z(bt))?rt(s.$slots,"default",{key:1}):(Q(),Te(c,{key:0},{default:me(()=>[Z(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:me(()=>[NO,OO,IO,q("div",LO,[q("form",{relative:"",flex:"~ col gap-2",onSubmit:cb(r,["prevent"])},[DO,q("div",FO,[Z(i,{modelValue:z(t),"onUpdate:modelValue":o[0]||(o[0]=u=>Fe(t)?t.value=u:null),placeholder:"Enter token here",n:z(n)?"red":void 0,onKeydown:jp(r,["enter"])},null,8,["modelValue","n","onKeydown"]),Z(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],40,MO),q("div",BO,[rt(s.$slots,"actions"),Z(a,{disabled:"",icon:"i-carbon-time"},{default:me(()=>[Oe(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),zO=Ce({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=qn,s=jO,o=Ta;return Q(),Te(z(qm),null,{default:me(({resolve:i})=>[Z(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:z(bt)),class:"border-none",onClose:a=>i(!1)},{default:me(()=>[Z(s,null,{actions:me(()=>[Z(r,{onClick:a=>i(!1)},{default:me(()=>[Oe(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),HO={},UO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},VO=__('<path fill="currentColor" d="M45.74 24c.26 0 .48-.215.48-.48V12.36s.6 1.08 1.68 2.88l4.68 8.04c.214.449.69.72 1.08.72h3.24V6h-3.24c-.216 0-.48.18-.48.48v11.28l-2.16-3.84L46.7 6.6c-.21-.373-.663-.6-1.08-.6H42.5v18h3.24ZM87.62 11.04h1.56a.72.72 0 0 0 .72-.72V7.2h3.36v3.84h3.24v2.88h-3.24v5.16c0 1.26.607 1.8 1.68 1.8h1.56V24h-2.04c-2.766 0-4.56-1.791-4.56-4.8v-5.28h-2.28v-2.88ZM71.42 11.04v7.44c0 1.68-.63 3.097-1.56 4.08-.93.983-2.212 1.44-3.96 1.44-1.748 0-3.15-.457-4.08-1.44-.913-.983-1.56-2.4-1.56-4.08v-7.44h1.92c.41 0 .812.075 1.08.36.268.27.36.428.36.84v6.24c0 .967.055 1.564.48 2.04.425.46.95.6 1.8.6.866 0 1.255-.14 1.68-.6.425-.476.48-1.073.48-2.04v-6.24c0-.412.092-.675.36-.96.235-.25.483-.245.84-.24h2.16ZM81.62 17.28l4.08-6.24h-3.12c-.393 0-.743.141-.96.48L79.7 14.4l-1.8-2.76c-.217-.339-.687-.6-1.08-.6h-3l4.08 6.12L73.46 24h3.12c.39 0 .742-.386.96-.72l2.16-3.24 2.28 3.36c.218.335.57.6.96.6h3.12l-4.44-6.72Z"></path><path fill="#00DC82" d="M20.66 24h13.32c.425 0 .832-.15 1.2-.36s.748-.475.96-.84c.212-.365.36-.779.36-1.2 0-.421-.147-.835-.36-1.2l-9-15.48a2.189 2.189 0 0 0-.84-.84 2.9 2.9 0 0 0-1.32-.36c-.425 0-.832.15-1.2.36s-.628.475-.84.84l-2.28 3.96L16.1 1.2c-.213-.365-.472-.75-.84-.96-.368-.21-.775-.24-1.2-.24-.425 0-.832.03-1.2.24s-.747.595-.96.96L.74 20.4c-.213.365-.24.779-.24 1.2 0 .421.028.835.24 1.2s.592.63.96.84c.368.21.775.36 1.2.36h8.4c3.328 0 5.751-1.493 7.44-4.32l4.08-7.08 2.16-3.72 6.6 11.28h-8.76L20.66 24Zm-9.48-3.84H5.3l8.76-15.12 4.44 7.56-2.941 5.127c-1.122 1.834-2.4 2.433-4.379 2.433Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M101.3 24V8.64c0-.795.645-1.44 1.44-1.44h4.2c1.58 0 3.011.341 4.32.96 1.309.619 2.338 1.506 3.12 2.76.782 1.238 1.2 2.855 1.2 4.68 0 1.809-.418 3.306-1.2 4.56-.782 1.254-1.811 2.141-3.12 2.76-1.309.619-2.74 1.08-4.32 1.08h-5.64Zm5.28-3.24c1.548 0 2.819-.375 3.84-1.2 1.021-.841 1.44-2.135 1.44-3.96 0-1.825-.419-3.239-1.44-4.08-1.021-.841-2.292-1.2-3.84-1.2h-1.68v10.44h1.68ZM128.66 19.68c-.239 1.285-.867 2.342-1.92 3.12s-2.356 1.2-3.84 1.2a6.232 6.232 0 0 1-3.36-.96 5.619 5.619 0 0 1-2.04-2.28 6.593 6.593 0 0 1-.72-3c0-1.063.169-2.064.6-3 .447-.936 1.146-1.693 2.04-2.28.91-.587 1.947-.84 3.24-.84 1.341 0 2.466.269 3.36.84.894.571 1.625 1.271 2.04 2.16.431.889.6 1.776.6 2.76l-.001.209c0 .129-.001.251.001.391a.501.501 0 0 1-.48.48h-8.28c.128.857.449 1.548.96 2.04.527.476 1.21.72 2.04.72.67 0 1.249-.106 1.68-.36.431-.27.712-.692.84-1.2h3.24Zm-6-5.64c-.766 0-1.353.203-1.8.6-.447.38-.696.975-.84 1.8h5.28c-.048-.698-.257-1.356-.72-1.8-.463-.46-1.138-.6-1.92-.6Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M128.78 11.88 133.22 24h3.12l4.32-12.12h-2.28c-.625 0-1.248.365-1.44.96l-2.16 6.84-2.16-6.84c-.192-.595-.815-.96-1.44-.96h-2.4Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M159.14 24c-1.213 0-2.266-.316-3.24-.84-.974-.54-1.737-1.224-2.28-2.16a6.53 6.53 0 0 1-.84-3.24c0-1.174.297-2.184.84-3.12.543-.952 1.306-1.756 2.28-2.28.974-.54 2.027-.72 3.24-.72s2.386.18 3.36.72c.974.524 1.737 1.328 2.28 2.28.543.936.72 1.946.72 3.12 0 1.174-.177 2.288-.72 3.24-.543.936-1.306 1.62-2.28 2.16a7.167 7.167 0 0 1-3.36.84Zm0-2.88c.894 0 1.601-.341 2.16-.96.559-.619.84-1.416.84-2.4 0-1-.189-1.758-.748-2.377a3 3 0 0 0-2.252-.983c-.894 0-1.601.341-2.16.96-.559.619-.84 1.4-.84 2.4 0 .984.281 1.781.84 2.4.559.619 1.266.96 2.16.96ZM169.82 23.16c.974.524 2.027.84 3.24.84a7.167 7.167 0 0 0 3.36-.84c.974-.54 1.737-1.224 2.28-2.16.543-.952.72-2.066.72-3.24 0-1.174-.177-2.184-.72-3.12-.543-.952-1.306-1.756-2.28-2.28-.974-.54-2.147-.84-3.36-.84a6.52 6.52 0 0 0-3.24.84c-.974.524-1.737 1.328-2.28 2.28a6.044 6.044 0 0 0-.84 3.12 6.53 6.53 0 0 0 .84 3.24c.543.936 1.306 1.62 2.28 2.16Zm5.4-3c-.559.619-1.266.96-2.16.96-.894 0-1.601-.341-2.16-.96-.559-.619-.84-1.416-.84-2.4 0-1 .281-1.781.84-2.4.559-.619 1.266-.96 2.16-.96.894 0 1.601.341 2.16.96.559.619.84 1.4.84 2.4 0 .984-.281 1.781-.84 2.4Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M184.82 24h-3.36V8.4h3.36V24ZM188.18 22.8c.926.762 2.236 1.2 3.72 1.2 1.42 0 2.514-.398 3.36-1.08.862-.698 1.32-1.617 1.32-2.76 0-1-.305-1.756-.72-2.28-.415-.524-.865-.905-1.44-1.08-.559-.19-1.282-.353-2.16-.48-.814-.111-1.417-.217-1.8-.36-.367-.159-.48-.396-.48-.84 0-.365.073-.634.36-.84.287-.206.721-.36 1.2-.36s.937.194 1.32.48c.399.27.536.588.6 1.08h2.373c.276 0 .497-.232.453-.504-.156-.955-.61-1.767-1.386-2.376-.894-.714-2.028-1.08-3.48-1.08-.814 0-1.506.163-2.16.48a3.842 3.842 0 0 0-1.56 1.32c-.367.54-.6 1.222-.6 1.92 0 .92.217 1.532.6 2.04.399.492.897.89 1.44 1.08.543.19 1.178.321 2.04.48.83.143 1.417.305 1.8.48s.6.516.6.96c0 .333-.145.618-.48.84-.319.222-.689.36-1.2.36-.622 0-1.161-.178-1.56-.48a2.022 2.022 0 0 1-.72-1.32h-2.376a.449.449 0 0 0-.457.502c.149 1.06.605 1.944 1.393 2.618ZM145.58 24h3.6V10.32h3.6a1.44 1.44 0 0 0 1.44-1.44V7.2H142.1a1.44 1.44 0 0 0-1.44 1.44v1.68h4.92V24Z"></path>',6),WO=[VO];function GO(e,t){return Q(),ye("svg",UO,WO)}const qO=Oo(HO,[["render",GO]]),KO={key:0,flex:"~ col justify-center items-center gap-4",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-4":"","n-glass-effect":""},XO=q("div",{"flex-auto":""},null,-1),YO={flex:"~","mt-8":"","items-center":"","justify-center":""},JO={flex:"~ gap-2","items-center":"",op50:""},ZO=q("div",{border:"t base",my2:"","h-1px":"","w-10":""},null,-1),QO={flex:"~ gap-2","animate-pulse":"","items-center":"","text-xl":"","text-yellow":""},e2=q("div",{"flex-auto":""},null,-1),t2=Ce({__name:"DisconnectIndicator",setup(e){function t(){window.location.reload()}return(n,r)=>{const s=qO,o=Io,i=qn;return Q(),Te(xp,{to:"body"},[("wsConnectingDebounced"in n?n.wsConnectingDebounced:z(pE))?(Q(),ye("div",KO,[XO,q("div",YO,[Z(s,{"h-8":""})]),q("div",JO,[Z(o,{icon:"i-carbon-wifi-off"}),Oe(" Disconnected from Server ")]),ZO,q("div",QO,[Z(o,{icon:"i-carbon-circle-dash","animate-spin":""}),Oe(" Retrying... ")]),e2,Z(i,{n:"sm yellow",px2:"",py0:"",op40:"",onClick:r[0]||(r[0]=a=>t())},{default:me(()=>[Oe(" Reload DevTools Page ")]),_:1})])):Ge("",!0)])}}}),n2={p4:"",flex:"~ col gap-1"},r2=q("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),s2={op50:""},o2={flex:"~ gap-3",mt2:"","justify-end":""},i2=Ce({__name:"RestartDialogs",setup(e){const t=Me(),n=yE(),r=ct(),s=qc();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(l=>{l&&(Pe.restartNuxt(),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(o,i)=>{const a=qn,l=Ta;return Q(),Te(z(s),null,{default:me(({resolve:c,args:u})=>[Z(l,{"model-value":!0,onClose:f=>c(!1)},{default:me(()=>[q("div",n2,[r2,q("p",s2,dt(u[0]),1),q("div",o2,[Z(a,{onClick:f=>c(!1)},{default:me(()=>[Oe(" Cancel ")]),_:2},1032,["onClick"]),Z(a,{n:"solid primary",onClick:f=>c(!0)},{default:me(()=>[Oe(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function a2(){return fa("schema:input",null)}const Eh=K([]),xh=K();function l2(){const e=Me(),t=ct(),n=ot();Object.assign(Vm,{async refresh(o){e.hooks.callHookParallel("app:data:refresh",[o])},async callHook(o,...i){e.hooks.callHookParallel(o,...i)},async onTerminalData(o){e.hooks.callHookParallel("devtools:terminal:data",o)},async onTerminalExit(o){e.hooks.callHookParallel("devtools:terminal:exit",o);const i=Eh.value.findIndex(a=>a.processId===o.id);i!==-1&&Eh.value.splice(i,1),xh.value?.processId===o.id&&(xh.value=void 0)},async navigateTo(o){t.value.devtools.open(),n.currentRoute.value?.path!==o&&n.push(o)}}),Pe.getModuleOptions().then(o=>{o.disableAuthorization&&(bt.value=!0,ft.value||="disabled")});const{hiddenTabs:r,pinnedTabs:s}=Tr();_a("open",{hiddenTabs:r.value.join(","),pinnedTabs:s.value.join(",")},!0)}const c2=Si(()=>we(()=>import("./DataSchemaDrawer.ecd92b92.js"),["./DataSchemaDrawer.ecd92b92.js","./NSelect.vue.9e5ebac9.js","./NSwitch.vue.2e265fe1.js","./NDropdown.vue.54157271.js","./NCodeBlock.vue.7cb5f01d.js","./client.b2473ec3.js","./NCodeBlock.6994516c.css","./NDrawer.vue.15b4d748.js"],import.meta.url).then(e=>e.default||e)),u2={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},f2=Ce({__name:"app",setup(e){we(()=>import("./unocss-runtime.16c4cc56.js"),[],import.meta.url),hw({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),l2();const t=ct(),n=fs(),r=sg(),s=de(()=>n.path.startsWith("/__")||n.path==="/"),o=de(()=>!t.value&&!bP.value);Be(()=>t.value?.app.colorMode.value,c=>{c&&(r.value=c)},{immediate:!0}),addEventListener("keydown",c=>{c.code==="KeyD"&&c.altKey&&(t.value?.devtools.close(),c.preventDefault())});const{scale:i,sidebarExpanded:a}=Tr(),l=a2();return Sn(async()=>{const c=wP();Gr(()=>{window.__NUXT_DEVTOOLS__=c.value}),Gr(()=>{document.body.style.fontSize=`${i.value*15}px`}),bt.value||ft.value&&await Pe.verifyAuthToken(ft.value)&&(bt.value=!0)}),TN(()=>ql.value?[{id:"action:split-screen",title:`${Ln.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Ln.value=!Ln.value}}]:[]),(c,u)=>{const f=gR,d=yR,p=xR,h=J$,g=tN,b=pN,S=_N,_=wN,y=$O,v=zO,E=t2,m=i2,k=c2;return Q(),ye("div",u2,[Z(f),Z(d),z(o)?(Q(),Te(p,{key:0},{default:me(()=>[Oe(" Connecting.... ")]),_:1})):(Q(),ye("div",{key:1,class:qe(z(s)?"flex":z(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[ho(Z(h,{"of-x-hidden":"","of-y-auto":""},null,512),[[Sl,!z(s)]]),Z(_,null,{default:me(()=>[Z(S,{"storage-key":"devtools:split-screen-mode","min-size":20},Jy({left:me(()=>[Z(g)]),_:2},[!z(s)&&("splitScreenEnabled"in c?c.splitScreenEnabled:z(Ln))&&z(ql)?{name:"right",fn:me(()=>[Z(b)]),key:"0"}:void 0]),1024)]),_:1}),Z(y),Z(v)],2)),Z(E),Z(m),u._lazyshow1||z(l)?(u._lazyshow1=!0,Q(),ye(Le,null,[ho(q("div",null,[Z(k)],512),[[Sl,z(l)]])],64)):Ge("v-show-if",!0)])}}}),d2={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
25
+ */function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function dh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fh(Object(n),!0).forEach(function(r){t$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function t$(e,t,n){return t=r$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n$(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r$(e){var t=n$(e,"string");return typeof t=="symbol"?t:String(t)}var hh={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},s$=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},o$=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},lo=function(t){return t?.key==="Tab"||t?.keyCode===9},i$=function(t){return lo(t)&&!t.shiftKey},a$=function(t){return lo(t)&&t.shiftKey},ph=function(t){return setTimeout(t,0)},mh=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},Ws=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},ii=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},l$=[],c$=function(t,n){var r=n?.document||document,s=n?.trapStack||l$,o=dh({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:i$,isKeyBackward:a$},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(x,P,R){return x&&x[P]!==void 0?x[P]:o[R||P]},c=function(x,P){var R=typeof P?.composedPath=="function"?P.composedPath():void 0;return i.containerGroups.findIndex(function(L){var I=L.container,F=L.tabbableNodes;return I.contains(x)||R?.includes(I)||F.find(function(D){return D===x})})},u=function(x){var P=o[x];if(typeof P=="function"){for(var R=arguments.length,L=new Array(R>1?R-1:0),I=1;I<R;I++)L[I-1]=arguments[I];P=P.apply(void 0,L)}if(P===!0&&(P=void 0),!P){if(P===void 0||P===!1)return P;throw new Error("`".concat(x,"` was specified but was not a node, or did not return a node"))}var F=P;if(typeof P=="string"&&(F=r.querySelector(P),!F))throw new Error("`".concat(x,"` as selector refers to no known node"));return F},f=function(){var x=u("initialFocus");if(x===!1)return!1;if(x===void 0||!il(x,o.tabbableOptions))if(c(r.activeElement)>=0)x=r.activeElement;else{var P=i.tabbableGroups[0],R=P&&P.firstTabbableNode;x=R||u("fallbackFocus")}if(!x)throw new Error("Your focus-trap needs to have at least one focusable element");return x},d=function(){if(i.containerGroups=i.containers.map(function(x){var P=ZR(x,o.tabbableOptions),R=QR(x,o.tabbableOptions),L=P.length>0?P[0]:void 0,I=P.length>0?P[P.length-1]:void 0,F=R.find(function(ee){return $r(ee)}),D=R.slice().reverse().find(function(ee){return $r(ee)}),U=!!P.find(function(ee){return or(ee)>0});return{container:x,tabbableNodes:P,focusableNodes:R,posTabIndexesFound:U,firstTabbableNode:L,lastTabbableNode:I,firstDomTabbableNode:F,lastDomTabbableNode:D,nextTabbableNode:function(re){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,he=P.indexOf(re);return he<0?oe?R.slice(R.indexOf(re)+1).find(function(ue){return $r(ue)}):R.slice(0,R.indexOf(re)).reverse().find(function(ue){return $r(ue)}):P[he+(oe?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(x){return x.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(x){return x.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function A(x){var P=x.activeElement;if(P)return P.shadowRoot&&P.shadowRoot.activeElement!==null?A(P.shadowRoot):P},h=function A(x){if(x!==!1&&x!==p(document)){if(!x||!x.focus){A(f());return}x.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=x,s$(x)&&x.select()}},g=function(x){var P=u("setReturnFocus",x);return P||(P===!1?!1:x)},b=function(x){var P=x.target,R=x.event,L=x.isBackward,I=L===void 0?!1:L;P=P||ii(R),d();var F=null;if(i.tabbableGroups.length>0){var D=c(P,R),U=D>=0?i.containerGroups[D]:void 0;if(D<0)I?F=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:F=i.tabbableGroups[0].firstTabbableNode;else if(I){var ee=mh(i.tabbableGroups,function($e){var O=$e.firstTabbableNode;return P===O});if(ee<0&&(U.container===P||il(P,o.tabbableOptions)&&!$r(P,o.tabbableOptions)&&!U.nextTabbableNode(P,!1))&&(ee=D),ee>=0){var re=ee===0?i.tabbableGroups.length-1:ee-1,oe=i.tabbableGroups[re];F=or(P)>=0?oe.lastTabbableNode:oe.lastDomTabbableNode}else lo(R)||(F=U.nextTabbableNode(P,!1))}else{var he=mh(i.tabbableGroups,function($e){var O=$e.lastTabbableNode;return P===O});if(he<0&&(U.container===P||il(P,o.tabbableOptions)&&!$r(P,o.tabbableOptions)&&!U.nextTabbableNode(P))&&(he=D),he>=0){var ue=he===i.tabbableGroups.length-1?0:he+1,Se=i.tabbableGroups[ue];F=or(P)>=0?Se.firstTabbableNode:Se.firstDomTabbableNode}else lo(R)||(F=U.nextTabbableNode(P))}}else F=u("fallbackFocus");return F},S=function(x){var P=ii(x);if(!(c(P,x)>=0)){if(Ws(o.clickOutsideDeactivates,x)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Ws(o.allowOutsideClick,x)||x.preventDefault()}},_=function(x){var P=ii(x),R=c(P,x)>=0;if(R||P instanceof Document)R&&(i.mostRecentlyFocusedNode=P);else{x.stopImmediatePropagation();var L,I=!0;if(i.mostRecentlyFocusedNode)if(or(i.mostRecentlyFocusedNode)>0){var F=c(i.mostRecentlyFocusedNode),D=i.containerGroups[F].tabbableNodes;if(D.length>0){var U=D.findIndex(function(ee){return ee===i.mostRecentlyFocusedNode});U>=0&&(o.isKeyForward(i.recentNavEvent)?U+1<D.length&&(L=D[U+1],I=!1):U-1>=0&&(L=D[U-1],I=!1))}}else i.containerGroups.some(function(ee){return ee.tabbableNodes.some(function(re){return or(re)>0})})||(I=!1);else I=!1;I&&(L=b({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(L||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},y=function(x){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=x;var R=b({event:x,isBackward:P});R&&(lo(x)&&x.preventDefault(),h(R))},v=function(x){if(o$(x)&&Ws(o.escapeDeactivates,x)!==!1){x.preventDefault(),a.deactivate();return}(o.isKeyForward(x)||o.isKeyBackward(x))&&y(x,o.isKeyBackward(x))},E=function(x){var P=ii(x);c(P,x)>=0||Ws(o.clickOutsideDeactivates,x)||Ws(o.allowOutsideClick,x)||(x.preventDefault(),x.stopImmediatePropagation())},m=function(){if(i.active)return hh.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?ph(function(){h(f())}):h(f()),r.addEventListener("focusin",_,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",v,{capture:!0,passive:!1}),a},k=function(){if(i.active)return r.removeEventListener("focusin",_,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",v,!0),a},T=function(x){var P=x.some(function(R){var L=Array.from(R.removedNodes);return L.some(function(I){return I===i.mostRecentlyFocusedNode})});P&&h(f())},w=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,C=function(){w&&(w.disconnect(),i.active&&!i.paused&&i.containers.map(function(x){w.observe(x,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(x){if(i.active)return this;var P=l(x,"onActivate"),R=l(x,"onPostActivate"),L=l(x,"checkCanFocusTrap");L||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,P?.();var I=function(){L&&d(),m(),C(),R?.()};return L?(L(i.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(x){if(!i.active)return this;var P=dh({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},x);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,C(),hh.deactivateTrap(s,a);var R=l(P,"onDeactivate"),L=l(P,"onPostDeactivate"),I=l(P,"checkCanReturnFocus"),F=l(P,"returnFocus","returnFocusOnDeactivate");R?.();var D=function(){ph(function(){F&&h(g(i.nodeFocusedBeforeActivation)),L?.()})};return F&&I?(I(g(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(x){if(i.paused||!i.active)return this;var P=l(x,"onPause"),R=l(x,"onPostPause");return i.paused=!0,P?.(),k(),C(),R?.(),this},unpause:function(x){if(!i.paused||!i.active)return this;var P=l(x,"onUnpause"),R=l(x,"onPostUnpause");return i.paused=!1,P?.(),d(),m(),C(),R?.(),this},updateContainerElements:function(x){var P=[].concat(x).filter(Boolean);return i.containers=P.map(function(R){return typeof R=="string"?r.querySelector(R):R}),i.active&&d(),C(),this}},a.updateContainerElements(t),a};function u$(e,t={}){let n;const{immediate:r,...s}=t,o=K(!1),i=K(!1),a=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),c=()=>{n&&(n.pause(),i.value=!0)},u=()=>{n&&(n.unpause(),i.value=!1)};return Be(()=>ht(e),f=>{f&&(n=c$(f,{...s,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),_n(()=>l()),{hasFocus:o,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const f$={inheritAttrs:!1},Ta=Ce({...f$,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,s=Mm(n,"modelValue",r,{passive:!0}),o=K(null),i=K(!1),{activate:a,deactivate:l}=u$(de(()=>o.value||document.body),{immediate:!1});return qr(()=>{!i.value&&s.value&&(i.value=!0),s.value&&o.value?kt(a):l()}),Kc(o,()=>{n.modelValue&&n.autoClose&&(s.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=mu;return i.value?(Q(),Te(xp,{key:0,to:"body"},[po(q("div",{class:qe(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[z(s)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[q("div",{class:qe(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),Z(f,Un(c.$attrs,{ref_key:"card",ref:o,class:"max-h-screen of-auto"}),{default:me(()=>[rt(c.$slots,"default")]),_:3},16)],2),[[Sl,z(s)]])])):Ge("",!0)}}});function d$(){return fa("virtual-files:current","")}function Z2(){return fa("terminals:current","")}function Q2(){return fa("server-routes:current","")}function eI(){const e=BP(),t=zP(),n=ot(),r=d$();return async s=>{const o=e.value?.buildDir,i=o&&s.startsWith(o)?`#build${s.slice(o.length)}`:s,[a,l=1,c=0]=i.split(/:/g),u=t.value?.entries.find(f=>f.path===a||f.id===a)||t.value?.entries.find(f=>f.path===s||f.id===s);u?(r.value=u.id,n.push("/modules/virtual-files")):await Pe.openInEditor(s)}}function h$(){const e=PS();return(t,n)=>{e.copy(t),_a("copy",{copyType:n}),Jc({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const p$=q("div",{"carbon-launch":""},null,-1),m$=q("div",{"carbon-launch":""},null,-1),g$=q("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),v$=q("h1",{"text-3xl":""}," Popup is not Supported ",-1),y$=q("p",null,[Oe(" To popup the DevTools, it requires the "),q("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Oe(" which is currently in experimental state. ")],-1),_$=q("p",null,[Oe(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),q("code",null,"#document-picture-in-picture-api"),Oe(". ")],-1),b$=Ce({__name:"PictureInPictureButton",setup(e){const t=ct(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=K(!1),s=h$();function o(){const i=t.value?.devtools?.popup;i&&(_a("popup"),i())}return(i,a)=>{const l=qn,c=Ta;return z(n)?Ge("",!0):(Q(),ye(Le,{key:0},[z(t)?.devtools.popup?(Q(),Te(l,{key:0,n:"sm primary",onClick:a[0]||(a[0]=u=>o())},{default:me(()=>[p$,Oe(" Popup ")]),_:1})):(Q(),ye(Le,{key:1},[Z(l,{n:"sm primary",onClick:a[1]||(a[1]=u=>r.value=!0)},{default:me(()=>[m$,Oe(" Popup "),g$]),_:1}),Z(c,{modelValue:z(r),"onUpdate:modelValue":a[4]||(a[4]=u=>Fe(r)?r.value=u:null),class:"max-w-150 p6 pt-2 prose",onClose:a[5]||(a[5]=u=>r.value=!1)},{default:me(()=>[v$,y$,_$,q("p",null,[Oe(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),Z(l,{n:"xs primary",title:"Click to Copy",onClick:a[2]||(a[2]=u=>z(s)("chrome://flags/#document-picture-in-picture-api","external-docs"))},{default:me(()=>[Oe(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Oe(" and restart the browser. ")]),q("div",null,[Z(l,{onClick:a[3]||(a[3]=u=>r.value=!1)},{default:me(()=>[Oe(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),w$={px3:"",py2:"",border:"b base",flex:"~ gap-2"},S$=q("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),E$=q("div",{"i-carbon-settings-adjust":""},null,-1),x$={px3:"",py2:"",border:"b base",flex:"~ gap-2"},T$=q("div",{"i-carbon-split-screen":""},null,-1),C$={px3:"",py2:"",flex:"~ gap2"},k$=Ce({__name:"DockingPanel",setup(e){const t=ct(),n=Me(),{sidebarExpanded:r}=Tr();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),qh(t)}function o(){location.reload()}function i(){Ln.value=!Ln.value}return(a,l)=>{const c=qn,u=IR,f=Lo,d=b$;return Q(),ye("div",null,[q("div",w$,[Z(u,null,{default:me(({toggle:p,isDark:h})=>[Z(c,{n:"sm primary",onClick:p},{default:me(()=>[S$,Oe(" "+dt(h.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),Z(c,{n:"sm primary",onClick:l[0]||(l[0]=p=>r.value=!z(r))},{default:me(()=>[Z(f,{icon:z(r)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Oe(" "+dt(z(r)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),Z(c,{n:"sm primary",to:"/settings"},{default:me(()=>[E$,Oe(" Settings ")]),_:1})]),q("div",x$,[("splitScreenAvailable"in a?a.splitScreenAvailable:z(ql))?(Q(),Te(c,{key:0,n:"sm primary",onClick:i},{default:me(()=>[T$,Oe(" "+dt(("splitScreenEnabled"in a?a.splitScreenEnabled:z(Ln))?"Close Split Screen":"Split Screen"),1)]),_:1})):Ge("",!0),Z(d)]),q("div",C$,[Z(c,{n:"primary sm",onClick:s},{default:me(()=>[Oe(" Refetch Data ")]),_:1}),Z(c,{n:"primary sm",onClick:o},{default:me(()=>[Oe(" Refresh Page ")]),_:1})])])}}}),P$=["src","alt"],A$=["title"],Ca=Ce({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Q(),ye("img",Un({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,P$)):(Q(),ye("div",Un({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,A$))}}),R$={flex:"~ items-center gap-3"},$$={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},N$={"translate-y-0.5px":""},O$={key:0,hidden:"","lg:block":""},mv=Ce({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=ds(),r=de(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),s=de(()=>"badge"in t.tab&&t.tab.badge?.()),o=de(()=>n.path.startsWith(r.value));function i(){_a("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(Ig.value=t.tab.name)}return(a,l)=>{const c=Ca,u=vn("VTooltip");return Q(),Te(u,{disabled:!a.minimized,placement:"right",class:qe({"w-full":!a.minimized})},{popper:me(()=>[q("div",null,dt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Q(),ye("div",O$,[(Q(),Te(Gr(a.tab.extraTabVNode)))])):Ge("",!0)]),default:me(()=>[(Q(),Te(Gr(a.target==="main"?z(lv):"button"),{to:z(r),flex:`~ items-center ${a.minimized?"justify-center":"justify-between"}`,hover:"bg-active",relative:"",block:"","h-10":"",w:a.minimized?"10":"full","select-none":"",rounded:a.minimized?"xl":"",p:a.minimized?"1":"x3","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:me(()=>[q("div",R$,[Z(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?Ge("",!0):(Q(),ye("span",$$,dt(a.tab.title),1))]),z(s)?(Q(),ye("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:qe([z(o)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[q("span",N$,dt(("toValue"in a?a.toValue:z(Sc))(z(s))),1)],2)):Ge("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function I$(){const e=jP(),t=Tr(),n=ot(),r=de(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=de(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return de(()=>[...r.value,...s.value])}function gv(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function mi(e){const{pinnedTabs:t}=Tr();return de(()=>{const n=gv();for(const r of z(e)){let s=r.category||"app";t.value.includes(r.name)&&(s="pinned"),n[s]?n[s].push(r):console.warn(`Unknown tab category: ${s}`)}for(const r of Object.keys(n))n[r].length===0&&delete n[r];return n.pinned?.length&&n.pinned.sort((r,s)=>t.value.indexOf(r.name)-t.value.indexOf(s.name)),Object.entries(n)})}function gu(){const e=I$(),t=Tr(),n=Object.keys(gv()),r=e.value.map(s=>s?.show?.());return de(()=>e.value.filter((s,o)=>{const i=s,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||r[o]&&!Sc(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app")&&!a)}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function tI(){const e=Cg(),t=$g();return de(()=>(e.value?.getRoutes()||[]).map(n=>Rg(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const L$={flex:"~ col gap-1","max-w-80":"",py1:""},M$={key:0,"h-1px":"",border:"b base"},D$={flex:"~ wrap",px1:""},vv=Ce({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=mv;return Q(),ye("div",L$,[(Q(!0),ye(Le,null,vo(t.categories,([s,o],i)=>(Q(),ye(Le,{key:s},[o.length?(Q(),ye(Le,{key:0},[i?(Q(),ye("div",M$)):Ge("",!0),q("div",D$,[(Q(!0),ye(Le,null,vo(o,a=>(Q(),Te(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Ge("",!0)],64))),128))])}}}),F$={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},B$={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},j$=["title"],z$=q("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),H$=q("span",{text:"lg white","font-600":""}," DevTools ",-1),U$=q("div",{"flex-auto":""},null,-1),V$=q("div",{"i-carbon-overflow-menu-vertical":""},null,-1),W$={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},G$=q("div",{"flex-auto":""},null,-1),q$=["flex"],K$={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},X$={"translate-y-0.5px":""},Y$=45,J$=Ce({__name:"SideNav",setup(e){const t=ct(),n=gu(),{sidebarExpanded:r,sidebarScrollable:s}=Tr(),o=K(!1),i=K(!1),a=K(),l=K(),c=K();function u(){o.value=!o.value}function f(){i.value=!i.value}const{height:d}=Dm(),p=de(()=>{const v=d.value-130;return Math.max(0,Math.floor(v/Y$))}),h=de(()=>n.value.slice(0,p.value)),g=de(()=>n.value.slice(p.value)),b=mi(n),S=mi(h),_=mi(g),y=de(()=>s.value||r.value?b.value:S.value);return Kc(a,v=>{l.value&&v.composedPath().includes(l.value)||c.value&&v.composedPath().includes(c.value)||(o.value=!1,i.value=!1)},{detectIframe:!0}),(v,E)=>{const m=k$,k=vn("VDropdown"),T=mv,w=Ca;return Q(),ye("div",F$,[q("div",B$,[Z(k,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:z(o),"auto-hide":!0},{popper:me(()=>[Z(m,{ref_key:"panel",ref:a},null,512)]),default:me(()=>[q("button",{ref_key:"buttonDocking",ref:l,flex:"~ items-center justify-center gap-2",hover:"bg-active",relative:"","h-10":"","select-none":"",p2:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:qe([z(t)?"":"saturate-0",z(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:z(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:u},[z$,z(r)?(Q(),ye(Le,{key:0},[H$,U$,V$],64)):Ge("",!0)],10,j$)]),_:1},8,["shown"])]),q("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:qe(["no-scrollbar",z(r)?"":"of-x-hidden of-y-auto"])},[(Q(!0),ye(Le,null,vo(z(y),([C,A],x)=>(Q(),ye(Le,{key:C},[A.length?(Q(),ye(Le,{key:0},[x?(Q(),ye("div",W$)):Ge("",!0),(Q(!0),ye(Le,null,vo(A,P=>(Q(),Te(T,{key:P.name,tab:P,minimized:!z(r)},null,8,["tab","minimized"]))),128))],64)):Ge("",!0)],64))),128)),G$],2),q("div",{flex:`~ items-center gap-1 ${z(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[z(g).length&&!z(s)&&!z(r)?(Q(),Te(k,{key:0,placement:"left-end",distance:12,triggers:[],shown:z(i),"auto-hide":!0},{popper:me(()=>[Z(vv,{categories:z(_),"max-w-80":"",target:"main"},null,8,["categories"])]),default:me(()=>[q("button",{ref_key:"buttonMoreTabs",ref:c,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:f},[Z(w,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),q("div",K$,[q("span",X$,dt(z(g).length),1)])],512)]),_:1},8,["shown"])):Ge("",!0),Z(T,{minimized:!z(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,q$)])}}}),Z$=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),ec=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Z$(e.route,n));return typeof r=="function"?r(e.route):r},Q$=(e,t)=>({default:()=>e?Je(Wy,e===!0?{}:e,t):t}),eN=Ce({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return hr(Ro,as(r)),()=>Je(e.vnode,{ref:e.vnodeRef})}}),tN=Ce({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=Me(),s=K(),o=pt(Ro,null);n({pageRef:s});const i=pt(um,null);let a;const l=r.deferHydration();return()=>Je(Cm,{name:e.name,route:e.route,...t},{default:c=>{const u=sN(o,c.route,c.Component),f=o&&o.matched.length===c.route.matched.length;if(!c.Component){if(a&&!f)return a;l();return}if(a&&i&&!i.isCurrent(c.route))return a;if(u&&o&&(!i||i?.isCurrent(o)))return f?a:null;const d=ec(c,e.pageKey),p=!!(e.transition??c.route.meta.pageTransition??Ll),h=p&&rN([e.transition,c.route.meta.pageTransition,Ll,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean));return a=Ng(sa,p&&h,Q$(e.keepalive??c.route.meta.keepalive??$w,Je(kc,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{kt(()=>r.callHook("page:finish",c.Component).finally(l))}},{default:()=>Je(eN,{key:d||void 0,vnode:c.Component,route:c.route,renderKey:d||void 0,trackRootNodes:p,vnodeRef:s})}))).default(),a}})}});function nN(e){return Array.isArray(e)?e:e?[e]:[]}function rN(e){const t=e.map(n=>({...n,onAfterLeave:nN(n.onAfterLeave)}));return lm(...t)}function sN(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&ec({route:t,Component:n})!==ec({route:e,Component:n})}const oN={},iN={class:"n-panel-grids-center"};function aN(e,t){return Q(),ye("div",iN,[rt(e.$slots,"default")])}const yv=Io(oN,[["render",aN]]),lN={"h-full":"","h-screen":"","of-hidden":""},cN={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},uN=q("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),fN=q("div",{"flex-auto":""},null,-1),dN={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},hN=q("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),pN=Ce({__name:"SplitScreen",setup(e){const t=gu(),n=Ht(),r=ds(),s=ot(),o=de(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=mi(o),a=de(()=>o.value.find(d=>d.name===Ig.value));Be(()=>a.value,d=>{if(!d)return;const p=s.getRoutes(),h=d&&"path"in d?p.find(b=>b.path===d.path):p.find(b=>b.name==="modules-custom-name");if(h?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const g=h?.components?.default;typeof g=="function"?n.value=Si(g):n.value=g},{immediate:!0});function l(){Ln.value=!1}const c=K(),u=K(),f=K(!1);return Kc(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,p)=>{const h=Ca,g=vv,b=vn("VDropdown"),S=qn,_=mu,y=yv,v=Iy("tooltip");return Q(),ye("div",lN,[q("div",cN,[Z(b,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:z(f),"auto-hide":!0},{popper:me(()=>[Z(g,{ref_key:"gridPanel",ref:c,categories:z(i),target:"side"},null,8,["categories"])]),default:me(()=>[q("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:p[0]||(p[0]=E=>f.value=!z(f))},[uN,z(a)?(Q(),ye(Le,{key:0},[Z(h,{"text-xl":"",icon:z(a).icon,title:z(a).title,"show-title":!1},null,8,["icon","title"]),q("span",null,dt(z(a).title),1)],64)):(Q(),ye(Le,{key:1},[Oe(" Select a tab ")],64))],512)]),_:1},8,["shown"]),fN,po(Z(S,{icon:"i-carbon:side-panel-open",title:"Close split screen",border:!1,onClick:l},null,512),[[v,"Close split screen"]])]),z(n)&&z(a)?(Q(),ye("div",dN,["view"in z(a)?(Q(),Te(Gr(z(n)),{key:z(a).name,name:z(a).name},null,8,["name"])):(Q(),Te(Gr(z(n)),{key:`tab-${z(a).name}`}))])):(Q(),Te(y,{key:1},{default:me(()=>[hN,Z(_,{px4:"",py2:""},{default:me(()=>[Z(g,{categories:z(i),target:"side"},null,8,["categories"])]),_:1}),Z(S,{n:"sm orange",mt2:"",onClick:l},{default:me(()=>[Oe(" Close Split Screen ")]),_:1})]),_:1}))])}}}),mN={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,s)=>(r.size=s===t?r.max:r.min,s!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),s=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),s),r);let i=[t,t+1],a=this.panes[i[0]]||null,l=this.panes[i[1]]||null;const c=a.max<100&&o>=a.max+n.prevPanesSize,u=l.max<100&&o<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,o);if(!f)return;({sums:n,panesToResize:i}=f),a=this.panes[i[0]]||null,l=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((s,o)=>{o>r[0]&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((s,o)=>{o>0&&o<=n&&(s.size=s.min,e.prevReachedMinPanes+=s.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((s,o)=>{o>n&&o<r[1]&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((s,o)=>{o<this.panesCount-1&&o>=n+1&&(s.size=s.min,e.nextReachedMinPanes+=s.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,s=document.createElement("div");s.classList.add("splitpanes__splitter"),n||(s.onmousedown=o=>this.onMouseDown(o,r),typeof window<"u"&&"ontouchstart"in window&&(s.ontouchstart=o=>this.onMouseDown(o,r)),s.onclick=o=>this.onSplitterClick(o,r+1)),this.dblClickSplitter&&(s.ondblclick=o=>this.onSplitterDblClick(o,r+1)),t.parentNode.insertBefore(s,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,s])=>n[r]=s)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(s=>(s.className.includes("splitpanes__pane")&&t++,s===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((s,o)=>s.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,s)=>r.index=s),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(s=>{s.size=Math.max(Math.min(e,s.max),s.min),t-=s.size,s.size>=s.max&&n.push(s.id),s.size<=s.min&&r.push(s.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&r++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let s=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-r),o.max),o.min)),s-=o.size}),s>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const s=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),r-=i.size,i.size>=i.max&&s.push(i.id),i.size<=i.min&&o.push(i.id)}),r>.1&&this.readjustSizes(r,s,o))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((s,o)=>{if(e>0&&!t.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}else if(!n.includes(s.id)){const i=Math.max(Math.min(s.size+r,s.max),s.min),a=i-s.size;e-=a,s.size=i}s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Je("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},gN=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vN={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function yN(e,t,n,r,s,o){return Q(),ye("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:en(e.style)},[rt(e.$slots,"default")],4)}const gh=gN(vN,[["render",yN]]);const vh=30,_N=Ce({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=ms(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,s=r?de({get:()=>n.value[r]||t.leftSize||vh,set:o=>{n.value[r]=o}}):K(t.leftSize||vh);return(o,i)=>(Q(),Te(z(mN),{horizontal:o.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>s.value=a[0].size)},{default:me(()=>[Z(z(gh),{"h-full":"",class:"of-auto!",size:z(s),"min-size":o.$slots.right?o.minSize||10:100},{default:me(()=>[rt(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(Q(),Te(z(gh),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:me(()=>[rt(o.$slots,"right")]),_:3},8,["min-size"])):Ge("",!0)]),_:3},8,["horizontal"]))}});const bN=Ce({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await ur[e.name]().then(r=>r.default||r);return()=>Je(n,e.layoutProps,t.slots)}}),wN=Ce({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Me(),r=pt(Ro),s=r===ds()?G1():r,o=de(()=>z(e.name)??s.meta.layout??"default"),i=K();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=o.value&&o.value in ur,c=s.meta.layoutTransition??Rw;return Ng(sa,l&&c,{default:()=>Je(kc,{suspensible:!0,onResolve:()=>{kt(a)}},{default:()=>Je(SN,{layoutProps:Un(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),SN=Ce({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&hr(um,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in ur)?t.slots.default?.():Je(bN,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),EN={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},_v=Ce({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},readonly:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const s=Mm(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=Lo;return Q(),ye("div",EN,[rt(o.$slots,"icon",{},()=>[o.icon?(Q(),Te(a,{key:0,icon:o.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ge("",!0)]),po(q("input",Un({"onUpdate:modelValue":i[0]||(i[0]=l=>Fe(s)?s.value=l:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[ob,z(s)]])])}}}),tc=gt(new Map);function xN(){const e=gu(),t=ot(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>kN()}],r=de(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return de(()=>[...n,...r.value,...Array.from(tc.values()).flatMap(s=>Sc(s))])}function TN(e){const t=DP();tc.set(t,e),go(()=>{tc.delete(t)})}let al;const CN=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function kN(){return al||(al=(await we(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:CN.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),al}function bn(e){return Array.isArray?Array.isArray(e):Sv(e)==="[object Array]"}const PN=1/0;function AN(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-PN?"-0":t}function RN(e){return e==null?"":AN(e)}function Qt(e){return typeof e=="string"}function bv(e){return typeof e=="number"}function $N(e){return e===!0||e===!1||NN(e)&&Sv(e)=="[object Boolean]"}function wv(e){return typeof e=="object"}function NN(e){return wv(e)&&e!==null}function Ct(e){return e!=null}function ll(e){return!e.trim().length}function Sv(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ON="Incorrect 'index' type",IN=e=>`Invalid value for key ${e}`,LN=e=>`Pattern length exceeds max of ${e}.`,MN=e=>`Missing ${e} property in key`,DN=e=>`Property 'weight' in key '${e}' must be a positive integer`,yh=Object.prototype.hasOwnProperty;class FN{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Ev(r);this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Ev(e){let t=null,n=null,r=null,s=1,o=null;if(Qt(e)||bn(e))r=e,t=_h(e),n=nc(e);else{if(!yh.call(e,"name"))throw new Error(MN("name"));const i=e.name;if(r=i,yh.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(DN(i));t=_h(i),n=nc(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function _h(e){return bn(e)?e:e.split(".")}function nc(e){return bn(e)?e.join("."):e}function BN(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(Ct(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!Ct(c))return;if(a===i.length-1&&(Qt(c)||bv(c)||$N(c)))n.push(RN(c));else if(bn(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)s(c[u],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Qt(t)?t.split("."):t,0),r?n:n[0]}const jN={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},zN={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},HN={location:0,threshold:.6,distance:100},UN={useExtendedSearch:!1,getFn:BN,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var be={...zN,...jN,...HN,...UN};const VN=/[^ ]+/g;function WN(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(VN).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class vu{constructor({getFn:t=be.getFn,fieldNormWeight:n=be.fieldNormWeight}={}){this.norm=WN(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Qt(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Qt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Ct(t)||ll(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(Ct(i)){if(bn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(Ct(u))if(Qt(u)&&!ll(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else bn(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[o]=a}else if(Qt(i)&&!ll(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function xv(e,t,{getFn:n=be.getFn,fieldNormWeight:r=be.fieldNormWeight}={}){const s=new vu({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Ev)),s.setSources(t),s.create(),s}function GN(e,{getFn:t=be.getFn,fieldNormWeight:n=be.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new vu({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function ai(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=be.distance,ignoreLocation:o=be.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function qN(e=[],t=be.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const ir=32;function KN(e,t,n,{location:r=be.location,distance:s=be.distance,threshold:o=be.threshold,findAllMatches:i=be.findAllMatches,minMatchCharLength:a=be.minMatchCharLength,includeMatches:l=be.includeMatches,ignoreLocation:c=be.ignoreLocation}={}){if(t.length>ir)throw new Error(LN(ir));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let p=o,h=d;const g=a>1||l,b=g?Array(f):[];let S;for(;(S=e.indexOf(t,h))>-1;){let k=ai(t,{currentLocation:S,expectedLocation:d,distance:s,ignoreLocation:c});if(p=Math.min(k,p),h=S+u,g){let T=0;for(;T<u;)b[S+T]=1,T+=1}}h=-1;let _=[],y=1,v=u+f;const E=1<<u-1;for(let k=0;k<u;k+=1){let T=0,w=v;for(;T<w;)ai(t,{errors:k,currentLocation:d+w,expectedLocation:d,distance:s,ignoreLocation:c})<=p?T=w:v=w,w=Math.floor((v-T)/2+T);v=w;let C=Math.max(1,d-w+1),A=i?f:Math.min(d+w,f)+u,x=Array(A+2);x[A+1]=(1<<k)-1;for(let R=A;R>=C;R-=1){let L=R-1,I=n[e.charAt(L)];if(g&&(b[L]=+!!I),x[R]=(x[R+1]<<1|1)&I,k&&(x[R]|=(_[R+1]|_[R])<<1|1|_[R+1]),x[R]&E&&(y=ai(t,{errors:k,currentLocation:L,expectedLocation:d,distance:s,ignoreLocation:c}),y<=p)){if(p=y,h=L,h<=d)break;C=Math.max(1,2*d-h)}}if(ai(t,{errors:k+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:c})>p)break;_=x}const m={isMatch:h>=0,score:Math.max(.001,y)};if(g){const k=qN(b,a);k.length?l&&(m.indices=k):m.isMatch=!1}return m}function XN(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Tv{constructor(t,{location:n=be.location,threshold:r=be.threshold,distance:s=be.distance,includeMatches:o=be.includeMatches,findAllMatches:i=be.findAllMatches,minMatchCharLength:a=be.minMatchCharLength,isCaseSensitive:l=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,p)=>{this.chunks.push({pattern:d,alphabet:XN(d),startIndex:p})},f=this.pattern.length;if(f>ir){let d=0;const p=f%ir,h=f-p;for(;d<h;)u(this.pattern.substr(d,ir),d),d+=ir;if(p){const g=f-ir;u(this.pattern.substr(g),g)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let h={isMatch:!0,score:0};return r&&(h.indices=[[0,t.length-1]]),h}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],f=0,d=!1;this.chunks.forEach(({pattern:h,alphabet:g,startIndex:b})=>{const{isMatch:S,score:_,indices:y}=KN(t,h,g,{location:s+b,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});S&&(d=!0),f+=_,S&&y&&(u=[...u,...y])});let p={isMatch:d,score:d?f/this.chunks.length:1};return d&&r&&(p.indices=u),p}}class Kn{constructor(t){this.pattern=t}static isMultiMatch(t){return bh(t,this.multiRegex)}static isSingleMatch(t){return bh(t,this.singleRegex)}search(){}}function bh(e,t){const n=e.match(t);return n?n[1]:null}class YN extends Kn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class JN extends Kn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class ZN extends Kn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class QN extends Kn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class eO extends Kn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class tO extends Kn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Cv extends Kn{constructor(t,{location:n=be.location,threshold:r=be.threshold,distance:s=be.distance,includeMatches:o=be.includeMatches,findAllMatches:i=be.findAllMatches,minMatchCharLength:a=be.minMatchCharLength,isCaseSensitive:l=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){super(t),this._bitapSearch=new Tv(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class kv extends Kn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const rc=[YN,kv,ZN,QN,tO,eO,JN,Cv],wh=rc.length,nO=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,rO="|";function sO(e,t={}){return e.split(rO).map(n=>{let r=n.trim().split(nO).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<wh;){const u=rc[c];let f=u.isMultiMatch(a);f&&(s.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<wh;){const u=rc[c];let f=u.isSingleMatch(a);if(f){s.push(new u(f,t));break}}}return s})}const oO=new Set([Cv.type,kv.type]);class iO{constructor(t,{isCaseSensitive:n=be.isCaseSensitive,includeMatches:r=be.includeMatches,minMatchCharLength:s=be.minMatchCharLength,ignoreLocation:o=be.ignoreLocation,findAllMatches:i=be.findAllMatches,location:a=be.location,threshold:l=be.threshold,distance:c=be.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=sO(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];i.length=0,o=0;for(let f=0,d=u.length;f<d;f+=1){const p=u[f],{isMatch:h,indices:g,score:b}=p.search(t);if(h){if(o+=1,a+=b,r){const S=p.constructor.type;oO.has(S)?i=[...i,...g]:i.push(g)}}else{a=0,o=0,i.length=0;break}}if(o){let f={isMatch:!0,score:a/o};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const sc=[];function aO(...e){sc.push(...e)}function oc(e,t){for(let n=0,r=sc.length;n<r;n+=1){let s=sc[n];if(s.condition(e,t))return new s(e,t)}return new Tv(e,t)}const Wi={AND:"$and",OR:"$or"},ic={PATH:"$path",PATTERN:"$val"},ac=e=>!!(e[Wi.AND]||e[Wi.OR]),lO=e=>!!e[ic.PATH],cO=e=>!bn(e)&&wv(e)&&!ac(e),Sh=e=>({[Wi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Pv(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=lO(s);if(!i&&o.length>1&&!ac(s))return r(Sh(s));if(cO(s)){const l=i?s[ic.PATH]:o[0],c=i?s[ic.PATTERN]:s[l];if(!Qt(c))throw new Error(IN(l));const u={keyId:nc(l),pattern:c};return n&&(u.searcher=oc(c,t)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];bn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return ac(e)||(e=Sh(e)),r(e)}function uO(e,{ignoreFieldNorm:t=be.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function fO(e,t){const n=e.matches;t.matches=[],Ct(n)&&n.forEach(r=>{if(!Ct(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function dO(e,t){t.score=e.score}function hO(e,t,{includeMatches:n=be.includeMatches,includeScore:r=be.includeScore}={}){const s=[];return n&&s.push(fO),r&&s.push(dO),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class ys{constructor(t,n={},r){this.options={...be,...n},this.options.useExtendedSearch,this._keyStore=new FN(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof vu))throw new Error(ON);this._myIndex=n||xv(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Ct(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Qt(t)?Qt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return uO(l,{ignoreFieldNorm:a}),o&&l.sort(i),bv(n)&&n>-1&&(l=l.slice(0,n)),hO(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=oc(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!Ct(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:u}]})}),s}_searchLogical(t){const n=Pv(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:d}=a,p=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return p&&p.length?[{idx:c,item:l,matches:p}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const p=a.children[f],h=r(p,l,c);if(h.length)u.push(...h);else if(a.operator===Wi.AND)return[]}return u},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(Ct(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),i}_searchObjectList(t){const n=oc(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!Ct(i))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:i[u],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!Ct(n))return[];let s=[];if(bn(n))n.forEach(({v:o,i,n:a})=>{if(!Ct(o))return;const{isMatch:l,score:c,indices:u}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:u})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}ys.version="7.0.0";ys.createIndex=xv;ys.parseIndex=GN;ys.config=be;ys.parseQuery=Pv;aO(iO);const pO={"h-full":"",flex:"~ col"},mO={border:"b base","flex-none":""},gO={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},vO=["id","onClick","onMouseover"],yO={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},_O={"ws-nowrap":""},bO={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},wO={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},SO=q("span",{op50:""},"No results for",-1),EO={"text-primary":""},xO={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},TO={"text-xs":"",flex:"~ items-center gap2"},CO=q("span",{op75:""},"to navigate",-1),kO={"text-xs":"",flex:"~ items-center gap2"},PO={op75:""},AO={"text-xs":"",flex:"~ items-center gap2"},RO=q("span",{op75:""},"to select",-1),$O=Ce({__name:"CommandPalette",setup(e){const t=K(!1),n=K(""),r=xN(),s=K(),o=de(()=>s.value||r.value),i=de(()=>new ys(o.value,{keys:["id","title"],distance:50})),a=de(()=>n.value?i.value.search(n.value).map(p=>p.item):o.value||[]),l=K(0);Be(n,()=>{l.value=0,u()});function c(p){l.value=(l.value+p+a.value.length)%a.value.length,u()}function u(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(p){const h=await p.action();h?(s.value=h,n.value=""):(s.value=void 0,n.value="",t.value=!1)}wt("keydown",p=>{if((p.ctrlKey||p.metaKey)&&p.key==="k"){p.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(p.key){case"ArrowDown":case"ArrowUp":p.preventDefault(),c(p.key==="ArrowDown"?1:-1);break;case"Enter":{const h=a.value[l.value];h&&(p.preventDefault(),f(h));break}case"Escape":{p.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function d(p){p.key==="Backspace"&&!n.value&&s.value&&(p.preventDefault(),s.value=void 0,n.value="")}return(p,h)=>{const g=_v,b=Ca,S=Lo,_=qn,y=Ta;return Q(),Te(y,{modelValue:z(t),"onUpdate:modelValue":h[1]||(h[1]=v=>Fe(t)?t.value=v:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:me(()=>[q("div",pO,[q("header",mO,[Z(g,{modelValue:z(n),"onUpdate:modelValue":h[0]||(h[0]=v=>Fe(n)?n.value=v:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),q("div",gO,[(Q(!0),ye(Le,null,vo(z(a),(v,E)=>(Q(),ye("button",{id:v.id,key:v.id,onClick:m=>f(v),onMouseover:m=>l.value=E},[q("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:qe(z(l)===E?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[Z(b,{icon:v.icon,title:v.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),q("span",yO,[q("span",_O,dt(v.title),1),q("span",bO,dt(v.description),1)]),z(l)===E?(Q(),Te(S,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ge("",!0)],2)],40,vO))),128)),z(a).length?Ge("",!0):(Q(),ye("div",wO,[Z(S,{op50:"",icon:"carbon-search"}),q("div",null,[SO,q("strong",EO,' "'+dt(z(n))+'" ',1)])]))]),q("footer",xO,[q("div",TO,[Z(_,{n:"xs",px1:""},{default:me(()=>[Z(S,{icon:"carbon-arrow-down"})]),_:1}),Z(_,{n:"xs",px1:""},{default:me(()=>[Z(S,{icon:"carbon-arrow-up"})]),_:1}),CO]),q("div",kO,[Z(_,{n:"xs",px1:""},{default:me(()=>[Oe(" Esc ")]),_:1}),q("span",PO,"to "+dt(z(s)?"go back":"close"),1)]),q("div",AO,[Z(_,{n:"xs",px1:""},{default:me(()=>[Z(S,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),RO])])])]),_:1},8,["modelValue"])}}}),NO=q("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[q("span",{class:"i-carbon-information-square"}),Oe(" Permissions required ")],-1),OO=q("p",null," This operation requires permissions for running command and access files from the browser. ",-1),IO=q("p",null,[Oe(" A request is sent to the server."),q("br"),Oe(" Please check your terminal for the instructions and then come back. ")],-1),LO={flex:"~ gap-3",mt5:"","justify-between":""},MO=["onSubmit"],DO=q("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),FO={flex:"~ inline gap-2 items-center"},BO={flex:"~ gap-2 items-end"},jO=Ce({__name:"AuthRequiredPanel",setup(e){Sn(async()=>{bt.value||ft.value&&await Pe.verifyAuthToken(ft.value)&&(bt.value=!0),bt.value||Xm()});const t=K(""),n=K(!1);async function r(){const s=t.value.trim();n.value=!1,await Pe.verifyAuthToken(s).then(o=>{o?(bt.value=!0,SE(s)):n.value=!0})}return(s,o)=>{const i=_v,a=qn,l=mu,c=yv;return("isDevAuthed"in s?s.isDevAuthed:z(bt))?rt(s.$slots,"default",{key:1}):(Q(),Te(c,{key:0},{default:me(()=>[Z(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:me(()=>[NO,OO,IO,q("div",LO,[q("form",{relative:"",flex:"~ col gap-2",onSubmit:cb(r,["prevent"])},[DO,q("div",FO,[Z(i,{modelValue:z(t),"onUpdate:modelValue":o[0]||(o[0]=u=>Fe(t)?t.value=u:null),placeholder:"Enter token here",n:z(n)?"red":void 0,onKeydown:jp(r,["enter"])},null,8,["modelValue","n","onKeydown"]),Z(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],40,MO),q("div",BO,[rt(s.$slots,"actions"),Z(a,{disabled:"",icon:"i-carbon-time"},{default:me(()=>[Oe(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),zO=Ce({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=qn,s=jO,o=Ta;return Q(),Te(z(qm),null,{default:me(({resolve:i})=>[Z(o,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:z(bt)),class:"border-none",onClose:a=>i(!1)},{default:me(()=>[Z(s,null,{actions:me(()=>[Z(r,{onClick:a=>i(!1)},{default:me(()=>[Oe(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),HO={},UO={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},VO=__('<path fill="currentColor" d="M45.74 24c.26 0 .48-.215.48-.48V12.36s.6 1.08 1.68 2.88l4.68 8.04c.214.449.69.72 1.08.72h3.24V6h-3.24c-.216 0-.48.18-.48.48v11.28l-2.16-3.84L46.7 6.6c-.21-.373-.663-.6-1.08-.6H42.5v18h3.24ZM87.62 11.04h1.56a.72.72 0 0 0 .72-.72V7.2h3.36v3.84h3.24v2.88h-3.24v5.16c0 1.26.607 1.8 1.68 1.8h1.56V24h-2.04c-2.766 0-4.56-1.791-4.56-4.8v-5.28h-2.28v-2.88ZM71.42 11.04v7.44c0 1.68-.63 3.097-1.56 4.08-.93.983-2.212 1.44-3.96 1.44-1.748 0-3.15-.457-4.08-1.44-.913-.983-1.56-2.4-1.56-4.08v-7.44h1.92c.41 0 .812.075 1.08.36.268.27.36.428.36.84v6.24c0 .967.055 1.564.48 2.04.425.46.95.6 1.8.6.866 0 1.255-.14 1.68-.6.425-.476.48-1.073.48-2.04v-6.24c0-.412.092-.675.36-.96.235-.25.483-.245.84-.24h2.16ZM81.62 17.28l4.08-6.24h-3.12c-.393 0-.743.141-.96.48L79.7 14.4l-1.8-2.76c-.217-.339-.687-.6-1.08-.6h-3l4.08 6.12L73.46 24h3.12c.39 0 .742-.386.96-.72l2.16-3.24 2.28 3.36c.218.335.57.6.96.6h3.12l-4.44-6.72Z"></path><path fill="#00DC82" d="M20.66 24h13.32c.425 0 .832-.15 1.2-.36s.748-.475.96-.84c.212-.365.36-.779.36-1.2 0-.421-.147-.835-.36-1.2l-9-15.48a2.189 2.189 0 0 0-.84-.84 2.9 2.9 0 0 0-1.32-.36c-.425 0-.832.15-1.2.36s-.628.475-.84.84l-2.28 3.96L16.1 1.2c-.213-.365-.472-.75-.84-.96-.368-.21-.775-.24-1.2-.24-.425 0-.832.03-1.2.24s-.747.595-.96.96L.74 20.4c-.213.365-.24.779-.24 1.2 0 .421.028.835.24 1.2s.592.63.96.84c.368.21.775.36 1.2.36h8.4c3.328 0 5.751-1.493 7.44-4.32l4.08-7.08 2.16-3.72 6.6 11.28h-8.76L20.66 24Zm-9.48-3.84H5.3l8.76-15.12 4.44 7.56-2.941 5.127c-1.122 1.834-2.4 2.433-4.379 2.433Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M101.3 24V8.64c0-.795.645-1.44 1.44-1.44h4.2c1.58 0 3.011.341 4.32.96 1.309.619 2.338 1.506 3.12 2.76.782 1.238 1.2 2.855 1.2 4.68 0 1.809-.418 3.306-1.2 4.56-.782 1.254-1.811 2.141-3.12 2.76-1.309.619-2.74 1.08-4.32 1.08h-5.64Zm5.28-3.24c1.548 0 2.819-.375 3.84-1.2 1.021-.841 1.44-2.135 1.44-3.96 0-1.825-.419-3.239-1.44-4.08-1.021-.841-2.292-1.2-3.84-1.2h-1.68v10.44h1.68ZM128.66 19.68c-.239 1.285-.867 2.342-1.92 3.12s-2.356 1.2-3.84 1.2a6.232 6.232 0 0 1-3.36-.96 5.619 5.619 0 0 1-2.04-2.28 6.593 6.593 0 0 1-.72-3c0-1.063.169-2.064.6-3 .447-.936 1.146-1.693 2.04-2.28.91-.587 1.947-.84 3.24-.84 1.341 0 2.466.269 3.36.84.894.571 1.625 1.271 2.04 2.16.431.889.6 1.776.6 2.76l-.001.209c0 .129-.001.251.001.391a.501.501 0 0 1-.48.48h-8.28c.128.857.449 1.548.96 2.04.527.476 1.21.72 2.04.72.67 0 1.249-.106 1.68-.36.431-.27.712-.692.84-1.2h3.24Zm-6-5.64c-.766 0-1.353.203-1.8.6-.447.38-.696.975-.84 1.8h5.28c-.048-.698-.257-1.356-.72-1.8-.463-.46-1.138-.6-1.92-.6Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M128.78 11.88 133.22 24h3.12l4.32-12.12h-2.28c-.625 0-1.248.365-1.44.96l-2.16 6.84-2.16-6.84c-.192-.595-.815-.96-1.44-.96h-2.4Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M159.14 24c-1.213 0-2.266-.316-3.24-.84-.974-.54-1.737-1.224-2.28-2.16a6.53 6.53 0 0 1-.84-3.24c0-1.174.297-2.184.84-3.12.543-.952 1.306-1.756 2.28-2.28.974-.54 2.027-.72 3.24-.72s2.386.18 3.36.72c.974.524 1.737 1.328 2.28 2.28.543.936.72 1.946.72 3.12 0 1.174-.177 2.288-.72 3.24-.543.936-1.306 1.62-2.28 2.16a7.167 7.167 0 0 1-3.36.84Zm0-2.88c.894 0 1.601-.341 2.16-.96.559-.619.84-1.416.84-2.4 0-1-.189-1.758-.748-2.377a3 3 0 0 0-2.252-.983c-.894 0-1.601.341-2.16.96-.559.619-.84 1.4-.84 2.4 0 .984.281 1.781.84 2.4.559.619 1.266.96 2.16.96ZM169.82 23.16c.974.524 2.027.84 3.24.84a7.167 7.167 0 0 0 3.36-.84c.974-.54 1.737-1.224 2.28-2.16.543-.952.72-2.066.72-3.24 0-1.174-.177-2.184-.72-3.12-.543-.952-1.306-1.756-2.28-2.28-.974-.54-2.147-.84-3.36-.84a6.52 6.52 0 0 0-3.24.84c-.974.524-1.737 1.328-2.28 2.28a6.044 6.044 0 0 0-.84 3.12 6.53 6.53 0 0 0 .84 3.24c.543.936 1.306 1.62 2.28 2.16Zm5.4-3c-.559.619-1.266.96-2.16.96-.894 0-1.601-.341-2.16-.96-.559-.619-.84-1.416-.84-2.4 0-1 .281-1.781.84-2.4.559-.619 1.266-.96 2.16-.96.894 0 1.601.341 2.16.96.559.619.84 1.4.84 2.4 0 .984-.281 1.781-.84 2.4Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M184.82 24h-3.36V8.4h3.36V24ZM188.18 22.8c.926.762 2.236 1.2 3.72 1.2 1.42 0 2.514-.398 3.36-1.08.862-.698 1.32-1.617 1.32-2.76 0-1-.305-1.756-.72-2.28-.415-.524-.865-.905-1.44-1.08-.559-.19-1.282-.353-2.16-.48-.814-.111-1.417-.217-1.8-.36-.367-.159-.48-.396-.48-.84 0-.365.073-.634.36-.84.287-.206.721-.36 1.2-.36s.937.194 1.32.48c.399.27.536.588.6 1.08h2.373c.276 0 .497-.232.453-.504-.156-.955-.61-1.767-1.386-2.376-.894-.714-2.028-1.08-3.48-1.08-.814 0-1.506.163-2.16.48a3.842 3.842 0 0 0-1.56 1.32c-.367.54-.6 1.222-.6 1.92 0 .92.217 1.532.6 2.04.399.492.897.89 1.44 1.08.543.19 1.178.321 2.04.48.83.143 1.417.305 1.8.48s.6.516.6.96c0 .333-.145.618-.48.84-.319.222-.689.36-1.2.36-.622 0-1.161-.178-1.56-.48a2.022 2.022 0 0 1-.72-1.32h-2.376a.449.449 0 0 0-.457.502c.149 1.06.605 1.944 1.393 2.618ZM145.58 24h3.6V10.32h3.6a1.44 1.44 0 0 0 1.44-1.44V7.2H142.1a1.44 1.44 0 0 0-1.44 1.44v1.68h4.92V24Z"></path>',6),WO=[VO];function GO(e,t){return Q(),ye("svg",UO,WO)}const qO=Io(HO,[["render",GO]]),KO={key:0,flex:"~ col justify-center items-center gap-4",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-4":"","n-glass-effect":""},XO=q("div",{"flex-auto":""},null,-1),YO={flex:"~","mt-8":"","items-center":"","justify-center":""},JO={flex:"~ gap-2","items-center":"",op50:""},ZO=q("div",{border:"t base",my2:"","h-1px":"","w-10":""},null,-1),QO={flex:"~ gap-2","animate-pulse":"","items-center":"","text-xl":"","text-yellow":""},e2=q("div",{"flex-auto":""},null,-1),t2=Ce({__name:"DisconnectIndicator",setup(e){function t(){window.location.reload()}return(n,r)=>{const s=qO,o=Lo,i=qn;return Q(),Te(xp,{to:"body"},[("wsConnectingDebounced"in n?n.wsConnectingDebounced:z(pE))?(Q(),ye("div",KO,[XO,q("div",YO,[Z(s,{"h-8":""})]),q("div",JO,[Z(o,{icon:"i-carbon-wifi-off"}),Oe(" Disconnected from Server ")]),ZO,q("div",QO,[Z(o,{icon:"i-carbon-circle-dash","animate-spin":""}),Oe(" Retrying... ")]),e2,Z(i,{n:"sm yellow",px2:"",py0:"",op40:"",onClick:r[0]||(r[0]=a=>t())},{default:me(()=>[Oe(" Reload DevTools Page ")]),_:1})])):Ge("",!0)])}}}),n2={p4:"",flex:"~ col gap-1"},r2=q("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),s2={op50:""},o2={flex:"~ gap-3",mt2:"","justify-end":""},i2=Ce({__name:"RestartDialogs",setup(e){const t=Me(),n=yE(),r=ct(),s=qc();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(l=>{l&&(Pe.restartNuxt(),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(o,i)=>{const a=qn,l=Ta;return Q(),Te(z(s),null,{default:me(({resolve:c,args:u})=>[Z(l,{"model-value":!0,onClose:f=>c(!1)},{default:me(()=>[q("div",n2,[r2,q("p",s2,dt(u[0]),1),q("div",o2,[Z(a,{onClick:f=>c(!1)},{default:me(()=>[Oe(" Cancel ")]),_:2},1032,["onClick"]),Z(a,{n:"solid primary",onClick:f=>c(!0)},{default:me(()=>[Oe(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function a2(){return fa("schema:input",null)}const Eh=K([]),xh=K();function l2(){const e=Me(),t=ct(),n=ot();Object.assign(Vm,{async refresh(o){e.hooks.callHookParallel("app:data:refresh",[o])},async callHook(o,...i){e.hooks.callHookParallel(o,...i)},async onTerminalData(o){e.hooks.callHookParallel("devtools:terminal:data",o)},async onTerminalExit(o){e.hooks.callHookParallel("devtools:terminal:exit",o);const i=Eh.value.findIndex(a=>a.processId===o.id);i!==-1&&Eh.value.splice(i,1),xh.value?.processId===o.id&&(xh.value=void 0)},async navigateTo(o){t.value.devtools.open(),n.currentRoute.value?.path!==o&&n.push(o)}}),Pe.getModuleOptions().then(o=>{o.disableAuthorization&&(bt.value=!0,ft.value||="disabled")});const{hiddenTabs:r,pinnedTabs:s}=Tr();_a("open",{hiddenTabs:r.value.join(","),pinnedTabs:s.value.join(",")},!0)}const c2=Si(()=>we(()=>import("./DataSchemaDrawer.d62bbda3.js"),["./DataSchemaDrawer.d62bbda3.js","./NSelect.vue.d4b5d548.js","./NSwitch.vue.95382b67.js","./NDropdown.vue.32f13066.js","./NCodeBlock.vue.c114d969.js","./client.4841a079.js","./NCodeBlock.6994516c.css","./NDrawer.vue.4bcebe5d.js"],import.meta.url).then(e=>e.default||e)),u2={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},f2=Ce({__name:"app",setup(e){we(()=>import("./unocss-runtime.55c74b5c.js"),[],import.meta.url),hw({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),l2();const t=ct(),n=ds(),r=sg(),s=de(()=>n.path.startsWith("/__")||n.path==="/"),o=de(()=>!t.value&&!bP.value);Be(()=>t.value?.app.colorMode.value,c=>{c&&(r.value=c)},{immediate:!0}),addEventListener("keydown",c=>{c.code==="KeyD"&&c.altKey&&(t.value?.devtools.close(),c.preventDefault())});const{scale:i,sidebarExpanded:a}=Tr(),l=a2();return Sn(async()=>{const c=wP();qr(()=>{window.__NUXT_DEVTOOLS__=c.value}),qr(()=>{document.body.style.fontSize=`${i.value*15}px`}),bt.value||ft.value&&await Pe.verifyAuthToken(ft.value)&&(bt.value=!0)}),TN(()=>ql.value?[{id:"action:split-screen",title:`${Ln.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Ln.value=!Ln.value}}]:[]),(c,u)=>{const f=gR,d=yR,p=xR,h=J$,g=tN,b=pN,S=_N,_=wN,y=$O,v=zO,E=t2,m=i2,k=c2;return Q(),ye("div",u2,[Z(f),Z(d),z(o)?(Q(),Te(p,{key:0},{default:me(()=>[Oe(" Connecting.... ")]),_:1})):(Q(),ye("div",{key:1,class:qe(z(s)?"flex":z(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[po(Z(h,{"of-x-hidden":"","of-y-auto":""},null,512),[[Sl,!z(s)]]),Z(_,null,{default:me(()=>[Z(S,{"storage-key":"devtools:split-screen-mode","min-size":20},Jy({left:me(()=>[Z(g)]),_:2},[!z(s)&&("splitScreenEnabled"in c?c.splitScreenEnabled:z(Ln))&&z(ql)?{name:"right",fn:me(()=>[Z(b)]),key:"0"}:void 0]),1024)]),_:1}),Z(y),Z(v)],2)),Z(E),Z(m),u._lazyshow1||z(l)?(u._lazyshow1=!0,Q(),ye(Le,null,[po(q("div",null,[Z(k)],512),[[Sl,z(l)]])],64)):Ge("v-show-if",!0)])}}}),d2={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
26
26
  `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
27
- `);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?Si(()=>we(()=>import("./error-404.6518563d.js"),["./error-404.6518563d.js","./error-404.82ac0ec5.css"],import.meta.url).then(f=>f.default||f)):Si(()=>we(()=>import("./error-500.94c551da.js"),["./error-500.94c551da.js","./error-500.ff959f66.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Q(),Te(z(u),hc(na({statusCode:z(r),statusMessage:z(o),description:z(i),stack:z(a)})),null,16))}},Th={__name:"nuxt-root",setup(e){const t=()=>null,n=Me(),r=n.deferHydration(),s=!1;hr(Ao,fs()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=ia();dp((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),xw(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Or(a)),!1});const i=!1;return(a,l)=>(Q(),Te(kc,{onResolve:z(r)},{default:me(()=>[z(o)?(Q(),Te(z(d2),{key:0,error:z(o)},null,8,["error"])):z(i)?(Q(),Te(z(t),{key:1,context:z(i)},null,8,["context"])):z(s)?(Q(),Te(Wr(z(s)),{key:2})):(Q(),Te(z(f2),{key:3}))]),_:1},8,["onResolve"]))}};let Ch;{let e;Ch=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?hb(Th):Hp(Th),s=v0({vueApp:r});try{await _0(s,mR)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Lw),await s.hooks.callHook("app:mounted",r),await kt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=Ch().catch(t=>{console.error("Error while mounting app:",t)})}export{i0 as $,yv as A,Tr as B,Mi as C,WP as D,qO as E,Le as F,qe as G,HS as H,ho as I,Sl as J,Pe as K,EE as L,qc as M,Y2 as N,ot as O,fa as P,Z2 as Q,TN as R,_N as S,xp as T,_a as U,xh as V,_v as W,Ta as X,Mm as Y,wt as Z,qn as _,de as a,Cg as a$,Iy as a0,di as a1,M2 as a2,Jc as a3,Io as a4,IP as a5,x2 as a6,en as a7,rt as a8,eI as a9,fs as aA,I$ as aB,bt as aC,Xm as aD,jO as aE,O2 as aF,U2 as aG,W2 as aH,k2 as aI,rb as aJ,Jy as aK,D2 as aL,Eh as aM,Py as aN,Wh as aO,is as aP,h2 as aQ,sa as aR,Kc as aS,lm as aT,$2 as aU,w2 as aV,g2 as aW,MS as aX,ps as aY,__ as aZ,z2 as a_,BP as aa,T2 as ab,jp as ac,of as ad,G2 as ae,vs as af,m2 as ag,b2 as ah,sg as ai,$g as aj,V2 as ak,Sn as al,mu as am,vn as an,I2 as ao,C2 as ap,KS as aq,Un as ar,ct as as,Wr as at,gt as au,S2 as av,kt as aw,Gr as ax,mo as ay,wP as az,y2 as b,j2 as b0,J2 as b1,pS as b2,tI as b3,A2 as b4,L2 as b5,N2 as b6,bP as b7,vt as b8,B2 as b9,zd as bA,H2 as bB,K2 as bC,ht as bD,Ca as bE,E2 as bF,on as bG,Je as bH,zP as bI,d$ as bJ,qh as bK,mi as bL,IR as bM,nb as bN,sb as bO,bE as bP,yE as ba,ds as bb,P2 as bc,cb as bd,X2 as be,hc as bf,na as bg,q2 as bh,dS as bi,Er as bj,Q2 as bk,R2 as bl,Oh as bm,Wv as bn,Xh as bo,Ai as bp,_2 as bq,xR as br,FP as bs,Wy as bt,Ht as bu,hS as bv,v2 as bw,p2 as bx,Me as by,km as bz,_E as c,Ce as d,h$ as e,z as f,F2 as g,Te as h,Z as i,me as j,q as k,Fe as l,ye as m,go as n,Q as o,Ge as p,Oo as q,K as r,hw as s,dt as t,a2 as u,Oe as v,Be as w,lv as x,Cy as y,ky as z};
27
+ `);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?Si(()=>we(()=>import("./error-404.c4b39504.js"),["./error-404.c4b39504.js","./error-404.82ac0ec5.css"],import.meta.url).then(f=>f.default||f)):Si(()=>we(()=>import("./error-500.4029de92.js"),["./error-500.4029de92.js","./error-500.ff959f66.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Q(),Te(z(u),hc(na({statusCode:z(r),statusMessage:z(o),description:z(i),stack:z(a)})),null,16))}},Th={__name:"nuxt-root",setup(e){const t=()=>null,n=Me(),r=n.deferHydration(),s=!1;hr(Ro,ds()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=ia();dp((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),xw(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Ir(a)),!1});const i=!1;return(a,l)=>(Q(),Te(kc,{onResolve:z(r)},{default:me(()=>[z(o)?(Q(),Te(z(d2),{key:0,error:z(o)},null,8,["error"])):z(i)?(Q(),Te(z(t),{key:1,context:z(i)},null,8,["context"])):z(s)?(Q(),Te(Gr(z(s)),{key:2})):(Q(),Te(z(f2),{key:3}))]),_:1},8,["onResolve"]))}};let Ch;{let e;Ch=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?hb(Th):Hp(Th),s=v0({vueApp:r});try{await _0(s,mR)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Lw),await s.hooks.callHook("app:mounted",r),await kt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=Ch().catch(t=>{console.error("Error while mounting app:",t)})}export{i0 as $,yv as A,Tr as B,Mi as C,WP as D,qO as E,Le as F,qe as G,HS as H,po as I,Sl as J,Pe as K,EE as L,qc as M,Y2 as N,ot as O,fa as P,Z2 as Q,TN as R,_N as S,xp as T,_a as U,xh as V,_v as W,Ta as X,Mm as Y,wt as Z,qn as _,de as a,Cg as a$,Iy as a0,Or as a1,M2 as a2,Jc as a3,Lo as a4,IP as a5,x2 as a6,en as a7,rt as a8,eI as a9,ds as aA,I$ as aB,bt as aC,Xm as aD,jO as aE,O2 as aF,U2 as aG,W2 as aH,k2 as aI,rb as aJ,Jy as aK,D2 as aL,Eh as aM,Py as aN,Wh as aO,as as aP,h2 as aQ,sa as aR,Kc as aS,lm as aT,$2 as aU,w2 as aV,g2 as aW,MS as aX,ms as aY,__ as aZ,z2 as a_,BP as aa,T2 as ab,jp as ac,of as ad,G2 as ae,ys as af,m2 as ag,b2 as ah,sg as ai,$g as aj,V2 as ak,Sn as al,mu as am,vn as an,I2 as ao,C2 as ap,KS as aq,Un as ar,ct as as,Gr as at,gt as au,S2 as av,kt as aw,qr as ax,go as ay,wP as az,y2 as b,j2 as b0,J2 as b1,pS as b2,tI as b3,A2 as b4,L2 as b5,N2 as b6,bP as b7,vt as b8,B2 as b9,zd as bA,H2 as bB,K2 as bC,ht as bD,Ca as bE,E2 as bF,on as bG,Je as bH,zP as bI,d$ as bJ,qh as bK,mi as bL,IR as bM,nb as bN,sb as bO,bE as bP,yE as ba,hs as bb,P2 as bc,cb as bd,X2 as be,hc as bf,na as bg,q2 as bh,dS as bi,Er as bj,Q2 as bk,R2 as bl,Oh as bm,Wv as bn,Xh as bo,Ai as bp,_2 as bq,xR as br,FP as bs,Wy as bt,Ht as bu,hS as bv,v2 as bw,p2 as bx,Me as by,km as bz,_E as c,Ce as d,h$ as e,z as f,F2 as g,Te as h,Z as i,me as j,q as k,Fe as l,ye as m,vo as n,Q as o,Ge as p,Io as q,K as r,hw as s,dt as t,a2 as u,Oe as v,Be as w,lv as x,Cy as y,ky as z};