nuxt-schema-org 5.0.1 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +5 -5
- package/dist/client/404.html +5 -5
- package/dist/client/_nuxt/{DF3WsVs5.js → BcPhSJxU.js} +1 -1
- package/dist/client/_nuxt/{B9gciWwv.js → CgGSSGCG.js} +1 -1
- package/dist/client/_nuxt/{D49R63WH.js → DiWZrkno.js} +3 -3
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/2b563cbd-2bcc-4694-8e01-f54f61f2dd05.json +1 -0
- package/dist/client/index.html +5 -5
- package/dist/module.json +1 -1
- package/dist/runtime/app/plugins/defaults.js +7 -4
- package/dist/runtime/app/plugins/i18n/defaults.js +6 -3
- package/dist/runtime/app/utils/shared.js +10 -6
- package/package.json +5 -9
- package/dist/client/_nuxt/builds/meta/40c44dc2-35a7-4c37-9a3e-3fef68c238cb.json +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CgGSSGCG.js","./error-404.xH3Cf7mp.css","./BcPhSJxU.js","./error-500.D1eGBBaO.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
var fp=Object.defineProperty;var hp=Object.getPrototypeOf;var dp=Reflect.get;var wl=e=>{throw TypeError(e)};var pp=(e,t,n)=>t in e?fp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var x=(e,t,n)=>pp(e,typeof t!="symbol"?t+"":t,n),qo=(e,t,n)=>t.has(e)||wl("Cannot "+n);var Ve=(e,t,n)=>(qo(e,t,"read from private field"),n?n.call(e):t.get(e)),_n=(e,t,n)=>t.has(e)?wl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),pt=(e,t,n,r)=>(qo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ko=(e,t,n)=>(qo(e,t,"access private method"),n);var vl=(e,t,n)=>dp(hp(e),n,t);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
|
|
3
3
|
* @vue/shared v3.5.13
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -16,7 +16,7 @@ var fp=Object.defineProperty;var hp=Object.getPrototypeOf;var dp=Reflect.get;var
|
|
|
16
16
|
* @vue/runtime-dom v3.5.13
|
|
17
17
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
18
|
* @license MIT
|
|
19
|
-
**/let Gi;const Gl=typeof window<"u"&&window.trustedTypes;if(Gl)try{Gi=Gl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ff=Gi?e=>Gi.createHTML(e):e=>e,_m="http://www.w3.org/2000/svg",bm="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Ul=Bt&&Bt.createElement("template"),wm={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==="svg"?Bt.createElementNS(_m,e):t==="mathml"?Bt.createElementNS(bm,e):n?Bt.createElement(e,{is:n}):Bt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.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{Ul.innerHTML=Ff(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Ul.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vm=Symbol("_vtc");function Cm(e,t,n){const r=e[vm];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wl=Symbol("_vod"),Sm=Symbol("_vsh"),xm=Symbol(""),km=/(^|;)\s*display\s*:/;function Am(e,t,n){const r=e.style,s=Se(n);let o=!1;if(n&&!s){if(t)if(Se(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&$s(r,a,"")}else for(const i in t)n[i]==null&&$s(r,i,"");for(const i in n)i==="display"&&(o=!0),$s(r,i,n[i])}else if(s){if(t!==n){const i=r[xm];i&&(n+=";"+i),r.cssText=n,o=km.test(n)}}else t&&e.removeAttribute("style");Wl in e&&(e[Wl]=o?r.display:"",e[Sm]&&(r.display="none"))}const zl=/\s*!important$/;function $s(e,t,n){if(Z(n))n.forEach(r=>$s(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Em(e,t);zl.test(n)?e.setProperty(hn(r),n.replace(zl,""),"important"):e[r]=n}}const Vl=["Webkit","Moz","ms"],si={};function Em(e,t){const n=si[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return si[t]=r;r=_o(r);for(let s=0;s<Vl.length;s++){const o=Vl[s]+r;if(o in e)return si[t]=o}return t}const ql="http://www.w3.org/1999/xlink";function Kl(e,t,n,r,s,o=Ep(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ql,t.slice(6,t.length)):e.setAttributeNS(ql,t,n):n==null||o&&!Pu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":wt(n)?String(n):n)}function Jl(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ff(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Pu(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Tm(e,t,n,r){e.removeEventListener(t,n,r)}const Xl=Symbol("_vei");function Rm(e,t,n,r,s=null){const o=e[Xl]||(e[Xl]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Pm(t);if(r){const c=o[t]=Im(r,s);jf(e,a,c,l)}else i&&(Tm(e,a,i,l),o[t]=void 0)}}const Ql=/(?:Once|Passive|Capture)$/;function Pm(e){let t;if(Ql.test(e)){t={};let r;for(;r=e.match(Ql);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hn(e.slice(2)),t]}let oi=0;const $m=Promise.resolve(),Nm=()=>oi||($m.then(()=>oi=0),oi=Date.now());function Im(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;It(Om(r,n.value),t,5,[r])};return n.value=e,n.attached=Nm(),n}function Om(e,t){if(Z(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 Yl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lm=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Cm(e,r,i):t==="style"?Am(e,n,r):ss(t)?Sa(t)||Rm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mm(e,t,r,i))?(Jl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kl(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(r))?Jl(e,ht(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Kl(e,t,r,i))};function Mm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Yl(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Yl(t)&&Se(n)?!1:t in e}const Zl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>Rs(t,n):t},ii=Symbol("_assign"),Dm={created(e,{value:t},n){e.checked=Hs(t,n.props.value),e[ii]=Zl(n),jf(e,"change",()=>{e[ii](Hm(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ii]=Zl(r),t!==n&&(e.checked=Hs(t,r.props.value))}};function Hm(e){return"_value"in e?e._value:e.value}const Bm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Fm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=hn(s.key);if(t.some(i=>i===o||Bm[i]===o))return e(s)})},Gf=ze({patchProp:Lm},wm);let Lr,ec=!1;function jm(){return Lr||(Lr=Fg(Gf))}function Gm(){return Lr=ec?Lr:jg(Gf),ec=!0,Lr}const Uf=(...e)=>{const t=jm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zf(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Wf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Um=(...e)=>{const t=Gm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zf(r);if(s)return n(s,!0,Wf(s))},t};function Wf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zf(e){return Se(e)?document.querySelector(e):e}const Wm=/"(?:_|\\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*:/,zm=/"(?: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*:/,Vm=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function qm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Km(e);return}return t}function Km(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Vs(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!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(!Vm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Wm.test(e)||zm.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,qm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Jm=/#/g,Xm=/&/g,Qm=/\//g,Ym=/=/g,za=/\+/g,Zm=/%5e/gi,ey=/%60/gi,ty=/%7c/gi,ny=/%20/gi;function ry(e){return encodeURI(""+e).replace(ty,"|")}function Ui(e){return ry(typeof e=="string"?e:JSON.stringify(e)).replace(za,"%2B").replace(ny,"+").replace(Jm,"%23").replace(Xm,"%26").replace(ey,"`").replace(Zm,"^").replace(Qm,"%2F")}function ai(e){return Ui(e).replace(Ym,"%3D")}function qs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function sy(e){return qs(e.replace(za," "))}function oy(e){return qs(e.replace(za," "))}function To(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=sy(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=oy(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 iy(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ai(e)}=${Ui(n)}`).join("&"):`${ai(e)}=${Ui(t)}`:ai(e)}function Vf(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>iy(t,e[t])).filter(Boolean).join("&")}const ay=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ly=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,cy=/^([/\\]\s*){2,}[^/\\]/,uy=/^[\s\0]*(blob|data|javascript|vbscript):$/i,fy=/\/$|\/\?|\/#/,hy=/^\.?\//;function gn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ay.test(e):ly.test(e)||(t.acceptRelative?cy.test(e):!1)}function dy(e){return!!e&&uy.test(e)}function Wi(e="",t){return t?fy.test(e):e.endsWith("/")}function Ro(e="",t){if(!t)return(Wi(e)?e.slice(0,-1):e)||"/";if(!Wi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Ks(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Wi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function py(e=""){return e.startsWith("/")}function tc(e=""){return py(e)?e:"/"+e}function qf(e,t){if(Jf(t)||gn(e))return e;const n=Ro(t);return e.startsWith(n)?e:cs(n,e)}function gy(e,t){if(Jf(t))return e;const n=Ro(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Kf(e,t){const n=Yf(e),r={...To(n.search),...t};return n.search=Vf(r),Zf(n)}function Jf(e){return!e||e==="/"}function my(e){return e&&e!=="/"}function cs(e,...t){let n=e||"";for(const r of t.filter(s=>my(s)))if(n){const s=r.replace(hy,"");n=Ks(n)+s}else n=r;return n}function Xf(...e){var i,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&gn(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(c=n[n.length-1])!=null&&c.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function yy(e,t,n={}){return n.trailingSlash||(e=Ks(e),t=Ks(t)),n.leadingSlash||(e=tc(e),t=tc(t)),n.encoding||(e=qs(e),t=qs(t)),e===t}const Qf=Symbol.for("ufo:protocolRelative");function Yf(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!gn(e,{acceptRelative:!0}))return nc(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=nc(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[Qf]:!r}}function nc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Zf(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[Qf]?(e.protocol||"")+"//":"")+s+o+t+n+r}class _y extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function by(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.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 _y(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[p]}});return a}const wy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function rc(e="GET"){return wy.has(e.toUpperCase())}function vy(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 Cy=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Sy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function xy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Sy.test(t)?"json":Cy.has(t)||t.startsWith("text/")?"text":"blob"}function ky(e,t,n,r){const s=Ay((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:o,params:o,headers:s}}function Ay(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function bs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Ey=new Set([408,409,425,429,500,502,503,504]),Ty=new Set([101,204,205,304]);function eh(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=rc(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):Ey.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:u-1})}}const c=by(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:ky(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await bs(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=qf(u.request,u.options.baseURL)),u.options.query&&(u.request=Kf(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&rc(u.options.method)&&(vy(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")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,h.abort(p)},u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await bs(u,u.options.onRequestError),await s(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!Ty.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||xy(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Vs;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await bs(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await bs(u,u.options.onResponseError),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={},l={})=>eh({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Js=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")}(),Ry=Js.fetch?(...e)=>Js.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Py=Js.Headers,$y=Js.AbortController,Ny=eh({fetch:Ry,Headers:Py,AbortController:$y}),Iy=Ny,Oy=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Xs=Oy().app,Ly=()=>Xs.baseURL,My=()=>Xs.buildAssetsDir,Va=(...e)=>Xf(th(),My(),...e),th=(...e)=>{const t=Xs.cdnURL||Xs.baseURL;return e.length?Xf(t,...e):t};globalThis.__buildAssetsURL=Va,globalThis.__publicAssetsURL=th;globalThis.$fetch||(globalThis.$fetch=Iy.create({baseURL:Ly()}));function zi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?zi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Dy={run:e=>e()},Hy=()=>Dy,nh=typeof console.createTask<"u"?console.createTask:Hy;function By(e,t){const n=t.shift(),r=nh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Fy(e,t){const n=t.shift(),r=nh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function li(e,t){for(const n of[...e])n(t)}class jy{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=zi(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=zi(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(By,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Fy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&li(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&li(this._after,s)}):(this._after&&s&&li(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 rh(){return new jy}function Gy(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){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;Vi.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Vi.delete(c)}}}}function Uy(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Gy({...e,...r})),t[n]}}}const Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},sc="__unctx__",Wy=Qs[sc]||(Qs[sc]=Uy()),zy=(e,t={})=>Wy.get(e,t),oc="__unctx_async_handlers__",Vi=Qs[oc]||(Qs[oc]=new Set);function sh(e){const t=[];for(const s of Vi){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 Vy={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Jn={value:null,errorValue:null,deep:!0},qy=null,Ky="#__nuxt",oh="nuxt-app",ic=36e5,Jy="vite:preloadError";function ih(e=oh){return zy(e,{asyncContext:!1})}const Xy="__nuxt_plugin";function Qy(e){var s;let t=0;const n={_id:e.id||oh||"nuxt-app",_scope:Rp(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.16.0"},get vue(){return n.vueApp.version}},payload:qn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:qn({}),state:ln({}),once:new Set,_errors:qn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Ea()?n._scope.run(()=>ac(n,o)):ac(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:qn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=rh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;ws(n,a,i),ws(n.vueApp.config.globalProperties,a,i)},ws(n.vueApp,"$nuxt",n),ws(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Jy,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=ke);const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function Yy(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Zy(e,t){if(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 e_(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=Zy(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(h)))})))});l.parallel?s.push(f.catch(d=>o.push(d))):await f}}for(const l of t)Yy(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o.length)throw o[0]}function Mt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Xy]:!0,_name:t})}function ac(e,t,n){const r=()=>t();return ih(e._id).set(e),e.vueApp.runWithContext(r)}function ah(e){var n;let t;return So()&&(t=(n=ls())==null?void 0:n.appContext.app.$nuxt),t||(t=ih(e).tryUse()),t||null}function ke(e){const t=ah(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function pr(e){return ke().$config}function ws(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function t_(e,t){return{ctx:{table:e},matchAll:n=>ch(n,e)}}function lh(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,lh(s)])):new Map(Object.entries(e[n]));return t}function n_(e){return t_(lh(e))}function ch(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of lc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of lc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...ch(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function lc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ci(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.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function qi(e,t,n=".",r){if(!ci(t))return qi(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]]:ci(i)&&ci(s[o])?s[o]=qi(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function r_(e){return(...t)=>t.reduce((n,r)=>qi(n,r,"",e),{})}const s_=r_();function o_(e,t){try{return t in e}catch{return!1}}class Ki extends Error{constructor(n,r={}){super(n,r);x(this,"statusCode",500);x(this,"fatal",!1);x(this,"unhandled",!1);x(this,"statusMessage");x(this,"data");x(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Ji(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=uh(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}x(Ki,"__h3_error__",!0);function i_(e){if(typeof e=="string")return new Ki(e);if(a_(e))return e;const t=new Ki(e.message??e.statusMessage??"",{cause:e.cause||e});if(o_(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=Ji(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ji(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;uh(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 a_(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const l_=/[^\u0009\u0020-\u007E]/g;function uh(e=""){return e.replace(l_,"")}function Ji(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const fh=Symbol("route"),Ot=()=>{var e;return(e=ke())==null?void 0:e.$router},hh=()=>So()?On(fh,ke()._route):ke()._route;const c_=()=>{try{if(ke()._processingMiddleware)return!0}catch{return!1}return!1},dh=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Xi(e):Ot().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const r=gn(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&dy(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=c_();if(!s&&o){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:c,hash:u}=Yf(e);return{path:l,...c&&{query:To(c)},...u&&{hash:u},replace:!0}}return{...e,replace:!0}}return e}const i=Ot(),a=ke();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function Xi(e){return Kf(e.path||"",e.query||{})+(e.hash||"")}const ph="__nuxt_error",qa=()=>Yu(ke().payload,"error"),u_=e=>{const t=Po(e);try{const n=ke(),r=qa();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},f_=async(e={})=>{const t=ke(),n=qa();t.callHook("app:error:cleared",e),e.redirect&&await Ot().replace(e.redirect),n.value=qy},h_=e=>!!e&&typeof e=="object"&&ph in e,Po=e=>{const t=i_(e);return Object.defineProperty(t,ph,{value:!0,configurable:!1,writable:!1}),t};function cc(e){const t=p_(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const d_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function p_(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=d_.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const g_=-1,m_=-2,y_=-3,__=-4,b_=-5,w_=-6;function v_(e,t){return C_(JSON.parse(e),t)}function C_(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===g_)return;if(o===y_)return NaN;if(o===__)return 1/0;if(o===b_)return-1/0;if(o===w_)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==null?void 0: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 h=1;h<a.length;h+=1)u.add(s(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(s(a[h]),s(a[h+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 h=1;h<a.length;h+=2)d[a[h]]=s(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[l],p=a[1],g=cc(p),y=new h(g);r[o]=y;break}case"ArrayBuffer":{const h=a[1],p=cc(h);r[o]=p;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!==m_&&(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)}const S_=new Set(["link","style","script","noscript"]),x_=new Set(["title","titleTemplate","script","style","noscript"]),uc=new Set(["base","meta","link","style","script","noscript"]),k_=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),A_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),E_=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),T_=new Set(["templateParams","htmlAttrs","bodyAttrs"]),R_=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const P_=["name","property","http-equiv"];function gh(e){const t=e.split(":")[1];return R_.has(t)}function Qi(e){const{props:t,tag:n}=e;if(A_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of P_)if(t[r]!==void 0)return`${n}:${t[r]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(x_.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function fc(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Ys(e,t,n){const r=typeof e;let s;if(!t||!n?s=r==="function"?e():e:t&&(n==="titleTemplate"||n[0]==="o"&&n[1]==="n")?s=t(n,e):t&&(s=r==="function"?t(n,e()):t(n,e)),Array.isArray(s))return s.map(o=>Ys(o,t));if((s==null?void 0:s.constructor)===Object){const o={};for(const i of Object.keys(s))o[i]=Ys(s[i],t,i);return o}return s}function $_(e,t){const n=e==="style"?new Map:new Set;function r(s){const o=s.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l.trim());i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(s.trim(),o):r(s))}),n}function mh(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=$_(n,r);return}if(E_.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let i=t.type;if(t.type||(i="application/json"),!(i!=null&&i.endsWith("json"))&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-");s==="true"||s===""?e.props[n]=o?"true":!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function N_(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=mh({tag:e,props:{}},n);return r.key&&S_.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function yh(e,t){if(!e)return[];const n=[];return typeof e=="function"?yh(e(),t):(e=Ys(e,(r,s)=>{let o=s;for(let i=0;i<t.length;i++){const a=t[i](r,o);a!==void 0&&(o=a)}return o}),Object.entries(e).forEach(([r,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])n.push(N_(r,o))}),n.flat())}const Yi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,hc={base:-10,title:10},I_={critical:-8,high:-1,low:2},dc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},O_=/@import/,kr=e=>e===""||e===!0;function L_(e,t){var o;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=I_[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:dc;if(t.tag in hc)n=hc[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=dc.meta[i])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?kr(t.props.async)?n=s.script.async:t.props.src&&!kr(t.props.defer)&&!kr(t.props.async)&&t.props.type!=="module"&&!((o=t.props.type)!=null&&o.endsWith("json"))?n=s.script.sync:kr(t.props.defer)&&t.props.src&&!kr(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&O_.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function pc(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function M_(e={}){var a;const t=rh();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=[],i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>pc(i,l),push(l,c){const u={...c||{}};delete u.head;const f=u._index??i._entryCount++,d={_i:f,input:l,options:u},h={_poll(p=!1){i.dirty=!0,!p&&o.push(f),t.callHook("entries:updated",i)},dispose(){r.delete(f)&&h._poll(!0)},patch(p){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(d.input=p,r.set(f,d),h._poll())}};return h.patch(l),h},async resolveTags(){var h;const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.length;){const p=o.shift(),g=r.get(p);if(g){const y={tags:yh(g.input,e.propResolvers||[]).map(_=>Object.assign(_,g.options)),entry:g};await t.callHook("entries:normalize",y),g._tags=y.tags.map((_,v)=>(_._w=L_(i,_),_._p=(g._i<<10)+v,_._d=Qi(_),_))}}let c=!1;l.entries.flatMap(p=>(p._tags||[]).map(g=>({...g,props:{...g.props}}))).sort(Yi).reduce((p,g)=>{const y=String(g._d||g._p);if(!p.has(y))return p.set(y,g);const _=p.get(y);if(((g==null?void 0:g.tagDuplicateStrategy)||(T_.has(g.tag)?"merge":null)||(g.key&&g.key===_.key?"merge":null))==="merge"){const m={..._.props};Object.entries(g.props).forEach(([w,S])=>m[w]=w==="style"?new Map([..._.props.style||new Map,...S]):w==="class"?new Set([..._.props.class||new Set,...S]):S),p.set(y,{...g,props:m})}else g._p>>10===_._p>>10&&gh(g._d)?(p.set(y,Object.assign([...Array.isArray(_)?_:[_],g],g)),c=!0):(g._w===_._w?g._p>_._p:(g==null?void 0:g._w)<(_==null?void 0:_._w))&&p.set(y,g);return p},l.tagMap);const u=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(i._title=u==null?void 0:u.textContent,f){const p=f==null?void 0:f.textContent;if(i._titleTemplate=typeof p=="string"?p:void 0,p){let g=typeof p=="function"?p(u==null?void 0:u.textContent):p;typeof g=="string"&&!i.plugins.has("template-params")&&(g=g.replace("%s",(u==null?void 0:u.textContent)||"")),u?g===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:g}):(f.tag="title",f.textContent=g)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(Yi)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const p of l.tags){const{innerHTML:g,tag:y,props:_}=p;if(k_.has(y)&&!(Object.keys(_).length===0&&!p.innerHTML&&!p.textContent)&&!(y==="meta"&&!_.content&&!_["http-equiv"]&&!_.charset)){if(y==="script"&&g){if((h=_.type)!=null&&h.endsWith("json")){const v=typeof g=="string"?g:JSON.stringify(g);p.innerHTML=v.replace(/</g,"\\u003C")}else typeof g=="string"&&(p.innerHTML=g.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));p._d=Qi(p)}d.push(p)}}return d}};return((e==null?void 0:e.plugins)||[]).forEach(l=>pc(i,l)),i.hooks.callHook("init",i),(a=e.init)==null||a.forEach(l=>l&&i.push(l)),i}const Yt="%separator",D_=new RegExp(`${Yt}(?:\\s*${Yt})*`,"g");function H_(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function vs(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Yt);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Yt||!o.includes(a))return a;const l=H_(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(Yt)&&(e=e.slice(0,-Yt.length)),e.startsWith(Yt)&&(e=e.slice(Yt.length)),e=e.replace(D_,n||"").trim()),e}const gc=e=>e.includes(":key")?e:e.split(":").join(":key:"),B_={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=gc(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=gc(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Yi))}}},F_={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Zi(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Zi(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await Zi(e[r]);return n}return e}const j_={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Zi(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},G_={meta:"content",link:"href",htmlAttrs:"lang"},U_=["innerHTML","textContent"],W_=e=>({key:"template-params",hooks:{"tags:resolve":({tagMap:t,tags:n})=>{var o;const r=((o=t.get("templateParams"))==null?void 0:o.props)||{},s=r.separator||"|";delete r.separator,r.pageTitle=vs(r.pageTitle||e._title||"",r,s);for(const i of n){if(i.processTemplateParams===!1)continue;const a=G_[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=vs(i.props[a],r,s);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const l of U_)typeof i[l]=="string"&&(i[l]=vs(i[l],r,s,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=vs(n.textContent,e._templateParams,e._separator))}}}),z_=(e,t)=>Te(t)?Xu(t):t,Ka="usehead";function V_(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ka,e)}}.install}function q_(){if(So()){const e=On(Ka);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function K_(e,t={}){const n=t.head||q_();return n.ssr?n.push(e||{},t):J_(n,e,t)}function J_(e,t,n={}){const r=Ce(!1);let s;return zg(()=>{const i=r.value?{}:Ys(t,z_);s?s.patch(i):s=e.push(i,n)}),ls()&&(Ba(()=>{s.dispose()}),rf(()=>{r.value=!0}),nf(()=>{r.value=!1})),s}function X_(e){var n;const t=e||ah();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(So())return On(Ka)}))}function Q_(e,t={}){const n=X_(t.nuxt);if(n)return K_(e,{head:n,...t})}const Y_="modulepreload",Z_=function(e,t){return new URL(e,t).href},mc={},Xn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=Z_(c,r),c in mc)return;mc[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===c&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":Y_,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((p,g)=>{h.addEventListener("load",p),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Ns,Is;function e0(){return Ns=$fetch(Va(`builds/meta/${pr().app.buildId}.json`),{responseType:"json"}),Ns.then(e=>{Is=n_(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ns}function $o(){return Ns||e0()}async function Ja(e){const t=typeof e=="string"?e:e.path;if(await $o(),!Is)return console.error("[nuxt] Error creating app manifest matcher.",Is),{};try{return s_({},...Is.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function yc(e,t={}){const n=await n0(e,t),r=ke(),s=r._payloadCache||(r._payloadCache={});return n in s?s[n]||null:(s[n]=bh(e).then(o=>o?_h(n).then(i=>i||(delete s[n],null)):(s[n]=null,null)),s[n])}const t0="_payload.json";async function n0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||gn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=pr(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await bh(e)?o:r.app.baseURL;return cs(i,n.pathname,t0+(s?`?${s}`:""))}async function _h(e){const t=fetch(e).then(n=>n.text().then(wh));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function bh(e=hh().path){const t=ke();return e=Ro(e),(await $o()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Ja({path:e});return!!r.prerender&&!r.redirect})}let wn=null;async function r0(){var r;if(wn)return wn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await wh(e.textContent||""),n=e.dataset.src?await _h(e.dataset.src):void 0;return wn={...t,...n,...window.__NUXT__},(r=wn.config)!=null&&r.public&&(wn.config.public=ln(wn.config.public)),wn}async function wh(e){return await v_(e,ke()._payloadRevivers)}function s0(e,t){ke()._payloadRevivers[e]=t}const o0=[["NuxtError",e=>Po(e)],["EmptyShallowRef",e=>Ni(e==="_"?void 0:e==="0n"?BigInt(0):Vs(e))],["EmptyRef",e=>Ce(e==="_"?void 0:e==="0n"?BigInt(0):Vs(e))],["ShallowRef",e=>Ni(e)],["ShallowReactive",e=>qn(e)],["Ref",e=>Ce(e)],["Reactive",e=>ln(e)]],i0=Mt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of o0)s0(r,s);Object.assign(e.payload,([t,n]=sh(()=>e.runWithContext(r0)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Xa(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var h;const o=new Map,i=new Promise(p=>{e.resolveTags().then(g=>{p(g.map(y=>{const _=o.get(y._d)||0,v={tag:y,id:(_?`${y._d}:${_}`:y._d)||fc(y),shouldRender:!0};return y._d&&gh(y._d)&&o.set(y._d,_+1),v}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const g=(h=n[p])==null?void 0:h.children;for(const y of g){const _=y.tagName.toLowerCase();if(!uc.has(_))continue;const v=mh({tag:_,props:{}},{innerHTML:y.innerHTML,...y.getAttributeNames().reduce((m,w)=>(m[w]=y.getAttribute(w),m),{})||{}});if(v.key=y.getAttribute("data-hid")||void 0,v._d=Qi(v)||fc(v),a.elMap.has(v._d)){let m=1,w=v._d;for(;a.elMap.has(w);)w=`${v._d}:${m++}`;a.elMap.set(w,y)}else a.elMap.set(v._d,y)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,g,y){const _=`${p}:${g}`;a.sideEffects[_]=y,delete a.pendingSideEffects[_]}function c({id:p,$el:g,tag:y}){const _=y.tag.endsWith("Attrs");a.elMap.set(p,g),_||(y.textContent&&y.textContent!==g.textContent&&(g.textContent=y.textContent),y.innerHTML&&y.innerHTML!==g.innerHTML&&(g.innerHTML=y.innerHTML),l(p,"el",()=>{g==null||g.remove(),a.elMap.delete(p)}));for(const v in y.props){if(!Object.hasOwn(y.props,v))continue;const m=y.props[v];if(v.startsWith("on")&&typeof m=="function"){const S=g==null?void 0:g.dataset;if(S&&S[`${v}fired`]){const A=v.slice(0,-5);m.call(g,new Event(A.substring(2)))}g.getAttribute(`data-${v}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:g).addEventListener(v.substring(2),m.bind(g)),g.setAttribute(`data-${v}`,""));continue}const w=`attr:${v}`;if(v==="class"){if(!m)continue;for(const S of m)_&&l(p,`${w}:${S}`,()=>g.classList.remove(S)),!g.classList.contains(S)&&g.classList.add(S)}else if(v==="style"){if(!m)continue;for(const[S,A]of m)l(p,`${w}:${S}`,()=>{g.style.removeProperty(S)}),g.style.setProperty(S,A)}else m!==!1&&m!==null&&(g.getAttribute(v)!==m&&g.setAttribute(v,m===!0?"":String(m)),_&&l(p,w,()=>g.removeAttribute(v)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const p of d){const{tag:g,shouldRender:y,id:_}=p;if(y){if(g.tag==="title"){n.title=g.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(_),p.$el?c(p):uc.has(g.tag)&&u.push(p)}}for(const p of u){const g=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),f[g]=f[g]||n.createDocumentFragment(),f[g].appendChild(p.$el)}for(const p of d)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function a0(e={}){var r,s,o;const t=((r=e.domOptions)==null?void 0:r.render)||Xa;e.document=e.document||(typeof window<"u"?document:void 0);const n=((o=(s=e.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return M_({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function l0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function c0(e={}){const t=a0({domOptions:{render:l0(()=>Xa(t),as)},...e});return t.install=V_(t),t}const u0={disableDefaults:!0,disableCapoSorting:!1,plugins:[F_,j_,W_,B_]},f0=Mt({name:"nuxt:head",enforce:"pre",setup(e){const t=c0(u0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Xa(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)}}}),h0=async e=>{let t,n;const r=([t,n]=sh(()=>Ja({path:e.path})),t=await t,n(),t);if(r.redirect)return gn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},d0=[h0];function ui(e){typeof e=="object"&&(e=Zf({pathname:e.path||"",search:Vf(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:To(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const p0=Mt({name:"nuxt:router",enforce:"pre",setup(e){const t=gy(window.location.pathname,pr().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),o=pr().app.baseURL,i=ln(ui(t));async function a(f,d){try{const h=ui(f);for(const p of r["navigate:before"]){const g=await p(h,i);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return a(g,!0)}for(const p of r["resolve:before"])await p(h,i);Object.assign(i,h),window.history[d?"replaceState":"pushState"]({},"",cs(o,h.fullPath)),e.isHydrating||await e.runWithContext(f_);for(const p of r["navigate:after"])await p(h,i)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:He(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>s("resolve:before",f),beforeEach:f=>s("navigate:before",f),afterEach:f=>s("navigate:after",f),onError:f=>s("error",f),resolve:ui,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Qe({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>a(f.to,f.replace);return()=>{var g;const p=c.resolve(f.to);return f.custom?(g=d.default)==null?void 0:g.call(d,{href:f.to,navigate:h,route:p}):dr("a",{href:f.to,onClick:y=>(y.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware||(e._middleware={global:[],named:{}});const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=ln(f.meta||{}),e.isHydrating&&u&&!cn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...d0,...e._middleware.global]);{const p=await e.runWithContext(()=>Ja({path:f.path}));if(p.appMiddleware)for(const g in p.appMiddleware){const y=e._middleware.named[g];if(!y)return;p.appMiddleware[g]?h.add(y):h.delete(y)}}for(const p of h){const g=await e.runWithContext(()=>p(f,d));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),yy(i.fullPath,t)||await e.runWithContext(()=>dh(i.fullPath))}),{provide:{route:i,router:c}}}}),ea=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),g0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),No=e=>{const t=ke();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ea(()=>e())}):ea(()=>e())},m0=Mt({name:"nuxt:payload",setup(e){Ot().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await yc(t.path);r&&Object.assign(e.static.data,r.data)}),No(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await yc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout($o,1e3)})}}),y0=Mt(()=>{const e=Ot();No(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),_0=Mt(e=>{let t;async function n(){const r=await $o();t&&clearTimeout(t),t=setTimeout(n,ic);try{const s=await $fetch(Va("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}No(()=>{t=setTimeout(n,ic)})});function b0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Vs(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:ke().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const w0=Mt({name:"nuxt:chunk-reload",setup(e){const t=Ot(),n=pr(),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[0]==="#"?n.app.baseURL+o.href:cs(n.app.baseURL,o.fullPath);b0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),v0=Mt({name:"nuxt:global-components"}),C0=Mt(()=>{}),S0=["top","right","bottom","left"],_c=["start","end"],bc=S0.reduce((e,t)=>e.concat(t,t+"-"+_c[0],t+"-"+_c[1]),[]),qr=Math.min,xn=Math.max,x0={left:"right",right:"left",bottom:"top",top:"bottom"},k0={start:"end",end:"start"};function ta(e,t,n){return xn(e,qr(t,n))}function Hn(e,t){return typeof e=="function"?e(t):e}function Lt(e){return e.split("-")[0]}function _t(e){return e.split("-")[1]}function vh(e){return e==="x"?"y":"x"}function Qa(e){return e==="y"?"height":"width"}function Dn(e){return["top","bottom"].includes(Lt(e))?"y":"x"}function Ya(e){return vh(Dn(e))}function Ch(e,t,n){n===void 0&&(n=!1);const r=_t(e),s=Ya(e),o=Qa(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=eo(i)),[i,eo(i)]}function A0(e){const t=eo(e);return[Zs(e),t,Zs(t)]}function Zs(e){return e.replace(/start|end/g,t=>k0[t])}function E0(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 T0(e,t,n,r){const s=_t(e);let o=E0(Lt(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Zs)))),o}function eo(e){return e.replace(/left|right|bottom|top/g,t=>x0[t])}function R0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Sh(e){return typeof e!="number"?R0(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function wc(e,t,n){let{reference:r,floating:s}=e;const o=Dn(t),i=Ya(t),a=Qa(i),l=Lt(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 h;switch(l){case"top":h={x:u,y:r.y-s.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-s.width,y:f};break;default:h={x:r.x,y:r.y}}switch(_t(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const P0=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}=wc(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:y,fn:_}=a[g],{x:v,y:m,data:w,reset:S}=await _({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=v??u,f=m??f,h={...h,[y]:{...h[y],...w}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(c=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:u,y:f}=wc(c,d,l)),g=-1)}return{x:u,y:f,placement:d,strategy:s,middlewareData:h}};async function Io(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:h=0}=Hn(t,e),p=Sh(h),y=a[d?f==="floating"?"reference":"floating":f],_=Mr(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(y)))==null||n?y:y.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,m=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(m))?await(o.getScale==null?void 0:o.getScale(m))||{x:1,y:1}:{x:1,y:1},S=Mr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:m,strategy:l}):v);return{top:(_.top-S.top+p.top)/w.y,bottom:(S.bottom-_.bottom+p.bottom)/w.y,left:(_.left-S.left+p.left)/w.x,right:(S.right-_.right+p.right)/w.x}}const $0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Hn(e,t)||{};if(c==null)return{};const f=Sh(u),d={x:n,y:r},h=Ya(s),p=Qa(h),g=await i.getDimensions(c),y=h==="y",_=y?"top":"left",v=y?"bottom":"right",m=y?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[h]-d[h]-o.floating[p],S=d[h]-o.reference[h],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let N=A?A[m]:0;(!N||!await(i.isElement==null?void 0:i.isElement(A)))&&(N=a.floating[m]||o.floating[p]);const F=w/2-S/2,j=N/2-g[p]/2-1,O=qr(f[_],j),J=qr(f[v],j),K=O,re=N-g[p]-J,te=N/2-g[p]/2+F,ce=ta(K,te,re),H=!l.arrow&&_t(s)!=null&&te!==ce&&o.reference[p]/2-(te<K?O:J)-g[p]/2<0,X=H?te<K?te-K:te-re:0;return{[h]:d[h]+X,data:{[h]:ce,centerOffset:te-ce-X,...H&&{alignmentOffset:X}},reset:H}}});function N0(e,t,n){return(e?[...n.filter(s=>_t(s)===e),...n.filter(s=>_t(s)!==e)]:n.filter(s=>Lt(s)===s)).filter(s=>e?_t(s)===e||(t?Zs(s)!==s:!1):!0)}const I0=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=bc,autoAlignment:h=!0,...p}=Hn(e,t),g=f!==void 0||d===bc?N0(f||null,h,d):d,y=await Io(t,p),_=((n=i.autoPlacement)==null?void 0:n.index)||0,v=g[_];if(v==null)return{};const m=Ch(v,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:g[0]}};const w=[y[Lt(v)],y[m[0]],y[m[1]]],S=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:w}],A=g[_+1];if(A)return{data:{index:_+1,overflows:S},reset:{placement:A}};const N=S.map(O=>{const J=_t(O.placement);return[O.placement,J&&u?O.overflows.slice(0,2).reduce((K,re)=>K+re,0):O.overflows[0],O.overflows]}).sort((O,J)=>O[1]-J[1]),j=((s=N.filter(O=>O[2].slice(0,_t(O[0])?2:3).every(J=>J<=0))[0])==null?void 0:s[0])||N[0][0];return j!==a?{data:{index:_+1,overflows:S},reset:{placement:j}}:{}}}},O0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...y}=Hn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const _=Lt(s),v=Dn(a),m=Lt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=d||(m||!g?[eo(a)]:A0(a)),A=p!=="none";!d&&A&&S.push(...T0(a,g,p,w));const N=[a,...S],F=await Io(t,y),j=[];let O=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&j.push(F[_]),f){const te=Ch(s,i,w);j.push(F[te[0]],F[te[1]])}if(O=[...O,{placement:s,overflows:j}],!j.every(te=>te<=0)){var J,K;const te=(((J=o.flip)==null?void 0:J.index)||0)+1,ce=N[te];if(ce)return{data:{index:te,overflows:O},reset:{placement:ce}};let H=(K=O.filter(X=>X.overflows[0]<=0).sort((X,G)=>X.overflows[1]-G.overflows[1])[0])==null?void 0:K.placement;if(!H)switch(h){case"bestFit":{var re;const X=(re=O.filter(G=>{if(A){const _e=Dn(G.placement);return _e===v||_e==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(_e=>_e>0).reduce((_e,Fn)=>_e+Fn,0)]).sort((G,_e)=>G[1]-_e[1])[0])==null?void 0:re[0];X&&(H=X);break}case"initialPlacement":H=a;break}if(s!==H)return{reset:{placement:H}}}return{}}}};async function L0(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Lt(n),a=_t(n),l=Dn(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=Hn(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const M0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await L0(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},D0=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:y=>{let{x:_,y:v}=y;return{x:_,y:v}}},...l}=Hn(e,t),c={x:n,y:r},u=await Io(t,l),f=Dn(Lt(s)),d=vh(f);let h=c[d],p=c[f];if(o){const y=d==="y"?"top":"left",_=d==="y"?"bottom":"right",v=h+u[y],m=h-u[_];h=ta(v,h,m)}if(i){const y=f==="y"?"top":"left",_=f==="y"?"bottom":"right",v=p+u[y],m=p-u[_];p=ta(v,p,m)}const g=a.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:o,[f]:i}}}}}},H0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Hn(e,t),u=await Io(t,c),f=Lt(s),d=_t(s),h=Dn(s)==="y",{width:p,height:g}=o.floating;let y,_;f==="top"||f==="bottom"?(y=f,_=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,y=d==="end"?"top":"bottom");const v=g-u.top-u.bottom,m=p-u.left-u.right,w=qr(g-u[y],v),S=qr(p-u[_],m),A=!t.middlewareData.shift;let N=w,F=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(F=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=v),A&&!d){const O=xn(u.left,0),J=xn(u.right,0),K=xn(u.top,0),re=xn(u.bottom,0);h?F=p-2*(O!==0||J!==0?O+J:xn(u.left,u.right)):N=g-2*(K!==0||re!==0?K+re:xn(u.top,u.bottom))}await l({...t,availableWidth:F,availableHeight:N});const j=await i.getDimensions(a.floating);return p!==j.width||g!==j.height?{reset:{rects:!0}}:{}}}};function ct(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pt(e){return ct(e).getComputedStyle(e)}const vc=Math.min,Dr=Math.max,to=Math.round;function xh(e){const t=Pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=to(n)!==s||to(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function fn(e){return Ah(e)?(e.nodeName||"").toLowerCase():""}let Cs;function kh(){if(Cs)return Cs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Cs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Cs):navigator.userAgent}function $t(e){return e instanceof ct(e).HTMLElement}function sn(e){return e instanceof ct(e).Element}function Ah(e){return e instanceof ct(e).Node}function Cc(e){return typeof ShadowRoot>"u"?!1:e instanceof ct(e).ShadowRoot||e instanceof ShadowRoot}function Oo(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function B0(e){return["table","td","th"].includes(fn(e))}function na(e){const t=/firefox/i.test(kh()),n=Pt(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 Eh(){return!/^((?!chrome|android).)*safari/i.test(kh())}function Za(e){return["html","body","#document"].includes(fn(e))}function Th(e){return sn(e)?e:e.contextElement}const Rh={x:1,y:1};function or(e){const t=Th(e);if(!$t(t))return Rh;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=xh(t);let i=(o?to(n.width):n.width)/r,a=(o?to(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Kr(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Th(e);let l=Rh;t&&(r?sn(r)&&(l=or(r)):l=or(e));const c=a?ct(a):window,u=!Eh()&&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,h=i.width/l.x,p=i.height/l.y;if(a){const g=ct(a),y=r&&sn(r)?ct(r):r;let _=g.frameElement;for(;_&&r&&y!==g;){const v=or(_),m=_.getBoundingClientRect(),w=getComputedStyle(_);m.x+=(_.clientLeft+parseFloat(w.paddingLeft))*v.x,m.y+=(_.clientTop+parseFloat(w.paddingTop))*v.y,f*=v.x,d*=v.y,h*=v.x,p*=v.y,f+=m.x,d+=m.y,_=ct(_).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function on(e){return((Ah(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lo(e){return sn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ph(e){return Kr(on(e)).left+Lo(e).scrollLeft}function Jr(e){if(fn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cc(e)&&e.host||on(e);return Cc(t)?t.host:t}function $h(e){const t=Jr(e);return Za(t)?t.ownerDocument.body:$t(t)&&Oo(t)?t:$h(t)}function no(e,t){var n;t===void 0&&(t=[]);const r=$h(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ct(r);return s?t.concat(o,o.visualViewport||[],Oo(r)?r:[]):t.concat(r,no(r))}function Sc(e,t,n){return t==="viewport"?Mr(function(r,s){const o=ct(r),i=on(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=Eh();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):sn(t)?Mr(function(r,s){const o=Kr(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=$t(r)?or(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)):Mr(function(r){const s=on(r),o=Lo(r),i=r.ownerDocument.body,a=Dr(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Dr(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+Ph(r);const u=-o.scrollTop;return Pt(i).direction==="rtl"&&(c+=Dr(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(on(e)))}function xc(e){return $t(e)&&Pt(e).position!=="fixed"?e.offsetParent:null}function kc(e){const t=ct(e);let n=xc(e);for(;n&&B0(n)&&Pt(n).position==="static";)n=xc(n);return n&&(fn(n)==="html"||fn(n)==="body"&&Pt(n).position==="static"&&!na(n))?t:n||function(r){let s=Jr(r);for(;$t(s)&&!Za(s);){if(na(s))return s;s=Jr(s)}return null}(e)||t}function F0(e,t,n){const r=$t(t),s=on(t),o=Kr(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((fn(t)!=="body"||Oo(s))&&(i=Lo(t)),$t(t)){const l=Kr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Ph(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const j0={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=no(c).filter(y=>sn(y)&&fn(y)!=="body"),h=null;const p=Pt(c).position==="fixed";let g=p?Jr(c):c;for(;sn(g)&&!Za(g);){const y=Pt(g),_=na(g);(p?_||h:_||y.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=y:d=d.filter(v=>v!==g),g=Jr(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=Sc(t,u,s);return c.top=Dr(f.top,c.top),c.right=vc(f.right,c.right),c.bottom=vc(f.bottom,c.bottom),c.left=Dr(f.left,c.left),c},Sc(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=$t(n),o=on(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")&&((fn(n)!=="body"||Oo(o))&&(i=Lo(n)),$t(n))){const c=Kr(n);a=or(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:sn,getDimensions:function(e){return $t(e)?xh(e):e.getBoundingClientRect()},getOffsetParent:kc,getDocumentElement:on,getScale:or,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||kc,o=this.getDimensions;return{reference:F0(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Pt(e).direction==="rtl"},G0=(e,t,n)=>{const r=new Map,s={platform:j0,...n},o={...s.platform,_c:r};return P0(e,t,{...s,platform:o})};function Nh(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Nh(e[n],t[n]):e[n]=t[n])}const bt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,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"],delay:{show:0,hide:400}}}};function Xr(e,t){let n=bt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=bt.themes[n.$extend]||{}:(n=null,r=bt[t]):n=null;while(n);return r}function U0(e){const t=[e];let n=bt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=bt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Ac(e){const t=[e];let n=bt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=bt.themes[n.$extend]||{}):n=null;while(n);return t}let gr=!1;if(typeof window<"u"){gr=!1;try{const e=Object.defineProperty({},"passive",{get(){gr=!0}});window.addEventListener("test",null,e)}catch{}}let Ih=!1;typeof window<"u"&&typeof navigator<"u"&&(Ih=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Oh=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ec={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Tc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Rc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function fi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const mt=[];let vn=null;const Pc={};function $c(e){let t=Pc[e];return t||(t=Pc[e]=[]),t}let ra=function(){};typeof window<"u"&&(ra=window.Element);function le(e){return function(t){return Xr(t.theme,e)}}const hi="__floating-vue__popper",Lh=()=>Qe({name:"VPopper",provide(){return{[hi]:{parentPopper:this}}},inject:{[hi]:{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:le("disabled")},positioningDisabled:{type:Boolean,default:le("positioningDisabled")},placement:{type:String,default:le("placement"),validator:e=>Oh.includes(e)},delay:{type:[String,Number,Object],default:le("delay")},distance:{type:[Number,String],default:le("distance")},skidding:{type:[Number,String],default:le("skidding")},triggers:{type:Array,default:le("triggers")},showTriggers:{type:[Array,Function],default:le("showTriggers")},hideTriggers:{type:[Array,Function],default:le("hideTriggers")},popperTriggers:{type:Array,default:le("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:le("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:le("popperHideTriggers")},container:{type:[String,Object,ra,Boolean],default:le("container")},boundary:{type:[String,ra],default:le("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:le("strategy")},autoHide:{type:[Boolean,Function],default:le("autoHide")},handleResize:{type:Boolean,default:le("handleResize")},instantMove:{type:Boolean,default:le("instantMove")},eagerMount:{type:Boolean,default:le("eagerMount")},popperClass:{type:[String,Array,Object],default:le("popperClass")},computeTransformOrigin:{type:Boolean,default:le("computeTransformOrigin")},autoMinSize:{type:Boolean,default:le("autoMinSize")},autoSize:{type:[Boolean,String],default:le("autoSize")},autoMaxSize:{type:Boolean,default:le("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:le("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:le("preventOverflow")},overflowPadding:{type:[Number,String],default:le("overflowPadding")},arrowPadding:{type:[Number,String],default:le("arrowPadding")},arrowOverflow:{type:Boolean,default:le("arrowOverflow")},flip:{type:Boolean,default:le("flip")},shift:{type:Boolean,default:le("shift")},shiftCrossAxis:{type:Boolean,default:le("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:le("noAutoFocus")},disposeTimeout:{type:Number,default:le("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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[hi])==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:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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"))},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(M0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(I0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(D0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(O0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push($0({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(H0({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 G0(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,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),vn&&this.instantMove&&vn.instantMove&&vn!==this.parentPopper){vn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(vn=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 fi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...no(this.$_referenceNode),...no(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<mt.length;n++)t=mt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}mt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ac(this.theme))$c(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 fi(),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,Rc(mt,this),mt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Ac(this.theme)){const r=$c(n);Rc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}vn===this&&(vn=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 fi(),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,Ec,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ec,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Tc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Tc,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,gr?{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(Hr>=e.left&&Hr<=e.right&&Br>=e.top&&Br<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Hr-qt,r=Br-Kt,s=t.left+t.width/2-qt+(t.top+t.height/2)-Kt+t.width+t.height,o=qt+n*s,i=Kt+r*s;return Ss(qt,Kt,o,i,t.left,t.top,t.left,t.bottom)||Ss(qt,Kt,o,i,t.left,t.top,t.right,t.top)||Ss(qt,Kt,o,i,t.right,t.top,t.right,t.bottom)||Ss(qt,Kt,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Ih){const e=gr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Nc(t,!0),e),document.addEventListener("touchend",t=>Ic(t,!0),e)}else window.addEventListener("mousedown",e=>Nc(e,!1),!0),window.addEventListener("click",e=>Ic(e,!1),!0);window.addEventListener("resize",z0)}function Nc(e,t){if(bt.autoHideOnMousedown)Mh(e,t);else for(let n=0;n<mt.length;n++){const r=mt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Ic(e,t){bt.autoHideOnMousedown||Mh(e,t)}function Mh(e,t){const n={};for(let r=mt.length-1;r>=0;r--){const s=mt[r];try{const o=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&Oc(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&&Oc(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Oc(e,t,n){return n.closeAllPopover||n.closePopover&&t||W0(e,n)&&!t}function W0(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function z0(){for(let e=0;e<mt.length;e++)mt[e].$_computePosition()}let qt=0,Kt=0,Hr=0,Br=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{qt=Hr,Kt=Br,Hr=e.clientX,Br=e.clientY},gr?{passive:!0}:void 0);function Ss(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 V0={extends:Lh()},Mo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function q0(e,t,n,r,s,o){return ee(),ge("div",{ref:"reference",class:Pe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ge(e.$slots,"default",Ru(Ua(e.slotData)))],2)}const K0=Mo(V0,[["render",q0]]);function J0(){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 Os;function sa(){sa.init||(sa.init=!0,Os=J0()!==-1)}var Do={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){sa(),as(()=>{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",Os&&this.$el.appendChild(e),e.data="about:blank",Os||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&&(!Os&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const X0=cg();ag("data-v-b329ee4c");const Q0={class:"resize-observer",tabindex:"-1"};lg();const Y0=X0((e,t,n,r,s,o)=>(ee(),We("div",Q0)));Do.render=Y0;Do.__scopeId="data-v-b329ee4c";Do.__file="src/components/ResizeObserver.vue";const Dh=(e="theme")=>({computed:{themeClass(){return U0(this[e])}}}),Z0=Qe({name:"VPopperContent",components:{ResizeObserver:Do},mixins:[Dh()],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}}}),eb=["id","aria-hidden","tabindex","data-popper-placement"],tb={ref:"inner",class:"v-popper__inner"},nb=z("div",{class:"v-popper__arrow-outer"},null,-1),rb=z("div",{class:"v-popper__arrow-inner"},null,-1),sb=[nb,rb];function ob(e,t,n,r,s,o){const i=un("ResizeObserver");return ee(),ge("div",{id:e.popperId,ref:"popover",class:Pe(["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:Rn(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]=Fm(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[z("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),z("div",{class:"v-popper__wrapper",style:Rn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[z("div",tb,[e.mounted?(ee(),ge(Oe,{key:0},[z("div",null,[Ge(e.$slots,"default")]),e.handleResize?(ee(),We(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Tt("",!0)],64)):Tt("",!0)],512),z("div",{ref:"arrow",class:"v-popper__arrow-container",style:Rn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},sb,4)],4)],46,eb)}const Hh=Mo(Z0,[["render",ob]]),Bh={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)}}};let oa=function(){};typeof window<"u"&&(oa=window.Element);const ib=Qe({name:"VPopperWrapper",components:{Popper:K0,PopperContent:Hh},mixins:[Bh,Dh("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,oa,Boolean],default:void 0},boundary:{type:[String,oa],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function ab(e,t,n,r,s,o){const i=un("PopperContent"),a=un("Popper");return ee(),We(a,Ao({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:he(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:y,classes:_,result:v})=>[Ge(e.$slots,"default",{shown:c,show:h,hide:p}),q(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:_,result:v,onHide:p,onResize:y},{default:he(()=>[Ge(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const el=Mo(ib,[["render",ab]]),lb={...el,name:"VDropdown",vPopperTheme:"dropdown"},cb={...el,name:"VMenu",vPopperTheme:"menu"},ub={...el,name:"VTooltip",vPopperTheme:"tooltip"},fb=Qe({name:"VTooltipDirective",components:{Popper:Lh(),PopperContent:Hh},mixins:[Bh],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Xr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Xr(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}}}),hb=["innerHTML"],db=["textContent"];function pb(e,t,n,r,s,o){const i=un("PopperContent"),a=un("Popper");return ee(),We(a,Ao({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:he(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:y,result:_})=>[q(i,{ref:"popperContent",class:Pe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:y,result:_,onHide:h,onResize:g},{default:he(()=>[e.html?(ee(),ge("div",{key:0,innerHTML:e.finalContent},null,8,hb)):(ee(),ge("div",{key:1,textContent:rn(e.finalContent)},null,8,db))]),_: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 gb=Mo(fb,[["render",pb]]),Fh="v-popper--has-tooltip";function mb(e,t){let n=e.placement;if(!n&&t)for(const r of Oh)t[r]&&(n=r);return n||(n=Xr(e.theme||"tooltip","placement")),n}function jh(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=mb(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let di,Qr,yb=0;function _b(){if(di)return;Qr=Ce([]),di=Uf({name:"VTooltipDirectiveApp",setup(){return{directives:Qr}},render(){return this.directives.map(t=>dr(gb,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),di.mount(e)}function bb(e,t,n){_b();const r=Ce(jh(e,t,n)),s=Ce(!1),o={id:yb++,options:r,shown:s};return Qr.value.push(o),e.classList&&e.classList.add(Fh),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Gh(e){if(e.$_popper){const t=Qr.value.indexOf(e.$_popper.item);t!==-1&&Qr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Fh)}function Lc(e,{value:t,modifiers:n}){const r=jh(e,t,n);if(!r.content||Xr(r.theme||"tooltip","disabled"))Gh(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=bb(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const wb={beforeMount:Lc,updated:Lc,beforeUnmount(e){Gh(e)}};function Mc(e){e.addEventListener("mousedown",ro),e.addEventListener("click",ro),e.addEventListener("touchstart",Uh,gr?{passive:!0}:!1)}function Dc(e){e.removeEventListener("mousedown",ro),e.removeEventListener("click",ro),e.removeEventListener("touchstart",Uh),e.removeEventListener("touchend",Wh),e.removeEventListener("touchcancel",zh)}function ro(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Uh(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",Wh),t.addEventListener("touchcancel",zh)}}function Wh(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 zh(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const vb={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Mc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Mc(e):Dc(e))},beforeUnmount(e){Dc(e)}};function Cb(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Nh(bt,t),e.directive("tooltip",wb),e.directive("close-popper",vb),e.component("VTooltip",ub),e.component("VDropdown",lb),e.component("VMenu",cb))}const Sb={version:"5.2.2",install:Cb,options:bt},xb=Mt(e=>{e.vueApp.use(Sb)}),kb=[i0,f0,p0,m0,y0,_0,w0,v0,C0,xb],tl=Qe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ee(),ge("div",{class:Pe(["n-icon",t.icon])},null,2))}}),Ho=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Ab={},Eb={class:"n-badge"};function Tb(e,t){return ee(),ge("span",Eb,[Ge(e.$slots,"default")])}const Rb=Ho(Ab,[["render",Tb]]);async function Vh(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(()=>Vh(e,t));t._routePreloaded.add(n);const o=r.map(i=>{var a;return(a=i.components)==null?void 0:a.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 Pb=(...e)=>e.find(t=>t!==void 0);function $b(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Hc(o,e.trailingSlash);const a="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Hc(a,e.trailingSlash)}}function s(o){const i=Ot(),a=pr(),l=He(()=>!!o.target&&o.target!=="_self"),c=He(()=>{const y=o.to||o.href||"";return typeof y=="string"&&gn(y,{acceptRelative:!0})}),u=un("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,d=He(()=>{if(o.external)return!0;const y=o.to||o.href||"";return typeof y=="object"?!1:y===""||c.value}),h=He(()=>{const y=o.to||o.href||"";return d.value?y:r(y,i.resolve)}),p=d.value||f==null?void 0:f({...o,to:h}),g=He(()=>{var y;if(!h.value||c.value||n(h.value))return h.value;if(d.value){const _=typeof h.value=="object"&&"path"in h.value?Xi(h.value):h.value,v=typeof _=="object"?i.resolve(_).href:_;return r(v,i.resolve)}return typeof h.value=="object"?((y=i.resolve(h.value))==null?void 0:y.href)??null:r(cs(a.app.baseURL,h.value),i.resolve)});return{to:h,hasTarget:l,isAbsoluteUrl:c,isExternal:d,href:g,isActive:(p==null?void 0:p.isActive)??He(()=>h.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??He(()=>h.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??He(()=>i.resolve(h.value)),async navigate(y){await dh(g.value,{replace:o.replace,external:d.value||l.value})}}}return Qe({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},prefetchOn:{type:[String,Object],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}},useLink:s,setup(o,{slots:i}){const a=Ot(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:d,isAbsoluteUrl:h}=s(o),p=Ce(!1),g=Ce(null),y=m=>{var w;g.value=o.custom?(w=m==null?void 0:m.$el)==null?void 0:w.nextElementSibling:m==null?void 0:m.$el};function _(m){var w,S;return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:((w=o.prefetchOn)==null?void 0:w[m])??((S=e.prefetchOn)==null?void 0:S[m]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!Ob()}async function v(m=ke()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:f.value?Xi(l.value):a.resolve(l.value).fullPath,S=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",S).catch(()=>{}),!f.value&&!d.value&&Vh(l.value,a).catch(()=>{})])}if(_("visibility")){const m=ke();let w,S=null;af(()=>{const A=Nb();No(()=>{w=ea(()=>{var N;(N=g==null?void 0:g.value)!=null&&N.tagName&&(S=A.observe(g.value,async()=>{S==null||S(),S=null,await v(m)}))})})}),Ba(()=>{w&&g0(w),S==null||S(),S=null})}return()=>{var S;if(!f.value&&!d.value&&!n(l.value)){const A={ref:y,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(_("interaction")&&(A.onPointerenter=v.bind(null,void 0),A.onFocus=v.bind(null,void 0)),p.value&&(A.class=o.prefetchedClass||e.prefetchedClass),A.rel=o.rel||void 0),dr(un("RouterLink"),A,i.default)}const m=o.target||null,w=Pb(o.noRel?"":o.rel,e.externalRelAttribute,h.value||d.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:c.value,navigate:u,prefetch:v,get route(){if(!c.value)return;const A=new URL(c.value,window.location.href);return{path:A.pathname,fullPath:A.pathname,get query(){return To(A.search)},hash:A.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:w,target:m,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:dr("a",{ref:g,href:c.value||null,rel:w,target:m},(S=i.default)==null?void 0:S.call(i))}}})}const qh=$b(Vy);function Hc(e,t){const n=t==="append"?Ks:Ro;return gn(e)&&!e.startsWith("http")?e:n(e,!0)}function Nb(){const e=ke();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==null||t.unobserve(o),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const Ib=/2g/;function Ob(){const e=navigator.connection;return!!(e&&(e.saveData||Ib.test(e.effectiveType)))}const Lb={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Mb=Qe({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=He(()=>t.href||t.to);return(r,s)=>{const o=qh;return ee(),We(o,Ao(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:he(()=>[Ge(r.$slots,"default"),n.value&&r.target==="_blank"?(ee(),ge("div",Lb)):Tt("",!0)]),_:3},16,["class"])}}}),Db={},Hb={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Bb(e,t){return ee(),ge("svg",Hb,t[0]||(t[0]=[am('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8)]))}const Fb=Ho(Db,[["render",Bb]]),jb={},Gb={class:"n-loading n-panel-grids-center"},Ub={class:"flex flex-col animate-pulse items-center text-lg"};function Wb(e,t){return ee(),ge("div",Gb,[z("div",Ub,[t[1]||(t[1]=z("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ge(e.$slots,"default",{},()=>[t[0]||(t[0]=Ae(" Loading... "))])])])}const zb=Ho(jb,[["render",Wb]]);let Ue=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Vb(e){return nl(e)}function nl(e){return Array.isArray(e)?qb(e):e instanceof RegExp?e:typeof e=="object"?Kb(e):e}function qb(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=nl(e[n]);return t}function Kb(e){let t={};for(let n in e)t[n]=nl(e[n]);return t}function Kh(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Jh(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Jh(e.substring(0,e.length-1)):e.substr(~t+1)}var pi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,xs=class{static hasCaptures(e){return e===null?!1:(pi.lastIndex=0,pi.test(e))}static replaceCaptures(e,t,n){return e.replace(pi,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Xh(e,t){return e<t?-1:e>t?1:0}function Qh(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let s=0;s<n;s++){let o=Xh(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function Bc(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Yh(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Zh=class{constructor(e){x(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},so=class{constructor(e,t,n){x(this,"_cachedMatchRoot",new Zh(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(Qb(e),t)}static createFromParsedTheme(e,t){return Zb(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>Jb(e.parent,s.parentScopes));return r?new ed(r.fontStyle,r.foreground,r.background):null}},gi=class Ls{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Ls(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ls(n,t[r]);return n}push(t){return new Ls(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function Jb(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!Xb(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Xb(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var ed=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Qb(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&Bc(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Bc(i.settings.background)&&(u=i.settings.background);for(let f=0,d=a.length;f<d;f++){let p=a[f].trim().split(" "),g=p[p.length-1],y=null;p.length>1&&(y=p.slice(0,p.length-1),y.reverse()),n[r++]=new Yb(g,y,s,l,c,u)}}return n}var Yb=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},zt=(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[e.Strikethrough=8]="Strikethrough",e))(zt||{});function Zb(e,t){e.sort((l,c)=>{let u=Xh(l.scope,c.scope);return u!==0||(u=Qh(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new ew(t),i=new ed(n,o.getId(r),o.getId(s)),a=new nw(new ia(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new so(o,i,a)}var ew=class{constructor(e){x(this,"_isFrozen");x(this,"_lastColorId");x(this,"_id2color");x(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},tw=Object.freeze([]),ia=class td{constructor(t,n,r,s,o){x(this,"scopeDepth");x(this,"parentScopes");x(this,"fontStyle");x(this,"foreground");x(this,"background");this.scopeDepth=t,this.parentScopes=n||tw,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new td(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},nw=class aa{constructor(t,n=[],r={}){x(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(aa._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new aa(this._mainRule.clone(),ia.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(Qh(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new ia(t,n,r,s,o))}},mr=class ot{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ot.getLanguageId(t),r=ot.getTokenType(t),s=ot.getFontStyle(t),o=ot.getForeground(t),i=ot.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=ot.getLanguageId(t),c=ot.getTokenType(t),u=ot.containsBalancedBrackets(t)?1:0,f=ot.getFontStyle(t),d=ot.getForeground(t),h=ot.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),s!==null&&(u=s?1:0),o!==-1&&(f=o),i!==0&&(d=i),a!==0&&(h=a),(l<<0|c<<8|u<<10|f<<11|d<<15|h<<24)>>>0}};function oo(e,t){const n=[],r=rw(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let c=i();if(n.push({matcher:c,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(Fc(s)){const l=[];do l.push(s),s=r.next();while(Fc(s));return c=>t(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");c=i()}return u=>l.some(f=>f(u))}}function Fc(e){return!!e&&!!e.match(/[\w\.:]+/)}function rw(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function nd(e){typeof e.dispose=="function"&&e.dispose()}var Yr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},sw=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},ow=class{constructor(){x(this,"_references",[]);x(this,"_seenReferenceKeys",new Set);x(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},iw=class{constructor(e,t){x(this,"seenFullScopeRequests",new Set);x(this,"seenPartialScopeRequests",new Set);x(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Yr(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new ow;for(const n of e)aw(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Yr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function aw(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof Yr?Ms({baseGrammar:o,selfGrammar:s},r):la(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Yr(a))}function la(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];io([r],t,n)}}function Ms(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&io(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&io(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function io(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?Kh({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&io(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=rd(o);switch(i.kind){case 0:Ms({...t,selfGrammar:t.baseGrammar},n);break;case 1:Ms(t,n);break;case 2:la(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?la(i.ruleName,l,n):Ms(l,n)}else i.kind===4?n.add(new sw(i.scopeName,i.ruleName)):n.add(new Yr(i.scopeName));break}}}var lw=class{constructor(){x(this,"kind",0)}},cw=class{constructor(){x(this,"kind",1)}},uw=class{constructor(e){x(this,"kind",2);this.ruleName=e}},fw=class{constructor(e){x(this,"kind",3);this.scopeName=e}},hw=class{constructor(e,t){x(this,"kind",4);this.scopeName=e,this.ruleName=t}};function rd(e){if(e==="$base")return new lw;if(e==="$self")return new cw;const t=e.indexOf("#");if(t===-1)return new fw(e);if(t===0)return new uw(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new hw(n,r)}}var dw=/\\(\d+)/,jc=/\\(\d+)/g,pw=-1,sd=-2;var us=class{constructor(e,t,n,r){x(this,"$location");x(this,"id");x(this,"_nameIsCapturing");x(this,"_name");x(this,"_contentNameIsCapturing");x(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=xs.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=xs.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Jh(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:xs.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:xs.replaceCaptures(this._contentName,e,t)}},gw=class extends us{constructor(t,n,r,s,o){super(t,n,r,s);x(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,s){throw new Error("Not supported!")}},mw=class extends us{constructor(t,n,r,s,o){super(t,n,r,null);x(this,"_match");x(this,"captures");x(this,"_cachedCompiledPatterns");this._match=new Zr(s,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new es,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Gc=class extends us{constructor(t,n,r,s,o){super(t,n,r,s);x(this,"hasMissingPatterns");x(this,"patterns");x(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new es,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ca=class extends us{constructor(t,n,r,s,o,i,a,l,c,u){super(t,n,r,s);x(this,"_begin");x(this,"beginCaptures");x(this,"_end");x(this,"endHasBackReferences");x(this,"endCaptures");x(this,"applyEndPatternLast");x(this,"hasMissingPatterns");x(this,"patterns");x(this,"_cachedCompiledPatterns");this._begin=new Zr(o,this.id),this.beginCaptures=i,this._end=new Zr(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,s)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new es;for(const r of this.patterns)t.getRule(r).collectPatterns(t,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,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},ao=class extends us{constructor(t,n,r,s,o,i,a,l,c){super(t,n,r,s);x(this,"_begin");x(this,"beginCaptures");x(this,"whileCaptures");x(this,"_while");x(this,"whileHasBackReferences");x(this,"hasMissingPatterns");x(this,"patterns");x(this,"_cachedCompiledPatterns");x(this,"_cachedCompiledWhilePatterns");this._begin=new Zr(o,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new Zr(a,sd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.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(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new es;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,s){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,s)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new es,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},od=class De{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new gw(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new mw(t.$vscodeTextmateLocation,t.id,t.name,t.match,De._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Kh({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new Gc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,De._compilePatterns(o,n,r))}return t.while?new ao(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,De._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,De._compileCaptures(t.whileCaptures||t.captures,n,r),De._compilePatterns(t.patterns,n,r)):new ca(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,De._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,De._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,De._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=De.getCompiledRuleId(t[i],n,r)),s[a]=De.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const c=rd(a.include);switch(c.kind){case 0:case 1:l=De.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=De.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(l=De.getCompiledRuleId(p,n,h.repository))}else l=De.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=De.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Gc||c instanceof ca||c instanceof ao)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},Zr=class id{constructor(t,n){x(this,"source");x(this,"ruleId");x(this,"hasAnchor");x(this,"hasBackReferences");x(this,"_anchorCache");if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=dw.test(this.source):this.hasBackReferences=!1}clone(){return new id(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return jc.lastIndex=0,this.source.replace(jc,(s,o)=>Yh(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},es=class{constructor(){x(this,"_items");x(this,"_hasAnchors");x(this,"_cached");x(this,"_anchorCache");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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Uc(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new Uc(e,r,this._items.map(s=>s.ruleId))}},Uc=class{constructor(e,t,n){x(this,"scanner");this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
19
|
+
**/let Gi;const Gl=typeof window<"u"&&window.trustedTypes;if(Gl)try{Gi=Gl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ff=Gi?e=>Gi.createHTML(e):e=>e,_m="http://www.w3.org/2000/svg",bm="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Ul=Bt&&Bt.createElement("template"),wm={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==="svg"?Bt.createElementNS(_m,e):t==="mathml"?Bt.createElementNS(bm,e):n?Bt.createElement(e,{is:n}):Bt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.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{Ul.innerHTML=Ff(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Ul.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vm=Symbol("_vtc");function Cm(e,t,n){const r=e[vm];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wl=Symbol("_vod"),Sm=Symbol("_vsh"),xm=Symbol(""),km=/(^|;)\s*display\s*:/;function Am(e,t,n){const r=e.style,s=Se(n);let o=!1;if(n&&!s){if(t)if(Se(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&$s(r,a,"")}else for(const i in t)n[i]==null&&$s(r,i,"");for(const i in n)i==="display"&&(o=!0),$s(r,i,n[i])}else if(s){if(t!==n){const i=r[xm];i&&(n+=";"+i),r.cssText=n,o=km.test(n)}}else t&&e.removeAttribute("style");Wl in e&&(e[Wl]=o?r.display:"",e[Sm]&&(r.display="none"))}const zl=/\s*!important$/;function $s(e,t,n){if(Z(n))n.forEach(r=>$s(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Em(e,t);zl.test(n)?e.setProperty(hn(r),n.replace(zl,""),"important"):e[r]=n}}const Vl=["Webkit","Moz","ms"],si={};function Em(e,t){const n=si[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return si[t]=r;r=_o(r);for(let s=0;s<Vl.length;s++){const o=Vl[s]+r;if(o in e)return si[t]=o}return t}const ql="http://www.w3.org/1999/xlink";function Kl(e,t,n,r,s,o=Ep(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ql,t.slice(6,t.length)):e.setAttributeNS(ql,t,n):n==null||o&&!Pu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":wt(n)?String(n):n)}function Jl(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ff(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Pu(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Tm(e,t,n,r){e.removeEventListener(t,n,r)}const Xl=Symbol("_vei");function Rm(e,t,n,r,s=null){const o=e[Xl]||(e[Xl]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Pm(t);if(r){const c=o[t]=Im(r,s);jf(e,a,c,l)}else i&&(Tm(e,a,i,l),o[t]=void 0)}}const Ql=/(?:Once|Passive|Capture)$/;function Pm(e){let t;if(Ql.test(e)){t={};let r;for(;r=e.match(Ql);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hn(e.slice(2)),t]}let oi=0;const $m=Promise.resolve(),Nm=()=>oi||($m.then(()=>oi=0),oi=Date.now());function Im(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;It(Om(r,n.value),t,5,[r])};return n.value=e,n.attached=Nm(),n}function Om(e,t){if(Z(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 Yl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lm=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Cm(e,r,i):t==="style"?Am(e,n,r):ss(t)?Sa(t)||Rm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mm(e,t,r,i))?(Jl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kl(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(r))?Jl(e,ht(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Kl(e,t,r,i))};function Mm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Yl(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Yl(t)&&Se(n)?!1:t in e}const Zl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>Rs(t,n):t},ii=Symbol("_assign"),Dm={created(e,{value:t},n){e.checked=Hs(t,n.props.value),e[ii]=Zl(n),jf(e,"change",()=>{e[ii](Hm(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ii]=Zl(r),t!==n&&(e.checked=Hs(t,r.props.value))}};function Hm(e){return"_value"in e?e._value:e.value}const Bm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Fm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=hn(s.key);if(t.some(i=>i===o||Bm[i]===o))return e(s)})},Gf=ze({patchProp:Lm},wm);let Lr,ec=!1;function jm(){return Lr||(Lr=Fg(Gf))}function Gm(){return Lr=ec?Lr:jg(Gf),ec=!0,Lr}const Uf=(...e)=>{const t=jm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zf(r);if(!s)return;const o=t._component;!Y(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Wf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Um=(...e)=>{const t=Gm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zf(r);if(s)return n(s,!0,Wf(s))},t};function Wf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zf(e){return Se(e)?document.querySelector(e):e}const Wm=/"(?:_|\\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*:/,zm=/"(?: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*:/,Vm=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function qm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Km(e);return}return t}function Km(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Vs(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!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(!Vm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Wm.test(e)||zm.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,qm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Jm=/#/g,Xm=/&/g,Qm=/\//g,Ym=/=/g,za=/\+/g,Zm=/%5e/gi,ey=/%60/gi,ty=/%7c/gi,ny=/%20/gi;function ry(e){return encodeURI(""+e).replace(ty,"|")}function Ui(e){return ry(typeof e=="string"?e:JSON.stringify(e)).replace(za,"%2B").replace(ny,"+").replace(Jm,"%23").replace(Xm,"%26").replace(ey,"`").replace(Zm,"^").replace(Qm,"%2F")}function ai(e){return Ui(e).replace(Ym,"%3D")}function qs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function sy(e){return qs(e.replace(za," "))}function oy(e){return qs(e.replace(za," "))}function To(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=sy(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=oy(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 iy(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ai(e)}=${Ui(n)}`).join("&"):`${ai(e)}=${Ui(t)}`:ai(e)}function Vf(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>iy(t,e[t])).filter(Boolean).join("&")}const ay=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ly=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,cy=/^([/\\]\s*){2,}[^/\\]/,uy=/^[\s\0]*(blob|data|javascript|vbscript):$/i,fy=/\/$|\/\?|\/#/,hy=/^\.?\//;function gn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?ay.test(e):ly.test(e)||(t.acceptRelative?cy.test(e):!1)}function dy(e){return!!e&&uy.test(e)}function Wi(e="",t){return t?fy.test(e):e.endsWith("/")}function Ro(e="",t){if(!t)return(Wi(e)?e.slice(0,-1):e)||"/";if(!Wi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Ks(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Wi(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function py(e=""){return e.startsWith("/")}function tc(e=""){return py(e)?e:"/"+e}function qf(e,t){if(Jf(t)||gn(e))return e;const n=Ro(t);return e.startsWith(n)?e:cs(n,e)}function gy(e,t){if(Jf(t))return e;const n=Ro(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Kf(e,t){const n=Yf(e),r={...To(n.search),...t};return n.search=Vf(r),Zf(n)}function Jf(e){return!e||e==="/"}function my(e){return e&&e!=="/"}function cs(e,...t){let n=e||"";for(const r of t.filter(s=>my(s)))if(n){const s=r.replace(hy,"");n=Ks(n)+s}else n=r;return n}function Xf(...e){var i,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&gn(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(c=n[n.length-1])!=null&&c.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function yy(e,t,n={}){return n.trailingSlash||(e=Ks(e),t=Ks(t)),n.leadingSlash||(e=tc(e),t=tc(t)),n.encoding||(e=qs(e),t=qs(t)),e===t}const Qf=Symbol.for("ufo:protocolRelative");function Yf(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!gn(e,{acceptRelative:!0}))return nc(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=nc(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[Qf]:!r}}function nc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Zf(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[Qf]?(e.protocol||"")+"//":"")+s+o+t+n+r}class _y extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function by(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.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 _y(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[p]}});return a}const wy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function rc(e="GET"){return wy.has(e.toUpperCase())}function vy(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 Cy=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Sy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function xy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Sy.test(t)?"json":Cy.has(t)||t.startsWith("text/")?"text":"blob"}function ky(e,t,n,r){const s=Ay((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:o,params:o,headers:s}}function Ay(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function bs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Ey=new Set([408,409,425,429,500,502,503,504]),Ty=new Set([101,204,205,304]);function eh(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=rc(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):Ey.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:u-1})}}const c=by(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:ky(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await bs(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=qf(u.request,u.options.baseURL)),u.options.query&&(u.request=Kf(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&rc(u.options.method)&&(vy(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")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,h.abort(p)},u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await bs(u,u.options.onRequestError),await s(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!Ty.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||xy(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Vs;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await bs(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await bs(u,u.options.onResponseError),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={},l={})=>eh({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Js=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")}(),Ry=Js.fetch?(...e)=>Js.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Py=Js.Headers,$y=Js.AbortController,Ny=eh({fetch:Ry,Headers:Py,AbortController:$y}),Iy=Ny,Oy=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Xs=Oy().app,Ly=()=>Xs.baseURL,My=()=>Xs.buildAssetsDir,Va=(...e)=>Xf(th(),My(),...e),th=(...e)=>{const t=Xs.cdnURL||Xs.baseURL;return e.length?Xf(t,...e):t};globalThis.__buildAssetsURL=Va,globalThis.__publicAssetsURL=th;globalThis.$fetch||(globalThis.$fetch=Iy.create({baseURL:Ly()}));function zi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?zi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Dy={run:e=>e()},Hy=()=>Dy,nh=typeof console.createTask<"u"?console.createTask:Hy;function By(e,t){const n=t.shift(),r=nh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Fy(e,t){const n=t.shift(),r=nh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function li(e,t){for(const n of[...e])n(t)}class jy{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=zi(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=zi(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(By,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Fy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&li(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&li(this._after,s)}):(this._after&&s&&li(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 rh(){return new jy}function Gy(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){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;Vi.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Vi.delete(c)}}}}function Uy(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Gy({...e,...r})),t[n]}}}const Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},sc="__unctx__",Wy=Qs[sc]||(Qs[sc]=Uy()),zy=(e,t={})=>Wy.get(e,t),oc="__unctx_async_handlers__",Vi=Qs[oc]||(Qs[oc]=new Set);function sh(e){const t=[];for(const s of Vi){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 Vy={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Jn={value:null,errorValue:null,deep:!0},qy=null,Ky="#__nuxt",oh="nuxt-app",ic=36e5,Jy="vite:preloadError";function ih(e=oh){return zy(e,{asyncContext:!1})}const Xy="__nuxt_plugin";function Qy(e){var s;let t=0;const n={_id:e.id||oh||"nuxt-app",_scope:Rp(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.16.0"},get vue(){return n.vueApp.version}},payload:qn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:qn({}),state:ln({}),once:new Set,_errors:qn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Ea()?n._scope.run(()=>ac(n,o)):ac(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:qn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=rh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;ws(n,a,i),ws(n.vueApp.config.globalProperties,a,i)},ws(n.vueApp,"$nuxt",n),ws(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Jy,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=ke);const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function Yy(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Zy(e,t){if(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 e_(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=Zy(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(h)))})))});l.parallel?s.push(f.catch(d=>o.push(d))):await f}}for(const l of t)Yy(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o.length)throw o[0]}function Mt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Xy]:!0,_name:t})}function ac(e,t,n){const r=()=>t();return ih(e._id).set(e),e.vueApp.runWithContext(r)}function ah(e){var n;let t;return So()&&(t=(n=ls())==null?void 0:n.appContext.app.$nuxt),t||(t=ih(e).tryUse()),t||null}function ke(e){const t=ah(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function pr(e){return ke().$config}function ws(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function t_(e,t){return{ctx:{table:e},matchAll:n=>ch(n,e)}}function lh(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,lh(s)])):new Map(Object.entries(e[n]));return t}function n_(e){return t_(lh(e))}function ch(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of lc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of lc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...ch(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function lc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ci(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.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function qi(e,t,n=".",r){if(!ci(t))return qi(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]]:ci(i)&&ci(s[o])?s[o]=qi(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function r_(e){return(...t)=>t.reduce((n,r)=>qi(n,r,"",e),{})}const s_=r_();function o_(e,t){try{return t in e}catch{return!1}}class Ki extends Error{constructor(n,r={}){super(n,r);x(this,"statusCode",500);x(this,"fatal",!1);x(this,"unhandled",!1);x(this,"statusMessage");x(this,"data");x(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Ji(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=uh(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}x(Ki,"__h3_error__",!0);function i_(e){if(typeof e=="string")return new Ki(e);if(a_(e))return e;const t=new Ki(e.message??e.statusMessage??"",{cause:e.cause||e});if(o_(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=Ji(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ji(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;uh(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 a_(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const l_=/[^\u0009\u0020-\u007E]/g;function uh(e=""){return e.replace(l_,"")}function Ji(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const fh=Symbol("route"),Ot=()=>{var e;return(e=ke())==null?void 0:e.$router},hh=()=>So()?On(fh,ke()._route):ke()._route;const c_=()=>{try{if(ke()._processingMiddleware)return!0}catch{return!1}return!1},dh=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Xi(e):Ot().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const r=gn(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&dy(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=c_();if(!s&&o){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:c,hash:u}=Yf(e);return{path:l,...c&&{query:To(c)},...u&&{hash:u},replace:!0}}return{...e,replace:!0}}return e}const i=Ot(),a=ke();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function Xi(e){return Kf(e.path||"",e.query||{})+(e.hash||"")}const ph="__nuxt_error",qa=()=>Yu(ke().payload,"error"),u_=e=>{const t=Po(e);try{const n=ke(),r=qa();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},f_=async(e={})=>{const t=ke(),n=qa();t.callHook("app:error:cleared",e),e.redirect&&await Ot().replace(e.redirect),n.value=qy},h_=e=>!!e&&typeof e=="object"&&ph in e,Po=e=>{const t=i_(e);return Object.defineProperty(t,ph,{value:!0,configurable:!1,writable:!1}),t};function cc(e){const t=p_(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const d_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function p_(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=d_.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const g_=-1,m_=-2,y_=-3,__=-4,b_=-5,w_=-6;function v_(e,t){return C_(JSON.parse(e),t)}function C_(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===g_)return;if(o===y_)return NaN;if(o===__)return 1/0;if(o===b_)return-1/0;if(o===w_)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==null?void 0: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 h=1;h<a.length;h+=1)u.add(s(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(s(a[h]),s(a[h+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 h=1;h<a.length;h+=2)d[a[h]]=s(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[l],p=a[1],g=cc(p),y=new h(g);r[o]=y;break}case"ArrayBuffer":{const h=a[1],p=cc(h);r[o]=p;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!==m_&&(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)}const S_=new Set(["link","style","script","noscript"]),x_=new Set(["title","titleTemplate","script","style","noscript"]),uc=new Set(["base","meta","link","style","script","noscript"]),k_=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),A_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),E_=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),T_=new Set(["templateParams","htmlAttrs","bodyAttrs"]),R_=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const P_=["name","property","http-equiv"];function gh(e){const t=e.split(":")[1];return R_.has(t)}function Qi(e){const{props:t,tag:n}=e;if(A_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of P_)if(t[r]!==void 0)return`${n}:${t[r]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(x_.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function fc(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Ys(e,t,n){const r=typeof e;let s;if(!t||!n?s=r==="function"?e():e:t&&(n==="titleTemplate"||n[0]==="o"&&n[1]==="n")?s=t(n,e):t&&(s=r==="function"?t(n,e()):t(n,e)),Array.isArray(s))return s.map(o=>Ys(o,t));if((s==null?void 0:s.constructor)===Object){const o={};for(const i of Object.keys(s))o[i]=Ys(s[i],t,i);return o}return s}function $_(e,t){const n=e==="style"?new Map:new Set;function r(s){const o=s.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l.trim());i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(s.trim(),o):r(s))}),n}function mh(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=$_(n,r);return}if(E_.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let i=t.type;if(t.type||(i="application/json"),!(i!=null&&i.endsWith("json"))&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-");s==="true"||s===""?e.props[n]=o?"true":!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function N_(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=mh({tag:e,props:{}},n);return r.key&&S_.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function yh(e,t){if(!e)return[];const n=[];return typeof e=="function"?yh(e(),t):(e=Ys(e,(r,s)=>{let o=s;for(let i=0;i<t.length;i++){const a=t[i](r,o);a!==void 0&&(o=a)}return o}),Object.entries(e).forEach(([r,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])n.push(N_(r,o))}),n.flat())}const Yi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,hc={base:-10,title:10},I_={critical:-8,high:-1,low:2},dc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},O_=/@import/,kr=e=>e===""||e===!0;function L_(e,t){var o;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=I_[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:dc;if(t.tag in hc)n=hc[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=dc.meta[i])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?kr(t.props.async)?n=s.script.async:t.props.src&&!kr(t.props.defer)&&!kr(t.props.async)&&t.props.type!=="module"&&!((o=t.props.type)!=null&&o.endsWith("json"))?n=s.script.sync:kr(t.props.defer)&&t.props.src&&!kr(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&O_.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function pc(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function M_(e={}){var a;const t=rh();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=[],i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>pc(i,l),push(l,c){const u={...c||{}};delete u.head;const f=u._index??i._entryCount++,d={_i:f,input:l,options:u},h={_poll(p=!1){i.dirty=!0,!p&&o.push(f),t.callHook("entries:updated",i)},dispose(){r.delete(f)&&h._poll(!0)},patch(p){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(d.input=p,r.set(f,d),h._poll())}};return h.patch(l),h},async resolveTags(){var h;const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.length;){const p=o.shift(),g=r.get(p);if(g){const y={tags:yh(g.input,e.propResolvers||[]).map(_=>Object.assign(_,g.options)),entry:g};await t.callHook("entries:normalize",y),g._tags=y.tags.map((_,v)=>(_._w=L_(i,_),_._p=(g._i<<10)+v,_._d=Qi(_),_))}}let c=!1;l.entries.flatMap(p=>(p._tags||[]).map(g=>({...g,props:{...g.props}}))).sort(Yi).reduce((p,g)=>{const y=String(g._d||g._p);if(!p.has(y))return p.set(y,g);const _=p.get(y);if(((g==null?void 0:g.tagDuplicateStrategy)||(T_.has(g.tag)?"merge":null)||(g.key&&g.key===_.key?"merge":null))==="merge"){const m={..._.props};Object.entries(g.props).forEach(([w,S])=>m[w]=w==="style"?new Map([..._.props.style||new Map,...S]):w==="class"?new Set([..._.props.class||new Set,...S]):S),p.set(y,{...g,props:m})}else g._p>>10===_._p>>10&&gh(g._d)?(p.set(y,Object.assign([...Array.isArray(_)?_:[_],g],g)),c=!0):(g._w===_._w?g._p>_._p:(g==null?void 0:g._w)<(_==null?void 0:_._w))&&p.set(y,g);return p},l.tagMap);const u=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(i._title=u==null?void 0:u.textContent,f){const p=f==null?void 0:f.textContent;if(i._titleTemplate=typeof p=="string"?p:void 0,p){let g=typeof p=="function"?p(u==null?void 0:u.textContent):p;typeof g=="string"&&!i.plugins.has("template-params")&&(g=g.replace("%s",(u==null?void 0:u.textContent)||"")),u?g===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:g}):(f.tag="title",f.textContent=g)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(Yi)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const p of l.tags){const{innerHTML:g,tag:y,props:_}=p;if(k_.has(y)&&!(Object.keys(_).length===0&&!p.innerHTML&&!p.textContent)&&!(y==="meta"&&!_.content&&!_["http-equiv"]&&!_.charset)){if(y==="script"&&g){if((h=_.type)!=null&&h.endsWith("json")){const v=typeof g=="string"?g:JSON.stringify(g);p.innerHTML=v.replace(/</g,"\\u003C")}else typeof g=="string"&&(p.innerHTML=g.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));p._d=Qi(p)}d.push(p)}}return d}};return((e==null?void 0:e.plugins)||[]).forEach(l=>pc(i,l)),i.hooks.callHook("init",i),(a=e.init)==null||a.forEach(l=>l&&i.push(l)),i}const Yt="%separator",D_=new RegExp(`${Yt}(?:\\s*${Yt})*`,"g");function H_(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function vs(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Yt);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Yt||!o.includes(a))return a;const l=H_(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(Yt)&&(e=e.slice(0,-Yt.length)),e.startsWith(Yt)&&(e=e.slice(Yt.length)),e=e.replace(D_,n||"").trim()),e}const gc=e=>e.includes(":key")?e:e.split(":").join(":key:"),B_={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=gc(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=gc(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Yi))}}},F_={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Zi(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Zi(n)));if((e==null?void 0:e.constructor)===Object){const n={};for(const r of Object.keys(e))n[r]=await Zi(e[r]);return n}return e}const j_={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Zi(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},G_={meta:"content",link:"href",htmlAttrs:"lang"},U_=["innerHTML","textContent"],W_=e=>({key:"template-params",hooks:{"tags:resolve":t=>{var i;console.log(t);const{tagMap:n,tags:r}=t,s=((i=n.get("templateParams"))==null?void 0:i.props)||{},o=s.separator||"|";delete s.separator,s.pageTitle=vs(s.pageTitle||e._title||"",s,o);for(const a of r){if(a.processTemplateParams===!1)continue;const l=G_[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=vs(a.props[l],s,o);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of U_)typeof a[c]=="string"&&(a[c]=vs(a[c],s,o,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=s,e._separator=o},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n!=null&&n.textContent&&n.processTemplateParams!==!1&&(n.textContent=vs(n.textContent,e._templateParams,e._separator))}}}),z_=(e,t)=>Te(t)?Xu(t):t,Ka="usehead";function V_(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ka,e)}}.install}function q_(){if(So()){const e=On(Ka);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function K_(e,t={}){const n=t.head||q_();return n.ssr?n.push(e||{},t):J_(n,e,t)}function J_(e,t,n={}){const r=Ce(!1);let s;return zg(()=>{const i=r.value?{}:Ys(t,z_);s?s.patch(i):s=e.push(i,n)}),ls()&&(Ba(()=>{s.dispose()}),rf(()=>{r.value=!0}),nf(()=>{r.value=!1})),s}function X_(e){var n;const t=e||ah();return((n=t==null?void 0:t.ssrContext)==null?void 0:n.head)||(t==null?void 0:t.runWithContext(()=>{if(So())return On(Ka)}))}function Q_(e,t={}){const n=X_(t.nuxt);if(n)return K_(e,{head:n,...t})}const Y_="modulepreload",Z_=function(e,t){return new URL(e,t).href},mc={},Xn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=Z_(c,r),c in mc)return;mc[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===c&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":Y_,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((p,g)=>{h.addEventListener("load",p),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Ns,Is;function e0(){return Ns=$fetch(Va(`builds/meta/${pr().app.buildId}.json`),{responseType:"json"}),Ns.then(e=>{Is=n_(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ns}function $o(){return Ns||e0()}async function Ja(e){const t=typeof e=="string"?e:e.path;if(await $o(),!Is)return console.error("[nuxt] Error creating app manifest matcher.",Is),{};try{return s_({},...Is.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function yc(e,t={}){const n=await n0(e,t),r=ke(),s=r._payloadCache||(r._payloadCache={});return n in s?s[n]||null:(s[n]=bh(e).then(o=>o?_h(n).then(i=>i||(delete s[n],null)):(s[n]=null,null)),s[n])}const t0="_payload.json";async function n0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||gn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=pr(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await bh(e)?o:r.app.baseURL;return cs(i,n.pathname,t0+(s?`?${s}`:""))}async function _h(e){const t=fetch(e).then(n=>n.text().then(wh));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function bh(e=hh().path){const t=ke();return e=Ro(e),(await $o()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await Ja({path:e});return!!r.prerender&&!r.redirect})}let wn=null;async function r0(){var r;if(wn)return wn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await wh(e.textContent||""),n=e.dataset.src?await _h(e.dataset.src):void 0;return wn={...t,...n,...window.__NUXT__},(r=wn.config)!=null&&r.public&&(wn.config.public=ln(wn.config.public)),wn}async function wh(e){return await v_(e,ke()._payloadRevivers)}function s0(e,t){ke()._payloadRevivers[e]=t}const o0=[["NuxtError",e=>Po(e)],["EmptyShallowRef",e=>Ni(e==="_"?void 0:e==="0n"?BigInt(0):Vs(e))],["EmptyRef",e=>Ce(e==="_"?void 0:e==="0n"?BigInt(0):Vs(e))],["ShallowRef",e=>Ni(e)],["ShallowReactive",e=>qn(e)],["Ref",e=>Ce(e)],["Reactive",e=>ln(e)]],i0=Mt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of o0)s0(r,s);Object.assign(e.payload,([t,n]=sh(()=>e.runWithContext(r0)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Xa(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var h;const o=new Map,i=new Promise(p=>{e.resolveTags().then(g=>{p(g.map(y=>{const _=o.get(y._d)||0,v={tag:y,id:(_?`${y._d}:${_}`:y._d)||fc(y),shouldRender:!0};return y._d&&gh(y._d)&&o.set(y._d,_+1),v}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const g=(h=n[p])==null?void 0:h.children;for(const y of g){const _=y.tagName.toLowerCase();if(!uc.has(_))continue;const v=mh({tag:_,props:{}},{innerHTML:y.innerHTML,...y.getAttributeNames().reduce((m,w)=>(m[w]=y.getAttribute(w),m),{})||{}});if(v.key=y.getAttribute("data-hid")||void 0,v._d=Qi(v)||fc(v),a.elMap.has(v._d)){let m=1,w=v._d;for(;a.elMap.has(w);)w=`${v._d}:${m++}`;a.elMap.set(w,y)}else a.elMap.set(v._d,y)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,g,y){const _=`${p}:${g}`;a.sideEffects[_]=y,delete a.pendingSideEffects[_]}function c({id:p,$el:g,tag:y}){const _=y.tag.endsWith("Attrs");a.elMap.set(p,g),_||(y.textContent&&y.textContent!==g.textContent&&(g.textContent=y.textContent),y.innerHTML&&y.innerHTML!==g.innerHTML&&(g.innerHTML=y.innerHTML),l(p,"el",()=>{g==null||g.remove(),a.elMap.delete(p)}));for(const v in y.props){if(!Object.hasOwn(y.props,v))continue;const m=y.props[v];if(v.startsWith("on")&&typeof m=="function"){const S=g==null?void 0:g.dataset;if(S&&S[`${v}fired`]){const A=v.slice(0,-5);m.call(g,new Event(A.substring(2)))}g.getAttribute(`data-${v}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:g).addEventListener(v.substring(2),m.bind(g)),g.setAttribute(`data-${v}`,""));continue}const w=`attr:${v}`;if(v==="class"){if(!m)continue;for(const S of m)_&&l(p,`${w}:${S}`,()=>g.classList.remove(S)),!g.classList.contains(S)&&g.classList.add(S)}else if(v==="style"){if(!m)continue;for(const[S,A]of m)l(p,`${w}:${S}`,()=>{g.style.removeProperty(S)}),g.style.setProperty(S,A)}else m!==!1&&m!==null&&(g.getAttribute(v)!==m&&g.setAttribute(v,m===!0?"":String(m)),_&&l(p,w,()=>g.removeAttribute(v)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const p of d){const{tag:g,shouldRender:y,id:_}=p;if(y){if(g.tag==="title"){n.title=g.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(_),p.$el?c(p):uc.has(g.tag)&&u.push(p)}}for(const p of u){const g=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),f[g]=f[g]||n.createDocumentFragment(),f[g].appendChild(p.$el)}for(const p of d)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function a0(e={}){var r,s,o;const t=((r=e.domOptions)==null?void 0:r.render)||Xa;e.document=e.document||(typeof window<"u"?document:void 0);const n=((o=(s=e.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return M_({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function l0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function c0(e={}){const t=a0({domOptions:{render:l0(()=>Xa(t),as)},...e});return t.install=V_(t),t}const u0={disableDefaults:!0,disableCapoSorting:!1,plugins:[F_,j_,W_,B_]},f0=Mt({name:"nuxt:head",enforce:"pre",setup(e){const t=c0(u0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Xa(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)}}}),h0=async e=>{let t,n;const r=([t,n]=sh(()=>Ja({path:e.path})),t=await t,n(),t);if(r.redirect)return gn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},d0=[h0];function ui(e){typeof e=="object"&&(e=Zf({pathname:e.path||"",search:Vf(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:To(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const p0=Mt({name:"nuxt:router",enforce:"pre",setup(e){const t=gy(window.location.pathname,pr().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),o=pr().app.baseURL,i=ln(ui(t));async function a(f,d){try{const h=ui(f);for(const p of r["navigate:before"]){const g=await p(h,i);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return a(g,!0)}for(const p of r["resolve:before"])await p(h,i);Object.assign(i,h),window.history[d?"replaceState":"pushState"]({},"",cs(o,h.fullPath)),e.isHydrating||await e.runWithContext(f_);for(const p of r["navigate:after"])await p(h,i)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:He(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>s("resolve:before",f),beforeEach:f=>s("navigate:before",f),afterEach:f=>s("navigate:after",f),onError:f=>s("error",f),resolve:ui,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Qe({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>a(f.to,f.replace);return()=>{var g;const p=c.resolve(f.to);return f.custom?(g=d.default)==null?void 0:g.call(d,{href:f.to,navigate:h,route:p}):dr("a",{href:f.to,onClick:y=>(y.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware||(e._middleware={global:[],named:{}});const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=ln(f.meta||{}),e.isHydrating&&u&&!cn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...d0,...e._middleware.global]);{const p=await e.runWithContext(()=>Ja({path:f.path}));if(p.appMiddleware)for(const g in p.appMiddleware){const y=e._middleware.named[g];if(!y)return;p.appMiddleware[g]?h.add(y):h.delete(y)}}for(const p of h){const g=await e.runWithContext(()=>p(f,d));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),yy(i.fullPath,t)||await e.runWithContext(()=>dh(i.fullPath))}),{provide:{route:i,router:c}}}}),ea=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),g0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),No=e=>{const t=ke();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ea(()=>e())}):ea(()=>e())},m0=Mt({name:"nuxt:payload",setup(e){Ot().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await yc(t.path);r&&Object.assign(e.static.data,r.data)}),No(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await yc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout($o,1e3)})}}),y0=Mt(()=>{const e=Ot();No(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),_0=Mt(e=>{let t;async function n(){const r=await $o();t&&clearTimeout(t),t=setTimeout(n,ic);try{const s=await $fetch(Va("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}No(()=>{t=setTimeout(n,ic)})});function b0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Vs(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:ke().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const w0=Mt({name:"nuxt:chunk-reload",setup(e){const t=Ot(),n=pr(),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[0]==="#"?n.app.baseURL+o.href:cs(n.app.baseURL,o.fullPath);b0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),v0=Mt({name:"nuxt:global-components"}),C0=Mt(()=>{}),S0=["top","right","bottom","left"],_c=["start","end"],bc=S0.reduce((e,t)=>e.concat(t,t+"-"+_c[0],t+"-"+_c[1]),[]),qr=Math.min,xn=Math.max,x0={left:"right",right:"left",bottom:"top",top:"bottom"},k0={start:"end",end:"start"};function ta(e,t,n){return xn(e,qr(t,n))}function Hn(e,t){return typeof e=="function"?e(t):e}function Lt(e){return e.split("-")[0]}function _t(e){return e.split("-")[1]}function vh(e){return e==="x"?"y":"x"}function Qa(e){return e==="y"?"height":"width"}function Dn(e){return["top","bottom"].includes(Lt(e))?"y":"x"}function Ya(e){return vh(Dn(e))}function Ch(e,t,n){n===void 0&&(n=!1);const r=_t(e),s=Ya(e),o=Qa(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=eo(i)),[i,eo(i)]}function A0(e){const t=eo(e);return[Zs(e),t,Zs(t)]}function Zs(e){return e.replace(/start|end/g,t=>k0[t])}function E0(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 T0(e,t,n,r){const s=_t(e);let o=E0(Lt(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Zs)))),o}function eo(e){return e.replace(/left|right|bottom|top/g,t=>x0[t])}function R0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Sh(e){return typeof e!="number"?R0(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function wc(e,t,n){let{reference:r,floating:s}=e;const o=Dn(t),i=Ya(t),a=Qa(i),l=Lt(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 h;switch(l){case"top":h={x:u,y:r.y-s.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-s.width,y:f};break;default:h={x:r.x,y:r.y}}switch(_t(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const P0=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}=wc(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:y,fn:_}=a[g],{x:v,y:m,data:w,reset:S}=await _({x:u,y:f,initialPlacement:r,placement:d,strategy:s,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=v??u,f=m??f,h={...h,[y]:{...h[y],...w}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(c=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:u,y:f}=wc(c,d,l)),g=-1)}return{x:u,y:f,placement:d,strategy:s,middlewareData:h}};async function Io(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:h=0}=Hn(t,e),p=Sh(h),y=a[d?f==="floating"?"reference":"floating":f],_=Mr(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(y)))==null||n?y:y.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,m=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(m))?await(o.getScale==null?void 0:o.getScale(m))||{x:1,y:1}:{x:1,y:1},S=Mr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:m,strategy:l}):v);return{top:(_.top-S.top+p.top)/w.y,bottom:(S.bottom-_.bottom+p.bottom)/w.y,left:(_.left-S.left+p.left)/w.x,right:(S.right-_.right+p.right)/w.x}}const $0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Hn(e,t)||{};if(c==null)return{};const f=Sh(u),d={x:n,y:r},h=Ya(s),p=Qa(h),g=await i.getDimensions(c),y=h==="y",_=y?"top":"left",v=y?"bottom":"right",m=y?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[h]-d[h]-o.floating[p],S=d[h]-o.reference[h],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let N=A?A[m]:0;(!N||!await(i.isElement==null?void 0:i.isElement(A)))&&(N=a.floating[m]||o.floating[p]);const F=w/2-S/2,j=N/2-g[p]/2-1,O=qr(f[_],j),J=qr(f[v],j),K=O,re=N-g[p]-J,te=N/2-g[p]/2+F,ce=ta(K,te,re),H=!l.arrow&&_t(s)!=null&&te!==ce&&o.reference[p]/2-(te<K?O:J)-g[p]/2<0,X=H?te<K?te-K:te-re:0;return{[h]:d[h]+X,data:{[h]:ce,centerOffset:te-ce-X,...H&&{alignmentOffset:X}},reset:H}}});function N0(e,t,n){return(e?[...n.filter(s=>_t(s)===e),...n.filter(s=>_t(s)!==e)]:n.filter(s=>Lt(s)===s)).filter(s=>e?_t(s)===e||(t?Zs(s)!==s:!1):!0)}const I0=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=bc,autoAlignment:h=!0,...p}=Hn(e,t),g=f!==void 0||d===bc?N0(f||null,h,d):d,y=await Io(t,p),_=((n=i.autoPlacement)==null?void 0:n.index)||0,v=g[_];if(v==null)return{};const m=Ch(v,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:g[0]}};const w=[y[Lt(v)],y[m[0]],y[m[1]]],S=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:w}],A=g[_+1];if(A)return{data:{index:_+1,overflows:S},reset:{placement:A}};const N=S.map(O=>{const J=_t(O.placement);return[O.placement,J&&u?O.overflows.slice(0,2).reduce((K,re)=>K+re,0):O.overflows[0],O.overflows]}).sort((O,J)=>O[1]-J[1]),j=((s=N.filter(O=>O[2].slice(0,_t(O[0])?2:3).every(J=>J<=0))[0])==null?void 0:s[0])||N[0][0];return j!==a?{data:{index:_+1,overflows:S},reset:{placement:j}}:{}}}},O0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...y}=Hn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const _=Lt(s),v=Dn(a),m=Lt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=d||(m||!g?[eo(a)]:A0(a)),A=p!=="none";!d&&A&&S.push(...T0(a,g,p,w));const N=[a,...S],F=await Io(t,y),j=[];let O=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&j.push(F[_]),f){const te=Ch(s,i,w);j.push(F[te[0]],F[te[1]])}if(O=[...O,{placement:s,overflows:j}],!j.every(te=>te<=0)){var J,K;const te=(((J=o.flip)==null?void 0:J.index)||0)+1,ce=N[te];if(ce)return{data:{index:te,overflows:O},reset:{placement:ce}};let H=(K=O.filter(X=>X.overflows[0]<=0).sort((X,G)=>X.overflows[1]-G.overflows[1])[0])==null?void 0:K.placement;if(!H)switch(h){case"bestFit":{var re;const X=(re=O.filter(G=>{if(A){const _e=Dn(G.placement);return _e===v||_e==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(_e=>_e>0).reduce((_e,Fn)=>_e+Fn,0)]).sort((G,_e)=>G[1]-_e[1])[0])==null?void 0:re[0];X&&(H=X);break}case"initialPlacement":H=a;break}if(s!==H)return{reset:{placement:H}}}return{}}}};async function L0(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Lt(n),a=_t(n),l=Dn(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=Hn(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const M0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await L0(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},D0=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:y=>{let{x:_,y:v}=y;return{x:_,y:v}}},...l}=Hn(e,t),c={x:n,y:r},u=await Io(t,l),f=Dn(Lt(s)),d=vh(f);let h=c[d],p=c[f];if(o){const y=d==="y"?"top":"left",_=d==="y"?"bottom":"right",v=h+u[y],m=h-u[_];h=ta(v,h,m)}if(i){const y=f==="y"?"top":"left",_=f==="y"?"bottom":"right",v=p+u[y],m=p-u[_];p=ta(v,p,m)}const g=a.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:o,[f]:i}}}}}},H0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Hn(e,t),u=await Io(t,c),f=Lt(s),d=_t(s),h=Dn(s)==="y",{width:p,height:g}=o.floating;let y,_;f==="top"||f==="bottom"?(y=f,_=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,y=d==="end"?"top":"bottom");const v=g-u.top-u.bottom,m=p-u.left-u.right,w=qr(g-u[y],v),S=qr(p-u[_],m),A=!t.middlewareData.shift;let N=w,F=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(F=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=v),A&&!d){const O=xn(u.left,0),J=xn(u.right,0),K=xn(u.top,0),re=xn(u.bottom,0);h?F=p-2*(O!==0||J!==0?O+J:xn(u.left,u.right)):N=g-2*(K!==0||re!==0?K+re:xn(u.top,u.bottom))}await l({...t,availableWidth:F,availableHeight:N});const j=await i.getDimensions(a.floating);return p!==j.width||g!==j.height?{reset:{rects:!0}}:{}}}};function ct(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pt(e){return ct(e).getComputedStyle(e)}const vc=Math.min,Dr=Math.max,to=Math.round;function xh(e){const t=Pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=to(n)!==s||to(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function fn(e){return Ah(e)?(e.nodeName||"").toLowerCase():""}let Cs;function kh(){if(Cs)return Cs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Cs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Cs):navigator.userAgent}function $t(e){return e instanceof ct(e).HTMLElement}function sn(e){return e instanceof ct(e).Element}function Ah(e){return e instanceof ct(e).Node}function Cc(e){return typeof ShadowRoot>"u"?!1:e instanceof ct(e).ShadowRoot||e instanceof ShadowRoot}function Oo(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function B0(e){return["table","td","th"].includes(fn(e))}function na(e){const t=/firefox/i.test(kh()),n=Pt(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 Eh(){return!/^((?!chrome|android).)*safari/i.test(kh())}function Za(e){return["html","body","#document"].includes(fn(e))}function Th(e){return sn(e)?e:e.contextElement}const Rh={x:1,y:1};function or(e){const t=Th(e);if(!$t(t))return Rh;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=xh(t);let i=(o?to(n.width):n.width)/r,a=(o?to(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Kr(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Th(e);let l=Rh;t&&(r?sn(r)&&(l=or(r)):l=or(e));const c=a?ct(a):window,u=!Eh()&&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,h=i.width/l.x,p=i.height/l.y;if(a){const g=ct(a),y=r&&sn(r)?ct(r):r;let _=g.frameElement;for(;_&&r&&y!==g;){const v=or(_),m=_.getBoundingClientRect(),w=getComputedStyle(_);m.x+=(_.clientLeft+parseFloat(w.paddingLeft))*v.x,m.y+=(_.clientTop+parseFloat(w.paddingTop))*v.y,f*=v.x,d*=v.y,h*=v.x,p*=v.y,f+=m.x,d+=m.y,_=ct(_).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function on(e){return((Ah(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lo(e){return sn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ph(e){return Kr(on(e)).left+Lo(e).scrollLeft}function Jr(e){if(fn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cc(e)&&e.host||on(e);return Cc(t)?t.host:t}function $h(e){const t=Jr(e);return Za(t)?t.ownerDocument.body:$t(t)&&Oo(t)?t:$h(t)}function no(e,t){var n;t===void 0&&(t=[]);const r=$h(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ct(r);return s?t.concat(o,o.visualViewport||[],Oo(r)?r:[]):t.concat(r,no(r))}function Sc(e,t,n){return t==="viewport"?Mr(function(r,s){const o=ct(r),i=on(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=Eh();(d||!d&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):sn(t)?Mr(function(r,s){const o=Kr(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=$t(r)?or(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)):Mr(function(r){const s=on(r),o=Lo(r),i=r.ownerDocument.body,a=Dr(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Dr(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+Ph(r);const u=-o.scrollTop;return Pt(i).direction==="rtl"&&(c+=Dr(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(on(e)))}function xc(e){return $t(e)&&Pt(e).position!=="fixed"?e.offsetParent:null}function kc(e){const t=ct(e);let n=xc(e);for(;n&&B0(n)&&Pt(n).position==="static";)n=xc(n);return n&&(fn(n)==="html"||fn(n)==="body"&&Pt(n).position==="static"&&!na(n))?t:n||function(r){let s=Jr(r);for(;$t(s)&&!Za(s);){if(na(s))return s;s=Jr(s)}return null}(e)||t}function F0(e,t,n){const r=$t(t),s=on(t),o=Kr(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((fn(t)!=="body"||Oo(s))&&(i=Lo(t)),$t(t)){const l=Kr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Ph(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const j0={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=no(c).filter(y=>sn(y)&&fn(y)!=="body"),h=null;const p=Pt(c).position==="fixed";let g=p?Jr(c):c;for(;sn(g)&&!Za(g);){const y=Pt(g),_=na(g);(p?_||h:_||y.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=y:d=d.filter(v=>v!==g),g=Jr(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=Sc(t,u,s);return c.top=Dr(f.top,c.top),c.right=vc(f.right,c.right),c.bottom=vc(f.bottom,c.bottom),c.left=Dr(f.left,c.left),c},Sc(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=$t(n),o=on(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")&&((fn(n)!=="body"||Oo(o))&&(i=Lo(n)),$t(n))){const c=Kr(n);a=or(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:sn,getDimensions:function(e){return $t(e)?xh(e):e.getBoundingClientRect()},getOffsetParent:kc,getDocumentElement:on,getScale:or,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||kc,o=this.getDimensions;return{reference:F0(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Pt(e).direction==="rtl"},G0=(e,t,n)=>{const r=new Map,s={platform:j0,...n},o={...s.platform,_c:r};return P0(e,t,{...s,platform:o})};function Nh(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Nh(e[n],t[n]):e[n]=t[n])}const bt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,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"],delay:{show:0,hide:400}}}};function Xr(e,t){let n=bt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=bt.themes[n.$extend]||{}:(n=null,r=bt[t]):n=null;while(n);return r}function U0(e){const t=[e];let n=bt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=bt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Ac(e){const t=[e];let n=bt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=bt.themes[n.$extend]||{}):n=null;while(n);return t}let gr=!1;if(typeof window<"u"){gr=!1;try{const e=Object.defineProperty({},"passive",{get(){gr=!0}});window.addEventListener("test",null,e)}catch{}}let Ih=!1;typeof window<"u"&&typeof navigator<"u"&&(Ih=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Oh=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ec={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Tc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Rc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function fi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const mt=[];let vn=null;const Pc={};function $c(e){let t=Pc[e];return t||(t=Pc[e]=[]),t}let ra=function(){};typeof window<"u"&&(ra=window.Element);function le(e){return function(t){return Xr(t.theme,e)}}const hi="__floating-vue__popper",Lh=()=>Qe({name:"VPopper",provide(){return{[hi]:{parentPopper:this}}},inject:{[hi]:{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:le("disabled")},positioningDisabled:{type:Boolean,default:le("positioningDisabled")},placement:{type:String,default:le("placement"),validator:e=>Oh.includes(e)},delay:{type:[String,Number,Object],default:le("delay")},distance:{type:[Number,String],default:le("distance")},skidding:{type:[Number,String],default:le("skidding")},triggers:{type:Array,default:le("triggers")},showTriggers:{type:[Array,Function],default:le("showTriggers")},hideTriggers:{type:[Array,Function],default:le("hideTriggers")},popperTriggers:{type:Array,default:le("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:le("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:le("popperHideTriggers")},container:{type:[String,Object,ra,Boolean],default:le("container")},boundary:{type:[String,ra],default:le("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:le("strategy")},autoHide:{type:[Boolean,Function],default:le("autoHide")},handleResize:{type:Boolean,default:le("handleResize")},instantMove:{type:Boolean,default:le("instantMove")},eagerMount:{type:Boolean,default:le("eagerMount")},popperClass:{type:[String,Array,Object],default:le("popperClass")},computeTransformOrigin:{type:Boolean,default:le("computeTransformOrigin")},autoMinSize:{type:Boolean,default:le("autoMinSize")},autoSize:{type:[Boolean,String],default:le("autoSize")},autoMaxSize:{type:Boolean,default:le("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:le("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:le("preventOverflow")},overflowPadding:{type:[Number,String],default:le("overflowPadding")},arrowPadding:{type:[Number,String],default:le("arrowPadding")},arrowOverflow:{type:Boolean,default:le("arrowOverflow")},flip:{type:Boolean,default:le("flip")},shift:{type:Boolean,default:le("shift")},shiftCrossAxis:{type:Boolean,default:le("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:le("noAutoFocus")},disposeTimeout:{type:Number,default:le("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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[hi])==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:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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"))},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(M0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(I0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(D0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(O0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push($0({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(H0({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 G0(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,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),vn&&this.instantMove&&vn.instantMove&&vn!==this.parentPopper){vn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(vn=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 fi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...no(this.$_referenceNode),...no(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<mt.length;n++)t=mt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}mt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ac(this.theme))$c(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 fi(),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,Rc(mt,this),mt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Ac(this.theme)){const r=$c(n);Rc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}vn===this&&(vn=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 fi(),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,Ec,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ec,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Tc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Tc,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,gr?{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(Hr>=e.left&&Hr<=e.right&&Br>=e.top&&Br<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Hr-qt,r=Br-Kt,s=t.left+t.width/2-qt+(t.top+t.height/2)-Kt+t.width+t.height,o=qt+n*s,i=Kt+r*s;return Ss(qt,Kt,o,i,t.left,t.top,t.left,t.bottom)||Ss(qt,Kt,o,i,t.left,t.top,t.right,t.top)||Ss(qt,Kt,o,i,t.right,t.top,t.right,t.bottom)||Ss(qt,Kt,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Ih){const e=gr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Nc(t,!0),e),document.addEventListener("touchend",t=>Ic(t,!0),e)}else window.addEventListener("mousedown",e=>Nc(e,!1),!0),window.addEventListener("click",e=>Ic(e,!1),!0);window.addEventListener("resize",z0)}function Nc(e,t){if(bt.autoHideOnMousedown)Mh(e,t);else for(let n=0;n<mt.length;n++){const r=mt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Ic(e,t){bt.autoHideOnMousedown||Mh(e,t)}function Mh(e,t){const n={};for(let r=mt.length-1;r>=0;r--){const s=mt[r];try{const o=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&Oc(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&&Oc(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Oc(e,t,n){return n.closeAllPopover||n.closePopover&&t||W0(e,n)&&!t}function W0(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function z0(){for(let e=0;e<mt.length;e++)mt[e].$_computePosition()}let qt=0,Kt=0,Hr=0,Br=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{qt=Hr,Kt=Br,Hr=e.clientX,Br=e.clientY},gr?{passive:!0}:void 0);function Ss(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 V0={extends:Lh()},Mo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function q0(e,t,n,r,s,o){return ee(),ge("div",{ref:"reference",class:Pe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ge(e.$slots,"default",Ru(Ua(e.slotData)))],2)}const K0=Mo(V0,[["render",q0]]);function J0(){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 Os;function sa(){sa.init||(sa.init=!0,Os=J0()!==-1)}var Do={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){sa(),as(()=>{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",Os&&this.$el.appendChild(e),e.data="about:blank",Os||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&&(!Os&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const X0=cg();ag("data-v-b329ee4c");const Q0={class:"resize-observer",tabindex:"-1"};lg();const Y0=X0((e,t,n,r,s,o)=>(ee(),We("div",Q0)));Do.render=Y0;Do.__scopeId="data-v-b329ee4c";Do.__file="src/components/ResizeObserver.vue";const Dh=(e="theme")=>({computed:{themeClass(){return U0(this[e])}}}),Z0=Qe({name:"VPopperContent",components:{ResizeObserver:Do},mixins:[Dh()],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}}}),eb=["id","aria-hidden","tabindex","data-popper-placement"],tb={ref:"inner",class:"v-popper__inner"},nb=z("div",{class:"v-popper__arrow-outer"},null,-1),rb=z("div",{class:"v-popper__arrow-inner"},null,-1),sb=[nb,rb];function ob(e,t,n,r,s,o){const i=un("ResizeObserver");return ee(),ge("div",{id:e.popperId,ref:"popover",class:Pe(["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:Rn(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]=Fm(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[z("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),z("div",{class:"v-popper__wrapper",style:Rn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[z("div",tb,[e.mounted?(ee(),ge(Oe,{key:0},[z("div",null,[Ge(e.$slots,"default")]),e.handleResize?(ee(),We(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Tt("",!0)],64)):Tt("",!0)],512),z("div",{ref:"arrow",class:"v-popper__arrow-container",style:Rn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},sb,4)],4)],46,eb)}const Hh=Mo(Z0,[["render",ob]]),Bh={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)}}};let oa=function(){};typeof window<"u"&&(oa=window.Element);const ib=Qe({name:"VPopperWrapper",components:{Popper:K0,PopperContent:Hh},mixins:[Bh,Dh("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,oa,Boolean],default:void 0},boundary:{type:[String,oa],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function ab(e,t,n,r,s,o){const i=un("PopperContent"),a=un("Popper");return ee(),We(a,Ao({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:he(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:y,classes:_,result:v})=>[Ge(e.$slots,"default",{shown:c,show:h,hide:p}),q(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:_,result:v,onHide:p,onResize:y},{default:he(()=>[Ge(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const el=Mo(ib,[["render",ab]]),lb={...el,name:"VDropdown",vPopperTheme:"dropdown"},cb={...el,name:"VMenu",vPopperTheme:"menu"},ub={...el,name:"VTooltip",vPopperTheme:"tooltip"},fb=Qe({name:"VTooltipDirective",components:{Popper:Lh(),PopperContent:Hh},mixins:[Bh],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Xr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Xr(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}}}),hb=["innerHTML"],db=["textContent"];function pb(e,t,n,r,s,o){const i=un("PopperContent"),a=un("Popper");return ee(),We(a,Ao({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:he(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:y,result:_})=>[q(i,{ref:"popperContent",class:Pe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:y,result:_,onHide:h,onResize:g},{default:he(()=>[e.html?(ee(),ge("div",{key:0,innerHTML:e.finalContent},null,8,hb)):(ee(),ge("div",{key:1,textContent:rn(e.finalContent)},null,8,db))]),_: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 gb=Mo(fb,[["render",pb]]),Fh="v-popper--has-tooltip";function mb(e,t){let n=e.placement;if(!n&&t)for(const r of Oh)t[r]&&(n=r);return n||(n=Xr(e.theme||"tooltip","placement")),n}function jh(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=mb(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let di,Qr,yb=0;function _b(){if(di)return;Qr=Ce([]),di=Uf({name:"VTooltipDirectiveApp",setup(){return{directives:Qr}},render(){return this.directives.map(t=>dr(gb,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),di.mount(e)}function bb(e,t,n){_b();const r=Ce(jh(e,t,n)),s=Ce(!1),o={id:yb++,options:r,shown:s};return Qr.value.push(o),e.classList&&e.classList.add(Fh),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Gh(e){if(e.$_popper){const t=Qr.value.indexOf(e.$_popper.item);t!==-1&&Qr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Fh)}function Lc(e,{value:t,modifiers:n}){const r=jh(e,t,n);if(!r.content||Xr(r.theme||"tooltip","disabled"))Gh(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=bb(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const wb={beforeMount:Lc,updated:Lc,beforeUnmount(e){Gh(e)}};function Mc(e){e.addEventListener("mousedown",ro),e.addEventListener("click",ro),e.addEventListener("touchstart",Uh,gr?{passive:!0}:!1)}function Dc(e){e.removeEventListener("mousedown",ro),e.removeEventListener("click",ro),e.removeEventListener("touchstart",Uh),e.removeEventListener("touchend",Wh),e.removeEventListener("touchcancel",zh)}function ro(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Uh(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",Wh),t.addEventListener("touchcancel",zh)}}function Wh(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 zh(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const vb={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Mc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Mc(e):Dc(e))},beforeUnmount(e){Dc(e)}};function Cb(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Nh(bt,t),e.directive("tooltip",wb),e.directive("close-popper",vb),e.component("VTooltip",ub),e.component("VDropdown",lb),e.component("VMenu",cb))}const Sb={version:"5.2.2",install:Cb,options:bt},xb=Mt(e=>{e.vueApp.use(Sb)}),kb=[i0,f0,p0,m0,y0,_0,w0,v0,C0,xb],tl=Qe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ee(),ge("div",{class:Pe(["n-icon",t.icon])},null,2))}}),Ho=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Ab={},Eb={class:"n-badge"};function Tb(e,t){return ee(),ge("span",Eb,[Ge(e.$slots,"default")])}const Rb=Ho(Ab,[["render",Tb]]);async function Vh(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(()=>Vh(e,t));t._routePreloaded.add(n);const o=r.map(i=>{var a;return(a=i.components)==null?void 0:a.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 Pb=(...e)=>e.find(t=>t!==void 0);function $b(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Hc(o,e.trailingSlash);const a="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Hc(a,e.trailingSlash)}}function s(o){const i=Ot(),a=pr(),l=He(()=>!!o.target&&o.target!=="_self"),c=He(()=>{const y=o.to||o.href||"";return typeof y=="string"&&gn(y,{acceptRelative:!0})}),u=un("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,d=He(()=>{if(o.external)return!0;const y=o.to||o.href||"";return typeof y=="object"?!1:y===""||c.value}),h=He(()=>{const y=o.to||o.href||"";return d.value?y:r(y,i.resolve)}),p=d.value||f==null?void 0:f({...o,to:h}),g=He(()=>{var y;if(!h.value||c.value||n(h.value))return h.value;if(d.value){const _=typeof h.value=="object"&&"path"in h.value?Xi(h.value):h.value,v=typeof _=="object"?i.resolve(_).href:_;return r(v,i.resolve)}return typeof h.value=="object"?((y=i.resolve(h.value))==null?void 0:y.href)??null:r(cs(a.app.baseURL,h.value),i.resolve)});return{to:h,hasTarget:l,isAbsoluteUrl:c,isExternal:d,href:g,isActive:(p==null?void 0:p.isActive)??He(()=>h.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??He(()=>h.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??He(()=>i.resolve(h.value)),async navigate(y){await dh(g.value,{replace:o.replace,external:d.value||l.value})}}}return Qe({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},prefetchOn:{type:[String,Object],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}},useLink:s,setup(o,{slots:i}){const a=Ot(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:d,isAbsoluteUrl:h}=s(o),p=Ce(!1),g=Ce(null),y=m=>{var w;g.value=o.custom?(w=m==null?void 0:m.$el)==null?void 0:w.nextElementSibling:m==null?void 0:m.$el};function _(m){var w,S;return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:((w=o.prefetchOn)==null?void 0:w[m])??((S=e.prefetchOn)==null?void 0:S[m]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!Ob()}async function v(m=ke()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:f.value?Xi(l.value):a.resolve(l.value).fullPath,S=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",S).catch(()=>{}),!f.value&&!d.value&&Vh(l.value,a).catch(()=>{})])}if(_("visibility")){const m=ke();let w,S=null;af(()=>{const A=Nb();No(()=>{w=ea(()=>{var N;(N=g==null?void 0:g.value)!=null&&N.tagName&&(S=A.observe(g.value,async()=>{S==null||S(),S=null,await v(m)}))})})}),Ba(()=>{w&&g0(w),S==null||S(),S=null})}return()=>{var S;if(!f.value&&!d.value&&!n(l.value)){const A={ref:y,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(_("interaction")&&(A.onPointerenter=v.bind(null,void 0),A.onFocus=v.bind(null,void 0)),p.value&&(A.class=o.prefetchedClass||e.prefetchedClass),A.rel=o.rel||void 0),dr(un("RouterLink"),A,i.default)}const m=o.target||null,w=Pb(o.noRel?"":o.rel,e.externalRelAttribute,h.value||d.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:c.value,navigate:u,prefetch:v,get route(){if(!c.value)return;const A=new URL(c.value,window.location.href);return{path:A.pathname,fullPath:A.pathname,get query(){return To(A.search)},hash:A.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:w,target:m,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:dr("a",{ref:g,href:c.value||null,rel:w,target:m},(S=i.default)==null?void 0:S.call(i))}}})}const qh=$b(Vy);function Hc(e,t){const n=t==="append"?Ks:Ro;return gn(e)&&!e.startsWith("http")?e:n(e,!0)}function Nb(){const e=ke();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==null||t.unobserve(o),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const Ib=/2g/;function Ob(){const e=navigator.connection;return!!(e&&(e.saveData||Ib.test(e.effectiveType)))}const Lb={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Mb=Qe({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=He(()=>t.href||t.to);return(r,s)=>{const o=qh;return ee(),We(o,Ao(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:he(()=>[Ge(r.$slots,"default"),n.value&&r.target==="_blank"?(ee(),ge("div",Lb)):Tt("",!0)]),_:3},16,["class"])}}}),Db={},Hb={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Bb(e,t){return ee(),ge("svg",Hb,t[0]||(t[0]=[am('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8)]))}const Fb=Ho(Db,[["render",Bb]]),jb={},Gb={class:"n-loading n-panel-grids-center"},Ub={class:"flex flex-col animate-pulse items-center text-lg"};function Wb(e,t){return ee(),ge("div",Gb,[z("div",Ub,[t[1]||(t[1]=z("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ge(e.$slots,"default",{},()=>[t[0]||(t[0]=Ae(" Loading... "))])])])}const zb=Ho(jb,[["render",Wb]]);let Ue=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Vb(e){return nl(e)}function nl(e){return Array.isArray(e)?qb(e):e instanceof RegExp?e:typeof e=="object"?Kb(e):e}function qb(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=nl(e[n]);return t}function Kb(e){let t={};for(let n in e)t[n]=nl(e[n]);return t}function Kh(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Jh(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Jh(e.substring(0,e.length-1)):e.substr(~t+1)}var pi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,xs=class{static hasCaptures(e){return e===null?!1:(pi.lastIndex=0,pi.test(e))}static replaceCaptures(e,t,n){return e.replace(pi,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Xh(e,t){return e<t?-1:e>t?1:0}function Qh(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let s=0;s<n;s++){let o=Xh(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function Bc(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Yh(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Zh=class{constructor(e){x(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},so=class{constructor(e,t,n){x(this,"_cachedMatchRoot",new Zh(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(Qb(e),t)}static createFromParsedTheme(e,t){return Zb(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>Jb(e.parent,s.parentScopes));return r?new ed(r.fontStyle,r.foreground,r.background):null}},gi=class Ls{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Ls(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ls(n,t[r]);return n}push(t){return new Ls(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function Jb(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!Xb(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Xb(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var ed=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Qb(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&Bc(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Bc(i.settings.background)&&(u=i.settings.background);for(let f=0,d=a.length;f<d;f++){let p=a[f].trim().split(" "),g=p[p.length-1],y=null;p.length>1&&(y=p.slice(0,p.length-1),y.reverse()),n[r++]=new Yb(g,y,s,l,c,u)}}return n}var Yb=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},zt=(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[e.Strikethrough=8]="Strikethrough",e))(zt||{});function Zb(e,t){e.sort((l,c)=>{let u=Xh(l.scope,c.scope);return u!==0||(u=Qh(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new ew(t),i=new ed(n,o.getId(r),o.getId(s)),a=new nw(new ia(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new so(o,i,a)}var ew=class{constructor(e){x(this,"_isFrozen");x(this,"_lastColorId");x(this,"_id2color");x(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},tw=Object.freeze([]),ia=class td{constructor(t,n,r,s,o){x(this,"scopeDepth");x(this,"parentScopes");x(this,"fontStyle");x(this,"foreground");x(this,"background");this.scopeDepth=t,this.parentScopes=n||tw,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new td(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},nw=class aa{constructor(t,n=[],r={}){x(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(aa._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new aa(this._mainRule.clone(),ia.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(Qh(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new ia(t,n,r,s,o))}},mr=class ot{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ot.getLanguageId(t),r=ot.getTokenType(t),s=ot.getFontStyle(t),o=ot.getForeground(t),i=ot.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=ot.getLanguageId(t),c=ot.getTokenType(t),u=ot.containsBalancedBrackets(t)?1:0,f=ot.getFontStyle(t),d=ot.getForeground(t),h=ot.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),s!==null&&(u=s?1:0),o!==-1&&(f=o),i!==0&&(d=i),a!==0&&(h=a),(l<<0|c<<8|u<<10|f<<11|d<<15|h<<24)>>>0}};function oo(e,t){const n=[],r=rw(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let c=i();if(n.push({matcher:c,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(Fc(s)){const l=[];do l.push(s),s=r.next();while(Fc(s));return c=>t(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");c=i()}return u=>l.some(f=>f(u))}}function Fc(e){return!!e&&!!e.match(/[\w\.:]+/)}function rw(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function nd(e){typeof e.dispose=="function"&&e.dispose()}var Yr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},sw=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},ow=class{constructor(){x(this,"_references",[]);x(this,"_seenReferenceKeys",new Set);x(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},iw=class{constructor(e,t){x(this,"seenFullScopeRequests",new Set);x(this,"seenPartialScopeRequests",new Set);x(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Yr(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new ow;for(const n of e)aw(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Yr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function aw(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof Yr?Ms({baseGrammar:o,selfGrammar:s},r):la(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Yr(a))}function la(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];io([r],t,n)}}function Ms(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&io(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&io(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function io(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?Kh({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&io(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=rd(o);switch(i.kind){case 0:Ms({...t,selfGrammar:t.baseGrammar},n);break;case 1:Ms(t,n);break;case 2:la(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?la(i.ruleName,l,n):Ms(l,n)}else i.kind===4?n.add(new sw(i.scopeName,i.ruleName)):n.add(new Yr(i.scopeName));break}}}var lw=class{constructor(){x(this,"kind",0)}},cw=class{constructor(){x(this,"kind",1)}},uw=class{constructor(e){x(this,"kind",2);this.ruleName=e}},fw=class{constructor(e){x(this,"kind",3);this.scopeName=e}},hw=class{constructor(e,t){x(this,"kind",4);this.scopeName=e,this.ruleName=t}};function rd(e){if(e==="$base")return new lw;if(e==="$self")return new cw;const t=e.indexOf("#");if(t===-1)return new fw(e);if(t===0)return new uw(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new hw(n,r)}}var dw=/\\(\d+)/,jc=/\\(\d+)/g,pw=-1,sd=-2;var us=class{constructor(e,t,n,r){x(this,"$location");x(this,"id");x(this,"_nameIsCapturing");x(this,"_name");x(this,"_contentNameIsCapturing");x(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=xs.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=xs.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Jh(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:xs.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:xs.replaceCaptures(this._contentName,e,t)}},gw=class extends us{constructor(t,n,r,s,o){super(t,n,r,s);x(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,s){throw new Error("Not supported!")}},mw=class extends us{constructor(t,n,r,s,o){super(t,n,r,null);x(this,"_match");x(this,"captures");x(this,"_cachedCompiledPatterns");this._match=new Zr(s,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new es,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Gc=class extends us{constructor(t,n,r,s,o){super(t,n,r,s);x(this,"hasMissingPatterns");x(this,"patterns");x(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new es,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ca=class extends us{constructor(t,n,r,s,o,i,a,l,c,u){super(t,n,r,s);x(this,"_begin");x(this,"beginCaptures");x(this,"_end");x(this,"endHasBackReferences");x(this,"endCaptures");x(this,"applyEndPatternLast");x(this,"hasMissingPatterns");x(this,"patterns");x(this,"_cachedCompiledPatterns");this._begin=new Zr(o,this.id),this.beginCaptures=i,this._end=new Zr(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,s)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new es;for(const r of this.patterns)t.getRule(r).collectPatterns(t,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,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},ao=class extends us{constructor(t,n,r,s,o,i,a,l,c){super(t,n,r,s);x(this,"_begin");x(this,"beginCaptures");x(this,"whileCaptures");x(this,"_while");x(this,"whileHasBackReferences");x(this,"hasMissingPatterns");x(this,"patterns");x(this,"_cachedCompiledPatterns");x(this,"_cachedCompiledWhilePatterns");this._begin=new Zr(o,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new Zr(a,sd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.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(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new es;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,s){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,s)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new es,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},od=class De{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new gw(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new mw(t.$vscodeTextmateLocation,t.id,t.name,t.match,De._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Kh({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new Gc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,De._compilePatterns(o,n,r))}return t.while?new ao(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,De._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,De._compileCaptures(t.whileCaptures||t.captures,n,r),De._compilePatterns(t.patterns,n,r)):new ca(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,De._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,De._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,De._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=De.getCompiledRuleId(t[i],n,r)),s[a]=De.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const c=rd(a.include);switch(c.kind){case 0:case 1:l=De.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=De.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(l=De.getCompiledRuleId(p,n,h.repository))}else l=De.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=De.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Gc||c instanceof ca||c instanceof ao)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},Zr=class id{constructor(t,n){x(this,"source");x(this,"ruleId");x(this,"hasAnchor");x(this,"hasBackReferences");x(this,"_anchorCache");if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=dw.test(this.source):this.hasBackReferences=!1}clone(){return new id(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return jc.lastIndex=0,this.source.replace(jc,(s,o)=>Yh(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},es=class{constructor(){x(this,"_items");x(this,"_hasAnchors");x(this,"_cached");x(this,"_anchorCache");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(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Uc(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new Uc(e,r,this._items.map(s=>s.ruleId))}},Uc=class{constructor(e,t,n){x(this,"scanner");this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
20
20
|
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},mi=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Wt,yw=(Wt=class{constructor(t,n){x(this,"_defaultAttributes");x(this,"_embeddedLanguagesMatcher");x(this,"_getBasicScopeAttributes",new Zh(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new mi(n,r)}));this._defaultAttributes=new mi(t,8),this._embeddedLanguagesMatcher=new _w(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Wt._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Wt.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[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!")}},x(Wt,"_NULL_SCOPE_METADATA",new mi(0,0)),x(Wt,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),Wt),_w=class{constructor(e){x(this,"values");x(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Yh(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Wc=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function ad(e,t,n,r,s,o,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const h=bw(e,t,n,r,s,o);s=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Wc(s,!0);d()}return new Wc(s,!1);function d(){const h=ww(e,t,n,r,s,u);if(!h){o.produce(s,l),c=!0;return}const p=h.captureIndices,g=h.matchedRuleId,y=p&&p.length>0?p[0].end>r:!1;if(g===pw){const _=s.getRule(e);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),Rr(e,t,n,s,o,_.endCaptures,p),o.produce(s,p[0].end);const v=s;if(s=s.parent,u=v.getAnchorPos(),!y&&v.getEnterPos()===r){s=v,o.produce(s,l),c=!0;return}}else{const _=e.getRule(g);o.produce(s,p[0].start);const v=s,m=_.getName(t.content,p),w=s.contentNameScopesList.pushAttributed(m,e);if(s=s.push(g,r,u,p[0].end===l,null,w,w),_ instanceof ca){const S=_;Rr(e,t,n,s,o,S.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const A=S.getContentName(t.content,p),N=w.pushAttributed(A,e);if(s=s.withContentNameScopesList(N),S.endHasBackReferences&&(s=s.withEndRule(S.getEndWithResolvedBackReferences(t.content,p))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(_ instanceof ao){const S=_;Rr(e,t,n,s,o,S.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const A=S.getContentName(t.content,p),N=w.pushAttributed(A,e);if(s=s.withContentNameScopesList(N),S.whileHasBackReferences&&(s=s.withEndRule(S.getWhileWithResolvedBackReferences(t.content,p))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(Rr(e,t,n,s,o,_.captures,p),o.produce(s,p[0].end),s=s.pop(),!y){s=s.safePop(),o.produce(s,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function bw(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const c=l.getRule(e);c instanceof ao&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=Sw(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==sd){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),Rr(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function ww(e,t,n,r,s,o){const i=vw(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=Cw(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:i}function vw(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=ld(i,e,s.endRule,n,r===o),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Cw(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,c,u=0;const f=o.contentNameScopesList.getScopeNames();for(let d=0,h=e.length;d<h;d++){const p=e[d];if(!p.matcher(f))continue;const g=t.getRule(p.ruleId),{ruleScanner:y,findOptions:_}=ld(g,t,null,r,s===i),v=y.findNextMatchSync(n,s,_);if(!v)continue;const m=v.captureIndices[0].start;if(!(m>=a)&&(a=m,l=v.captureIndices,c=v.ruleId,u=p.priority,a===s))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function ld(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function Sw(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function Rr(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),c=[],u=i[0].end;for(let f=0;f<l;f++){const d=o[f];if(d===null)continue;const h=i[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,h.start):s.produce(r,h.start),d.retokenizeCapturedWithRuleId){const g=d.getName(a,i),y=r.contentNameScopesList.pushAttributed(g,e),_=d.getContentName(a,i),v=y.pushAttributed(_,e),m=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,y,v),w=e.createOnigString(a.substring(0,h.end));ad(e,w,n&&h.start===0,h.start,m,s,!1,0),nd(w);continue}const p=d.getName(a,i);if(p!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new xw(y,h.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var xw=class{constructor(e,t){x(this,"scopes");x(this,"endPos");this.scopes=e,this.endPos=t}};function kw(e,t,n,r,s,o,i,a){return new Ew(e,t,n,r,s,o,i,a)}function zc(e,t,n,r,s){const o=oo(t,lo),i=od.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function lo(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(Aw(t[s],r))return n=s+1,!0;return!1})}function Aw(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var Ew=class{constructor(e,t,n,r,s,o,i,a){x(this,"_rootId");x(this,"_lastRuleId");x(this,"_ruleId2desc");x(this,"_includedGrammars");x(this,"_grammarRepository");x(this,"_grammar");x(this,"_injections");x(this,"_basicScopeAttributesProvider");x(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new yw(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=Vc(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const c=oo(l,lo);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:s[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const s=r.injections;if(s)for(let i in s)zc(t,i,s[i],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&zc(t,l,a,this,a)}})}return t.sort((s,o)=>s.priority-o.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=Vc(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=od.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===ua.NULL){s=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=mr.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let h;d?h=Fr.createRootAndLookUpScopeName(d,f,this):h=Fr.createRoot("unknown",f),t=new ua(null,this._rootId,-1,-1,!1,null,h,h)}else s=!1,t.reset();e=e+`
|
|
21
21
|
`;const o=this.createOnigString(e),i=o.content.length,a=new Rw(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=ad(this,o,s,0,t,a,!0,r);return nd(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function Vc(e,t){return e=Vb(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Fr=class xt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=(t==null?void 0:t.scopePath)??null;for(const o of n)s=gi.push(s,o.scopeNames),r=new xt(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new xt(null,new gi(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new gi(null,t),i=r.themeProvider.themeMatch(o),a=xt.mergeAttributes(n,s,i);return new xt(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return xt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),mr.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return xt._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=xt._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=xt.mergeAttributes(t.tokenAttributes,s,i);return new xt(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var s;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((s=r.parent)==null?void 0:s.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},at,ua=(at=class{constructor(t,n,r,s,o,i,a,l){x(this,"_stackElementBrand");x(this,"_enterPos");x(this,"_anchorPos");x(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}equals(t){return t===null?!1:at._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Fr.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){at._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new at(this,t,n,r,s,o,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,s;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(s=this.contentNameScopesList)==null?void 0:s.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new at(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Fr.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new at(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Fr.fromExtension(r,n.contentNameScopesList))}},x(at,"NULL",new at(null,0,0,0,!1,null,null,null)),at),Tw=class{constructor(e,t){x(this,"balancedBracketScopes");x(this,"unbalancedBracketScopes");x(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):oo(n,lo).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>oo(n,lo).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Rw=class{constructor(e,t,n,r){x(this,"_emitBinaryTokens");x(this,"_lineText");x(this,"_tokens");x(this,"_binaryTokens");x(this,"_lastTokenEndIndex");x(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let s=(e==null?void 0:e.tokenAttributes)??0,o=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(s=mr.set(s,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(i))}if(o&&(s=mr.set(s,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,s=this._binaryTokens.length;r<s;r++)n[r]=this._binaryTokens[r];return n}},Pw=class{constructor(e,t){x(this,"_grammars",new Map);x(this,"_rawGrammars",new Map);x(this,"_injectionGrammars",new Map);x(this,"_theme");this._onigLib=t,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,s){if(!this._grammars.has(e)){let o=this._rawGrammars.get(e);if(!o)return null;this._grammars.set(e,kw(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},$w=class{constructor(t){x(this,"_options");x(this,"_syncRegistry");x(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Pw(so.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(so.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new Tw(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new iw(this._syncRegistry,t);for(;i.Q.length>0;)i.Q.map(a=>this._loadSingleGrammar(a.scopeName)),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,s=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}},fa=ua.NULL;const Nw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class fs{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}fs.prototype.normal={};fs.prototype.property={};fs.prototype.space=void 0;function cd(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new fs(n,r,t)}function ha(e){return e.toLowerCase()}class Ye{constructor(t,n){this.attribute=n,this.property=t}}Ye.prototype.attribute="";Ye.prototype.booleanish=!1;Ye.prototype.boolean=!1;Ye.prototype.commaOrSpaceSeparated=!1;Ye.prototype.commaSeparated=!1;Ye.prototype.defined=!1;Ye.prototype.mustUseProperty=!1;Ye.prototype.number=!1;Ye.prototype.overloadedBoolean=!1;Ye.prototype.property="";Ye.prototype.spaceSeparated=!1;Ye.prototype.space=void 0;let Iw=0;const se=Bn(),Ee=Bn(),ud=Bn(),I=Bn(),we=Bn(),ir=Bn(),nt=Bn();function Bn(){return 2**++Iw}const da=Object.freeze(Object.defineProperty({__proto__:null,boolean:se,booleanish:Ee,commaOrSpaceSeparated:nt,commaSeparated:ir,number:I,overloadedBoolean:ud,spaceSeparated:we},Symbol.toStringTag,{value:"Module"})),yi=Object.keys(da);class rl extends Ye{constructor(t,n,r,s){let o=-1;if(super(t,n),qc(this,"space",s),typeof r=="number")for(;++o<yi.length;){const i=yi[o];qc(this,yi[o],(r&da[i])===da[i])}}}rl.prototype.defined=!0;function qc(e,t,n){n&&(e[t]=n)}function wr(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new rl(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[ha(r)]=r,n[ha(o.attribute)]=r}return new fs(t,n,e.space)}const fd=wr({properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:we,ariaCurrent:null,ariaDescribedBy:we,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:we,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:we,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:we,ariaLevel:I,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:we,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:we,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function hd(e,t){return t in e?e[t]:t}function dd(e,t){return hd(e,t.toLowerCase())}const Ow=wr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ir,acceptCharset:we,accessKey:we,action:null,allow:null,allowFullScreen:se,allowPaymentRequest:se,allowUserMedia:se,alt:null,as:null,async:se,autoCapitalize:null,autoComplete:we,autoFocus:se,autoPlay:se,blocking:we,capture:null,charSet:null,checked:se,cite:null,className:we,cols:I,colSpan:null,content:null,contentEditable:Ee,controls:se,controlsList:we,coords:I|ir,crossOrigin:null,data:null,dateTime:null,decoding:null,default:se,defer:se,dir:null,dirName:null,disabled:se,download:ud,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:se,formTarget:null,headers:we,height:I,hidden:se,high:I,href:null,hrefLang:null,htmlFor:we,httpEquiv:we,id:null,imageSizes:null,imageSrcSet:null,inert:se,inputMode:null,integrity:null,is:null,isMap:se,itemId:null,itemProp:we,itemRef:we,itemScope:se,itemType:we,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:se,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:se,muted:se,name:null,nonce:null,noModule:se,noValidate:se,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:se,optimum:I,pattern:null,ping:we,placeholder:null,playsInline:se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:se,referrerPolicy:null,rel:we,required:se,reversed:se,rows:I,rowSpan:I,sandbox:we,scope:null,scoped:se,seamless:se,selected:se,shadowRootClonable:se,shadowRootDelegatesFocus:se,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:se,useMap:null,value:Ee,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:we,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:se,declare:se,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:se,noHref:se,noShade:se,noWrap:se,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Ee,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:se,disableRemotePlayback:se,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:dd}),Lw=wr({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",transformOrigin:"transform-origin",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"},properties:{about:nt,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:we,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:se,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:ir,g2:ir,glyphName:ir,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:nt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:we,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nt,rev:nt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nt,requiredFeatures:nt,requiredFonts:nt,requiredFormats:nt,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:nt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nt,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hd}),pd=wr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),gd=wr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:dd}),md=wr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Mw=/[A-Z]/g,Kc=/-[a-z]/g,Dw=/^data[-\w.:]+$/i;function Hw(e,t){const n=ha(t);let r=t,s=Ye;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Dw.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Kc,Fw);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Kc.test(o)){let i=o.replace(Mw,Bw);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=rl}return new s(r,t)}function Bw(e){return"-"+e.toLowerCase()}function Fw(e){return e.charAt(1).toUpperCase()}const jw=cd([fd,Ow,pd,gd,md],"html"),yd=cd([fd,Lw,pd,gd,md],"svg"),Jc={}.hasOwnProperty;function Gw(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Jc.call(s,e)){const l=String(s[e]);i=Jc.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}const Uw=/["&'<>`]/g,Ww=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zw=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Vw=/[|\\{}()[\]^$+*?.]/g,Xc=new WeakMap;function qw(e,t){if(e=e.replace(t.subset?Kw(t.subset):Uw,r),t.subset||t.escapeOnly)return e;return e.replace(Ww,n).replace(zw,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 Kw(e){let t=Xc.get(e);return t||(t=Jw(e),Xc.set(e,t)),t}function Jw(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Vw,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const Xw=/[\dA-Fa-f]/;function Qw(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Xw.test(String.fromCharCode(t))?r:r+";"}const Yw=/\d/;function Zw(e,t,n){const r="&#"+String(e);return n&&t&&!Yw.test(String.fromCharCode(t))?r:r+";"}const ev=["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"],_i={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:"€"},tv=["cent","copy","divide","gt","lt","not","para","times"],_d={}.hasOwnProperty,pa={};let ks;for(ks in _i)_d.call(_i,ks)&&(pa[_i[ks]]=ks);const nv=/[^\dA-Za-z]/;function rv(e,t,n,r){const s=String.fromCharCode(e);if(_d.call(pa,s)){const o=pa[s],i="&"+o;return n&&ev.includes(o)&&!tv.includes(o)&&(!r||t&&t!==61&&nv.test(String.fromCharCode(t)))?i:i+";"}return""}function sv(e,t,n){let r=Qw(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=rv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=Zw(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function ar(e,t){return qw(e,Object.assign({format:sv},t))}const ov=/^>|^->|<!--|-->|--!>|<!-$/g,iv=[">"],av=["<",">"];function lv(e,t,n,r){return r.settings.bogusComments?"<?"+ar(e.value,Object.assign({},r.settings.characterReferences,{subset:iv}))+">":"<!--"+e.value.replace(ov,s)+"-->";function s(o){return ar(o,Object.assign({},r.settings.characterReferences,{subset:av}))}}function cv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Qc(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 uv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function fv(e){return e.join(" ").trim()}const hv=/[ \t\n\f\r]/g;function sl(e){return typeof e=="object"?e.type==="text"?Yc(e.value):!1:Yc(e)}function Yc(e){return e.replace(hv,"")===""}const Ie=wd(1),bd=wd(-1),dv=[];function wd(e){return t;function t(n,r,s){const o=n?n.children:dv;let i=(r||0)+e,a=o[i];if(!s)for(;a&&sl(a);)i+=e,a=o[i];return a}}const pv={}.hasOwnProperty;function vd(e){return t;function t(n,r,s){return pv.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const ol=vd({body:mv,caption:bi,colgroup:bi,dd:wv,dt:bv,head:bi,html:gv,li:_v,optgroup:vv,option:Cv,p:yv,rp:Zc,rt:Zc,tbody:xv,td:eu,tfoot:kv,th:eu,thead:Sv,tr:Av});function bi(e,t,n){const r=Ie(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&sl(r.value.charAt(0)))}function gv(e,t,n){const r=Ie(n,t);return!r||r.type!=="comment"}function mv(e,t,n){const r=Ie(n,t);return!r||r.type!=="comment"}function yv(e,t,n){const r=Ie(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 _v(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&r.tagName==="li"}function bv(e,t,n){const r=Ie(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function wv(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Zc(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function vv(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Cv(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Sv(e,t,n){const r=Ie(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function xv(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function kv(e,t,n){return!Ie(n,t)}function Av(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function eu(e,t,n){const r=Ie(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Ev=vd({body:Pv,colgroup:$v,head:Rv,html:Tv,tbody:Nv});function Tv(e){const t=Ie(e,-1);return!t||t.type!=="comment"}function Rv(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function Pv(e){const t=Ie(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&sl(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function $v(e,t,n){const r=bd(n,t),s=Ie(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ol(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function Nv(e,t,n){const r=bd(n,t),s=Ie(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ol(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const As={name:[[`
|
|
22
22
|
\f\r &/=>`.split(""),`
|
|
@@ -168,4 +168,4 @@ XID_Start XIDS`.split(/\s/)),Dd=new Map;for(const e of Md)Dd.set(Go(e),e);var VC
|
|
|
168
168
|
?|[
|
|
169
169
|
\v\f
\u2028\u2029])`));else if(s===mo.grapheme){if(n==="strict")throw new Error(U`Use of "\X" requires non-strict accuracy`);const o=r?U`\p{RGI_Emoji}`:IC().source.replace(/\\u\{/g,"\\x{");t(gt(U`(?>\r\n|${o}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}))}else throw new Error(`Unexpected varcharset kind "${s}"`)}},Zd={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:s}=e;r||n.set(e,[...t.get(s).map(({node:o})=>o)])},CapturingGroup:{enter({node:e,replaceWith:t,skip:n},{groupOriginByCopy:r,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:i,reffedNodesByReferencer:a}){const l=r.get(e);if(l&&i.has(e.number)){const u=bu(e.number);a.set(u,i.get(e.number)),t(u),n();return}i.set(e.number,e),o.set(e.number,[]),e.name&&_r(o,e.name,[]);const c=o.get(e.name??e.number);for(let u=0;u<c.length;u++){const f=c[u];if(l===f.node||l&&l===f.origin||e===f.origin){c.splice(u,1);break}}if(o.get(e.number).push({node:e,origin:l}),e.name&&o.get(e.name).push({node:e,origin:l}),e.name){const u=_r(s,e.name,new Map);let f=!1;if(l)f=!0;else for(const d of u.values())if(!d.hasDuplicateNameToRemove){f=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=go(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Recursion({node:e,parent:t},{reffedNodesByReferencer:n}){const{ref:r}=e;let s=t;for(;(s=s.parent)&&!(s.type===T.CapturingGroup&&(s.name===r||s.number===r)););n.set(e,s)},Subroutine(e,t){const{node:n,replaceWith:r}=e,{ref:s}=n,o=t.subroutineRefMap.get(s),i=s===0,a=i?bu(0):ep(o,t.groupOriginByCopy,null);let l=a;if(!i){const c=tp(F1(o,f=>f.type===T.Group&&!!f.flags)),u=c?go(t.globalFlags,c):t.globalFlags;H1(u,t.currentFlags)||(l=Ft(Et({flags:j1(u)}),[a]))}r(l),i||op(l,e,t,Zd)}},M1={Backreference({node:e,replaceWith:t},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const s=n.reffedNodesByReferencer.get(e).filter(o=>B1(o,e));if(!s.length)t(Ft(jr({negate:!0})));else if(s.length>1){const o=s.map(i=>ns(mn(),[ya(i.number)]));t(ns(Et(),o))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Recursion({node:e},t){e.ref!==0&&(e.ref=t.reffedNodesByReferencer.get(e).number)},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const s=Xd();e.pattern.alternatives.at(-1).elements.push(s)}}}},D1="[ -\r ]",Ht=U`[\p{L}\p{M}\p{N}\p{Pc}]`;function ns(e,t){return t.forEach(n=>n.parent=e),e[pl(e)]=t,e}function H1(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function B1(e,t){let n=t;do{if(n.type===T.Pattern)return!1;if(n.type===T.Alternative)continue;if(n===e)return!1;const r=np(n.parent);for(const s of r){if(s===n)break;if(s===e||sp(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function ep(e,t,n,r){const s=Array.isArray(e)?[]:{};for(const[o,i]of Object.entries(e))o==="parent"?s.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?s[o]=ep(i,t,s,n):(o==="type"&&i===T.CapturingGroup&&t.set(s,t.get(e)??e),s[o]=i);return s}function bu(e){return{type:T.Recursion,ref:e}}function F1(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function ki(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function pl(e){for(const t of["alternatives","classes","elements"])if(e[t])return t;return null}function tp(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(s=>{var o,i;(o=r.enable)!=null&&o[s]&&(delete n.disable[s],n.enable[s]=!0),(i=r.disable)!=null&&i[s]&&(n.disable[s]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function j1({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function np(e){if(!e)throw new Error("Node expected");if(e.type===T.Quantifier)return[e.element];const t=pl(e);return t&&e[t]}function rp(e){const t=e.find(n=>n.kind===ue.search_start||G1(n,{negate:!1})||!l1(n));if(!t)return null;if(t.kind===ue.search_start)return t;if(hs(t))return t.alternatives[0].elements[0];if(qd(t)){const n=[];for(const r of t.alternatives){const s=rp(r.elements);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function sp(e,t){const n=np(e)??[];for(const r of n)if(r===t||sp(r,t))return!0;return!1}function G1(e,t){const n={negate:null,...t};return hs(e)&&(n.negate===null||e.negate===n.negate)&&hl(e,r=>r.kind===ue.search_start)}function Ai(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function gt(e,t){const r=Kd(Wd(e),t).pattern.alternatives;return r.length>1||r[0].elements.length>1?ns(Et(),r):r[0].elements[0]}function Ft(e,t){const n=pl(e);return e[n][0].parent=e,t&&ns(e[n][0],t),e}function Ei(e,t){return e.negate=t,e}function op(e,{parent:t,key:n,container:r},s,o){lr({node:e,parent:t,key:n,container:r},s,o)}function U1(e,t){const n=Od(t),r=ma(n.target,"ES2024"),s=ma(n.target,"ES2025"),o=n.rules.recursionLimit;if(!Number.isInteger(o)||o<2||o>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!s){const h=[e.flags.ignoreCase];lr({node:e},{getCurrentModI:()=>h.at(-1),popModI(){h.pop()},pushModI(p){h.push(p)},setHasCasedChar(){h.at(-1)?i=!0:a=!0}},W1)}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let c=null;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:o,useAppliedIgnoreCase:!!(!s&&i&&a),useFlagMods:s,useFlagV:r,verbose:n.verbose};function f(h){switch(u.lastNode=c,c=h,h.type){case T.Regex:return{pattern:f(h.pattern),flags:f(h.flags),options:{...h.options}};case T.Alternative:return h.elements.map(f).join("");case T.Assertion:return J1(h,u,f);case T.Backreference:return X1(h,u);case T.CapturingGroup:return Q1(h,u,f);case T.Character:return Y1(h,u);case T.CharacterClass:return Z1(h,u,f);case T.CharacterClassIntersection:if(!u.useFlagV)throw new Error("Use of class intersection requires min target ES2024");return h.classes.map(f).join("&&");case T.CharacterClassRange:return eS(h,u);case T.CharacterSet:return tS(h,u);case T.Flags:return nS(h,u);case T.Group:return rS(h,u,f);case T.Pattern:return h.alternatives.map(f).join("|");case T.Quantifier:return f(h.element)+aS(h);case T.Recursion:return sS(h,u);default:throw new Error(`Unexpected node type "${h.type}"`)}}const d=f(e);return r||(delete d.options.force.v,d.options.disable.v=!0,d.options.unicodeSetsPlugin=null),d._captureTransfers=new Map,d._hiddenCaptures=[],u.captureMap.forEach((h,p)=>{h.hidden&&d._hiddenCaptures.push(p),h.transferTo&&_r(d._captureTransfers,h.transferTo,[]).push(p)}),d}var W1={AnyGroup:{enter({node:e},t){const n=t.getCurrentModI();t.pushModI(e.flags?go({ignoreCase:n},e.flags).ignoreCase:n)},exit(e,t){t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){gl(Re(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),ip(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind===xe.property&&Fd.has(e.value)&&t.setHasCasedChar()}},z1=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),V1=new Set(["-","\\","]","^","["]),q1=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),wu=new Map([[9,U`\t`],[10,U`\n`],[11,U`\v`],[12,U`\f`],[13,U`\r`],[8232,U`\u2028`],[8233,U`\u2029`],[65279,U`\uFEFF`]]),K1=new RegExp("^\\p{Cased}$","u");function gl(e){return K1.test(e)}function J1(e,t,n){const{kind:r,negate:s,alternatives:o}=e;if(hs(e))return`(?${`${r===ue.lookahead?"":"<"}${s?"!":"="}`}${o.map(n).join("|")})`;if(r===ue.string_end)return"$";if(r===ue.string_start)return"^";if(r===ue.word_boundary)return s?U`\B`:U`\b`;throw new Error(`Unexpected assertion kind "${r}"`)}function X1({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e}function Q1(e,t,n){const{name:r,number:s,alternatives:o}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,s>a.number&&(i.transferTo=a.number)),t.captureMap.set(s,i),`(${r?`?<${r}>`:""}${o.map(n).join("|")})`}function Y1({value:e},t){const n=Re(e),r=Vn(e,{isAfterBackref:t.lastNode.type===T.Backreference,inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&gl(n)){const s=Ld(n);return t.inCharClass?s.join(""):s.length>1?`[${s.join("")}]`:s[0]}return n}function Z1({negate:e,parent:t,elements:n},r,s){var a;yr.literalHyphenIncorrectlyCreatesRange&&r.useFlagV&&n.some(vu)&&(n=n.filter(l=>!vu(l)),n.push(dl(45)));const o=()=>`[${e?"^":""}${n.map(s).join("")}]`;if(!r.inCharClass){r.inCharClass=!0;const l=o();return r.inCharClass=!1,l}const i=(a=n[0])==null?void 0:a.type;if(!e&&i&&((!r.useFlagV||!r.verbose)&&t.type===T.CharacterClass&&i!==T.CharacterClassIntersection&&!(yr.literalHyphenIncorrectlyCreatesRange&&r.useFlagV)||!r.verbose&&t.type===T.CharacterClassIntersection&&n.length===1&&i!==T.CharacterClass&&i!==T.CharacterClassRange))return n.map(s).join("");if(!r.useFlagV&&t.type===T.CharacterClass)throw new Error("Use of nested character class requires min target ES2024");return o()}function eS(e,t){const n=e.min.value,r=e.max.value,s={isAfterBackref:!1,inCharClass:!0,useFlagV:t.useFlagV},o=Vn(n,s),i=Vn(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=ip(e);oS(l).forEach(u=>{a.add(Array.isArray(u)?`${Vn(u[0],s)}-${Vn(u[1],s)}`:Vn(u,s))})}return`${o}-${i}${[...a].join("")}`}function tS({kind:e,negate:t,value:n,key:r},s){if(e===xe.dot)return s.currentFlags.dotAll?s.appliedGlobalFlags.dotAll||s.useFlagMods?".":"[^]":U`[^\n]`;if(e===xe.digit)return t?U`\D`:U`\d`;if(e===xe.property){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&Fd.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?U`\P`:U`\p`}{${r?`${r}=`:""}${n}}`}if(e===xe.word)return t?U`\W`:U`\w`;throw new Error(`Unexpected character set kind "${e}"`)}function nS(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")}function rS({atomic:e,flags:t,parent:n,alternatives:r},s,o){const i=s.currentFlags;t&&(s.currentFlags=go(i,t));const a=r.map(o).join("|"),l=!s.verbose&&r.length===1&&n.type!==T.Quantifier&&!e&&(!s.useFlagMods||!t)?a:`(?${iS(e,t,s.useFlagMods)}${a})`;return s.currentFlags=i,l}function sS({ref:e},t){const n=t.recursionLimit;return e===0?`(?R=${n})`:U`\g<${e}&R=${n}>`}function ip(e,t){const n=!!(t!=null&&t.firstOnly),r=e.min.value,s=e.max.value,o=[];if(r<65&&(s===65535||s>=131071)||r===65536&&s>=131071)return o;for(let i=r;i<=s;i++){const a=Re(i);if(!gl(a))continue;const l=Ld(a).filter(c=>{const u=c.codePointAt(0);return u<r||u>s});if(l.length&&(o.push(...l),n))break}return o}function Vn(e,{isAfterBackref:t,inCharClass:n,useFlagV:r}){if(wu.has(e))return wu.get(e);if(e<32||e>126&&e<160||e>262143||t&&lS(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?q1:V1:z1,o=Re(e);return(s.has(o)?"\\":"")+o}function oS(e){const t=e.map(s=>s.codePointAt(0)).sort((s,o)=>s-o),n=[];let r=null;for(let s=0;s<t.length;s++)t[s+1]===t[s]+1?r??(r=t[s]):r===null?n.push(t[s]):(n.push([r,t[s]]),r=null);return n}function iS(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:s,disable:o}=t;r=(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")+(o?"-":"")+(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")}return`${r}:`}function aS({min:e,max:t,greedy:n,possessive:r}){let s;return!e&&t===1?s="?":!e&&t===1/0?s="*":e===1&&t===1/0?s="+":e===t?s=`{${e}}`:s=`{${e},${t===1/0?"":t}}`,s+(r?"+":n?"":"?")}function lS(e){return e>47&&e<58}function vu({type:e,value:t}){return e===T.Character&&t===45}var en,jt,En,tn,Tn,rs,wa,an,cS=(an=class extends RegExp{constructor(n,r,s){var t=(...ck)=>(super(...ck),_n(this,rs),_n(this,en,new Map),_n(this,jt,null),_n(this,En),_n(this,tn,null),_n(this,Tn,null),x(this,"rawOptions",{}),this);const o=!!(s!=null&&s.lazyCompile);if(n instanceof RegExp){if(s)throw new Error("Cannot provide options when copying a regexp");const i=n;t(i,r),pt(this,En,i.source),i instanceof an&&(pt(this,en,Ve(i,en)),pt(this,tn,Ve(i,tn)),pt(this,Tn,Ve(i,Tn)),this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...s};t(o?"":n,r),pt(this,En,n),pt(this,en,fS(i.hiddenCaptures,i.transfers)),pt(this,Tn,i.strategy),this.rawOptions=s??{}}o||pt(this,jt,this)}get source(){return Ve(this,En)||"(?:)"}exec(n){if(!Ve(this,jt)){const{lazyCompile:o,...i}=this.rawOptions;pt(this,jt,new an(Ve(this,En),this.flags,i))}const r=this.global||this.sticky,s=this.lastIndex;if(Ve(this,Tn)==="clip_search"&&r&&s){this.lastIndex=0;const o=Ko(this,rs,wa).call(this,n.slice(s));return o&&(uS(o,s,n,this.hasIndices),this.lastIndex+=s),o}return Ko(this,rs,wa).call(this,n)}},en=new WeakMap,jt=new WeakMap,En=new WeakMap,tn=new WeakMap,Tn=new WeakMap,rs=new WeakSet,wa=function(n){Ve(this,jt).lastIndex=this.lastIndex;const r=vl(an.prototype,this,"exec").call(Ve(this,jt),n);if(this.lastIndex=Ve(this,jt).lastIndex,!r||!Ve(this,en).size)return r;const s=[...r];r.length=1;let o;this.hasIndices&&(o=[...r.indices],r.indices.length=1);const i=[0];for(let a=1;a<s.length;a++){const{hidden:l,transferTo:c}=Ve(this,en).get(a)??{};if(l?i.push(null):(i.push(r.length),r.push(s[a]),this.hasIndices&&r.indices.push(o[a])),c&&s[a]!==void 0){const u=Nt(i[c]);if(r[u]=s[a],this.hasIndices&&(r.indices[u]=o[a]),r.groups){Ve(this,tn)||pt(this,tn,hS(this.source));const f=Ve(this,tn).get(c);f&&(r.groups[f]=s[a],this.hasIndices&&(r.indices.groups[f]=o[a]))}}}return r},an);function uS(e,t,n,r){if(e.index+=t,e.input=n,r){const s=e.indices;for(let i=0;i<s.length;i++){const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])}const o=s.groups;o&&Object.keys(o).forEach(i=>{const a=o[i];a&&(o[i]=[a[0]+t,a[1]+t])})}}function fS(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,s]of t)for(const o of s)_r(n,o,{}).transferTo=r;return n}function hS(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,s=0,o;for(;o=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=o;i==="["?r++:r?i==="]"&&r--:a&&(s++,l&&n.set(s,l))}return n}function dS(e,t){const n=pS(e,t);return n.options?new cS(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function pS(e,t){const n=Od(t),r=Wd(e,n.flags,{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}),s=Kd(r,{skipBackrefValidation:n.rules.allowOrphanBackrefs,verbose:n.verbose}),o=L1(s,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=U1(o,n),a=GC(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),l=FC(a.pattern),c=BC(l.pattern,{captureTransfers:a.captureTransfers,hiddenCaptures:a.hiddenCaptures}),u={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const f=c.hiddenCaptures.sort((g,y)=>g-y),d=Array.from(c.captureTransfers),h=o._strategy,p=u.pattern.length>=n.lazyCompileLength;(f.length||d.length||h||p)&&(u.options={...f.length&&{hiddenCaptures:f},...d.length&&{transfers:d},...h&&{strategy:h},...p&&{lazyCompile:p}})}return u}const Cu=4294967295;class gS{constructor(t,n={}){x(this,"regexps");this.patterns=t,this.options=n;const{forgiving:r=!1,cache:s,regexConstructor:o}=n;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(i=>{if(typeof i!="string")return i;const a=s==null?void 0:s.get(i);if(a){if(a instanceof RegExp)return a;if(r)return null;throw a}try{const l=o(i);return s==null||s.set(i,l),l}catch(l){if(s==null||s.set(i,l),r)return null;throw l}})}findNextMatchSync(t,n,r){const s=typeof t=="string"?t:t.content,o=[];function i(a,l,c=0){return{index:a,captureIndices:l.indices.map(u=>u==null?{start:Cu,end:Cu,length:0}:{start:u[0]+c,end:u[1]+c,length:u[1]-u[0]})}}for(let a=0;a<this.regexps.length;a++){const l=this.regexps[a];if(l)try{l.lastIndex=n;const c=l.exec(s);if(!c)continue;if(c.index===n)return i(a,c,0);o.push([a,c,0])}catch(c){if(this.options.forgiving)continue;throw c}}if(o.length){const a=Math.min(...o.map(l=>l[1].index));for(const[l,c,u]of o)if(c.index===a)return i(l,c,u)}return null}}function mS(e,t){return dS(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function yS(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||(t.regexConstructor=n=>mS(n,{target:t.target})),{createScanner(n){return new gS(n,t)},createString(n){return{content:n}}}}let _S;const Er=[];function bS(e){if(Er.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Er.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Er.forEach(n=>n(t))},get(){return _S.value},configurable:!0}),()=>{Er.splice(Er.indexOf(e),1)}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const wS=e=>typeof e<"u";function vS(e){return JSON.parse(JSON.stringify(e))}function CS(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,h=ls(),p=(h==null?void 0:h.emit)||((s=h==null?void 0:h.$emit)==null?void 0:s.bind(h))||((i=(o=h==null?void 0:h.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h==null?void 0:h.proxy));let g=c;g=g||`update:${t.toString()}`;const y=m=>a?typeof a=="function"?a(m):vS(m):m,_=()=>wS(e[t])?y(e[t]):f,v=m=>{d?d(m)&&p(g,m):p(g,m)};if(l){const m=_(),w=Ce(m);let S=!1;return rr(()=>e[t],A=>{S||(S=!0,w.value=y(A),as(()=>S=!1))}),rr(w,A=>{!S&&(A!==e[t]||u)&&v(A)},{deep:u}),w}else return He({get(){return _()},set(m){v(m)}})}const Yn=Ce(null);Ce(Date.now());const SS=Ce(Date.now()),xS=window.location.host;Ce("/");Ce();const kS=Ce("/");He(()=>qf(kS.value,`${window.location.protocol}//${xS}`));const ap=Ce(),lp=Ce();bS(async e=>{var n;lp.value=e.host.app.$fetch,ap.value=e.devtools;const t=e.host.nuxt.vueApp._context.provides.usehead;e.host.nuxt.$router.afterEach(()=>{setTimeout(async()=>{var r;Yn.value=(r=(await t.resolveTags()).filter(s=>!!s.props["data-nuxt-schema-org"])[0])==null?void 0:r.innerHTML},100)}),Yn.value=(n=(await t.resolveTags()).filter(r=>!!r.props["data-nuxt-schema-org"])[0])==null?void 0:n.innerHTML});const va=Ce();async function AS(){return va.value=await NC({themes:[Xn(()=>import("./CVO1_9PV.js"),[],import.meta.url),Xn(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:[Xn(()=>import("./ySlJ1b_l.js"),[],import.meta.url),Xn(()=>import("./DTAJTTim.js"),[],import.meta.url)],engine:yS()}),va.value}function ES(e,t){return He(()=>{var r;const n=((r=ap.value)==null?void 0:r.colorMode)||"light";return va.value.codeToHtml(Xu(e)||"",{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const TS=["innerHTML"],RS=Qe({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=He(()=>{const r=ES(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,s)=>(ee(),ge("pre",{class:Pe(["n-code-block w-full",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,TS))}}),PS={flex:"~ gap-3","items-center":""},$S=Qe({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(ee(),ge("div",PS,[t.icon?(ee(),ge("div",{key:0,class:Pe(t.icon)},null,2)):Tt("",!0),Ge(t.$slots,"default",{},()=>[z("div",null,rn(t.text),1)])]))}}),NS=["open"],IS={"text-base":""},OS={key:0,"text-sm":"",op50:""},LS=Qe({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=CS(e,"open");function r(s){n.value=s.target.open}return(s,o)=>{const i=tl,a=$S;return ee(),ge(Oe,null,[z("details",{open:ie(n),onToggle:r},[z("summary",{class:Pe(["cursor-pointer select-none n-bg-active hover:bg-active px-2 py-2 rounded transition-all",s.collapse?"":"pointer-events-none"])},[q(a,{icon:s.icon,text:s.text,"text-xl":"",transition:"",class:Pe([ie(n)?"op100":"op60",s.headerClass])},{default:he(()=>[z("div",null,[z("div",IS,[Ge(s.$slots,"text",{},()=>[Ae(rn(s.text),1)],!0)]),s.description||s.$slots.description?(ee(),ge("div",OS,[Ge(s.$slots,"description",{},()=>[Ae(rn(s.description),1)],!0)])):Tt("",!0)]),o[0]||(o[0]=z("div",{class:"flex-auto"},null,-1)),Ge(s.$slots,"actions",{},void 0,!0),s.collapse?(ee(),We(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Tt("",!0)]),_:3},8,["icon","text","class"])],2),z("div",{class:Pe(["flex flex-col flex-gap2 pb6 pt2",typeof s.padding=="string"?s.padding:s.padding?"px4":""])},[Ge(s.$slots,"details",{},void 0,!0),z("div",{class:Pe([s.containerClass,"mt1"])},[Ge(s.$slots,"default",{},void 0,!0)],2),Ge(s.$slots,"footer",{},void 0,!0)],2)],40,NS),o[1]||(o[1]=z("div",{class:"x-divider"},null,-1))],64)}}}),MS=Ho(LS,[["__scopeId","data-v-7ebc02fd"]]),DS=Qe({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(e,{attrs:t,slots:n}){return()=>dr(e.to?qh:"button",{to:e.to,...t,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0},class:[e.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",n.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},[Ge(n,"icon",{},()=>e.icon?[dr(tl,{icon:e.icon,class:n.default?"n-button-icon":""})]:[]),Ge(n,"default")])}}),HS=e=>e==="defer"||e===!1;function BS(...e){var g;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=ke(),i=r,a=()=>Jn.value,l=()=>o.isHydrating?o.payload.data[n]:o.static.data[n];s.server??(s.server=!0),s.default??(s.default=a),s.getCachedData??(s.getCachedData=l),s.lazy??(s.lazy=!1),s.immediate??(s.immediate=!0),s.deep??(s.deep=Jn.deep),s.dedupe??(s.dedupe="cancel");const c=s.getCachedData(n,o),u=c!=null;if(!o._asyncData[n]||!s.immediate){(g=o.payload._errors)[n]??(g[n]=Jn.errorValue);const y=s.deep?Ce:Ni;o._asyncData[n]={data:y(u?c:s.default()),pending:Ce(!u),error:Yu(o.payload._errors,n),status:Ce("idle"),_default:s.default}}const f={...o._asyncData[n]};delete f._default,f.refresh=f.execute=(y={})=>{if(o._asyncDataPromises[n]){if(HS(y.dedupe??s.dedupe))return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if(y._initial||o.isHydrating&&y._initial!==!1){const v=y._initial?c:s.getCachedData(n,o);if(v!=null)return Promise.resolve(v)}f.pending.value=!0,f.status.value="pending";const _=new Promise((v,m)=>{try{v(i(o))}catch(w){m(w)}}).then(async v=>{if(_.cancelled)return o._asyncDataPromises[n];let m=v;s.transform&&(m=await s.transform(v)),s.pick&&(m=jS(m,s.pick)),o.payload.data[n]=m,f.data.value=m,f.error.value=Jn.errorValue,f.status.value="success"}).catch(v=>{if(_.cancelled)return o._asyncDataPromises[n];f.error.value=Po(v),f.data.value=ie(s.default()),f.status.value="error"}).finally(()=>{_.cancelled||(f.pending.value=!1,delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=_,o._asyncDataPromises[n]},f.clear=()=>FS(o,n);const d=()=>f.refresh({_initial:!0}),h=s.server!==!1&&o.payload.serverRendered;{const y=ls();if(y&&h&&s.immediate&&!y.sp&&(y.sp=[]),y&&!y._nuxtOnBeforeMountCbs){y._nuxtOnBeforeMountCbs=[];const m=y._nuxtOnBeforeMountCbs;of(()=>{m.forEach(w=>{w()}),m.splice(0,m.length)}),Fa(()=>m.splice(0,m.length))}h&&o.isHydrating&&(f.error.value||c!=null)?(f.pending.value=!1,f.status.value=f.error.value?"error":"success"):y&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?y._nuxtOnBeforeMountCbs.push(d):s.immediate&&d();const _=Ea();if(s.watch){const m=rr(s.watch,()=>f.refresh());_&&xl(m)}const v=o.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await f.refresh()});_&&xl(v)}const p=Promise.resolve(o._asyncDataPromises[n]).then(()=>f);return Object.assign(p,f),p}function FS(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=Jn.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=Jn.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function jS(e,t){const n={};for(const r of t)n[r]=e[r];return n}function GS(){return BS(()=>lp.value("/__schema-org__/debug.json"),{watch:[SS]},"$sUVPCiQAhH")}const US={class:"relative n-bg-base flex flex-col"},WS={class:"sticky top-0 z-2 px-4 pt-4"},zS={class:"flex justify-between items-start",mb2:""},VS={class:"flex space-x-5"},qS={"text-xl":"",flex:"","items-center":"","gap-2":""},KS={class:"flex items-center space-x-3 text-xl"},JS={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},XS={class:"px-5 py-2"},QS={"text-lg":"",flex:"","items-center":""},YS={class:"px-5 py-2"},ZS={"text-lg":"",flex:"","items-center":""},ex={class:"px-5 py-2"},tx={"text-lg":"",flex:"","items-center":""},nx={class:"px-5 py-2"},rx={"text-lg":"",flex:"","items-center":""},sx=["value","title"],ox={class:"items-center space-x-3 hidden lg:flex"},ix={class:"opacity-80 text-sm"},ax={class:"opacity-80 text-sm"},lx={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},cx={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},ux={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},fx={key:0},hx={key:1},dx={key:0},px={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},gx={class:""},mx={class:"text-2xl font-semibold mb-3"},yx={class:"px-3 py-2 space-y-5 rounded mb-3",style:{"background-color":"#121212"}},_x={class:"opacity-80 text-base mb-1"},bx={class:"px-3 py-2 space-y-5"},wx={key:2,class:"space-y-5"},vx={class:"space-x-3"},Cx={key:3,class:"space-y-5"},Sx={class:"opacity-80 text-base mb-1"},xx={key:4,class:"h-full max-h-full overflow-hidden"},kx=Qe({__name:"app",async setup(e){let t,n;Q_({title:"Nuxt Schema.org Playground"}),[t,n]=Ag(()=>AS()),await t,n();const{data:r}=GS(),s=Ce("nodes"),o=He(()=>{if(Yn.value)try{return JSON.parse(Yn.value)["@graph"]}catch{}return[]});function i(){navigator.clipboard.writeText(Yn.value)}return(a,l)=>{var v;const c=tl,u=Rb,f=un("VTooltip"),d=Mb,h=Fb,p=zb,g=RS,y=MS,_=DS;return ee(),ge("div",US,[z("header",WS,[z("div",zS,[z("div",VS,[z("h1",qS,[q(c,{icon:"carbon:image-search",class:"text-blue-300"}),l[2]||(l[2]=Ae(" Schema.org ")),q(u,{class:"text-sm"},{default:he(()=>{var m;return[Ae(rn((m=ie(r))==null?void 0:m.runtimeConfig.version),1)]}),_:1})])]),z("div",KS,[z("fieldset",JS,[(ee(),ge(Oe,null,Nl(["nodes","raw","debug","docs"],(m,w)=>z("label",{key:w,class:Pe(["relative n-border-base hover:n-bg-active cursor-pointer",[w?"border-l n-border-base ml--1px":"",m===ie(s)?"n-bg-active":""]])},[m==="nodes"?(ee(),ge("div",{key:0,class:Pe([m===ie(s)?"":"op35"])},[q(f,null,{popper:he(()=>l[3]||(l[3]=[Ae(" Nodes ")])),default:he(()=>[z("div",XS,[z("h2",QS,[q(c,{icon:"carbon:connect-source opacity-50"})])])]),_:1})],2)):Tt("",!0),m==="raw"?(ee(),ge("div",{key:1,class:Pe([m===ie(s)?"":"op35"])},[q(f,null,{popper:he(()=>l[4]||(l[4]=[Ae(" Raw ")])),default:he(()=>[z("div",YS,[z("h2",ZS,[q(c,{icon:"carbon:code opacity-50"})])])]),_:1})],2)):m==="debug"?(ee(),ge("div",{key:2,class:Pe([m===ie(s)?"":"op35"])},[q(f,null,{popper:he(()=>l[5]||(l[5]=[Ae(" Debug ")])),default:he(()=>[z("div",ex,[z("h2",tx,[q(c,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):m==="docs"?(ee(),ge("div",{key:3,class:Pe([m===ie(s)?"":"op35"])},[q(f,null,{popper:he(()=>l[6]||(l[6]=[Ae(" Documentation ")])),default:he(()=>[z("div",nx,[z("h2",rx,[q(c,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Tt("",!0),ug(z("input",{"onUpdate:modelValue":l[0]||(l[0]=S=>Te(s)?s.value=S:null),type:"radio",value:m,title:m,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,sx),[[Dm,ie(s)]])],2)),64))]),q(f,null,{popper:he(()=>l[7]||(l[7]=[Ae(" Refresh ")])),default:he(()=>[z("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:l[1]||(l[1]=(...m)=>a.refreshSources&&a.refreshSources(...m))},[q(c,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),z("div",ox,[z("div",ix,[q(d,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:he(()=>[q(c,{icon:"carbon:favorite",class:"mr-[2px]"}),l[8]||(l[8]=Ae(" Sponsor "))]),_:1})]),z("div",ax,[q(d,{href:"https://github.com/harlan-zw/nuxt-schema-org",target:"_blank"},{default:he(()=>[q(c,{icon:"logos:github-icon",class:"mr-[2px]"}),l[9]||(l[9]=Ae(" Submit an issue "))]),_:1})]),z("a",lx,[q(h)])])])]),z("div",cx,[z("main",ux,[ie(r)?Tt("",!0):(ee(),ge("div",fx,[q(p)])),ie(s)==="nodes"?(ee(),ge("div",hx,[(v=ie(o))!=null&&v.length?(ee(!0),ge(Oe,{key:1},Nl(ie(o),(m,w)=>(ee(),We(y,{key:w},{text:he(()=>[z("h3",_x,rn(Array.isArray(m["@type"])?m["@type"].join(", "):m["@type"]),1)]),description:he(()=>[z("div",null,rn(m["@id"]),1)]),default:he(()=>[z("div",bx,[q(g,{code:JSON.stringify(m,null,2),lang:"json"},null,8,["code"])])]),_:2},1024))),128)):(ee(),ge("div",dx,[z("div",px,[z("div",gx,[z("h2",mx,[q(c,{icon:"carbon:information",class:"text-blue-500"}),l[10]||(l[10]=Ae(" Oops! Did you forget ")),l[11]||(l[11]=z("code",null,"useSchemaOrg()",-1)),l[12]||(l[12]=Ae("? "))]),l[13]||(l[13]=z("p",{class:"text-lg opacity-80 my-3"}," Getting started with Nuxt Schema.org is easy, simply add the following code within setup script setup of your file. ",-1)),z("div",yx,[q(g,{code:"useSchemaOrg([\\n defineWebPage({ title: 'Hello World' })\\n])",lang:"javascript"})]),l[14]||(l[14]=z("p",{class:"text-lg opacity-80"},[z("a",{href:"https://nuxtseo.com/docs/schema-org/getting-started/introduction",target:"_blank",class:"underline"}," Learn more ")],-1))])])]))])):ie(s)==="raw"?(ee(),ge("div",wx,[z("div",vx,[q(d,{to:"https://validator.schema.org/",target:"_blank"},{default:he(()=>[q(c,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),l[15]||(l[15]=Ae("Structured Data Test "))]),_:1}),q(d,{to:"https://search.google.com/test/rich-results",target:"_blank"},{default:he(()=>[q(c,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),l[16]||(l[16]=Ae("Rich Results Test "))]),_:1}),q(_,{onClick:i},{default:he(()=>l[17]||(l[17]=[Ae(" Copy ")])),_:1})]),q(g,{code:ie(Yn),lang:"json"},null,8,["code"])])):ie(s)==="debug"?(ee(),ge("div",Cx,[q(y,null,{text:he(()=>[z("h3",Sx,[q(c,{icon:"carbon:settings",class:"mr-1"}),l[18]||(l[18]=Ae(" Runtime Config "))])]),default:he(()=>{var m;return[q(g,{code:JSON.stringify(((m=ie(r))==null?void 0:m.runtimeConfig)||{},null,2),lang:"json"},null,8,["code"])]}),_:1})])):ie(s)==="docs"?(ee(),ge("div",xx,l[19]||(l[19]=[z("iframe",{src:"https://nuxtseo.com/schema-org",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):Tt("",!0)])])])}}}),Ax={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
170
170
|
`).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(`
|
|
171
|
-
`);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?Pl(()=>Xn(()=>import("./
|
|
171
|
+
`);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?Pl(()=>Xn(()=>import("./CgGSSGCG.js"),__vite__mapDeps([0,1]),import.meta.url)):Pl(()=>Xn(()=>import("./BcPhSJxU.js"),__vite__mapDeps([2,3]),import.meta.url));return(f,d)=>(ee(),We(ie(u),Ru(Ua({statusCode:ie(r),statusMessage:ie(o),description:ie(i),stack:ie(a)})),null,16))}},Ex={key:0},Su={__name:"nuxt-root",setup(e){const t=()=>null,n=ke(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ot().beforeEach(l)}const s=!1;mf(fh,hh()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const o=qa(),i=!1;lf((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),h_(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>u_(l)),!1});const a=!1;return(l,c)=>(ee(),We(em,{onResolve:ie(r)},{default:he(()=>[ie(i)?(ee(),ge("div",Ex)):ie(o)?(ee(),We(ie(Ax),{key:1,error:ie(o)},null,8,["error"])):ie(a)?(ee(),We(ie(t),{key:2,context:ie(a)},null,8,["context"])):ie(s)?(ee(),We(xg(ie(s)),{key:3})):(ee(),We(ie(kx),{key:4}))]),_:1},8,["onResolve"]))}};let xu;{let e;xu=async function(){var i,a;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Um(Su):Uf(Su),s=Qy({vueApp:r});async function o(l){var c;await s.callHook("app:error",l),(c=s.payload).error||(c.error=Po(l))}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await e_(s,kb)}catch(l){o(l)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Ky),await s.hooks.callHook("app:mounted",r),await as()}catch(l){o(l)}return r},e=xu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ho as _,z as a,q as b,ge as c,Ae as d,qh as e,ee as o,rn as t,Q_ as u,he as w};
|